From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 02:14: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 304037B7; Sun, 2 Jun 2013 02:14:44 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id 093AA13C; Sun, 2 Jun 2013 02:14:43 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id 498711703E; Sat, 1 Jun 2013 16:14:37 -1000 (HST) Message-ID: <51AAAA8C.8050808@hdk5.net> Date: Sat, 01 Jun 2013 16:14:36 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" , freebsd-test@freebsd.org, Al Plant Subject: Test Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 02:14:44 -0000 Ping ..... Pong ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 02:25: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 C8A7ABA2; Sun, 2 Jun 2013 02:25:11 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 62CEB17D; Sun, 2 Jun 2013 02:25:10 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id r522GTw0018618; Sat, 1 Jun 2013 22:16:29 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Sat, 1 Jun 2013 22:16:29 -0400 (EDT) From: Chris Hill To: Al Plant Subject: Re: Test In-Reply-To: <51AAAA8C.8050808@hdk5.net> Message-ID: References: <51AAAA8C.8050808@hdk5.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" , freebsd-test@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, 02 Jun 2013 02:25:11 -0000 On Sat, 1 Jun 2013, Al Plant wrote: > Ping ..... Pong http://lists.freebsd.org/mailman/listinfo/freebsd-test Mahalo. > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 07:05:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CD0C32E9 for ; Sun, 2 Jun 2013 07:05:59 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 574F719D8 for ; Sun, 2 Jun 2013 07:05:59 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id gw10so81380lab.2 for ; Sun, 02 Jun 2013 00:05:58 -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=i7SUUJRZmzgz5HluTV5aMCyluwx9JZKEsK6jOsNH4Hc=; b=co6LQ0+Ez1XungjbROkiW1qc5eDb1onRIcmQrrJu6+gNq0+E5VKHVRhbYisCaGx5/l gruXwvfMTCyD//MFiq/gPKp8eGEZF+OweEGrPOF9RYo8EVwPVrckdmoOy6ckUQYn8bt8 9NMYYOo8FoE48vWbGBS82JjC0QZqGx7uYFGThPL2DrQFX3ZQtavCbfbx1o1R6/iV9zzW EinTLezCkvHL7xhM4HP7QcQQeevjMXlEOSZfdLg8PBilmVCwrjv9OpJhcJ8PL4f5p/LE TRX0MlzF4XnRurG7W1JLbHfjASPxQLVyBpv+w/hLXeOpy5YsiMFuypzO//bv0TCB9wNR DJEg== MIME-Version: 1.0 X-Received: by 10.152.20.106 with SMTP id m10mr8836264lae.13.1370156758075; Sun, 02 Jun 2013 00:05:58 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Sun, 2 Jun 2013 00:05:58 -0700 (PDT) In-Reply-To: <87y5atg73c.fsf@oak.localnet> References: <87y5atg73c.fsf@oak.localnet> Date: Sun, 2 Jun 2013 11:35:58 +0430 Message-ID: Subject: Re: define more partitions in freebsd 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: Sun, 02 Jun 2013 07:05:59 -0000 thanks guys, i understand another solution is GPT partitioning. but i prefer to have more partitions in traditional freebsd (with MBR table i think). using GPT is the last solution for me. i should create more than 8 partitions with gpart command (flag n which identifies entries) but i have errors when using it. is there any special option which should be included in kernel in order to use gpart with flag n? any one test it before? thanks in advance, SAM On Sat, Jun 1, 2013 at 8:23 PM, Carl Johnson wrote: > s m writes: > > > hello all > > > > i want to install freebsd8.2 on my system. for some reasons, i need > > partitions more than 6. my freebsd just allow me to define partitions > > from a to h, not any more. > > > > i checked FreeBSD handbook, but it doesn't say anything about defining > > more partitions. > > > > my question is: how can i define more partitions on my freebsd? (for > > example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > > > > any comments or hints are appreciated. > > SAM > > Others have already commented that GPT labels are better, but I think > that you can have more than 8 partitions. I remember a posting a while > back that the maximum had been increased. You will have to experiment > if you want to do this, but gpart shows an example that uses 20 > partitions: '/sbin/gpart create -s BSD -n 20 ada0s1'. I also don't > know that bsdlabel will handle these, so you definitely should > experiment first. > -- > Carl Johnson carlj@peak.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 Sun Jun 2 08:57:55 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 93F28B05; Sun, 2 Jun 2013 08:57:55 +0000 (UTC) (envelope-from beni.brinckman@gmail.com) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6C0211C06; Sun, 2 Jun 2013 08:57:55 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w10so53652pde.23 for ; Sun, 02 Jun 2013 01:57:49 -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=9jhmiKamGcV+na5MMg+WGZRERH1y3zM/Qhljs07s8Oo=; b=Vq8yT0WqXlGpaDL1dWtVIV2qsVGlHtU/cen71g3CPS8gvZzOzFBGlxqQlagFSWpLG7 Cfv/XK3ZjseF/FxrOFBQay7K+FYnEqBkfZSEfqsZPge4JyLexDraCcrkkz/WfWC3wrLW MUtKuNRyuFOt2N3usaxJrvpYzxZKxhx2qpxhAYhTauSno8Np8a6XnBMJSVQk4LeERvuo fnRafLx24nefifwgIQxKk8Y7ZlZpPGcskVMuKgcD97Wr9W1lmrFFbpcfUumuVNtfrL93 p0zfeDEPukq7clKvpfhRA5ZYMKf1TOuPz4UBB247STROJAC9YtsQeSVlbq7kdSp54ESV 5W4w== MIME-Version: 1.0 X-Received: by 10.66.220.197 with SMTP id py5mr20335250pac.86.1370163469353; Sun, 02 Jun 2013 01:57:49 -0700 (PDT) Received: by 10.66.73.34 with HTTP; Sun, 2 Jun 2013 01:57:49 -0700 (PDT) In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F6CA47@ltcfiswmsgmb21> References: <51A52C3F.6010809@fuckaround.org> <51A5B013.5020905@qeng-ho.org> <201305291752.45910.ml@fuckaround.org> <13CA24D6AB415D428143D44749F57D7201F6CA47@ltcfiswmsgmb21> Date: Sun, 2 Jun 2013 10:57:49 +0200 Message-ID: Subject: Re: openvpn and tap device From: Beni Brinckman To: Devin Teske 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: Sun, 02 Jun 2013 08:57:55 -0000 I had to use tap0 instead of tun0 to get a connexion. I first create it with "ifconfig tap0 create" and then make the connexion with "openvpn --config .ovpn --dev tap0". This works for me. 2013/6/1 Teske, Devin > > On May 29, 2013, at 8:52 AM, Pol Hallen wrote: > > >> It's a while since I looked at OpenVPN, so this is from unreliable > >> memory, but IIRC it uses tap devices under Windows and tun devices under > >> Unix(ish) OSes. Do you see tun0 appear? > > > > sorry for the mistake: tun device > > > > I don't have any tun devices but I can use openvpn to connect to other > vpn > > client > > > > tun devices are used with software like vpnc in my experience. > -- > Devin > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > _______________________________________________ > 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" > -- Beni Brinckman. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 11:21: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 30ABF7BB for ; Sun, 2 Jun 2013 11:21:37 +0000 (UTC) (envelope-from rwmaillists@googlemail.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 BC8901F40 for ; Sun, 2 Jun 2013 11:21:36 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id c10so1851962wiw.3 for ; Sun, 02 Jun 2013 04:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=+pYQWT2ko9VGJaSlTRqxiz0BFA7yI5JJWvvJLM+indM=; b=IJb4BY+qA4N+eeTTaCAg597Mzkh0k8GoSBkzY8l/YhdMHxSGIh/ROMamMrsbfkVDUn axg73Zz9GTllDIQRBUpRaFyTaJFUfKO7/QPI0Z/O4nTM5Hk00Lgu0VMEFl57rd4yauSz fiuaHWMsbjbyTe5KsjskCzLqvty72eZJOMMCM9KC1EFA+WESIJjCZLPy1NE20Ndq73Qt GCCjrVuLNSAtszk1GtbcdkkF49/ffRoar92/DUad9lPwpNxmNLU0dnzXPYSDfLPIFbVB qpHmbFYZTWido84tVfaDGMHvENlJRBvea0iubs3mjhg2v8a6kUKu4XDKVlzAkylBnVLU OJ8w== X-Received: by 10.194.216.39 with SMTP id on7mr13359006wjc.4.1370172095920; Sun, 02 Jun 2013 04:21:35 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id cw8sm15888312wib.7.2013.06.02.04.21.34 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 02 Jun 2013 04:21:35 -0700 (PDT) Date: Sun, 2 Jun 2013 12:21:32 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: define more partitions in freebsd Message-ID: <20130602122132.7543a34f@gumby.homeunix.com> In-Reply-To: References: <87y5atg73c.fsf@oak.localnet> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 11:21:37 -0000 On Sun, 2 Jun 2013 11:35:58 +0430 s m wrote: > thanks guys, > > i understand another solution is GPT partitioning. but i prefer to > have more partitions in traditional freebsd (with MBR table i think). > using GPT is the last solution for me. > > i should create more than 8 partitions with gpart command (flag n > which identifies entries) but i have errors when using it. is there > any special option which should be included in kernel in order to use > gpart with flag n? any one test it before? IIRC it's possible to label traditional BSD partitions recursively allowing an unlimited number e.g. if you relabel ad0S1f you can have ad0S1fa, ad0S1fb etc From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 11:56: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 4E6BCCB3 for ; Sun, 2 Jun 2013 11:56:55 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id CDC6F1FE1 for ; Sun, 2 Jun 2013 11:56:54 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id ed20so2576150lab.23 for ; Sun, 02 Jun 2013 04:56:53 -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=KoJCwFhdk12659hjjYL3jdDgaRAx/s3mIdd4tWRKVzM=; b=gT+1SK/4lYuNhDCysoN14bORsQ8Pa0qM7vrSlH54wZrRqzZ7Iza73ysuvrrQf5TPG6 0eDTmATckBzel1+9AQ6i1faOnWuOHp8IaghVmBsks0I/tSrHfu5pP1f9h6RUzNGawpcr lBrE64I2VwfEQX5NLTdJlq9SCGillQW/BrMzZx3CWk27jFM0j9mdWyIyvxW+HMfBLW7t qkiFLHESkTk/MagVnWCfQqG79z+S6o5EpO0WBp3wJn+6jonhS6W6goC7YETWn260yflD O1QXkftW7MJDsUpseuc3VuFkq/Ss2p2ULvFoi3L3Dc0jr59yYCMRXIzAFXKzH1+/urhc JGHQ== X-Received: by 10.112.5.7 with SMTP id o7mr9060403lbo.64.1370174213750; Sun, 02 Jun 2013 04:56:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.149.33 with HTTP; Sun, 2 Jun 2013 04:56:13 -0700 (PDT) In-Reply-To: <20130602122132.7543a34f@gumby.homeunix.com> References: <87y5atg73c.fsf@oak.localnet> <20130602122132.7543a34f@gumby.homeunix.com> From: saeedeh motlagh Date: Sun, 2 Jun 2013 16:26:13 +0430 Message-ID: Subject: Re: define more partitions in freebsd To: RW Content-Type: text/plain; charset=UTF-8 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: Sun, 02 Jun 2013 11:56:55 -0000 thanks RW, do you have any suggestions how i can do that? with gpart command? On Sun, Jun 2, 2013 at 3:51 PM, RW wrote: > On Sun, 2 Jun 2013 11:35:58 +0430 > s m wrote: > > > thanks guys, > > > > i understand another solution is GPT partitioning. but i prefer to > > have more partitions in traditional freebsd (with MBR table i think). > > using GPT is the last solution for me. > > > > i should create more than 8 partitions with gpart command (flag n > > which identifies entries) but i have errors when using it. is there > > any special option which should be included in kernel in order to use > > gpart with flag n? any one test it before? > > IIRC it's possible to label traditional BSD partitions recursively > allowing an unlimited number e.g. if you relabel ad0S1f you can have > ad0S1fa, ad0S1fb etc > _______________________________________________ > 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 Sun Jun 2 19:01:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0EEFAC75 for ; Sun, 2 Jun 2013 19:01:16 +0000 (UTC) (envelope-from carlj@peak.org) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx1.freebsd.org (Postfix) with ESMTP id D9113161D for ; Sun, 2 Jun 2013 19:01:15 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id y11so4643893pdj.0 for ; Sun, 02 Jun 2013 12:01:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-authentication-warning:from:to:subject:references :mail-followup-to:date:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=4fdnC7aFAfAuAlYPC1A0aryrnHQZWfQjXusg+pyVi7w=; b=MdSkydVRExiy7t1qP47wcTx/3LtHE+J+R3A9CLldgGxAzDAzaLQ/Ml/krb27ZuaHZG yXOyWVuQSzhsBvXfc0mkapPAmYVyysn1q2n77yfgV5XCIwN5H4rQJxKEIuVR6+GwzrTK bpC5zdJUuAH839Tur+6wOx/1UIxV2MJfNP4lZi5KxKr1eqAJdPGebJdJb0VYGhlwEJ6Z LDW9HBgdHE2C3ZDKaIK4fc47hgw/OLOmvyXNlWqG1ii9AR2cl+tSAQ4Ej5erGdbpOgGa BGJVYHjwaTb+xMMkeEHj8AZjUnL91i/Thu4yZdlgknmpZJrprMx1Qcf9KPqxjGxyPnD2 E9Yw== X-Received: by 10.68.211.199 with SMTP id ne7mr20801185pbc.56.1370199675486; Sun, 02 Jun 2013 12:01:15 -0700 (PDT) Received: from bonsai.localnet ([207.55.107.62]) by mx.google.com with ESMTPSA id xd2sm15777865pac.15.2013.06.02.12.01.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 02 Jun 2013 12:01:14 -0700 (PDT) Received: from oak.localnet (oak.localnet [192.168.193.34]) by bonsai.localnet (Postfix) with ESMTP id 6E00D3DBC6 for ; Sun, 2 Jun 2013 12:01:12 -0700 (PDT) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 44EEAD020 for ; Sun, 2 Jun 2013 12:01:12 -0700 (PDT) Received: (from carlj@localhost) by oak.localnet (8.14.5/8.14.5/Submit) id r52J1C42054354; Sun, 2 Jun 2013 12:01:12 -0700 (PDT) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: define more partitions in freebsd References: <87y5atg73c.fsf@oak.localnet> Mail-Followup-To: freebsd-questions@freebsd.org Date: Sun, 02 Jun 2013 12:01:12 -0700 Message-ID: <87y5ascp6v.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gm-Message-State: ALoCoQkEMAvljR/lzX5JbzU0BTcF1MIf/Uu2eER8XMIQFpLj9chIH38iNGJXeSwbaI09NXJrgtqZ 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, 02 Jun 2013 19:01:16 -0000 s m writes: > thanks guys, > > i understand another solution is GPT partitioning. but i prefer to have > more partitions in traditional freebsd (with MBR table i think). using GPT > is the last solution for me. > > i should create more than 8 partitions with gpart command (flag n which > identifies entries) but i have errors when using it. is there any special > option which should be included in kernel in order to use gpart with flag > n? any one test it before? > > thanks in advance, I just tried it on a FreeBSD 8.3 system without any problems. You will need to explain what kind of errors you had before anybody can help you. I used a zfs volume for testing as follows: gpart create -s MBR /dev/zvol/zpool/v/gtest gpart add -t freebsd /dev/zvol/zpool/v/gtest gpart create -s BSD -n 20 zvol/zpool/v/gtests1 gpart add -t freebsd-ufs -s 1G zvol/zpool/v/gtests1 gpart add -t freebsd-swap -s 2G zvol/zpool/v/gtests1 # add several more freebsd-ufs # output from 'gpart show zvol/zpool/v/gtests1' => 0 41942943 zvol/zpool/v/gtests1 BSD (20G) 0 2097152 1 freebsd-ufs (1.0G) 2097152 4194304 2 freebsd-swap (2.0G) 6291456 2097152 4 freebsd-ufs (1.0G) 8388608 2097152 5 freebsd-ufs (1.0G) 10485760 2097152 6 freebsd-ufs (1.0G) 12582912 2097152 7 freebsd-ufs (1.0G) 14680064 2097152 8 freebsd-ufs (1.0G) 16777216 2097152 9 freebsd-ufs (1.0G) 18874368 2097152 10 freebsd-ufs (1.0G) 20971520 2097152 11 freebsd-ufs (1.0G) 23068672 2097152 12 freebsd-ufs (1.0G) 25165824 2097152 13 freebsd-ufs (1.0G) 27262976 2097152 14 freebsd-ufs (1.0G) 29360128 2097152 15 freebsd-ufs (1.0G) 31457280 2097152 16 freebsd-ufs (1.0G) 33554432 2097152 17 freebsd-ufs (1.0G) 35651584 2097152 18 freebsd-ufs (1.0G) 37748736 2097152 19 freebsd-ufs (1.0G) 39845888 2097055 20 freebsd-ufs (1G) # output from 'disklabel zvol/zpool/v/gtests1' # /dev/zvol/zpool/v/gtests1: 20 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 0 4.2BSD 0 0 0 b: 4194304 2097152 swap c: 41942943 0 unused 0 0 # "raw" part, don't edit d: 2097152 6291456 4.2BSD 0 0 0 e: 2097152 8388608 4.2BSD 0 0 0 f: 2097152 10485760 4.2BSD 0 0 0 g: 2097152 12582912 4.2BSD 0 0 0 h: 2097152 14680064 4.2BSD 0 0 0 i: 2097152 16777216 4.2BSD 0 0 0 j: 2097152 18874368 4.2BSD 0 0 0 k: 2097152 20971520 4.2BSD 0 0 0 l: 2097152 23068672 4.2BSD 0 0 0 m: 2097152 25165824 4.2BSD 0 0 0 n: 2097152 27262976 4.2BSD 0 0 0 o: 2097152 29360128 4.2BSD 0 0 0 p: 2097152 31457280 4.2BSD 0 0 0 q: 2097152 33554432 4.2BSD 0 0 0 r: 2097152 35651584 4.2BSD 0 0 0 s: 2097152 37748736 4.2BSD 0 0 0 t: 2097055 39845888 4.2BSD 0 0 0 I also tried newfs on all the ufs partitions without problems. I just tried this on a FreeBSD 8.2 system and it works there as well. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 20:34:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5E2A7BF3 for ; Sun, 2 Jun 2013 20:34:23 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5291816 for ; Sun, 2 Jun 2013 20:34:22 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 2 Jun 2013 13:34:23 -0700 Message-ID: <51ABAC4D.4040302@a1poweruser.com> Date: Sun, 02 Jun 2013 16:34:21 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Subject: Max top end computer for Freebsd to run on Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Jun 2013 20:34:24.0135 (UTC) FILETIME=[91A02170:01CE5FD0] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*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: Sun, 02 Jun 2013 20:34:23 -0000 I'm a sub second speed freak. What is the max number of cpu's and memory size that Freebsd can handle? Can it handle 16 4ghz cpu's and 32gb of memory? I need a gaming server with some really big balls for hundreds of jails. Money is not a deciding factor here, horse power is. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 21:09: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 E8FAA248 for ; Sun, 2 Jun 2013 21:09:20 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id BBF1B190E for ; Sun, 2 Jun 2013 21:09:20 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id 17so8565698iea.17 for ; Sun, 02 Jun 2013 14:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=vi56AGZ26bGFkYTL9eEv2HXvf6ERQRx8wXXxuqDPGSQ=; b=t7NYyob7XEZjH5hZmBNB95yEYhgBIjmJYqhjM9IC4R3QNGdU9siWVCeSWK2cSq3iBN wQuFpkKL35pTlg14Iv5qiT96yXzrnLsH7jOn+490VLi8p/2bpCRKhirNVJ/pcY6aFUUs clBcnVVP1Vm+hj9fjW8kaiBeEqZ9LcXSpqSpnvp7cnghTpUEiP2lg5YmYv8Oe7m1xO2e 9jroDqjdQVVEwiiMAV++pR9N6qQcIsBprMxYEmugVSMlEXbUgPEgM/Ej/zneCJt08slg TaoQVrVRjOID+7MSvGcCGDydQQKbqvoy+ksPbpCuZOfezTTA25ovMgSClbJ7JtI5OWZz oGZQ== X-Received: by 10.43.133.134 with SMTP id hy6mr9096169icc.57.1370207360339; Sun, 02 Jun 2013 14:09:20 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id qr3sm16287133igb.1.2013.06.02.14.09.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Jun 2013 14:09:19 -0700 (PDT) Message-ID: <51ABB457.5060205@gmail.com> Date: Sun, 02 Jun 2013 16:08:39 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Max top end computer for Freebsd to run on References: <51ABAC4D.4040302@a1poweruser.com> In-Reply-To: <51ABAC4D.4040302@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 21:09:21 -0000 You mean like a high end rack mount server that's FreeBSD's primary use? One catch about ram, the faster ram comes in smaller sticks. I have four 8Gb sticks for 32Gb, but it's not the fastest ram. The fastest ram tends to be 2Gb sticks. At the moment, FreeBSD's set to a max of 64 cores on amd64, that's "threads" for Intel, but it can be changed if you actually need it. Newegg has a quad socket xeon 4U system that has a total of 40 cores/80 threads, and comes with 128GB of ram. It will set you back over $30k. You'll need to make a compromise about memory and cpu. A lot of games aren't overly multithreaded because most people aren't even quad core yet. The fastest per core processors aren't the fastest overall. Look at cpubenchmark.net's top speed page and compare it to the single threaded page. Which do you think will do a game better and which will do 100 jails better? On 6/2/2013 3:34 PM, Fbsd8 wrote: > I'm a sub second speed freak. What is the max number of cpu's and memory > size that Freebsd can handle? Can it handle 16 4ghz cpu's and 32gb of > memory? I need a gaming server with some really big balls for hundreds > of jails. Money is not a deciding factor here, horse power is. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 22:47: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 9AAC4A09 for ; Sun, 2 Jun 2013 22:47:00 +0000 (UTC) (envelope-from birdfund@yahoo.com) Received: from nm17-vm1.bullet.mail.bf1.yahoo.com (nm17-vm1.bullet.mail.bf1.yahoo.com [98.139.213.55]) by mx1.freebsd.org (Postfix) with ESMTP id 2707D1BD2 for ; Sun, 2 Jun 2013 22:46:59 +0000 (UTC) Received: from [98.139.212.150] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jun 2013 22:46:59 -0000 Received: from [98.139.211.195] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jun 2013 22:46:59 -0000 Received: from [127.0.0.1] by smtp204.mail.bf1.yahoo.com with NNFMP; 02 Jun 2013 22:46:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370213218; bh=+U4N83yLMMB5DEGnKzTkEG9UDqHybLH2IcPq90S/crQ=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Reply-To:In-Reply-To:References:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer; b=VZ4qA4wWczqEMoE/mbWCjdc0PsWTLtVxy3r+Hrdea0CbU4ol2RiCMC5WPDsL7S3f0EqepEJMzH8SHUtPdJkx9xQHk5UiOOMvAjUY2sTdEwaxtFLurvD7Nn0HsP+lo1EoQEt6nsG4eujXZiEOxIzWV1G9dz9WGva8j5rf7REr3Uo= X-Yahoo-Newman-Id: 980552.20145.bm@smtp204.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: fnM6hMwVM1mzODPXecokir94GbR.ZlbUYgMAFuardLKETHG cYEvAcMjcXUsRR69deIRj31syoVWB0ryp9.Eek4mH8emGd9sRqI2UFnM66Mn CxTcJLUvtqWQtmwwFcJdTsNTD.4PuqFsS5zJ5BqVq8ZMkbRG_Zzf3I8n.EDR ATqQRJLwZSkd1smEGcDoRnfE01F357pxoJm007EHNoAuYCKIavqR5dGX6Bes c8eHQPlQ._pZZx07ZTS94TI6B9_afvA589gHs0gSiI5LuPpejoWu8vIqgsUA dmfFb98u4HB8EklPuzhc.Ehep1YWzM.7uMvUbxXZ1htpDFA8ZWTq8nB_Qk50 _sjA7rrZuXi09TAb9bfjIO69EQvgyoW6CUD1LPqC5iR0gsm8Z1rpvawoWnFo UvGCFkQ_SqjYFvJ6QQOfc4kbiu6SN0NkPtLJxgEDTqNuSJueMR.5jBLVombZ xusaTPQTmbH5ww5MdbkG3.icVaCnaD0Y7OjJ_B.tPdHsmQYBQ.n9XRij3HIT 9yTRdzuQ- X-Yahoo-SMTP: wDGpPfeswBCEw2oBirJfLQQ0ktKW3ichZt6e0469Tg6z X-Rocket-Received: from [192.168.1.3] (birdfund@108.41.119.38 with ) by smtp204.mail.bf1.yahoo.com with SMTP; 02 Jun 2013 15:46:58 -0700 PDT Date: Sun, 02 Jun 2013 18:47:06 -0400 From: mike miskulin To: freebsd-questions@freebsd.org Subject: New LGA1150 / C222, C224 Xeons In-Reply-To: References: Message-Id: <20130602184705.F9D9.AA011270@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.55 [en] (Evaluation) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: birdfund@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 22:47:00 -0000 Hi - I am trying to replace an aging workstation on its last legs and have been waiting on the release of the new Intel hardware. They did so this weekend and I am leaning towards the E3-1245V3 over the vanilla i7s because of the extended page support for virutualization. So.. before I get knee deep into it.. am I going to be ok with the latest current and that cpu/chipset? I think the chipset has been for a little while. In fact, FreeBSD will be one of the virtualizations - i was pretty happy with another setup where FreeBSD was installed to disk and then virtualbox run using that "image". Thanks for any warnings/insights, etc. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 2 22:57: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 9077DCEE for ; Sun, 2 Jun 2013 22:57:36 +0000 (UTC) (envelope-from birdfund@yahoo.com) Received: from nm17-vm1.bullet.mail.bf1.yahoo.com (nm17-vm1.bullet.mail.bf1.yahoo.com [98.139.213.55]) by mx1.freebsd.org (Postfix) with ESMTP id 273791C1B for ; Sun, 2 Jun 2013 22:57:35 +0000 (UTC) Received: from [98.139.212.153] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jun 2013 22:57:35 -0000 Received: from [98.139.211.203] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jun 2013 22:57:35 -0000 Received: from [127.0.0.1] by smtp212.mail.bf1.yahoo.com with NNFMP; 02 Jun 2013 22:57:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370213855; bh=kvYjCgQO7TgJGR7Pk0Tk1dmNUzaroDOdRwc8Qr3Ewek=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Reply-To:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer; b=XmF+PXVF8ItO/GvM3Lm5pn8/YQsst02Pg7NPoXTPhGXXZS2o0kzoQIjE4suv0Vw2QO6V7YEiuLwt8LPXqRVOS1lWEhaPYkWTRGWzyvfv78AxfgMP2hDVADvsy0ozK4cnj46tcRswvrYT07QItIQa8DrIXFEV9Sb+GRBpcV3Vtm0= X-Yahoo-Newman-Id: 27863.86566.bm@smtp212.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: fH6Z5y0VM1nLg.CEWWPdQaq6iuvVXbF9TnIboknXqpPI_Po bSsrmCCmkTb9_TCyecT8JcEnYySyn07EXSeuf8DJQyAcii3Cr2zDftYXSILv vQQhf6HMWE67JTwZRJEkYdxBafFgUZAGk7Rv8nYKZh0wYz.MtwurlX4UZEXe c8J_WZ0jhbTpIzXSgMz5O1ZdkkylcL_qhe_BfIlicqAB7sQyFSiehqhcsUAr 1NwGah4lQGKChzIew.NoNHc8707j3i6E9TPOaqHl_L4ZgGqalaBp3ibtPrFs JoBvZmL_DbpOURPYYx8R9.E9VwcRWOiOUehJaqu7uR4CtI8FwF.FrihOW5PY sbIgy5BASZlZKoJpcPnWhXqaAz9rEzS7kEUnK2iTxG1WTbjczAWkFWvPAxUm 7GvvZ6TriAYGk3cI0tSrC.pqvrOmFKSUNZy7KvVQlMwbh0Gy7F.htQ9lBsM0 V81OdKDDgC5tSX_gK.wm7kz12hDwH8e0ZCAZl7xap8LiLoLYynjbMLaDvzXS zka6IW1s- X-Yahoo-SMTP: wDGpPfeswBCEw2oBirJfLQQ0ktKW3ichZt6e0469Tg6z X-Rocket-Received: from [192.168.1.3] (birdfund@108.41.119.38 with ) by smtp212.mail.bf1.yahoo.com with SMTP; 02 Jun 2013 15:57:35 -0700 PDT Date: Sun, 02 Jun 2013 18:57:42 -0400 From: mike miskulin To: freebsd-questions@freebsd.org Subject: Sound cards Message-Id: <20130602185742.F9E5.AA011270@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.55 [en] (Evaluation) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: birdfund@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 22:57:36 -0000 Hi all - I may be building a system which does not have any onboard sounds thus need to find either a pci-e or usb solution which will work with FreeBSD. I've combed newegg and have to say I never realized how crappy the sound cards have become - that used to be a big thing back in the day! Could any of you who have installed something of ->recent<- vintage which worked well post the make/model? I just need something for basic audio, nothing superduper. TIA From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 01:52: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 F1253990 for ; Mon, 3 Jun 2013 01:52:36 +0000 (UTC) (envelope-from jamebus@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 89E46101A for ; Mon, 3 Jun 2013 01:52:36 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id c10so2201523wiw.13 for ; Sun, 02 Jun 2013 18:52:35 -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=FfwVXg5mE7+29fPgbExjLMNlLB2dQ/IUHMsnU+m68y0=; b=KqhGuVs73+jzY5wakKl4bLHQhi1FAIjWeOTYQ+7fHuPp7ilBEeLtYm2ocuFk3eD2GK jc9RYo1NdEVVdcczXD3nHi5/CJqen0JIlnAytjUMFth+v+K1iYSL7bhMe583FUAlndKg 1tb3mKhkKrBMVEj3pWF1eo/D/getimDko5PY7ppAU9Tj62HWbXy8+PaNgb/aA0nuGqXx mQpOi73QxBxJUgJGey6PMrKcJ/1VHsDrugRzOuNBsysTRkI2Pf6rryu3FHLyFPKf9G+H /G89YbJSZobiBNVNPrcsWk+jodj6ULua4VodAES2CAWJxqOStEwTvzjomSDabPAIqcjE Y30w== MIME-Version: 1.0 X-Received: by 10.180.211.49 with SMTP id mz17mr10428268wic.43.1370224355781; Sun, 02 Jun 2013 18:52:35 -0700 (PDT) Sender: jamebus@gmail.com Received: by 10.227.173.73 with HTTP; Sun, 2 Jun 2013 18:52:35 -0700 (PDT) In-Reply-To: <51ABB457.5060205@gmail.com> References: <51ABAC4D.4040302@a1poweruser.com> <51ABB457.5060205@gmail.com> Date: Sun, 2 Jun 2013 20:52:35 -0500 X-Google-Sender-Auth: ijDgsXKRY5q2Fn47ykf8Ucv2hUY Message-ID: Subject: Re: Max top end computer for Freebsd to run on From: James To: Joshua Isom Content-Type: text/plain; charset=windows-1252 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: Mon, 03 Jun 2013 01:52:37 -0000 Several modest servers applied well will take you further than one big iron=97and for less cost. --=20 James. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 02:35: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 9EC66242 for ; Mon, 3 Jun 2013 02:35:14 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id 769DB1163 for ; Mon, 3 Jun 2013 02:35:14 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id E932A1703E; Sun, 2 Jun 2013 16:35:06 -1000 (HST) Message-ID: <51AC00D9.4030502@hdk5.net> Date: Sun, 02 Jun 2013 16:35:05 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: James Subject: Re: Max top end computer for Freebsd to run on References: <51ABAC4D.4040302@a1poweruser.com> <51ABB457.5060205@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: Joshua Isom , Freebsd questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 02:35:14 -0000 James wrote: > Several modest servers applied well will take you further than one big > iron—and for less cost. James I agree. I have witnessed the benefit of what you say. Putting your faith in one big server can be a problem if the box fails, especially hardware failure. Keeping a spare server in a rack that can be switched in to service quickly can save you if one dies. Time (waiting for parts), most failures are hardware if your running FreeBSD. Even most Linux boxes. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 06:16:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 35AEF72C for ; Mon, 3 Jun 2013 06:16:36 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx1.freebsd.org (Postfix) with ESMTP id 996FF1955 for ; Mon, 3 Jun 2013 06:16:35 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id 13so1902939lba.12 for ; Sun, 02 Jun 2013 23:16:34 -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 :content-type; bh=NfwLmgsr/g/t1WowHp4rZz/2stb71CqqHynm+toFqvk=; b=knDcMtq9NT60grSY9mH/AwYepGTTbBWPWz57FswygA759Sak40u+F/D6eqhkZROizv j3RabMZbuqKaV6B0Q6Yuq6gnFC0X+JitbUO+js/XtlnWSVGbK9Z2MyUkmqmC0Wd3FM86 Ptj0ENTZMYYUMXSwTKeEwi1O7OcE1ObRSQu+XiENmBiFyzigvzHDqw69xMLO/upD30IM 9Ub3MDrrC3WfBWFrHFu9VCD633njGdH8yeRBui+FxcSJmw6/KU/RcKPmKZHhMl/j2tdV ry9JrkqXOLhxoj72sRXbvGt10aZh3Z8uvRcQm89+4iJhb3JFkRsa4y6UsVOXR0Ylkzio huHg== X-Received: by 10.152.20.136 with SMTP id n8mr7314911lae.17.1370240194098; Sun, 02 Jun 2013 23:16:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.149.33 with HTTP; Sun, 2 Jun 2013 23:15:53 -0700 (PDT) In-Reply-To: <87y5ascp6v.fsf@oak.localnet> References: <87y5atg73c.fsf@oak.localnet> <87y5ascp6v.fsf@oak.localnet> From: saeedeh motlagh Date: Mon, 3 Jun 2013 10:45:53 +0430 Message-ID: Subject: Re: define more partitions in freebsd To: freebsd-questions 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: Mon, 03 Jun 2013 06:16:36 -0000 thanks Carl, i tried your your manual step by steps on FreeBSD8.2 but error happened. this is what i've done: gpart create -s MBR ad3 ad3 created gpart add -t freebsd ad3 ad3s1 added gpart create -s BSD -n 20 ad3s1 gpart: geom 'ad3s1': File Exists if i do not run the second command and run the third one, it says "invalid argument". i don't know what should i do:( any comments or hints are really appreciated. On Sun, Jun 2, 2013 at 11:31 PM, Carl Johnson wrote: > s m writes: > > > thanks guys, > > > > i understand another solution is GPT partitioning. but i prefer to have > > more partitions in traditional freebsd (with MBR table i think). using > GPT > > is the last solution for me. > > > > i should create more than 8 partitions with gpart command (flag n which > > identifies entries) but i have errors when using it. is there any special > > option which should be included in kernel in order to use gpart with flag > > n? any one test it before? > > > > thanks in advance, > > I just tried it on a FreeBSD 8.3 system without any problems. You will > need to explain what kind of errors you had before anybody can help you. > I used a zfs volume for testing as follows: > > gpart create -s MBR /dev/zvol/zpool/v/gtest > gpart add -t freebsd /dev/zvol/zpool/v/gtest > gpart create -s BSD -n 20 zvol/zpool/v/gtests1 > gpart add -t freebsd-ufs -s 1G zvol/zpool/v/gtests1 > gpart add -t freebsd-swap -s 2G zvol/zpool/v/gtests1 > # add several more freebsd-ufs > # output from 'gpart show zvol/zpool/v/gtests1' > => 0 41942943 zvol/zpool/v/gtests1 BSD (20G) > 0 2097152 1 freebsd-ufs (1.0G) > 2097152 4194304 2 freebsd-swap (2.0G) > 6291456 2097152 4 freebsd-ufs (1.0G) > 8388608 2097152 5 freebsd-ufs (1.0G) > 10485760 2097152 6 freebsd-ufs (1.0G) > 12582912 2097152 7 freebsd-ufs (1.0G) > 14680064 2097152 8 freebsd-ufs (1.0G) > 16777216 2097152 9 freebsd-ufs (1.0G) > 18874368 2097152 10 freebsd-ufs (1.0G) > 20971520 2097152 11 freebsd-ufs (1.0G) > 23068672 2097152 12 freebsd-ufs (1.0G) > 25165824 2097152 13 freebsd-ufs (1.0G) > 27262976 2097152 14 freebsd-ufs (1.0G) > 29360128 2097152 15 freebsd-ufs (1.0G) > 31457280 2097152 16 freebsd-ufs (1.0G) > 33554432 2097152 17 freebsd-ufs (1.0G) > 35651584 2097152 18 freebsd-ufs (1.0G) > 37748736 2097152 19 freebsd-ufs (1.0G) > 39845888 2097055 20 freebsd-ufs (1G) > # output from 'disklabel zvol/zpool/v/gtests1' > # /dev/zvol/zpool/v/gtests1: > 20 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 2097152 0 4.2BSD 0 0 0 > b: 4194304 2097152 swap > c: 41942943 0 unused 0 0 # "raw" part, > don't edit > d: 2097152 6291456 4.2BSD 0 0 0 > e: 2097152 8388608 4.2BSD 0 0 0 > f: 2097152 10485760 4.2BSD 0 0 0 > g: 2097152 12582912 4.2BSD 0 0 0 > h: 2097152 14680064 4.2BSD 0 0 0 > i: 2097152 16777216 4.2BSD 0 0 0 > j: 2097152 18874368 4.2BSD 0 0 0 > k: 2097152 20971520 4.2BSD 0 0 0 > l: 2097152 23068672 4.2BSD 0 0 0 > m: 2097152 25165824 4.2BSD 0 0 0 > n: 2097152 27262976 4.2BSD 0 0 0 > o: 2097152 29360128 4.2BSD 0 0 0 > p: 2097152 31457280 4.2BSD 0 0 0 > q: 2097152 33554432 4.2BSD 0 0 0 > r: 2097152 35651584 4.2BSD 0 0 0 > s: 2097152 37748736 4.2BSD 0 0 0 > t: 2097055 39845888 4.2BSD 0 0 0 > > I also tried newfs on all the ufs partitions without problems. I just > tried this on a FreeBSD 8.2 system and it works there as well. > > -- > Carl Johnson carlj@peak.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 Jun 3 06:28: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 3AD37905 for ; Mon, 3 Jun 2013 06:28:47 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id BA7721999 for ; Mon, 3 Jun 2013 06:28:46 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id ec20so1937106lab.13 for ; Sun, 02 Jun 2013 23:28:45 -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=ZFeG+I+ReFuKJboGbiz9p761FGC+kThGWYejT1Iu44Q=; b=Ia7uCXacMqtSXO+qu7dqSFr63KAJNo1Qmyfx8CB4pQlu2oDOLmfxouD+cWz1K9strW 1nxysaPS3q/9Ey9UrBpmPtIQKHi4T/o+SrN7EpcrIQidNYdAFuEny02Kk6/I+8VshLFb kcJq1JGXrPJ6kDjffiQ3gDAqhDw3SRnmUKDIL5di4LkL6WWmjtMkatDDZnSLXgat4o4V uTXSViVQWmsp7rci9l75kcdQ7S1VrLnMUDIrOiDU3ITg1G9mTwItmuTak9jiaQF0+U9F 96bwRuUEvnj2TholAWuULqU7MejMaIr0k5lyfZOFCGM4gBnHCvmp6NKaPfYKbHDRzHpU br5A== MIME-Version: 1.0 X-Received: by 10.152.19.65 with SMTP id c1mr10270765lae.24.1370240925661; Sun, 02 Jun 2013 23:28:45 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Sun, 2 Jun 2013 23:28:45 -0700 (PDT) Date: Mon, 3 Jun 2013 10:58:45 +0430 Message-ID: Subject: change specified byte in a hex file 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, 03 Jun 2013 06:28:47 -0000 hi folks, i want to change a specified byte in a hex file. i want to edit my file and change byte 0x28a content from 0x08 to 0x14. i try to do it with hex-editor in windows but this file is too big and i can't transfer it to the other system. i think it should be done by some commands such as "dd" but i don't know how to use it. please help me to edit my file. thanks in advance, SAM From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 06:49: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 2F767C93 for ; Mon, 3 Jun 2013 06:49:26 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id AE2DE1A45 for ; Mon, 3 Jun 2013 06:49:25 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id ec20so1905926lab.41 for ; Sun, 02 Jun 2013 23:49:24 -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=3U5MHURFBj87vIIOeSXvCZPKgWHxaQk0NuUzAhXxcqU=; b=H/dGJWXug1sOtGn6w2WBJh2zf4MFsIh1SNNiKbk1NpuKwGKh7TDW6KBSvklAsmo6Au glzXT4KEcMXfSYN2KOYwp64E2t7ettlQTdwD3H4XH/MeODkFATO3cdK121FvIpjYm4vd 7JyWcJ1nD+m8P2QR62wA7+N09D+xZl8JbkmcFFuoECC2GYZ0momRSN04jFxANTfoDXpz SaNCI1Hnq3kHC01pIl6zi/YLr9JaisZsucMUTtxYkvDCB+tKDRU7/IMxcKjdVbeMtgK6 H8rCr4AMatHYdnGf8iQL5iDt7oQ74/HAyImztBqME5EByA6CgfTLz3bPkkYny4nWozh7 b7YQ== MIME-Version: 1.0 X-Received: by 10.112.188.231 with SMTP id gd7mr10185124lbc.26.1370242164618; Sun, 02 Jun 2013 23:49:24 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Sun, 2 Jun 2013 23:49:24 -0700 (PDT) In-Reply-To: <51AC3963.9090602@ayan.net> References: <51AC3963.9090602@ayan.net> Date: Mon, 3 Jun 2013 11:19:24 +0430 Message-ID: Subject: Re: change specified byte in a hex file From: s m To: Ayan George , 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, 03 Jun 2013 06:49:26 -0000 thanks Ayan, but isn't there any command in freebsd to do it for me?? On Mon, Jun 3, 2013 at 11:06 AM, Ayan George wrote: > On 06/03/2013 02:28 AM, s m wrote: > > hi folks, > > > > i want to change a specified byte in a hex file. i want to edit my file > and > > change byte 0x28a content from 0x08 to 0x14. > > > > i try to do it with hex-editor in windows but this file is too big and i > > can't transfer it to the other system. i think it should be done by some > > commands such as "dd" but i don't know how to use it. > > > > please help me to edit my file. > > thanks in advance, > > SAM > > > > Use a decent hex editor or write a small C program to edit the file. > > -ayan > > From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 08:37: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 81398319 for ; Mon, 3 Jun 2013 08:37:53 +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 443701E20 for ; Mon, 3 Jun 2013 08:37:53 +0000 (UTC) Received: from [89.204.135.10] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UjOzi-0007aN-9p for freebsd-questions@freebsd.org; Mon, 03 Jun 2013 09:15:54 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r537Fpxe001170 for ; Mon, 3 Jun 2013 09:15:52 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r537FphK001169 for freebsd-questions@freebsd.org; Mon, 3 Jun 2013 09:15:51 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 3 Jun 2013 09:15:51 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: change specified byte in a hex file Message-ID: <20130603071549.GA993@tiny.Sisis.de> References: <51AC3963.9090602@ayan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.10 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: Mon, 03 Jun 2013 08:37:53 -0000 El día Monday, June 03, 2013 a las 11:19:24AM +0430, s m escribió: > thanks Ayan, > > but isn't there any command in freebsd to do it for me?? There is chexedit in the ports. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 09:48: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 D9A224AB for ; Mon, 3 Jun 2013 09:48:22 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 79123107D for ; Mon, 3 Jun 2013 09:48:22 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r539mCZk065451; Mon, 3 Jun 2013 10:48:12 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51AC665C.5090505@qeng-ho.org> Date: Mon, 03 Jun 2013 10:48:12 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: s m Subject: Re: change specified byte in a hex file References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 09:48:22 -0000 On 06/03/13 07:28, s m wrote: > i want to change a specified byte in a hex file. i want to edit my file and > change byte 0x28a content from 0x08 to 0x14. Given your earlier posts about increasing the number of partitions from 8 to 20 on a BSD labelled disk, this probably is not something you really want to do without further research to see if the label actually contains enough space for the metadata for 20 partitions. I believe it doesn't and you're liable to trash the file system on your 'a' partition if you just edit the byte. Alternatively newfs'ing your 'a' partition may destroy the metadata for partitions beyond 'h'. You really need to learn how to use gpart correctly, rather than randomly changing bytes on a disk. However, there's nothing like burning your fingers playing with matches to teach you to respect fire, so ... > i try to do it with hex-editor in windows but this file is too big and i > can't transfer it to the other system. i think it should be done by some > commands such as "dd" but i don't know how to use it. Of course it can be done by dd. Use "man dd" to find out how to use it, that's what the manual pages are for, and it's better to read for yourself than have someone give you an incantation you don't understand. Hint: look at the bs= and seek= options. Extra hint: *after* you've checked the potential problem I've mentioned in the first paragraph, you might also want to use "man echo", "man builtin", "man sh" and "man csh" to understand the differences between the various versions of echo you have available. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 10:40: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 7D9C9E62 for ; Mon, 3 Jun 2013 10:40:21 +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 3DDC31287 for ; Mon, 3 Jun 2013 10:40:20 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UjSBO-0008QW-IH for freebsd-questions@freebsd.org; Mon, 03 Jun 2013 12:40:10 +0200 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 12:40:10 +0200 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 12:40:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: Max top end computer for Freebsd to run on Date: Mon, 03 Jun 2013 06:39:57 -0400 Lines: 80 Message-ID: References: <51ABAC4D.4040302@a1poweruser.com> <51ABB457.5060205@gmail.com> <51AC00D9.4030502@hdk5.net> Mime-Version: 1.0 Content-Type: text/plain; charset="WINDOWS-1252" Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 10:40:21 -0000 Al Plant wrote: > James wrote: >> Several modest servers applied well will take you further than one b= ig >> iron=97and for less cost. >=20 > James I agree. I have witnessed the benefit of what you say. Putting > your faith in one big server can be a problem if the box fails, > especially hardware failure. >=20 > Keeping a spare server in a rack that can be switched in to service > quickly can save you if one dies. Time (waiting for parts), most > failures are hardware if your running FreeBSD. Even most Linux boxes.= >=20 There are 2 approaches, and applying both together is what I favor. Sca= le up=20 (vertical) is a horsepower per box kind of thing. Scale out (horizontal= )=20 adds more of the same kind of box(es) in parallel. The resulting redund= ancy=20 will keep you up and online. Sizing matters somewhat. Having excess horsepower that sits unused is e= xtra=20 money spent on one box that could have been applied to scale out redund= ancy.=20 If you can size one machine to match your current and projected workloa= d,=20 then if there are two, or more, of these and one fails the remaining ca= n=20 shoulder the load while you get the broken one back up. Where the balance point is struck will depend on workload. Let's say=20= (hypothetical) one box as a web/database server can handle 1,000=20 connections/users per second within desired latency and response time. = If a=20 spike in demand suddenly comes that box will slow to a crawl (or even f= all=20 over) as it tries to keep up, as it is lacking the extra horsepower ove= rhead=20 that would otherwise be sitting idle if it did. Scaling out (horizontal= ly)=20 by adding more boxes will distribute this spike across multiple machine= s and=20 remain within the desired processing response/latency time so together = they=20 can handle 2,000 when the need is present. Need another 1,000? Add anot= her=20 box, and so on. So the trick is to understand your workload. Don't go overboard on just= one =20 huge high-power machine which sits mostly idle and takes you offline if= it=20 fails. Spend the money on more moderately sized boxen. Me, I like to ha= ve at=20 least 3 of everything (if I can) such that they are sized so that 2 of = them=20 together can easily handle the desired load. The third one is for redun= dancy=20 and the 'what-if' spike in demand. Another advantage here is you can take one offline for updates, then pu= t it=20 back online and test it out for problems. If there is no problem then y= ou=20 can take one of the other two down and update it. This way you can do=20= updates without your service being offline. But the trick is still to=20= understand your specific workload first, then spread the money around=20= accordingly. -Mike From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 11:24: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 F1C233C6 for ; Mon, 3 Jun 2013 11:24:08 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7A00D17D0 for ; Mon, 3 Jun 2013 11:24:08 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.7/8.14.6) with ESMTP id r53BO4f9016629 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Jun 2013 12:24:05 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <51AC7CD4.2050807@unsane.co.uk> Date: Mon, 03 Jun 2013 12:24:04 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Fbsd8 Subject: Re: Max top end computer for Freebsd to run on References: <51ABAC4D.4040302@a1poweruser.com> In-Reply-To: <51ABAC4D.4040302@a1poweruser.com> X-Enigmail-Version: 1.5.1 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: Mon, 03 Jun 2013 11:24:09 -0000 On 02/06/2013 21:34, Fbsd8 wrote: > I'm a sub second speed freak. What is the max number of cpu's and > memory size that Freebsd can handle? Can it handle 16 4ghz cpu's and > 32gb of memory? I need a gaming server with some really big balls for > hundreds of jails. Money is not a deciding factor here, horse power is. > _______________________________________________ > 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" It'll certainly support it, the biggest server I FreeBSD on at the moment is: root@parisnfsen:~ # head -20 /var/run/dmesg.boot Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-STABLE #4 r249837: Wed Apr 24 13:37:24 CEST 2013 root@parisnfsen.nottellingyou.net:/usr/obj/usr/src/sys/PARISNFSEN amd64 gcc version 4.2.1 20070831 patched [FreeBSD] CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2394.05-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206c2 Family = 0x6 Model = 0x2c Stepping = 2 Features=0xbfebfbff Features2=0x29ee3ff AMD Features=0x2c100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 34359738368 (32768 MB) avail memory = 33090797568 (31557 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads as other people have said though, one big server is often not the best answer, keep things like disk io and resiliency in mind. This is a PowerEdge R410 seems to be pretty happy trundling along on 9-STABLE Vince From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 12:41: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 CA606763 for ; Mon, 3 Jun 2013 12:41:40 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id BCB071AD4 for ; Mon, 3 Jun 2013 12:41:40 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 3 Jun 2013 05:41:41 -0700 Message-ID: <51AC8F04.9070401@a1poweruser.com> Date: Mon, 03 Jun 2013 08:41:40 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Subject: kldload mrouting.ko Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jun 2013 12:41:41.0671 (UTC) FILETIME=[B2B15370:01CE6057] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*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, 03 Jun 2013 12:41:40 -0000 kldload mrouting.ko command gives not found message. How do I load mrouting beside compiling the kernel with option MROUTING in kernel source? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 12:45: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 1D573A06 for ; Mon, 3 Jun 2013 12:45:28 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm2-vm1.bullet.mail.ird.yahoo.com (nm2-vm1.bullet.mail.ird.yahoo.com [77.238.189.200]) by mx1.freebsd.org (Postfix) with SMTP id 630551B07 for ; Mon, 3 Jun 2013 12:45:27 +0000 (UTC) Received: from [77.238.189.238] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 03 Jun 2013 12:45:26 -0000 Received: from [46.228.39.97] by tm19.bullet.mail.ird.yahoo.com with NNFMP; 03 Jun 2013 12:45:26 -0000 Received: from [127.0.0.1] by smtp134.mail.ir2.yahoo.com with NNFMP; 03 Jun 2013 12:45:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1370263526; bh=t+Va20zGCoeeWT7ukbf5UCVHgznSo4wrboG8D6cte+o=; 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=J+2ozm24NlE26HiaMF3oqOhl3cUDm0wcltJ36EWwSSUvuYtzU6Hk1o0womR0bOS4G/srF4C/wfHw7KtGEPz2yGuXaEdS9p4k0ayE0gWCdIZmYnl2+kzDigVvXLjJk8p1YpWd1ti6GE33y/dfVpOxdRZuPLiG6V1wQ1X56TMwFj4= X-Yahoo-Newman-Id: 17121.71516.bm@smtp134.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: sHXka1kVM1l.7XzcwsEvn_V_A5gbu_u9d4PIJRUIP_zDikS zfE5x7IKlOzCjOOrepfO2tpV5AmR39KT59t4iw7R7kFiDfGrBwVtgcGXLzI. ne6JD3sd4mett_1EjGJ02GRRazCFjdvOQ9uEtUpV5hh4Azhx4qOLJZF7HYlG .Bh651k9JAZmiQB1a47s5IxbLL4JwEBo251uKOZp.h4xtHJeEgH6Za0_xF51 hy6xo1dQgFPatC.fHqSe3eVmW61CtGta4U6Hvx.ZfSBIDScmmXCMbW1ONkvi D6rkIola2C6NORPTz.WaWtt9DyNer4uP_.Xg_H3.DWFOVMpfPjlXqc6fDex6 AxAJDCZH6Az6dFMHgXdFqj.4P1LRykNO3kjdhibAtFYwUvfuf3Qn4jcJaocx Ihc.bHzN5Fr675ZzRDWlZRVESCtcUDNAZuogkU_p50rWiTePPc5Gj9hXh X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@89.7.216.154 with ) by smtp134.mail.ir2.yahoo.com with SMTP; 03 Jun 2013 12:45:25 +0000 UTC Date: Mon, 3 Jun 2013 14:45:28 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: kldload mrouting.ko Message-Id: <20130603144528.55bb2f031ba00d49f8b1ea69@yahoo.es> In-Reply-To: <51AC8F04.9070401@a1poweruser.com> References: <51AC8F04.9070401@a1poweruser.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 12:45:28 -0000 On Mon, 03 Jun 2013 08:41:40 -0400 Fbsd8 wrote: > kldload mrouting.ko command gives not found message. > > How do I load mrouting beside compiling the kernel with option MROUTING > in kernel source? There's no mrouting.ko. Perhaps you want ip_mroute.ko ? #kldload ip_mroute.ko --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 13:32: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 F111B970 for ; Mon, 3 Jun 2013 13:32:42 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by mx1.freebsd.org (Postfix) with ESMTP id 91DD41D76 for ; Mon, 3 Jun 2013 13:32:42 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hn14so2663633wib.7 for ; Mon, 03 Jun 2013 06:32:41 -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=PbxFeFjQzReDOp8WTTolmE0obBFqCDL+k7dBaVaLRXU=; b=xVyvcPbQGsgrc0Yh/tRgmYF7KP7YotLiFLQFU7f10mauj8oH76oSoTbel2N68YR3h3 0R1EVKJR1VCoe7fgxW7s8cgiPNcGOdsUKV6MHivGiAFphI3TTsAqAEEsWv5JA2xK3ZBF RguDAmHMTXAN+NOatR93DrucGw23JhUwVKPmODWUv9lGb2lgs9aE4DpZvKG9eiJizmDK 4hBI4Hwu4trYdYHTilrWYnNV6+qp7C2ifQacg9qBjwtAkCOoAQVJOQUQktctleGgqz/E PECX6TtqWYjXaqOUnnZdLleXc4lKUJVWJucp0HKXBUWsLyg+lh1QfBDTPReoe3qOMR31 k5lA== MIME-Version: 1.0 X-Received: by 10.180.9.7 with SMTP id v7mr12803782wia.61.1370266361838; Mon, 03 Jun 2013 06:32:41 -0700 (PDT) Received: by 10.194.76.178 with HTTP; Mon, 3 Jun 2013 06:32:41 -0700 (PDT) Date: Mon, 3 Jun 2013 13:32:41 +0000 Message-ID: Subject: Disable build new pkg format in poudriere From: "C. L. Martinez" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 13:32:43 -0000 HI all, I need to build some packages without using new pkg format. I would like to accomplish this using poudriere, but is this possible?? Or do I need to use another package builder?? I have tried to build rsync, but when I try to install, this error is returned: tar: +CONTENTS: Not found in archive tar: Error exit delayed from previous errors. pkg_add: tar extract of /poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz failed! pkg_add: unable to extract table of contents file from '/poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz' - not a package? In make config file: WITH_PKGNG=no WITHOUT_X11=yes Any idea?? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 13:34: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 B8EB7AF5 for ; Mon, 3 Jun 2013 13:34:01 +0000 (UTC) (envelope-from pulsarpietro@aol.com) Received: from omr-d10.mx.aol.com (omr-d10.mx.aol.com [205.188.108.134]) by mx1.freebsd.org (Postfix) with ESMTP id 505141D90 for ; Mon, 3 Jun 2013 13:34:01 +0000 (UTC) Received: from mtaout-db01.r1000.mx.aol.com (mtaout-db01.r1000.mx.aol.com [172.29.51.193]) by omr-d10.mx.aol.com (Outbound Mail Relay) with ESMTP id 95D1F700496CF; Mon, 3 Jun 2013 09:33:55 -0400 (EDT) Received: from ppaolini-mac.genexislocal.nl (mail.genexis.nl [78.108.141.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-db01.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 97508E0000B7; Mon, 3 Jun 2013 09:33:54 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: VIMAGE From: Pietro Paolini In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F6BCEB@ltcfiswmsgmb21> Date: Mon, 3 Jun 2013 15:33:48 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <93DE0F1F-FF8C-4A48-BE9B-70C0F0B84AE8@aol.com> References: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F6B5F0@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F6BCEB@ltcfiswmsgmb21> To: Devin Teske X-Mailer: Apple Mail (2.1503) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1370266435; bh=BcLYXfX6touABqNxeWc99mWn1JlKf40AXbVTcKSKckw=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=vWucww4brzO4kj/uPc58b2q6PYfRwFociCNJ0hQawHX5gmPl/oAeieWzG7AidHGWG 5dHYl7bAWLoUuxaIzRrqdyv1IFAMXWJofyGFvS91sKMgLiJ3oF7KM+SJek+l+6OxWr oXmOCqnZJi+W74ymIBcGm500can1RFeHexEPk274= X-AOL-SCOLL-SCORE: 0:2:487228256:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c151ac9b422e3f X-AOL-IP: 78.108.141.145 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, 03 Jun 2013 13:34:01 -0000 On Jun 1, 2013, at 5:26 AM, "Teske, Devin" = wrote: >=20 > On May 31, 2013, at 3:05 PM, Teske, Devin wrote: >=20 >>=20 >> On May 31, 2013, at 1:48 AM, Pietro Paolini wrote: >>=20 >>>=20 >>> On May 30, 2013, at 6:25 PM, "Teske, Devin" = wrote: >>>=20 >>>>=20 >>>> On May 30, 2013, at 3:35 AM, Pietro Paolini wrote: >>>>=20 >>>>> Hello all, >>>>>=20 >>>>> I am a new bye on the FreeBSD and I am looking at the VIMAGE = features experiencing some problems. >>>>> I added the options : >>>>> VIMAGE >>>>> if_bridge >>>>>=20 >>>>> and I removed >>>>> STCP >>>>>=20 >>>>> then I recompiled my kernel and install it. >>>>>=20 >>>>> After that, following this tutorial = http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the = "Exercise 2" which consist on=20 >>>>> the following commands: >>>>>=20 >>>>> vimage -c n1 >>>>> vimage -c n2 >>>>> ngctl mkpeer efface ether ether >>>>> ngctl mkpeer efface ether ether >>>>=20 >>>> Don't you just love autocorrect? (does the same thing to me=85 = turns "eiface" into "efface") >>>>=20 >>>>=20 >>>>> ngctl mkpeer em0: bridge lower link0 >>>>=20 >>>> Looks good. >>>>=20 >>>>=20 >>>>> ngctl name em0:lower bridge0 >>>>=20 >>>> I usually do my "connect" before the "name"=85 but shouldn't = matter. Should work all the same. >>>>=20 >>>>=20 >>>>> ngctl connect em0: bridge0: upper link1 >>>>=20 >>>> This looks wrong to me. >>>>=20 >>>> I'd expect: >>>>=20 >>>> ngctl connect em0: bridge0:lower upper link1 >>>>=20 >>>=20 >>>=20 >>> Many thanks for the answer Devin, >>> when I try to use that last command I receive: >>>=20 >>> ngctl connect em0: bridge0:lower upper link1 >>> ngctl: send msg: Invalid argument >>>=20 >>> What's wrong ? >>>=20 >>=20 >> Let's start from scratch on a freshly booted box=85 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >> [sudo] Password: >> There are 4 total nodes: >> Name: em0 Type: ether ID: 00000002 Num = hooks: 0 >> Name: em1 Type: ether ID: 00000003 Num = hooks: 0 >> Name: ngctl1719 Type: socket ID: 00000004 Num = hooks: 0 >> Name: msk0 Type: ether ID: 00000001 Num = hooks: 0 >>=20 >> Ok=85 we have an "ether" type node for each of our physical adapters = (these are provided by ng_ether(4); you didn't have to do anything to = get these nodes). >>=20 >> We also have a single "socket" type node. This is the "ngctl" = connection to the netgraph subsystem (you can learn more by reading = ng_socket(4)). >>=20 >> Here's the corresponding hardware behind em0, em1, and msk0: >>=20 >> =3D=3D=3D >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ grep = '\(em\|e1000phy\|mskc\?\)[[:digit:]]' /var/run/dmesg.boot >> mskc0: port 0xdc00-0xdcff = mem 0xfcffc000-0xfcffffff irq 16 at device 0.0 on pci5 >> msk0: on = mskc0 >> msk0: Ethernet address: xx:xx:xx:xx:xx:xx >> miibus0: on msk0 >> e1000phy0: PHY 0 on miibus0 >> e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto >> mskc0: [ITHREAD] >> em0: port = 0xec80-0xecbf mem 0xfebe0000-0xfebfffff irq 16 at device 4.0 on pci7 >> em0: [FILTER] >> em0: Ethernet address: xx:xx:xx:xx:xx:xx >> em1: port = 0xec00-0xec3f mem 0xfeba0000-0xfebbffff,0xfeb80000-0xfeb9ffff irq 18 at = device 6.0 on pci7 >> em1: [FILTER] >> em1: Ethernet address: xx:xx:xx:xx:xx:xx >> em0: link state changed to UP >>=20 >> =3D=3D=3D >>=20 >> Next, let's make a bridge (think of it as a big software switch that = we're going to hook a bunch of interfaces; created, physical, or = otherwise). >>=20 >> Since I'm doing this over an SSH connection (a mistake I made earlier = today), I'm not going to touch em0 (the adapter my SSH connection is = using). Creating the bridge on an actively configured PHY will knock it = off the net. This is not to say you can't have an active configuration = on a bridged interface=85 just that the creation of the bridge = (something you should only do once each time you boot) will disrupt an = active connection. >>=20 >> So=85 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl mkpeer em1: bridge lower = link0 >>=20 >> NOTE: No output =3D=3D Success. >>=20 >> =3D=3D=3D >>=20 >> Now let's look at our handiwork=85 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1:lower >> Name: Type: bridge ID: 00000007 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link0 em1 ether 00000003 lower = =20 >>=20 >>=20 >> Ok, we see that the lower peer hook of the em1 ether-node goes off to = something named "link0". >>=20 >> To see where link0 is off-to=85 we need a full listing (back to = "ngctl ls -l"). >>=20 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >> There are 5 total nodes: >> Name: Type: bridge ID: 00000007 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link0 em1 ether 00000003 lower = =20 >> Name: em0 Type: ether ID: 00000002 Num = hooks: 0 >> Name: em1 Type: ether ID: 00000003 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> lower bridge 00000007 link0 = =20 >> Name: ngctl1762 Type: socket ID: 0000000b Num = hooks: 0 >> Name: msk0 Type: ether ID: 00000001 Num = hooks: 0 >>=20 >>=20 >> Matching "link0" in the first column to "link0" in the last-column, = we can see that this lower-link0 is to a bridge (with no name). >>=20 >> NOTE: When you're digesting the above output=85 it helps to imagine = whitespace in between the nodes with their respective hooks and other = nodes. Future pastes below will introduce such whitespace to make it = easier to read. >>=20 >> =3D=3D=3D >>=20 >> Right now, the only way to refer to the bridge is by way of = "em1:lower" (because we created the bridge right on the lower hook of = the em1 ether-node). >>=20 >> At this point, let's talk about naming. Giving our bridge a name is = entirely optional, but greatly clarifies the output of both "ngctl ls = -l" and "ngctl dot". >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl name em1:lower em1bridge >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >> There are 5 total nodes: >> Name: em0 Type: ether ID: 00000002 Num = hooks: 0 >>=20 >> Name: em1 Type: ether ID: 00000003 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> lower em1bridge bridge 00000007 link0 = =20 >>=20 >> Name: ngctl1831 Type: socket ID: 0000001a Num = hooks: 0 >>=20 >> Name: em1bridge Type: bridge ID: 00000007 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link0 em1 ether 00000003 lower = =20 >>=20 >> Name: msk0 Type: ether ID: 00000001 Num = hooks: 0 >>=20 >> The new "em1bridge" name acts as an alias to "em1:lower" in future = ngctl commands. For example, "ngctl info em1:lower" and "ngctl info = em1bridge" can now be used interchangeably and produce the same results. >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1bridge: >> Name: em1bridge Type: bridge ID: 00000007 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link0 em1 ether 00000003 lower = =20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1:lower=20 >> Name: em1bridge Type: bridge ID: 00000007 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link0 em1 ether 00000003 lower = =20 >>=20 >> =3D=3D=3D >>=20 >> We're not done with the bridge yet. Because we foresee the = possibility that it might be nice to be able to communicate with the = jail that we're going to later hook into this bridge=85 we should hook = the physical adapter's "upper" hook into the bridge. >>=20 >> If you don't do this, you won't be able to (for example) ping a jail = from the host where the host has only the PHY and the jail has only a = (yet uncreated) eiface. Regardless of the fact that the bridge uses the = PHY and the jail uses the bridge, to communicate with an IP that is = configured on the base host, you must hook the upper. >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl connect em1: em1:lower = upper link1 >>=20 >> If you want to use the alias I set up earlier (of "em1bridge") that = works too (just don't forget the colon at the end of the alias): >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl connect em1: em1bridge: = upper link1 >>=20 >> Here's the results: >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >> There are 5 total nodes: >> Name: em0 Type: ether ID: 00000002 Num = hooks: 0 >>=20 >> Name: em1 Type: ether ID: 00000003 Num = hooks: 2 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> upper em1bridge bridge 0000002a link1 = =20 >> lower em1bridge bridge 0000002a link0 = =20 >>=20 >> Name: ngctl1874 Type: socket ID: 00000030 Num = hooks: 0 >>=20 >> Name: em1bridge Type: bridge ID: 0000002a Num = hooks: 2 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link1 em1 ether 00000003 upper = =20 >> link0 em1 ether 00000003 lower = =20 >>=20 >> Name: msk0 Type: ether ID: 00000001 Num = hooks: 0 >>=20 >>=20 >> NOTE: Some of the Peer ID's have changed, because I wanted to test = that the alias could be used; I used "sudo ngctl shutdown em1bridge:" = and re-executed up to the point where I connect the em1:upper into the = bridge=85 except this time using the alias of "em1bridge" instead of = "em1:lower" (indeed, you can use them interchangeably). >>=20 >> =3D=3D=3D >>=20 >> Ok=85 We've now done the hard part=85 which was to create and = configure a bridge that is usable by any new nodes we connect to it and = also (if you hooked the upper portion of em1 back into its own lower = which is acting as the bridge) the base machine can communicate with any = of the forth-coming jails (if on the same subnet at least). >>=20 >> There's an easy step that shouldn't be skipped though=85 >>=20 >> Before you can truly use this bridge with any other interfaces=85 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ifconfig em1 up >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1: setpromisc 1 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1: setautosrc 0 >>=20 >> A bridge cannot send packets out if the interface is down. >> A bridge cannot work properly without promiscuous mode. >> A bridge cannot send out packets for different addresses unless you = turn off "setautosrc" >>=20 >> =3D=3D=3D >>=20 >> Let's create our first virtual NIC and connect it to the bridge. >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl mkpeer em1bridge: eiface = link2 ether >>=20 >> This command did two things. It created a new "eiface" node (see = ng_eiface(4)), and connected it to the bridge. >>=20 >> Let's have a look: >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >> There are 6 total nodes: >> Name: em0 Type: ether ID: 00000002 Num = hooks: 0 >>=20 >> Name: em1 Type: ether ID: 00000003 Num = hooks: 2 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> upper em1bridge bridge 0000002a link1 = =20 >> lower em1bridge bridge 0000002a link0 = =20 >>=20 >> Name: ngeth0 Type: eiface ID: 00000035 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> ether em1bridge bridge 0000002a link2 = =20 >>=20 >> Name: ngctl2800 Type: socket ID: 00000036 Num = hooks: 0 >>=20 >> Name: em1bridge Type: bridge ID: 0000002a Num = hooks: 3 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link2 ngeth0 eiface 00000035 ether = =20 >> link1 em1 ether 00000003 upper = =20 >> link0 em1 ether 00000003 lower = =20 >>=20 >> Name: msk0 Type: ether ID: 00000001 Num = hooks: 0 >>=20 >> The list of hooks for our bridge (em1bridge) is growing, and now we = see a new node (ngeth0) with one hook into that bridge. >>=20 >> =3D=3D=3D >>=20 >> ASIDE: If you wanted to script this=85 here's how you can test for an = unused link: >>=20 >> Right now, we have link0, link1, and link2 for the bridge. If a link = exists for a bridge, the following command will return some info about = the link and return success (whereas if the link does not exist, the = command will return an error and exit with error-status): >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 0 >> Rec'd response "getstats" (4) from "[2a]:": >> Args: >> {} >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 1 >> Rec'd response "getstats" (4) from "[2a]:": >> Args: >> {} >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 2 >> Rec'd response "getstats" (4) from "[2a]:": >> Args: >> {} >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 3 >> ngctl: send msg: Socket is not connected >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 4 >> ngctl: send msg: Socket is not connected >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 5 >> ngctl: send msg: Socket is not connected >>=20 >> As you can see from the above output=85 we get errors for link3, = link4, and link5, because they don't exist. Naturally, testing $? exit = status after each of these commands would show how this can be scripted = (HINT: throw stdout/stderr to /dev/null and test $?). >>=20 >> =3D=3D=3D >>=20 >> At this point=85 you say "ifconfig": >>=20 >> dteske@oos0a.lbxrich.vicor.com ~ $ ifconfig >> msk0: flags=3D8802 metric 0 mtu 1500 >> = options=3Dc011a >> ether xx:xx:xx:xx:xx:xx >> media: Ethernet autoselect >> em0: flags=3D8843 metric 0 = mtu 1500 >> = options=3D209b >> ether xx:xx:xx:xx:xx:xx >> inet xx.xx.xx.xx netmask 0xffffff80 broadcast xx.xx.xx.xx >> media: Ethernet autoselect (1000baseT ) >> status: active >> em1: flags=3D8943 = metric 0 mtu 1500 >> = options=3D209b >> ether xx:xx:xx:xx:xx:xx >> media: Ethernet autoselect >> status: no carrier >> ipfw0: flags=3D8801 metric 0 mtu 65536 >> lo0: flags=3D8049 metric 0 mtu 16384 >> options=3D3 >> inet 127.0.0.1 netmask 0xff000000=20 >> ngeth0: flags=3D8802 metric 0 mtu 1500 >> ether 00:00:00:00:00:00 >>=20 >> =3D=3D=3D >>=20 >> Ok, there are two problems with the network interface. >>=20 >> 1. It has a NULL MAC address (00:00:00:00:00:00). Good luck = communicating on the Internet (remember, we disabled setautosrc -- we = intend to make up a MAC address that is unique). >>=20 >> 2. The name leaves something to be desired (if we're going to use = this with a vimage jail, it would be nice if the interface had the jail = name in it, so that when you do an "ngctl ls -l" or an "ngctl dot" =85 = you're going to see the jail name so it becomes clear which jails are = hooked to which PHY's through which bridges). >>=20 >> =3D=3D=3D >>=20 >> Let's tackle the easier one first=85 let's rename this new interface. >>=20 >> You and I already know that this interface that we want to rename is = "ngeth0"=85 but you can actually extract the name from the link in the = bridge. >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl show -n em1bridge:link2 >> Name: ngeth0 Type: eiface ID: 00000035 Num = hooks: 1 >>=20 >>=20 >> First, we rename it in netgraph (this does not affect the output of = ifconfig -- and again, we do this to make "ngctl ls -l" and "ngctl dot" = more palatable): >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl name em1bridge:link2 = ng0_myjail >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l =20 >> There are 6 total nodes: >> Name: em0 Type: ether ID: 00000002 Num = hooks: 0 >>=20 >> Name: em1 Type: ether ID: 00000003 Num = hooks: 2 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> upper em1bridge bridge 0000002a link1 = =20 >> lower em1bridge bridge 0000002a link0 = =20 >>=20 >> Name: ngctl2843 Type: socket ID: 00000046 Num = hooks: 0 >>=20 >> Name: ng0_myjail Type: eiface ID: 00000035 Num = hooks: 1 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> ether em1bridge bridge 0000002a link2 = =20 >>=20 >> Name: em1bridge Type: bridge ID: 0000002a Num = hooks: 3 >> Local hook Peer name Peer type Peer ID Peer = hook =20 >> ---------- --------- --------- ------- = --------- =20 >> link2 ng0_myjail eiface 00000035 ether = =20 >> link1 em1 ether 00000003 upper = =20 >> link0 em1 ether 00000003 lower = =20 >>=20 >> Name: msk0 Type: ether ID: 00000001 Num = hooks: 0 >>=20 >>=20 >> Looking good. However, ifconfig hasn't changed=85 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ ifconfig >> ... >> ngeth0: flags=3D8802 metric 0 mtu 1500 >> ether 00:00:00:00:00:00 >>=20 >> We want to rename the interface with ifconfig for a different reason. >>=20 >> We renamed the interface with netgraph earlier so that netgraph = outputs would be nice and easy to digest. >>=20 >> This time, we rename with ifconfig so that we can layer jails onto = the same rootdir. >>=20 >> The naming convention (which is the same naming convention I use for = renaming on the netgraph side) is: >>=20 >> ng#_name >>=20 >> The # always starts at zero for each jail where "name" is the name of = the jail. >>=20 >> Again=85 I use this scheme so that I can layer jails onto the same = root-dir; /etc/rc.conf is then populated with things like: >>=20 >> ifconfig_ng0_myjail=3D... >> ifconfig_ng0_myrouter=3D... >> ifconfig_ng1_myrouter=3D... >> ifconfig_ng0_anotherjail=3D... >>=20 >> So that when you say "service netif start" inside the vnet jail=85 it = applies the right settings. >>=20 >> So=85 we rename with ifconfig: >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ifconfig ngeth0 name ng0_myjail >> dteske@scu0a.jbsd.vicor.com ~ $ ifconfig >> ... >> ng0_myjail: flags=3D8802 metric 0 mtu = 1500 >> ether 00:00:00:00:00:00 >>=20 >> =3D=3D=3D >>=20 >> We're almost ready to shove this interface into a jail (which we = haven't created yet). >>=20 >> But=85 we come back to that NULL MAC address. >>=20 >> NOTE: Forming your own MAC address, or even coming up with your own = formula should not be taken lightly. >>=20 >> Here's a formula I use (which is based on several RFC's for MAC = address formation): >>=20 >> NOTE: In this context, ${_bridge} is em1 and $LINKNUM is 2 >>=20 >> # Set the MAC address of the new = interface >> # using a sensible algorithm to = prevent >> # conflicts on the network. >> # >> # MAC LP:LL:LB:BB:BB:BB >> # P 2, 6, A, or E but usually 2 >> # NOTE: Indicates "privately = administered" MAC >> # L ng_bridge(4) link number = (1-65535) >> # B Same as bridged interface >> # >> _bridge_ether=3D$( ifconfig ${_bridge} = ether | >> awk '/ether/{print $2}' ) >> = _ether_devid=3D"${_bridge_ether#??:??:?}" >> n=3D$LINKNUM >> _quad=3D$(($n & 15)) >> case "${_quad}" in >> 10) _quad=3Da;; 11) _quad=3Db;; 12) = _quad=3Dc;; >> 13) _quad=3Dd;; 14) _quad=3De;; 15) = _quad=3Df;; >> esac >> = _ether_devid=3D":${_quad}${_ether_devid}" >> n=3D$(($n >> 4)) >> _quad=3D$(($n & 15)) >> case "${_quad}" in >> 10) _quad=3Da;; 11) _quad=3Db;; 12) = _quad=3Dc;; >> 13) _quad=3Dd;; 14) _quad=3De;; 15) = _quad=3Df;; >> esac >> _ether_devid=3D"${_quad}${_ether_devid}"= >> n=3D$(($n >> 4)) >> _quad=3D$(($n & 15)) >> case "${_quad}" in >> 10) _quad=3Da;; 11) _quad=3Db;; 12) = _quad=3Dc;; >> 13) _quad=3Dd;; 14) _quad=3De;; 15) = _quad=3Df;; >> esac >> = _ether_devid=3D"2:${_quad}${_ether_devid}" >> n=3D$(($n >> 4)) >> _quad=3D$(($n & 15)) >> case "${_quad}" in >> 10) _quad=3Da;; 11) _quad=3Db;; 12) = _quad=3Dc;; >> 13) _quad=3Dd;; 14) _quad=3De;; 15) = _quad=3Df;; >> esac >> _ether_devid=3D"${_quad}${_ether_devid}"= >> n=3D$(($n >> 4)) >>=20 >> After which=85 ${_ether_devid} holds a properly formed MAC address = that can (in every case I've tested) "get out". >>=20 >> Here's what I do to set it: >>=20 >> ifconfig ng0_myjail ether "${_ether_devid}" >>=20 >> Here's an example of how the MAC address was translated from the = physical adapter to the ng_eiface(4) interface: >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ ifconfig em1; ifconfig ng0_myjail >> em1: flags=3D8943 = metric 0 mtu 1500 >> = options=3D209b >> ether 00:0e:0c:ab:1b:76 >> media: Ethernet autoselect >> status: no carrier >> ng0_myjail: flags=3D8802 metric 0 mtu = 1500 >> ether 02:00:2c:ab:1b:76 >>=20 >> =3D=3D=3D >>=20 >> OK=85 we're now ready to shove that interface into a vimage jail. >>=20 >> But=85 >>=20 >> First we need a vimage jail. (this is not a tutorial on how to = create, manage, build, or do anything else with jails, vimage-jails, or = vps-jails *other* than give it a netgraph based interface) >>=20 >> I'm going to use my existing base machine as a fake jail (by pointing = my jail's rootdir at "/"). >>=20 >> NOTE: Certain sysctl's have to be set appropriately before you fire = up the jail to make this vimage jail able to do "more" on the net. >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo sysctl = security.jail.set_hostname_allowed=3D1 security.jail.sysvipc_allowed=3D1 = security.jail.socket_unixiproute_only=3D1 >> security.jail.set_hostname_allowed: 1 -> 1 >> security.jail.sysvipc_allowed: 1 -> 1 >> security.jail.socket_unixiproute_only: 0 -> 1 >>=20 >> NOTE: Unless you intend to reboot to restore the defaults later=85 = you might want to take down those previous values for restoration = *after* we fire up the "vimage" jail. >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo jail -i -c vnet name=3Dmyjail = host.hostname=3Dmyjail path=3D/ persist >> 1 >> dteske@scu0a.jbsd.vicor.com ~ $ jls >> JID IP Address Hostname Path >> 1 - myjail / >>=20 >> OK=85 we have a running jail (with the vnet property, making it a = "vimage" jail -- which can accept network interfaces). >>=20 >> =3D=3D=3D >>=20 >> Right now our jail has no network interfaces (well, it has an = unconfigured lo0). >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo jexec myjail ifconfig >> lo0: flags=3D8008 metric 0 mtu 16384 >> options=3D3 >>=20 >> So let's pass the netgraph created interface into the jail=85 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ifconfig ng0_myjail vnet 1 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo jexec myjail ifconfig >> lo0: flags=3D8008 metric 0 mtu 16384 >> options=3D3 >> ng0_myjail: flags=3D8802 metric 0 mtu = 1500 >> ether 02:00:2c:ab:1b:76 >>=20 >> Sweet! >>=20 >> =3D=3D=3D >>=20 >> Almost there=85 >>=20 >> Let's go into /etc/rc.conf, give it an IP, and start the network=85 >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo sysrc ifconfig_ng0_myjail=3D"inet = 192.168.1.1 netmask 255.255.255.0" >> /etc/rc.conf: ifconfig_ng0_myjail: -> inet 192.168.1.1 netmask = 255.255.255.0 >> dteske@scu0a.jbsd.vicor.com ~ $ grep ng0 /etc/rc.conf >> ifconfig_ng0_myjail=3D"inet 192.168.1.1 netmask 255.255.255.0" >> dteske@scu0a.jbsd.vicor.com ~ $ sudo jexec myjail service netif start >> Starting Network: lo0 ng0_myjail. >> lo0: flags=3D8049 metric 0 mtu 16384 >> options=3D3 >> inet 127.0.0.1 netmask 0xff000000=20 >> ng0_myjail: flags=3D8843 = metric 0 mtu 1500 >> ether 02:00:2c:ab:1b:76 >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 >>=20 >> Now we're cookin' with gasoline! >>=20 >> =3D=3D=3D >>=20 >> Optionally go configure your base machine with an IP and have fun. >=20 > A quick conclusion=85 >=20 > Because we've built this all on top of netgraph=85 we can =85 graph = it. >=20 > dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl dot | dot -Tsvg -o = netgraph-scu0a.svg >=20 > I then uploaded the file to the web and here it is: >=20 > http://druidbsd.sourceforge.net/download/netgraph-scu0a.svg >=20 > You should compare this directly to the output of "ngctl ls -l": >=20 > dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l > There are 6 total nodes: > Name: em0 Type: ether ID: 00000002 Num hooks: = 0 >=20 > Name: em1 Type: ether ID: 00000003 Num hooks: = 2 > Local hook Peer name Peer type Peer ID Peer = hook =20 > ---------- --------- --------- ------- = --------- =20 > upper em1bridge bridge 0000002a link1 = =20 > lower em1bridge bridge 0000002a link0 = =20 >=20 > Name: ng0_myjail Type: eiface ID: 00000035 Num hooks: = 1 > Local hook Peer name Peer type Peer ID Peer = hook =20 > ---------- --------- --------- ------- = --------- =20 > ether em1bridge bridge 0000002a link2 = =20 >=20 > Name: em1bridge Type: bridge ID: 0000002a Num hooks: = 3 > Local hook Peer name Peer type Peer ID Peer = hook =20 > ---------- --------- --------- ------- = --------- =20 > link2 ng0_myjail eiface 00000035 ether = =20 > link1 em1 ether 00000003 upper = =20 > link0 em1 ether 00000003 lower = =20 >=20 > Name: ngctl8676 Type: socket ID: 00000049 Num hooks: = 0 >=20 > Name: msk0 Type: ether ID: 00000001 Num hooks: = 0 >=20 > You'll notice that when you graph the layout with "ngctl dot", the = nodes are rendered as boxes displaying their "Peer Name" up top, their = "Peer Type" in the lower-left, and their "Peer ID" in the bottom-right. >=20 > The edges from one node to another contains two octagons. These are = the "Local hook" and "Peer hook". > --=20 > Devin >=20 > _____________ > The information contained in this message is proprietary and/or = confidential. If you are not the intended recipient, please: (i) delete = the message and all copies; (ii) do not disclose, distribute or use the = message in any manner; and (iii) notify the sender immediately. In = addition, please be aware that any message addressed to our domain is = subject to archiving and review by persons other than the intended = recipient. Thank you. Hello Devin, If you live in the same city I will invite you for a couple of beer (I = have to pay of course!) - I live in the Netherlands then let me know -=20= I followed your tutorial with the expected result: I can ping the em1 = interface but I still have the same problems of before regarding = external to internal networks communication. Please note that on my original host (no jail) the default gateway is = 192.168.1.254, that's important for what I am going to do. I added a default route like : route add default -interface ng0_myjail=20 and then I try to : jexec myjail ping 8.8.8.8 I analyzed the wireshark capture and I can see that an ARP request for = the 192.168.254 (with the MAC address of our virtual NIC as source, as = expected) go out my freebsd env - which is on a virtualbox - and it gets = the answer but when I read the ARP table of the jail I can see it as = incomplete. It seems that packet going out but the answer is not = received and it is confirmed when I try to sniff with tcpdump on my = FREEBSD, I can't see any ARP request going in both from my physical and = virtual NIC, the same if I try : ping 192.168.1.254 Then I can see ping reply coming from wireshark but not from tcpdump on = FreeBDS. Wireshark is attached on the host machine on the physical interface = where VB is attached in Bridged Mode, my original physical interface on = FreeBSD took the IP address from DHCP without problem then the problem = is related to the jail. do I try do accomplish a task which is not possible with JAIL or = something is wrong in my configuration or worst, in my brain :P ? Thanks in advance, Pietro. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 13:45: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 65897D7B for ; Mon, 3 Jun 2013 13:45:42 +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 295BB1E1C for ; Mon, 3 Jun 2013 13:45:41 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UjV4q-0002IR-Uu for freebsd-questions@freebsd.org; Mon, 03 Jun 2013 15:45:36 +0200 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 15:45:36 +0200 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jun 2013 15:45:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: Disable build new pkg format in poudriere Date: Mon, 03 Jun 2013 09:45:22 -0400 Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 13:45:42 -0000 C. L. Martinez wrote: > HI all, > > I need to build some packages without using new pkg format. I would > like to accomplish this using poudriere, but is this possible?? Or do > I need to use another package builder?? > > I have tried to build rsync, but when I try to install, this error is > returned: > > tar: +CONTENTS: Not found in archive > tar: Error exit delayed from previous errors. > pkg_add: tar extract of > /poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz > failed! > pkg_add: unable to extract table of contents file from > '/poudriere/data/packages/fbsd91_amd64_legacy- default/All/rsync-3.0.9_3.txz' > - not a package? > > In make config file: > > WITH_PKGNG=no > WITHOUT_X11=yes Try WITHOUT_PKGNG=yes and see if it helps. -Mike From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 14:12: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 A8CFB613 for ; Mon, 3 Jun 2013 14:12:11 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 4630C1F57 for ; Mon, 3 Jun 2013 14:12:11 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id m46so1741659wev.2 for ; Mon, 03 Jun 2013 07:12: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 :content-type; bh=qqxggnw1kpaEk/LqzSRvNZ/C5BZadKv5ehh3EYQOZVY=; b=aTDS3fkg0q2f2OygDhx6SGYtJlY8ce+xppkICSfKBXHV4nEoLIyQDfZzC6Huin0Xwe XJZZ689jlAvlI7Josos0qApSoVymaL60JHqZnOdIu0AVzesrJ8JtIHyETV5cb4jnA1Hi zeCEzmA96QkApik4sYP5jandWg5QNACeWoVJw62zPP9DAGuScrIpWo0BxKXnVDPuhh3I m0lYz98x3/zSugNMnWBHo/d1Z+NY65cS/CsVNpf8tbZ0FuaAkcHro8CtLFtXF4F8jMXc w8DXCM5zFJpYUPFh5WUzSlTEFKHHlOqgQZBhTtQadSR8wOlZcd6Ijdt2Dr4/EU705xFs B7Ig== MIME-Version: 1.0 X-Received: by 10.180.9.7 with SMTP id v7mr12994047wia.61.1370268730373; Mon, 03 Jun 2013 07:12:10 -0700 (PDT) Received: by 10.194.76.178 with HTTP; Mon, 3 Jun 2013 07:12:10 -0700 (PDT) In-Reply-To: References: Date: Mon, 3 Jun 2013 14:12:10 +0000 Message-ID: Subject: Re: Disable build new pkg format in poudriere From: "C. L. Martinez" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 14:12:11 -0000 On Mon, Jun 3, 2013 at 1:45 PM, Michael Powell wrote: > C. L. Martinez wrote: > >> HI all, >> >> I need to build some packages without using new pkg format. I would >> like to accomplish this using poudriere, but is this possible?? Or do >> I need to use another package builder?? >> >> I have tried to build rsync, but when I try to install, this error is >> returned: >> >> tar: +CONTENTS: Not found in archive >> tar: Error exit delayed from previous errors. >> pkg_add: tar extract of >> /poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz >> failed! >> pkg_add: unable to extract table of contents file from >> '/poudriere/data/packages/fbsd91_amd64_legacy- > default/All/rsync-3.0.9_3.txz' >> - not a package? >> >> In make config file: >> >> WITH_PKGNG=no >> WITHOUT_X11=yes > > Try WITHOUT_PKGNG=yes and see if it helps. > > -Mike > Thanks Mike. I have removed "WITH_PKGNG" line and it works and I can build and install packages... but when I execute pkg_version: root@fbsdtst:~ # pkg_version -v perl-5.14.2_3 ? orphaned: lang/perl5.14 rsync-3.0.9_3 ? orphaned: net/rsync zfs-stats-1.2.2 ? orphaned: sysutils/zfs-stats Uhmm why these packages appears as oprhaned?? From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 15:05:54 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 DF029963 for ; Mon, 3 Jun 2013 15:05:54 +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 9DDF91211 for ; Mon, 3 Jun 2013 15:05:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r53F5ieT028130; Mon, 3 Jun 2013 09:05:44 -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 r53F5i9D028127; Mon, 3 Jun 2013 09:05:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 3 Jun 2013 09:05:44 -0600 (MDT) From: Warren Block To: saeedeh motlagh Subject: Re: define more partitions in freebsd In-Reply-To: Message-ID: References: <87y5atg73c.fsf@oak.localnet> <87y5ascp6v.fsf@oak.localnet> 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, 03 Jun 2013 09:05:44 -0600 (MDT) 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, 03 Jun 2013 15:05:54 -0000 On Mon, 3 Jun 2013, saeedeh motlagh wrote: > thanks Carl, > > i tried your your manual step by steps on FreeBSD8.2 but error happened. > this is what i've done: > gpart create -s MBR ad3 > ad3 created > gpart add -t freebsd ad3 > ad3s1 added > gpart create -s BSD -n 20 ad3s1 > gpart: geom 'ad3s1': File Exists > > if i do not run the second command and run the third one, it says "invalid > argument". > > i don't know what should i do:( any comments or hints are really > appreciated. [please stop top-posting, it makes replies more difficult] The slice entry is still present on the disk, and must be removed and recreated: gpart delete -i1 ad3 gpart add -t freebsd ad3 Again, GPT is a better solution unless you have a Thinkpad with a broken BIOS. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 16:31: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 AB1E931D; Mon, 3 Jun 2013 16:31:28 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5477C18FE; Mon, 3 Jun 2013 16:31:28 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id r53GVQhd006845 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 3 Jun 2013 11:31:26 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Mon, 3 Jun 2013 11:31:25 -0500 From: "Teske, Devin" To: Pietro Paolini Subject: Re: VIMAGE Thread-Topic: VIMAGE Thread-Index: AQHOXSFz+LfSxNVDbEKhvdpKVCZplpkePgkAgAESuICAAN7EAIAAWZWAgAPOaQCAADGdgA== Date: Mon, 3 Jun 2013 16:31:26 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F6EBFF@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F6B5F0@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F6BCEB@ltcfiswmsgmb21> <93DE0F1F-FF8C-4A48-BE9B-70C0F0B84AE8@aol.com> In-Reply-To: <93DE0F1F-FF8C-4A48-BE9B-70C0F0B84AE8@aol.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: <89AA19D6A60FBC449015DAC1079C30F1@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-03_05:2013-06-03,2013-06-03,1970-01-01 signatures=0 Cc: Devin Teske , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 16:31:28 -0000 On Jun 3, 2013, at 6:33 AM, Pietro Paolini wrote: >=20 > On Jun 1, 2013, at 5:26 AM, "Teske, Devin" wr= ote: >=20 >>=20 >> On May 31, 2013, at 3:05 PM, Teske, Devin wrote: >>=20 >>>=20 >>> On May 31, 2013, at 1:48 AM, Pietro Paolini wrote: >>>=20 >>>>=20 >>>> On May 30, 2013, at 6:25 PM, "Teske, Devin" wrote: >>>>=20 >>>>>=20 >>>>> On May 30, 2013, at 3:35 AM, Pietro Paolini wrote: >>>>>=20 >>>>>> Hello all, >>>>>>=20 >>>>>> I am a new bye on the FreeBSD and I am looking at the VIMAGE feature= s experiencing some problems. >>>>>> I added the options : >>>>>> VIMAGE >>>>>> if_bridge >>>>>>=20 >>>>>> and I removed >>>>>> STCP >>>>>>=20 >>>>>> then I recompiled my kernel and install it. >>>>>>=20 >>>>>> After that, following this tutorial https://urldefense.proofpoint.co= m/v1/url?u=3Dhttp://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf&k= =3D%2FbkpAUdJWZuiTILCq%2FFnQg%3D%3D%0A&r=3DMrjs6vR4%2Faj2Ns9%2FssHJjg%3D%3D= %0A&m=3Dxe0XNgnKBiT9v8HzxwWwnNMOVN3YdEHmTsIZfFoQA9Y%3D%0A&s=3Db271820faf310= ac274ded8c3135b4931f2a5278e78ec1a66ce6a5ab971ff64f5 I tried the "Exercise 2= " which consist on=20 >>>>>> the following commands: >>>>>>=20 >>>>>> vimage -c n1 >>>>>> vimage -c n2 >>>>>> ngctl mkpeer efface ether ether >>>>>> ngctl mkpeer efface ether ether >>>>>=20 >>>>> Don't you just love autocorrect? (does the same thing to me=85 turns = "eiface" into "efface") >>>>>=20 >>>>>=20 >>>>>> ngctl mkpeer em0: bridge lower link0 >>>>>=20 >>>>> Looks good. >>>>>=20 >>>>>=20 >>>>>> ngctl name em0:lower bridge0 >>>>>=20 >>>>> I usually do my "connect" before the "name"=85 but shouldn't matter. = Should work all the same. >>>>>=20 >>>>>=20 >>>>>> ngctl connect em0: bridge0: upper link1 >>>>>=20 >>>>> This looks wrong to me. >>>>>=20 >>>>> I'd expect: >>>>>=20 >>>>> ngctl connect em0: bridge0:lower upper link1 >>>>>=20 >>>>=20 >>>>=20 >>>> Many thanks for the answer Devin, >>>> when I try to use that last command I receive: >>>>=20 >>>> ngctl connect em0: bridge0:lower upper link1 >>>> ngctl: send msg: Invalid argument >>>>=20 >>>> What's wrong ? >>>>=20 >>>=20 >>> Let's start from scratch on a freshly booted box=85 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >>> [sudo] Password: >>> There are 4 total nodes: >>> Name: em0 Type: ether ID: 00000002 Num hooks: 0 >>> Name: em1 Type: ether ID: 00000003 Num hooks: 0 >>> Name: ngctl1719 Type: socket ID: 00000004 Num hooks: 0 >>> Name: msk0 Type: ether ID: 00000001 Num hooks: 0 >>>=20 >>> Ok=85 we have an "ether" type node for each of our physical adapters (t= hese are provided by ng_ether(4); you didn't have to do anything to get the= se nodes). >>>=20 >>> We also have a single "socket" type node. This is the "ngctl" connectio= n to the netgraph subsystem (you can learn more by reading ng_socket(4)). >>>=20 >>> Here's the corresponding hardware behind em0, em1, and msk0: >>>=20 >>> =3D=3D=3D >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ grep '\(em\|e1000phy\|mskc\?\)[[:digit:= ]]' /var/run/dmesg.boot >>> mskc0: port 0xdc00-0xdcff mem = 0xfcffc000-0xfcffffff irq 16 at device 0.0 on pci5 >>> msk0: on mskc0 >>> msk0: Ethernet address: xx:xx:xx:xx:xx:xx >>> miibus0: on msk0 >>> e1000phy0: PHY 0 on miibus0 >>> e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000b= aseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto >>> mskc0: [ITHREAD] >>> em0: port 0xec80-0x= ecbf mem 0xfebe0000-0xfebfffff irq 16 at device 4.0 on pci7 >>> em0: [FILTER] >>> em0: Ethernet address: xx:xx:xx:xx:xx:xx >>> em1: port 0xec00-0x= ec3f mem 0xfeba0000-0xfebbffff,0xfeb80000-0xfeb9ffff irq 18 at device 6.0 o= n pci7 >>> em1: [FILTER] >>> em1: Ethernet address: xx:xx:xx:xx:xx:xx >>> em0: link state changed to UP >>>=20 >>> =3D=3D=3D >>>=20 >>> Next, let's make a bridge (think of it as a big software switch that we= 're going to hook a bunch of interfaces; created, physical, or otherwise). >>>=20 >>> Since I'm doing this over an SSH connection (a mistake I made earlier t= oday), I'm not going to touch em0 (the adapter my SSH connection is using).= Creating the bridge on an actively configured PHY will knock it off the ne= t. This is not to say you can't have an active configuration on a bridged i= nterface=85 just that the creation of the bridge (something you should only= do once each time you boot) will disrupt an active connection. >>>=20 >>> So=85 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl mkpeer em1: bridge lower lin= k0 >>>=20 >>> NOTE: No output =3D=3D Success. >>>=20 >>> =3D=3D=3D >>>=20 >>> Now let's look at our handiwork=85 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1:lower >>> Name: Type: bridge ID: 00000007 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>>=20 >>> Ok, we see that the lower peer hook of the em1 ether-node goes off to s= omething named "link0". >>>=20 >>> To see where link0 is off-to=85 we need a full listing (back to "ngctl = ls -l"). >>>=20 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >>> There are 5 total nodes: >>> Name: Type: bridge ID: 00000007 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>> Name: em0 Type: ether ID: 00000002 Num hooks: 0 >>> Name: em1 Type: ether ID: 00000003 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> lower bridge 00000007 link0=20= =20=20=20=20=20=20=20=20=20 >>> Name: ngctl1762 Type: socket ID: 0000000b Num hooks: 0 >>> Name: msk0 Type: ether ID: 00000001 Num hooks: 0 >>>=20 >>>=20 >>> Matching "link0" in the first column to "link0" in the last-column, we = can see that this lower-link0 is to a bridge (with no name). >>>=20 >>> NOTE: When you're digesting the above output=85 it helps to imagine whi= tespace in between the nodes with their respective hooks and other nodes. F= uture pastes below will introduce such whitespace to make it easier to read. >>>=20 >>> =3D=3D=3D >>>=20 >>> Right now, the only way to refer to the bridge is by way of "em1:lower"= (because we created the bridge right on the lower hook of the em1 ether-no= de). >>>=20 >>> At this point, let's talk about naming. Giving our bridge a name is ent= irely optional, but greatly clarifies the output of both "ngctl ls -l" and = "ngctl dot". >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl name em1:lower em1bridge >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >>> There are 5 total nodes: >>> Name: em0 Type: ether ID: 00000002 Num hooks: 0 >>>=20 >>> Name: em1 Type: ether ID: 00000003 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> lower em1bridge bridge 00000007 link0=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: ngctl1831 Type: socket ID: 0000001a Num hooks: 0 >>>=20 >>> Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: msk0 Type: ether ID: 00000001 Num hooks: 0 >>>=20 >>> The new "em1bridge" name acts as an alias to "em1:lower" in future ngct= l commands. For example, "ngctl info em1:lower" and "ngctl info em1bridge" = can now be used interchangeably and produce the same results. >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1bridge: >>> Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1:lower=20 >>> Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> =3D=3D=3D >>>=20 >>> We're not done with the bridge yet. Because we foresee the possibility = that it might be nice to be able to communicate with the jail that we're go= ing to later hook into this bridge=85 we should hook the physical adapter's= "upper" hook into the bridge. >>>=20 >>> If you don't do this, you won't be able to (for example) ping a jail fr= om the host where the host has only the PHY and the jail has only a (yet un= created) eiface. Regardless of the fact that the bridge uses the PHY and th= e jail uses the bridge, to communicate with an IP that is configured on the= base host, you must hook the upper. >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl connect em1: em1:lower upper= link1 >>>=20 >>> If you want to use the alias I set up earlier (of "em1bridge") that wor= ks too (just don't forget the colon at the end of the alias): >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl connect em1: em1bridge: uppe= r link1 >>>=20 >>> Here's the results: >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >>> There are 5 total nodes: >>> Name: em0 Type: ether ID: 00000002 Num hooks: 0 >>>=20 >>> Name: em1 Type: ether ID: 00000003 Num hooks: 2 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> upper em1bridge bridge 0000002a link1=20= =20=20=20=20=20=20=20=20=20 >>> lower em1bridge bridge 0000002a link0=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: ngctl1874 Type: socket ID: 00000030 Num hooks: 0 >>>=20 >>> Name: em1bridge Type: bridge ID: 0000002a Num hooks: 2 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link1 em1 ether 00000003 upper=20= =20=20=20=20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: msk0 Type: ether ID: 00000001 Num hooks: 0 >>>=20 >>>=20 >>> NOTE: Some of the Peer ID's have changed, because I wanted to test that= the alias could be used; I used "sudo ngctl shutdown em1bridge:" and re-ex= ecuted up to the point where I connect the em1:upper into the bridge=85 exc= ept this time using the alias of "em1bridge" instead of "em1:lower" (indeed= , you can use them interchangeably). >>>=20 >>> =3D=3D=3D >>>=20 >>> Ok=85 We've now done the hard part=85 which was to create and configure= a bridge that is usable by any new nodes we connect to it and also (if you= hooked the upper portion of em1 back into its own lower which is acting as= the bridge) the base machine can communicate with any of the forth-coming = jails (if on the same subnet at least). >>>=20 >>> There's an easy step that shouldn't be skipped though=85 >>>=20 >>> Before you can truly use this bridge with any other interfaces=85 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ifconfig em1 up >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1: setpromisc 1 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1: setautosrc 0 >>>=20 >>> A bridge cannot send packets out if the interface is down. >>> A bridge cannot work properly without promiscuous mode. >>> A bridge cannot send out packets for different addresses unless you tur= n off "setautosrc" >>>=20 >>> =3D=3D=3D >>>=20 >>> Let's create our first virtual NIC and connect it to the bridge. >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl mkpeer em1bridge: eiface lin= k2 ether >>>=20 >>> This command did two things. It created a new "eiface" node (see ng_eif= ace(4)), and connected it to the bridge. >>>=20 >>> Let's have a look: >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >>> There are 6 total nodes: >>> Name: em0 Type: ether ID: 00000002 Num hooks: 0 >>>=20 >>> Name: em1 Type: ether ID: 00000003 Num hooks: 2 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> upper em1bridge bridge 0000002a link1=20= =20=20=20=20=20=20=20=20=20 >>> lower em1bridge bridge 0000002a link0=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: ngeth0 Type: eiface ID: 00000035 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> ether em1bridge bridge 0000002a link2=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: ngctl2800 Type: socket ID: 00000036 Num hooks: 0 >>>=20 >>> Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link2 ngeth0 eiface 00000035 ether=20= =20=20=20=20=20=20=20=20=20 >>> link1 em1 ether 00000003 upper=20= =20=20=20=20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: msk0 Type: ether ID: 00000001 Num hooks: 0 >>>=20 >>> The list of hooks for our bridge (em1bridge) is growing, and now we see= a new node (ngeth0) with one hook into that bridge. >>>=20 >>> =3D=3D=3D >>>=20 >>> ASIDE: If you wanted to script this=85 here's how you can test for an u= nused link: >>>=20 >>> Right now, we have link0, link1, and link2 for the bridge. If a link ex= ists for a bridge, the following command will return some info about the li= nk and return success (whereas if the link does not exist, the command will= return an error and exit with error-status): >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 0 >>> Rec'd response "getstats" (4) from "[2a]:": >>> Args: >>> {} >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 1 >>> Rec'd response "getstats" (4) from "[2a]:": >>> Args: >>> {} >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 2 >>> Rec'd response "getstats" (4) from "[2a]:": >>> Args: >>> {} >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 3 >>> ngctl: send msg: Socket is not connected >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 4 >>> ngctl: send msg: Socket is not connected >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl msg em1bridge: getstats 5 >>> ngctl: send msg: Socket is not connected >>>=20 >>> As you can see from the above output=85 we get errors for link3, link4,= and link5, because they don't exist. Naturally, testing $? exit status aft= er each of these commands would show how this can be scripted (HINT: throw = stdout/stderr to /dev/null and test $?). >>>=20 >>> =3D=3D=3D >>>=20 >>> At this point=85 you say "ifconfig": >>>=20 >>> dteske@oos0a.lbxrich.vicor.com ~ $ ifconfig >>> msk0: flags=3D8802 metric 0 mtu 1500 >>> options=3Dc011a >>> ether xx:xx:xx:xx:xx:xx >>> media: Ethernet autoselect >>> em0: flags=3D8843 metric 0 mtu = 1500 >>> options=3D209b >>> ether xx:xx:xx:xx:xx:xx >>> inet xx.xx.xx.xx netmask 0xffffff80 broadcast xx.xx.xx.xx >>> media: Ethernet autoselect (1000baseT ) >>> status: active >>> em1: flags=3D8943 metri= c 0 mtu 1500 >>> options=3D209b >>> ether xx:xx:xx:xx:xx:xx >>> media: Ethernet autoselect >>> status: no carrier >>> ipfw0: flags=3D8801 metric 0 mtu 65536 >>> lo0: flags=3D8049 metric 0 mtu 16384 >>> options=3D3 >>> inet 127.0.0.1 netmask 0xff000000=20 >>> ngeth0: flags=3D8802 metric 0 mtu 1500 >>> ether 00:00:00:00:00:00 >>>=20 >>> =3D=3D=3D >>>=20 >>> Ok, there are two problems with the network interface. >>>=20 >>> 1. It has a NULL MAC address (00:00:00:00:00:00). Good luck communicati= ng on the Internet (remember, we disabled setautosrc -- we intend to make u= p a MAC address that is unique). >>>=20 >>> 2. The name leaves something to be desired (if we're going to use this = with a vimage jail, it would be nice if the interface had the jail name in = it, so that when you do an "ngctl ls -l" or an "ngctl dot" =85 you're going= to see the jail name so it becomes clear which jails are hooked to which P= HY's through which bridges). >>>=20 >>> =3D=3D=3D >>>=20 >>> Let's tackle the easier one first=85 let's rename this new interface. >>>=20 >>> You and I already know that this interface that we want to rename is "n= geth0"=85 but you can actually extract the name from the link in the bridge. >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl show -n em1bridge:link2 >>> Name: ngeth0 Type: eiface ID: 00000035 Num hooks: 1 >>>=20 >>>=20 >>> First, we rename it in netgraph (this does not affect the output of ifc= onfig -- and again, we do this to make "ngctl ls -l" and "ngctl dot" more p= alatable): >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl name em1bridge:link2 ng0_myj= ail >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l=20=20=20 >>> There are 6 total nodes: >>> Name: em0 Type: ether ID: 00000002 Num hooks: 0 >>>=20 >>> Name: em1 Type: ether ID: 00000003 Num hooks: 2 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> upper em1bridge bridge 0000002a link1=20= =20=20=20=20=20=20=20=20=20 >>> lower em1bridge bridge 0000002a link0=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: ngctl2843 Type: socket ID: 00000046 Num hooks: 0 >>>=20 >>> Name: ng0_myjail Type: eiface ID: 00000035 Num hooks: 1 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> ether em1bridge bridge 0000002a link2=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 >>> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >>> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >>> link2 ng0_myjail eiface 00000035 ether=20= =20=20=20=20=20=20=20=20=20 >>> link1 em1 ether 00000003 upper=20= =20=20=20=20=20=20=20=20=20 >>> link0 em1 ether 00000003 lower=20= =20=20=20=20=20=20=20=20=20 >>>=20 >>> Name: msk0 Type: ether ID: 00000001 Num hooks: 0 >>>=20 >>>=20 >>> Looking good. However, ifconfig hasn't changed=85 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ ifconfig >>> ... >>> ngeth0: flags=3D8802 metric 0 mtu 1500 >>> ether 00:00:00:00:00:00 >>>=20 >>> We want to rename the interface with ifconfig for a different reason. >>>=20 >>> We renamed the interface with netgraph earlier so that netgraph outputs= would be nice and easy to digest. >>>=20 >>> This time, we rename with ifconfig so that we can layer jails onto the = same rootdir. >>>=20 >>> The naming convention (which is the same naming convention I use for re= naming on the netgraph side) is: >>>=20 >>> ng#_name >>>=20 >>> The # always starts at zero for each jail where "name" is the name of t= he jail. >>>=20 >>> Again=85 I use this scheme so that I can layer jails onto the same root= -dir; /etc/rc.conf is then populated with things like: >>>=20 >>> ifconfig_ng0_myjail=3D... >>> ifconfig_ng0_myrouter=3D... >>> ifconfig_ng1_myrouter=3D... >>> ifconfig_ng0_anotherjail=3D... >>>=20 >>> So that when you say "service netif start" inside the vnet jail=85 it a= pplies the right settings. >>>=20 >>> So=85 we rename with ifconfig: >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ifconfig ngeth0 name ng0_myjail >>> dteske@scu0a.jbsd.vicor.com ~ $ ifconfig >>> ... >>> ng0_myjail: flags=3D8802 metric 0 mtu 1500 >>> ether 00:00:00:00:00:00 >>>=20 >>> =3D=3D=3D >>>=20 >>> We're almost ready to shove this interface into a jail (which we haven'= t created yet). >>>=20 >>> But=85 we come back to that NULL MAC address. >>>=20 >>> NOTE: Forming your own MAC address, or even coming up with your own for= mula should not be taken lightly. >>>=20 >>> Here's a formula I use (which is based on several RFC's for MAC address= formation): >>>=20 >>> NOTE: In this context, ${_bridge} is em1 and $LINKNUM is 2 >>>=20 >>> # Set the MAC address of the new interface >>> # using a sensible algorithm to prevent >>> # conflicts on the network. >>> # >>> # MAC LP:LL:LB:BB:BB:BB >>> # P 2, 6, A, or E but usually 2 >>> # NOTE: Indicates "privately administered= " MAC >>> # L ng_bridge(4) link number (1-65535) >>> # B Same as bridged interface >>> # >>> _bridge_ether=3D$( ifconfig ${_bridge} et= her | >>> awk '/ether/{print $2}' ) >>> _ether_devid=3D"${_bridge_ether#??:??:?}" >>> n=3D$LINKNUM >>> _quad=3D$(($n & 15)) >>> case "${_quad}" in >>> 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; >>> 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; >>> esac >>> _ether_devid=3D":${_quad}${_ether_devid}" >>> n=3D$(($n >> 4)) >>> _quad=3D$(($n & 15)) >>> case "${_quad}" in >>> 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; >>> 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; >>> esac >>> _ether_devid=3D"${_quad}${_ether_devid}" >>> n=3D$(($n >> 4)) >>> _quad=3D$(($n & 15)) >>> case "${_quad}" in >>> 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; >>> 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; >>> esac >>> _ether_devid=3D"2:${_quad}${_ether_devid}" >>> n=3D$(($n >> 4)) >>> _quad=3D$(($n & 15)) >>> case "${_quad}" in >>> 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; >>> 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; >>> esac >>> _ether_devid=3D"${_quad}${_ether_devid}" >>> n=3D$(($n >> 4)) >>>=20 >>> After which=85 ${_ether_devid} holds a properly formed MAC address tha= t can (in every case I've tested) "get out". >>>=20 >>> Here's what I do to set it: >>>=20 >>> ifconfig ng0_myjail ether "${_ether_devid}" >>>=20 >>> Here's an example of how the MAC address was translated from the physic= al adapter to the ng_eiface(4) interface: >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ ifconfig em1; ifconfig ng0_myjail >>> em1: flags=3D8943 metri= c 0 mtu 1500 >>> options=3D209b >>> ether 00:0e:0c:ab:1b:76 >>> media: Ethernet autoselect >>> status: no carrier >>> ng0_myjail: flags=3D8802 metric 0 mtu 1500 >>> ether 02:00:2c:ab:1b:76 >>>=20 >>> =3D=3D=3D >>>=20 >>> OK=85 we're now ready to shove that interface into a vimage jail. >>>=20 >>> But=85 >>>=20 >>> First we need a vimage jail. (this is not a tutorial on how to create, = manage, build, or do anything else with jails, vimage-jails, or vps-jails *= other* than give it a netgraph based interface) >>>=20 >>> I'm going to use my existing base machine as a fake jail (by pointing m= y jail's rootdir at "/"). >>>=20 >>> NOTE: Certain sysctl's have to be set appropriately before you fire up = the jail to make this vimage jail able to do "more" on the net. >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo sysctl security.jail.set_hostname_= allowed=3D1 security.jail.sysvipc_allowed=3D1 security.jail.socket_unixipro= ute_only=3D1 >>> security.jail.set_hostname_allowed: 1 -> 1 >>> security.jail.sysvipc_allowed: 1 -> 1 >>> security.jail.socket_unixiproute_only: 0 -> 1 >>>=20 >>> NOTE: Unless you intend to reboot to restore the defaults later=85 you = might want to take down those previous values for restoration *after* we fi= re up the "vimage" jail. >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo jail -i -c vnet name=3Dmyjail host= .hostname=3Dmyjail path=3D/ persist >>> 1 >>> dteske@scu0a.jbsd.vicor.com ~ $ jls >>> JID IP Address Hostname Path >>> 1 - myjail / >>>=20 >>> OK=85 we have a running jail (with the vnet property, making it a "vima= ge" jail -- which can accept network interfaces). >>>=20 >>> =3D=3D=3D >>>=20 >>> Right now our jail has no network interfaces (well, it has an unconfigu= red lo0). >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo jexec myjail ifconfig >>> lo0: flags=3D8008 metric 0 mtu 16384 >>> options=3D3 >>>=20 >>> So let's pass the netgraph created interface into the jail=85 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo ifconfig ng0_myjail vnet 1 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo jexec myjail ifconfig >>> lo0: flags=3D8008 metric 0 mtu 16384 >>> options=3D3 >>> ng0_myjail: flags=3D8802 metric 0 mtu 1500 >>> ether 02:00:2c:ab:1b:76 >>>=20 >>> Sweet! >>>=20 >>> =3D=3D=3D >>>=20 >>> Almost there=85 >>>=20 >>> Let's go into /etc/rc.conf, give it an IP, and start the network=85 >>>=20 >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo sysrc ifconfig_ng0_myjail=3D"inet = 192.168.1.1 netmask 255.255.255.0" >>> /etc/rc.conf: ifconfig_ng0_myjail: -> inet 192.168.1.1 netmask 255.255= .255.0 >>> dteske@scu0a.jbsd.vicor.com ~ $ grep ng0 /etc/rc.conf >>> ifconfig_ng0_myjail=3D"inet 192.168.1.1 netmask 255.255.255.0" >>> dteske@scu0a.jbsd.vicor.com ~ $ sudo jexec myjail service netif start >>> Starting Network: lo0 ng0_myjail. >>> lo0: flags=3D8049 metric 0 mtu 16384 >>> options=3D3 >>> inet 127.0.0.1 netmask 0xff000000=20 >>> ng0_myjail: flags=3D8843 metric= 0 mtu 1500 >>> ether 02:00:2c:ab:1b:76 >>> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 >>>=20 >>> Now we're cookin' with gasoline! >>>=20 >>> =3D=3D=3D >>>=20 >>> Optionally go configure your base machine with an IP and have fun. >>=20 >> A quick conclusion=85 >>=20 >> Because we've built this all on top of netgraph=85 we can =85 graph it. >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl dot | dot -Tsvg -o netgraph-s= cu0a.svg >>=20 >> I then uploaded the file to the web and here it is: >>=20 >> https://urldefense.proofpoint.com/v1/url?u=3Dhttp://druidbsd.sourceforge= .net/download/netgraph-scu0a.svg&k=3D%2FbkpAUdJWZuiTILCq%2FFnQg%3D%3D%0A&r= =3DMrjs6vR4%2Faj2Ns9%2FssHJjg%3D%3D%0A&m=3Dxe0XNgnKBiT9v8HzxwWwnNMOVN3YdEHm= TsIZfFoQA9Y%3D%0A&s=3D0a6ee990c4871ecc2a5b69879d11f65798fe70d8948fb9d4592bd= 915b1fd0199 >>=20 >> You should compare this directly to the output of "ngctl ls -l": >>=20 >> dteske@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l >> There are 6 total nodes: >> Name: em0 Type: ether ID: 00000002 Num hooks: 0 >>=20 >> Name: em1 Type: ether ID: 00000003 Num hooks: 2 >> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >> upper em1bridge bridge 0000002a link1=20=20= =20=20=20=20=20=20=20=20 >> lower em1bridge bridge 0000002a link0=20=20= =20=20=20=20=20=20=20=20 >>=20 >> Name: ng0_myjail Type: eiface ID: 00000035 Num hooks: 1 >> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >> ether em1bridge bridge 0000002a link2=20=20= =20=20=20=20=20=20=20=20 >>=20 >> Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 >> Local hook Peer name Peer type Peer ID Peer hook= =20=20=20=20=20=20 >> ---------- --------- --------- ------- ---------= =20=20=20=20=20=20 >> link2 ng0_myjail eiface 00000035 ether=20=20= =20=20=20=20=20=20=20=20 >> link1 em1 ether 00000003 upper=20=20= =20=20=20=20=20=20=20=20 >> link0 em1 ether 00000003 lower=20=20= =20=20=20=20=20=20=20=20 >>=20 >> Name: ngctl8676 Type: socket ID: 00000049 Num hooks: 0 >>=20 >> Name: msk0 Type: ether ID: 00000001 Num hooks: 0 >>=20 >> You'll notice that when you graph the layout with "ngctl dot", the nodes= are rendered as boxes displaying their "Peer Name" up top, their "Peer Typ= e" in the lower-left, and their "Peer ID" in the bottom-right. >>=20 >> The edges from one node to another contains two octagons. These are the = "Local hook" and "Peer hook". >> --=20 >> Devin >>=20 >> _____________ >> The information contained in this message is proprietary and/or confiden= tial. If you are not the intended recipient, please: (i) delete the message= and all copies; (ii) do not disclose, distribute or use the message in any= manner; and (iii) notify the sender immediately. In addition, please be aw= are that any message addressed to our domain is subject to archiving and re= view by persons other than the intended recipient. Thank you. >=20 > Hello Devin, >=20 > If you live in the same city I will invite you for a couple of beer (I ha= ve to pay of course!) - I live in the Netherlands then let me know -=20 >=20 If I ever make it out there, I'll certainly shoot you an e-mail. > I followed your tutorial with the expected result: I can ping the em1 int= erface but I still have the same problems of before regarding external to i= nternal networks communication. >=20 > Please note that on my original host (no jail) the default gateway is 192= .168.1.254, that's important for what I am going to do. >=20 > I added a default route like : >=20 > route add default -interface ng0_myjail=20 >=20 Why not: jexec myjail route add -net default 192.168.1.254 ?? --=20 Devin > and then I try to : >=20 > jexec myjail ping 8.8.8.8 >=20 > I analyzed the wireshark capture and I can see that an ARP request for th= e 192.168.254 (with the MAC address of our virtual NIC as source, as expect= ed) go out my freebsd env - which is on a virtualbox - and it gets the answ= er but when I read the ARP table of the jail I can see it as incomplete. It= seems that packet going out but the answer is not received and it is confi= rmed when I try to sniff with tcpdump on my FREEBSD, I can't see any ARP re= quest going in both from my physical and virtual NIC, the same if I try : >=20 > ping 192.168.1.254 >=20 > Then I can see ping reply coming from wireshark but not from tcpdump on F= reeBDS. >=20 > Wireshark is attached on the host machine on the physical interface where= VB is attached in Bridged Mode, my original physical interface on FreeBSD = took the IP address from DHCP without problem then the problem is related t= o the jail. >=20 > do I try do accomplish a task which is not possible with JAIL or somethin= g is wrong in my configuration or worst, in my brain :P ? >=20 > Thanks in advance, > Pietro. >=20 >=20 >=20 >=20 >=20 >=20 _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 17:05:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4F177441 for ; Mon, 3 Jun 2013 17:05:25 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6571ABB for ; Mon, 3 Jun 2013 17:05:24 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id 2DFDC65E8AA for ; Mon, 3 Jun 2013 19:05:16 +0200 (CEST) Received: from soth.ventu (adsl-ull-194-186.41-151.net24.it [151.41.186.194]) (authenticated bits=0) by ns2.biolchim.it (8.14.7/8.14.7) with ESMTP id r53H5Bvv072374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 3 Jun 2013 19:05:13 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-194-186.41-151.net24.it [151.41.186.194] claimed to be soth.ventu Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.7/8.14.5) with ESMTP id r53H51td010438; Mon, 3 Jun 2013 19:05:01 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <51ACCCBD.5030305@netfence.it> Date: Mon, 03 Jun 2013 19:05:01 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130518 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Stop SMTP attack with pam_abl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Mon, 03 Jun 2013 19:05:13 +0200 (CEST) X-Spam-Score: 5.177 (*****) BAYES_00, RCVD_IN_BRBL_LASTEXT, RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC Cc: prehor@gmail.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, 03 Jun 2013 17:05:25 -0000 Hello. I have different sendmail based servers deployed and all of them are, more or less frequently, subject to dictionary attacks. So I looked for some solution to stop them and stumbled upon pam_abl. However it does not seem to do its job; in the logs I have: > pam_abl[2398]: /usr/local/etc/pam_abl.conf: host_db=/var/db/pam_abl/hosts.db > pam_abl[2398]: /usr/local/etc/pam_abl.conf: host_purge=4h > pam_abl[2398]: /usr/local/etc/pam_abl.conf: host_rule=*:10/1h,30/1d > pam_abl[2398]: PAM_RHOST is NULL > pam_abl[2398]: In cleanup, err is 00000000 That "PAM_RHOST is NULL" looks like the culprit to me... I searched a lot for deeper documentation but came up empty. Any hint? bye & Thanks av. P.S. I'm not sticking with pam_abl if a better solution exists... From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 18:21:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A110B8CB for ; Mon, 3 Jun 2013 18:21:13 +0000 (UTC) (envelope-from gezeala@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 326901E59 for ; Mon, 3 Jun 2013 18:21:13 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id eb20so28445lab.29 for ; Mon, 03 Jun 2013 11:21:12 -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=xrQFiCDQLXCPqZ6o6UxRmgmTNW28s1u06afj78WoeeI=; b=N1aXTeY3JE/VLfkDxzFFsnTNR41D63clbCsRmO8f595itWL1ZlvlI6OX5nhNm1zUjQ WcJNUH2cteoEpj3GgRAdySEGQJ/3p9iHiUk3r+/Ibcr9i4CK2+u6J53uw7fjH3cgbsU6 UPhCgVPNleJz2c7Opv9GQP/NeRb6PCdZccItofzJspWBDBSlSVvDje3eCtUIbvbUSjzM eFxpBGX5LaMrFCRUCktI7m6B9ttPDm45qsQkrkMFgkuiyASQNbK/EPAs/MEErwYzwp8e 84vlacTvjjKSCoEnYzo66ueO+0kBwHEeP8jeIyOyqYUDhKyeCtmNIE911ocqj6Xj/lng +dOw== X-Received: by 10.112.135.34 with SMTP id pp2mr11404977lbb.18.1370283672132; Mon, 03 Jun 2013 11:21:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.13.37 with HTTP; Mon, 3 Jun 2013 11:20:32 -0700 (PDT) In-Reply-To: <51AC7CD4.2050807@unsane.co.uk> References: <51ABAC4D.4040302@a1poweruser.com> <51AC7CD4.2050807@unsane.co.uk> From: =?ISO-8859-1?Q?Gezeala_M=2E_Bacu=F1o_II?= Date: Mon, 3 Jun 2013 11:20:32 -0700 Message-ID: Subject: Re: Max top end computer for Freebsd to run on To: Vincent Hoffman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Fbsd8 , 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, 03 Jun 2013 18:21:13 -0000 On Mon, Jun 3, 2013 at 4:24 AM, Vincent Hoffman wrote: > On 02/06/2013 21:34, Fbsd8 wrote: > > I'm a sub second speed freak. What is the max number of cpu's and > > memory size that Freebsd can handle? Can it handle 16 4ghz cpu's and > > 32gb of memory? I need a gaming server with some really big balls for > > hundreds of jails. Money is not a deciding factor here, horse power is. > > _______________________________________________ > > 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" > It'll certainly support it, the biggest server I FreeBSD on at the > moment is: > > root@parisnfsen:~ # head -20 /var/run/dmesg.boot > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-STABLE #4 r249837: Wed Apr 24 13:37:24 CEST 2013 > root@parisnfsen.nottellingyou.net:/usr/obj/usr/src/sys/PARISNFSEN > amd64 > gcc version 4.2.1 20070831 patched [FreeBSD] > CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz (2394.05-MHz > K8-class CPU) > Origin = "GenuineIntel" Id = 0x206c2 Family = 0x6 Model = 0x2c > Stepping = 2 > > > Features=0xbfebfbff > > > Features2=0x29ee3ff > AMD Features=0x2c100800 > AMD Features2=0x1 > TSC: P-state invariant, performance statistics > real memory = 34359738368 (32768 MB) > avail memory = 33090797568 (31557 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs > FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads > > as other people have said though, one big server is often not the best > answer, keep things like disk io and resiliency in mind. > This is a PowerEdge R410 seems to be pretty happy trundling along on > 9-STABLE > > Vince works fine with this: Copyright (c) 1992-2011 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011 root@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC amd64 CPU: Intel(R) Xeon(R) CPU E7- 8837 @ 2.67GHz (2666.81-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206f2 Family = 6 Model = 2f Stepping = 2 Features=0xbfebfbff Features2=0x29ee3ff AMD Features=0x2c100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 549755813888 (524288 MB) avail memory = 532166148096 (507513 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 64 CPUs FreeBSD/SMP: 8 package(s) x 8 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 .... cpu63 (AP): APIC ID: 242 From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 19:04:37 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 A3ED5FCD for ; Mon, 3 Jun 2013 19:04:37 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 13DC5105E for ; Mon, 3 Jun 2013 19:04:35 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r53J4Rh8000542; Mon, 3 Jun 2013 21:04:28 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <51ACE8BA.3060800@bananmonarki.se> Date: Mon, 03 Jun 2013 21:04:26 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130419 Thunderbird/17.0.5 MIME-Version: 1.0 To: s m Subject: Re: define more partitions in freebsd References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 19:04:37 -0000 On 2013-06-01 08:40, s m wrote: > hello all > > i want to install freebsd8.2 on my system. for some reasons, i need > partitions more than 6. my freebsd just allow me to define partitions > from a to h, not any more. > > i checked FreeBSD handbook, but it doesn't say anything about defining > more partitions. > > my question is: how can i define more partitions on my freebsd? (for > example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > > any comments or hints are appreciated. > SAM Put another disk in your machine. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 20:13: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 9FFDAED3 for ; Mon, 3 Jun 2013 20:13:10 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-bk0-x22e.google.com (mail-bk0-x22e.google.com [IPv6:2a00:1450:4008:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3D31346 for ; Mon, 3 Jun 2013 20:13:10 +0000 (UTC) Received: by mail-bk0-f46.google.com with SMTP id na10so2185955bkb.5 for ; Mon, 03 Jun 2013 13:13: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=yVXSAgR75a1wrUGDfVzpuX0p9KB+e2884P10uEYHci4=; b=sqRuZkAVkYU95siv8QmtpOP50nWuLGPNrRKL/J/+jSpXUmWEt8/qZJPfHSGxBvpQNt laGP9ONNo0vscmTS4FYu4du5naQReEfCMwvoNsvUGgFHgx9vgDcd7YVF+6q4g9INV3cI +XCoRwDvjOy02H0qJE/CgQIulOFPfG0g1eR552ud5VSTAZCgbZ5fXHNgqHybkFfEyf4O zsZAERbIVgxMfoLsFA/jr80ffgA9xJ+IJYkvaaJfrMLeyb3U6sDVGJewP6UYgGzRG1sv 2pP4uv0cb0fjxQIPl8wBc6wrjjK1OlTQk6c4xpw/6islyhu5xeOUk+JcIMQ/Xkdq/Qhw F+LQ== MIME-Version: 1.0 X-Received: by 10.204.166.133 with SMTP id m5mr7127205bky.78.1370290389252; Mon, 03 Jun 2013 13:13:09 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Mon, 3 Jun 2013 13:13:09 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Mon, 3 Jun 2013 13:13:09 -0700 (PDT) In-Reply-To: <20130602185742.F9E5.AA011270@yahoo.com> References: <20130602185742.F9E5.AA011270@yahoo.com> Date: Mon, 3 Jun 2013 13:13:09 -0700 Message-ID: Subject: Re: Sound cards From: Waitman Gobble To: birdfund@yahoo.com 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, 03 Jun 2013 20:13:10 -0000 On Jun 2, 2013 3:57 PM, "mike miskulin" wrote: > > Hi all - I may be building a system which does not have any onboard > sounds thus need to find either a pci-e or usb solution which will work > with FreeBSD. I've combed newegg and have to say I never realized how > crappy the sound cards have become - that used to be a big thing back in > the day! > > Could any of you who have installed something of ->recent<- vintage > which worked well post the make/model? I just need something for basic > audio, nothing superduper. > > TIA > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" hi, i believe the market been more about mainstream-acceptable quality for cheaper and cheaper the past few years. most people use on board sound. not sure there will alot of new and exciting sound cards coming soon, its kind of at the limit of pcm. it will be totally very cool when sound cards do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think. i use a creative x-fi card pci-e, the blue one that runs about 50 bucks... on a FreeBSD system, it works pretty good with oss in base or you can try v4.2 in ports. asus xonar cards are excellent, they supposedly work in oss but i have not tried my xonar on a FreeBSD machine yet. if you run usb sound, i recommend getting an add-IN usb card, especially if you want to do some 48k recording. add a couple devices to your usb bus and you might notice some latency. Hope that helps. Waitman Gobble San Jose California USA From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 20:44:58 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 1E832B0E for ; Mon, 3 Jun 2013 20:44:58 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id B11711666 for ; Mon, 3 Jun 2013 20:44:57 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id e11so1105575bkh.39 for ; Mon, 03 Jun 2013 13:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m99yhJhCDqaWwnlcGk1i7DgSlEeJBzKo1dSm7Vhlm2k=; b=QasoGfoC+L5COYbEby4oIM4XD18OrFIoYocoST9xYoKnKcvXujBj5o8auTdL6X8y5m cPNXg2qlXvoIrJyFup3L8FPi1iMJLR6icTvNJf23Vq+FQ2lCpQiWHRfK7/AsibCOgmUP Vbsjrju9+xagYSq5dBuKywfEcHO1ZeasUCEZFjVnnjz9arjh4JYZFdMcNrcqOQZFfa/y c+2+PM1x43vqxCO8pnuLYgxdR69HNNjsl3u1ZCdipcSN5KNEj/XgonXQeC5quNJkz1zI iyXXTVjBOAVEFtK4DR4Gc8vuvg8Yxw/RiOQ/u7DluqL9ReE0zDXYtC1jOR7GctwwRUff MmBQ== MIME-Version: 1.0 X-Received: by 10.204.235.73 with SMTP id kf9mr5399823bkb.136.1370292296066; Mon, 03 Jun 2013 13:44:56 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Mon, 3 Jun 2013 13:44:55 -0700 (PDT) In-Reply-To: References: <20130602185742.F9E5.AA011270@yahoo.com> Date: Mon, 3 Jun 2013 13:44:55 -0700 Message-ID: Subject: Re: Sound cards From: Waitman Gobble To: birdfund@yahoo.com 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, 03 Jun 2013 20:44:58 -0000 On Mon, Jun 3, 2013 at 1:13 PM, Waitman Gobble wrote: > > On Jun 2, 2013 3:57 PM, "mike miskulin" wrote: >> >> Hi all - I may be building a system which does not have any onboard >> sounds thus need to find either a pci-e or usb solution which will work >> with FreeBSD. I've combed newegg and have to say I never realized how >> crappy the sound cards have become - that used to be a big thing back in >> the day! >> >> Could any of you who have installed something of ->recent<- vintage >> which worked well post the make/model? I just need something for basic >> audio, nothing superduper. >> >> TIA >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > hi, i believe the market been more about mainstream-acceptable quality for > cheaper and cheaper the past few years. most people use on board sound. > > not sure there will alot of new and exciting sound cards coming soon, its > kind of at the limit of pcm. it will be totally very cool when sound cards > do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think. > > i use a creative x-fi card pci-e, the blue one that runs about 50 bucks... > on a FreeBSD system, it works pretty good with oss in base or you can try > v4.2 in ports. > > asus xonar cards are excellent, they supposedly work in oss but i have not > tried my xonar on a FreeBSD machine yet. > > if you run usb sound, i recommend getting an add-IN usb card, especially if > you want to do some 48k recording. add a couple devices to your usb bus and > you might notice some latency. > > Hope that helps. > > Waitman Gobble > San Jose California USA > Sorry, I was typing my email on my phone before. yikes, grammar! Anyhow, this card works pretty good on my FreeBSD system: http://www.newegg.com/Product/Product.aspx?Item=N82E16829102017 Note: if you want 'more' than 16bit stereo sound, ie multiple 'surround sound' channels, 32(24) bit, 96Khz recording - you have to do a little code hacking. That card also has an ac3 decoder, so I think you can dump ac3 data to it, but i haven't tried that yet. 'one of these weekends' i'll get to it. :) -- Waitman Gobble San Jose California USA 510-830-7975 From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 22:25:55 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 19ED2B43 for ; Mon, 3 Jun 2013 22:25:55 +0000 (UTC) (envelope-from lkchen@k-state.edu) Received: from ksu-out.merit.edu (ksu-out.merit.edu [207.75.117.133]) by mx1.freebsd.org (Postfix) with ESMTP id DACF51BCB for ; Mon, 3 Jun 2013 22:25:54 +0000 (UTC) X-Merit-ExtLoop1: 1 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgQFACsXrVHPS3TT/2dsb2JhbABWAxaCczCDPLxUFnSCIwEBAQMBAQEBICsgCwUHAg0aAg0ZAh0MAQkmDgcEARoCBIdmBgyqQYl3iBYEgSKMPxCBSgWCLoEUA5R6g22QF4MrUoEDNg X-IronPort-AV: E=Sophos;i="4.87,795,1363147200"; d="scan'208";a="223874538" X-MERIT-SOURCE: KSU Received: from ksu-sfpop-mailstore02.merit.edu ([207.75.116.211]) by sfpop-ironport07.merit.edu with ESMTP; 03 Jun 2013 18:25:48 -0400 Date: Mon, 3 Jun 2013 18:25:48 -0400 (EDT) From: "Lawrence K. Chen, P.Eng." To: vadims@libre.lv Message-ID: <823454234.22177113.1370298348163.JavaMail.root@k-state.edu> In-Reply-To: Subject: Re: cannot ftp using proxy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [129.130.0.181] X-Mailer: Zimbra 7.2.2_GA_2852 (ZimbraWebClient - GC27 ([unknown])/7.2.2_GA_2852) 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, 03 Jun 2013 22:25:55 -0000 Delving through the source code...it appears that it only uses the ftp_proxy when given an ftp url something like: > ftp ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT Requesting ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT (via www-proxy.ksu.edu:8080) 100% |***********************************| 3795 26.38 KiB/s 00:00 ETA 3795 bytes retrieved in 00:00 (26.36 KiB/s) Only the fetch side uses proxy (triggered by there being a ':' in the argument.) The interactive ftp side doesn't. ----- Original Message ----- > Hello! > Still can't resolve problem with "ftp" utility. > > root@ona:/root # ftp ftp2.freebsd.org > ftp: Can't connect to `128.205.32.24:21': Operation timed out > ftp: Can't connect to `ftp2.freebsd.org:ftp' > ftp> > > "socksta -4" tells me that it is not even trying to connect to proxy > server, connecting directly instead: > > root@ona:/root # sockstat -4 > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN > ADDRESS > root ftp 54160 3 tcp4 10.10.15.26:50457 > 128.205.32.24:21 > > > root@ona:/root # uname -a > FreeBSD ona.iem.gov.lv 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon > Apr 29 18:27:25 UTC 2013 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > > root@ona:/root # env > TERM=screen > ftp_proxy=http://myproxy:8080 > http_proxy=http://myproxy:8080 > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > SHELL=/bin/csh > HOME=/root > USER=root > HOSTTYPE=FreeBSD > VENDOR=amd > OSTYPE=FreeBSD > MACHTYPE=x86_64 > SHLVL=1 > PWD=/root > LOGNAME=root > GROUP=wheel > HOST=ona > EDITOR=vi > PAGER=more > BLOCKSIZE=K > > Tried to google with no luck - no solution works for me. By the way, > "fetch" works as expected, I can fetch and install ports. > I would appreciate any help and/or any hints! > > Best regards! > VS. > _______________________________________________ > 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" > -- Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator For: Enterprise Server Technologies (EST) -- & SafeZone Ally Snail: Computing and Telecommunications Services (CTS) Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102 Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: lkchen@ksu.edu Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 02:18: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 BCED66C2 for ; Tue, 4 Jun 2013 02:18:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [IPv6:2607:f8b0:400e:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 98E9112F5 for ; Tue, 4 Jun 2013 02:18:58 +0000 (UTC) Received: by mail-pb0-f43.google.com with SMTP id ma3so6557209pbc.30 for ; Mon, 03 Jun 2013 19:18:58 -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=0hCmdtn/lTdAd4+H6t9NrETUcqfRk8xkm8Mid2w0BQ0=; b=FTidW91bdsh1Jf0mpyrgvst/4mqCk+pOlE1d0hPzbtaLqMyM0kKsH0i3eP1Azvo0xE ypmbjTFLZHqXmF/eoGoUSi/DE3L02/4lDAs/8d7vIGfoXj9jsr0wmPmxmBTytSabKMZY nX6zP+ldUTvgLNqlJ6yR06LV//TWGrASNb0a/BJtC9/41kIPwMrdnjN3Iu32rTmpl3rX JnP3edB5gI4jtRTUoKlJyHRzEV7I/HaGK8iOIjY6l4paQ3HlzITITwg76V6GobU5Pejg fwrEmjk4YtoDewNUgooWT0ecHQ1zL1VPmBZ+yeGfXkLYj8nJlgAI03POYXWwtO0C+FDs fY1Q== MIME-Version: 1.0 X-Received: by 10.66.26.231 with SMTP id o7mr15451855pag.207.1370312338460; Mon, 03 Jun 2013 19:18:58 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Mon, 3 Jun 2013 19:18:58 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> Date: Mon, 3 Jun 2013 21:18:58 -0500 Message-ID: Subject: Re: setup journaling for root partition From: Adam Vande More To: Michael Sierchio Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions , Arthur Chance , saeedeh motlagh 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, 04 Jun 2013 02:18:58 -0000 On Tue, May 21, 2013 at 9:46 AM, Michael Sierchio wrote: > AFAIK Softupdates journaling still breaks snapshot functionality - which > makes it unusable for me. I wouldn't assume that the O.P. doesn't want we > he's asking for. Fixed awhile ago unless there is new bug on that. Haven't tried. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/161674 -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 02:25: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 CD0E3804 for ; Tue, 4 Jun 2013 02:25:29 +0000 (UTC) (envelope-from asrofibcllamongan@yahoo.com) Received: from nm12-vm0.bullet.mail.ird.yahoo.com (nm12-vm0.bullet.mail.ird.yahoo.com [77.238.189.196]) by mx1.freebsd.org (Postfix) with SMTP id 2A403133C for ; Tue, 4 Jun 2013 02:25:28 +0000 (UTC) Received: from [77.238.189.53] by nm12.bullet.mail.ird.yahoo.com with NNFMP; 04 Jun 2013 02:25:27 -0000 Received: from [46.228.39.89] by tm6.bullet.mail.ird.yahoo.com with NNFMP; 04 Jun 2013 02:25:27 -0000 Received: from [127.0.0.1] by smtp126.mail.ir2.yahoo.com with NNFMP; 04 Jun 2013 02:25:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370312727; bh=DDd8FYk1pzxbloE3pKQnejZ8WyzmYITqYRPI+HL5EUc=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Rocket-Received:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:Subject; b=A2TLVSVfdOZ2p52KWG9GE40//8Kk0sqzqWF3KpBd6QMhY4iGuNeCtw/jcTK7124ney+OhfGpi4qpFmbx34IwoRcaJjJP1WBsgkoaxH3/7C3LNEuAoQfnkWwTAub+Ah0wVTirzyac0mEoBAYiuKigqJcXlkmHums3DEITvDVC61Y= X-Yahoo-Newman-Id: 775145.52986.bm@smtp126.mail.ir2.yahoo.com Message-ID: <775145.52986.bm@smtp126.mail.ir2.yahoo.com> Date: Tue, 4 Jun 2013 02:25:27 +0000 (UTC) X-Rocket-Received: from jgacidjl (asrofibcllamongan@189.137.136.14 with ) by smtp126.mail.ir2.yahoo.com with SMTP; 04 Jun 2013 02:25:27 +0000 UTC X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: kouqw30VM1mNI39I7w49lneFzecm9g9OW9AF58PWdNVZwlM Dqv5aTmuzSG3PCOn5XL7P2p7W8BRWwxL1q7Uo4mZnchqDVR844caZmi9yLtN mecm6dYyhwXyhLx.27UpG3tY1L6WHMGdcz80fheobzF8UjQxsYKgK89KEiip W9SqB5Maa40EamS4b24T4t7hQvPD61m8xSttB2_tJPlXHiTLu7qafPAFuIx. jl4A_xOAbb9m8e9g665PQrHBd3V4NJxSexWgFf3xTM4Oa5ZzBRf3aJExGZ4q lL8GeIvS7Ty3609CmX0yJRL4b8krZYdReqN2aee1NBHl09PXHioewxkPsVDP HlHsj3yNVZgMkoGJLaVKTNR99bi3MOdUu7BEq7MC6ei6B.LuuotR6roZcXKq sU0HfZw63cHOWEUp1aJIWhYBKen0jHykn_xFq.JSAfRVt8ORcBCfo3u1KlnG NmQ_w8dK27tJkvQOb_bg0nlBkKd8egMYBg8SKpCrFPRhwAJZSkZEjKNDBPxJ gCQ33tQNuZkg2RFtXjcj6k4qEvFel09pDkN0v7KbC X-Yahoo-SMTP: jvrSwFOswBCeKWj_XwQiHGNPOD7Fl7xrZayV_hmU From: asrofibcllamongan@yahoo.com To: , , Subject: RE: 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, 04 Jun 2013 02:25:29 -0000 veronique%20MASSON734 http://gest.equitation.perso.neuf.fr/w/94Tom%20Thorold846 Wed, 5 Jun 2013 6:22:37 From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 03:24: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 0FC7F62D for ; Tue, 4 Jun 2013 03:24:15 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id E20B017CC for ; Tue, 4 Jun 2013 03:24:14 +0000 (UTC) Received: from mbook.westell.com ([50.123.213.115]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r542vF5n052246 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 3 Jun 2013 19:57:17 -0700 (PDT) (envelope-from bc979@lafn.org) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: System Calls that do DNS Message-Id: Date: Mon, 3 Jun 2013 19:57:07 -0700 To: freebsd-questions Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean 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, 04 Jun 2013 03:24:15 -0000 I have an unusual situation. A program is doing a DNS lookup and often = the IP address has no reverse DNS entries. As a result the program = hangs for several timeouts. The call is not being made directly in its = code, but is occurring in a system call. There are no specific calls to = DNS, its something else doing it. I have been trying to track down = which system call is doing it, but without success so far. I have tried = syslog calls around each of the system calls I thought might be the = culprit, but my guessing is not very good. How can I identify the = system call that is calling DNS? If I can find it, I hopefully can find = another way to do whatever it does that does not involve a reverse DNS = lookup. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 03:29: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 1DB1C725 for ; Tue, 4 Jun 2013 03:29:44 +0000 (UTC) (envelope-from dacoder@dcoder.net) Received: from ns0.dcoder.net (ns3.dcoder.net [128.177.28.124]) by mx1.freebsd.org (Postfix) with ESMTP id 00162180F for ; Tue, 4 Jun 2013 03:29:43 +0000 (UTC) Received: by ns0.dcoder.net (Postfix, from userid 1001) id 4BD525DB0F; Mon, 3 Jun 2013 23:29:43 -0400 (EDT) Date: Mon, 3 Jun 2013 23:29:43 -0400 From: david coder To: freebsd-questions@freebsd.org Subject: chromium freezes 8.3 system Message-ID: <20130604032943.GB4489@mail3.dcoder.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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, 04 Jun 2013 03:29:44 -0000 chromium often freezes my 8.4-stable, necessitating a powercycle. is this a configuration issue? here's what i get w/make showconfig: ===> The following configuration options are available for chromium-27.0.1453.81: CLANG=on: Build Chromium with Clang instead of GCC 4.6+ CODECS=on: Compile and enable patented codecs like H.264 DEBUG=off: Install debug symbols GCONF=on: GConf configuration backend support PULSEAUDIO=off: PulseAudio sound server support thx for any help you can give me. david coder From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 03:32:34 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 D971F961 for ; Tue, 4 Jun 2013 03:32:34 +0000 (UTC) (envelope-from dacoder@dcoder.net) Received: from ns0.dcoder.net (ns3.dcoder.net [128.177.28.124]) by mx1.freebsd.org (Postfix) with ESMTP id BDB3D1838 for ; Tue, 4 Jun 2013 03:32:34 +0000 (UTC) Received: by ns0.dcoder.net (Postfix, from userid 1001) id 982655DB0E; Mon, 3 Jun 2013 23:25:18 -0400 (EDT) Date: Mon, 3 Jun 2013 23:25:18 -0400 From: david coder To: freebsd-questions@freebsd.org Subject: chromium freezes system 8.3 Message-ID: <20130604032518.GA4489@mail3.dcoder.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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, 04 Jun 2013 03:32:34 -0000 chromium often freezes my 8.3 os, necessitating a powercycle. is this a configuration issue? here's what i get w/make showconfig: ===> The following configuration options are available for chromium-27.0.1453.81: CLANG=on: Build Chromium with Clang instead of GCC 4.6+ CODECS=on: Compile and enable patented codecs like H.264 DEBUG=off: Install debug symbols GCONF=on: GConf configuration backend support PULSEAUDIO=off: PulseAudio sound server support thx for any help you can give me. david coder From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 03:33: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 43996A09 for ; Tue, 4 Jun 2013 03:33:40 +0000 (UTC) (envelope-from dacoder@dcoder.net) Received: from ns0.dcoder.net (ns3.dcoder.net [128.177.28.124]) by mx1.freebsd.org (Postfix) with ESMTP id 271F4184F for ; Tue, 4 Jun 2013 03:33:39 +0000 (UTC) Received: by ns0.dcoder.net (Postfix, from userid 1001) id 6E86C5DB0C; Mon, 3 Jun 2013 23:33:39 -0400 (EDT) Date: Mon, 3 Jun 2013 23:33:39 -0400 From: david coder To: freebsd-questions@freebsd.org Subject: Re: chromium freezes 8.3 system Message-ID: <20130604033339.GC4489@mail3.dcoder.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20130604032943.GB4489@mail3.dcoder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20130604032943.GB4489@mail3.dcoder.net> User-Agent: Mutt/1.5.18 (2008-05-17) 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, 04 Jun 2013 03:33:40 -0000 correction: subject line should have read 8.4-stable system. here's the output of uname -a: FreeBSD anon 8.4-STABLE FreeBSD 8.4-STABLE #0: Mon Jun 3 03:15:35 UTC 2013 root@anon:/usr/obj/usr/src/sys/anon i386 +++ david coder [03/06/13 23:29 -0400]: > chromium often freezes my 8.4-stable, necessitating a powercycle. is this a > configuration issue? here's what i get w/make showconfig: > > ===> The following configuration options are available for > chromium-27.0.1453.81: > CLANG=on: Build Chromium with Clang instead of GCC 4.6+ > CODECS=on: Compile and enable patented codecs like H.264 > DEBUG=off: Install debug symbols > GCONF=on: GConf configuration backend support > PULSEAUDIO=off: PulseAudio sound server support > > thx for any help you can give me. > > david coder > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 03:39: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 3964CE1A for ; Tue, 4 Jun 2013 03:39:41 +0000 (UTC) (envelope-from me@staticsafe.ca) Received: from uriel.asininetech.com (uriel.asininetech.com [142.4.209.58]) by mx1.freebsd.org (Postfix) with ESMTP id 0E3E51897 for ; Tue, 4 Jun 2013 03:39:40 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by uriel.asininetech.com (Postfix) with ESMTP id D76E8E099E; Mon, 3 Jun 2013 23:39:33 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com D76E8E099E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1370317173; bh=1hnIdUxnvlDiiZZLIqocJ05Z8XQZavtExzBiSLQgx00=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fkpcyj8oJwujQcxUP2oBDhZPGyFEKufpemvpzmtVQoHah59lQPfZxgL+n/THk6XTQ 29drt5aDsXwPPq3cqbmBD+HW0+EXJBC0FjA78A1e/0yw+/Ns9s/2XUi3wI+0QRemog hPqtDbL2ymA0Kr54UkIxgaAMLuIV6xGOGdDtz2xs= Received: from uriel.asininetech.com ([127.0.0.1]) by localhost (uriel.asininetech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sPTpoIhYFvET; Mon, 3 Jun 2013 23:39:33 -0400 (EDT) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by uriel.asininetech.com (Postfix) with ESMTPSA id 0DC94E01A0; Mon, 3 Jun 2013 23:39:33 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com 0DC94E01A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1370317173; bh=1hnIdUxnvlDiiZZLIqocJ05Z8XQZavtExzBiSLQgx00=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=fkpcyj8oJwujQcxUP2oBDhZPGyFEKufpemvpzmtVQoHah59lQPfZxgL+n/THk6XTQ 29drt5aDsXwPPq3cqbmBD+HW0+EXJBC0FjA78A1e/0yw+/Ns9s/2XUi3wI+0QRemog hPqtDbL2ymA0Kr54UkIxgaAMLuIV6xGOGdDtz2xs= Date: Mon, 3 Jun 2013 23:39:31 -0400 From: staticsafe To: freebsd-questions@freebsd.org Subject: Re: System Calls that do DNS Message-ID: <20130604033930.GA10393@uriel.asininetech.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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, 04 Jun 2013 03:39:41 -0000 On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote: > I have an unusual situation. A program is doing a DNS lookup and often the IP address has no reverse DNS entries. As a result the program hangs for several timeouts. The call is not being made directly in its code, but is occurring in a system call. There are no specific calls to DNS, its something else doing it. I have been trying to track down which system call is doing it, but without success so far. I have tried syslog calls around each of the system calls I thought might be the culprit, but my guessing is not very good. How can I identify the system call that is calling DNS? If I can find it, I hopefully can find another way to do whatever it does that does not involve a reverse DNS lookup. > > Use truss: http://www.freebsd.org/cgi/man.cgi?query=truss The truss utility traces the system calls called by the specified process or program. -- staticsafe O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 05: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 75F3A4D1 for ; Tue, 4 Jun 2013 05:22:08 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 522F31BC3 for ; Tue, 4 Jun 2013 05:22:08 +0000 (UTC) Received: from mbook.westell.com ([50.123.213.115]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r545M4Tm055577 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 3 Jun 2013 22:22:06 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: System Calls that do DNS From: Doug Hardie In-Reply-To: <20130604033930.GA10393@uriel.asininetech.com> Date: Mon, 3 Jun 2013 22:21:55 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130604033930.GA10393@uriel.asininetech.com> To: staticsafe X-Mailer: Apple Mail (2.1503) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean 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, 04 Jun 2013 05:22:08 -0000 On 3 June 2013, at 20:39, staticsafe wrote: > On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote: >> I have an unusual situation. A program is doing a DNS lookup and = often the IP address has no reverse DNS entries. As a result the = program hangs for several timeouts. The call is not being made directly = in its code, but is occurring in a system call. There are no specific = calls to DNS, its something else doing it. I have been trying to track = down which system call is doing it, but without success so far. I have = tried syslog calls around each of the system calls I thought might be = the culprit, but my guessing is not very good. How can I identify the = system call that is calling DNS? If I can find it, I hopefully can find = another way to do whatever it does that does not involve a reverse DNS = lookup. >>=20 >>=20 >=20 > Use truss: > http://www.freebsd.org/cgi/man.cgi?query=3Dtruss >=20 > The truss utility traces the system calls called by the specified > process or program. > --=20 > staticsafe > O< ascii ribbon campaign - stop html mail - www.asciiribbon.org > Please don't top post - http://goo.gl/YrmAb > Don't CC me! I'm subscribed to whatever list I just posted on. >=20 Unfortunately truss does not show anything more than ktrace. I know = what is going out on the internet connection. Its a plain old reverse = DNS request. The question is what library module (probably not a system = call now that I think about it) is making that request. Interestingly = enough, adding the IP address with a dummy name in /etc/hosts causes the = reverse request to succeed and there are no time delays. So whatever = module it is, is not using bind. Bind doesn't check the hosts files as = far as I can tell.= From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 06:10: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 B4C54408 for ; Tue, 4 Jun 2013 06:10:23 +0000 (UTC) (envelope-from Lena@lena.kiev.ua) Received: from lena.kiev.ua (lena.kiev.ua [82.146.52.81]) by mx1.freebsd.org (Postfix) with ESMTP id 81C001D19 for ; Tue, 4 Jun 2013 06:10:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lena.kiev.ua; s=3; h=In-Reply-To:Content-Type:Mime-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=TdorGfZQnvby0CIymlTA3W124LuTxh30v4syJsYuEgI=; b=TfFPpLaIibxh7GTipWni0JvxzKWgNVdEp+Qt8Gt1ikI7Iizq4ksoqsl0GoP9/QM8rq7SppEtgY3ewVNurofBMgh83RadZCFbsk3DFwrKOJ6GFZ5YOykWmAohLTfsb2ENztFnr+pXUeDrj4w8HqgS4RpNxibEoDM/+P9XAzpZQWU=; Received: from ip-384c.rusanovka-net.kiev.ua ([94.244.56.76] helo=bedside.lena.kiev.ua) by lena.kiev.ua with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UjkRo-000DlN-3T; Tue, 04 Jun 2013 09:10:21 +0300 Received: from bedside.lena.kiev.ua (localhost.lena.kiev.ua [127.0.0.1]) by bedside.lena.kiev.ua (8.14.7/8.14.7) with ESMTP id r546A6OS001281; Tue, 4 Jun 2013 09:10:06 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Received: (from lena@localhost) by bedside.lena.kiev.ua (8.14.7/8.14.7/Submit) id r546A6MC001280; Tue, 4 Jun 2013 09:10:06 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Date: Tue, 4 Jun 2013 09:10:05 +0300 From: Lena@lena.kiev.ua To: freebsd-questions@freebsd.org Subject: Re: Stop SMTP attack with pam_abl Message-ID: <20130604061005.GA919@lena.kiev> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51ACCCBD.5030305@netfence.it> User-Agent: Mutt/1.4.2.3i 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, 04 Jun 2013 06:10:23 -0000 > I have different sendmail based servers deployed and all of them are, > more or less frequently, subject to dictionary attacks. > P.S. I'm not sticking with pam_abl if a better solution exists... In Exim this can be done without separate software, just with additions to config: https://github.com/Exim/exim/wiki/BlockCracking (this blocks both using stolen passwords and dictionary attacks). From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 06:12:55 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 E1A6C4FE for ; Tue, 4 Jun 2013 06:12:55 +0000 (UTC) (envelope-from vadims@libre.lv) Received: from mail.skynet.lv (mail.skynet.lv [195.244.128.84]) by mx1.freebsd.org (Postfix) with ESMTP id A4C581D38 for ; Tue, 4 Jun 2013 06:12:55 +0000 (UTC) Received: from mail.skynet.lv (localhost [127.0.0.1]) by mail.skynet.lv (Postfix) with ESMTP id 157BA37AB0; Tue, 4 Jun 2013 09:13:42 +0300 (EEST) Received: from vbsd (unknown [87.110.30.129]) by mail.skynet.lv (Postfix) with ESMTPSA id A16AC37AAF; Tue, 4 Jun 2013 09:13:41 +0300 (EEST) Date: Tue, 4 Jun 2013 09:12:47 +0300 (EEST) From: vadims@libre.lv To: "Lawrence K. Chen, P.Eng." Subject: Re: cannot ftp using proxy In-Reply-To: <823454234.22177113.1370298348163.JavaMail.root@k-state.edu> Message-ID: References: <823454234.22177113.1370298348163.JavaMail.root@k-state.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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, 04 Jun 2013 06:12:55 -0000 I found that environment variables was set trought /etc/login.conf, like this: root:\ :ignorenologin:\ :setenv=http_proxy=http\c//myproxy\c8080,ftp_proxy=http\c//myproxy\c8080:\ :tc=default: After cutting "setenv" part in login.conf and setting proxy in .cshrc, I can "ftp" using proxy. Thank you for help! VS. On Mon, 3 Jun 2013, Lawrence K. Chen, P.Eng. wrote: > Delving through the source code...it appears that it only uses the ftp_proxy when given an ftp url > > something like: > >> ftp ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT > Requesting ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT > (via www-proxy.ksu.edu:8080) > 100% |***********************************| 3795 26.38 KiB/s 00:00 ETA > 3795 bytes retrieved in 00:00 (26.36 KiB/s) > > Only the fetch side uses proxy (triggered by there being a ':' in the argument.) > > The interactive ftp side doesn't. > > > ----- Original Message ----- >> Hello! >> Still can't resolve problem with "ftp" utility. >> >> root@ona:/root # ftp ftp2.freebsd.org >> ftp: Can't connect to `128.205.32.24:21': Operation timed out >> ftp: Can't connect to `ftp2.freebsd.org:ftp' >> ftp> >> >> "socksta -4" tells me that it is not even trying to connect to proxy >> server, connecting directly instead: >> >> root@ona:/root # sockstat -4 >> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN >> ADDRESS >> root ftp 54160 3 tcp4 10.10.15.26:50457 >> 128.205.32.24:21 >> >> >> root@ona:/root # uname -a >> FreeBSD ona.iem.gov.lv 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon >> Apr 29 18:27:25 UTC 2013 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> >> root@ona:/root # env >> TERM=screen >> ftp_proxy=http://myproxy:8080 >> http_proxy=http://myproxy:8080 >> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin >> SHELL=/bin/csh >> HOME=/root >> USER=root >> HOSTTYPE=FreeBSD >> VENDOR=amd >> OSTYPE=FreeBSD >> MACHTYPE=x86_64 >> SHLVL=1 >> PWD=/root >> LOGNAME=root >> GROUP=wheel >> HOST=ona >> EDITOR=vi >> PAGER=more >> BLOCKSIZE=K >> >> Tried to google with no luck - no solution works for me. By the way, >> "fetch" works as expected, I can fetch and install ports. >> I would appreciate any help and/or any hints! >> >> Best regards! >> VS. >> _______________________________________________ >> 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" >> > > -- > Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator > For: Enterprise Server Technologies (EST) -- & SafeZone Ally > Snail: Computing and Telecommunications Services (CTS) > Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102 > Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: lkchen@ksu.edu > Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library > From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 11:15:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AECB362C for ; Tue, 4 Jun 2013 11:15:17 +0000 (UTC) (envelope-from asrofibcllamongan@yahoo.com) Received: from nm46-vm9.bullet.mail.bf1.yahoo.com (nm46-vm9.bullet.mail.bf1.yahoo.com [216.109.114.202]) by mx1.freebsd.org (Postfix) with ESMTP id 66CF71B26 for ; Tue, 4 Jun 2013 11:15:17 +0000 (UTC) Received: from [98.139.215.143] by nm46.bullet.mail.bf1.yahoo.com with NNFMP; 04 Jun 2013 11:15:11 -0000 Received: from [98.139.213.6] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 04 Jun 2013 11:15:11 -0000 Received: from [127.0.0.1] by smtp106.mail.bf1.yahoo.com with NNFMP; 04 Jun 2013 11:15:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370344511; bh=J/Hibm9xbos7l9YemviU1c4d5S5AcJ/LbyyxKRUPpNs=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Rocket-Received:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:Subject; b=U4THvXH5VEVJh+k7rA+WE3QTBDR638kPzzodO6pYloNpIhWMGZogNPLlRuU8y5jtUl3Y5r3hvvuhIHI79EG0gCGMrC2SNhBEFNBprzCw05ESGb0+zaLlJ/fWUBzfLR7aJytmnxyC2WSVYUMvX7VmWApb+Jew9llqED305bgrh3E= X-Yahoo-Newman-Id: 90902.45589.bm@smtp106.mail.bf1.yahoo.com Message-ID: <90902.45589.bm@smtp106.mail.bf1.yahoo.com> Date: Tue, 4 Jun 2013 04:15:11 -0700 (PDT) X-Rocket-Received: from oholavy (asrofibcllamongan@181.64.84.88 with ) by smtp106.mail.bf1.yahoo.com with SMTP; 04 Jun 2013 04:15:11 -0700 PDT X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Y6Sn4fYVM1mOtfLUddVXSmIsdjMikcCawWR0m3SQxB5mA2j N7LefNmAVaSFwBczuPL5pFAfXv9eH_7iH.OGyH7IB.iOD3EbDXkeVFPv9h5C vEAiL5SP3nU8ldzy7YEoP.ACO.hD40NgR8bT_C8UXohxryuj1WXXoS4Vfl6t A2RekaUuzg6a4ASjFDUh8tw3yp7a9WGM1VY.R3RyJzKru2fYV4KyJpdUtDXm tV6LSUd4m9Z1yo5Og9JhlNmwZ6c5fftOmw7O0MQCkU8Tyz8lU01huboxnsWr GOmR2mNfb.l3b6lf8JjOX04S.IbMR505kGy0NFajb4YPbUuJP1KpFxkxRQis GfBJ0.cuTjqS3yC.x6qQVLmkl0kN2ZOqwBuJZuPF4_.202T_L0oe60jkhW8B WgTWx9q8Ug09_zINJ3Qvvufb1VSFHwhmOlyE7wdoK18gPrqxIZh_5BVW19ad zOAxPm87GFGDyVAG6xGv4Q9FYQzTPycQGyT_WCDFP7Png8XG_qFUA5iOjqlK _vpXZQLP7sfTogZjU0FruwD1xiaIz0xogjMyxoCiJ X-Yahoo-SMTP: jvrSwFOswBCeKWj_XwQiHGNPOD7Fl7xrZayV_hmU From: asrofibcllamongan@yahoo.com To: , Subject: Fw: 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, 04 Jun 2013 11:15:17 -0000 Wow http://anisoftworks.com/iphone.html?uvigjvitac=732608&jketet=65454 From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 09:22: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 C6DBAB5; Tue, 4 Jun 2013 09:22:52 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123]) by mx1.freebsd.org (Postfix) with ESMTP id 539CE1463; Tue, 4 Jun 2013 09:22:46 +0000 (UTC) Received: from MTLCAS01.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUa2x5Wz95+hbRBQTxFrrl1iFkHSbU5BX@postini.com; Tue, 04 Jun 2013 09:22:48 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS01.mtl.com ([10.0.8.71]) with mapi id 14.03.0123.003; Tue, 4 Jun 2013 12:18:46 +0300 From: Alex Liptsin To: "freebsd-infiniband@freebsd.org" , "freebsd-net@freebsd.org" , "freebsd-questions@freebsd.org" Subject: How to compile ipoib module manually? Thread-Topic: How to compile ipoib module manually? Thread-Index: Ac5hBINaGaDVjqC1T4OcCXIOoLbpUQ== Date: Tue, 4 Jun 2013 09:18:46 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF6B412@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 04 Jun 2013 12:02:09 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Oded Shanoon , Meny Yossefi , Regev Lev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 09:22:52 -0000 Hi. I work with FreeBSD9.1 and Mellanox devices. The kernel was configured with OFED support but without IB support: MYKERNEL file: # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # # For more information on this file, please read the config(5) manual page, # and/or the handbook section on Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig= -config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: release/9.1.0/sys/amd64/conf/GENERIC 238090 2012-07-04 00:54:16= Z delphij $ cpu HAMMER include GENERIC ident MYKERNEL makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug= symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemptio= n options INET # InterNETworking options INET6 # IPv6 communications pr= otocols options SCTP # Stream Control Transmi= ssion Protocol options FFS # Berkeley Fast Filesy= stem options SOFTUPDATES # Enable FFS soft updates suppor= t options UFS_ACL # Support for a= ccess control lists options UFS_DIRHASH # Improve performance on big dir= ectories options UFS_GJOURNAL # Enable gjournal-base= d UFS journaling options MD_ROOT # MD is a potential= root device options NFSCL # New Network Filesystem = Client options NFSD # New Network Filesystem= Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NF= SCL options MSDOSFS # MSDOS Filesyste= m options CD9660 # ISO 9660 Fil= esystem options PROCFS # Process file= system (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=3D5000 # Delay (in ms) befo= re probing SCSI options KTRACE # ktrace(1) su= pport options STACK # stack(9) support options SYSVSHM # SYSV-style sha= red memory options SYSVMSG # SYSV-style mes= sage queues options SYSVSEM # SYSV-style sem= aphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time e= xtensions options PRINTF_BUFR_SIZE=3D128 # Prevent printf output b= eing interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks= for hwpmc(4) options AUDIT # Security event auditing options MAC # TrustedBSD MAC Framewor= k #options KDTRACE_FRAME # Ensure frames are compi= led in #options KDTRACE_HOOKS # Kernel DTrace hooks options INCLUDE_CONFIG_FILE # Include this file in kernel options KDB # Kernel debugger relate= d code options KDB_TRACE # Print a stack trace for a pa= nic # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcess= or Kernel # CPU frequency control device cpufreq # Bus support. device acpi device pci # Floppy drives device fdc # ATA controllers device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers options ATA_CAM # Handle legacy controllers w= ith CAM options ATA_STATIC_ID # Static device numbering device mvs # Marvell 88SX50XX/88SX60XX/88SX70= XX/SoC SATA device siis # SiliconImage SiI3124/SiI3132/S= iI3531 SATA # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devi= ces options AHC_REG_PRETTY_PRINT # Print register bitfields in= debug # output. Adds= ~128k to driver. device ahd # AHA39320/29320 and onboard AIC79= xx devices options AHD_REG_PRETTY_PRINT # Print register bitfields in = debug # output. Adds= ~215k to driver. device esp # AMD Am53C974 (Tekram DC-390(T)) device hptiop # Highpoint RocketRaid 3xxx series device isp # Qlogic family #device ispfw # Firmware for QLogic H= BAs- normally a module device mpt # LSI-Logic MPT-Fusion device mps # LSI-Logic MPT-Fusion 2 #device ncr # NCR/Symbios Logic device sym # NCR/Symbios Logic (newer chipset= s + those of `ncr') device trm # Tekram DC395U/UW/F DC315U adapte= rs device adv # Advansys SCSI adapters device adw # Advansys wide SCSI adapters device aic # Adaptec 15[012]x SCSI adapters,= AIC-6[23]60. device bt # Buslogic/Mylex MultiMaster SCS= I adapters device isci # Intel C600 SAS controller # ATA/SCSI peripherals device scbus # SCSI bus (required for ATA/SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/S= CSI access) device ses # Enclosure Services (SES and SAF= -TE) device ctl # CAM Target Layer # RAID controllers interfaced to the SCSI subsystem device amr # AMI MegaRAID device arcmsr # Areca SATA II RAID #XXX it is not 64-bit clean, -scottl #device asr # DPT SmartRAID V, VI = and Adaptec SCSI RAID device ciss # Compaq Smart RAID 5* device dpt # DPT Smartcache III, IV - See NO= TES for options device hptmv # Highpoint RocketRAID 182x device hptrr # Highpoint RocketRAID 17xx, 22xx,= 23xx, 25xx device iir # Intel Integrated RAID device ips # IBM (Adaptec) ServeRAID device mly # Mylex AcceleRAID/eXtremeRAID device twa # 3ware 9000 series PATA/SATA RAID device tws # LSI 3ware 9750 SATA+SAS 6Gb/s R= AID controller # RAID controllers device aac # Adaptec FSA RAID device aacp # SCSI passthrough for aac (require= s CAM) device ida # Compaq Smart RAID device mfi # LSI MegaRAID SAS device mlx # Mylex DAC960 family #XXX pointer/int warnings #device pst # Promise Supertrak SX= 6000 device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA # Add support for VESA BIOS Extensio= ns (VBE) device splash # Splash screen and screen saver su= pport # syscons is the default console driver, resembling an SCO console device sc options SC_PIXEL_MODE # add support for the raster text = mode device agp # support several AGP chipsets # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus # Serial (COM) ports device uart # Generic UART driver # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da device puc # Multi I/O cards and multi-channe= l UARTs # PCI Ethernet NICs. device bxe # Broadcom BCM57710/BCM57711/BCM57= 711E 10Gb Ethernet device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 Gigabit Ethernet = Family device igb # Intel PRO/1000 PCIE Server Giga= bit Family device ixgbe # Intel PRO/10GbE PCIE Ethernet Fam= ily device le # AMD Am7900 LANCE and Am79C9xx = PCnet device ti # Alteon Networks Tigon I/II gi= gabit Ethernet device txp # 3Com 3cR990 (``Typhoon'') device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs= ! device miibus # MII bus support device ae # Attansic/Atheros L2 FastEtherne= t device age # Attansic/Atheros L1 Gigabit Ethe= rnet device alc # Atheros AR8131/AR8132 Ethernet device ale # Atheros AR8121/AR8113/AR8114 Et= hernet device bce # Broadcom BCM5706/BCM5708 Gigabit= Ethernet device bfe # Broadcom BCM440x 10/100 Etherne= t device bge # Broadcom BCM570xx Gigabit Ethern= et device cas # Sun Cassini/Cassini+ and NS DP8= 3065 Saturn device dc # DEC/Intel 21143 and various wor= kalikes device et # Agere ET1310 10/100/Gigabit Et= hernet device fxp # Intel EtherExpress PRO/100B (82= 557, 82558) device gem # Sun GEM/Sun ERI/Apple GMAC device hme # Sun HME (Happy Meal Ethernet) device jme # JMicron JMC250 Gigabit/JMC260 Fa= st Ethernet device lge # Level 1 LXT1001 gigabit Etherne= t device msk # Marvell/SysKonnect Yukon II Giga= bit Ethernet device nfe # nVidia nForce MCP on-board Ethe= rnet device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-= board Ethernet Networking device pcn # AMD Am79C97x PCI 10/100 (precede= nce over 'le') device re # RealTek 8139C+/8169/8169S/8110= S device rl # RealTek 8129/8139 device sf # Adaptec AIC-6915 (``Starfire''= ) device sge # Silicon Integrated Systems SiS1= 90/191 device sis # Silicon Integrated Systems SiS= 900/SiS 7016 device sk # SysKonnect SK-984x & SK-982x g= igabit Ethernet device ste # Sundance ST201 (D-Link DFE-550T= X) device stge # Sundance/Tamarack TC9021 gigabit= Ethernet device tl # Texas Instruments ThunderLAN device tx # SMC EtherPower II (83c170 ``EP= IC'') device vge # VIA VT612x gigabit Ethernet device vr # VIA Rhine, Rhine II device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``C= yclone'') # ISA Ethernet NICs. pccard NICs included. device cs # Crystal Semiconductor CS89x0 N= IC # 'device ed' requires 'device miibus' device ed # NE[12]000, SMC Ultra, 3c503, DS= 8390 cards device ex # Intel EtherExpress Pro/10 and P= ro/10+ device ep # Etherlink III based cards device fe # Fujitsu MB8696x based cards device sn # SMC's 9000 series of Ethernet = chips device xe # Xircom pccard Ethernet # Wireless NIC cards device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's options IEEE80211_SUPPORT_MESH # enable 802.11s draft support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device an # Aironet 4500/4800 802.11 wirele= ss NICs. device ath # Atheros NIC's device ath_pci # Atheros pci/cardbus gl= ue device ath_hal # pci/cardbus chip suppo= rt options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descr= iptors device ath_rate_sample # SampleRate tx rate control for= ath #device bwi # Broadcom BCM430x/BCM4= 31x wireless NICs. #device bwn # Broadcom BCM43xx wirel= ess NICs. device ipw # Intel 2100 wireless NICs. device iwi # Intel 2200BG/2225BG/2915ABG wir= eless NICs. device iwn # Intel 4965/1000/5000/6000 wirele= ss NICs. device malo # Marvell Libertas wireless NICs. device mwl # Marvell 88W8363 802.11n wireless = NICs. device ral # Ralink Technology RT2500 wirel= ess NICs. device wi # WaveLAN/Intersil/Symbol 802.11 = wireless NICs. device wpi # Intel 3945ABG wireless NICs. # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device pty # BSD-style compatibility pseudo = ttys device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translat= ion) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0= ) device xhci # XHCI PCI->USB interface (USB 3.= 0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe d= evices (needs netgraph) device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbu= s and da device ums # Mouse device urio # Diamond Rio 500 MP3 player # USB Serial devices device u3g # USB-based 3G modems (Option, Hua= wei, Sierra) device uark # Technologies ARK3116 based seria= l adapters device ubsa # Belkin F5U103 and compatible ser= ial adapters device uftdi # For FTDI usb serial adapters device uipaq # Some WinCE based devices device uplcom # Prolific PL-2303 serial= adapters device uslcom # SI Labs CP2101/CP2102 serial adapt= ers device uvisor # Visor and Palm devices device uvscom # USB serial support for = DDI pocket's PHS # USB Ethernet, requires miibus device aue # ADMtek USB Ethernet device axe # ASIX Electronics USB Ethernet device cdce # Generic USB over Ethernet device cue # CATC USB Ethernet device kue # Kawasaki LSI USB Ethernet device rue # RealTek RTL8150 USB Ethernet device udav # Davicom DM9601E USB # USB Wireless device rum # Ralink Technology RT2501USB wirel= ess NICs device run # Ralink Technology RT2700/RT2800= /RT3000 NICs. device uath # Atheros AR5523 wireless NICs device upgt # Conexant/Intersil PrismGT wirele= ss NICs. device ural # Ralink Technology RT2500USB wir= eless NICs device urtw # Realtek RTL8187B/L wireless NICs device zyd # ZyDAS zd1211/zd1211b wireless N= ICs # FireWire support device firewire # FireWire bus code # sbp(4) works for some systems but causes boot failure on others #device sbp # SCSI over FireWire (= Requires scbus and da) device fwe # Ethernet over FireWire (non-stan= dard!) device fwip # IP over FireWire (RFC 2734,3146) device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons # Sound support device sound # Generic sound driver (required) device snd_cmi # CMedia CMI8338/CMI8738 device snd_csa # Crystal Semiconductor C= S461x/428x device snd_emu10kx # Creative SoundBlaster Live! and Audigy device snd_es137x # Ensoniq AudioPCI ES137x device snd_hda # Intel High Definition A= udio device snd_ich # Intel, NVidia and othe= r ICH AC'97 Audio device snd_uaudio # USB Audio device snd_via8233 # VIA VT8233x Audio # Mellanox and IB support options OFED # Infiniband protocol options OFED_DEBUG_INIT options SDP # Sockets Direct Protocol for infiniband options SDP_DEBUG # options IPOIB_DEBUG # options IPOIB_CM # Use connect mode ipoib device mthca # Infinihost cards # device mlx4ib # ConnectX Infiniband support #device mlxen # ConnectX Ethernet support # device ipoib # IP over IB devices I commented on that lines, because I want to compile and load that modules = manually. I had succeed to compile and load mlx4, mlx4ib and mlxen from /sys/modules: [root@h-qa-033 mlxen]# kldstat Id Refs Address Size Name 1 14 0xffffffff80200000 13acbd8 kernel 2 1 0xffffffff81612000 21e5 if_mos.ko 3 3 0xffffffff81615000 124eb mlx4.ko 4 1 0xffffffff81628000 e225 mlx4ib.ko 5 1 0xffffffff81637000 ec60 mlxen.ko The problem is that IPOIB module is missing in /sys/modules. 1. Where can I find it? 2. How can I compile ipoib support? Regards, Alex Liptsin Software Quality Assurance Engineer | Mellanox Technologies Ltd. Office: +972 (74) 7236141 Mobile: +972(54) 7833986 Fax: +972(74) 7236161 Email: alexl@mellanox.com Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Isr= ael From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 12:08: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 9785166C for ; Tue, 4 Jun 2013 12:08:20 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 860181DD3 for ; Tue, 4 Jun 2013 12:08:20 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 4 Jun 2013 05:08:15 -0700 Message-ID: <51ADD8AF.5010102@a1poweruser.com> Date: Tue, 04 Jun 2013 08:08:15 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Subject: why is ports web page so far out of date Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Jun 2013 12:08:15.0842 (UTC) FILETIME=[3189DC20:01CE611C] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*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: Tue, 04 Jun 2013 12:08:20 -0000 I can not get current version of the ports system. The ports web page http://www.freebsd.org/ports/ is almost 2 years out of date. Says the port I am interested in is at 1.7 version when just 2 weeks ago it was at 2.2. Portsnap is also messed up showing the 1.7 version. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 14:20:06 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 8370899A for ; Tue, 4 Jun 2013 14:20:06 +0000 (UTC) (envelope-from feld@feld.me) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 573D015D7 for ; Tue, 4 Jun 2013 14:20:01 +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 7ADFB208AA for ; Tue, 4 Jun 2013 10:20:00 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 04 Jun 2013 10:20:00 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=feld.me; h= content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to; s= mesmtp; bh=ZpJzsfoLo8RUiqSva1JnZZoNmH0=; b=bV8jrWixXF7PkfaRB2geK 37ipsXvEXXj8Hk3YmYeh9aI3lS7rlpeMmWpaOM9CP68NcNbm7svAmPNombTkhZaN JzRKI9sSWCr05kUNshKK+iSMvbxPtq4ChgNY0j+teZHY0JIk/NhWY5Uf7F7pxS/n +UqIEIpvQjjgUB546AD+9o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:to:subject:references:date :mime-version:content-transfer-encoding:from:message-id :in-reply-to; s=smtpout; bh=ZpJzsfoLo8RUiqSva1JnZZoNmH0=; b=H+rY YkZ3C2vCUi+RLzrUUgCa8DDUt0QcjmYplfaj7Ad3z6gCwipREMARpzdAsVYXItqV SqHLVbczy0/rCHqe8fXNq2uITiqEMzR1q4s745BxnLCdpHdr0POi0qjEkSdoRryp B0J7+1uIOczaPzLxNLseb5gcN52o8uS+mMGfUmQ= X-Sasl-enc: evHeJR8bFTGqUa3ARdZtyb6WtJEYLSTAusTaR6Fepvqh 1370355600 Received: from markf.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id 4616EC80147 for ; Tue, 4 Jun 2013 10:20:00 -0400 (EDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "FreeBSD Questions" Subject: Re: why is ports web page so far out of date References: <51ADD8AF.5010102@a1poweruser.com> Date: Tue, 04 Jun 2013 09:19:59 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Mark Felder" Message-ID: In-Reply-To: <51ADD8AF.5010102@a1poweruser.com> User-Agent: Opera Mail/12.15 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 14:20:06 -0000 On Tue, 04 Jun 2013 07:08:15 -0500, Fbsd8 wrote: > I can not get current version of the ports system. > The ports web page http://www.freebsd.org/ports/ > is almost 2 years out of date. Says the port I am interested in is at > 1.7 version when just 2 weeks ago it was at 2.2. Portsnap is also messed > up showing the 1.7 version. > > I'm not sure what the status of this system is, but I'd recommend you use the official unofficial Freshports.org From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 15:59:57 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 B19B9289 for ; Tue, 4 Jun 2013 15:59:57 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD6D1AAB for ; Tue, 4 Jun 2013 15:59:57 +0000 (UTC) Received: from [10.219.130.119] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.7/8.14.7) with ESMTP id r54FlB5k072869 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 4 Jun 2013 10:47:14 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <51AE0C04.2050507@tundraware.com> Date: Tue, 04 Jun 2013 10:47:16 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Can sasl/sendmail Report IP Of Failed Access? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Tue, 04 Jun 2013 10:47:15 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r54FlB5k072869 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 15:59:57 -0000 I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log only notes the attempted user name, not the IP of origin. -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 18:56: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 465C26EE for ; Tue, 4 Jun 2013 18:56:47 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-bk0-x229.google.com (mail-bk0-x229.google.com [IPv6:2a00:1450:4008:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id C85E61695 for ; Tue, 4 Jun 2013 18:56:46 +0000 (UTC) Received: by mail-bk0-f41.google.com with SMTP id jc3so383845bkc.28 for ; Tue, 04 Jun 2013 11:56: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=9yeH7BEtoMuJP9k58uzATHbwqnj2h+8TS8IzZWJOonA=; b=zrdQH5wlUO5uRhgOH8yN29Cwn1HJ6O0W/8c+FADfPTFCP/FOQv9cTNVQkKtNYQzxSj QZF4DVfQY+xM9XahvJr+aW1bDQ+Ca/A8jQCLGrojYUdFxnWqT6HXTE2sQpW0fbZtLr85 VRU+D+G1hjBp4fvtGh15JOonloBYTXctbZn++1MOvL546LZDxmYePNRMx6go8OUYK/ku V2TjyPJCNNOgaSIxvbX3JJChL/0eLQHnKOT1i6XiYf3flucujC7rXuiAmvLfKvTQ/ORw ArwkQTWvKxPf63KWLqjyNHmabmc3VZ4EmLb9mLsbBES7heNRGUE0cuHw/tP1rhhBQhmQ HvNg== MIME-Version: 1.0 X-Received: by 10.204.235.73 with SMTP id kf9mr6912997bkb.136.1370372205762; Tue, 04 Jun 2013 11:56:45 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Tue, 4 Jun 2013 11:56:45 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Tue, 4 Jun 2013 11:56:45 -0700 (PDT) In-Reply-To: <51AE0C04.2050507@tundraware.com> References: <51AE0C04.2050507@tundraware.com> Date: Tue, 4 Jun 2013 11:56:45 -0700 Message-ID: Subject: Re: Can sasl/sendmail Report IP Of Failed Access? From: Waitman Gobble To: tundra@tundraware.com 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, 04 Jun 2013 18:56:47 -0000 On Jun 4, 2013 9:00 AM, "Tim Daneliuk" wrote: > > I am seeing login dictionary attacks on a FreeBSD mail server being > reported. Is there a way to determine the IPs that are doing this > so they can be blocked at the firewall? auth.log only > notes the attempted user name, not the IP of origin. > -- > ----------------------------------------------------------------------- > Tim Daneliuk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" On Jun 4, 2013 9:00 AM, "Tim Daneliuk" wrote: > > I am seeing login dictionary attacks on a FreeBSD mail server being > reported. Is there a way to determine the IPs that are doing this > so they can be blocked at the firewall? auth.log only > notes the attempted user name, not the IP of origin. > -- > ----------------------------------------------------------------------- > Tim Daneliuk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" one idea is to run auth on a different service / machine on a non-standard port, that at least cuts down the noise from "non-targetted" scans. Waitman Gobble San Jose California USA From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 19:13:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B7BEBD02 for ; Tue, 4 Jun 2013 19:13:39 +0000 (UTC) (envelope-from feld@feld.me) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3610E1791 for ; Tue, 4 Jun 2013 19:13:36 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 1054121098 for ; Tue, 4 Jun 2013 15:13:32 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute6.internal (MEProxy); Tue, 04 Jun 2013 15:13:33 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=feld.me; h= content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to; s= mesmtp; bh=E4zaI/CX2RD4VO6sk6iR+7kJlqQ=; b=qr/QFfdMUqDC8gm209JWO VEFrOXPpmR50kQBg26Lf01fqV8x5o0qDv3lLvcdP0LSpXpLuU2raFIBjagiOYDzP uF82KiB8WiUREYrEWX/YJ7veKWyu9qAKS09T/Bto6DmHUq5c+N4QFpfupt1wCe15 Sj8as8zQVfpaLWqXXfJlBg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:to:subject:references:date :mime-version:content-transfer-encoding:from:message-id :in-reply-to; s=smtpout; bh=E4zaI/CX2RD4VO6sk6iR+7kJlqQ=; b=AW5I 47hLA0KocvfwFgRSidUeKszLgvBceM3Gal4K0usslEvKMzhSWTHVcIc060LUyiaC jeMY9Bt41yTl5flzP0G7Gbfyr3e16wNGeR3qhiMpMJqInauvDXSv9tKisOSR4HiD ZFJ7DptG753yGyF09aPjd2cYu0JIc44vBHTBjro= X-Sasl-enc: zaRCVlLq/8iaG0V9cqw+zMpdbSyyXPZ9quY4wC5n9K8p 1370373212 Received: from markf.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id A1EC52001F7 for ; Tue, 4 Jun 2013 15:13:32 -0400 (EDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-questions@freebsd.org Subject: Re: Can sasl/sendmail Report IP Of Failed Access? References: <51AE0C04.2050507@tundraware.com> Date: Tue, 04 Jun 2013 14:13:32 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Mark Felder" Message-ID: In-Reply-To: <51AE0C04.2050507@tundraware.com> User-Agent: Opera Mail/12.15 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 19:13:39 -0000 On Tue, 04 Jun 2013 10:47:16 -0500, Tim Daneliuk wrote: > I am seeing login dictionary attacks on a FreeBSD mail server being > reported. Is there a way to determine the IPs that are doing this > so they can be blocked at the firewall? auth.log only > notes the attempted user name, not the IP of origin. I don't use sendmail, but aren't the login attempts at least logged in maillog as well? If so, you could use fail2ban to ban them. We do this with postfix/exim/dovecot/etc. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 21:27:31 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 BCC7C85A for ; Tue, 4 Jun 2013 21:27:31 +0000 (UTC) (envelope-from Aserene20@yahoo.com) Received: from nm39-vm9.bullet.mail.gq1.yahoo.com (nm39-vm9.bullet.mail.gq1.yahoo.com [98.136.216.202]) by mx1.freebsd.org (Postfix) with ESMTP id 924E61CE9 for ; Tue, 4 Jun 2013 21:27:31 +0000 (UTC) Received: from [98.137.12.174] by nm39.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2013 21:24:20 -0000 Received: from [208.71.42.198] by tm13.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2013 21:24:19 -0000 Received: from [127.0.0.1] by smtp209.mail.gq1.yahoo.com with NNFMP; 04 Jun 2013 21:24:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370381059; bh=qW11n/1NXYcl86kly3sy9HRX8s+wQOJP5zilRgf5jeU=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Rocket-Received:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:Subject; b=QYeiv54AwiuRt93Mwe/dSQ7cUjo5pRXar713sIqGjwMgHKBHzOn6My1pbjNnkFpKj1oiml1VRnoAQW2pp9xh/qNrit/o8p4W9I7PvkESs5pU0xq29mmsXdYjPYWky5wap7yRJTSoetvZNop0yJT/lgr+KtApmtLjuiLoKH6+f6Y= X-Yahoo-Newman-Id: 894197.65136.bm@smtp209.mail.gq1.yahoo.com Message-ID: <894197.65136.bm@smtp209.mail.gq1.yahoo.com> Date: Tue, 4 Jun 2013 14:24:19 -0700 (PDT) X-Rocket-Received: from lysoxogo (Aserene20@190.118.128.219 with ) by smtp209.mail.gq1.yahoo.com with SMTP; 04 Jun 2013 14:24:19 -0700 PDT X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: RzrSsNIVM1mpN.FNXx3VXKdVg_p5s.ipLvUhuoySt7l2Iyp HWi2TAkgHg8zBQixBBafFBj..5ih.1yAmjrsCFyNPK93_Wh6__27e5Z7iRNG Efd8.aUAid8LUlPplu8FznRfrZYtJKT4_9NZN9FtCagiUldKGgGgSCo_Bzom lpFh7ydj9PTN1sywWAZwliRKNdiyOuqX.aeOeG2MMvtrKUCV6KTwJHQ9AIT4 BBrwPNFerckLwizYOp0Zuu1vlqjxaGN5V61HHl83y3fihUnT.KlbGEYJuTKb IRdPgqZ0n1m91Uz4moBFntmk4.QHFdxaecVKDcTWbLnJ6TwZB4fH9LDLlo3G U73_SEJl9agNwHLyVZ1wnsLL0DbxpGtIlQdq.b9ciLr.nSYpiwGt3iMkcwW_ RLhF7es5sYrcSAWr9E0TjH4HNc8cf6mz3xjbyxYP.7snmhDHC6WpYLgU32vi z_vtZnGq5E1X8SoDDk19cOOLN9Zqe64_qjwHjtQgXj_sFtEn2OZK6BTFNAlr e9Zk49b2NTe7u1jT4F7U._p1nrT8sL8wa6y9XmfrRBgW6TzWV7qd2Oixi5BS ah86NUPaYjh8W64O8tFj5akSsxY2ovQ4LtcJRs0LHUcdgbjHMDL2ioVOr98h uJPidOxw- X-Yahoo-SMTP: dL0x31GswBCqn77_OxaJFHsXPPuGGA-- From: Aserene20@yahoo.com To: , , Subject: Fw: 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, 04 Jun 2013 21:27:31 -0000 Wow http://chorus-trier.de/iphone.html?popavasjq=248394&nalydy=31411 From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 21:51: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 317534FF for ; Tue, 4 Jun 2013 21:51:22 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 0E35C1DD6 for ; Tue, 4 Jun 2013 21:51:21 +0000 (UTC) Received: from mbook.westell.com ([50.123.213.115]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r54LpHLX077297 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Jun 2013 14:51:19 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Can sasl/sendmail Report IP Of Failed Access? From: Doug Hardie In-Reply-To: <51AE0C04.2050507@tundraware.com> Date: Tue, 4 Jun 2013 14:51:08 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <10B9A72C-1BEA-498B-8BEA-88641656E434@lafn.org> References: <51AE0C04.2050507@tundraware.com> To: tundra@tundraware.com X-Mailer: Apple Mail (2.1503) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 21:51:22 -0000 On 4 June 2013, at 08:47, Tim Daneliuk wrote: > I am seeing login dictionary attacks on a FreeBSD mail server being > reported. Is there a way to determine the IPs that are doing this > so they can be blocked at the firewall? auth.log only > notes the attempted user name, not the IP of origin. > --=20 >=20 I wrote some code to find the appropriate maillog entries which do = include the IP addresses. It automagically adds the IP addresses to the = pf blackhole table if certain criteria is met. The criteria is = changeable. If you would like a copy, let me know. =20= From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 22:12: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 1EBCEE44 for ; Tue, 4 Jun 2013 22:12:52 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id DC0141EA5 for ; Tue, 4 Jun 2013 22:12:51 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.7/8.14.7) with ESMTP id r54MCcUI044199 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 4 Jun 2013 17:12:38 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <51AE6652.7050707@tundraware.com> Date: Tue, 04 Jun 2013 17:12:34 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Doug Hardie Subject: Re: Can sasl/sendmail Report IP Of Failed Access? References: <51AE0C04.2050507@tundraware.com> <10B9A72C-1BEA-498B-8BEA-88641656E434@lafn.org> In-Reply-To: <10B9A72C-1BEA-498B-8BEA-88641656E434@lafn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [192.168.0.1]); Tue, 04 Jun 2013 17:12:38 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r54MCcUI044199 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 22:12:52 -0000 On 06/04/2013 04:51 PM, Doug Hardie wrote: > > On 4 June 2013, at 08:47, Tim Daneliuk wrote: > >> I am seeing login dictionary attacks on a FreeBSD mail server being >> reported. Is there a way to determine the IPs that are doing this >> so they can be blocked at the firewall? auth.log only >> notes the attempted user name, not the IP of origin. >> -- >> > > I wrote some code to find the appropriate maillog entries which do include the IP addresses. It automagically adds the IP addresses to the pf blackhole table if certain criteria is met. The criteria is changeable. If you would like a copy, let me know. > Yes, I'd love a look at that, thanks. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 22:18: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 BE7C33AB for ; Tue, 4 Jun 2013 22:18:21 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBA11F11 for ; Tue, 4 Jun 2013 22:18:21 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id r54MIEDF029121; Tue, 4 Jun 2013 18:18:14 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Tue, 4 Jun 2013 18:18:14 -0400 (EDT) From: Chris Hill To: Doug Hardie Subject: Re: Can sasl/sendmail Report IP Of Failed Access? In-Reply-To: <10B9A72C-1BEA-498B-8BEA-88641656E434@lafn.org> Message-ID: References: <51AE0C04.2050507@tundraware.com> <10B9A72C-1BEA-498B-8BEA-88641656E434@lafn.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: tundra@tundraware.com, FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 22:18:21 -0000 On Tue, 4 Jun 2013, Doug Hardie wrote: > On 4 June 2013, at 08:47, Tim Daneliuk wrote: > >> I am seeing login dictionary attacks on a FreeBSD mail server being >> reported. Is there a way to determine the IPs that are doing this >> so they can be blocked at the firewall? auth.log only >> notes the attempted user name, not the IP of origin. >> -- >> > > I wrote some code to find the appropriate maillog entries which do > include the IP addresses. It automagically adds the IP addresses to > the pf blackhole table if certain criteria is met. The criteria is > changeable. If you would like a copy, let me know. That sounds incredibly useful. Can you post it somewhere? -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 22:45: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 D91BC7D3 for ; Tue, 4 Jun 2013 22:45:15 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-bk0-x233.google.com (mail-bk0-x233.google.com [IPv6:2a00:1450:4008:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9FC1072 for ; Tue, 4 Jun 2013 22:45:15 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id ji2so482077bkc.38 for ; Tue, 04 Jun 2013 15:45: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=eOEqQ1UCxWqj0XL3EYzMR82XmZWOVzKThFKUgrqQrUc=; b=OX/fY24eZfs2SNxDC1pp+uyy+SbZfyvtbdKGYyVL4VoHDR8E6B4IjYYUOl8K1aTAmx V8sUyS9WxvHEfU1UCELktRK6fjiDEqYklf4gGQ3mYqU0vXsCnrPih4QI+NZQHP8bS+Od rI1ZTOj9Rvy58ywRwuQznRVfcSdWSoMDthcoNyLVhdT4db3410Wv+kIFEaALSS5jdRgx nzAHctF2sJy2HUdG35eP81V/YrKIytxb8WmGrcfIDlC+VGCtFtSS1mZderO4uXZT9ZP5 nEGgW04/9LkdAQ1RcP4Ifqo/NkLSRXk9zzT0Dx+o+oYgjhb2pCxUgvKwCoggmBYxb5LO v1Fw== MIME-Version: 1.0 X-Received: by 10.205.26.70 with SMTP id rl6mr8770594bkb.54.1370385914527; Tue, 04 Jun 2013 15:45:14 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Tue, 4 Jun 2013 15:45:14 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Tue, 4 Jun 2013 15:45:14 -0700 (PDT) In-Reply-To: References: <20130604033930.GA10393@uriel.asininetech.com> Date: Tue, 4 Jun 2013 15:45:14 -0700 Message-ID: Subject: Re: System Calls that do DNS From: Waitman Gobble To: Doug Hardie Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org, staticsafe 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, 04 Jun 2013 22:45:15 -0000 On Jun 3, 2013 10:22 PM, "Doug Hardie" wrote: > > > On 3 June 2013, at 20:39, staticsafe wrote: > > > On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote: > >> I have an unusual situation. A program is doing a DNS lookup and often the IP address has no reverse DNS entries. As a result the program hangs for several timeouts. The call is not being made directly in its code, but is occurring in a system call. There are no specific calls to DNS, its something else doing it. I have been trying to track down which system call is doing it, but without success so far. I have tried syslog calls around each of the system calls I thought might be the culprit, but my guessing is not very good. How can I identify the system call that is calling DNS? If I can find it, I hopefully can find another way to do whatever it does that does not involve a reverse DNS lookup. > >> > >> > > > > Use truss: > > http://www.freebsd.org/cgi/man.cgi?query=truss > > > > The truss utility traces the system calls called by the specified > > process or program. > > -- > > staticsafe > > O< ascii ribbon campaign - stop html mail - www.asciiribbon.org > > Please don't top post - http://goo.gl/YrmAb > > Don't CC me! I'm subscribed to whatever list I just posted on. > > > > Unfortunately truss does not show anything more than ktrace. I know what is going out on the internet connection. Its a plain old reverse DNS request. The question is what library module (probably not a system call now that I think about it) is making that request. Interestingly enough, adding the IP address with a dummy name in /etc/hosts causes the reverse request to succeed and there are no time delays. So whatever module it is, is not using bind. Bind doesn't check the hosts files as far as I can tell. > _______________________________________________ > 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" maybe try ldd and see if it is linked to a library like c-ares? or try running it in gdb to see whats going on? some ideas. Waitman Gobble San Jose California USA From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 22:54:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C165D47 for ; Tue, 4 Jun 2013 22:54:46 +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 E498910E3 for ; Tue, 4 Jun 2013 22:54:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r54Msjqd048671; Tue, 4 Jun 2013 16:54:45 -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 r54MsiQk048668; Tue, 4 Jun 2013 16:54:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 4 Jun 2013 16:54:44 -0600 (MDT) From: Warren Block To: Tim Daneliuk Subject: Re: Can sasl/sendmail Report IP Of Failed Access? In-Reply-To: <51AE6652.7050707@tundraware.com> Message-ID: References: <51AE0C04.2050507@tundraware.com> <10B9A72C-1BEA-498B-8BEA-88641656E434@lafn.org> <51AE6652.7050707@tundraware.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, 04 Jun 2013 16:54:45 -0600 (MDT) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 22:54:46 -0000 On Tue, 4 Jun 2013, Tim Daneliuk wrote: > On 06/04/2013 04:51 PM, Doug Hardie wrote: >> >> On 4 June 2013, at 08:47, Tim Daneliuk wrote: >> >>> I am seeing login dictionary attacks on a FreeBSD mail server being >>> reported. Is there a way to determine the IPs that are doing this >>> so they can be blocked at the firewall? auth.log only >>> notes the attempted user name, not the IP of origin. >>> -- >>> >> >> I wrote some code to find the appropriate maillog entries which do include >> the IP addresses. It automagically adds the IP addresses to the pf >> blackhole table if certain criteria is met. The criteria is changeable. >> If you would like a copy, let me know. >> > > Yes, I'd love a look at that, thanks. sshguard is supposed to be capable of analyzing log files beyond just ssh. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 4 23: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 92230652 for ; Tue, 4 Jun 2013 23:35:41 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 71F1812AF for ; Tue, 4 Jun 2013 23:35:41 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id mc8so922214pbc.32 for ; Tue, 04 Jun 2013 16:35:41 -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=j3boLvHIFa8Iu5qKvDQqzXPqMfw1U7+97PSga10CIrc=; b=RVM4YqiVnP5h3my7Dw+JMBXEAb12EyODMogapUEUkA68x5IPLwt2GDdSR5dHg+B7N/ 3hCVQKpyZo3xNhmhiURZNSAUX9/zbJdvcHtHK2MSCunA/K/c1uW+E9ok3wXqlXiI3eOO YMw01aVKf9iXCgLPV6q/Y8RVWUeUjfKa8P4CnY9cBYQ188AdE4M+xKYHUJzIRrNqPLiO j1QiEwCZFdBahPe5YTWwnvVH09ZK/Wh8N5YBaiPT99KgjcKW0Rhhf9QdFQQDfyUr25vQ YeY2K3ckoLCgiXVAbn3ki26FQVT4QjwsudO79BOJPWZR/98lKU/8FEj6mhbhzK5uqcpC gkJw== MIME-Version: 1.0 X-Received: by 10.68.212.200 with SMTP id nm8mr1590756pbc.216.1370388941235; Tue, 04 Jun 2013 16:35:41 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Tue, 4 Jun 2013 16:35:41 -0700 (PDT) In-Reply-To: References: <20130604033930.GA10393@uriel.asininetech.com> Date: Tue, 4 Jun 2013 18:35:41 -0500 Message-ID: Subject: Re: System Calls that do DNS From: Adam Vande More To: Doug Hardie Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions , staticsafe 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, 04 Jun 2013 23:35:41 -0000 On Tue, Jun 4, 2013 at 12:21 AM, Doug Hardie wrote: > Unfortunately truss does not show anything more than ktrace. Normally most people use truss first, then fall back to ktrace ;) > Bind doesn't check the hosts files as far as I can tell. System requests obey nsswitch.conf(5) -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 05:19:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8ECBA500 for ; Wed, 5 Jun 2013 05:19:17 +0000 (UTC) (envelope-from enno.davids@gmail.com) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3BB128A for ; Wed, 5 Jun 2013 05:19:17 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id g10so1283400pdj.41 for ; Tue, 04 Jun 2013 22:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=fOidLJbuhPB1eQgX/bdg7Pja5Ow6jV3WxerdRN6szck=; b=LY/eMlLxh2Wv9hAbxnyTaOo0yrFrko2InCCOyQjOdRcyQU/zEQ+9HCJ3Ki7CkrAV7B aMQcGFVDmROabaYbc/NueICbicbIzWTnUysCAH17Q/eDfJDDRiSuQpUhQqNValnKN6sZ Rt5VBHMU2RIdQgQoDdaibP1WDFD73GPhfOJrFNZp43RLOv8Z4iXT7syrV5HXnIfMHXBK 7kEz5ekSN+poEh/O3xv316+pGvbpz3vWDVzwpkPtMBp56QDu8bAMEfBjNUIi9WNOXybE YmmhCV1noMuwI6dNI8Qc9PovbBnIAOylITa01w+xxeBgmJQjCCz6vrRdy+5SWVS/zzqi g1Gg== MIME-Version: 1.0 X-Received: by 10.68.250.229 with SMTP id zf5mr31352760pbc.148.1370409556651; Tue, 04 Jun 2013 22:19:16 -0700 (PDT) Sender: enno.davids@gmail.com Received: by 10.66.20.5 with HTTP; Tue, 4 Jun 2013 22:19:16 -0700 (PDT) In-Reply-To: References: <20130604033930.GA10393@uriel.asininetech.com> Date: Wed, 5 Jun 2013 15:19:16 +1000 X-Google-Sender-Auth: i7ir_6SIF__sYK3yfnN9O3DnvBo Message-ID: Subject: Re: System Calls that do DNS From: Enno Davids To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 05:19:17 -0000 See if whois can tell you who owns the block the IP is in. That may give you some insight into what is asking for the reverse. E. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 05:38: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 0E069826 for ; Wed, 5 Jun 2013 05:38:55 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id DD6A2132E for ; Wed, 5 Jun 2013 05:38:54 +0000 (UTC) Received: from mbook.westell.com ([50.123.213.115]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r555ch20089551 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 4 Jun 2013 22:38:46 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: System Calls that do DNS From: Doug Hardie In-Reply-To: Date: Tue, 4 Jun 2013 22:38:34 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <3CA592EA-A879-4C3D-8285-57FF14387D5F@lafn.org> References: <20130604033930.GA10393@uriel.asininetech.com> To: Enno Davids X-Mailer: Apple Mail (2.1508) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 05:38:55 -0000 On 4 June 2013, at 22:19, Enno Davids wrote: > See if whois can tell you who owns the block the IP is in. That may = give > you some insight into what is asking for the reverse. Its AT&T. Its probably at least a state's worth of DSL addresses. I am = physically at one of them for a couple more days. After that I have no = way to test this.= From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 07:30: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 DA9B9196 for ; Wed, 5 Jun 2013 07:30:03 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-bk0-x22b.google.com (mail-bk0-x22b.google.com [IPv6:2a00:1450:4008:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 737EE18EB for ; Wed, 5 Jun 2013 07:30:03 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id jm19so638373bkc.30 for ; Wed, 05 Jun 2013 00:30:02 -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=N7bRCadMXQcbvPIePhEYnUiUAgRo61OCe+V/ZIiBElU=; b=rrVl09GrICYQ44NgseX8Ot0EVcX2vMiHMBjh4Iv0mVSxFYE1C/mMrVCzBleUGVntmv rOk/AwemfEe2NwbaRRyO2357xK0ypJvW5lawz6RjZfc14wjYrn2gYtxLbXKNJl+UgRn9 zWKRz5GzMUwVz03YBdbwqSspQEV36EViUX2X7+nsgmr3H4Rmmj1Wbsi3prexj+99avcK a0lUH30VszkD6dCJbR4VTGsrqjpeyuisfa8mjlfJI+fxDv/EAtJ7m9AupGBaXdo3J9qQ QVf3iYL8z9CmvvDHVlGYezOQCG+SOttIH2R9i6L1fqjl04YCr3uUKyWDVesLrZe6Oq3f LpQA== MIME-Version: 1.0 X-Received: by 10.204.63.1 with SMTP id z1mr9240697bkh.148.1370417402200; Wed, 05 Jun 2013 00:30:02 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Wed, 5 Jun 2013 00:30:02 -0700 (PDT) In-Reply-To: References: <51ADD8AF.5010102@a1poweruser.com> Date: Wed, 5 Jun 2013 00:30:02 -0700 Message-ID: Subject: Re: why is ports web page so far out of date From: Waitman Gobble To: Fbsd8 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: Wed, 05 Jun 2013 07:30:03 -0000 On Tue, Jun 4, 2013 at 7:19 AM, Mark Felder wrote: > On Tue, 04 Jun 2013 07:08:15 -0500, Fbsd8 wrote: > >> I can not get current version of the ports system. >> The ports web page http://www.freebsd.org/ports/ >> is almost 2 years out of date. Says the port I am interested in is at 1.7 >> version when just 2 weeks ago it was at 2.2. Portsnap is also messed up >> showing the 1.7 version. >> >> > > I'm not sure what the status of this system is, but I'd recommend you use > the official unofficial Freshports.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" If you must have a web based version, another option is DIY roll your own ports index based on your own local ports tree. At least you can set it up how you want. a simple quick-together script running on my computer: https://dx.burplex.com/FreeBSD-ports/index.php there's a github link at the bottom of the page you can hack on if you wanna. cool thing is you can easily cross-reference all the corresponding gnats PR files in your mailbox to the generated port page, i'll add that bit tomorrow. -- Waitman Gobble San Jose California USA 510-830-7975 From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 08:05: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 1B0B9C34 for ; Wed, 5 Jun 2013 08:05:53 +0000 (UTC) (envelope-from lurie.austinser@gmail.com) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id A77AE1A84 for ; Wed, 5 Jun 2013 08:05:52 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id d7so262409bkh.25 for ; Wed, 05 Jun 2013 01:05:51 -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=/aRxuLnoE+zRZmtfNflL7kt8fkZaw5MP8WXjB3VbEyw=; b=gSfeAPCBZ1xr1N4YQM6yWyAdzxhpoogm9H6QpxnCCBuAbaoeGfg2V+CduXroptu98y 3hQHVl1If71jck4j/98YWb7ejgXkyHngh+YL5milCu21NIYKi8ntfWNIUIiEDZ7EVo8c vL0yjGFLSkUxJJ3uzZ3znJE49dxXSfgxc3lb6gHqBNP5FPfoH1nnkhctbxakUGA99P91 XaCRiwcg22rB6BRI7JRyrUYbkTsdUSzViDPjTEFj4z6DqfO6Va1Om9sg5VbDiOQdbI0x Z1hYJldVAIF8GQNI628c/1fvnTrL6Fw+nD0H3GLnXLco1h5h/Mg4NszT1+2WcfjSVlBz MbLA== MIME-Version: 1.0 X-Received: by 10.204.74.138 with SMTP id u10mr9308411bkj.113.1370419551598; Wed, 05 Jun 2013 01:05:51 -0700 (PDT) Received: by 10.205.44.70 with HTTP; Wed, 5 Jun 2013 01:05:51 -0700 (PDT) Date: Wed, 5 Jun 2013 10:05:51 +0200 Message-ID: Subject: Updating broken link from your page: http://freebsd.isc.org/fr/gallery/cgallery.html From: Lurie Austinser To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 08:05:53 -0000 Hello, I have bumped into your site while seeking for software and found your website very interesting :) Just a quick note, *http://www.neosoft.com/** *is no longer active, and you are linking to it from page - http://freebsd.isc.org/fr/gallery/cgallery.html I was wondering if you don't mind updating the link to the updated website en.DownloadAstro.com - A great download site with more than 300K software and games, including professional reviews and user ratings. We are now in a process of updating the links in websites all around the world and I will appreciate your cooperation. I am sure your *users will find it useful.* Thanks, Lurie From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 12:24: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 C420C4B6 for ; Wed, 5 Jun 2013 12:24:50 +0000 (UTC) (envelope-from feld@feld.me) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 999B9166C for ; Wed, 5 Jun 2013 12:24:50 +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 8F08921029 for ; Wed, 5 Jun 2013 08:24:49 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 05 Jun 2013 08:24:49 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=feld.me; h= content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to; s= mesmtp; bh=EQJX9B51i1jmGiYFKTCF0MjfaxY=; b=RbW3TIDHBzABBol9IdaBb OrIEhA5WngvONFeJoUcOd333bdp3f14YpzyQyxTrsRvtt4ugqu3RqLWNiEor3J5s 9GgcKTTvvPM5MWP2DkXql1/5YSajbXAn8wT8uEhzBvBadp3OZtv6Den+GwjgW+Df KUEwbkfEyH2Wsyi44+Pd4U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:to:subject:references:date :mime-version:content-transfer-encoding:from:message-id :in-reply-to; s=smtpout; bh=EQJX9B51i1jmGiYFKTCF0MjfaxY=; b=Z6FR k/+Ux8sNGixF8nhgQzbS0xMIqEZ/Xzts3yp3diLGTqHxHhlsfh/RVi6u9M0y7Bdr 3meQJMdxkjx20kcUl3EHIsOfbBl57v0L6rPr16oYFTLCvcMpkLVfGWiVM+m8Iq79 oh+0NgcLFIEVD2LeR6IFN/aNB0GcPZoMKJX3fN0= X-Sasl-enc: WNcOGnqHsWPp9mxv7V5FdI8C8Yppqjdn35mcbjZMTWa5 1370435089 Received: from markf.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id 57A86C8014A for ; Wed, 5 Jun 2013 08:24:49 -0400 (EDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-questions@freebsd.org Subject: Re: System Calls that do DNS References: Date: Wed, 05 Jun 2013 07:24:48 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Mark Felder" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.15 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 12:24:50 -0000 On Mon, 03 Jun 2013 21:57:07 -0500, Doug Hardie wrote: > I have an unusual situation. A program is doing a DNS lookup and often > the IP address has no reverse DNS entries. As a result the program > hangs for several timeouts. The call is not being made directly in its > code, but is occurring in a system call. There are no specific calls to > DNS, its something else doing it. I have been trying to track down > which system call is doing it, but without success so far. I have tried > syslog calls around each of the system calls I thought might be the > culprit, but my guessing is not very good. How can I identify the > system call that is calling DNS? If I can find it, I hopefully can find > another way to do whatever it does that does not involve a reverse DNS > lookup. > > The system DNS lookups are handled by libc. Probably somewhere in the code here: http://svnweb.freebsd.org/base/head/lib/libc/nameser/ From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 15:06: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 BA7C32F9 for ; Wed, 5 Jun 2013 15:06:53 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E3BC1E1F for ; Wed, 5 Jun 2013 15:06:50 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.7/8.14.6) with ESMTP id r55F6lMf012061 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 5 Jun 2013 16:06:48 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <51AF5406.9080400@unsane.co.uk> Date: Wed, 05 Jun 2013 16:06:46 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "FreeBSD-Questions@freebsd.org" Subject: poudriere keeps rebuilding apache22 on every run X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 15:06:53 -0000 I'm not certain if this is the best place to ask but I seem to be having issues with apache22 and poudriere. on every run I get ====>> Creating the reference jail... done ====>> Mounting system devices for 8amd64-default ====>> Mounting ports/packages/distfiles ====>> Mounting packages from: /usr/local/poudriere_data/packages/8amd64-default ====>> Mounting /var/db/ports from: /usr/local/etc/poudriere.d/8amd64-options ====>> Logs: /usr/local/poudriere_data/logs/bulk/8amd64-default/2013-06-05_12:55:43 ====>> Appending to make.conf: /usr/local/etc/poudriere.d/8amd64-make.conf /etc/resolv.conf -> /usr/local/poudriere_data/build/8amd64-default/ref/etc/resolv.conf ====>> Starting jail 8amd64-default ====>> Calculating ports order and dependencies ====>> Sanity checking the repository ====>> Options changed, deleting: apache22-2.2.24.txz the options were set a while back and havent changed. root@bsdpkgbuild:~ # ls -la /usr/local/etc/poudriere.d/8amd64-options/apache22/ total 13 drwxr-xr-x 2 root wheel 3 May 21 17:44 . drwxr-xr-x 241 root wheel 242 Jun 4 22:41 .. -rw-r--r-- 1 root wheel 3191 May 21 17:44 options root@bsdpkgbuild:~ # any suggestions? Its not a big problem but it means that apache and everything that depends on it gets rebuild every time poudriere runs. Vince From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 15:13: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 BCB1B495; Wed, 5 Jun 2013 15:13:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id 997B81E8F; Wed, 5 Jun 2013 15:13:41 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 024B4B941; Wed, 5 Jun 2013 11:13:41 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org Subject: Re: How to compile ipoib module manually? Date: Wed, 5 Jun 2013 11:09:56 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <64DAB3164E410447932305F50F896D8D6AF6B412@MTLDAG01.mtl.com> In-Reply-To: <64DAB3164E410447932305F50F896D8D6AF6B412@MTLDAG01.mtl.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201306051109.57160.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 05 Jun 2013 11:13:41 -0400 (EDT) X-Mailman-Approved-At: Wed, 05 Jun 2013 15:31:24 +0000 Cc: Oded Shanoon , Regev Lev , Alex Liptsin , "freebsd-infiniband@freebsd.org" , Meny Yossefi , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 15:13:41 -0000 On Tuesday, June 04, 2013 5:18:46 am Alex Liptsin wrote: > I commented on that lines, because I want to compile and load that modules manually. > I had succeed to compile and load mlx4, mlx4ib and mlxen from /sys/modules: > > [root@h-qa-033 mlxen]# kldstat > Id Refs Address Size Name > 1 14 0xffffffff80200000 13acbd8 kernel > 2 1 0xffffffff81612000 21e5 if_mos.ko > 3 3 0xffffffff81615000 124eb mlx4.ko > 4 1 0xffffffff81628000 e225 mlx4ib.ko > 5 1 0xffffffff81637000 ec60 mlxen.ko > > The problem is that IPOIB module is missing in /sys/modules. > > 1. Where can I find it? > > 2. How can I compile ipoib support? You will have to create one. You should be able to use the existing module Makefiles as a guide. -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 15:45:42 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 179AECA9 for ; Wed, 5 Jun 2013 15:45:42 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id AB8C91004 for ; Wed, 5 Jun 2013 15:45:41 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r55FjUZT026367; Wed, 5 Jun 2013 16:45:30 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51AF5D1A.7080202@qeng-ho.org> Date: Wed, 05 Jun 2013 16:45:30 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Vincent Hoffman Subject: Re: poudriere keeps rebuilding apache22 on every run References: <51AF5406.9080400@unsane.co.uk> In-Reply-To: <51AF5406.9080400@unsane.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: Wed, 05 Jun 2013 15:45:42 -0000 On 06/05/13 16:06, Vincent Hoffman wrote: > I'm not certain if this is the best place to ask but I seem to be having > issues with apache22 and poudriere. > > on every run I get > > ====>> Creating the reference jail... done > ====>> Mounting system devices for 8amd64-default > ====>> Mounting ports/packages/distfiles > ====>> Mounting packages from: /usr/local/poudriere_data/packages/8amd64-default > ====>> Mounting /var/db/ports from: /usr/local/etc/poudriere.d/8amd64-options > ====>> Logs: /usr/local/poudriere_data/logs/bulk/8amd64-default/2013-06-05_12:55:43 > ====>> Appending to make.conf: /usr/local/etc/poudriere.d/8amd64-make.conf > /etc/resolv.conf -> /usr/local/poudriere_data/build/8amd64-default/ref/etc/resolv.conf > ====>> Starting jail 8amd64-default > ====>> Calculating ports order and dependencies > ====>> Sanity checking the repository > ====>> Options changed, deleting: apache22-2.2.24.txz > > > the options were set a while back and havent changed. > root@bsdpkgbuild:~ # ls -la /usr/local/etc/poudriere.d/8amd64-options/apache22/ > total 13 > drwxr-xr-x 2 root wheel 3 May 21 17:44 . > drwxr-xr-x 241 root wheel 242 Jun 4 22:41 .. > -rw-r--r-- 1 root wheel 3191 May 21 17:44 options > root@bsdpkgbuild:~ # > > any suggestions? Its not a big problem but it means that apache and > everything that depends on it gets rebuild every time poudriere runs. I get similar problems, but it's often a random subset of packages. Usually the ones that take a long time to build :-( -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 15:56:35 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 0EF5F30B for ; Wed, 5 Jun 2013 15:56:35 +0000 (UTC) (envelope-from mays@win.net) Received: from filter2.win.net (filter2.win.net [216.24.27.102]) by mx1.freebsd.org (Postfix) with ESMTP id CB99A1093 for ; Wed, 5 Jun 2013 15:56:34 +0000 (UTC) Received: from nb-208.win.net (nb-208.win.net [216.24.27.208]) by filter2.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r55FtT8Z014556 for ; Wed, 5 Jun 2013 11:55:29 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-208.win.net (Postfix) with SMTP id BD1DC7310C for ; Wed, 5 Jun 2013 11:55:29 -0400 (EDT) Message-ID: From: "Joseph Mays" To: Subject: USB can't mount msdosfs drive Date: Wed, 5 Jun 2013 11:55:38 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.208; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 01JIDTtdH - fe3d7e2f2839 - 20130605 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=01JIDTtdH&m=fe3d7e2f2839&t=20130605&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=01JIDTtdH&m=fe3d7e2f2839&t=20130605&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=01JIDTtdH&m=fe3d7e2f2839&t=20130605&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.102 Content-Type: text/plain; charset="utf-8" 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: Wed, 05 Jun 2013 15:56:35 -0000 Tried several iterations, though it=E2=80=99s clearly a fat32 formatted = USB drive. Shown below are the results of fdisk and the mount_msdosfs = command. root@warehouse:/root # fdisk /dev/da2 ******* Working on device /dev/da2 ******* parameters extracted from in-core disklabel are: cylinders=3D1897 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3D1897 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 8064, size 30473088 (14879 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 706/ head 115/ sector 52 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument root@warehouse:/root # From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 16:33: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 14E46BE0 for ; Wed, 5 Jun 2013 16:33:06 +0000 (UTC) (envelope-from mays@win.net) Received: from filter2.win.net (filter2.win.net [216.24.27.102]) by mx1.freebsd.org (Postfix) with ESMTP id CFA9B1215 for ; Wed, 5 Jun 2013 16:33:05 +0000 (UTC) Received: from nb-202.win.net (nb-202.win.net [216.24.27.202]) by filter2.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r55GX5O4005046 for ; Wed, 5 Jun 2013 12:33:05 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-202.win.net (Postfix) with SMTP id 3DFD02297B for ; Wed, 5 Jun 2013 12:33:05 -0400 (EDT) Message-ID: <57757F5DB92D498C83D93D04BA6337BB@Gantry> From: "Joseph Mays" To: Subject: Re: USB can't mount msdosfs drive Date: Wed, 5 Jun 2013 12:33:13 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.202; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 01JIEx5SF - 59ef27666400 - 20130605 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=01JIEx5SF&m=59ef27666400&t=20130605&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=01JIEx5SF&m=59ef27666400&t=20130605&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=01JIEx5SF&m=59ef27666400&t=20130605&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.102 Content-Type: text/plain; charset="utf-8" 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: Wed, 05 Jun 2013 16:33:06 -0000 One item of note =E2=80=93 I did not notice this before, the but = following messages are appearing in dmesg whenever I try to mount this = device. Note that I have another msdosfs usb stick mounted in usb0, that = mount worked fine first try. WARNING: mount of da2s1 denied due to unsupported optional features From: Joseph Mays=20 Sent: Wednesday, June 05, 2013 11:55 AM To: freebsd-questions@freebsd.org=20 Subject: USB can't mount msdosfs drive Tried several iterations, though it=E2=80=99s clearly a fat32 formatted = USB drive. Shown below are the results of fdisk and the mount_msdosfs = command. root@warehouse:/root # fdisk /dev/da2 ******* Working on device /dev/da2 ******* parameters extracted from in-core disklabel are: cylinders=3D1897 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3D1897 heads=3D255 sectors/track=3D63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) start 8064, size 30473088 (14879 Meg), flag 80 (active) beg: cyl 1/ head 0/ sector 1; end: cyl 706/ head 115/ sector 52 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument root@warehouse:/root # From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 16:56: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 8613F20D for ; Wed, 5 Jun 2013 16:56:54 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2F41302 for ; Wed, 5 Jun 2013 16:56:54 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id b11so4351307iee.11 for ; Wed, 05 Jun 2013 09:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=rVcL91q1rb7kDbzat5biRmO7TICz5BWrHWFN8EyAvb0=; b=gadRR5vsxPD1eq4Rx3TPjIWoyfaikF8fJE93k2olVxYHjNVnGGhA5ScpdjN8Vkqw85 oClIR6S3TzjLjRl8QuAq6pe3nl+Q0WkVQfp+W1P8FPDcCftne0jasJG6KUFqkJ5mQphP bKEkj0dEiEJYRT2G2Bu322RY2DHFTbW7On6OV72GleuUgdflE6uAanT6d3soCNX6l+99 yPJ4L4BMod2SUvEqle+dvj93Cg8RAGCEbFaEnqmQSidnhHNnxWifaCu9vcs4gfMVsG21 Pd5RhwOO/sEDS1egQtxnxmQgrDghelRPo6yL9aTqkfg+YmpHdBd3bWwAErHLTB4oBUyf lgJA== X-Received: by 10.50.44.8 with SMTP id a8mr3689819igm.88.1370451414056; Wed, 05 Jun 2013 09:56:54 -0700 (PDT) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.175.131 with HTTP; Wed, 5 Jun 2013 09:56:32 -0700 (PDT) From: takCoder Date: Wed, 5 Jun 2013 21:26:32 +0430 X-Google-Sender-Auth: zB3dGqGaI7H9YsHaBrx_8qcZtyA Message-ID: Subject: getting system's telnet sessions' pid per pty 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 Reply-To: tak.official@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 16:56:54 -0000 Hi everyone :) Do you have any ideas how i can separate telnet session's pid per pty it uses ?? i have written a reporter shell which prints out all current remote sessions' pid per tty per user. My shell uses 'pstree' tool together with 'w' command outputs to do so. Everything is fine. I just can't figure it out when one user makes more than one telnet session to my system! i have all of that user's telnet sessions' pids, but i can not figure it out to which pts they are related. if only i could trust on increasing pid assignment!! then i could use time entry in 'w' command's output to relate them.. Also, I'd rather not to keep old data of the time each session is created in a common structure to use it later on as well, i am trying to generate this list dynamically, based on current sessions available while calling my shell, using the tty which runs it.. any ideas? any other command line tools which may help me?? any command which gives me pid per tty information or alike? Looking forward to any helpful points and ideas from you all.. :) Best Regards, takCoder From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 17:06: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 E6183BD0 for ; Wed, 5 Jun 2013 17:06:50 +0000 (UTC) (envelope-from asrofibcllamongan@yahoo.com) Received: from nm2.bullet.mail.ird.yahoo.com (nm2.bullet.mail.ird.yahoo.com [77.238.189.59]) by mx1.freebsd.org (Postfix) with ESMTP id 45B5713A3 for ; Wed, 5 Jun 2013 17:06:50 +0000 (UTC) Received: from [77.238.189.231] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 05 Jun 2013 17:05:03 -0000 Received: from [46.228.39.88] by tm12.bullet.mail.ird.yahoo.com with NNFMP; 05 Jun 2013 17:05:03 -0000 Received: from [127.0.0.1] by smtp125.mail.ir2.yahoo.com with NNFMP; 05 Jun 2013 17:05:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370451903; bh=RwXIWps01zbjA87k17kPOXfYGkTQ3MsQx2lwT0qK7Oo=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Rocket-Received:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:Subject; b=iX/nFMZesCh4V1h12j18QWnEXSgbhmujKRWYs/miY/By6GEb6NV/xYue4DlRW7iUNevYVDnKjs9/tVCyHGMBCi2gwY3nCgFuTSOG5kZFn82B67uKJ64ofLoRhirFqf5UGwPA05Z7t+mCoD76x4CGb66xpmkFpxBjWXJ0jiX5wio= X-Yahoo-Newman-Id: 644256.32991.bm@smtp125.mail.ir2.yahoo.com Message-ID: <644256.32991.bm@smtp125.mail.ir2.yahoo.com> Date: Wed, 5 Jun 2013 17:05:03 +0000 (UTC) X-Rocket-Received: from rjqjsex (asrofibcllamongan@95.139.218.121 with ) by smtp125.mail.ir2.yahoo.com with SMTP; 05 Jun 2013 17:05:03 +0000 UTC X-Yahoo-Newman-Property: ymail-5 X-YMail-OSG: CBLyzygVM1mh9uQz6DfYjl43wi4YgoODl0Wg2VDXHc2BPy. qGrSyhYuIYxY4BFgn3.HSjKyi6dnd1p3Gnz5I1AbmOTawdeTpOjRHnzo6lBT C23NTueBsVrXZbfzB6FTmu5s8dGI7q_knIUav091tcpIv5a7uj.6.EnQSxB9 IxTwIS_NPqk0d8Cklg4MYGPjtTckhkXCtVLY9OmACavYnBenBWxnx.wH1NuE _JUuaq.dCVfRjvrsbjIRC9.Tlxtwt_PAynrTVzTgqF4kyFGAEq5AZlBBb9hU eMHuEvChF3t4s8D0RmUCF9G_CvY09Vu3209CwSJ1SjOETaAeB0Q_LneVTjEB EtXgLysQ9LBcd4f_lRzvBawlZBQEhdKntd_Um0rCzQAE4ejW83CKbyEybpAB tjWeBz6fq.fjaWJa4QT6oQk8Tt7runco0O2rEOE4FhNvxS71NpZuT2Y1b5ok yCdq4pq3bFsCdzbO1e8hQiFnQQ9MFJo04qzDHIuGp5mPTB55bR.ew6INKWYE nhdz6XnE0iTxvaAccXLyluarmiL9C0C37Oy_F97d03GAO1w-- X-Yahoo-SMTP: jvrSwFOswBCeKWj_XwQiHGNPOD7Fl7xrZayV_hmU From: asrofibcllamongan@yahoo.com To: Subject: Re: 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, 05 Jun 2013 17:06:51 -0000 anais_rondeau http://fonio-bio.org/yahoo.com/anna_austin.jpeg From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 17:37:06 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 2B7162F0 for ; Wed, 5 Jun 2013 17:37:06 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay005.isp.belgacom.be (mailrelay005.isp.belgacom.be [195.238.6.171]) by mx1.freebsd.org (Postfix) with ESMTP id 4417B16B9 for ; Wed, 5 Jun 2013 17:37:04 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnYGAMp2r1FbsJH7/2dsb2JhbABZgwmDbLh4gnd9F3SCIwEBBSMzIgEQCxgJFgsCAgkDAgECAScQAQ0GDQEHAQGIDawekUGPKweCR4EUA5AAgSyXU4MROg Received: from 251.145-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.145.251]) by relay.skynet.be with ESMTP; 05 Jun 2013 19:36:56 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r55HashZ039055; Wed, 5 Jun 2013 19:36:55 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <51AF7730.7060306@coosemans.org> Date: Wed, 05 Jun 2013 19:36:48 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: Joseph Mays Subject: Re: USB can't mount msdosfs drive References: <57757F5DB92D498C83D93D04BA6337BB@Gantry> In-Reply-To: <57757F5DB92D498C83D93D04BA6337BB@Gantry> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2UFRJGXIKFOCROQBJAIEL" Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 17:37:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UFRJGXIKFOCROQBJAIEL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2013-06-05 18:33, Joseph Mays wrote: > Joseph Mays: >> Tried several iterations, though it=E2=80=99s clearly a fat32 formatte= d USB >> drive. Shown below are the results of fdisk and the mount_msdosfs >> command. >>=20 >>=20 >> root@warehouse:/root # fdisk /dev/da2 >> ******* Working on device /dev/da2 ******* >> parameters extracted from in-core disklabel are: >> cylinders=3D1897 heads=3D255 sectors/track=3D63 (16065 blks/cyl) >>=20 >> Figures below won't work with BIOS for partitions not in cyl 1 >> parameters to be used for BIOS calculations are: >> cylinders=3D1897 heads=3D255 sectors/track=3D63 (16065 blks/cyl) >>=20 >> Media sector size is 512 >> Warning: BIOS sector numbering starts with sector 1 >> Information from DOS bootblock is: >> The data for partition 1 is: >> sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) >> start 8064, size 30473088 (14879 Meg), flag 80 (active) >> beg: cyl 1/ head 0/ sector 1; >> end: cyl 706/ head 115/ sector 52 >> The data for partition 2 is: >> >> The data for partition 3 is: >> >> The data for partition 4 is: >> >>=20 >> root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 >> mount_msdosfs: /dev/da2s1: Invalid argument > > One item of note =E2=80=93 I did not notice this before, the but follow= ing > messages are appearing in dmesg whenever I try to mount this device. > Note that I have another msdosfs usb stick mounted in usb0, that > mount worked fine first try. >=20 > WARNING: mount of da2s1 denied due to unsupported optional features That's odd, because that warning comes from ext2fs not msdosfs. Do you use ext2fs anywhere? What version of FreeBSD is this? And is this just a standard installation= or do you compile your own kernel? ------enig2UFRJGXIKFOCROQBJAIEL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlGvdzUACgkQfoCS2CCgtitnzwD/YP+CEszz5JSojnnSZa33SNBR OSE6QUNWF5ruPTMwPWgA/0VAVeO4s/tW2HMiMCiXdc2Yh/cruuvHE6rpQDGNOebs =PgJv -----END PGP SIGNATURE----- ------enig2UFRJGXIKFOCROQBJAIEL-- From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 17:50: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 C9C51A6B for ; Wed, 5 Jun 2013 17:50:01 +0000 (UTC) (envelope-from mays@win.net) Received: from filter1.win.net (filter1.win.net [216.24.27.101]) by mx1.freebsd.org (Postfix) with ESMTP id 8FB91175E for ; Wed, 5 Jun 2013 17:50:01 +0000 (UTC) Received: from nb-208.win.net (nb-208.win.net [216.24.27.208]) by filter1.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r55HlOvk016772; Wed, 5 Jun 2013 13:47:24 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-208.win.net (Postfix) with SMTP id 47E2073107; Wed, 5 Jun 2013 13:47:24 -0400 (EDT) Message-ID: From: "Joseph Mays" To: "Tijl Coosemans" References: <57757F5DB92D498C83D93D04BA6337BB@Gantry> <51AF7730.7060306@coosemans.org> In-Reply-To: <51AF7730.7060306@coosemans.org> Subject: Re: USB can't mount msdosfs drive Date: Wed, 5 Jun 2013 13:47:32 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.208; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 02JIFLo3t - 2d9fda68f7bf - 20130605 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=02JIFLo3t&m=2d9fda68f7bf&t=20130605&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=02JIFLo3t&m=2d9fda68f7bf&t=20130605&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=02JIFLo3t&m=2d9fda68f7bf&t=20130605&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 17:50:01 -0000 >> WARNING: mount of da2s1 denied due to unsupported optional features > That's odd, because that warning comes from ext2fs not msdosfs. Do you > use ext2fs anywhere? > What version of FreeBSD is this? And is this just a standard installation > or do you compile your own kernel? root@warehouse:/root # uname -a FreeBSD warehouse 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 No, I didn't compile my own kernel. The USB stick in question was stuck into the back of a redhat linux box. Okay, I did actually try also mounting it with: mount -t ext2fs /dev/da2s1 /usb2 just to see what would happen. After trying it a couple more times I see that was what was adding the that warning to dmesg. So that's explained, but I still don't understand why I can't mount it with mount_msdosfs -----Original Message----- From: Tijl Coosemans Sent: Wednesday, June 05, 2013 1:36 PM To: Joseph Mays Cc: freebsd-questions@freebsd.org Subject: Re: USB can't mount msdosfs drive From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 17:25:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B504CF4E; Wed, 5 Jun 2013 17:25:36 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog105.obsmtp.com (eu1sys200aog105.obsmtp.com [207.126.144.119]) by mx1.freebsd.org (Postfix) with ESMTP id 17A7B1638; Wed, 5 Jun 2013 17:25:34 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob105.postini.com ([207.126.147.11]) with SMTP ID DSNKUa90hz8OlSTV5819r9UgteaN7dNl4Ucj@postini.com; Wed, 05 Jun 2013 17:25:36 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Wed, 5 Jun 2013 20:22:01 +0300 From: Alex Liptsin To: John Baldwin Subject: Re: How to compile ipoib module manually? Thread-Topic: How to compile ipoib module manually? Thread-Index: Ac5hBINaGaDVjqC1T4OcCXIOoLbpUQA4RRMAAArmUzs= Date: Wed, 5 Jun 2013 17:22:01 +0000 Message-ID: <2243E588-1BF8-4935-ACA2-48BA173335FB@Mellanox.Com> References: <64DAB3164E410447932305F50F896D8D6AF6B412@MTLDAG01.mtl.com>, <201306051109.57160.jhb@freebsd.org> In-Reply-To: <201306051109.57160.jhb@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 05 Jun 2013 17:58:23 +0000 Content-Type: text/plain; charset="iso-8859-8-i" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-net@freebsd.org" , Oded Shanoon , Regev Lev , "freebsd-infiniband@freebsd.org" , Meny Yossefi , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 17:25:36 -0000 Thanks a lot. Alex L. Sent from my iPhone On 5 =E1=E9=E5=F0 2013, at 18:13, "John Baldwin" > wrote: On Tuesday, June 04, 2013 5:18:46 am Alex Liptsin wrote: I commented on that lines, because I want to compile and load that modules manually. I had succeed to compile and load mlx4, mlx4ib and mlxen from /sys/modules: [root@h-qa-033 mlxen]# kldstat Id Refs Address Size Name 1 14 0xffffffff80200000 13acbd8 kernel 2 1 0xffffffff81612000 21e5 if_mos.ko 3 3 0xffffffff81615000 124eb mlx4.ko 4 1 0xffffffff81628000 e225 mlx4ib.ko 5 1 0xffffffff81637000 ec60 mlxen.ko The problem is that IPOIB module is missing in /sys/modules. 1. Where can I find it? 2. How can I compile ipoib support? You will have to create one. You should be able to use the existing module Makefiles as a guide. -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 17:37: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 EA3C637C; Wed, 5 Jun 2013 17:37:15 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx1.freebsd.org (Postfix) with ESMTP id B521516BB; Wed, 5 Jun 2013 17:37:15 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w16so2139879pde.9 for ; Wed, 05 Jun 2013 10:37:15 -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=Elfjc8XLk8ZNXjpKJp4DQkktAwsvHwx4vvtjeOU+F6I=; b=qS8flcG+yFBcJyiDxWaWSGj3K9OJQGmTasmH6UXQ6hIfYjlaUsSfsPJW+C2CfiQwPN cjBjXwzzU86Xty8qNzuVLYLF/cqqjALsJ44O4FCcILlTAT3lMmZm/Tzn9c11BKLfbKAE ziVg88Yck+8VYAo1YtgINsgnmVuOwH4WEEo3FY5gffla49C+8ZvbBkQluR0VQUrNVa0L pva/eTPeYpKD5WHBKok2OBn8fUvdaICkZtS5TBYVmOCVSZVDZm5pTRVxHdpG4VAYh0D7 W5iBMsTuQWAndbYb+h65JyMKhVtkwzqtswHe0E+wsjw3BAILhIyfKo0d18/NQSPFTreJ hqVQ== X-Received: by 10.66.126.11 with SMTP id mu11mr34181878pab.81.1370453834995; Wed, 05 Jun 2013 10:37:14 -0700 (PDT) Received: from [192.168.20.5] (c-98-203-241-95.hsd1.wa.comcast.net. [98.203.241.95]) by mx.google.com with ESMTPSA id p2sm5008986pag.22.2013.06.05.10.37.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 10:37:14 -0700 (PDT) Subject: Re: How to compile ipoib module manually? Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=ISO-8859-8-i From: Garrett Cooper In-Reply-To: <2243E588-1BF8-4935-ACA2-48BA173335FB@Mellanox.Com> Date: Wed, 5 Jun 2013 10:34:51 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <64DAB3164E410447932305F50F896D8D6AF6B412@MTLDAG01.mtl.com>, <201306051109.57160.jhb@freebsd.org> <2243E588-1BF8-4935-ACA2-48BA173335FB@Mellanox.Com> To: Alex Liptsin X-Mailer: Apple Mail (2.1283) X-Mailman-Approved-At: Wed, 05 Jun 2013 18:26:54 +0000 Cc: John Baldwin , freebsd-net@freebsd.org, Regev Lev , freebsd-infiniband@freebsd.org, Meny Yossefi , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 17:37:16 -0000 On Jun 5, 2013, at 10:22 AM, Alex Liptsin wrote: > Thanks a lot. >=20 > Alex L. >=20 >=20 > Sent from my iPhone >=20 > On 5 =E1=E9=E5=F0 2013, at 18:13, "John Baldwin" = > wrote: >=20 > On Tuesday, June 04, 2013 5:18:46 am Alex Liptsin wrote: > I commented on that lines, because I want to compile and load that = modules > manually. > I had succeed to compile and load mlx4, mlx4ib and mlxen from = /sys/modules: >=20 > [root@h-qa-033 mlxen]# kldstat > Id Refs Address Size Name > 1 14 0xffffffff80200000 13acbd8 kernel > 2 1 0xffffffff81612000 21e5 if_mos.ko > 3 3 0xffffffff81615000 124eb mlx4.ko > 4 1 0xffffffff81628000 e225 mlx4ib.ko > 5 1 0xffffffff81637000 ec60 mlxen.ko >=20 > The problem is that IPOIB module is missing in /sys/modules. >=20 > 1. Where can I find it? >=20 > 2. How can I compile ipoib support? >=20 > You will have to create one. You should be able to use the existing = module > Makefiles as a guide. (Please don't cross-post multiple mailing lists) See also: https://github.com/yaneurabeya/freebsd/tree/ib-modules = . Diff that branch and master to see what I've done so far to make the = IB stuff into modules (example: = https://github.com/yaneurabeya/freebsd/blob/ib-modules/sys/modules/ipoib/M= akefile ). It's not perfect, but it's a start. Something that I've = wanted to push into the Isilon IB branch for some time, but it's going = to take a while before that's committed back to FreeBSD proper I think. Please credit me and add sponsored-by: EMC Isilon for the = initial work if you push this elsewhere. Otherwise, it's all your's to = play with :). Cheers, -Garrett= From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 18:50:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B22177BF for ; Wed, 5 Jun 2013 18:50:18 +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 78EF51A9B for ; Wed, 5 Jun 2013 18:50:18 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r55IoBrj057187; Wed, 5 Jun 2013 12:50:11 -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 r55IoB57057184; Wed, 5 Jun 2013 12:50:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 5 Jun 2013 12:50:11 -0600 (MDT) From: Warren Block To: Joseph Mays Subject: Re: USB can't mount msdosfs drive 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, 05 Jun 2013 12:50:12 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 18:50:18 -0000 On Wed, 5 Jun 2013, Joseph Mays wrote: > Tried several iterations, though it?s clearly a fat32 formatted USB drive. Shown below are the results of fdisk and the mount_msdosfs command. > > > root@warehouse:/root # fdisk /dev/da2 > ******* Working on device /dev/da2 ******* > parameters extracted from in-core disklabel are: > cylinders=1897 heads=255 sectors/track=63 (16065 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=1897 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) > start 8064, size 30473088 (14879 Meg), flag 80 (active) > beg: cyl 1/ head 0/ sector 1; > end: cyl 706/ head 115/ sector 52 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > > root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 > mount_msdosfs: /dev/da2s1: Invalid argument > root@warehouse:/root # Maybe the "large" option to mount_msdosfs(8)? Also, something is odd about the first partition starting at 8064. What does 'gpart show da2' say? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 19:10:06 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 0FD0EF12 for ; Wed, 5 Jun 2013 19:10:06 +0000 (UTC) (envelope-from mays@win.net) Received: from filter1.win.net (filter1.win.net [216.24.27.101]) by mx1.freebsd.org (Postfix) with ESMTP id CD53D1BA8 for ; Wed, 5 Jun 2013 19:10:05 +0000 (UTC) Received: from nb-200.win.net (nb-200.win.net [216.24.27.200]) by filter1.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r55JA4UZ027187; Wed, 5 Jun 2013 15:10:04 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-200.win.net (Postfix) with SMTP id 81B4D398FA; Wed, 5 Jun 2013 15:10:04 -0400 (EDT) Message-ID: From: "Joseph Mays" To: "Warren Block" References: In-Reply-To: Subject: Re: USB can't mount msdosfs drive Date: Wed, 5 Jun 2013 15:10:12 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.200; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 02JIHa4kS - 5640c9293836 - 20130605 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=02JIHa4kS&m=5640c9293836&t=20130605&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=02JIHa4kS&m=5640c9293836&t=20130605&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=02JIHa4kS&m=5640c9293836&t=20130605&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 19:10:06 -0000 > Maybe the "large" option to mount_msdosfs(8)? > Also, something is odd about the first partition starting at 8064. > What does 'gpart show da2' say? root@warehouse:/backups # gpart show da2 => 63 30481089 da2 MBR (14G) 63 8001 - free - (3.9M) 8064 30473088 1 !12 [active] (14G) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 19:12: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 EFB2EF9 for ; Wed, 5 Jun 2013 19:12:11 +0000 (UTC) (envelope-from mays@win.net) Received: from filter1.win.net (filter1.win.net [216.24.27.101]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD631BDB for ; Wed, 5 Jun 2013 19:12:11 +0000 (UTC) Received: from nb-201.win.net (nb-201.win.net [216.24.27.201]) by filter1.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r55JCAMn029518; Wed, 5 Jun 2013 15:12:10 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-201.win.net (Postfix) with SMTP id E31CA61CDA; Wed, 5 Jun 2013 15:12:10 -0400 (EDT) Message-ID: <3F74C0CB9E7C4CDF9501159278786054@Gantry> From: "Joseph Mays" To: "Warren Block" References: In-Reply-To: Subject: Re: USB can't mount msdosfs drive Date: Wed, 5 Jun 2013 15:12:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.201; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 02JIHcaxC - 1a43c8ea8571 - 20130605 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=02JIHcaxC&m=1a43c8ea8571&t=20130605&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=02JIHcaxC&m=1a43c8ea8571&t=20130605&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=02JIHcaxC&m=1a43c8ea8571&t=20130605&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 19:12:12 -0000 root@warehouse:/backups # mount_msdosfs -o large /dev/da2s1 /usb2 mount_msdosfs: /dev/da2s1: Invalid argument -----Original Message----- From: Warren Block Sent: Wednesday, June 05, 2013 2:50 PM To: Joseph Mays Cc: freebsd-questions@freebsd.org Subject: Re: USB can't mount msdosfs drive On Wed, 5 Jun 2013, Joseph Mays wrote: > Tried several iterations, though it?s clearly a fat32 formatted USB drive. > Shown below are the results of fdisk and the mount_msdosfs command. > > > root@warehouse:/root # fdisk /dev/da2 > ******* Working on device /dev/da2 ******* > parameters extracted from in-core disklabel are: > cylinders=1897 heads=255 sectors/track=63 (16065 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=1897 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA)) > start 8064, size 30473088 (14879 Meg), flag 80 (active) > beg: cyl 1/ head 0/ sector 1; > end: cyl 706/ head 115/ sector 52 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > > root@warehouse:/root # mount_msdosfs /dev/da2s1 /usb2 > mount_msdosfs: /dev/da2s1: Invalid argument > root@warehouse:/root # Maybe the "large" option to mount_msdosfs(8)? Also, something is odd about the first partition starting at 8064. What does 'gpart show da2' say? From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 19:54:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7C97EE62 for ; Wed, 5 Jun 2013 19:54:49 +0000 (UTC) (envelope-from bw.mail.lists@gmail.com) Received: from mail-ea0-x229.google.com (mail-ea0-x229.google.com [IPv6:2a00:1450:4013:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id 1494F1DBF for ; Wed, 5 Jun 2013 19:54:48 +0000 (UTC) Received: by mail-ea0-f169.google.com with SMTP id h15so1511340eak.14 for ; Wed, 05 Jun 2013 12:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XukAFV4eMmC2QMCNnZc8g0GZo4Ox9qN7FUxQmjO0+Eo=; b=UUrf1fY0KUL00IwvJkG1n4sm4XHRlkBJbkMfxzJS8bbBnij1NYP9FQ3kl/rKcsanQd d8xhNRKHqTrWGqLoYJuz3bF9PPZzKUuAci6evPYYPa1+mJkb+WiZqnnaojclScxn4e8D GUMIWgP3YrW3IDfKBhGAgWST8H39vFBauobDzWEc/FuXthvsUvv5MuNvFIbAI6sCoeE8 ruux+jgtCTuQtLtD7IrAliJ05w/Bss8InjiU83vIJrmYiCx18bIGpqKH9FrO9kQa8wJd v8UcHudcTe73UfqFHjTzDVZHLmkj+a7Rw+mcdroy//Ca+6f/upgDLL1A3DgTH+q49AAS bcwA== X-Received: by 10.15.98.14 with SMTP id bi14mr30101616eeb.92.1370462088288; Wed, 05 Jun 2013 12:54:48 -0700 (PDT) Received: from [127.0.0.1] (dhcp-089-099-136-227.chello.nl. [89.99.136.227]) by mx.google.com with ESMTPSA id m45sm9456096eeu.17.2013.06.05.12.54.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 12:54:47 -0700 (PDT) Message-ID: <51AF9770.4020308@gmail.com> Date: Wed, 05 Jun 2013 21:54:24 +0200 From: "bw.mail.lists" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: getting system's telnet sessions' pid per pty References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 19:54:49 -0000 > any ideas? any other command line tools which may help me?? any command > which gives me pid per tty information or alike? Try fstat(1) and procstat(1) From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 20:03:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AD56D23A for ; Wed, 5 Jun 2013 20:03:57 +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 781D91E3C for ; Wed, 5 Jun 2013 20:03:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-136-185.dynamic.qsc.de [92.195.136.185]) by mx01.qsc.de (Postfix) with ESMTP id 148BE3CF5F; Wed, 5 Jun 2013 21:56: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 r55JuNTT003483; Wed, 5 Jun 2013 21:56:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 5 Jun 2013 21:56:23 +0200 From: Polytropon To: "Joseph Mays" Subject: Re: USB can't mount msdosfs drive Message-Id: <20130605215623.d0986046.freebsd@edvax.de> In-Reply-To: <3F74C0CB9E7C4CDF9501159278786054@Gantry> References: <3F74C0CB9E7C4CDF9501159278786054@Gantry> 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, 05 Jun 2013 20:03:57 -0000 On Wed, 5 Jun 2013 15:12:19 -0400, Joseph Mays wrote: > root@warehouse:/backups # mount_msdosfs -o large /dev/da2s1 /usb2 > mount_msdosfs: /dev/da2s1: Invalid argument Just a wild guess, without having tried any reference test on my side, but did you already try to access da2 instead of da2s1? _Sometimes_ (and I can't even tell you at _what_ times) a FAT (msdosfs) formatted media can be mounted in that specific way (even though I assume that in such a case, no slice device would be present - but as I said, just a guess maybe worth a try). # mount_msdosfs /dev/da2 /usb2 But just to be fully sure: This is a USB stick / thumb drive, right? It's not some internal card reader (which would probably require "re-tasting")? Just asking to make sure I haven't missed this fact while reading... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 20:12:56 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 4107F586 for ; Wed, 5 Jun 2013 20:12:56 +0000 (UTC) (envelope-from mays@win.net) Received: from filter2.win.net (filter2.win.net [216.24.27.102]) by mx1.freebsd.org (Postfix) with ESMTP id 091431EC6 for ; Wed, 5 Jun 2013 20:12:55 +0000 (UTC) Received: from nb-201.win.net (nb-201.win.net [216.24.27.201]) by filter2.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r55KCpDq027886; Wed, 5 Jun 2013 16:12:51 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-201.win.net (Postfix) with SMTP id 1569561CC6; Wed, 5 Jun 2013 16:12:51 -0400 (EDT) Message-ID: From: "Joseph Mays" To: "Polytropon" References: <3F74C0CB9E7C4CDF9501159278786054@Gantry> <20130605215623.d0986046.freebsd@edvax.de> In-Reply-To: <20130605215623.d0986046.freebsd@edvax.de> Subject: Re: USB can't mount msdosfs drive Date: Wed, 5 Jun 2013 16:12:59 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.201; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 01JIIcPsx - 714953f1cbe3 - 20130605 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=01JIIcPsx&m=714953f1cbe3&t=20130605&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=01JIIcPsx&m=714953f1cbe3&t=20130605&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=01JIIcPsx&m=714953f1cbe3&t=20130605&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.102 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 20:12:56 -0000 > did you already try to access da2 instead of da2s1? Yeah, tried that early on, got the same result. root@warehouse:/backups/postgres-02/info # mount_msdosfs /dev/da2 /usb2 mount_msdosfs: /dev/da2: Invalid argument > But just to be fully sure: This is a USB stick / thumb drive, right? Yes. It's one of several thumb drives that were mounted in the back of some linux machines at remote sites we help a customer with. The client is unsure what was on them, but needs to know. We asked them to gather them up and stick them into usb ports on a freebsd machine we have access to and manage at their location (in another state). Most of them I got mounted as either msdosfs, or ufs, or ntfs, or extfs2, and was able to get the data off them. This thumb drive is one of two holdouts. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 5 21:47: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 766F2230 for ; Wed, 5 Jun 2013 21:47:22 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-x230.google.com (mail-gg0-x230.google.com [IPv6:2607:f8b0:4002:c02::230]) by mx1.freebsd.org (Postfix) with ESMTP id 2D1491488 for ; Wed, 5 Jun 2013 21:47:21 +0000 (UTC) Received: by mail-gg0-f176.google.com with SMTP id i2so122810ggk.21 for ; Wed, 05 Jun 2013 14:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=9e4PpY+HRbUXV6uuGWEh4YBbmAkfXr2ySm6vFByarz4=; b=e8ks14eoLWxnCBq1Bk49CJQz91nJ/4yTVafYQeLqudM4om/kCfz91JqMLhz5DJn80i 2qc3gWXBvexH2qAuu7cC5AbpIf+XP1BMjRCJGBDscpAOvpoelUesCtacRIR37MSN1xyu I4ihGhOECDX+s38ohqJTweztI6bRJDnFDAYjQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=9e4PpY+HRbUXV6uuGWEh4YBbmAkfXr2ySm6vFByarz4=; b=bi+ymsoTaNn00DlxOUkEbz6558UuDJnuIf+IJgAa1Uc3MA8X/yMu3X8hHCgegE5IP6 s2nq7V+BXVDnTPe0gmFpecnOiNc06OsqDnXYF8a8EDH6e5KIjNEsN5BXT6OD9Ct6666m hzV7ETm5HEIoJuH/+oa1aJZrdcPcCYRXr8fBxBq7LJNDPVqjOJc3GgjnZrQIkLE89ZGh A7LO2ZC2Q/dN2Gz5rt5JpYinquQvHTv4uLdDlWh63gFQfjLyLHwYkBBS2A5Mj0AvZXxZ hS2MagidJhwd+oEH81t5FxmgphhBFso5bDRQmNhJTBCkUhtI0LNqphbm4vHq/BKuwVEH fTOA== X-Received: by 10.236.227.234 with SMTP id d100mr25499193yhq.134.1370468841421; Wed, 05 Jun 2013 14:47: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 z67sm54887802yhb.5.2013.06.05.14.47.20 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 14:47:20 -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 3bQk9z4zK2z2CG69 for ; Wed, 5 Jun 2013 17:47:19 -0400 (EDT) Date: Wed, 5 Jun 2013 17:47:19 -0400 From: Jerry To: FreeBSD Subject: Re: USB can't mount msdosfs drive Message-ID: <20130605174719.0914ef5c@scorpio> In-Reply-To: References: <3F74C0CB9E7C4CDF9501159278786054@Gantry> <20130605215623.d0986046.freebsd@edvax.de> Organization: seibercom.net X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; 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: ALoCoQloVCWkKdELGh5LvQ3VKlwnAuTU81molCmWG87PaklIOZxNrdomL+F7i3/iYwehdW/3f7Rn 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: Wed, 05 Jun 2013 21:47:22 -0000 On Wed, 5 Jun 2013 16:12:59 -0400 Joseph Mays articulated: > Yes. It's one of several thumb drives that were mounted in the back > of some linux machines at remote sites we help a customer with. The > client is unsure what was on them, but needs to know. We asked them > to gather them up and stick them into usb ports on a freebsd machine > we have access to and manage at their location (in another state). > Most of them I got mounted as either msdosfs, or ufs, or ntfs, or > extfs2, and was able to get the data off them. This thumb drive is > one of two holdouts. Is it possible that they are petitioned as exFAT (Extended File Allocation Table) drives? That is how I partition all of my flash drives. -- 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 Wed Jun 5 23:22: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 DC7DE611 for ; Wed, 5 Jun 2013 23:22:10 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 674EC197B for ; Wed, 5 Jun 2013 23:22:09 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r55NLvf2070404; Thu, 6 Jun 2013 01:21:58 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <51AFC80A.3020303@bananmonarki.se> Date: Thu, 06 Jun 2013 01:21:46 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130419 Thunderbird/17.0.5 MIME-Version: 1.0 To: Joseph Mays Subject: Re: USB can't mount msdosfs drive References: <3F74C0CB9E7C4CDF9501159278786054@Gantry> <20130605215623.d0986046.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 23:22:10 -0000 On 2013-06-05 22:12, Joseph Mays wrote: >> did you already try to access da2 instead of da2s1? > > Yeah, tried that early on, got the same result. > > root@warehouse:/backups/postgres-02/info # mount_msdosfs /dev/da2 /usb2 > mount_msdosfs: /dev/da2: Invalid argument > >> But just to be fully sure: This is a USB stick / thumb drive, right? > > Yes. It's one of several thumb drives that were mounted in the back of > some linux machines at remote sites we help a customer with. The client > is unsure what was on them, but needs to know. We asked them to gather > them up and stick them into usb ports on a freebsd machine we have > access to and manage at their location (in another state). Most of them > I got mounted as either msdosfs, or ufs, or ntfs, or extfs2, and was > able to get the data off them. This thumb drive is one of two holdouts. If you do a ls /dev/da* What does it show. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 04:45:19 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 CFEEAA80 for ; Thu, 6 Jun 2013 04:45:19 +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 5F1E4171C for ; Thu, 6 Jun 2013 04:45:18 +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; 06 Jun 2013 14:15:10 +0930 Message-ID: <51B013D2.5070106@ShaneWare.Biz> Date: Thu, 06 Jun 2013 14:15:06 +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: Waitman Gobble Subject: Re: why is ports web page so far out of date References: <51ADD8AF.5010102@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 04:45:19 -0000 On 05/06/2013 17:00, Waitman Gobble wrote: > If you must have a web based version, another option is DIY roll your > own ports index based on your own local ports tree. At least you can > set it up how you want. > > a simple quick-together script running on my computer: > https://dx.burplex.com/FreeBSD-ports/index.php > > there's a github link at the bottom of the page you can hack on if you wanna. > > cool thing is you can easily cross-reference all the corresponding > gnats PR files in your mailbox to the generated port page, i'll add > that bit tomorrow. That looks useful. One thing I would think of adding is a search box. I would have thought of breaking the lists into pages but am surprised at how fast the longer pages are generated. One port that it has an issue with is devel/pear-HTML_Select_Common the in the pkg-desc consumes all the following ports info. So you > probably want to escape or translate "<" ">" into < > > > hi, search box would probably be cool! :) I'll get on it. and yes, it /totally/ needed to broken up into pages. I think that's working now. Ok, I agree with you on the HTML entities, it's a done deal.. There are some updates to post. I have GNATS linked up. I thought I might have to cache a bunch of stuff considering > du -h ports 1.5G ports just the ports-related GNATS stuff is 1.5G. and growing every day. but it's live code, seems perky enough. It might be good to add in the mailing list stuff too. maybe 10x that 1.5G though, guessing.? I'm thinking about trying to somehow cross-reference the Makefiles to the Porter's Handbook and maybe the .mk files. And maybe the other way around too. It's like a bag of examples. -- Waitman Gobble San Jose California USA 510-830-7975 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 12:54: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 A61B1ADA for ; Thu, 6 Jun 2013 12:54:19 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 25F9B1F6E for ; Thu, 6 Jun 2013 12:54:19 +0000 (UTC) Received: from vhoffman.lon.namesco.net (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.7/8.14.6) with ESMTP id r56CsEBL025535 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 6 Jun 2013 13:54:18 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <51B08676.9010804@unsane.co.uk> Date: Thu, 06 Jun 2013 13:54:14 +0100 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Arthur Chance Subject: Re: poudriere keeps rebuilding apache22 on every run References: <51AF5406.9080400@unsane.co.uk> <51AF5D1A.7080202@qeng-ho.org> In-Reply-To: <51AF5D1A.7080202@qeng-ho.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "FreeBSD-Questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 12:54:19 -0000 On 05/06/2013 16:45, Arthur Chance wrote: > On 06/05/13 16:06, Vincent Hoffman wrote: >> I'm not certain if this is the best place to ask but I seem to be having >> issues with apache22 and poudriere. >> >> on every run I get >> >> ====>> Creating the reference jail... done >> ====>> Mounting system devices for 8amd64-default >> ====>> Mounting ports/packages/distfiles >> ====>> Mounting packages from: >> /usr/local/poudriere_data/packages/8amd64-default >> ====>> Mounting /var/db/ports from: >> /usr/local/etc/poudriere.d/8amd64-options >> ====>> Logs: >> /usr/local/poudriere_data/logs/bulk/8amd64-default/2013-06-05_12:55:43 >> ====>> Appending to make.conf: >> /usr/local/etc/poudriere.d/8amd64-make.conf >> /etc/resolv.conf -> >> /usr/local/poudriere_data/build/8amd64-default/ref/etc/resolv.conf >> ====>> Starting jail 8amd64-default >> ====>> Calculating ports order and dependencies >> ====>> Sanity checking the repository >> ====>> Options changed, deleting: apache22-2.2.24.txz >> >> >> the options were set a while back and havent changed. >> root@bsdpkgbuild:~ # ls -la >> /usr/local/etc/poudriere.d/8amd64-options/apache22/ >> total 13 >> drwxr-xr-x 2 root wheel 3 May 21 17:44 . >> drwxr-xr-x 241 root wheel 242 Jun 4 22:41 .. >> -rw-r--r-- 1 root wheel 3191 May 21 17:44 options >> root@bsdpkgbuild:~ # >> >> any suggestions? Its not a big problem but it means that apache and >> everything that depends on it gets rebuild every time poudriere runs. > > I get similar problems, but it's often a random subset of packages. > Usually the ones that take a long time to build :-( > for me I tracked it down to my somehow having OPTIONS_FILE_SET+=PROXY_FTP OPTIONS_FILE_SET+=PROXY_HTTP but not OPTIONS_FILE_SET+=PROXY in my apache22/options file not sure how that happened but it meant that what the package got built with wasnt what i had in my options file, thus rebuilding every time. Vince From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 13:56: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 4EBA26C9 for ; Thu, 6 Jun 2013 13:56:24 +0000 (UTC) (envelope-from ahamiltonwright@mta.ca) Received: from smtpy.mta.ca (smtpy.mta.ca [138.73.1.143]) by mx1.freebsd.org (Postfix) with ESMTP id 2960F1319 for ; Thu, 6 Jun 2013 13:56:23 +0000 (UTC) Received: from host-29-237.mta.ca ([138.73.29.237]:60882) by smtpy.mta.ca with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1UkaAL-0007bE-Pd for freebsd-questions@freebsd.org; Thu, 06 Jun 2013 10:23:45 -0300 From: Andrew Hamilton-Wright Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Boot hangs in single-user mode Date: Thu, 6 Jun 2013 10:24:52 -0300 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: Thu, 06 Jun 2013 13:56:24 -0000 Strangely, it seems that I cannot boot single user, either using "boot = -s" from the boot loader, or using the boot menu. When I get to the = point where the root filesystem is mounted, it hangs right after = printing the message: Trying to mount root from ufs:/dev/ada0s1a Interestingly, there seems to be a bit of a sequence issue, as I have = also seen the mount message appear before the audio system comes up, so = occasionally, the last item printed is: pcm0: on uaudio0 If I boot normally, however, I can consistently reach a login prompt. I suspect that this may be a race condition of some kind, as yesterday I = am sure I successfully booted to single-user while trying to solve a = separate problem. In case the separate problem (failed disk) is relevant, the general = situation is this: - four disk machine: ada0 (/, /usr, /tmp, /var); ada1 (/research -- = data only), ada2 (/home), ada3 (/data -- also data only) - the disk ada2 has failed - in preparing to replace ada2, I have commented out all references to = it from /etc/fstab I am rebooting the machine at the moment as I wish to ensure that I know = which physical disk is ada2, so want to boot the machine without it = plugged in. I seem to have trouble booting at all with ada2 missing and = ada3 still attached, but can boot to multiuser with no problems in = either of these two configuration: - all disks (including the faulty one) plugged in, with ada2 references = removed from /etc/fstab - ada2 and ada3 not physically plugged in, and all references to either = removed from /etc/fstab Neither combination allows me to boot single-user. While I can clearly go ahead with my disk replacement, this is not only = strange and annoying, but potentially problematic. Has anyone else seen anything like this? I notice that there are = several messages (dating back to 2004) in the list indicating 'hang = after "Trying to mount root"' or 'hang after sbin_init' (which is the = message that will be seen when booting single-user in "verbose mode"). Thoughts? Ideas? Thanks, Andrew. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 14:04:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9313CB0D for ; Thu, 6 Jun 2013 14:04:36 +0000 (UTC) (envelope-from mays@win.net) Received: from filter1.win.net (filter1.win.net [216.24.27.101]) by mx1.freebsd.org (Postfix) with ESMTP id 58FCE1382 for ; Thu, 6 Jun 2013 14:04:36 +0000 (UTC) Received: from nb-200.win.net (nb-200.win.net [216.24.27.200]) by filter1.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r56E4R0I011697; Thu, 6 Jun 2013 10:04:28 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-200.win.net (Postfix) with SMTP id 85687398EF; Thu, 6 Jun 2013 10:04:27 -0400 (EDT) Message-ID: From: "Joseph Mays" To: "Bernt Hansson" References: <3F74C0CB9E7C4CDF9501159278786054@Gantry> <20130605215623.d0986046.freebsd@edvax.de> <51AFC80A.3020303@bananmonarki.se> In-Reply-To: <51AFC80A.3020303@bananmonarki.se> Subject: Re: USB can't mount msdosfs drive Date: Thu, 6 Jun 2013 10:04:33 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.200; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 02JJ24rg9 - d3d03d3dfa75 - 20130606 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=02JJ24rg9&m=d3d03d3dfa75&t=20130606&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=02JJ24rg9&m=d3d03d3dfa75&t=20130606&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=02JJ24rg9&m=d3d03d3dfa75&t=20130606&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101 Cc: Polytropon , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 14:04:36 -0000 > If you do a ls /dev/da* What does it show. root@warehouse:/root # ls -la /dev/da* crw-r----- 1 root operator 0, 123 Jun 4 17:08 /dev/da0 crw-r----- 1 root operator 0, 124 Jun 4 17:08 /dev/da0s1 crw-r----- 1 root operator 0, 131 Jun 4 17:08 /dev/da1 crw-r----- 1 root operator 0, 132 Jun 4 17:08 /dev/da1s1 crw-r----- 1 root operator 0, 138 Jun 4 17:08 /dev/da2 crw-r----- 1 root operator 0, 108 Jun 5 15:11 /dev/da2s1 crw-r----- 1 root operator 0, 154 Jun 4 17:08 /dev/da3 crw-r----- 1 root operator 0, 155 Jun 4 17:08 /dev/da3s1 crw-r----- 1 root operator 0, 152 Jun 4 12:08 /dev/da3s2 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 14:12: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 034B8D9A for ; Thu, 6 Jun 2013 14:12:16 +0000 (UTC) (envelope-from prvs=8623f0649=a@jenisch.at) Received: from mgaterz1.oekb.co.at (mgaterz1.oekb.co.at [143.245.5.111]) by mx1.freebsd.org (Postfix) with ESMTP id 9016F1483 for ; Thu, 6 Jun 2013 14:12:15 +0000 (UTC) Received: from exchhubcas2.oekb.co.at ([143.245.3.66]) by mgaterz1.oekb.co.at with ESMTP/TLS/AES128-SHA; 06 Jun 2013 16:11:04 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by internal-relay-exchhubcas2.oekb.co.at (143.245.3.65) with Microsoft SMTP Server id 14.2.318.4; Thu, 6 Jun 2013 16:11:04 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.7/8.14.7) with ESMTP id r56EB4KY002879 for ; Thu, 6 Jun 2013 16:11:04 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.7/8.14.7/Submit) id r56EB4PH002878 for freebsd-questions@freebsd.org; Thu, 6 Jun 2013 16:11:04 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Thu, 6 Jun 2013 16:11:04 +0200 From: Ewald Jenisch To: Subject: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5 Message-ID: <20130606141104.GA1261@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 14:12:16 -0000 Hi, Several days ago I got a HP Proliant DL580 G5 that I wanted to install FreeBSD 9.1 (64bit) on - till now without any success :-(. Symptoms: Upon booting off the installation DVD the system freezes (when running the installation "non-verbose") or installation stops with a panic followed by an automatic reboot. Here's what I tried so far: o) Updating BIOS, array-controller, iLO to the latest version o) Booting the installation DVD in safe-mode o) Booting the installatino DVD verbose mode o) Escaping to the loader prompt, entering kern.eventtimer.periodic=1 kern.eventtimer.timer="LAPIC" and booting the install-DVD with these settings (I once could boot and older HP-server using these settings, so I tried them here too) Nothing of this helped - the system just freezes/crashes in an early stage even before the actual installer starts. I uploaded screenshots to a server so you can see what's happening: http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-01.jpg http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-02.jpg http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-03.jpg http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg ("FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg" shows the actual panic/stacktrace) Anybody seen this before? Any known cure against this problem? Thanks much in advance for any clue, -ewald From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 14:14:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 15042E68 for ; Thu, 6 Jun 2013 14:14:13 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id E2E2815D8 for ; Thu, 6 Jun 2013 14:14:12 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 53AA233C49; Thu, 6 Jun 2013 10:14:05 -0400 (EDT) From: Lowell Gilbert To: "Joseph Mays" Subject: Re: USB can't mount msdosfs drive References: <3F74C0CB9E7C4CDF9501159278786054@Gantry> <20130605215623.d0986046.freebsd@edvax.de> <51AFC80A.3020303@bananmonarki.se> Date: Thu, 06 Jun 2013 10:14:05 -0400 In-Reply-To: (Joseph Mays's message of "Thu, 6 Jun 2013 10:04:33 -0400") Message-ID: <44wqq71g42.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 14:14:13 -0000 "Joseph Mays" writes: >> If you do a ls /dev/da* What does it show. > > root@warehouse:/root # ls -la /dev/da* > crw-r----- 1 root operator 0, 123 Jun 4 17:08 /dev/da0 > crw-r----- 1 root operator 0, 124 Jun 4 17:08 /dev/da0s1 > crw-r----- 1 root operator 0, 131 Jun 4 17:08 /dev/da1 > crw-r----- 1 root operator 0, 132 Jun 4 17:08 /dev/da1s1 > crw-r----- 1 root operator 0, 138 Jun 4 17:08 /dev/da2 > crw-r----- 1 root operator 0, 108 Jun 5 15:11 /dev/da2s1 > crw-r----- 1 root operator 0, 154 Jun 4 17:08 /dev/da3 > crw-r----- 1 root operator 0, 155 Jun 4 17:08 /dev/da3s1 > crw-r----- 1 root operator 0, 152 Jun 4 12:08 /dev/da3s2 Just checking the obvious: you're sure this particular disk is showing up as da2, right? From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 14:16: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 71ECEF30 for ; Thu, 6 Jun 2013 14:16:28 +0000 (UTC) (envelope-from mays@win.net) Received: from filter1.win.net (filter1.win.net [216.24.27.101]) by mx1.freebsd.org (Postfix) with ESMTP id 36A6C1626 for ; Thu, 6 Jun 2013 14:16:27 +0000 (UTC) Received: from nb-208.win.net (nb-208.win.net [216.24.27.208]) by filter1.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id r56EGRWl022580 for ; Thu, 6 Jun 2013 10:16:27 -0400 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-208.win.net (Postfix) with SMTP id 7AD3F73115 for ; Thu, 6 Jun 2013 10:16:27 -0400 (EDT) Message-ID: <2902B1DD66E640E3A7E7962D97D1B66E@Gantry> From: "Joseph Mays" To: References: <3F74C0CB9E7C4CDF9501159278786054@Gantry><20130605215623.d0986046.freebsd@edvax.de><51AFC80A.3020303@bananmonarki.se> <44wqq71g42.fsf@be-well.ilk.org> In-Reply-To: <44wqq71g42.fsf@be-well.ilk.org> Subject: Re: USB can't mount msdosfs drive Date: Thu, 6 Jun 2013 10:16:33 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.208; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 02JJ2grCL - 2e1ba10ba82b - 20130606 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=02JJ2grCL&m=2e1ba10ba82b&t=20130606&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=02JJ2grCL&m=2e1ba10ba82b&t=20130606&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=02JJ2grCL&m=2e1ba10ba82b&t=20130606&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101 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, 06 Jun 2013 14:16:28 -0000 > Just checking the obvious: you're sure this particular disk is showing > up as da2, right? Yes. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 14:18: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 4189CFF2 for ; Thu, 6 Jun 2013 14:18:22 +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 0BBB01649 for ; Thu, 6 Jun 2013 14:18:21 +0000 (UTC) Received: from r56.edvax.de (port-92-195-136-185.dynamic.qsc.de [92.195.136.185]) by mx02.qsc.de (Postfix) with ESMTP id 2D64F27803; Thu, 6 Jun 2013 16:18:14 +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 r56EIOck002347; Thu, 6 Jun 2013 16:18:24 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 6 Jun 2013 16:18:24 +0200 From: Polytropon To: Andrew Hamilton-Wright Subject: Re: Boot hangs in single-user mode Message-Id: <20130606161824.4c45f579.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: Thu, 06 Jun 2013 14:18:22 -0000 On Thu, 6 Jun 2013 10:24:52 -0300, Andrew Hamilton-Wright wrote: > > Strangely, it seems that I cannot boot single user, either > using "boot -s" from the boot loader, or using the boot menu. > When I get to the point where the root filesystem is mounted, > it hangs right after printing the message: > Trying to mount root from ufs:/dev/ada0s1a Have you tried hitting the RETURN key several times? I've seen what you've described once (I think on a FreeBSD 5 system): The prompt Enter full pathname of shell or RETURN for /bin/sh: _ would not appear, but the system was still responding. Hitting RETURN made that prompt visible and the SUM shell prompt was properly displayed. It's important to identify if the system is _really_ hanging, or if the message "just isn't visible"... > Interestingly, there seems to be a bit of a sequence issue, > as I have also seen the mount message appear before the audio > system comes up, so occasionally, the last item printed is: > pcm0: on uaudio0 This seems to indicate that the system is still responding, i. e., the kernel is "up and running". Whenever "new" hardware is detected, the kernel will issue a console message. For example, on my home system the detection of the built-in USB is sometimes a bit slow, so its messages appear "later on" in the booting sequence, _after_ the initial kernel messages (e. g., during firewall initialisation). > I suspect that this may be a race condition of some kind, as > yesterday I am sure I successfully booted to single-user while > trying to solve a separate problem. Try some more. :-) > I am rebooting the machine at the moment as I wish to ensure > that I know which physical disk is ada2, so want to boot the > machine without it plugged in. A suggestion: I tend to keep a tendency to use labels instead of device names to identify disks. This is handy in case you're running some kind of RAID configuration or use striping and mirroring. Mark the disks with numbers and colors, as you prefer (for example this nomenclature: color = stripe, number = mirror), to reflect "being element of a stripe" and "being one of the mirrors of N" properties both by the label (software) and the physical disk (hardware). So you can _directly_ deduct from a label (for example of a disk that is reported as failing) like "red 2" that the disk is the 2nd mirror disk in the "red" stripe, and _which_ physical disk is it? The one with a red "2" on it. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 14:38: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 731C98E0 for ; Thu, 6 Jun 2013 14:38:10 +0000 (UTC) (envelope-from ahamiltonwright@mta.ca) Received: from smtpy.mta.ca (smtpy.mta.ca [138.73.1.143]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4DC1758 for ; Thu, 6 Jun 2013 14:38:09 +0000 (UTC) Received: from host-29-237.mta.ca ([138.73.29.237]:61036) by smtpy.mta.ca with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1UkbJF-00080T-VR; Thu, 06 Jun 2013 11:37:01 -0300 Subject: Re: Boot hangs in single-user mode Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Andrew Hamilton-Wright In-Reply-To: <20130606161824.4c45f579.freebsd@edvax.de> Date: Thu, 6 Jun 2013 11:38:08 -0300 Content-Transfer-Encoding: quoted-printable Message-Id: <17091F53-E841-4BDC-B0A8-3E2814CF68E9@mta.ca> References: <20130606161824.4c45f579.freebsd@edvax.de> To: Polytropon 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: Thu, 06 Jun 2013 14:38:10 -0000 [ Condensation of earlier comments below ] On 2013-06-06, at 11:18 AM, Polytropon wrote: > On Thu, 6 Jun 2013 10:24:52 -0300, Andrew Hamilton-Wright wrote: >>=20 >> When I get to the point where the root filesystem is mounted, >> it hangs right after printing the message: >> Trying to mount root from ufs:/dev/ada0s1a >=20 > Have you tried hitting the RETURN key several times? ... > It's important to identify if the system is _really_ hanging, > or if the message "just isn't visible"... I did try that -- I have seen that behaviour before too. I tried = hitting return a half-dozen times, and have additionally tried waiting (up to 20 min) = to see if it would come back, to no avail. >> Interestingly, there seems to be a bit of a sequence issue, >> as I have also seen the mount message appear before the audio >> system comes up, so occasionally, the last item printed is: >> pcm0: on uaudio0 >=20 > This seems to indicate that the system is still responding, > i. e., the kernel is "up and running". Whenever "new" hardware > is detected, the kernel will issue a console message. That is a good point -- I will try plugging in an external USB device at this point, and see what happens then. It certainly appears that the system is generally running to me, as well. I should also mention that the system does respond nicely to [CTRL]-[ALT]-[DEL], which triggers the expected reboot process. >> I am rebooting the machine at the moment as I wish to ensure >> that I know which physical disk is ada2, so want to boot the >> machine without it plugged in. >=20 > A suggestion: I tend to keep a tendency to use labels instead > of device names to identify disks. This is handy in case you're This is an excellent idea. I do follow some variant of this (however work at a high enough level of paranoia that I want to be able to perform the "did the right drive disappear when I unplugged it" check just to ensure that I wasn't asleep when making up the labels. ;-) Thanks for the suggestions -- I will keep looking at it, and will try adding a USB device once this restore eventually completes. Thanks, Andrew. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 14:41:54 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 7F6E79B4 for ; Thu, 6 Jun 2013 14:41:54 +0000 (UTC) (envelope-from MGASS@csbsju.edu) Received: from smtp1.computing.csbsju.edu (smtp1.computing.csbsju.edu [152.65.184.22]) by mx1.freebsd.org (Postfix) with ESMTP id 28DCE1787 for ; Thu, 6 Jun 2013 14:41:53 +0000 (UTC) X-AuditID: ac10425b-b7f886d0000037af-f2-51b09faa72a6 Received: from Mail-HTCAS2.ad.csbsju.edu (Unknown_Domain [172.16.66.44]) by smtp1.computing.csbsju.edu (Symantec Messaging Gateway) with SMTP id 01.18.14255.AAF90B15; Thu, 6 Jun 2013 09:41:47 -0500 (CDT) Received: from nx.csbsju.edu (172.16.66.48) by MAIL-HTCAS2.ad.csbsju.edu (172.16.66.44) with Microsoft SMTP Server id 14.3.123.3; Thu, 6 Jun 2013 09:41:46 -0500 Received: by nx.csbsju.edu (Postfix, from userid 1401) id 994F9180931; Thu, 6 Jun 2013 09:41:46 -0500 (CDT) Date: Thu, 6 Jun 2013 09:41:46 -0500 From: Michael Gass To: Subject: Error building math/sage Message-ID: <20130606144146.GA14877@csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA11TfUwTdxjm168ctT97vZb2tYCZp2bLgmhl2cy+Mt0W9Q8zmmVm0UzXwtnW fq7XqrgtssRJSjYDUZjgrBJrDIpQukxndCY0g+EWHWYgMkW3ocksZQGLiYCju+tROPynefs8 v/d53q8jpNS9XCPh8AQYv8fiohVKWQu5rmjF2eNR86r0iHLNw8cx2Vtow5FHx2WlaIvy9XLG 5djF+Fe++bHSHo30ynxNa/bUp9oVlei0qRrlEkC+BOkrB6RCrIeeu22KaqQkKPI6gkg6IRH+ RBB0V48p+FcU6YFjX3wv4WMZuQwODIxkshXkcqjqPCjjYx25FKZv3sjgWnIJNCT7EB9jciX8 MxySCLEGrjbcz7yXkkVw4tIjTp/g4nw4PU3wcB4nf/jq+RnbQqivuSOtQepGUXajKLtxLvsE kp5BRtYd8JmKy7xuXzDg8NiKy1gruzNYzJQHY0iY3NYfUDhliiOSQLQKQ2mbmZJbdrEV7jhy EhLaiDfLz5oprdVbXmG3sPbtbNDqdrCsw+uh87A6HDVTC2c5f9DFsLQO23kYz8LWoMtJL8Z9 NefMlEEkxPocZQ5vkN0e9LviCAgpl1pwlE8tt1TsZfxeQTCO8gkZbcD9+5OlFGmzBBgnw/gY f5bdTRB0IUY5OTmU3s/YmD07HC7uOMSVAl7Ol6QR00KxBtxRxzGkmMnUuwTfe9BqpozzFeeX LCFy48hGqOhFgj3F+ixu1mETW+vw6DG+pSwl2GrxOzyqyqIZy0J8uJYbkX5ORWz3C/rEWIA1 /Is8/oU96JnfpdGAJ3lRUsRm3Ix63PsaR6hFBG9ofA4/z8stmicn9kygkIS7CxCOQMN9dM90 p8Xv84NVzTBCc5RwAAtmwExvBbguU/mshNhm9UlEIPJ3HfQ2rYC2Hz0Q+3ICwdSvzRI4WpuS wKH/vpJDrO6iHG4PXZdD87khOYTrHyghnJhSQrLq0ALobriMId1xC0PbyQkM7V1PMXSEbi6E 2M+NaojduExCov8nDfzxMKmBI31/UxC+G9PCk5b7Wuge69TBk8qqPGgdHed/6vQQiowa4OnA KYA7v7UARFsvQIJbtWRu1QHLs8PQ4XH+ZHCWyq56mD98VRadWfVITWbVsyrieRgr0eqOK98U nZItHuv5lP6wJPKy+ev19vdKvDuKbWhIrdy6/o2Qc3f9X9qJdh/rS5naX3g8Vbv2WnOP076t a/Di21tWbVy732l4ZfDS4LZvB/ZtGo9+EDq/yfiuI9lza531jPffdPT25L7pkc+6drbsLWn6 88LnqWv9B5d+F/9oY2f+5PCr/mFaxtotphelftbyP8TwV+1yBQAA 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, 06 Jun 2013 14:41:54 -0000 Trying to build math/sage-5.9_1 from ports. Everything builds except sage itself. Here is the system info. FreeBSD dc7800.home.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251294: Mon Jun 3 17:52:11 CDT 2013 root@:/usr/obj/usr/src/sys/HP20130603 amd64 Here is /etc/make.conf CPUTYPE?=core2 WITH_PKGNG=yes # added by use.perl 2013-06-03 21:30:08 PERL_VERSION=5.14.2 TEX_DEFAULT=texlive Here is output from the build (sorry for any control chars in script). Error is around 120 lines down. ===> Found saved configuration for sage-5.9_1 ===> sage-5.9_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sage-5.9_1 for building ===> Extracting for sage-5.9_1 => SHA256 Checksum OK for sage-5.9.tar. ===> Patching for sage-5.9_1 Patching cephes-2.8.p1: applying spkg-install Patching eclib-20120830: applying src_libsrc_eclib_interface.h Patching maxima-5.29.1.p1: applying src_interfaces_xmaxima_Makefile.in Patching pycrypto-2.1.0: applying patches_src.libtom.tomcrypt_pk.h applying spkg-install Patching python-2.7.3.p6: applying src_Doc_library_fcntl.rst applying src_Modules__ctypes_libffi_configure applying src_Modules_fcntlmodule.c applying src_Python_thread_pthread.h applying src_setup.py Patching sage-5.9: applying doc_common_builder.py Patching sympow-1.018.1.p11: applying src_disk.c ===> sage-5.9_1 depends on executable: bash - found ===> sage-5.9_1 depends on file: /usr/local/share/texmf-var/web2c/tex/tex.fmt - found ===> sage-5.9_1 depends on executable: gmake - found ===> sage-5.9_1 depends on executable: gcc46 - found ===> sage-5.9_1 depends on file: /usr/local/bin/as - found ===> sage-5.9_1 depends on file: /usr/local/bin/autoconf-2.69 - found ===> sage-5.9_1 depends on shared library: atlas - found ===> sage-5.9_1 depends on shared library: lapack - found ===> sage-5.9_1 depends on shared library: jpeg - found ===> sage-5.9_1 depends on shared library: tk86 - found ===> sage-5.9_1 depends on shared library: iconv.3 - found ===> Configuring for sage-5.9_1 ===> Building for sage-5.9_1 mkdir -p logs cd spkg && \ "../spkg/pipestatus" \ "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \ "tee -a ../logs/install.log" make: illegal option -- - usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** ADDR2LINE=/usr/local/bin/addr2line ALWAYS_SCRUB_DISTFILES=dopt AR=/usr/local/bin/ar ARCH=/usr/local/bin/ar AS=/usr/local/bin/as AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOCONF_VERSION=2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 BACKUP=bopt BSD_INSTALL_DATA=install -o root -g wheel -m 444 BSD_INSTALL_LIB=install -s -o root -g wheel -m 444 BSD_INSTALL_MAN=install -o root -g wheel -m 444 BSD_INSTALL_PROGRAM=install -s -o root -g wheel -m 555 BSD_INSTALL_SCRIPT=install -o root -g wheel -m 555 CC=gcc46 CFLAGS=-pipe -march=core2 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 CONFIG_DONE_SAGE=1 CPP=cpp46 CPPFILT=/usr/local/bin/c++filt CPPFLAGS= CXX=g++46 CXXFLAGS=-pipe -march=core2 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 DISPLAY_LIST= DISTDIR=/usr/ports/distfiles/ DI_FILES=/tmp/f-65716-DI-FILES.ahBRYhX0 DOT_SAGE=/usr/ports/math/sage/work/sage-5.9/tmp/.sage F77=gfortran46 FFLAGS=-pipe -march=core2 -Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 GPROF=/usr/local/bin/gprof HOME=/root IPC_SAVE=/tmp/f-65716-IPC_SAVE.p1jz1M0L LD=/usr/local/bin/ld LDFLAGS=-Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib -Wl,-rpath=/usr/local/lib/gcc46 LIBDIR=/usr/lib LOCALBASE=/usr/local LOCALBASE_COMPAT=/usr/local/lib/compat/pkg LOGNAME=root MAIL=/var/mail/root MAKE=/usr/bin/make -j2 MAKEFLAGS= --jobserver-fds=3,4 -j -- CONFIG_DONE_SAGE=1 SYSTEMVERSION= OSVERSION=901504 OSREL=9.1 OPSYS=FreeBSD ARCH=/usr/local/bin/ar MAKELEVEL=1 MAKEOVERRIDES=${-*-command-variables-*-} MANPREFIX=/usr/local MFLAGS=- --jobserver-fds=3,4 -j MOTIFLIB=-L/usr/local/lib -lXm -lXp NM=/usr/local/bin/nm NO_DEP_UPDATES=no_dep_updates NO_LINT=YES OBJCOPY=/usr/local/bin/objcopy OBJDUMP=/usr/local/bin/objdump OPSYS=FreeBSD OSREL=9.1 OSVERSION=901504 PACKAGES=/usr/ports/packages PATH=/usr/ports/math/sage/work/sage-5.9/spkg/bin:/usr/ports/math/sage/work/sage-5.9/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin PM_BUILDING=pmbuildingmain PM_BUILD_ONLY_LIST=pm_bol PM_DEL_BUILD_ONLY=pm_dbo PM_NEEDS_UPDATE= math/sage PM_PARENT_PID=65716 PM_PARENT_PORT=math/sage PM_VERBOSE=vopt PREFIX=/usr/local PWD=/usr/ports/math/sage/work/sage-5.9/spkg PYTHONPATH=/usr/ports/math/sage/work/sage-5.9/local RANLIB=/usr/local/bin/ranlib READELF=/usr/local/bin/readelf SAGE_ATLAS_LIB=/usr/local/lib SAGE_FAT_BINARY=yes SAGE_INSTALL_GCC=no SAGE_LOCAL=/usr/ports/math/sage/work/sage-5.9/local SAGE_LOGS=/usr/ports/math/sage/work/sage-5.9/logs/pkgs SAGE_PARALLEL_SPKG_BUILD= SAGE_PORT=yes SAGE_ROOT=/usr/ports/math/sage/work/sage-5.9 SAGE_SPKG_INST=/usr/ports/math/sage/work/sage-5.9/spkg/installed SAVE_SHARED=wopt SHELL=/bin/sh SHLVL=2 SIZE=/usr/local/bin/size STRINGS=/usr/local/bin/strings SUDO_COMMAND=/usr/local/sbin/portmaster math/sage SUDO_GID=1001 SUDO_UID=1001 SUDO_USER=mgass SYSTEMVERSION= TERM=xterm TMPDIR=/tmp UPGRADE_TOOL=portmaster USER=root USERNAME=root _=/usr/bin/env __MKLVL__=2 build_deps_il= build_only_dl_g= dep_of_deps=0 num_of_deps=0 pbu=/usr/ports/packages/portmaster-backup pd=/usr/ports pdb=/var/db/pkg port_dbdir=/var/db/ports use_pkgng=yes *********************************************** make: illegal option -- - usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] [-d flags] [-E variable] [-f makefile] [-I directory] [-j max_jobs] [-m directory] [-V variable] [variable=value] [target ...] real 0m0.001s user 0m0.000s sys 0m0.001s *************************************************************** Error building Sage. The following package(s) may have failed to build: tail: /usr/ports/math/sage/work/sage-5.9/logs/pkgs/*.log: No such file or directory The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. gmake: *** [build] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/math/sage. *** [build] Error code 1 Any suggestions? -- Michael Gass mgass@csbsju.edu From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 17:18:30 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 75D34775 for ; Thu, 6 Jun 2013 17:18:30 +0000 (UTC) (envelope-from i2u2yn902@sneakemail.com) Received: from sneak2.sneakemail.com (sneak2.sneakemail.com [38.113.6.65]) by mx1.freebsd.org (Postfix) with SMTP id 401DD1EC1 for ; Thu, 6 Jun 2013 17:18:29 +0000 (UTC) Received: (qmail 11417 invoked from network); 6 Jun 2013 17:11:49 -0000 Received: from unknown (HELO localhost.localdomain) (192.168.0.1) by sneak2.sneakemail.com with SMTP; 6 Jun 2013 17:11:49 -0000 Received: from 192.168.0.2 by mail.sneakemail.com with SMTP; 6 Jun 2013 17:11:49 -0000 Received: (sneakemail censored 22319-1370538709-71318 #2); 6 Jun 2013 17:11:49 -0000 Received: (sneakemail censored 22319-1370538709-71318 #1); 6 Jun 2013 17:11:49 -0000 Date: Thu, 6 Jun 2013 17:11:48 +0000 To: questions@freebsd.org Message-ID: <22319-1370538709-71318@sneakemail.com> Subject: ctl-alt-esc not taking me to kernel debugger MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 From: i2u2yn902@sneakemail.com X-Mailer: Perl5 Mail::Internet v 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, 06 Jun 2013 17:18:30 -0000 Is ctl-alt-esc "working" for others on 8.x & 9.x? See http://forums.freebsd.org/showthread.php?t=40111 From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 18:00:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5B36BE06 for ; Thu, 6 Jun 2013 18:00:23 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 1B53F1012 for ; Thu, 6 Jun 2013 18:00:22 +0000 (UTC) Received: from mbook.westell.com ([50.123.213.115]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id r56I0ELE041700 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 6 Jun 2013 11:00:16 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: System Calls that do DNS From: Doug Hardie In-Reply-To: Date: Thu, 6 Jun 2013 11:00:05 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <12AE26D3-2C19-4C0C-917F-2D1569ADC518@lafn.org> References: <20130604033930.GA10393@uriel.asininetech.com> To: "freebsd-questions@freebsd.org List" X-Mailer: Apple Mail (2.1508) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean 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, 06 Jun 2013 18:00:23 -0000 On 3 June 2013, at 22:21, Doug Hardie wrote: >=20 > On 3 June 2013, at 20:39, staticsafe wrote: >=20 >> On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote: >>> I have an unusual situation. A program is doing a DNS lookup and = often the IP address has no reverse DNS entries. As a result the = program hangs for several timeouts. The call is not being made directly = in its code, but is occurring in a system call. There are no specific = calls to DNS, its something else doing it. I have been trying to track = down which system call is doing it, but without success so far. I have = tried syslog calls around each of the system calls I thought might be = the culprit, but my guessing is not very good. How can I identify the = system call that is calling DNS? If I can find it, I hopefully can find = another way to do whatever it does that does not involve a reverse DNS = lookup. >>>=20 >>>=20 >>=20 >> Use truss: >> http://www.freebsd.org/cgi/man.cgi?query=3Dtruss >>=20 >> The truss utility traces the system calls called by the specified >> process or program. >> --=20 >> staticsafe >> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org >> Please don't top post - http://goo.gl/YrmAb >> Don't CC me! I'm subscribed to whatever list I just posted on. >>=20 >=20 > Unfortunately truss does not show anything more than ktrace. I know = what is going out on the internet connection. Its a plain old reverse = DNS request. The question is what library module (probably not a system = call now that I think about it) is making that request. Interestingly = enough, adding the IP address with a dummy name in /etc/hosts causes the = reverse request to succeed and there are no time delays. So whatever = module it is, is not using bind. Bind doesn't check the hosts files as = far as I can tell. > _______________________________________________ After considering all the advice I received, the method I found that = worked was to start the process and when it entered the reverse DNS = timeout, quickly find the process ID and do a gdb on that process. Then = a where command showed the entire stack which included all the module = calls. I had to rebuild the process with debugging first. The IPv6 API when getting the client information will also do a reverse = DNS lookup unless you specifically tell it not to do so. Changing that = eliminated the lookup and the timeouts. Thanks to all. -- Doug= From owner-freebsd-questions@FreeBSD.ORG Thu Jun 6 18:30:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2DE71675 for ; Thu, 6 Jun 2013 18:30:45 +0000 (UTC) (envelope-from fddi@gmx.it) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by mx1.freebsd.org (Postfix) with ESMTP id B10B6111C for ; Thu, 6 Jun 2013 18:30:44 +0000 (UTC) Received: from knuth.default.domain.invalid ([31.177.41.8]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LpsmR-1U8pVC2wul-00fgmR for ; Thu, 06 Jun 2013 20:30:37 +0200 Message-ID: <51B0D54B.20200@gmx.it> Date: Thu, 06 Jun 2013 20:30:35 +0200 From: fddi User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: problems build webkit-gtk2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Bk6fkItZevHVavUNhrArr+PZCfR1qZRi7RKboguVkVh4QZZovOi +uLaQnSsNOtnr1fXX15Tod3FNheR/PdHSSKQ4NJJPetqnrn/H9VeP0zaxtAjsKEB+ZX0/53 4ZWx1j+pxstt70wHUW6BJophfAVCR5c72+UtfDdivz0BI8JFVPgReieKpEi+jowEMUYhHl3 69jLJWknn7ghqnwo29P8A== 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, 06 Jun 2013 18:30:45 -0000 webkit-gtk2 fails FreeBSD 9.1 sparc64 any hints ? thank you ===> Building for webkit-gtk2-1.8.3_1 GEN generate-webkit2-forwarding-headers GEN generate-webkittestrunner-forwarding-headers GEN generate-webkittestrunner-forwarding-headers GEN generate-webkit2-forwarding-headers gmake all-am gmake[1]: Entering directory `/usr/src/ports/www/webkit-gtk2/work/webkit-1.8.3' test ! -d ./Source/WebKit/gtk/po || \ mkdir -p ./Source/WebKit/gtk/po CXX Source/JavaScriptCore/runtime/libjavascriptcoregtk_1_0_la-NumberPrototype.lo test ! -f ./Source/WebKit/gtk/po/webkit-2.0.pot || \ test -z "Source/WebKit/gtk/po/ar.mo Source/WebKit/gtk/po/bg.mo Source/WebKit/gtk/po/cs.mo Source/WebKit/gtk/po/de.mo Source/WebKit/gtk/po/el.mo Source/WebKit/gtk/po/en_CA.mo Source/WebKit/gtk/po/en_GB.mo Source/WebKit/gtk/po/eo.mo Source/WebKit/gtk/po/es.mo Source/WebKit/gtk/po/et.mo Source/WebKit/gtk/po/eu.mo Source/WebKit/gtk/po/fr.mo Source/WebKit/gtk/po/gl.mo Source/WebKit/gtk/po/gu.mo Source/WebKit/gtk/po/he.mo Source/WebKit/gtk/po/hu.mo Source/WebKit/gtk/po/id.mo Source/WebKit/gtk/po/it.mo Source/WebKit/gtk/po/ko.mo Source/WebKit/gtk/po/lt.mo Source/WebKit/gtk/po/lv.mo Source/WebKit/gtk/po/mr.mo Source/WebKit/gtk/po/nb.mo Source/WebKit/gtk/po/nl.mo Source/WebKit/gtk/po/pa.mo Source/WebKit/gtk/po/pl.mo Source/WebKit/gtk/po/pt.mo Source/WebKit/gtk/po/pt_BR.mo Source/WebKit/gtk/po/ru.mo Source/WebKit/gtk/po/sl.mo Source/WebKit/gtk/po/sr.mo Source/WebKit/gtk/po/sr@latin.mo Source/WebKit/gtk/po/sv.mo Source/WebKit/gtk/po/uk.mo Source/WebKit/gtk/po/vi.mo Source/WebKit/gtk/po/zh_CN.mo" || gmake Source/WebKit/gtk/po/ar.mo Source/WebKit/gtk/po/bg.mo Source/WebKit/gtk/po/cs.mo Source/WebKit/gtk/po/de.mo Source/WebKit/gtk/po/el.mo Source/WebKit/gtk/po/en_CA.mo Source/WebKit/gtk/po/en_GB.mo Source/WebKit/gtk/po/eo.mo Source/WebKit/gtk/po/es.mo Source/WebKit/gtk/po/et.mo Source/WebKit/gtk/po/eu.mo Source/WebKit/gtk/po/fr.mo Source/WebKit/gtk/po/gl.mo Source/WebKit/gtk/po/gu.mo Source/WebKit/gtk/po/he.mo Source/WebKit/gtk/po/hu.mo Source/WebKit/gtk/po/id.mo Source/WebKit/gtk/po/it.mo Source/WebKit/gtk/po/ko.mo Source/WebKit/gtk/po/lt.mo Source/WebKit/gtk/po/lv.mo Source/WebKit/gtk/po/mr.mo Source/WebKit/gtk/po/nb.mo Source/WebKit/gtk/po/nl.mo Source/WebKit/gtk/po/pa.mo Source/WebKit/gtk/po/pl.mo Source/WebKit/gtk/po/pt.mo Source/WebKit/gtk/po/pt_BR.mo Source/WebKit/gtk/po/ru.mo Source/WebKit/gtk/po/sl.mo Source/WebKit/gtk/po/sr.mo Source/WebKit/gtk/po/sr@latin.mo Source/WebKit/gtk/po/sv.mo Source/WebKit/gtk/po/uk.mo Source/WebKit/gtk/po/vi.mo Source/WebKit/gtk/po/zh_CN.mo In file included from Source/JavaScriptCore/runtime/Structure.h:34, from Source/JavaScriptCore/runtime/ScopeChain.h:25, from Source/JavaScriptCore/runtime/JSObject.h:33, from Source/JavaScriptCore/runtime/JSWrapperObject.h:25, from Source/JavaScriptCore/runtime/NumberObject.h:24, from Source/JavaScriptCore/runtime/NumberPrototype.h:24, from Source/JavaScriptCore/runtime/NumberPrototype.cpp:23: Source/JavaScriptCore/runtime/PropertyMapHashTable.h: In member function 'JSC::PropertyMapEntry* JSC::PropertyTable::table()': Source/JavaScriptCore/runtime/PropertyMapHashTable.h:556: warning: cast from 'unsigned int*' to 'JSC::PropertyMapEntry*' increases required alignment of target type Source/JavaScriptCore/runtime/PropertyMapHashTable.h: In member function 'const JSC::PropertyMapEntry* JSC::PropertyTable::table() const': Source/JavaScriptCore/runtime/PropertyMapHashTable.h:562: warning: cast from 'unsigned int*' to 'const JSC::PropertyMapEntry*' increases required alignment of target type ./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h: In function 'bool WTF::charactersAreAllASCII(const CharacterType*, size_t) [with CharacterType = LChar]': ./Source/JavaScriptCore/wtf/text/WTFString.h:493: instantiated from here ./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h:84: warning: cast from 'const LChar*' to 'const WTF::MachineWord*' increases required alignment of target type ./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h: In function 'bool WTF::charactersAreAllASCII(const CharacterType*, size_t) [with CharacterType = UChar]': ./Source/JavaScriptCore/wtf/text/WTFString.h:495: instantiated from here ./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h:84: warning: cast from 'const UChar*' to 'const WTF::MachineWord*' increases required alignment of target type ./Source/JavaScriptCore/wtf/Vector.h: In member function 'T* WTF::VectorBuffer::inlineBuffer() [with T = JSC::Identifier, long unsigned int inlineCapacity = 20ul]': ./Source/JavaScriptCore/wtf/Vector.h:380: instantiated from 'WTF::VectorBuffer::VectorBuffer() [with T = JSC::Identifier, long unsigned int inlineCapacity = 20ul]' ./Source/JavaScriptCore/wtf/Vector.h:491: instantiated from 'WTF::Vector::Vector() [with T = JSC::Identifier, long unsigned int inlineCapacity = 20ul]' Source/JavaScriptCore/runtime/PropertyNameArray.h:46: instantiated from here ./Source/JavaScriptCore/wtf/Vector.h:468: warning: cast from 'WTF::AlignedBufferChar*' to 'JSC::Identifier*' increases required alignment of target type ./Source/JavaScriptCore/wtf/Vector.h: In member function 'T* WTF::VectorBuffer::inlineBuffer() [with T = unsigned int, long unsigned int inlineCapacity = 36ul]': ./Source/JavaScriptCore/wtf/Vector.h:380: instantiated from 'WTF::VectorBuffer::VectorBuffer() [with T = unsigned int, long unsigned int inlineCapacity = 36ul]' ./Source/JavaScriptCore/wtf/Vector.h:491: instantiated from 'WTF::Vector::Vector() [with T = unsigned int, long unsigned int inlineCapacity = 36ul]' Source/JavaScriptCore/runtime/BigInteger.h:37: instantiated from here ./Source/JavaScriptCore/wtf/Vector.h:468: warning: cast from 'WTF::AlignedBufferChar*' to 'unsigned int*' increases required alignment of target type {standard input}: Assembler messages: {standard input}:1286: Error: Illegal operands gmake[1]: *** [Source/JavaScriptCore/runtime/libjavascriptcoregtk_1_0_la-NumberPrototype.lo] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory `/usr/src/ports/www/webkit-gtk2/work/webkit-1.8.3' gmake[2]: `Source/WebKit/gtk/po/ar.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/bg.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/cs.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/de.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/el.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/en_CA.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/en_GB.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/eo.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/es.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/et.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/eu.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/fr.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/gl.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/gu.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/he.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/hu.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/id.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/it.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/ko.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/lt.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/lv.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/mr.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/nb.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/nl.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/pa.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/pl.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/pt.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/pt_BR.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/ru.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/sl.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/sr.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/sr@latin.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/sv.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/uk.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/vi.mo' is up to date. gmake[2]: `Source/WebKit/gtk/po/zh_CN.mo' is up to date. gmake[2]: Leaving directory `/usr/src/ports/www/webkit-gtk2/work/webkit-1.8.3' touch stamp-po gmake[1]: Leaving directory `/usr/src/ports/www/webkit-gtk2/work/webkit-1.8.3' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/src/ports/www/webkit-gtk2. *** [install] Error code 1 Stop in /usr/src/ports/www/webkit-gtk2. *** [lib-depends] Error code 1 Stop in /usr/src/ports/x11/yelp. *** [run-depends] Error code 1 Stop in /usr/src/ports/sysutils/brasero. *** [install] Error code 1 Stop in /usr/src/ports/sysutils/brasero. *** [lib-depends] Error code 1 Stop in /usr/src/ports/x11-toolkits/py-gnome-desktop. *** [build-depends] Error code 1 Stop in /usr/src/ports/games/gnome-games. *** [run-depends] Error code 1 Stop in /usr/src/ports/x11/gnome2. *** [install] Error code 1 Stop in /usr/src/ports/x11/gnome2. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 00:55: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 B6D57192 for ; Fri, 7 Jun 2013 00:55:21 +0000 (UTC) (envelope-from MGASS@csbsju.edu) Received: from smtp1.computing.csbsju.edu (smtp1.computing.csbsju.edu [152.65.184.22]) by mx1.freebsd.org (Postfix) with ESMTP id 60C9D1F08 for ; Fri, 7 Jun 2013 00:55:20 +0000 (UTC) X-AuditID: ac10425b-b7f886d0000037af-e7-51b12f77f7ca Received: from Mail-HTCAS2.ad.csbsju.edu (Unknown_Domain [172.16.66.44]) by smtp1.computing.csbsju.edu (Symantec Messaging Gateway) with SMTP id 7F.24.14255.77F21B15; Thu, 6 Jun 2013 19:55:19 -0500 (CDT) Received: from nx.csbsju.edu (172.16.66.48) by MAIL-HTCAS2.ad.csbsju.edu (172.16.66.44) with Microsoft SMTP Server id 14.3.123.3; Thu, 6 Jun 2013 19:55:19 -0500 Received: by nx.csbsju.edu (Postfix, from userid 1401) id 4EBEB180931; Thu, 6 Jun 2013 19:55:19 -0500 (CDT) Date: Thu, 6 Jun 2013 19:55:19 -0500 From: Michael Gass To: Subject: Re: Error building math/sage Message-ID: <20130607005519.GA3015@csbsju.edu> References: <20130606144146.GA14877@csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20130606144146.GA14877@csbsju.edu> User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA11TXUxbZRjma0s5VL55ekrblwJzO7ihyyhgFkXHdOHCGJcY6sVi3AW0cGw7 Slt72m24mJRFBIEwyjpUMIDBifwIA1FBUELjNFRdmIy5HwMJwQsYOC1OWciY54fCYTfN2+d5 v+d5/w4hp+7FGwi708t4nGYHrVQpesi8/RknM/tNWb3/ZOQs3B1QHEYvfRBpVeSj11W5xYzD foLxZD5fqLJ9Oj0c5/5vx6ngXDjOj6oTqlE8AeQB+PbsiEyMdTA506esRiqCIi8j6Jr4N078 8wmC+bP1cj6LIp3w5c0flXysIB+HsfKGOD5Wknug8lKdgo8TyTRYv3ZFyNdw+HxzAPExJo0Q aa6WiTqZELk0JxNxNUx8OC+8lZP7oW0kwukTXJwMHesED8eTWdC2FhIktZxtcOIrpSiTCo31 v8vrkbpJotQkUWraUmpD8i5kYEu97mxjkavU7fPanVZjEWthj/uMTLFvAIkTPTaEWlayQ4gk EJ2AV7sumqhY8wm2rDSESggZbcBHY7tNlMbiKi6zmVlbAeuzlNpZ1u5y0lp8I6PfRO3Y5Dw+ B8PSibjbyMF4E7b4HCX0Tjxd/7mJ0kuEWLe9yO7ysQU+jyOEgJBzT8NP8E+LzWVvMR6XKBhC yYSC1uPf3lnKp0ir2cuUMIyb8UTZkwRBp2IUExND6TyMlTn1ht3BHY20UsCNfElqKS0Wq8c5 Mo4hpYxQ7248+0eviTJsV9xesoyIDyErkUAnifYU6zaXsnar1DoRfyxMI0qJthpcy6MJUVSw TMXBADci3ZaK1C6M3jSkYDWfoeUzbD7n9i4NemzkRUkJK7gZdPjqQW6vj0oI3tCwC6fzcknb 5KSei6hGxt0FiEeg5j7Gh7rTYIvQxwYjNkfhz3Zz4CMboNBbCj4vVL4pIbV56gIiELkWB82B FRmcu18bC1WhRiW0LK6p4MH4dQx97fcwDFwZJeHmwpIahsbLNdAyM6CB1Z557sdfqYXg5fYk qF1e2QmLI6HHYOaX8C6Y7Z+loeqMfw+s/vzuXgi0nNkHQ8GpLBi9u3AARjrGnoGalT+fhaEb M8+BP9iQCxXdgUMwNzV5CO74vzsMo7fDedD+TSQP+r6oenGRW7Zsa9le88PjSMTvL17kl71B RZd9mz/9hCi6sezlemHZmyrSiRj8qI4p/LUn0qgYnp97b7luvLPstfs1x5487XxhcP20+VbF wYK88uFk9lr6ZG3gh/KnNTjAhnozClu1ewe/ZpSurp5w51JDxdW0n46/mjKWZmnI7fDm66aW wq/0Pjha2bry0XR639+ZXYP531+/8/Lsudykwlu2C/q3vefVf+V0phypJI7QCtZmzt4n97Dm /wGiVLIzjAUAAA== 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, 07 Jun 2013 00:55:21 -0000 On Thu, Jun 06, 2013 at 09:41:46AM -0500, Michael Gass wrote: > Trying to build math/sage-5.9_1 from ports. Everything builds > except sage itself. > > Here is the system info. > > FreeBSD dc7800.home.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251294: Mon Jun 3 17:52:11 CDT 2013 root@:/usr/obj/usr/src/sys/HP20130603 amd64 > > Here is /etc/make.conf > > CPUTYPE?=core2 > WITH_PKGNG=yes > # added by use.perl 2013-06-03 21:30:08 > PERL_VERSION=5.14.2 > TEX_DEFAULT=texlive > > Here is output from the build (sorry for any control chars in script). > Error is around 120 lines down. > > port_dbdir=/var/db/ports ..............removed lines.............................. > use_pkgng=yes > *********************************************** > make: illegal option -- - > usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] > [-d flags] [-E variable] [-f makefile] [-I directory] > [-j max_jobs] [-m directory] [-V variable] > [variable=value] [target ...] > > real 0m0.001s > user 0m0.000s > sys 0m0.001s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build: > tail: /usr/ports/math/sage/work/sage-5.9/logs/pkgs/*.log: No such file or directory > > The build directory may contain configuration files and other potentially > helpful information. WARNING: if you now run 'make' again, the build > directory will, by default, be deleted. Set the environment variable > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > gmake: *** [build] Error 1 > *** [do-build] Error code 1 > > Stop in /usr/ports/math/sage. > *** [build] Error code 1 > > Any suggestions? > > Got it to install. Kept getting the above problem when usning portmaster. So I did a make clean in the sage directory and then make install clean. That did it. Mike Gass From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 01:18: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 5D8CF69E for ; Fri, 7 Jun 2013 01:18:25 +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 E0D081FDC for ; Fri, 7 Jun 2013 01:18:24 +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; 07 Jun 2013 10:41:04 +0930 Message-ID: <51B13325.6060404@ShaneWare.Biz> Date: Fri, 07 Jun 2013 10:41:01 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Ewald Jenisch Subject: Re: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5 References: <20130606141104.GA1261@aurora.oekb.co.at> In-Reply-To: <20130606141104.GA1261@aurora.oekb.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 01:18:25 -0000 On 06/06/2013 23:41, Ewald Jenisch wrote: > Here's what I tried so far: > > o) Updating BIOS, array-controller, iLO to the latest version > o) Booting the installation DVD in safe-mode > o) Booting the installatino DVD verbose mode > o) Escaping to the loader prompt, entering > kern.eventtimer.periodic=1 > kern.eventtimer.timer="LAPIC" > and booting the install-DVD with these settings > (I once could boot and older HP-server using these settings, so > I tried them here too) > ("FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg" shows the actual > panic/stacktrace) Just guessing from what I see - The panic is "No usable event timer found!" Have you tried kern.eventtimer.periodic=0 or other values for kern.eventtimer.timer? Is the panic the same without the loader adjustments? Can you boot into single user mode? what does sysctl kern.eventtimer.choice show? Does it boot 8.3 ? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 01:26: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 3D2328E3 for ; Fri, 7 Jun 2013 01:26:33 +0000 (UTC) (envelope-from carbopolnph@gmail.com) Received: from mail-ie0-x242.google.com (mail-ie0-x242.google.com [IPv6:2607:f8b0:4001:c03::242]) by mx1.freebsd.org (Postfix) with ESMTP id 13030103C for ; Fri, 7 Jun 2013 01:26:33 +0000 (UTC) Received: by mail-ie0-f194.google.com with SMTP id x14so2871103ief.5 for ; Thu, 06 Jun 2013 18:26:32 -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=yL/AaJHjC0NB5XoXlEK4V7/Iv3dBUqybYaPtdLFhCQw=; b=s+1UfZq1vEk6PB49+TSJ3UB7nPwN7DYgPmJrXpa8FbMVkU8KZmsrbk4FT/OJWYhVtU QiYsIt8Yg3k7IMIJ4BQGugVOEBZv+U+3C6ek/tNLWyr30PcDfl9CmFjgL6qndR1xsmFb PYeRC6ggkJNTM2hEmGpnOp4GI4FC46wOU1DlgIOetCjgbmfVbRVJFa/YM6wAciMm5gfM RhxFw8iFurugnQVFiu0E8FJm0NlYBZkuGeKY1KN1gIlv0DSEbDqfdRv38YdVka/9v9Mt 2fv9/w//wDPPrET9VM+paB22sMNJ+b60d+hbJpgus/MTVq9PxwpB9DIKDIoxrdiV0VHM PK5g== MIME-Version: 1.0 X-Received: by 10.50.85.6 with SMTP id d6mr344462igz.4.1370568392781; Thu, 06 Jun 2013 18:26:32 -0700 (PDT) Received: by 10.64.168.106 with HTTP; Thu, 6 Jun 2013 18:26:32 -0700 (PDT) Date: Fri, 7 Jun 2013 08:26:32 +0700 Message-ID: Subject: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but show message "bge0 watchdog timeout -- resetting" and it was frozen too. Thanks From: Surat Sodchuen 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: Fri, 07 Jun 2013 01:26:33 -0000 Surat Sodchuen From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 04:08:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 48706DF9 for ; Fri, 7 Jun 2013 04:08:22 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 151C717AB for ; Fri, 7 Jun 2013 04:08:22 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id wc20so5823247obb.4 for ; Thu, 06 Jun 2013 21:08: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:cc:content-type:x-gm-message-state; bh=0tEkgKl3tp/zVsJWs5eqG3JIsMYv8reWg78BfyWks/M=; b=f83vTQBnXcdeLrQNjPJFbmEhhWdPUzcf9gybYcYmvfl5zszU/jHFoktTKbXiLn1ey+ EMBdYpORsKNBpiMFx9fIbV1EwT5jtczAtoZ57wTDxrQrh53xHTYDuEyTbb9qgTHRhbp/ +eCnjPg7hcpDZS3QkbZ0igJfIijfgttBZTgSk+ea7oNGXeStgo9hswQtrPY3YLOCW2gw z0w9HgD4Uy2q2hjrAKpb3ionUC7dzNEjUD5KUpG2wYgrcCIKenn2leZNFLACcI1hz6wW x5hYJvONKFXG6FRdyTXBZ7EkULBG4ZaXKKjMi9/pO8IqJfJQZasJ1dwV4LySXv75yuEA 6J2g== MIME-Version: 1.0 X-Received: by 10.60.174.83 with SMTP id bq19mr10354349oec.80.1370578101279; Thu, 06 Jun 2013 21:08:21 -0700 (PDT) Received: by 10.182.216.40 with HTTP; Thu, 6 Jun 2013 21:08:21 -0700 (PDT) X-Originating-IP: [59.167.133.100] In-Reply-To: References: Date: Fri, 7 Jun 2013 14:08:21 +1000 Message-ID: Subject: Re: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but show message "bge0 watchdog timeout -- resetting" and it was frozen too. Thanks From: Jason Birch To: Surat Sodchuen X-Gm-Message-State: ALoCoQnw9w7zpj+NC21GiFqhcpl0VYvUjVSiH15Xh9BV+zKv4NeIDG+lPmA/W/RbDlTtux9/i9K2 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 04:08:22 -0000 Please include your question as email content, not subject. http://serverfault.com/questions/361673/hp-nc107i-bcm5723-on-freebsd-9 Indicates you may be able to set hw.bge.allow_asf="0" in /boot/loader.conf. Try this, and if the problem persists, please reply with more information (FreeBSD version, etc). From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 05:28:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B643CBF for ; Fri, 7 Jun 2013 05:28:23 +0000 (UTC) (envelope-from dacoder@dcoder.net) Received: from ns0.dcoder.net (ns3.dcoder.net [128.177.28.124]) by mx1.freebsd.org (Postfix) with ESMTP id 5EEDC19DC for ; Fri, 7 Jun 2013 05:28:23 +0000 (UTC) Received: by ns0.dcoder.net (Postfix, from userid 1001) id 854B05DB11; Fri, 7 Jun 2013 01:28:08 -0400 (EDT) Date: Fri, 7 Jun 2013 01:28:08 -0400 From: david coder To: freebsd-questions@freebsd.org Subject: mini express cards supported by freebsd Message-ID: <20130607052808.GB12989@mail3.dcoder.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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, 07 Jun 2013 05:28:23 -0000 i need a mini express wifi card for a thinkpad laptop. does anybody know of one that is supported by freebsd? the aironet card i have is too fat. thx, david coder From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 06:13: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 8659E4CD for ; Fri, 7 Jun 2013 06:13:14 +0000 (UTC) (envelope-from team_chota@yahoo.com) Received: from nm29-vm4.bullet.mail.ne1.yahoo.com (nm29-vm4.bullet.mail.ne1.yahoo.com [98.138.91.189]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD351B03 for ; Fri, 7 Jun 2013 06:13:14 +0000 (UTC) Received: from [98.138.90.51] by nm29.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jun 2013 06:13:13 -0000 Received: from [98.138.226.61] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jun 2013 06:13:13 -0000 Received: from [127.0.0.1] by smtp212.mail.ne1.yahoo.com with NNFMP; 07 Jun 2013 06:13:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370585593; bh=AssAXe4d69LX/hh0zOOLipkgqjHt2NOjUSPgTDK2Ae8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:X-rim-org-msg-ref-id:Message-ID:Content-Transfer-Encoding:Reply-To:X-Priority:Sensitivity:Importance:Subject:To:From:Date:Content-Type:MIME-Version; b=vq3CE4ZiNjum4ih8rSM0Aor0X4TOrSsxEpPWSVc9pCoWGJLt7/P2GS2jyVJ6NfgK9xeIs5FFaIW5S9wsHygtm07ahAhziIF/9tn6vNVc2/H7z2WftCxDDWLiRTT2akMTGl/07QAPV5k9zHzYLCYcCmfSi4QDI6gdrhC+nbGZm6A= X-Yahoo-Newman-Id: 458575.91010.bm@smtp212.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XNcL6G0VM1mxKZ6ce4NSb6HqjBwPmUh2ABI5HHP9Oi345Zq 1Rx4Xs53m2hy3pCEAe7HHUltVcKFbL4yclGlSgMTtkKpuXyWQYdwxcb4RkzC RYBQpP9JUVZ5ZYenYXQQn1XFQBlG087GZPfx1SVIw9R9qXXr0QekJ6Cmt4dg nfRredmsQQA.ZZQMvTD.V93tSzXTl0W4Xvq.ImfPtR4PavTgLeneSyLZuhSD qYTj0IHorSzY5.4aAOQ6PAHIXlCwBXNYmc5og55g3kbgvb4q11Sz8q0yOsqB Zvg2ril6j6cF0yOj1xBD6yso68VLlW4vy2rf7lFGzyY4jumowchqZUZAN8Af aD_cudQGKZDamxMzu7csjdyVh_0Rwz0BJuVO2ieQ9FuE9ruVXXmdPkNwH.3w bmoFCVu3ctms8adLiMrWTrBYwVScEaHayVqkFSBtQP4kmVIjJZWEe5PrOm5K zgw-- X-Yahoo-SMTP: 1xR9fuCswBAXC5PJX7snIh_jr9Hvm5s- X-Rocket-Received: from b26.c6.bise3.blackberry (team_chota@216.9.250.80 with ) by smtp212.mail.ne1.yahoo.com with SMTP; 06 Jun 2013 23:13:13 -0700 PDT X-rim-org-msg-ref-id: 958013529 Message-ID: <958013529-1370585591-cardhu_decombobulator_blackberry.rim.net-1282114233-@b5.c6.bise3.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal Sensitivity: Normal Importance: Normal Subject: Nonaktif To: freebsd-questions@freebsd.org From: team_chota@yahoo.com Date: Fri, 7 Jun 2013 06:11:58 +0000 Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: team_chota@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 06:13:14 -0000 Tm9uYWt0aXYgbm90aXZpa2F0aW9uDQpTZW50IGZyb20gbXkgQmxhY2tCZXJyea4NCnBvd2VyZWQg YnkgU2lueWFsIEt1YXQgSU5ET1NBVA== From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 06:35: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 347E9932 for ; Fri, 7 Jun 2013 06:35:40 +0000 (UTC) (envelope-from team_chota@yahoo.com) Received: from nm13-vm9.bullet.mail.gq1.yahoo.com (nm13-vm9.bullet.mail.gq1.yahoo.com [98.136.218.154]) by mx1.freebsd.org (Postfix) with ESMTP id F3B481BAF for ; Fri, 7 Jun 2013 06:35:39 +0000 (UTC) Received: from [98.137.12.56] by nm13.bullet.mail.gq1.yahoo.com with NNFMP; 07 Jun 2013 06:33:52 -0000 Received: from [98.136.185.29] by tm1.bullet.mail.gq1.yahoo.com with NNFMP; 07 Jun 2013 06:33:52 -0000 Received: from [127.0.0.1] by smtp110.mail.gq1.yahoo.com with NNFMP; 07 Jun 2013 06:33:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370586832; bh=AssAXe4d69LX/hh0zOOLipkgqjHt2NOjUSPgTDK2Ae8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:X-rim-org-msg-ref-id:Message-ID:Content-Transfer-Encoding:Reply-To:X-Priority:Sensitivity:Importance:Subject:To:From:Date:Content-Type:MIME-Version; b=PIsjFkD+UWtaWib2PXV65yMkbqHHyqgiSpIzLVW+zES3h8WLxWaTkpig8dTXosSd3who9QGiiRM7te4KgAcc7TNF0mSpoKzogJ1BZp9RhwcP0Vp5eB/fgkiYCaWKiIPLiA0d7bMFIC/brZWrMEUg7e9/6URh38oc74A09Nco20Q= X-Yahoo-Newman-Id: 562880.64450.bm@smtp110.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: p4Xe2BUVM1nqR9w6cZlKSb0Les0U4.CzyTr_FIgh1UN6hD6 HqrLAvxsVB.fWeKiFIwhjqDuEl_tRsbghKWx_TBPtHCZcG3xRZLjU4y_9oZ0 f_9PXohKNtPn.PvbfYBcZKjYuZ3EM5kJGwUuge_8D4peyk.iEkZUWsJw7_LA fiojrzGAKr0Xuy6upq.Rbsb65wdJ7Bd5g76k9t1Ek0jWjm7KvCAafBbWnQ46 uWPwYhfHxwr.Wv3I5dzvvoDHdHXpA8jbgL4UnHCWOveG0ydXVFcuzYK1OGEe jZTdCgYihrLbSrn0wXe75..m.0V0gc1CkhQ9TXoD8FmKOxaMxFTuEabnyLOf xs17M0OBKIW1wl0G0wUZgayo5mZ_rw48ZyO4kakYlFS0RsQ3.VfWq4iHvh1v 57OJqyUDLYZpjo7ZXWh.ef32h7clS8nmJCZFnq5L1AAJ8pZ20acvfzDpZTte KGPrLcYk- X-Yahoo-SMTP: 1xR9fuCswBAXC5PJX7snIh_jr9Hvm5s- X-Rocket-Received: from b26.c6.bise3.blackberry (team_chota@216.9.250.80 with ) by smtp110.mail.gq1.yahoo.com with SMTP; 06 Jun 2013 23:33:52 -0700 PDT X-rim-org-msg-ref-id: 958013529 Message-ID: <958013529-1370586830-cardhu_decombobulator_blackberry.rim.net-881809219-@b5.c6.bise3.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal Sensitivity: Normal Importance: Normal Subject: Nonaktif To: freebsd-questions@freebsd.org From: team_chota@yahoo.com Date: Fri, 7 Jun 2013 06:33:46 +0000 Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: team_chota@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 06:35:40 -0000 Tm9uYWt0aXYgbm90aXZpa2F0aW9uDQpTZW50IGZyb20gbXkgQmxhY2tCZXJyea4NCnBvd2VyZWQg YnkgU2lueWFsIEt1YXQgSU5ET1NBVA== From owner-freebsd-questions@FreeBSD.ORG Fri Jun 7 09:23: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 9B970744 for ; Fri, 7 Jun 2013 09:23:44 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 3128C12D9 for ; Fri, 7 Jun 2013 09:23:44 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id jg1so1933509bkc.34 for ; Fri, 07 Jun 2013 02:23:43 -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=nThtOG8EkC+cY0HrM4C6c2oN5dK1j2x9TKiMRtTm2fc=; b=IJdZHWCQTzp4zBFRs52HB/9typiL3Fzdj2U4sDotkJGs5I3p3oDxh/Vkb9xwfj6hyf o1y0PagMH2zTmAVXxo7efEV50D2dWpvjDnYV+aVf0rjXqmVhLILAmLHLjPmFvcGHJ9cW 1wRjCw8v0TLI7mEW4qk9y8Yg5TUPFk3RuSrOGOXNOLFK4xfJ9ZKx78q2CAE0hufW1LLe hGl3xNvS5myx7dcF7SAmtOCC0/DcOHOUxpMsR3TX3CZd6XogpjZMHFGMftqHFdbMdAzr NB3VTRJT4OxbE8Duclig6DvntzBXYGJQIrF6OvhDa5ecFLaleKjRwGVhd57cHd0YYctO MIrA== MIME-Version: 1.0 X-Received: by 10.205.9.129 with SMTP id ow1mr11972129bkb.130.1370597022956; Fri, 07 Jun 2013 02:23:42 -0700 (PDT) Received: by 10.204.184.8 with HTTP; Fri, 7 Jun 2013 02:23:42 -0700 (PDT) In-Reply-To: References: <51ADD8AF.5010102@a1poweruser.com> <51B013D2.5070106@ShaneWare.Biz> Date: Fri, 7 Jun 2013 02:23:42 -0700 Message-ID: Subject: Re: why is ports web page so far out of date From: Waitman Gobble To: Shane Ambler 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: Fri, 07 Jun 2013 09:23:44 -0000 On Wed, Jun 5, 2013 at 11:29 PM, Waitman Gobble wrote: > On Wed, Jun 5, 2013 at 9:45 PM, Shane Ambler wrote: >> On 05/06/2013 17:00, Waitman Gobble wrote: >> >>> If you must have a web based version, another option is DIY roll your >>> own ports index based on your own local ports tree. At least you can >>> set it up how you want. >>> >>> a simple quick-together script running on my computer: >>> https://dx.burplex.com/FreeBSD-ports/index.php >>> >>> there's a github link at the bottom of the page you can hack on if you >>> wanna. >>> >>> cool thing is you can easily cross-reference all the corresponding >>> gnats PR files in your mailbox to the generated port page, i'll add >>> that bit tomorrow. >> >> >> That looks useful. One thing I would think of adding is a search box. >> >> I would have thought of breaking the lists into pages but am surprised at >> how fast the longer pages are generated. >> >> One port that it has an issue with is devel/pear-HTML_Select_Common the >>