From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 00:43:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC5E106566C for ; Sun, 18 Dec 2011 00:43:11 +0000 (UTC) (envelope-from lars@oddbit.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3D35E8FC12 for ; Sun, 18 Dec 2011 00:43:10 +0000 (UTC) Received: by ggnp1 with SMTP id p1so5262014ggn.13 for ; Sat, 17 Dec 2011 16:43:10 -0800 (PST) Received: by 10.101.129.24 with SMTP id g24mr6182087ann.31.1324167105999; Sat, 17 Dec 2011 16:11:45 -0800 (PST) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by mx.google.com with ESMTPS id 3sm33053706anv.7.2011.12.17.16.11.43 (version=SSLv3 cipher=OTHER); Sat, 17 Dec 2011 16:11:44 -0800 (PST) Received: by qadb17 with SMTP id b17so2013676qad.13 for ; Sat, 17 Dec 2011 16:11:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.17.135 with SMTP id s7mr18892381qaa.65.1324167103295; Sat, 17 Dec 2011 16:11:43 -0800 (PST) Received: by 10.229.164.17 with HTTP; Sat, 17 Dec 2011 16:11:43 -0800 (PST) Date: Sat, 17 Dec 2011 19:11:43 -0500 Message-ID: From: Lars Kellogg-Stedman To: freebsd-questions Content-Type: text/plain; charset=UTF-8 Subject: FreeBSD 8.2 (stable) never boots successfully after installkernel/installworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 00:43:11 -0000 Hello list, I've been having a recurring problem with my FreeBSD 8.2 stable system: after going through the whole buildworld/buildkernel/installkernel/reboot/mergemaster/installworld/mergemaster process, the system no longer boots successfully: the loader reports, "Can't work out which disk we are booting from". It looks to my eyes like the "zfsloader" binary is not getting built correctly: I've been carrying around an older zfsloader in /boot, so that if at the boot prompt I type: /boot/zfsloader.working Everything works out fine. The complete output of the boot process is here: https://twitter.com/#!/larsks/status/148191554278928384/photo/1 Additional details: - This is FreeBSD 8.2 STABLE on amd64 - The kernel (and world) are current as of this afternoon - This has only ZFS filesystems This has been a very frustrating problem, and I'm not sure how to start debugging things. I'd appreciate your help. Thanks, -- Lars From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 12:15:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE4F9106564A for ; Sun, 18 Dec 2011 12:15:31 +0000 (UTC) (envelope-from jostein.stuhaug@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 681358FC13 for ; Sun, 18 Dec 2011 12:15:31 +0000 (UTC) Received: by lahl5 with SMTP id l5so2695693lah.13 for ; Sun, 18 Dec 2011 04:15:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=URs+Eyj7LDlnop56rt7tVeacvGKwN5H0S1hcqeNkhEY=; b=HE3rKnQXA8R3WPwMtFmId97l38orHu4rmd+QB04kjEKuc2yGY9OY19DcSuUWdUebbH TAR+TP8M4xyB7ci8QCDBK9XkmSwcV0bZKQVNlekGIxH9eZf6rolBs2ucXBGQj8OXAOUk MUnIMFPNtVS516wV733LynRkJbDaHRqBu0p0k= Received: by 10.152.114.42 with SMTP id jd10mr13017393lab.18.1324208749150; Sun, 18 Dec 2011 03:45:49 -0800 (PST) Received: from 48.93-89-45.enivest.net (48.93-89-45.enivest.net. [93.89.45.48]) by mx.google.com with ESMTPS id 5sm13889264lah.0.2011.12.18.03.45.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Dec 2011 03:45:48 -0800 (PST) Sender: Jostein Stuhaug Received: from [192.168.2.5] (unknown [192.168.2.5]) by mail0.solidsystem.no (Postfix) with ESMTPSA id E67C01CC38; Sun, 18 Dec 2011 12:45:44 +0100 (CET) Message-ID: <4EEDD268.1000502@solidsystem.no> Date: Sun, 18 Dec 2011 12:45:44 +0100 From: Jostein Stuhaug User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: "firmdog@gmail.com" , freebsd-questions@freebsd.org References: <20111217133106.GA41356@sputnjik.localdomain> In-Reply-To: <20111217133106.GA41356@sputnjik.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: FreeBSD on Amazon AWS EC2 for production servers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: js@solidsystem.no List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 12:15:32 -0000 Den 17.12.2011 14:31, skrev Nikola Pavlović: > On Fri, Dec 16, 2011 at 09:42:01PM -0500, firmdog@gmail.com wrote: >> Hi, >> >> Amazon AWS offers a free tier service for the first year, for one >> running instance of FreeBSD (and other OS's) It's a great place to >> experiment for free if you don't have any spare hardware. I have >> installed a few FreeBSD servers up there and it seems to work fine, >> and I would like to take some servers up in the AWS system. Here is >> some information to look at: >> >> http://www.daemonology.net/freebsd-on-ec2/ >> >> I posted the following on the AWS EC2 forum with no response, >> therefore asking here to see if anyone is using EC2: >> >> Is anyone running production servers using the FreeBSD 8.2 AMI on EC2? >> I want to take my servers up to AWS and run DNS, email, web, mysql, >> apache, ssl, etc... mainly to have reliable power and I like the >> versatility at AWS. For those on FreeBSD up here in AWS, how is it >> working? Stable? Reliable? Any gotchas or knows issues you can share? >> Any comments or feedback would be awesome to read! > > > From how I understood a Twit podcast on the subject featuring cperciva@ who > did the porting, http://tarsnap.com runs on FreeBSD. Since it's a > commercial service I can only assume it works good enough(tm), but I > really have no first hand experience so consider this post wrapped in > disclaimers :). > > Hi, I've been running a free micro instance with FreeBSD 8.2 for some months now, I cant say it's a real production server, it's just running a small homecooked cms system with very light traffic, but freebsd seems to be stable. I've never had any problems, and have compiled ports without problems. My instance is running git, jetty webserver and h2 database on openjdk, with nginx as a front. Current uptime is 71 days. -- Regards, Jostein From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 12:36:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A12401065673 for ; Sun, 18 Dec 2011 12:36:00 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [IPv6:2a02:6b8:0:801::5]) by mx1.freebsd.org (Postfix) with ESMTP id 1CE1B8FC12 for ; Sun, 18 Dec 2011 12:36:00 +0000 (UTC) Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward15.mail.yandex.net (Yandex) with ESMTP id B980A9E1CB5 for ; Sun, 18 Dec 2011 16:35:57 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324211757; bh=qDYXFPxK1rYSVV6W6kKfpnXLQ/cyJ+H4k84tCfrwCwc=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=XVk33S/dcy791h6knaVdrmqRmIJHoHj9SKMFEEiGbNuhFwnzduddC8nPzPB954HNF bbQ9AbaBBTvLcd6YMYWCTeu5BvDfOTcRYR3BIxzfgKnyvMxYs7cH+Wy0+XGIj+bUUp IF6qxvhhBvPRshLMIB1hOLmTh9ww1wyhyPiiXCT0= Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id 963D81B603C8 for ; Sun, 18 Dec 2011 16:35:57 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324211757; bh=qDYXFPxK1rYSVV6W6kKfpnXLQ/cyJ+H4k84tCfrwCwc=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=XVk33S/dcy791h6knaVdrmqRmIJHoHj9SKMFEEiGbNuhFwnzduddC8nPzPB954HNF bbQ9AbaBBTvLcd6YMYWCTeu5BvDfOTcRYR3BIxzfgKnyvMxYs7cH+Wy0+XGIj+bUUp IF6qxvhhBvPRshLMIB1hOLmTh9ww1wyhyPiiXCT0= Received: from unknown (unknown [77.93.52.20]) by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZvHm7GRq-ZvHap0PX; Sun, 18 Dec 2011 16:35:57 +0400 X-Yandex-Spam: 1 Date: Sun, 18 Dec 2011 14:35:55 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1814827189.20111218143555@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: torrent file for FreeBSD iso X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 12:36:00 -0000 It will be very, very handy to put here .torrent file for download FreeBSD .iso ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/ Thank you -- , mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 13:31:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6AFE106564A for ; Sun, 18 Dec 2011 13:31:37 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 07AF58FC14 for ; Sun, 18 Dec 2011 13:31:36 +0000 (UTC) Received: (qmail invoked by alias); 18 Dec 2011 13:04:56 -0000 Received: from port-92-206-82-182.dynamic.qsc.de (EHLO Core2Duo) [92.206.82.182] by mail.gmx.net (mp034) with SMTP; 18 Dec 2011 14:04:56 +0100 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX191cuBtNyt19hDTBL4iXjVnoGEtqXIVoiw5nA8Vhg MTqCyD6Fmtib75 Date: Sun, 18 Dec 2011 14:04:47 +0100 From: Andreas Rudisch To: =?UTF-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= Message-Id: <20111218140447.2c44e51e.cyb.@gmx.net> In-Reply-To: <1814827189.20111218143555@yandex.ru> References: <1814827189.20111218143555@yandex.ru> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__18_Dec_2011_14_04_47_+0100_0YAPk3kKApTIsS12" X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: torrent file for FreeBSD iso X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 13:31:37 -0000 --Signature=_Sun__18_Dec_2011_14_04_47_+0100_0YAPk3kKApTIsS12 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 18 Dec 2011 14:35:55 +0200 =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD= =D0=B8=D0=B9 wrote: > It will be very, very handy to put here .torrent file for download > FreeBSD .iso >=20 > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/ Torrents can already be found here: http://torrents.freebsd.org:8080/ Regards, Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Sun__18_Dec_2011_14_04_47_+0100_0YAPk3kKApTIsS12 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iEYEARECAAYFAk7t5O8ACgkQ8P3NNypXNWVNYACdHyUU/oATbxWgAdYNU6UIJtwO D5wAoIs0eQXhbH/xgOhwteSeEAnCyz9g =p2Rz -----END PGP SIGNATURE----- --Signature=_Sun__18_Dec_2011_14_04_47_+0100_0YAPk3kKApTIsS12-- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 14:08:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 893CC1065670 for ; Sun, 18 Dec 2011 14:08:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8428FC16 for ; Sun, 18 Dec 2011 14:08:49 +0000 (UTC) Received: by werb13 with SMTP id b13so1566120wer.13 for ; Sun, 18 Dec 2011 06:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=TSXzh+ckL4KTj5AG/MRqHh7uybWrvpXqUWaMiGK5Bzk=; b=HbRikkas1lF0jf4aYPhvHOkB3n1rkLhOzr0zAfcoY+8VDzxlduH+YHxspZ8A+Zmw18 U5tdFRI9CpY9VQp/fUXMWw3kxtQCfehvej9hjljCNIxCC/MupekxjobX7KObhQISuPLL vbDpNnAGBZbwaJ+tsEfKUKW50YOXvl0cd6Qms= Received: by 10.216.131.141 with SMTP id m13mr3035773wei.30.1324217329082; Sun, 18 Dec 2011 06:08:49 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id gg1sm22052906wbb.17.2011.12.18.06.08.46 (version=SSLv3 cipher=OTHER); Sun, 18 Dec 2011 06:08:47 -0800 (PST) Date: Sun, 18 Dec 2011 14:08:44 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111218140844.29eae281@gumby.homeunix.com> In-Reply-To: References: <20111213131547.27bda580@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Implementation details of altq hfsc scheduler in pf 4.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 14:08:50 -0000 On Thu, 15 Dec 2011 12:52:15 -0500 Maxim Khitrov wrote: > On Tue, Dec 13, 2011 at 8:15 AM, RW > wrote: > > It's about latency, realtime has priority over non-realtime. > > I sort of understand this, but I can't figure out how that would apply > to my example: > > altq on $wan hfsc bandwidth 25Mb queue {one, two} > queue one bandwidth 70% hfsc(default, realtime 20%) > queue two bandwidth 30% hfsc(realtime 60%) > > If realtime and linkshare priorities are reversed, what happens as > total bandwidth utilization approaches 100%? It would presume that each queue gets its realtime 60% and 20%, and the other 20% would be used to get the overall ratio as close as possible to 70:30, which would mean a 60:40 split. I'm not sure though, but you could test it experimentally. > >> 2. In service curve configuration (m1, d, m2), what is 'd' relative > >> to? > > > > It looks like it's a leaky-bucket algorithm. It's not really > > relative to anything except for special cases like a traffic > > step-function. > > Can you please clarify what you mean? I'm familiar with the leaky > bucket algorithm, but it still doesn't answer what triggers the switch > from m1 to m2 and whether it's a per-queue or per-connection setting. It would be a dual bucket or something equivalent. The switch would be controlled by the level in the larger bucket. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 15:52:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08A18106564A for ; Sun, 18 Dec 2011 15:52:45 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id CDF4E8FC14 for ; Sun, 18 Dec 2011 15:52:41 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 1781F72; Sun, 18 Dec 2011 10:52:41 -0500 (EST) Date: Sun, 18 Dec 2011 10:52:00 -0500 From: Daniel Staal To: =?UTF-8?Q?=D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2_=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9?= , freebsd-questions@freebsd.org Message-ID: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> In-Reply-To: <1374625746.20111217102942@yandex.ru> References: <1374625746.20111217102942@yandex.ru> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Re: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 15:52:45 -0000 --As of December 17, 2011 10:29:42 AM +0200, = =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 = =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20 is alleged to have said: > How to debug why system do not use free CPU resouces? > > On this pictures you can see that CPU can not exceed 400tics > http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ > http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ > http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ > > > On these pictures you can see that problems begin with trafic on re0 > when CPU load rise to "maximum" > http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ > http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ > > But there is 25% CPU idle yet at that moment. ># top -SIHP > last pid: 93050; load averages: 1.45, 1.41, 1.29 > up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 > stopped, 20 waiting > CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle > CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle > CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle > CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle > Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free > Swap: 4096M Total, 15M Used, 4080M Free --As for the rest, it is mine. You are I/O bound; most of your time is spent in interrupts. The CPU is=20 dealing with things as fast as it can get them, but it has to wait for the=20 disk and/or network card to get them to it. The CPU is not your problem;=20 if you need more performance, you need to tune the I/O. (And possibly get=20 better I/O cards, if available.) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 16:07:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28DBF1065676 for ; Sun, 18 Dec 2011 16:07:58 +0000 (UTC) (envelope-from tlaronde@polynum.com) Received: from smtp23.services.sfr.fr (smtp23.services.sfr.fr [93.17.128.20]) by mx1.freebsd.org (Postfix) with ESMTP id D7EE48FC15 for ; Sun, 18 Dec 2011 16:07:57 +0000 (UTC) Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2307.sfr.fr (SMTP Server) with ESMTP id 19DB67000085 for ; Sun, 18 Dec 2011 16:49:47 +0100 (CET) Received: from jordan.polynum.local (136.249.12.109.rev.sfr.net [109.12.249.136]) by msfrf2307.sfr.fr (SMTP Server) with ESMTP id DF6627000068 for ; Sun, 18 Dec 2011 16:49:46 +0100 (CET) X-SFR-UUID: 20111218154946915.DF6627000068@msfrf2307.sfr.fr Received: from jordan.polynum.local (localhost.polynum.local [127.0.0.1]) by jordan.polynum.local (8.14.4/8.13.3) with ESMTP id pBIFnkQt011882 for ; Sun, 18 Dec 2011 16:49:46 +0100 (CET) Received: (from tlaronde@localhost) by jordan.polynum.local (8.14.4/8.12.11) id pBIFnkPV021388 for freebsd-questions@freebsd.org; Sun, 18 Dec 2011 16:49:46 +0100 (CET) Date: Sun, 18 Dec 2011 16:49:46 +0100 From: tlaronde@polynum.com To: freebsd-questions@freebsd.org Message-ID: <20111218154946.GA19159@polynum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-sfr-mailing: LEGIT Subject: TeX for Unices under BSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tlaronde@polynum.com, freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 16:07:58 -0000 [I've set the Reply-To since I'm not subscribed.] Hello, It is not a question, but an information. I have created a TeX and al. distribution, pure C89 under a BSD like license, that has been tested under NetBSD and Plan9; has been reported to compile under Linux and FreeBSD, and should simply compile everywhere. It is light. Has all the latest versions of Donald E. Knuth's programs and fonts, plus Tomas Rockiki's dvips(1), John Hobby's MetaPost, Oren Patashnik's bibtex(1), the AMS fonts and more. One can compile the LaTeX package with it (see the README/LISEZ.MOI). The programs depend on strictly nothing except the standard C library. It is a matter of less than 10Mb to download for sources. A matter of typically less than 5 minutes to compile; less than 5 minutes to install including the generation of fonts etc. Since I'm reaching the 1.0 target (the only remaining thing to do is add back the X11 display rendering for METAFONT), I think it's time for kerTeX to be more widely known. It's here: http://www.kergis.com/en/kertex.html and please to download and read! the README. Cheers, -- Thierry Laronde http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 17:24:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6841106566B for ; Sun, 18 Dec 2011 17:24:50 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD878FC0A for ; Sun, 18 Dec 2011 17:24:50 +0000 (UTC) Received: from eastrmimpo109.cox.net ([68.230.241.222]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111218172449.MCIJ3177.eastrmfepo102.cox.net@eastrmimpo109.cox.net>; Sun, 18 Dec 2011 12:24:49 -0500 Received: from serene.no-ip.org ([98.164.80.83]) by eastrmimpo109.cox.net with bizsmtp id AhQl1i0081nrG4q02hQozF; Sun, 18 Dec 2011 12:24:49 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020202.4EEE21E1.0091,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=v7GbILHnR1xQ6JOQ0tpByaeo/qX3otcUiWK95upJFOE= c=1 sm=1 a=vENPRZaXeEQA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=bP8/21xuPmjjKiboDxlPZA==:17 a=TQf1RjA6AAAA:8 a=6I5d2MoRAAAA:8 a=kviXuzpPAAAA:8 a=vkjjD3W8vmqQC1ma6OsA:9 a=CjuIK1q_8ugA:10 a=41A2z7LX-GcA:10 a=nLNdtIfjiDMA:10 a=SV7veod9ZcQA:10 a=4vB-4DCPJfMA:10 a=bP8/21xuPmjjKiboDxlPZA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id pBIHObSp057039; Sun, 18 Dec 2011 11:24:41 -0600 (CST) (envelope-from conrads@cox.net) Date: Sun, 18 Dec 2011 11:24:32 -0600 From: "Conrad J. Sabatier" To: Fbsd8 Message-ID: <20111218112432.07baf6f7@cox.net> In-Reply-To: <4EEC08E8.80501@a1poweruser.com> References: <4EEC08E8.80501@a1poweruser.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Graphic /boot/loader menu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 17:24:50 -0000 On Sat, 17 Dec 2011 11:13:44 +0800 Fbsd8 wrote: > What ever happened to the project to add an graphic boot/loader > option menu? > > http://wiki.freebsd.org/OliverFromme/BootLoader I agree that FreeBSD could use a facelift in certain areas (the boot screen looks horribly antiquated and DOSian), but it seems the majority of FreeBSD developers are either not especially interested or are busy enough already working on other things. You'd probably do best to contact the Wiki page's author directly: Oliver Fromme The last update to the Wiki page was in 2009, so this project may be dead in the water. Only Oliver could tell you for sure. Another possibility would be to contact the PC-BSD folks and see if they might let you "borrow" some of their work for porting over to FreeBSD (assuming you have some developer skills yourself). Then again, if this is *really* important to you, you could always just try switching over to PC-BSD. It does seem to be essentially the same as FreeBSD, but with a number of GUI tools added. Myself, personally, as much as I dislike the look of FreeBSD's boot menu, it does have the advantage of being very lightweight and adding minimal overhead to the booting process, which is an important consideration for a lot of people, no doubt. YMMV. Let us know if you learn anything interesting re: this issue. -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 17:47:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07664106564A for ; Sun, 18 Dec 2011 17:47:18 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [IPv6:2a02:6b8:0:602::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0FC8FC0A for ; Sun, 18 Dec 2011 17:47:17 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward1.mail.yandex.net (Yandex) with ESMTP id 8772A124128C; Sun, 18 Dec 2011 21:47:15 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324230435; bh=ZF6MnMSe8o6z2FYPrd0Nr1ug96kppODScNxz61/fdnY=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sOgMGWRl5vdHX23N6cS5ib8yokhjAAkmGxxVhRL/qZEQ5fctzj8sgdRtEGTstb5pz fg9GG4Lex71p9hcx5o7uyIfQZ3txVbB+mjOQnVsaypaNdFIGKfU55Yc/nI9mxfpgpu Qm7x3bBWENFLt0n0KU/MK7RK+ampN0JdvZoGrPIc= Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id 62D44E203B9; Sun, 18 Dec 2011 21:47:15 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324230435; bh=ZF6MnMSe8o6z2FYPrd0Nr1ug96kppODScNxz61/fdnY=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sOgMGWRl5vdHX23N6cS5ib8yokhjAAkmGxxVhRL/qZEQ5fctzj8sgdRtEGTstb5pz fg9GG4Lex71p9hcx5o7uyIfQZ3txVbB+mjOQnVsaypaNdFIGKfU55Yc/nI9mxfpgpu Qm7x3bBWENFLt0n0KU/MK7RK+ampN0JdvZoGrPIc= Received: from unknown (unknown [77.93.52.22]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id lEGuMlwM-lFGWGw5b; Sun, 18 Dec 2011 21:47:15 +0400 X-Yandex-Spam: 1 Date: Sun, 18 Dec 2011 19:47:12 +0200 From: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?utf-8?B?0KfQnyDQmtC+0L3RjNC60L7QsiwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <926001243.20111218194712@yandex.ru> To: Daniel Staal In-Reply-To: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> References: <1374625746.20111217102942@yandex.ru> <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 17:47:18 -0000 Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS> is alleged to have said: >> How to debug why system do not use free CPU resouces? >> >> On this pictures you can see that CPU can not exceed 400tics >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ >> >> >> On these pictures you can see that problems begin with trafic on re0 >> when CPU load rise to "maximum" >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ >> >> But there is 25% CPU idle yet at that moment. DS> >># top -SIHP >> last pid: 93050; load averages: 1.45, 1.41, 1.29 >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 >> stopped, 20 waiting >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free >> Swap: 4096M Total, 15M Used, 4080M Free DS> --As for the rest, it is mine. DS> You are I/O bound; most of your time is spent in interrupts. The CPU is DS> dealing with things as fast as it can get them, but it has to wait for the DS> disk and/or network card to get them to it. The CPU is not your problem; DS> if you need more performance, you need to tune the I/O. (And possibly get DS> better I/O cards, if available.) DS> Daniel T. Staal can I get interrupt limit or calculate it before that limit is reached? interrupt source is internal card: # vmstat -i interrupt total rate irq14: ata0 349756 78 irq16: ehci0 7427 1 irq23: ehci1 12150 2 cpu0:timer 18268704 4122 irq256: re0 85001260 19178 cpu1:timer 18262192 4120 cpu2:timer 18217064 4110 cpu3:timer 18210509 4108 Total 158329062 35724 Have you any good I/O tuning links to read? -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 18:25:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97E521065676 for ; Sun, 18 Dec 2011 18:25:12 +0000 (UTC) (envelope-from chance@itu.int) Received: from email.livrivoli.it (host230.pool021115217.sta.multiwire.net [217.115.21.230]) by mx1.freebsd.org (Postfix) with ESMTP id 573768FC15 for ; Sun, 18 Dec 2011 18:25:10 +0000 (UTC) Received: from itu.int ([69.162.119.107]) (authenticated user liv@livrivoli.it) by email.livrivoli.it (Kerio Connect 7.2.3 patch 1) for freebsd-questions@freebsd.org; Sun, 18 Dec 2011 18:58:07 +0100 From: International Telecomunication Union To: freebsd-questions@freebsd.org Date: 18 Dec 2011 15:55:28 -0200 Message-ID: <20111218155528.6DB1775A75664FF4@itu.int> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Amaizing chance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 18:25:12 -0000 [1]3D"International [2]International Telecomunication Union International Call-In Prize Giveaway= 3D"As Want to Win $10 000? Need money? Enter to Win $10 000 to use how= ever you want! How To Enter Each day from Thursday December 1st through to Saturday December 31= , you will have the chance to win $10 000 in cash. You can have as many chan= ces as you want. Simply call any of the numbers below. If you are the person= number 1000 to call that number you get $10 000 cash. *Please read all the terms and conditions on the botttomof this pag= e before calling! +996312973000 +996312973001 +996312973002 +996312973003 +996312973004 +996312973005 +996312973006 +996312973007 +996312973008 +996312973009 +996312973010 +996312973011 +996312973012 +996312973013 +996312973014 +996312973015 +996312973016 +996312973017 +996312973018 +996312973019 +996312973020 +996312973021 +996312973022 +996312973023 +996312973024 +996312973025 +996312973026 +996312973027 +996312973028 +996312973029 +996312973030 +996312973031 +996312973032 +996312973033 +996312973034 +996312973035 +996312973036 +996312973037 +996312973038 +996312973039 +996312973040 +996312973041 +996312973042 +996312973043 +996312973044 +996312973045 +996312973046 +996312973047 +996312973048 +996312973049 +996312973050 +996312973051 +996312973052 +996312973053 +996312973054 +996312973055 +996312973056 +996312973057 +996312973058 +996312973059 +996312973060 +996312973061 +996312973062 +996312973063 +996312973064 +996312973065 +996312973066 +996312973067 +996312973068 +996312973069 +996312973070 +996312973071 +996312973072 +996312973073 +996312973074 +996312973075 +996312973076 +996312973077 +996312973078 +996312973079 +996312973080 +996312973081 +996312973082 +996312973083 +996312973084 +996312973085 +996312973086 +996312973087 +996312973088 +996312973089 +996312973090 +996312973091 +996312973092 +996312973093 +996312973094 +996312973095 +996312973096 +996312973097 +996312973098 +996312973099 REMEMBER: YOU could be the winner= on any number and you can call as many times as you want! You are guarantee= d to win as long as you are the person number 1000 to call! Sponsored by: 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D= 3D"" 3D"" 3D"" 3D"" [home_3b.jpg"] 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D"= By calling any of the numbers abov= e, you are accepting these terms and you will be automatically entered into = the International Call-In Prize Giveaway. International Call-In Prize Giveaw= ay is open only to legal residents of any country who are at least 18 years = of age. International Call-In Prize Giveaway is void in Puerto Rico. Offer v= oid where otherwise prohibited by law. Winners are responsible for taxes on = all prizes. No purchase necessary to play or win. Copyright 2011 Inte= rnational Telecomunication Union. All Rights Reserved. *You agree to call only from your phone number. If you are the winn= er a person from our staff will contact you within moments from your call to= the number you called from to ask you for your details. Do not call from ph= one lines you do not own. Every call is charged $0.12/minute. You DO NOT hav= e to hold the line more than 1 minute. References 1. 3D"http://www.itu.int/ITU-D/ict/= 2. =3D"http://www.itu.int/ITU-D/ict/index.html" From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 19:05:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7E0D1065676 for ; Sun, 18 Dec 2011 19:05:33 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 7484E8FC14 for ; Sun, 18 Dec 2011 19:05:32 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pBIJ7p1r057042 for freebsd-questions@freebsd.org; Sun, 18 Dec 2011 13:07:51 -0600 (CST) Date: Sun, 18 Dec 2011 13:07:51 -0600 (CST) From: Robert Bonomi Message-Id: <201112181907.pBIJ7p1r057042@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <926001243.20111218194712@yandex.ru> Subject: Re: Re[2]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 19:05:33 -0000 wrote; > > can I get interrupt limit or calculate it before that limit is > reached? You can extrapolate from the current cpu time spent in interrupt handling and the current interrupt rate to a situation where roughly 100% of the cpu capacity is spent in interrupt handling. > > interrupt source is internal card: > # vmstat -i > interrupt total rate > irq14: ata0 349756 78 > irq16: ehci0 7427 1 > irq23: ehci1 12150 2 > cpu0:timer 18268704 4122 > irq256: re0 85001260 19178 > cpu1:timer 18262192 4120 > cpu2:timer 18217064 4110 > cpu3:timer 18210509 4108 > Total 158329062 35724 > > Have you any good I/O tuning links to read? Since the 'issue' is the _network_ card, you are being limited by the rate at which the RealTeK chipset, and the device driver software, can transfer data to/from the Ethernet. This -may- be the 'wire speed' limit, or the hardware simply may not be capable of performing _at_ 'wire speed', or (theoretically) it might be a performance limit in the driver software. In your case, the driver software can be eliminated as the limiting factor because there is lots of 'idle' cpu time. This means that either the 'wire' is saturated, or the hardware (at *either* end of the link) is not capable of operating at full "wire speed". Or one is getting bit by the 'bAndwidth delay product' on TCP connections. This describes a situation where the limit on 'un-ACKed' packets transmitted is reached -before- the ACK for the first packet is returned. If the application that use the nentwork are generating lots of 'small' packets, modifying the protocol to use a smaller number of larger packets can make for a -significant- performance increase. Network devices have limits on the number of 'packets per second' they can handle, as well as the bit-rate they can support. Note: If you are doing long-distance, high-latency, 'connections', one may be limited to well below wire speeds by the 'bandwidth delay product'. This issue can be ameliorated by increasing the TCP window size. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 13 22:37:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53430106564A for ; Tue, 13 Dec 2011 22:37:41 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id ED1F28FC14 for ; Tue, 13 Dec 2011 22:37:40 +0000 (UTC) Received: (qmail invoked by alias); 13 Dec 2011 22:10:59 -0000 Received: from unknown (EHLO [192.168.2.192]) [78.84.110.116] by mail.gmx.com (mp-us011) with SMTP; 13 Dec 2011 17:10:59 -0500 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX1/vMN0zLt7vfN7g9OPR0QE4Qle+wVmpeuAVPtYD09 3GkjTjZ/6KOZPc Message-ID: <4EE7CD71.10709@mail.com> Date: Wed, 14 Dec 2011 00:10:57 +0200 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Mailman-Approved-At: Sun, 18 Dec 2011 22:34:55 +0000 Subject: HP LaserJet Pro P1102 stops responding after a while X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 22:37:41 -0000 Hi, I put HP LaserJet Pro P1102 on a CUPS server with Samba. I followed the steps as shown here: http://forums.freebsd.org/showthread.php?t=21312 except I have 7.4-RELEASE, so I recompiled the kernel without ulpt device as suggested in foo2zjs site (INSTALL notes on FreeBSD 7), and the printer is now on ugen0.1. After installation, the printer became available in CUPS, I could print a test page, then I exported CUPS and WINDOWS postscript drivers to Samba with cupsaddsmb. Then I added the printer on some Windows XP workstations, and the shared driver installed automatically as expected. The problem is that after some idle minutes, the printer stops responding. The job just disappears from the queue, but nothing prints. The same thing on the CUPS web interface. If I restart cupsd, the printer prints again. But as soon as try printing from another workstation, it's again silent. Really weird. I found in the HP manual that it has an economic usage "feature" that by default is set to switch the printer off after 5 minutes being idle. The printer should switch on again when a new job is sent. This can be disabled but only with a native HP driver (don't really understand where it happens -- on the host the printer is attached to or within the printer's firmware). I tried to install the HP Windows driver on a workstation, attached the printer directly to it, disabled the switching off, sent a job from there as told in the manual but it didn't help. But maybe the 'economic usage feature' isn't the reason. Any ideas of what could be wrong? From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 18:56:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBD56106566C; Thu, 15 Dec 2011 18:56:30 +0000 (UTC) (envelope-from jack@jarasoft.net) Received: from orac.jarasoft.net (raats.xs4all.nl [82.95.230.43]) by mx1.freebsd.org (Postfix) with ESMTP id 670018FC08; Thu, 15 Dec 2011 18:56:29 +0000 (UTC) Received: from orac.jarasoft.net (unknown [10.10.10.10]) by orac.jarasoft.net (Postfix) with ESMTP id D75503D75D2; Thu, 15 Dec 2011 19:44:02 +0100 (CET) Received: from jarasc430 (raats.xs4all.nl [82.95.230.43]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by orac.jarasoft.net (Postfix) with ESMTPSA id B9E1F3D742C; Thu, 15 Dec 2011 19:44:02 +0100 (CET) Message-ID: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430> From: "Jack Raats" To: , Date: Thu, 15 Dec 2011 19:43:27 +0100 Organization: JaRaSoft, Steenbergen, Nederland MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Virus-Scanned: ClamAV using ClamSMTP on orac.jarasoft.net X-Mailman-Approved-At: Sun, 18 Dec 2011 22:34:55 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: network with two gateways and one network card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Raats List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 18:56:30 -0000 I have a question. Perhaps soeone can point me to a solution. I have a server running FreeBSD 7.4-STABLE with one network card running = ezjail My network has two gateways. The host is running as 10.10.10.10 netmask 255.255.255.0 with gateway = 10.10.10.1 The jail must be running 192.168.178.10 netmask 255.255.255.0 with = gateway 192.168.178.1 Is this possible? How to do it?? What kind of problems to expect? Thanks for your time Jack Raats From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 20:20:22 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4FB8106564A for ; Fri, 16 Dec 2011 20:20:22 +0000 (UTC) (envelope-from vongbui@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 994B08FC0C for ; Fri, 16 Dec 2011 20:20:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1324065621; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=/tAxTOtofvJBCfcZ+Fn7ST5JaDg=; b=V6cb77sR4nqfip090aAyg3yBtQJUacIBSPYvU8R3tJY6YDo9508hEn+Kbn9+U6b6 1twAKZqE7Njit331A8k9UAezlmLVbgKin6NF9PEikaRiRw/eUA0XeYwBrn/Xn6zj; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=PPmNCIWC c=1 sm=0 a=sgy8BGTex1hlvNNCFQSblA==:17 a=KM5DwV-Zk14A:10 a=1poGYrevpj8A:10 a=8nJEP1OIZ-IA:10 a=1oqGTYSLAAAA:8 a=joO7rXvKOFs5wdiuOGUA:9 a=wPNLvfGTeEIA:10 a=fxMIuVdatxsA:10 a=cvn8laQl214A:10 a=sgy8BGTex1hlvNNCFQSblA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.embarq.synacor.com smtp.user=vongbui@embarqmail.com; auth=pass (LOGIN) Received: from [76.1.247.233] ([76.1.247.233:24234] helo=[192.168.2.2]) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.3.47 r(39797/39798)) with ESMTPA id 0D/98-26568-453ABEE4; Fri, 16 Dec 2011 15:00:21 -0500 Message-ID: <4EEBA355.6070809@embarqmail.com> Date: Fri, 16 Dec 2011 15:00:21 -0500 From: Vong Bui User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.24) Gecko/20111103 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 18 Dec 2011 22:34:55 +0000 Cc: Subject: Legacy releases of freeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 20:20:22 -0000 Hello, I am trying to learn Unix by using freeBSD and wanted to obtain an "older" version of freeBSD, such as version 3.5, to accompany a book about freeBSD published around 1999. Can you point me to where the iso images can be found, if they are available for download. Thank you -- Vong Bui E-mail: vongbui@embarqmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 22:49:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01204106566C for ; Sun, 18 Dec 2011 22:49:26 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id B49A48FC0A for ; Sun, 18 Dec 2011 22:49:25 +0000 (UTC) Received: from [188.108.237.120] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RcPXo-0001ok-13; Sun, 18 Dec 2011 23:49:24 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org, "Vong Bui" References: <4EEBA355.6070809@embarqmail.com> Date: Sun, 18 Dec 2011 23:49:14 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <4EEBA355.6070809@embarqmail.com> User-Agent: Opera Mail/11.60 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.3/14136/Sun Dec 18 22:42:03 2011) Cc: Subject: Re: Legacy releases of freeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 22:49:26 -0000 Am 16.12.2011, 21:00 Uhr, schrieb Vong Bui : > Hello, > I am trying to learn Unix by using freeBSD and wanted to obtain an > "older" version of freeBSD, such as version 3.5, to accompany a book > about freeBSD published around 1999. Can you point me to where the iso > images can be found, if they are available for download. > > Thank you > ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/ Regards, Michael From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 04:54:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2140F1065670 for ; Mon, 19 Dec 2011 04:54:10 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from ffe16.ukr.net (ffe16.ukr.net [195.214.192.51]) by mx1.freebsd.org (Postfix) with ESMTP id C55108FC0A for ; Mon, 19 Dec 2011 04:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:References:In-Reply-To:Subject:Cc:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=OtwVVgbiVgfj0Jyhe4nnL9iwg1PORRkccrTYHDCV0Zk=; b=IaP8JlCJyxMbcDPVTMzI/hAt1wm8L0TbU5MSO44lNJd3EZNvmVaioJ5Kv2Y389hr0xo6VRvMP9ZvbCun9czhgicns6XQW7p9tLOlT0/AMGDK5FCSx3jWqdldJulqd+PASHrraIx5+8VbPEoPNhxFCXvUNNR2c63bKKQZc+FUYpM=; Received: from mail by ffe16.ukr.net with local ID 1RcVEm-000JUw-17 ; Mon, 19 Dec 2011 06:54:08 +0200 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain; charset="windows-1251" In-Reply-To: <926001243.20111218194712@yandex.ru> References: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> <1374625746.20111217102942@yandex.ru> <926001243.20111218194712@yandex.ru> To: =?WINDOWS-1251?B?yu7t/Oru4iDF4uPl7ejp?= From: "wishmaster" X-Mailer: freemail.ukr.net 4.0 X-Originating-Ip: [195.200.251.83] Message-Id: <70251.1324270448.8859926110310105088@ffe16.ukr.net> X-Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0 Date: Mon, 19 Dec 2011 06:54:08 +0200 Cc: Daniel Staal , freebsd-questions@freebsd.org Subject: Re: Re[2]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 04:54:10 -0000 --- Original message --- From: " " To: "Daniel Staal" Date: 18 December 2011, 19:47:40 Subject: Re[2]: high load system do not take all CPU time > , Daniel. > > 18 2011 ., 17:52:00: > > DS> --As of December 17, 2011 10:29:42 AM +0200, > DS> is alleged to have said: > > >> How to debug why system do not use free CPU resouces? > >> > >> On this pictures you can see that CPU can not exceed 400tics > >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ > >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ > >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ > >> > >> > >> On these pictures you can see that problems begin with trafic on re0 > >> when CPU load rise to "maximum" > >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ > >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ > >> > >> But there is 25% CPU idle yet at that moment. > > DS> > > >># top -SIHP > >> last pid: 93050; load averages: 1.45, 1.41, 1.29 > >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 > >> stopped, 20 waiting > >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle > >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle > >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle > >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle > >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free > >> Swap: 4096M Total, 15M Used, 4080M Free > > DS> --As for the rest, it is mine. > > DS> You are I/O bound; most of your time is spent in interrupts. The CPU is > DS> dealing with things as fast as it can get them, but it has to wait for the > DS> disk and/or network card to get them to it. The CPU is not your problem; > DS> if you need more performance, you need to tune the I/O. (And possibly get > DS> better I/O cards, if available.) > > DS> Daniel T. Staal > > can I get interrupt limit or calculate it before that limit is > reached? > > interrupt source is internal card: > # vmstat -i > interrupt total rate > irq14: ata0 349756 78 > irq16: ehci0 7427 1 > irq23: ehci1 12150 2 > cpu0:timer 18268704 4122 > irq256: re0 85001260 19178 > cpu1:timer 18262192 4120 > cpu2:timer 18217064 4110 > cpu3:timer 18210509 4108 > Total 158329062 35724 > > Have you any good I/O tuning links to read? > > -- > , > mailto:kes-kes@yandex.ru Your problem is in the poor performance LAN Card. Guy from Calomel Org told you about it. He advised you to change to Intel Network Card. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 07:07:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CB7F106564A for ; Mon, 19 Dec 2011 07:07:27 +0000 (UTC) (envelope-from transactional@ocmail2.in) Received: from m239.ocmail2.in (m239.ocmail2.in [173.193.227.239]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9CE8FC0A for ; Mon, 19 Dec 2011 07:07:26 +0000 (UTC) Date: Mon, 19 Dec 2011 06:47:25 +0000 To: freebsd-questions@freebsd.org From: Tradus X-Mailer: ocmail2.in X-Complaints-To: abuse@ocmail2.in Message-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Rakesh kumar has sent you a message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: invitation@tradusindia.in List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 07:07:27 -0000 =09 3D'tradus.in= [static.tradus.=] [im_line=] Rakesh kumar Invites you to Join=20 Tradus.in - India's Premium Online Mall Tradus is an exclusive online shopping m= all that offers a variety of products & brands in Fashion Wear, Accessories= , Electronics, IT products & Books. Not only you get to relish the irresist= able discounts on daily deals & sale events, but you also get to invite you= r friends and shop with free shopping vouchers. To start you off on Tradus, = Rakesh kumar has gifted you Shopping Vouchers worth Rs 750* =09=09 [shop=] [1][shop=] = *<= /span> Terms & conditions [defaul=] 2 Shopping Vouchers worth Rs 250 & Rs 500 will be= sent to you via an email communication. [defaul=] Rs 250 voucher will be redeemable on a minimum purcha= se of Rs 999, and will be valid for 2 days. [defaul=] Rs 500 voucher will be redeemable on a minimum purcha= se of Rs 2499, and will be valid for 7 days [defaul=] These vouchers would not be redeemable on mobile and = gift vouchers category. =09 [oct.gif'] References 1. 3D'http://referral.ocmail2.in/x/r/645/1241324= From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 11:34:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 938A5106564A for ; Mon, 19 Dec 2011 11:34:31 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4C2D98FC08 for ; Mon, 19 Dec 2011 11:34:31 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 339AB5C24 for ; Mon, 19 Dec 2011 21:46:55 +1000 (EST) Message-ID: <4EEF208F.1060100@herveybayaustralia.com.au> Date: Mon, 19 Dec 2011 21:31:27 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 11:34:31 -0000 I hate to come with this kind of a query, but my googling hasn't come across a satisfactory answer. I'm running an install on a brand new laptop for a client, and I'm trying to get X up using xdm- nothing. The logs says it failed to load fbdev because there is no data module. I try uninstalling fbdev and running a rebuild of xorg- its still using the builtin configuration and still can't load fbdev. No devices detected. I run Xorg -configure, and it shows the radeon card fine, 2 displays. Still working with the config file, but it seems fine. WTF? This is essentially the same hardware as another laptop I've setup (same video card - same brand CPU, just bigger and faster), and its fine. Both are AMD, the original is athlon dual core, the new is phenom quad core. The googling failed as my searches came up with either root has access and user doesn't, or mixed intel/ati. Neither are the case here... Cheers From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 12:46:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F893106567D for ; Mon, 19 Dec 2011 12:46:49 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 247808FC1D for ; Mon, 19 Dec 2011 12:46:49 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 76DFC5C24 for ; Mon, 19 Dec 2011 22:59:13 +1000 (EST) Message-ID: <4EEF3183.3060907@herveybayaustralia.com.au> Date: Mon, 19 Dec 2011 22:43:47 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EEF208F.1060100@herveybayaustralia.com.au> In-Reply-To: <4EEF208F.1060100@herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 12:46:49 -0000 On 12/19/11 21:31, Da Rock wrote: > I hate to come with this kind of a query, but my googling hasn't come > across a satisfactory answer. > > I'm running an install on a brand new laptop for a client, and I'm > trying to get X up using xdm- nothing. The logs says it failed to load > fbdev because there is no data module. > > I try uninstalling fbdev and running a rebuild of xorg- its still > using the builtin configuration and still can't load fbdev. No devices > detected. > > I run Xorg -configure, and it shows the radeon card fine, 2 displays. > Still working with the config file, but it seems fine. correction - its dual display issue that I've never had trouble with before (I also have installed on a HTPC with same memory, phenom quad core, uses a radeon HD card and a NVidia HD card). And no, the Xorg -config /root/xorg.conf.new [-retro] doesn't work as it is locking up and I can't even ctl-alt-backspace, I have to acpi power off to shut the system down. Google's still not giving me any hope... :( Last time I came across this level of issue was with a solo vintage intel card on yet another laptop- it froze the system too. BTW, who says multicard vga is rare? > WTF? This is essentially the same hardware as another laptop I've > setup (same video card - same brand CPU, just bigger and faster), and > its fine. Both are AMD, the original is athlon dual core, the new is > phenom quad core. > > The googling failed as my searches came up with either root has access > and user doesn't, or mixed intel/ati. Neither are the case here... > > Cheers > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 13:31:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89884106566B for ; Mon, 19 Dec 2011 13:31:37 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from nm30-vm6.bullet.mail.ne1.yahoo.com (nm30-vm6.bullet.mail.ne1.yahoo.com [98.138.91.123]) by mx1.freebsd.org (Postfix) with SMTP id 419718FC17 for ; Mon, 19 Dec 2011 13:31:36 +0000 (UTC) Received: from [98.138.90.52] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 19 Dec 2011 13:31:36 -0000 Received: from [98.138.89.248] by tm5.bullet.mail.ne1.yahoo.com with NNFMP; 19 Dec 2011 13:31:36 -0000 Received: from [127.0.0.1] by omp1040.mail.ne1.yahoo.com with NNFMP; 19 Dec 2011 13:31:36 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 531939.72158.bm@omp1040.mail.ne1.yahoo.com Received: (qmail 48292 invoked by uid 60001); 19 Dec 2011 13:31:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1324301496; bh=L9/RxkNc2Ev1msQeHY1pDzWw45SQbP3bdpaXSAkXmXk=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=DNXNIrOar2JCvnUP9qfSPKDd+zdU3fDQWV1daWc1ig1G7p3CvNJ+4Vr42J9ux/+3sYqDmVUvVAA6tYMFAjkqGKYviOXy3Qn8Y5Inq/+3XKhX/P7Gpd6mgR6K0Fxu7Nso7BKZJeXmIXIB4WlpnXFHQzNXXo2Fce4jcmgiIchSlmo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=gjAcSuJbr7veurbLwYvC3pSLMsFxXxQkM7gsTl8NpPvc3HIFyLDi0TBUHiWbt4zvOLvaptvJk+UDI6OF2ZYCFAMDCwZ7zNhoB+ugcUWG1hILqXd6lxLLw6Cgqy9xeRV/LHS/Xg7KtIT6CodrDDeN14VrAXfZS8TpoPJlsf+yWPM=; X-YMail-OSG: PaKOo20VM1m.OfigpKQ_W_.x8sz69.qGreqokXGV2zk5Tnj 6EPkZRtBDKFGKXqdNtHHcobMo9i6O8t3q1oB716IN5HnNP_DalsP6MzDRN1G cDB2tKbdw_m9TIktaXaVoduLzH1zV5GCsBxNcz6gORyDxUhaKNfp7W70MrMJ sBpsi95fThuoF7c2iOenkuaXseoY2oxH9ri8fd.6MpqY4oZX82mg3s_q47yZ RW.hdbgmuaUXpS8YYkfp.15oMwhUytNmrw8kQPC.CQX0raIcBjL__IulkCFV NmkBA17NRhRb7g8gT6HQ_wXi_4kl_yhqOUwvixt09wpFHE6xo4wtD4wds7mw CWXE6Mivp1k50GI4omTx1prMrRh6BhtH7aAkvc2ErPdmvLFDKshvYr0a.QYz 0XrnuLngxlx72FywhxozykhJhvIs1XCFZhgCxXDMIsbgYk8CV9GK8xYTzg_n RtEI754Z.El_o.Jc- Received: from [98.203.44.66] by web36501.mail.mud.yahoo.com via HTTP; Mon, 19 Dec 2011 05:31:35 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <4EEBA355.6070809@embarqmail.com> Message-ID: <1324301495.25232.YahooMailNeo@web36501.mail.mud.yahoo.com> Date: Mon, 19 Dec 2011 05:31:35 -0800 (PST) From: Bill Tillman To: "freebsd-questions@FreeBSD.org" In-Reply-To: <4EEBA355.6070809@embarqmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Legacy releases of freeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bill Tillman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 13:31:37 -0000 I think we understand why you're looking for older versions, there might even be a copy of 3.5 out there somewhere but as I recall the latest version was 3.3 sometime in 2001. I have an old CD around here somewhere with 4.9 but I think others as well would encourage you to use the latest version and then read the handbook which comes with FreeBSD. There is a section in the docs which is titled "For People New to Unix" which is just as good for the new versions as it was for the old versions. Why limit yourself with an old version. ________________________________ From: Vong Bui To: freebsd-questions@FreeBSD.org Sent: Friday, December 16, 2011 3:00 PM Subject: Legacy releases of freeBSD Hello, I am trying to learn Unix by using freeBSD and wanted to obtain an "older" version of freeBSD, such as version 3.5, to accompany a book about freeBSD published around 1999. Can you point me to where the iso images can be found, if they are available for download. Thank you -- Vong Bui E-mail: vongbui@embarqmail.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 13:40:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C83A81065679 for ; Mon, 19 Dec 2011 13:40:52 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from nm1-vm2.bullet.mail.ne1.yahoo.com (nm1-vm2.bullet.mail.ne1.yahoo.com [98.138.91.17]) by mx1.freebsd.org (Postfix) with SMTP id 8A2EA8FC16 for ; Mon, 19 Dec 2011 13:40:52 +0000 (UTC) Received: from [98.138.90.51] by nm1.bullet.mail.ne1.yahoo.com with NNFMP; 19 Dec 2011 13:40:52 -0000 Received: from [98.138.226.164] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 19 Dec 2011 13:40:52 -0000 Received: from [127.0.0.1] by omp1065.mail.ne1.yahoo.com with NNFMP; 19 Dec 2011 13:40:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 129764.40358.bm@omp1065.mail.ne1.yahoo.com Received: (qmail 52906 invoked by uid 60001); 19 Dec 2011 13:40:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1324302051; bh=H7xhsbFtYD/9RYoCpiT8k4FJ13Nlo+Zd6cuxTbmIzrw=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=FaMT60epIq5k6tE9ZxnV9vgEjSRXUmpxSm+NaIWQDVnTsRBofBjTmWFGHOfrgg8/r9YhR3qQARzju5KEuESEHLQUUwlSMkrBz1WZ/x2Ny1yp61Nq/kgpmZa9fijvhcd5km8n0CPjFSm3743CJNgumR36x4agiSNoqaZOJZOlEn8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=jFCJtBA0f85ekWfzL1TckmL/2srKWor8EvIzqGy1OPkMeZQb+Ll9F5vq3gO07Gxdp8wWYYmaM4qYZ7rCr63P+VWOBYMf1KDGa2rNE9iBYLyt3SWJnnjNxgvF3/YN4sfeTt9AlnPJdrc4MLereQYZMGo2DZ5o4/3B1XUycsvcIlQ=; X-YMail-OSG: r9RVkDMVM1lc7Ad0TGTMQYLVQNEVi2q_9Ra6d71vayNbVjd .2GxsBBO6UycdMmR0WQ.g3CbJxHCl7SSZQAPjQ2bRypf7RBlbIrjQK2BfGuV aGnh5xfTWa9QqFRXt1ccbkDruOEcg5BuKZ4bOphG.CU2fbulXWHtsOoe4uwY fGVX7ik7N2SJ21M2xV0E0r0Nd3EhYg2INJeMPhbJPXXjRfT1n960_UsSiGGv HVN_kIPYFB3FlADenB7QVQAQ2Z6KTnojwZBMr8xLR8ekBVMUyAggew0w7NNS q8Blwa47UtPkdwNZ7EqFQ3yCFTvAwsMZ9oTRT1BAW1F.8a1Ud0bUxSkyObgw t7.nbT1n.7nJrdytuCPrkU1Mhgd3d2twfiUt6ZclsmCCHLPApFDnn_K.a1kh YMNgeIBpDcCCJ4lqfZ_EfcoFO8HiJF2pKWwesxR0KYIYPAcjdDylwvqBhi6_ hLW8Nj4OO Received: from [98.203.44.66] by web36501.mail.mud.yahoo.com via HTTP; Mon, 19 Dec 2011 05:40:51 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <4EE7CD71.10709@mail.com> Message-ID: <1324302051.50631.YahooMailNeo@web36501.mail.mud.yahoo.com> Date: Mon, 19 Dec 2011 05:40:51 -0800 (PST) From: Bill Tillman To: "freebsd-questions@freebsd.org" In-Reply-To: <4EE7CD71.10709@mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: HP LaserJet Pro P1102 stops responding after a while X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bill Tillman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 13:40:52 -0000 ________________________________ From: Jeff Tipton To: freebsd-questions@freebsd.org Sent: Tuesday, December 13, 2011 5:10 PM Subject: HP LaserJet Pro P1102 stops responding after a while But what I do find is that my laser printer also goes into sleep mode to save power and life...which is a good thing. And most of the time when it does the lpd deamon stops working as well. When I check the status with lpq it tells me there is no deamon present. I just stop lpd and restart it to get things working again and all is fine. I am a real paperless type of person these days so I hardly ever print anything. I often turn my printer off for weeks, even months at a time and then when I turn it back on most of the time the the above scenario happens. On rare occassions the lpd deamon works fine without having to restart it. But most of the time a restart of lpd is required. Your setup using CUPS and SAMBA may not be the same. Hi, I put HP LaserJet Pro P1102 on a CUPS server with Samba. I followed the steps as shown here: http://forums.freebsd.org/showthread.php?t=21312 except I have 7.4-RELEASE, so I recompiled the kernel without ulpt device as suggested in foo2zjs site (INSTALL notes on FreeBSD 7), and the printer is now on ugen0.1. After installation, the printer became available in CUPS, I could print a test page, then I exported CUPS and WINDOWS postscript drivers to Samba with cupsaddsmb. Then I added the printer on some Windows XP workstations, and the shared driver installed automatically as expected. The problem is that after some idle minutes, the printer stops responding. The job just disappears from the queue, but nothing prints. The same thing on the CUPS web interface. If I restart cupsd, the printer prints again. But as soon as try printing from another workstation, it's again silent. Really weird. I found in the HP manual that it has an economic usage "feature" that by default is set to switch the printer off after 5 minutes being idle. The printer should switch on again when a new job is sent. This can be disabled but only with a native HP driver (don't really understand where it happens -- on the host the printer is attached to or within the printer's firmware). I tried to install the HP Windows driver on a workstation, attached the printer directly to it, disabled the switching off, sent a job from there as told in the manual but it didn't help. But maybe the 'economic usage feature' isn't the reason. Any ideas of what could be wrong? _______________________________________________ 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" I cannot say this for sure about your setup because mine is a little different. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 15:48:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B18B106564A for ; Mon, 19 Dec 2011 15:48:35 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id CBBE78FC0C for ; Mon, 19 Dec 2011 15:48:34 +0000 (UTC) Received: by faaf16 with SMTP id f16so5008797faa.13 for ; Mon, 19 Dec 2011 07:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=AJDmu/98y+g7hq6GuFv1NfhfjPKZz3Lg+7gcQN0GMMk=; b=qw4hm07Q6Dg1aFYjp+1IVRT0W8mvPNIRzJYSsUIPUwcxtuEDMQkLitDdC7teYMX0ia FsMmInjK1s+FTuryEBAi5AAiGo7UsyIo/8jFTtmgtXw4snxV9vDigViXtQl5PFmDCPpn wMNyUtOo8p7NfxZdiP0L1SpVkkdKMhGzeDEzU= MIME-Version: 1.0 Received: by 10.216.137.28 with SMTP id x28mr7315746wei.0.1324309709993; Mon, 19 Dec 2011 07:48:29 -0800 (PST) Received: by 10.216.172.211 with HTTP; Mon, 19 Dec 2011 07:48:23 -0800 (PST) In-Reply-To: <20111130200347.8358419f.freebsd@edvax.de> References: <201111230539.21395.lumiwa@gmail.com> <20111123124633.28028a25.freebsd@edvax.de> <201111230731.07527.lumiwa@gmail.com> <20111130200347.8358419f.freebsd@edvax.de> Date: Mon, 19 Dec 2011 10:48:23 -0500 Message-ID: From: "illoai@gmail.com" To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ajtiM , freebsd-questions@freebsd.org Subject: Re: .config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 15:48:35 -0000 On 30 November 2011 14:03, Polytropon wrote: > On Wed, 30 Nov 2011 13:40:19 -0500, illoai@gmail.com wrote: >> A dirty workaround might be to link /.config >> to something innocuous. =A0One could obvio- >> usly also have /.config mounted as a tmpfs(5). >> So it couldn't persist from boot to boot. >> >> The cleanest solution is to forgo qt/kde, but >> then you're slightly more limited in what you >> can use for office-type stuff. > > The question remains: > > How is a user-started process (e. g. when you run > the "startx" command) supposed to create directory > entries and files on root level /, a thing that > only root and root-like users (and programs!) > should be allowed to? > > =A0 =A0 =A0 =A0% mkdir /.config > =A0 =A0 =A0 =A0mkdir: /.config: Permission denied > > As a normal user, you _intendedly_ can't do this. > Why would you assume that a program you start > can do it? I don't have any QT/KDE stuff but isn't kdm suid (& owned by root)? There're likely a couple of others in that whole mess, as well. > Creating such data structures in a _user_ directory > is completely okay. But in / it simply sounds WRONG. > Sorry. JUST PLAIN WRONG! > This I agree with wholeheartedly. When I first moved to UFS2, the presence of the heretofore unknown .snap directories gave me a bit of a paranoid moment. --=20 -- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 15:18:20 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07B07106566C; Mon, 19 Dec 2011 15:18:20 +0000 (UTC) (envelope-from Vijayamurugan.Kalyanasundaram@emc.com) Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by mx1.freebsd.org (Postfix) with ESMTP id C5FE78FC0A; Mon, 19 Dec 2011 15:18:18 +0000 (UTC) Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id pBJEtB2G022641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Dec 2011 09:55:12 -0500 Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Mon, 19 Dec 2011 09:55:06 -0500 Received: from mxhub05.corp.emc.com (mxhub05.corp.emc.com [128.222.70.202]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id pBJEt5va011633; Mon, 19 Dec 2011 09:55:05 -0500 Received: from mx34a.corp.emc.com ([169.254.1.187]) by mxhub05.corp.emc.com ([128.222.70.202]) with mapi; Mon, 19 Dec 2011 09:55:05 -0500 From: To: , , Importance: high X-Priority: 1 Date: Mon, 19 Dec 2011 09:55:03 -0500 Thread-Topic: Need to know the compatibility Thread-Index: Acy+XjCZ+KoNsD/MQqqVnnB7FHItFQ== Message-ID: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-EMM-MHVC: 1 X-Mailman-Approved-At: Mon, 19 Dec 2011 16:15:01 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Need to know the compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 15:18:20 -0000 Hi Team, Kindly let me know on the compatibility of " Intel X520 Dual Port 10 Gigabi= t Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. This is an urgent requirement for our development project. Please provide u= s the information at the earliest. Thanks & Regards, Vijay K Extn : 785-4581 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 15:18:20 2011 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07B07106566C; Mon, 19 Dec 2011 15:18:20 +0000 (UTC) (envelope-from Vijayamurugan.Kalyanasundaram@emc.com) Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by mx1.freebsd.org (Postfix) with ESMTP id C5FE78FC0A; Mon, 19 Dec 2011 15:18:18 +0000 (UTC) Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id pBJEtB2G022641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Dec 2011 09:55:12 -0500 Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Mon, 19 Dec 2011 09:55:06 -0500 Received: from mxhub05.corp.emc.com (mxhub05.corp.emc.com [128.222.70.202]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id pBJEt5va011633; Mon, 19 Dec 2011 09:55:05 -0500 Received: from mx34a.corp.emc.com ([169.254.1.187]) by mxhub05.corp.emc.com ([128.222.70.202]) with mapi; Mon, 19 Dec 2011 09:55:05 -0500 From: To: , , Importance: high X-Priority: 1 Date: Mon, 19 Dec 2011 09:55:03 -0500 Thread-Topic: Need to know the compatibility Thread-Index: Acy+XjCZ+KoNsD/MQqqVnnB7FHItFQ== Message-ID: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-EMM-MHVC: 1 X-Mailman-Approved-At: Mon, 19 Dec 2011 16:15:28 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Need to know the compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 15:18:20 -0000 Hi Team, Kindly let me know on the compatibility of " Intel X520 Dual Port 10 Gigabi= t Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. This is an urgent requirement for our development project. Please provide u= s the information at the earliest. Thanks & Regards, Vijay K Extn : 785-4581 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 16:50:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C2A106566B for ; Mon, 19 Dec 2011 16:50:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id F1A4C8FC08 for ; Mon, 19 Dec 2011 16:50:43 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBJGoeeH084564 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 19 Dec 2011 16:50:40 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBJGoeeH084564 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1324313440; bh=JLHVqCCb7EZvtn1F4H8ZgSGN9AiWqTjil6GomxWWrao=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=gHZevCETmMO8R9l1ED6CyfxagEhfwloSrj46x1eLnBQB4aj4LNQI3XXaTYsxIPMN1 ro5rjGuqkJZTZBc4Rh52LKPLeu1HMeHM/BxMw1KktZz+49/2GEd429QqJF/kbIM/HF RondOiq6JNrVLNPIiYe/6UUxTsx7WiA1lLXqVpPE= Message-ID: <4EEF6B58.5050908@infracaninophile.co.uk> Date: Mon, 19 Dec 2011 16:50:32 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> In-Reply-To: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1F68511EBC1FA22C68D2745C" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Need to know the compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 16:50:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1F68511EBC1FA22C68D2745C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 19/12/2011 14:55, Vijayamurugan.Kalyanasundaram@emc.com wrote: > Kindly let me know on the compatibility of " Intel X520 Dual Port 10 > Gigabit Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. You'ld find the answer to this much faster by googling it yourself. http://bit.ly/sIUOFQ But... it's also available without having to download anything from Intel= : http://www.freebsd.org/cgi/man.cgi?query=3Dixgbe Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig1F68511EBC1FA22C68D2745C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7va18ACgkQ8Mjk52CukIyi1ACeJpqyQnJlTstVYRx06HnMDX4U cqkAnjB6iu1kxetJWr/Borsy2g4jxk9H =jC39 -----END PGP SIGNATURE----- --------------enig1F68511EBC1FA22C68D2745C-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 17:05:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73E321065675 for ; Mon, 19 Dec 2011 17:05:06 +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 182D48FC0A for ; Mon, 19 Dec 2011 17:05:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBJH54Jb097568; Mon, 19 Dec 2011 10:05:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBJH54Jo097565; Mon, 19 Dec 2011 10:05:04 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 19 Dec 2011 10:05:04 -0700 (MST) From: Warren Block To: Da Rock In-Reply-To: <4EEF3183.3060907@herveybayaustralia.com.au> Message-ID: References: <4EEF208F.1060100@herveybayaustralia.com.au> <4EEF3183.3060907@herveybayaustralia.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 19 Dec 2011 10:05:04 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 17:05:06 -0000 On Mon, 19 Dec 2011, Da Rock wrote: > On 12/19/11 21:31, Da Rock wrote: >> I hate to come with this kind of a query, but my googling hasn't come >> across a satisfactory answer. >> >> I'm running an install on a brand new laptop for a client, and I'm trying >> to get X up using xdm- nothing. The logs says it failed to load fbdev >> because there is no data module. >> >> I try uninstalling fbdev and running a rebuild of xorg- its still using the >> builtin configuration and still can't load fbdev. No devices detected. >> >> I run Xorg -configure, and it shows the radeon card fine, 2 displays. Still >> working with the config file, but it seems fine. > correction - its dual display issue that I've never had trouble with before > (I also have installed on a HTPC with same memory, phenom quad core, uses a > radeon HD card and a NVidia HD card). And no, the Xorg -config > /root/xorg.conf.new [-retro] doesn't work as it is locking up and I can't > even ctl-alt-backspace, I have to acpi power off to shut the system down. > Google's still not giving me any hope... :( Last time I came across this > level of issue was with a solo vintage intel card on yet another laptop- it > froze the system too. > > BTW, who says multicard vga is rare? Some newer laptops have dual GPUs, an onboard Intel combined with one from another vendor for higher performance. There's hot-switching between the two, but AFAIK it's not supported in FreeBSD. There may be a BIOS option to disable one or the other. There should still be two video outputs. More than one video card at a time is a different issue, which is also unsupported on FreeBSD AFAIK: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 18:43:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2456106564A for ; Mon, 19 Dec 2011 18:43:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 604228FC16 for ; Mon, 19 Dec 2011 18:43:45 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx01.qsc.de (Postfix) with ESMTP id C8B533C99B; Mon, 19 Dec 2011 19:43:43 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBJIhg4K001857; Mon, 19 Dec 2011 19:43:43 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 19 Dec 2011 19:43:42 +0100 From: Polytropon To: "illoai@gmail.com" Message-Id: <20111219194342.520e3026.freebsd@edvax.de> In-Reply-To: References: <201111230539.21395.lumiwa@gmail.com> <20111123124633.28028a25.freebsd@edvax.de> <201111230731.07527.lumiwa@gmail.com> <20111130200347.8358419f.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: .config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 18:43:45 -0000 On Mon, 19 Dec 2011 10:48:23 -0500, illoai@gmail.com wrote: > On 30 November 2011 14:03, Polytropon wrote: > > On Wed, 30 Nov 2011 13:40:19 -0500, illoai@gmail.com wrote: > >> A dirty workaround might be to link /.config > >> to something innocuous. =A0One could obvio- > >> usly also have /.config mounted as a tmpfs(5). > >> So it couldn't persist from boot to boot. > >> > >> The cleanest solution is to forgo qt/kde, but > >> then you're slightly more limited in what you > >> can use for office-type stuff. > > > > The question remains: > > > > How is a user-started process (e. g. when you run > > the "startx" command) supposed to create directory > > entries and files on root level /, a thing that > > only root and root-like users (and programs!) > > should be allowed to? > > > > =A0 =A0 =A0 =A0% mkdir /.config > > =A0 =A0 =A0 =A0mkdir: /.config: Permission denied > > > > As a normal user, you _intendedly_ can't do this. > > Why would you assume that a program you start > > can do it? >=20 > I don't have any QT/KDE stuff but isn't kdm suid > (& owned by root)? That could be the reason: kdm, belonging to the KDE world and quite probably using Qt, running with the permissions to access /. You could temporarily try to disable kdm and replace it by xdm, or no display login manager at all. In that case, /.config shouldn't appear anymore. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 22:23:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 207481065679 for ; Mon, 19 Dec 2011 22:23:17 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id C194B8FC1F for ; Mon, 19 Dec 2011 22:23:16 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 9B4855C24 for ; Tue, 20 Dec 2011 08:35:40 +1000 (EST) Message-ID: <4EEFB89D.1030103@herveybayaustralia.com.au> Date: Tue, 20 Dec 2011 08:20:13 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EEF208F.1060100@herveybayaustralia.com.au> <4EEF3183.3060907@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 22:23:17 -0000 On 12/20/11 03:05, Warren Block wrote: > On Mon, 19 Dec 2011, Da Rock wrote: > >> On 12/19/11 21:31, Da Rock wrote: >>> I hate to come with this kind of a query, but my googling hasn't >>> come across a satisfactory answer. >>> >>> I'm running an install on a brand new laptop for a client, and I'm >>> trying to get X up using xdm- nothing. The logs says it failed to >>> load fbdev because there is no data module. >>> >>> I try uninstalling fbdev and running a rebuild of xorg- its still >>> using the builtin configuration and still can't load fbdev. No >>> devices detected. >>> >>> I run Xorg -configure, and it shows the radeon card fine, 2 >>> displays. Still working with the config file, but it seems fine. >> correction - its dual display issue that I've never had trouble with >> before (I also have installed on a HTPC with same memory, phenom quad >> core, uses a radeon HD card and a NVidia HD card). And no, the Xorg >> -config /root/xorg.conf.new [-retro] doesn't work as it is locking up >> and I can't even ctl-alt-backspace, I have to acpi power off to shut >> the system down. Google's still not giving me any hope... :( Last >> time I came across this level of issue was with a solo vintage intel >> card on yet another laptop- it froze the system too. >> >> BTW, who says multicard vga is rare? > > Some newer laptops have dual GPUs, an onboard Intel combined with one > from another vendor for higher performance. There's hot-switching > between the two, but AFAIK it's not supported in FreeBSD. There may > be a BIOS option to disable one or the other. There should still be > two video outputs. > > More than one video card at a time is a different issue, which is also > unsupported on FreeBSD AFAIK: > (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support It appears that it is something that needs to be resolved pretty quickly then. The linux guys jumped on it quick as (I'm not ribbing by the way) - probably their guys came across it sooner than BSD users. What has thrown me is the fact that I didn't even consider it as a problem because I already had installed on a dual video system- ATI card and NVidia onboard, both that will work on a linux system, and that FBSD has no problem like this either; it just works. Weird... So what are my options then? I have 2 high performance cards I can't use? VESA is not exactly an exciting solution - or secure: it somehow retains the image displayed in memory, and shows it as it loads up X the next time. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 22:42:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 740301065673 for ; Mon, 19 Dec 2011 22:42:55 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2A31B8FC16 for ; Mon, 19 Dec 2011 22:42:54 +0000 (UTC) Received: by yenl9 with SMTP id l9so4483897yen.13 for ; Mon, 19 Dec 2011 14:42:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=xJX9hcMhOmNBsIWHjoZoYcB1D7CL1uSz7ei5b0fNPsE=; b=qTG4zFhViXmwQqiQI5S4hK1FWf/OT6ofsoLVbqm6E+PhRomr5nJ3AzvtItC4AXfdwL JxQqENQUPqdJsXxoYsEUnw1IOBbNc58JSiDwHO8pgeKZ37UKULJ9fDKyIlPAIMugjlpW hBNKs4tvahf9aMB+iGr+RbQiV6as0XiQO5e3w= Received: by 10.236.115.40 with SMTP id d28mr31365570yhh.37.1324334574362; Mon, 19 Dec 2011 14:42:54 -0800 (PST) Received: from luna.wi.rr.com (cpe-184-58-138-79.wi.res.rr.com. [184.58.138.79]) by mx.google.com with ESMTPS id v48sm32406486yhk.6.2011.12.19.14.42.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Dec 2011 14:42:53 -0800 (PST) From: ajtiM To: freebsd-questions@freebsd.org, Polytropon Date: Mon, 19 Dec 2011 16:42:34 -0600 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RC3; KDE/4.7.3; i386; ; ) References: <201111230539.21395.lumiwa@gmail.com> <20111219194342.520e3026.freebsd@edvax.de> In-Reply-To: <20111219194342.520e3026.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112191642.34392.lumiwa@gmail.com> Cc: "illoai@gmail.com" Subject: Re: .config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 22:42:55 -0000 On Monday 19 December 2011 12:43:42 Polytropon wrote: > On Mon, 19 Dec 2011 10:48:23 -0500, illoai@gmail.com wrote: > > On 30 November 2011 14:03, Polytropon wrote: > > > On Wed, 30 Nov 2011 13:40:19 -0500, illoai@gmail.com wrote: > > >> A dirty workaround might be to link /.config > > >> to something innocuous. One could obvio- > > >> usly also have /.config mounted as a tmpfs(5). > > >> So it couldn't persist from boot to boot. > > >> > > >> The cleanest solution is to forgo qt/kde, but > > >> then you're slightly more limited in what you > > >> can use for office-type stuff. > > > > > > The question remains: > > > > > > How is a user-started process (e. g. when you run > > > the "startx" command) supposed to create directory > > > entries and files on root level /, a thing that > > > only root and root-like users (and programs!) > > > should be allowed to? > > > > > > % mkdir /.config > > > mkdir: /.config: Permission denied > > > > > > As a normal user, you _intendedly_ can't do this. > > > Why would you assume that a program you start > > > can do it? > > > > I don't have any QT/KDE stuff but isn't kdm suid > > (& owned by root)? > > That could be the reason: kdm, belonging to the > KDE world and quite probably using Qt, running > with the permissions to access /. > > You could temporarily try to disable kdm and > replace it by xdm, or no display login manager > at all. In that case, /.config shouldn't appear > anymore. I don't know because I don't use kdm and I don't see that kdm running. I have ksplah but not kdm and I have or re-create directory if I deleted in: / /root and in the user directory which should be. And it is happened when I start kde with 'startx" as user and .config isd recreated evrywhere.. In .xinitrc I have just: PATH=/usr/local/kde4/bin:$PATH export PATH startkde Mitja -------- http://jpgmag.com/people/lumiwa From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 00:26:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A6D510657EF for ; Tue, 20 Dec 2011 00:26:25 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B47EB8FC16 for ; Tue, 20 Dec 2011 00:26:24 +0000 (UTC) Received: by werb13 with SMTP id b13so2955893wer.13 for ; Mon, 19 Dec 2011 16:26:23 -0800 (PST) Received: by 10.216.138.5 with SMTP id z5mr5410776wei.37.1324340782263; Mon, 19 Dec 2011 16:26:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.255.70 with HTTP; Mon, 19 Dec 2011 16:26:01 -0800 (PST) From: Chris Brennan Date: Mon, 19 Dec 2011 19:26:01 -0500 Message-ID: To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: BWN Driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 00:26:28 -0000 I've got an HP Pavillian laptop with a Broadcom BCM4312 card. Below is what I've loaded so far and the result from /var/log/messages. [root@blackdragon ~]# kldstat | grep bwn 14 1 0xffffffff82035000 28a9a bwn_v4_ucode.ko 19 1 0xffffffff8205e000 2982c if_bwn.ko 20 1 0xffffffff82088000 6183 siba_bwn.ko [root@blackdragon ~]# Dec 19 19:10:53 blackdragon kernel: fwohci0: <1394 Open Host Controller Interface> mem 0xc7f50000-0xc7f507ff irq 10 at device 9.0 on pci1 Dec 19 19:10:53 blackdragon kernel: fwohci0: [ITHREAD] Dec 19 19:10:53 blackdragon kernel: fwohci0: OHCI version 0.0 (ROM=0) Dec 19 19:10:53 blackdragon kernel: fwohci0: invalid OHCI version Dec 19 19:10:53 blackdragon kernel: fwohci0: fwohci_init failed with err=6 Dec 19 19:10:53 blackdragon kernel: device_attach: fwohci0 attach returned 5 Dec 19 19:10:53 blackdragon kernel: siba_bwn0: mem 0xfc000000-0xfc003fff irq 23 at device 0.0 on pci8 Dec 19 19:10:54 blackdragon kernel: bwn0 on siba_bwn0 Dec 19 19:10:54 blackdragon kernel: bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) Dec 19 19:10:54 blackdragon kernel: bwn0: DMA (64 bits) Dec 19 19:10:54 blackdragon kernel: bwn0: Using 1 MSI messages Dec 19 19:10:54 blackdragon kernel: bwn0: [FILTER] I get a nice bwn0 device with ifconfig, but I am unable to do anything with it and the little blue light on the front of my laptop stays red, even after playing with the switch for my Wireless device. I've gotten it to work in linux but not reliably and of course it does work in Windows. So I am a bit stumped as to what is wrong or what I am missing. > -- > Chris Brennan > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 01:38:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7C79106566B for ; Tue, 20 Dec 2011 01:38:02 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4C4ED8FC19 for ; Tue, 20 Dec 2011 01:38:02 +0000 (UTC) Received: by werb13 with SMTP id b13so3002794wer.13 for ; Mon, 19 Dec 2011 17:38:01 -0800 (PST) Received: by 10.216.138.5 with SMTP id z5mr5500954wei.37.1324345080303; Mon, 19 Dec 2011 17:38:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.255.70 with HTTP; Mon, 19 Dec 2011 17:37:39 -0800 (PST) In-Reply-To: References: From: Chris Brennan Date: Mon, 19 Dec 2011 20:37:39 -0500 Message-ID: To: Ramiro Caso Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: BWN Driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 01:38:02 -0000 On Mon, Dec 19, 2011 at 8:28 PM, Ramiro Caso wrote: Hi, I have the same card, so maybe I can help. Some Broadcom chipsets > are LP (low power) PHY, so you have to load bwn_v4_lp_ucode instead of > bwn_v4_ucode. That worked for me. You may want to check the man page > for bwn, just to be sure. I tried this as well, still no blue light. > -- > Chris Brennan > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 01:50:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA828106564A for ; Tue, 20 Dec 2011 01:50:11 +0000 (UTC) (envelope-from ramirocaso08@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 500398FC16 for ; Tue, 20 Dec 2011 01:50:10 +0000 (UTC) Received: by eekc50 with SMTP id c50so7072065eek.13 for ; Mon, 19 Dec 2011 17:50:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KTx0tFvEo6bCr1r89i0s3XbKTX7m5AVk45aukUnFG64=; b=swFekPE/ADQ1120YUAJU3MYQvtBVNLvvqVT1wdDUSQKNNm1lL35qPQZaGHOMKCr+FR R4h7FZtp6L0ClMGqkU97umFbNWPxHprG7hiGR1tbBYncSzLaTt6YX7Q9+HtLXe9Q2qt7 ygbSRcleOCCLFj+xDtovDq49bnO+b8ENr4QbI= MIME-Version: 1.0 Received: by 10.204.132.79 with SMTP id a15mr616bkt.109.1324344495529; Mon, 19 Dec 2011 17:28:15 -0800 (PST) Received: by 10.205.43.67 with HTTP; Mon, 19 Dec 2011 17:28:15 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Dec 2011 22:28:15 -0300 Message-ID: From: Ramiro Caso To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: BWN Driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 01:50:11 -0000 2011/12/19, Chris Brennan : > I've got an HP Pavillian laptop with a Broadcom BCM4312 card. Below is > what I've loaded so far and the result from /var/log/messages. Hi, I have the same card, so maybe I can help. Some Broadcom chipsets are LP (low power) PHY, so you have to load bwn_v4_lp_ucode instead of bwn_v4_ucode. That worked for me. You may want to check the man page for bwn, just to be sure. Best, Ramiro > > > [root@blackdragon ~]# kldstat | grep bwn > 14 1 0xffffffff82035000 28a9a bwn_v4_ucode.ko > 19 1 0xffffffff8205e000 2982c if_bwn.ko > 20 1 0xffffffff82088000 6183 siba_bwn.ko > [root@blackdragon ~]# > > > Dec 19 19:10:53 blackdragon kernel: fwohci0: <1394 Open Host Controller > Interface> mem 0xc7f50000-0xc7f507ff irq 10 at device 9.0 on pci1 > Dec 19 19:10:53 blackdragon kernel: fwohci0: [ITHREAD] > Dec 19 19:10:53 blackdragon kernel: fwohci0: OHCI version 0.0 (ROM=0) > Dec 19 19:10:53 blackdragon kernel: fwohci0: invalid OHCI version > Dec 19 19:10:53 blackdragon kernel: fwohci0: fwohci_init failed with err=6 > Dec 19 19:10:53 blackdragon kernel: device_attach: fwohci0 attach returned 5 > Dec 19 19:10:53 blackdragon kernel: siba_bwn0: Wireless> mem 0xfc000000-0xfc003fff irq 23 at device 0.0 on pci8 > Dec 19 19:10:54 blackdragon kernel: bwn0 on siba_bwn0 > Dec 19 19:10:54 blackdragon kernel: bwn0: WLAN (chipid 0x4312 rev 15) PHY > (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) > Dec 19 19:10:54 blackdragon kernel: bwn0: DMA (64 bits) > Dec 19 19:10:54 blackdragon kernel: bwn0: Using 1 MSI messages > Dec 19 19:10:54 blackdragon kernel: bwn0: [FILTER] > > I get a nice bwn0 device with ifconfig, but I am unable to do anything > with it and the little blue light on the front of my laptop stays red, > even after playing with the switch for my Wireless device. I've gotten > it to work in linux but not reliably and of course it does work in Windows. > So I am a bit stumped as to what is wrong or what I am missing. > >> -- >> Chris Brennan >> A: Yes. >> >Q: Are you sure? >> >>A: Because it reverses the logical flow of conversation. >> >>>Q: Why is top posting frowned upon? >> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ >> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) > ------------------------------------------------------------------------ > _______________________________________________ > 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" > -- Por favor, no enviar adjuntos de Word, Excel o PowerPoint. http://www.gnu.org/philosophy/no-word-attachments.html Please, do not send Word, Excel or PowerPoint attachments. http://www.gnu.org/philosophy/no-word-attachments.html From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 04:33:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 902581065675 for ; Tue, 20 Dec 2011 04:33:58 +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 3492E8FC0C for ; Tue, 20 Dec 2011 04:33:57 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBK4XuVu002121; Mon, 19 Dec 2011 21:33:56 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBK4Xu9m002118; Mon, 19 Dec 2011 21:33:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 19 Dec 2011 21:33:56 -0700 (MST) From: Warren Block To: Da Rock In-Reply-To: <4EEFB89D.1030103@herveybayaustralia.com.au> Message-ID: References: <4EEF208F.1060100@herveybayaustralia.com.au> <4EEF3183.3060907@herveybayaustralia.com.au> <4EEFB89D.1030103@herveybayaustralia.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 19 Dec 2011 21:33:57 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 04:33:58 -0000 On Tue, 20 Dec 2011, Da Rock wrote: >> Some newer laptops have dual GPUs, an onboard Intel combined with one from >> another vendor for higher performance. There's hot-switching between the >> two, but AFAIK it's not supported in FreeBSD. There may be a BIOS option >> to disable one or the other. There should still be two video outputs. >> >> More than one video card at a time is a different issue, which is also >> unsupported on FreeBSD AFAIK: >> (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support > It appears that it is something that needs to be resolved pretty quickly > then. The linux guys jumped on it quick as (I'm not ribbing by the way) - > probably their guys came across it sooner than BSD users. > > What has thrown me is the fact that I didn't even consider it as a problem > because I already had installed on a dual video system- ATI card and NVidia > onboard, both that will work on a linux system, and that FBSD has no problem > like this either; it just works. Weird... It's difficult to tell what you're saying. It's possible that multiple cards would work in some combinations, and just that the ones I tried did not. Also, you're talking about two systems, a laptop and a desktop. So it would be good to get some specifics, like laptop brand and model, whether the desktop dual-card setup worked with FreeBSD (and which version of FreeBSD). From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 05:10:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68023106564A for ; Tue, 20 Dec 2011 05:10:11 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 176728FC0C for ; Tue, 20 Dec 2011 05:10:10 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id EBCC05C24 for ; Tue, 20 Dec 2011 15:22:33 +1000 (EST) Message-ID: <4EF017F9.6010408@herveybayaustralia.com.au> Date: Tue, 20 Dec 2011 15:07:05 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EEF208F.1060100@herveybayaustralia.com.au> <4EEF3183.3060907@herveybayaustralia.com.au> <4EEFB89D.1030103@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 05:10:11 -0000 On 12/20/11 14:33, Warren Block wrote: > On Tue, 20 Dec 2011, Da Rock wrote: > >>> Some newer laptops have dual GPUs, an onboard Intel combined with >>> one from another vendor for higher performance. There's >>> hot-switching between the two, but AFAIK it's not supported in >>> FreeBSD. There may be a BIOS option to disable one or the other. >>> There should still be two video outputs. >>> >>> More than one video card at a time is a different issue, which is >>> also unsupported on FreeBSD AFAIK: >>> (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support >> It appears that it is something that needs to be resolved pretty >> quickly then. The linux guys jumped on it quick as (I'm not ribbing >> by the way) - probably their guys came across it sooner than BSD users. >> >> What has thrown me is the fact that I didn't even consider it as a >> problem because I already had installed on a dual video system- ATI >> card and NVidia onboard, both that will work on a linux system, and >> that FBSD has no problem like this either; it just works. Weird... > > It's difficult to tell what you're saying. It's possible that > multiple cards would work in some combinations, and just that the ones > I tried did not. Also, you're talking about two systems, a laptop and > a desktop. So it would be good to get some specifics, like laptop > brand and model, whether the desktop dual-card setup worked with > FreeBSD (and which version of FreeBSD). NP. I thought I was clear, but I'm not always coherent when I communicate (apparently... just ask the missus :) ). The laptop is a compaq cq62 with a quad core phenom and a ATI 4200 Radeon mobility GPU, as well as 6300 GPU. The HTPC/desktop is a whitebox quad core phenom on a ASUS MB (not 100% sure which) with a NVidia onboard pcie GPU, and an ATI Radeon 3450. There could be yet another GPU on there, but I can't remember. That system is running 8.x FBSD (1 or 2- can't quite remember), and the laptop I'm installing 9.0-RC3 on, with the view to using freebsd-update to RELEASE, because of the lack of Atheros 9285 support in 8.x (tried for hours, just couldn't get the bird to fly :( ). From what I understand now, having been able assimilate what has been discussed here and through google, it seems there is a conflict when dealing with multiple onboard GPUs. What exactly is the issue with getting an arbiter for FreeBSD? Aside from time, naturally. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 06:08:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADC68106566C for ; Tue, 20 Dec 2011 06:08:42 +0000 (UTC) (envelope-from unix.hacker@comcast.net) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0958FC08 for ; Tue, 20 Dec 2011 06:08:42 +0000 (UTC) Received: from omta10.westchester.pa.mail.comcast.net ([76.96.62.28]) by qmta12.westchester.pa.mail.comcast.net with comcast id BJ1s1i0010cZkys5CJ8inm; Tue, 20 Dec 2011 06:08:42 +0000 Received: from [192.168.2.2] ([68.43.224.227]) by omta10.westchester.pa.mail.comcast.net with comcast id BJ8h1i00V4uzdYs3WJ8iEs; Tue, 20 Dec 2011 06:08:42 +0000 Message-ID: <4EF02668.4070608@comcast.net> Date: Tue, 20 Dec 2011 01:08:40 -0500 From: Allen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> <4989a3ebb7810ed26951cbbd23b7645c.squirrel@webmail.dabus.com> <4EE6943E.40400@herveybayaustralia.com.au> <006a01ccb9b7$df4f1f40$9ded5dc0$@fisglobal.com> In-Reply-To: <006a01ccb9b7$df4f1f40$9ded5dc0$@fisglobal.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 06:08:42 -0000 On 12/13/2011 11:54 AM, Devin Teske wrote: *Snipping* >> On 12/13/11 06:00, Eric S Pulley wrote: >>>> As for one big / partition- linux may be using it: and its their >>>> biggest failing! I've had a system lockup due to lack of space. Never >>>> a problem with bsd as logs will only fill up var, a user won't break >>>> it with filling up usr, etc. And root always stays protected! Its >>>> saved my life a number of times... I can quickly fill TB's of data in >>>> no time, and if something goes bang the logs can be a silent killer too. My > 2c's >> anyway... I didn't know there WERE any Linux distros that still used one root partition, and one swap... Even Mandriva doesn't do that anymore. -Allen From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 06:19:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC369106566C for ; Tue, 20 Dec 2011 06:19:06 +0000 (UTC) (envelope-from unix.hacker@comcast.net) Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA078FC0C for ; Tue, 20 Dec 2011 06:19:05 +0000 (UTC) Received: from omta08.westchester.pa.mail.comcast.net ([76.96.62.12]) by qmta09.westchester.pa.mail.comcast.net with comcast id BJGz1i0060Fqzac59JK6x3; Tue, 20 Dec 2011 06:19:06 +0000 Received: from [192.168.2.2] ([68.43.224.227]) by omta08.westchester.pa.mail.comcast.net with comcast id BJK61i0014uzdYs3UJK6ie; Tue, 20 Dec 2011 06:19:06 +0000 Message-ID: <4EF028D8.803@comcast.net> Date: Tue, 20 Dec 2011 01:19:04 -0500 From: Allen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 06:19:06 -0000 Hi, I've been trying to find info about this, so I'm Hoping someone here will know about this; I use FreeBSD 8.2-RELEASE, and basically, the normal way I do things, is like this: I grab the CD, boot, and install the Base System. Once I've booted, I'll then use one of the two: pkg_add -r bunch of packages or sysinstall > Configure > Packages Then I go through the menus, and select what software I want, and, eventually, I'll tell it to start installing. Now, I've been reading about Ports more and more, and thought about maybe just using those instead, but even with upgrade_pkg from bsdaminscripts, I just can NOT seem to upgrade anything. I'd like to have my system fully patched, but most of the data I find, is about how to keep ports up to date, and has very little on Packages / Binaries. I don't think it matters much why I choose Binary Packages over Ports, I'm just looking to make sure the emails I get every once in a while on the root account will FINALLY not have a huge list of stuff that I need to either "delete / uninstall, or upgrade" and have no idea how. I mainly used Linux, so I AM a little more used to everything being patched at once, like Slackware, where you can type one command and install patches and stuff to everything you have installed, be it the Kernel, or an Xterm, or X itself, or Pidgin. Any of you that use pkg_add and Sysinstall to install packages, can you maybe describe what you do to install updates, Patches, or just in general, keep your system patched? I'd really appreciate that. -Allen From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 07:56:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C336106564A for ; Tue, 20 Dec 2011 07:56:31 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id BA7218FC15 for ; Tue, 20 Dec 2011 07:56:30 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 2F07D5C24 for ; Tue, 20 Dec 2011 18:08:54 +1000 (EST) Message-ID: <4EF03EF6.20809@herveybayaustralia.com.au> Date: Tue, 20 Dec 2011 17:53:26 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> <4989a3ebb7810ed26951cbbd23b7645c.squirrel@webmail.dabus.com> <4EE6943E.40400@herveybayaustralia.com.au> <006a01ccb9b7$df4f1f40$9ded5dc0$@fisglobal.com> <4EF02668.4070608@comcast.net> In-Reply-To: <4EF02668.4070608@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 07:56:31 -0000 On 12/20/11 16:08, Allen wrote: > On 12/13/2011 11:54 AM, Devin Teske wrote: > *Snipping* > >>> On 12/13/11 06:00, Eric S Pulley wrote: >>>>> As for one big / partition- linux may be using it: and its their >>>>> biggest failing! I've had a system lockup due to lack of space. Never >>>>> a problem with bsd as logs will only fill up var, a user won't break >>>>> it with filling up usr, etc. And root always stays protected! Its >>>>> saved my life a number of times... I can quickly fill TB's of data in >>>>> no time, and if something goes bang the logs can be a silent killer too. My >> 2c's >>> anyway... > I didn't know there WERE any Linux distros that still used one root > partition, and one swap... Even Mandriva doesn't do that anymore. > > Fedora for one... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 09:04:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BDA11065673 for ; Tue, 20 Dec 2011 09:04:13 +0000 (UTC) (envelope-from alexvarsh@yandex.ru) Received: from forward9.mail.yandex.net (forward9.mail.yandex.net [77.88.61.48]) by mx1.freebsd.org (Postfix) with ESMTP id B67858FC1A for ; Tue, 20 Dec 2011 09:04:11 +0000 (UTC) Received: from web92.yandex.ru (web92.yandex.ru [77.88.60.16]) by forward9.mail.yandex.net (Yandex) with ESMTP id ACAC4CE27B1 for ; Tue, 20 Dec 2011 12:50:58 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324371058; bh=rjVJ2MTAklmlVzhQuQgUrl/ZZ0MBID2yflnblejMwow=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=H2ewMSIK0XQDKUqxrx9LznjAoYZGMexoLmDfdyYhD6dGrT80XeXVX74s364VWT+rI xTFop6T+3wt58qu0chcSLq1/Tra4uQ1Cp+fSDVUAvN0DDUsE2QPqDpGI1qPWY0SQxN aub8vh2/e7OgXpb/CkkzH/DUu4O7CTyj34bT+b30= Received: from localhost (localhost.localdomain [127.0.0.1]) by web92.yandex.ru (Yandex) with ESMTP id 8FEE6E2807A for ; Tue, 20 Dec 2011 12:50:58 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324371058; bh=rjVJ2MTAklmlVzhQuQgUrl/ZZ0MBID2yflnblejMwow=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=H2ewMSIK0XQDKUqxrx9LznjAoYZGMexoLmDfdyYhD6dGrT80XeXVX74s364VWT+rI xTFop6T+3wt58qu0chcSLq1/Tra4uQ1Cp+fSDVUAvN0DDUsE2QPqDpGI1qPWY0SQxN aub8vh2/e7OgXpb/CkkzH/DUu4O7CTyj34bT+b30= X-Yandex-Spam: 1 Received: from ip-126.22.255.92.net.unnet.ru (ip-126.22.255.92.net.unnet.ru [92.255.22.126]) by web92.yandex.ru with HTTP; Tue, 20 Dec 2011 12:50:57 +0400 From: Alex To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <881461324371057@web92.yandex.ru> Date: Tue, 20 Dec 2011 12:50:57 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: =?koi8-r?b?SGVscCB3aXRoIHdpZmkgdXNiIMHEwdDUxdIgVFAtTElOSyBXTjMy?= =?koi8-r?b?MUc=?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 09:04:14 -0000 Hello, I wonder if somebody has an experience of using this device for an access point. I tried FreeBSD 8.2 and 10.0-CURRENT and both systems drops into a kernel panic under wifi traffic. Other than that, the device runs without problems. Dec 20 01:04:51 neptun kernel: ugen2.2: at usbus2 Dec 20 01:04:51 neptun kernel: run0: <1.0> on usbus2 Dec 20 01:04:51 neptun kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R), address ... Dec 20 01:04:51 neptun kernel: run0: firmware RT2870 loaded Dec 20 01:04:51 neptun kernel: ieee80211_load_module: load the wlan_amrr module by hand for now. I'm using hostapd: interface=wlan0 debug=2 ctrl_interface=/var/run/hostapd ssid=... wpa=3 wpa_passphrase=... wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP CCMP rsn_pairwise=TKIP CCMP Are there any chances to make it work, or I've just lost 8 euro? What usb wifi adapter would you suggest then? Regards ---- Alex From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 09:18:33 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00E49106567A for ; Tue, 20 Dec 2011 09:18:33 +0000 (UTC) (envelope-from alex@putnichek.ru) Received: from qth.germany.ru (qth.germany.ru [188.40.77.22]) by mx1.freebsd.org (Postfix) with ESMTP id 15D558FC29 for ; Tue, 20 Dec 2011 09:18:30 +0000 (UTC) Received: from qth.germany.ru (localhost [127.0.0.1]) by qth.germany.ru (8.14.4/8.14.4) with ESMTP id pBK8k8eH099022 for ; Tue, 20 Dec 2011 09:46:08 +0100 (CET) Received: from localhost (putnichek@localhost) by qth.germany.ru (8.14.4/8.14.4/Submit) with ESMTP id pBK8k8Dv099019 for ; Tue, 20 Dec 2011 09:46:08 +0100 (CET) X-Authentication-Warning: qth.germany.ru: putnichek owned process doing -bs Date: Tue, 20 Dec 2011 09:46:08 +0100 (CET) From: Alex X-X-Sender: putnichek@qth.germany.ru To: freebsd-questions@FreeBSD.ORG Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: =?utf-8?b?SGVscCB3aXRoIHdpZmkgdXNiINCw0LTQsNC/0YLQtdGAIFRQLUxJ?= =?utf-8?q?NK_WN321G?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 09:18:33 -0000 Hello, I wonder if somebody has an experience of using this device for an access point. I tried FreeBSD 8.2 and 10.0-CURRENT and both systems drops into a kernel panic under wifi traffic. Other than that, the device runs without problems. Dec 20 01:04:51 neptun kernel: ugen2.2: at usbus2 Dec 20 01:04:51 neptun kernel: run0: <1.0> on usbus2 Dec 20 01:04:51 neptun kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R), address ... Dec 20 01:04:51 neptun kernel: run0: firmware RT2870 loaded Dec 20 01:04:51 neptun kernel: ieee80211_load_module: load the wlan_amrr module by hand for now. I'm using hostapd: interface=wlan0 debug=2 ctrl_interface=/var/run/hostapd ssid=... wpa=3 wpa_passphrase=... wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP CCMP rsn_pairwise=TKIP CCMP Are there any chances to make it work, or I've just lost 8 euro? What usb wifi adapter would you suggest then? Regards ---- Alex From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 09:19:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29701106566B for ; Tue, 20 Dec 2011 09:19:53 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B0CF78FC12 for ; Tue, 20 Dec 2011 09:19:52 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so12041876wgb.31 for ; Tue, 20 Dec 2011 01:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I99zEmc2NM6gIXsuWbCzh7wDLMfD6IMYpBAFgLLafL8=; b=UmUp04EIQD8LnpBYUg1FxPUisB3qmP4RHowbbcG7RehlfVmH7y0UNc0rvmPYYZYcc9 nyPsfvGMzG7yR/buM0aFHKo3IwBydw6XDqmwQQ3qJ9hS7Z/U+SYIPdMgPVDsyZJ3um4Z zQtxrVGP+PuwA0YuhwgpLVeMEHqSVT13Snu88= MIME-Version: 1.0 Received: by 10.180.19.138 with SMTP id f10mr3561645wie.3.1324372775887; Tue, 20 Dec 2011 01:19:35 -0800 (PST) Received: by 10.216.161.84 with HTTP; Tue, 20 Dec 2011 01:19:35 -0800 (PST) In-Reply-To: <4EF028D8.803@comcast.net> References: <4EF028D8.803@comcast.net> Date: Tue, 20 Dec 2011 11:19:35 +0200 Message-ID: From: Alexander Kapshuk To: Allen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 09:19:53 -0000 you may want to look up this section of the handbook: Chapter 5 Installing Applications: Packages and Ports How to upgrade your applications is explained there; long story short, there are three utilities i know of that may be used to keep your applications up-to-date irrespective of the installation method; they are portupgrade, portmanager and portmaster; i personally use portupgrade; with this tool you may specify whether you want you applications updated in the binary or in the source form; hope this helps; sasha On Tue, Dec 20, 2011 at 8:19 AM, Allen wrote: > Hi, > > I've been trying to find info about this, so I'm Hoping someone here > will know about this; I use FreeBSD 8.2-RELEASE, and basically, the > normal way I do things, is like this: > > I grab the CD, boot, and install the Base System. Once I've booted, I'll > then use one of the two: > > pkg_add -r bunch of packages > > or > > sysinstall > Configure > Packages > > Then I go through the menus, and select what software I want, and, > eventually, I'll tell it to start installing. > > Now, I've been reading about Ports more and more, and thought about > maybe just using those instead, but even with upgrade_pkg from > bsdaminscripts, I just can NOT seem to upgrade anything. > > I'd like to have my system fully patched, but most of the data I find, > is about how to keep ports up to date, and has very little on Packages / > Binaries. > > I don't think it matters much why I choose Binary Packages over Ports, > I'm just looking to make sure the emails I get every once in a while on > the root account will FINALLY not have a huge list of stuff that I need > to either "delete / uninstall, or upgrade" and have no idea how. > > I mainly used Linux, so I AM a little more used to everything being > patched at once, like Slackware, where you can type one command and > install patches and stuff to everything you have installed, be it the > Kernel, or an Xterm, or X itself, or Pidgin. > > Any of you that use pkg_add and Sysinstall to install packages, can you > maybe describe what you do to install updates, Patches, or just in > general, keep your system patched? > > I'd really appreciate that. > > -Allen > _______________________________________________ > 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 Dec 20 09:35:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A751106566B for ; Tue, 20 Dec 2011 09:35:41 +0000 (UTC) (envelope-from unix.hacker@comcast.net) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [76.96.59.212]) by mx1.freebsd.org (Postfix) with ESMTP id 3929F8FC16 for ; Tue, 20 Dec 2011 09:35:40 +0000 (UTC) Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta14.westchester.pa.mail.comcast.net with comcast id BMam1i00127AodY5EMbhXx; Tue, 20 Dec 2011 09:35:41 +0000 Received: from [192.168.2.2] ([68.43.224.227]) by omta19.westchester.pa.mail.comcast.net with comcast id BMbg1i00P4uzdYs3fMbh1U; Tue, 20 Dec 2011 09:35:41 +0000 Message-ID: <4EF056EB.7030403@comcast.net> Date: Tue, 20 Dec 2011 04:35:39 -0500 From: Allen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EE32BB6.3020105@herveybayaustralia.com.au> <4EE38454.3020307@otenet.gr> <4EE3D1F0.60500@herveybayaustralia.com.au> <4989a3ebb7810ed26951cbbd23b7645c.squirrel@webmail.dabus.com> <4EE6943E.40400@herveybayaustralia.com.au> <006a01ccb9b7$df4f1f40$9ded5dc0$@fisglobal.com> <4EF02668.4070608@comcast.net> <4EF03EF6.20809@herveybayaustralia.com.au> In-Reply-To: <4EF03EF6.20809@herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: 9.0 install and journaling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 09:35:41 -0000 On 12/20/2011 2:53 AM, Da Rock wrote: > On 12/20/11 16:08, Allen wrote: >> On 12/13/2011 11:54 AM, Devin Teske wrote: >> *Snipping* >> >>>> On 12/13/11 06:00, Eric S Pulley wrote: >>>>>> As for one big / partition- linux may be using it: and its their >>>>>> biggest failing! I've had a system lockup due to lack of space. Never >>>>>> a problem with bsd as logs will only fill up var, a user won't break >>>>>> it with filling up usr, etc. And root always stays protected! Its >>>>>> saved my life a number of times... I can quickly fill TB's of data in >>>>>> no time, and if something goes bang the logs can be a silent >>>>>> killer too. My >>> 2c's >>>> anyway... >> I didn't know there WERE any Linux distros that still used one root >> partition, and one swap... Even Mandriva doesn't do that anymore. >> >> > Fedora for one... I haven't used Fedora in a VERY long time. I hate it almost as much as I hate Gentoo. Anyway, one distro out of close to 300 isn't bad. -Allen From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 09:40:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20A641065677 for ; Tue, 20 Dec 2011 09:40:31 +0000 (UTC) (envelope-from unix.hacker@comcast.net) Received: from qmta06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id C26178FC0A for ; Tue, 20 Dec 2011 09:40:30 +0000 (UTC) Received: from omta09.westchester.pa.mail.comcast.net ([76.96.62.20]) by qmta06.westchester.pa.mail.comcast.net with comcast id BMfG1i0040SCNGk56MgWGy; Tue, 20 Dec 2011 09:40:30 +0000 Received: from [192.168.2.2] ([68.43.224.227]) by omta09.westchester.pa.mail.comcast.net with comcast id BMgW1i0054uzdYs3VMgWoG; Tue, 20 Dec 2011 09:40:30 +0000 Message-ID: <4EF0580D.8090002@comcast.net> Date: Tue, 20 Dec 2011 04:40:29 -0500 From: Allen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Alexander Kapshuk References: <4EF028D8.803@comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 09:40:31 -0000 On 12/20/2011 4:19 AM, Alexander Kapshuk wrote: > you may want to look up this section of the handbook: > Chapter 5 Installing Applications: Packages and Ports > > How to upgrade your applications is explained there; I actually am doing so right now. I started cleaning out the CPU cooling system on my old test machine, and after getting crap out of the Fan, I got it to boot, and started installing FreeBSD 8.2-RELEASE on it, then did a Net Install over FTP. While I let that run, I decided to start looking at the web site for FreeBSD, and reading up on Ports. I guess I'm on the right track, as you pretty much told me to do exactly what I was already doing right before checking my Email, so that's a great sign. > long story short, there are three utilities i know of that may be used > to keep your applications up-to-date irrespective of the installation > method; they are portupgrade, portmanager and portmaster; > i personally use portupgrade; with this tool you may specify whether you > want you applications updated in the binary or in the source form; I'm currently reading about Portmanager, because I like the simple "portmanager -u" option I see. I'm going to probably try that one out first to see how it goes. Right now the machine is running portsnap fetch && portsnap extract && portsnap update Once that's done I'm going to start installing some stuff on it to try out. Hopefully FVWM2 works out; For some reason, my other FreeBSD install says it's installed but I can't use it. I'm probably going to just reinstall it because I LOVE it. I've been using Window Maker and Enlightenment mostly. > hope this helps; > > sasha Thanks, -Allen From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 11:16:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57D151065673 for ; Tue, 20 Dec 2011 11:16:20 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E1C4E8FC14 for ; Tue, 20 Dec 2011 11:16:19 +0000 (UTC) Received: by werb13 with SMTP id b13so3435417wer.13 for ; Tue, 20 Dec 2011 03:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hNC5sPpG1Fl/SiCTn9YS04AfuHqAHuC+ndzTDzfb4GQ=; b=kAbZzJvSwRx0keFR41w/0Jvqm/oGzsGivkd8MJ0EQUHaGctyjczOXPhQl/S5B6W+rs NwPlcQsDTWjxDgOOjSYilmPySBpJAGtNoq+AQZd8fcsIeLtd2FGJJqJY+y4KSv3zhwfm CMbneOF1lSEG466c2C2TH3IkuygoLxX+DYYJo= MIME-Version: 1.0 Received: by 10.216.139.222 with SMTP id c72mr6603149wej.4.1324379778844; Tue, 20 Dec 2011 03:16:18 -0800 (PST) Received: by 10.216.161.84 with HTTP; Tue, 20 Dec 2011 03:16:18 -0800 (PST) In-Reply-To: <4EF0580D.8090002@comcast.net> References: <4EF028D8.803@comcast.net> <4EF0580D.8090002@comcast.net> Date: Tue, 20 Dec 2011 13:16:18 +0200 Message-ID: From: Alexander Kapshuk To: Allen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 11:16:20 -0000 On Tue, Dec 20, 2011 at 11:40 AM, Allen wrote: > On 12/20/2011 4:19 AM, Alexander Kapshuk wrote: > > you may want to look up this section of the handbook: > > Chapter 5 Installing Applications: Packages and Ports > > > > How to upgrade your applications is explained there; > > I actually am doing so right now. I started cleaning out the CPU cooling > system on my old test machine, and after getting crap out of the Fan, I > got it to boot, and started installing FreeBSD 8.2-RELEASE on it, then > did a Net Install over FTP. > > While I let that run, I decided to start looking at the web site for > FreeBSD, and reading up on Ports. I guess I'm on the right track, as you > pretty much told me to do exactly what I was already doing right before > checking my Email, so that's a great sign. > > > long story short, there are three utilities i know of that may be used > > to keep your applications up-to-date irrespective of the installation > > method; they are portupgrade, portmanager and portmaster; > > i personally use portupgrade; with this tool you may specify whether you > > want you applications updated in the binary or in the source form; > > I'm currently reading about Portmanager, because I like the simple > "portmanager -u" option I see. I'm going to probably try that one out > first to see how it goes. Right now the machine is running portsnap > fetch && portsnap extract && portsnap update > > Once that's done I'm going to start installing some stuff on it to try > out. Hopefully FVWM2 works out; For some reason, my other FreeBSD > install says it's installed but I can't use it. I'm probably going to > just reinstall it because I LOVE it. I've been using Window Maker and > Enlightenment mostly. > > > hope this helps; > > > > sasha > > Thanks, > > -Allen > about FVWM2 not working on your other FreeBSD install... i'm not sure how you set up your X11 system and your window manager, but this section of the handbook, Chapter 6 The X Window System, has instructions for setting up a desktop environment as well as a window manager of your choice; it's a matter of specifying the path to the executable for your window manager either in $HOME/.xsession or in $HOME/.xinitrc depending on whether you use XDM or some other display manager; sasha From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 12:51:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F8631065670 for ; Tue, 20 Dec 2011 12:51:48 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7448FC12 for ; Tue, 20 Dec 2011 12:51:47 +0000 (UTC) Received: by ghrr16 with SMTP id r16so1034049ghr.13 for ; Tue, 20 Dec 2011 04:51:47 -0800 (PST) Received: by 10.236.136.38 with SMTP id v26mr3363253yhi.69.1324385507406; Tue, 20 Dec 2011 04:51:47 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id 37sm4893918anu.21.2011.12.20.04.51.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 04:51:46 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3T6zX03Vkzz2CG4d for ; Tue, 20 Dec 2011 07:51:44 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at scorpio.seibercom.net Date: Tue, 20 Dec 2011 07:51:44 -0500 From: Jerry To: FreeBSD Message-ID: <20111220075144.6c04dc17@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: BWN Driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 12:51:48 -0000 On Mon, 19 Dec 2011 20:37:39 -0500 Chris Brennan articulated: > On Mon, Dec 19, 2011 at 8:28 PM, Ramiro Caso > wrote: > > Hi, I have the same card, so maybe I can help. Some Broadcom chipsets > > are LP (low power) PHY, so you have to load bwn_v4_lp_ucode instead > > of bwn_v4_ucode. That worked for me. You may want to check the man > > page for bwn, just to be sure. > > I tried this as well, still no blue light. You stated that it works under Windows, no surprise there. Could you go into the properties tab for that device in Windows and post what info you find here. Seeing exactly how Windows sees the device might help debug this problem. There is a Linux driver supplied by Broadcom. Perhaps you could modify it to work on your system. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Have you ever considered the irony in the fact that we celebrate Christ's birthday every year by ignoring the fact that he would have celebrated Hanukkah? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 14:04:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41426106566B for ; Tue, 20 Dec 2011 14:04:40 +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 A47EE8FC18 for ; Tue, 20 Dec 2011 14:04:39 +0000 (UTC) Received: from vhoffman-macbooklocal.local ([10.10.10.20]) (authenticated bits=0) by unsane.co.uk (8.14.4/8.14.4) with ESMTP id pBKE4cH5065635 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 20 Dec 2011 14:04:38 GMT (envelope-from vince@unsane.co.uk) Message-ID: <4EF095F6.6000903@unsane.co.uk> Date: Tue, 20 Dec 2011 14:04:38 +0000 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: BWN Driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 14:04:40 -0000 On 20/12/2011 00:26, Chris Brennan wrote: > I've got an HP Pavillian laptop with a Broadcom BCM4312 card. Below is > what I've loaded so far and the result from /var/log/messages. > > > [root@blackdragon ~]# kldstat | grep bwn > 14 1 0xffffffff82035000 28a9a bwn_v4_ucode.ko > 19 1 0xffffffff8205e000 2982c if_bwn.ko > 20 1 0xffffffff82088000 6183 siba_bwn.ko > [root@blackdragon ~]# > > > Dec 19 19:10:53 blackdragon kernel: fwohci0: <1394 Open Host Controller > Interface> mem 0xc7f50000-0xc7f507ff irq 10 at device 9.0 on pci1 > Dec 19 19:10:53 blackdragon kernel: fwohci0: [ITHREAD] > Dec 19 19:10:53 blackdragon kernel: fwohci0: OHCI version 0.0 (ROM=0) > Dec 19 19:10:53 blackdragon kernel: fwohci0: invalid OHCI version > Dec 19 19:10:53 blackdragon kernel: fwohci0: fwohci_init failed with err=6 > Dec 19 19:10:53 blackdragon kernel: device_attach: fwohci0 attach returned 5 > Dec 19 19:10:53 blackdragon kernel: siba_bwn0: Wireless> mem 0xfc000000-0xfc003fff irq 23 at device 0.0 on pci8 > Dec 19 19:10:54 blackdragon kernel: bwn0 on siba_bwn0 > Dec 19 19:10:54 blackdragon kernel: bwn0: WLAN (chipid 0x4312 rev 15) PHY > (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) > Dec 19 19:10:54 blackdragon kernel: bwn0: DMA (64 bits) > Dec 19 19:10:54 blackdragon kernel: bwn0: Using 1 MSI messages > Dec 19 19:10:54 blackdragon kernel: bwn0: [FILTER] > > I get a nice bwn0 device with ifconfig, but I am unable to do anything > with it and the little blue light on the front of my laptop stays red, > even after playing with the switch for my Wireless device. I've gotten > it to work in linux but not reliably and of course it does work in Windows. > So I am a bit stumped as to what is wrong or what I am missing. When you say you are unable to do anything with it, what have you tried? ie have you run though ifconfig /wlan0/ create wlandev bwn0 ifconfig wlan0 up ifconfig wlan0 list scan to check that its not just the light thats not coming on? Sorry if i'm asking stupidly obvious questions but the whole "create" thing still throws some people. Vince >> -- >> Chris Brennan >> A: Yes. >>> Q: Are you sure? >>>> A: Because it reverses the logical flow of conversation. >>>>> Q: Why is top posting frowned upon? >> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ >> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) > ------------------------------------------------------------------------ > _______________________________________________ > 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 Dec 20 15:15:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB6A11065676 for ; Tue, 20 Dec 2011 15:15:06 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [IPv6:2a02:6b8:0:1402::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3E69E8FC08 for ; Tue, 20 Dec 2011 15:15:06 +0000 (UTC) Received: from smtp18.mail.yandex.net (smtp18.mail.yandex.net [95.108.252.18]) by forward16.mail.yandex.net (Yandex) with ESMTP id 6FA02D232C3 for ; Tue, 20 Dec 2011 19:15:04 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324394104; bh=sRVHPrLui6MDFklgzMdzHf48BitbFyU8G7EkzprfEPo=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=GZMygBTY81gTiadqw6FzgIlv8E8hmDJA/AN79IaJNh1Yj/T3mtORM65RtPtuYvVEZ j2MPbN1lD9RtWYma4aGiqEWlvc76xNDv2RsLpH01UjnIjvjlEeww1C0I5RDSIn2/+R MFZifRAhUQDX2xVJyYjURPyL745S8Y5384WYmXdE= Received: from smtp18.mail.yandex.net (localhost [127.0.0.1]) by smtp18.mail.yandex.net (Yandex) with ESMTP id 4D98B18A0145 for ; Tue, 20 Dec 2011 19:15:04 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324394104; bh=sRVHPrLui6MDFklgzMdzHf48BitbFyU8G7EkzprfEPo=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=GZMygBTY81gTiadqw6FzgIlv8E8hmDJA/AN79IaJNh1Yj/T3mtORM65RtPtuYvVEZ j2MPbN1lD9RtWYma4aGiqEWlvc76xNDv2RsLpH01UjnIjvjlEeww1C0I5RDSIn2/+R MFZifRAhUQDX2xVJyYjURPyL745S8Y5384WYmXdE= Received: from unknown (unknown [77.93.52.20]) by smtp18.mail.yandex.net (nwsmtp/Yandex) with ESMTP id F3RG8oWR-F3R4Tq4T; Tue, 20 Dec 2011 19:15:04 +0400 X-Yandex-Spam: 1 Date: Tue, 20 Dec 2011 17:15:03 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 2 (High) Message-ID: <1949019005.20111220171503@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: can not post PR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 15:15:06 -0000 I get this letter, but when going to link I get: that there is not such PR (((((( Thank you very much for your problem report. It has the internal identification `misc/163479'. The individual assigned to look at your report is: freebsd-bugs. You can access the state of your problem report at any time via this link: http://www.freebsd.org/cgi/query-pr.cgi?pr=163479 >Category: misc >Responsible: freebsd-bugs >Synopsis: can not update from 9 to 10-Current remotely >Arrival-Date: Tue Dec 20 15:10:08 UTC 2011 I have reported 3 PR :`-( and it seems I loose all work I have made to report problems (((( HELP! )) -- , mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 15:22:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1EF2106564A for ; Tue, 20 Dec 2011 15:22:16 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward17.mail.yandex.net (forward17.mail.yandex.net [IPv6:2a02:6b8:0:1402::2]) by mx1.freebsd.org (Postfix) with ESMTP id 19B6A8FC16 for ; Tue, 20 Dec 2011 15:22:16 +0000 (UTC) Received: from smtp19.mail.yandex.net (smtp19.mail.yandex.net [95.108.252.19]) by forward17.mail.yandex.net (Yandex) with ESMTP id 7BAAB10615CC for ; Tue, 20 Dec 2011 19:22:14 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324394534; bh=v2PI6qq4QoC4hD6p2z7PFJD6JVYZYYP3UR0D8AQfjEk=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cWyQbWocJF44OoFbvg1uY9Swh4mi25ni8ORvW1hHRReNnTPa1JGBNBR/aRp0c2va9 lBxH7SzjAIkMUzpUte+Akt4ZP+7n+6uqlYvhRztBzFUZNdTa+6hEc+y6IsvxavrQuu AtvoX8SaJLT/wwroGpi2LxmwZOh3buX6yCH08Yz8= Received: from smtp19.mail.yandex.net (localhost [127.0.0.1]) by smtp19.mail.yandex.net (Yandex) with ESMTP id 51E03BE02CC; Tue, 20 Dec 2011 19:22:14 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324394534; bh=v2PI6qq4QoC4hD6p2z7PFJD6JVYZYYP3UR0D8AQfjEk=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cWyQbWocJF44OoFbvg1uY9Swh4mi25ni8ORvW1hHRReNnTPa1JGBNBR/aRp0c2va9 lBxH7SzjAIkMUzpUte+Akt4ZP+7n+6uqlYvhRztBzFUZNdTa+6hEc+y6IsvxavrQuu AtvoX8SaJLT/wwroGpi2LxmwZOh3buX6yCH08Yz8= Received: from unknown (unknown [77.93.52.20]) by smtp19.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MDemX0BM-MEe0Ce9n; Tue, 20 Dec 2011 19:22:14 +0400 X-Yandex-Spam: 1 Date: Tue, 20 Dec 2011 17:22:13 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <401341706.20111220172213@yandex.ru> To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= In-Reply-To: <1949019005.20111220171503@yandex.ru> References: <1949019005.20111220171503@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: can not post PR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 15:22:16 -0000 , . 20 2011 ., 17:15:03: > I get this letter, but when going to link I get: that there is not > such PR (((((( > Thank you very much for your problem report. > It has the internal identification `misc/163479'. > The individual assigned to look at your > report is: freebsd-bugs. > You can access the state of your problem report at any time > via this link: > http://www.freebsd.org/cgi/query-pr.cgi?pr=163479 >>Category: misc >>Responsible: freebsd-bugs >>Synopsis: can not update from 9 to 10-Current remotely >>Arrival-Date: Tue Dec 20 15:10:08 UTC 2011 > I have reported 3 PR :`-( and it seems I loose all work I have made to > report problems (((( > HELP! )) heh =) It is appeared after 10mins delay. thank you all. -- , mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 17:11:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 272761065670 for ; Tue, 20 Dec 2011 17:11:39 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id D65108FC20 for ; Tue, 20 Dec 2011 17:11:38 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 6B06078C21 for ; Tue, 20 Dec 2011 18:11:35 +0100 (CET) X-Virus-Scanned: amavisd-new 2.7.0 (20110701) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rYMW2qSG3ohV for ; Tue, 20 Dec 2011 18:11:35 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 3339278C19 for ; Tue, 20 Dec 2011 18:11:35 +0100 (CET) From: bsd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: Tue, 20 Dec 2011 18:11:36 +0100 Message-Id: <57CC67BE-835C-4760-97FA-5824FA01C4D9@todoo.biz> To: Liste FreeBSD Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: Best solution to install zfs on root for FBSD 9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:11:39 -0000 Hi,=20 I would like to know if there is an "official" howto that could help me = in the process of installing zfs on root.=20 I will need a raid 1 configuration and plan to use the whole disks to be = part of the pool.=20 How far can we go with the installer ? Do I have to use gpart ? What is best way to achieve this ?=20 Any recent and up to date pointer will be welcome.=20 Thx.=20 =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 ---------> Gr=E9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 17:13:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C03F81065672 for ; Tue, 20 Dec 2011 17:13:49 +0000 (UTC) (envelope-from unix.hacker@comcast.net) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [76.96.59.212]) by mx1.freebsd.org (Postfix) with ESMTP id 7C8918FC21 for ; Tue, 20 Dec 2011 17:13:49 +0000 (UTC) Received: from omta16.westchester.pa.mail.comcast.net ([76.96.62.88]) by qmta14.westchester.pa.mail.comcast.net with comcast id BVDp1i00C1uE5Es5EVDpYT; Tue, 20 Dec 2011 17:13:49 +0000 Received: from [192.168.2.2] ([68.43.224.227]) by omta16.westchester.pa.mail.comcast.net with comcast id BVDo1i00Z4uzdYs3cVDpaE; Tue, 20 Dec 2011 17:13:49 +0000 Message-ID: <4EF0C24B.9060506@comcast.net> Date: Tue, 20 Dec 2011 12:13:47 -0500 From: Allen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Alexander Kapshuk References: <4EF028D8.803@comcast.net> <4EF0580D.8090002@comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:13:49 -0000 On 12/20/2011 6:16 AM, Alexander Kapshuk wrote: *SNIP* > about FVWM2 not working on your other FreeBSD install... > i'm not sure how you set up your X11 system and your window manager, but > this section of the handbook, Chapter 6 The X Window System, has > instructions for setting up a desktop environment as well as a window > manager of your choice; it's a matter of specifying the path to the > executable for your window manager either in $HOME/.xsession or > in $HOME/.xinitrc depending on whether you use XDM or some other display > manager; Hello, I personally don't bother to set up X; When I install FreeBSD, once I reboot into the new system, I install KDM, and GDM, and then just load that, and it works fine right out of the box, so I don't bother screwing with what isn't broken. I have KDM I've been using mostly as of late, and most of the Window Managers I have installed show up just fine, and the original FVWM shows up as well, but for some reason, FVWM2 won't lol. It's annoying me because I like that one more. I'm a weird guy in terms of Window Managers and Desktop Environments; I use, all the time mind you; KDE, Gnome, Enlightenment (Both .16 and .17) and then, I use Fluxbox, OpenBox, HackedBox, Blackbox, Window Maker, Afterstep, FVWM, FVWM2, FVWM-95, FVWM-Crystal, XFCE, XFCE4, Phluid, TWM, MWM, VTWM, and.... Actually, there's more, but you get the idea. Basically, I like being able to log out, and log back in, and have my screen look totally different from how it did before. Sometimes I want speed and I go for E and Window Maker and the FVWM based ones. Sometimes, I want KDE and Gnome, so, I install them all, and use them all. But I don't configure X at all. Every machine I have FreeBSD on, has not ever gone through a Configuration of X. I just type KDM or GDM, let it load, it works right the first time, and I log in. > sasha -Allen From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 17:20:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9899106567A for ; Tue, 20 Dec 2011 17:20:39 +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 8498B8FC13 for ; Tue, 20 Dec 2011 17:20:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx02.qsc.de (Postfix) with ESMTP id C1EAF1E3E2; Tue, 20 Dec 2011 18:20:37 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBKHKblh002081; Tue, 20 Dec 2011 18:20:37 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 20 Dec 2011 18:20:37 +0100 From: Polytropon To: Allen Message-Id: <20111220182037.b30c701a.freebsd@edvax.de> In-Reply-To: <4EF028D8.803@comcast.net> References: <4EF028D8.803@comcast.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:20:39 -0000 On Tue, 20 Dec 2011 01:19:04 -0500, Allen wrote: > Hi, > > I've been trying to find info about this, so I'm Hoping someone here > will know about this; I use FreeBSD 8.2-RELEASE, and basically, the > normal way I do things, is like this: > > I grab the CD, boot, and install the Base System. Once I've booted, I'll > then use one of the two: > > pkg_add -r bunch of packages > > or > > sysinstall > Configure > Packages > > Then I go through the menus, and select what software I want, and, > eventually, I'll tell it to start installing. This at first sounds as the "install once, then use" approach. > Now, I've been reading about Ports more and more, and thought about > maybe just using those instead, but even with upgrade_pkg from > bsdaminscripts, I just can NOT seem to upgrade anything. Updating the ports traditionally depends on an updated ports tree. The tool portsnap does this for you, but you can also follow the CVS approach illustrated below. Once you have updated your ports tree, port management scripts can determine updated ports and therefore initiate the building from the respective sources. > I'd like to have my system fully patched, but most of the data I find, > is about how to keep ports up to date, and has very little on Packages / > Binaries. See bottom the message - maybe freebsd-update and the package use options (-P and -PP) are for you. But continue reading anyway. :-) > I don't think it matters much why I choose Binary Packages over Ports, > I'm just looking to make sure the emails I get every once in a while on > the root account will FINALLY not have a huge list of stuff that I need > to either "delete / uninstall, or upgrade" and have no idea how. Compiling vs. using binary packages is a decision mostly driven by technical questions, such as: - Do I have sufficient resources for compiling? - Do I have sufficient space for distfiles and what happens during compiling? - Do I have the time to deal with finding out the correct configuration ("make config-recursive")? - Do I need CPU-specific optimization (e. g. on older systems where you benefit from higher optimization)? - Do I need building options different from those default options that turn a port into the package that I would have used (e. g. media players with codecs, language setttings for office suites)? - Do I need software more current than what the binary package will install? If "yes" is your answer, ports are the way to go, because packages simply don't provide that kind of flexibility. > I mainly used Linux, so I AM a little more used to everything being > patched at once, like Slackware, where you can type one command and > install patches and stuff to everything you have installed, be it the > Kernel, or an Xterm, or X itself, or Pidgin. Unlike Linux, FreeBSD has a concept of "the operating system" and "3rd party applications". This difference is mainly provided by the FreeBSD team that keeps the OS working which would work even without any of the stuff in ports, and the port maintainers who keep the ports current. This means you have _two_ separated things that "have nothing to do with each other", so the updating methods are different, but can be easily combined. In Linux, where even the kernel can be seen as a package, all parts can be updated by one facility. In worst case, a defective update renders the whole system unusable. If you rely on sources, you can easily use csup to update both the OS source tree and the ports tree by running one "make update" command. Create /etc/sup directory, and those files: # /etc/sup/stable.sup *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag= *default delete use-rel-suffix *default compress src-all (In case you want to follow RELEASE plus security patches, change "RELENG_8" to "RELENG_8.2", and maybe call the file release.sup then, to avoid confusion.) # /etc/sup/ports.sup *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all (Maybe you want to be more selective here and use ports- instead; examples are found at /usr/src/share/examples/cvsup/.) # /etc/sup/doc.sup *default host=cvsup.free.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress doc-all (Here also selectivity can be applied!) And finally, to /etc/make.conf, add: SUP= /usr/bin/csup SUP_UPDATE= /usr/bin/csup SUPFLAGS= -L 2 SUPHOST= cvsup.freebsd.org SUPFILE= /etc/sup/stable.sup PORTSSUPFILE= /etc/sup/ports.sup DOCSUPFILE= /etc/sup/doc.sup DOC_LANG= en_US.ISO8859-1 de_DE.ISO8859-1 (Typically alter DOC_LANG to fit your needs.) Also check what you can enable or _disable_ in /etc/make.conf and /etc/src.conf (see /usrsrc/share/examples/etc/make.conf and "man src.conf" for details), especially for systems low on resources where you intendedly want to _not_ build and install certain parts of the world, the kernel and the kernel modules. When you now do the following: # cd /usr/src # make update both source and ports will be updated. BUT: This method is more complex than using portsnap! Especially for "bigger differences" between update sessions it typically needs more time. >From this point, it's easy to recompile world and kernel, and then update ports selectively or "all in one run". Tools like portmaster, portupgrade or portmanager are a big help here. For updating the system, follow the instructions in the comment header of /usr/src/Makefile. For the ports, use your favourite tool, > Any of you that use pkg_add and Sysinstall to install packages, can you > maybe describe what you do to install updates, Patches, or just in > general, keep your system patched? If you intendedly (nothing bad here!) want to use binary packages, you can use the -P and -PP option of portupgrade and portmaster. The EXAMPLES section of the manpages have some ideas on how to do "full updates". Unless you're using a custom kernel and want to follow the RELEASE branch, including the security patches, also consider using freebsd-update. This tool updates the OS (the base system) in a binary way, also very comfortable. The combination of both ways is a usable difference to using ports and building everything from source. FreeBSD puts you in choice here, and I'm glad it does, because I prefer _this_ or _that_ method depending on the use of different systems. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 17:33:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E677E106564A for ; Tue, 20 Dec 2011 17:33:48 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from w3projmail.ze.tum.de (w3projmail.ze.tum.de [129.187.39.2]) by mx1.freebsd.org (Postfix) with ESMTP id 732858FC0C for ; Tue, 20 Dec 2011 17:33:48 +0000 (UTC) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.96]) (authenticated bits=0) by phobos.ze.tum.de (8.14.2/8.14.1) with ESMTP id pBKGwXZC009714 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 20 Dec 2011 17:58:33 +0100 (CET) (envelope-from schmidt@ze.tum.de) Message-ID: <4EF0BEDB.5050304@ze.tum.de> Date: Tue, 20 Dec 2011 17:59:07 +0100 From: Gerhard Schmidt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.2.17) Gecko/20110502 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA20ACE323AEC60400F49B309" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hardwire scsi busses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:33:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA20ACE323AEC60400F49B309 Content-Type: multipart/mixed; boundary="------------020900040405020509000306" This is a multi-part message in MIME format. --------------020900040405020509000306 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello list i'm setting up a FreeBSD system with two SCSI controller. One Ataptec (ahd) and a 3Ware Raid posing as SCSI Controller. The 3ware Raid is the Main Harddisk and on the ahd controll is an external scsi Raid that sometime isn't up. My Problem ist that the ahd ist scsibus0 and the twa is scsibus1. When I boot the system with the external raid aktiv the external raid (ahd) will be da0 and the internal raid (twa) will be da1 and the system doesn't boot becaus the bootdisks are on da1 on not on da0. How can I hardwire the ahd to become scsibus1 and the twa to become scsibus0, that regardless if the external raid is online the boot disk is allways da0 an the extern raid ist da1 if online. Regards Estartu --=20 -------------------------------------------------------------------------= -- Gerhard Schmidt | http://www.augusta.de/~estartu | Fischbachweg 3 | | PGP Public Key 86856 Hiltenfingen | JabberID: estartu@augusta.de | on request Germany | | --------------020900040405020509000306-- --------------enigA20ACE323AEC60400F49B309 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBTvC+3tl1K6RAAKkVAQJOhwf/bVSFei3w+7JO6TUVmHETDt3gZ+wGPmsN fA/DR+1lCcv2wUlo6OU/XNNRpTcECZTys0jEiFxq+Xm1oeLPDvJUBVaSJvn2Sfjf uM5D093c+1agecmhhBjCXAwxUBnEDVpdLqct/CRhxD472fFXYXJZpHo7x6jKbiVL OjnyxYL3HkWkUv647O4lGPK4BW9+QbN3aKWkKMS/BQx6N7WKAdGclkMoTAvGq8gY zPI7oCOELhtCfftvDhISiUoWJS/Q0vQY+EmQPKcUUaDrY980OWt7RoMpCEItUhk8 Cprp89wqkYVVymb+ZT8wGW4jadgl0zPxPAS+hDOtaBBHPG4C9NIOlQ== =U7wR -----END PGP SIGNATURE----- --------------enigA20ACE323AEC60400F49B309-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 17:34:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A429A106564A for ; Tue, 20 Dec 2011 17:34:14 +0000 (UTC) (envelope-from unix.hacker@comcast.net) Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 629B48FC15 for ; Tue, 20 Dec 2011 17:34:14 +0000 (UTC) Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52]) by qmta05.westchester.pa.mail.comcast.net with comcast id BVZp1i00D17dt5G55VaErl; Tue, 20 Dec 2011 17:34:14 +0000 Received: from [192.168.2.2] ([68.43.224.227]) by omta13.westchester.pa.mail.comcast.net with comcast id BVaD1i0144uzdYs3ZVaEyg; Tue, 20 Dec 2011 17:34:14 +0000 Message-ID: <4EF0C714.7000600@comcast.net> Date: Tue, 20 Dec 2011 12:34:12 -0500 From: Allen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Polytropon References: <4EF028D8.803@comcast.net> <20111220182037.b30c701a.freebsd@edvax.de> In-Reply-To: <20111220182037.b30c701a.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:34:14 -0000 On 12/20/2011 12:20 PM, Polytropon wrote: *SNIP* I snipped out a bunch of this so that whoever reads this next doesn't have to go through all of that text all at once, but I REALLY wanted to get a chance to say this: THANK YOU! Danke schoen sehr sehr sehr!!! In all my years, I've only heard a few times about the -PP options with most of those tools, but not once have I ever seen a working method of doing this. I'm going to be trying this out on my test machine first, and then, my main FreeBSD system. I just wanted to make sure I said thanks. (I added the sehr a bunch of times so you know how VERY much I thank you heh) Again, Danke Schoen, sehr danke! (Noticed you had a .de email address) Sehr danke! Dass ist gut, und, sehr hilft (That may not be proper but should be understandable). -Allen From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 17:57:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA282106566B for ; Tue, 20 Dec 2011 17:57:45 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm2.ukr.net (fsm2.ukr.net [195.214.192.121]) by mx1.freebsd.org (Postfix) with ESMTP id 7A25B8FC0C for ; Tue, 20 Dec 2011 17:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=yhvL3WFDVJFGKw5sesqXIN6E74gqEdH0AV8GYEl6ROI=; b=q6jj5zMJ+VVowKJXj+lVDeiBk8errNBwEin0XHWJ7rSm0ey7N/rAHZPqzpNYB7hCbBBWO+9MLLsjKJ+1KACUhkQ8e9ydpMPBwGXydsqsyrJ/7m0gmtqG3LJ8tYrIjvN/qE9r14x3IFoYOKn5pXUKX7D6/Sk2WsIDhWzQII4WOQU=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm2.ukr.net with esmtpsa ID 1Rd3hc-0008Mo-D2 ; Tue, 20 Dec 2011 19:42:12 +0200 Date: Tue, 20 Dec 2011 19:42:10 +0200 From: Ivan Klymenko To: bsd Message-ID: <20111220194210.0fc4de81@nonamehost.> In-Reply-To: <57CC67BE-835C-4760-97FA-5824FA01C4D9@todoo.biz> References: <57CC67BE-835C-4760-97FA-5824FA01C4D9@todoo.biz> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Liste FreeBSD Subject: Re: Best solution to install zfs on root for FBSD 9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:57:45 -0000 =D0=92 Tue, 20 Dec 2011 18:11:36 +0100 bsd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hi,=20 >=20 > I would like to know if there is an "official" howto that could help > me in the process of installing zfs on root.=20 >=20 > I will need a raid 1 configuration and plan to use the whole disks to > be part of the pool.=20 >=20 > How far can we go with the installer ? >=20 > Do I have to use gpart ? >=20 > What is best way to achieve this ?=20 >=20 >=20 > Any recent and up to date pointer will be welcome.=20 >=20 >=20 > Thx.=20 >=20 http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 18:01:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7652106566B for ; Tue, 20 Dec 2011 18:01:02 +0000 (UTC) (envelope-from corsmith@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id BE9158FC0C for ; Tue, 20 Dec 2011 18:01:02 +0000 (UTC) Received: by dakp5 with SMTP id p5so6320113dak.13 for ; Tue, 20 Dec 2011 10:01:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ii+JCh4qZX0lmT47h43MVZHyRLJiZTFqgjAoSxetrpE=; b=uBbwHQK3EqabUwEkcsTPz0hICK9QgpjzC9JEW2Xeb8WxF/2OwiV9kvCHI8KpH7hmz/ gxxqSEdL1oT4E5Cz4oyDJMaX5I9n52R7dV6ftdtUI5A2lHvRww45bGKZvAIw8Q25qkBg LhstzhmqINezaG2fX/CLq6F3AO1Rc5A7eBXTI= MIME-Version: 1.0 Received: by 10.68.75.229 with SMTP id f5mr4517406pbw.110.1324402436878; Tue, 20 Dec 2011 09:33:56 -0800 (PST) Received: by 10.142.213.4 with HTTP; Tue, 20 Dec 2011 09:33:56 -0800 (PST) In-Reply-To: <57CC67BE-835C-4760-97FA-5824FA01C4D9@todoo.biz> References: <57CC67BE-835C-4760-97FA-5824FA01C4D9@todoo.biz> Date: Tue, 20 Dec 2011 12:33:56 -0500 Message-ID: From: Corey Smith To: bsd Content-Type: text/plain; charset=ISO-8859-1 Cc: Liste FreeBSD Subject: Re: Best solution to install zfs on root for FBSD 9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 18:01:03 -0000 On Tue, Dec 20, 2011 at 12:11 PM, bsd wrote:> I would like to know if there is an "official" howto that could help me in the process of installing zfs on root. I have specifically used this documentation with great success: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror You can also look at this link for more information: http://wiki.freebsd.org/RootOnZFS -Corey Smith From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 18:01:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 744011065742 for ; Tue, 20 Dec 2011 18:01:15 +0000 (UTC) (envelope-from nec556@retena.com) Received: from resmaa12.ono.com (smtp12.ono.com [62.42.230.20]) by mx1.freebsd.org (Postfix) with ESMTP id 06BAF8FC13 for ; Tue, 20 Dec 2011 18:01:14 +0000 (UTC) Received: from GogPortatil.retena.com (95.20.246.23) by resmaa12.ono.com (8.5.113) (authenticated as nec556@retena.com) id 4EE6D4BA0017BCFB; Tue, 20 Dec 2011 18:49:48 +0100 Message-ID: <4EE6D4BA0017BCFB@> (added by postmaster@resmaa12.ono.com) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 20 Dec 2011 18:49:55 +0100 To: Allen From: Eduardo Morras In-Reply-To: <4EF028D8.803@comcast.net> References: <4EF028D8.803@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: AVG for E-mail 10.0.1415 [2108/4092] Cc: freebsd-questions@freebsd.org Subject: Re: Port, Packages, and Patching, Upgrading X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 18:01:15 -0000 At 07:19 20/12/2011, you wrote: >Hi, > >I've been trying to find info about this, so I'm Hoping someone here >will know about this; I use FreeBSD 8.2-RELEASE, and basically, the >normal way I do things, is like this: > >I grab the CD, boot, and install the Base System. Once I've booted, I'll >then use one of the two: > >pkg_add -r bunch of packages > >or > >sysinstall > Configure > Packages > >Then I go through the menus, and select what software I want, and, >eventually, I'll tell it to start installing. > >Now, I've been reading about Ports more and more, and thought about >maybe just using those instead, but even with upgrade_pkg from >bsdaminscripts, I just can NOT seem to upgrade anything. > >I'd like to have my system fully patched, but most of the data I find, >is about how to keep ports up to date, and has very little on Packages / >Binaries. > >I don't think it matters much why I choose Binary Packages over Ports, >I'm just looking to make sure the emails I get every once in a while on >the root account will FINALLY not have a huge list of stuff that I need >to either "delete / uninstall, or upgrade" and have no idea how. > >I mainly used Linux, so I AM a little more used to everything being >patched at once, like Slackware, where you can type one command and >install patches and stuff to everything you have installed, be it the >Kernel, or an Xterm, or X itself, or Pidgin. > >Any of you that use pkg_add and Sysinstall to install packages, can you >maybe describe what you do to install updates, Patches, or just in >general, keep your system patched? > >I'd really appreciate that. I know other had answered but... here are my 0.2 cents about installing a fresh machine (with Internet connection): a) Install base, no packages, no ports. b) Configure network c) update freebsd: #freebsd-update fetch #freebsd-update install #reboot d) get ports tree: #portsnap fetch && portsnap install e) install X: #pkg_add -r xorg i don't configure xorg.conf, it's easier for me f) install nvidia/ati/intel/whatever graphic card driver in other computer get the url and install in this one. g) install KDE, Gnome, Fluxbox... #pkg_add -r kde3/gnome2/fluxbox h) install the apps you will use If you need add a special feature to one app use ports, if not, use packages. And read the handbook ;) >-Allen HTH From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 20:46:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 016531065672 for ; Tue, 20 Dec 2011 20:46:07 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id D1B0C8FC15 for ; Tue, 20 Dec 2011 20:46:06 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [66.253.36.39]) by paka.cyberleo.net (Postfix) with ESMTPSA id A62A82841D; Tue, 20 Dec 2011 15:46:05 -0500 (EST) Message-ID: <4EF0F40B.6080601@cyberleo.net> Date: Tue, 20 Dec 2011 14:46:03 -0600 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111204 Thunderbird/8.0 MIME-Version: 1.0 To: Gerhard Schmidt References: <4EF0BEDB.5050304@ze.tum.de> In-Reply-To: <4EF0BEDB.5050304@ze.tum.de> X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: hardwire scsi busses X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 20:46:07 -0000 On 12/20/2011 10:59 AM, Gerhard Schmidt wrote: > Hello list ... How can I hardwire the ahd to become scsibus1 and > the twa to become scsibus0, that regardless if the external raid is > online the boot disk is allways da0 an the extern raid ist da1 if > online. You can use glabel(8) as an easy alternative. It will create usable device nodes based on the UFS label, GPT label, or a custom label written by the glabel(8) command, and these nodes will always point to the correct data (provided there are no conflicting labels, of course). It is included in GENERIC. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 21:22:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54FC0106566B for ; Tue, 20 Dec 2011 21:22:08 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 16FA98FC0C for ; Tue, 20 Dec 2011 21:22:07 +0000 (UTC) Received: by ggnp1 with SMTP id p1so7479764ggn.13 for ; Tue, 20 Dec 2011 13:22:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.111.69 with SMTP id ig5mr3426081obb.9.1324416126923; Tue, 20 Dec 2011 13:22:06 -0800 (PST) Received: by 10.182.220.33 with HTTP; Tue, 20 Dec 2011 13:22:06 -0800 (PST) X-Originating-IP: [93.221.180.25] In-Reply-To: <20111218112432.07baf6f7@cox.net> References: <4EEC08E8.80501@a1poweruser.com> <20111218112432.07baf6f7@cox.net> Date: Tue, 20 Dec 2011 22:22:06 +0100 Message-ID: From: "C. P. Ghost" To: "Conrad J. Sabatier" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Fbsd8 , FreeBSD Questions Subject: Re: Graphic /boot/loader menu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 21:22:08 -0000 On Sun, Dec 18, 2011 at 6:24 PM, Conrad J. Sabatier wrote= : > Myself, personally, as much as I dislike the look of FreeBSD's boot > menu, it does have the advantage of being very lightweight and adding > minimal overhead to the booting process, which is an important > consideration for a lot of people, no doubt. =A0YMMV. It's important to us running FreeBSD on headless machines, hooked up to remote serial consoles. A GUI boot menu wouldn't work there, since these machines don't even have VGA circuitry. > Let us know if you learn anything interesting re: this issue. > > -- > Conrad J. Sabatier > conrads@cox.net Regards, -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 21:39:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20C581065672 for ; Tue, 20 Dec 2011 21:39:25 +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 CD4798FC18 for ; Tue, 20 Dec 2011 21:39:24 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBKLdN96010718; Tue, 20 Dec 2011 14:39:23 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBKLdNSS010715; Tue, 20 Dec 2011 14:39:23 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 20 Dec 2011 14:39:23 -0700 (MST) From: Warren Block To: Da Rock In-Reply-To: <4EF017F9.6010408@herveybayaustralia.com.au> Message-ID: References: <4EEF208F.1060100@herveybayaustralia.com.au> <4EEF3183.3060907@herveybayaustralia.com.au> <4EEFB89D.1030103@herveybayaustralia.com.au> <4EF017F9.6010408@herveybayaustralia.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 20 Dec 2011 14:39:23 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 21:39:25 -0000 On Tue, 20 Dec 2011, Da Rock wrote: > The laptop is a compaq cq62 with a quad core phenom and a ATI 4200 Radeon > mobility GPU, as well as 6300 GPU. Sorry, I can't find any specs for a CQ62 with both ATI and NVidia. There's a trademark name for the dual GPU systems, at least the Intel-plus-something-else kind, but I can't recall it. > The HTPC/desktop is a whitebox quad core phenom on a ASUS MB (not 100% sure > which) with a NVidia onboard pcie GPU, and an ATI Radeon 3450. There could be > yet another GPU on there, but I can't remember. > > That system is running 8.x FBSD (1 or 2- can't quite remember), The start of /var/log/Xorg.0.log would be interesting, both for the version of FreeBSD and the version of xorg-server. I don't think I have anything with dual PCIe X16 slots to test. > and the laptop I'm installing 9.0-RC3 on, with the view to using > freebsd-update to RELEASE, because of the lack of Atheros 9285 support > in 8.x (tried for hours, just couldn't get the bird to fly :( ). > > From what I understand now, having been able assimilate what has been > discussed here and through google, it seems there is a conflict when dealing > with multiple onboard GPUs. What exactly is the issue with getting an arbiter > for FreeBSD? Aside from time, naturally. Usually it's finding someone able to do the work that's willing to do the work. The Foundation is funding some of that, and I've heard they're interested in getting the KMS for the Radeon driver going. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 20 22:51:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 266D5106566C for ; Tue, 20 Dec 2011 22:51:08 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id D43098FC16 for ; Tue, 20 Dec 2011 22:51:07 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 990B078C2D for ; Tue, 20 Dec 2011 23:51:04 +0100 (CET) X-Virus-Scanned: amavisd-new 2.7.0 (20110701) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VdGyhFtDGmOW for ; Tue, 20 Dec 2011 23:51:04 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 4316678C2C for ; Tue, 20 Dec 2011 23:51:04 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Apple Message framework v1084) From: bsd In-Reply-To: <20111220194210.0fc4de81@nonamehost.> Date: Tue, 20 Dec 2011 23:51:05 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <57CC67BE-835C-4760-97FA-5824FA01C4D9@todoo.biz> <20111220194210.0fc4de81@nonamehost.> To: Liste FreeBSD X-Mailer: Apple Mail (2.1084) Subject: Re: Best solution to install zfs on root for FBSD 9 [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 22:51:08 -0000 Le 20 d=C3=A9c. 2011 =C3=A0 18:42, Ivan Klymenko a =C3=A9crit : > =D0=92 Tue, 20 Dec 2011 18:11:36 +0100 > bsd =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 >> Hi,=20 >>=20 >> I would like to know if there is an "official" howto that could help >> me in the process of installing zfs on root.=20 >>=20 >> I will need a raid 1 configuration and plan to use the whole disks to >> be part of the pool.=20 >>=20 >> How far can we go with the installer ? >>=20 >> Do I have to use gpart ? >>=20 >> What is best way to achieve this ?=20 >>=20 >>=20 >> Any recent and up to date pointer will be welcome.=20 >>=20 >>=20 >> Thx.=20 >>=20 > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot > http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/ Ok thanks for your posting.=20 There is an update for the post mentioned up there which is exactly what = I was looking for :=20 http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Thx everyone.=20 = =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93= =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93 ---------> Gr=C3=A9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- = =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93= =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 06:43:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91A8B106566C for ; Wed, 21 Dec 2011 06:43:58 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 40E0E8FC1D for ; Wed, 21 Dec 2011 06:43:58 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 870735C24 for ; Wed, 21 Dec 2011 16:56:22 +1000 (EST) Message-ID: <4EF17F73.8030508@herveybayaustralia.com.au> Date: Wed, 21 Dec 2011 16:40:51 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EEF208F.1060100@herveybayaustralia.com.au> <4EEF3183.3060907@herveybayaustralia.com.au> <4EEFB89D.1030103@herveybayaustralia.com.au> <4EF017F9.6010408@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Xorg error: New athlon laptop, radeonhd video - unable to load fbdev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 06:43:58 -0000 On 12/21/11 07:39, Warren Block wrote: > On Tue, 20 Dec 2011, Da Rock wrote: > >> The laptop is a compaq cq62 with a quad core phenom and a ATI 4200 >> Radeon mobility GPU, as well as 6300 GPU. > > Sorry, I can't find any specs for a CQ62 with both ATI and NVidia. > There's a trademark name for the dual GPU systems, at least the > Intel-plus-something-else kind, but I can't recall it. No, no- you won't. Both cards in the laptop are ATI. The HTPC has an onboard NVidia, and a PCIe 16x ATI. > >> The HTPC/desktop is a whitebox quad core phenom on a ASUS MB (not >> 100% sure which) with a NVidia onboard pcie GPU, and an ATI Radeon >> 3450. There could be yet another GPU on there, but I can't remember. >> >> That system is running 8.x FBSD (1 or 2- can't quite remember), > > The start of /var/log/Xorg.0.log would be interesting, both for the > version of FreeBSD and the version of xorg-server. I don't think I > have anything with dual PCIe X16 slots to test. I'll have to look closer at it when I get a spare breath, it is a little intriguing. > >> and the laptop I'm installing 9.0-RC3 on, with the view to using >> freebsd-update to RELEASE, because of the lack of Atheros 9285 >> support in 8.x (tried for hours, just couldn't get the bird to fly :( ). >> >> From what I understand now, having been able assimilate what has been >> discussed here and through google, it seems there is a conflict when >> dealing with multiple onboard GPUs. What exactly is the issue with >> getting an arbiter for FreeBSD? Aside from time, naturally. > > Usually it's finding someone able to do the work that's willing to do > the work. The Foundation is funding some of that, and I've heard > they're interested in getting the KMS for the Radeon driver going. Is there anyone here that _can_ do the work? What about mentoring? As for the financials... thats something else to consider. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 09:59:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39B741065675 for ; Wed, 21 Dec 2011 09:59:23 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 002948FC17 for ; Wed, 21 Dec 2011 09:59:22 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id C4D9611265E; Wed, 21 Dec 2011 10:59:21 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke X-Priority: 3 In-Reply-To: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430> Date: Wed, 21 Dec 2011 10:59:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <03F554F4-6A38-49AF-8F30-CC84021BC7EA@lassitu.de> References: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430> To: Jack Raats X-Mailer: Apple Mail (2.1251.1) Cc: "freebsd-questions@freebsd.org questions" Subject: Re: network with two gateways and one network card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 09:59:23 -0000 Please don't crosspost. Am 15.12.2011 um 19:43 schrieb Jack Raats: > I have a question. Perhaps soeone can point me to a solution. >=20 > I have a server running FreeBSD 7.4-STABLE with one network card = running ezjail > My network has two gateways. >=20 > The host is running as 10.10.10.10 netmask 255.255.255.0 with gateway = 10.10.10.1 > The jail must be running 192.168.178.10 netmask 255.255.255.0 with = gateway 192.168.178.1 >=20 > Is this possible? > How to do it?? > What kind of problems to expect? Look at kernel option ROUTETABLES and setfib(1). If you're adventurous, check out VIMAGE. Stefan --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 13:19:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AD46106566B for ; Wed, 21 Dec 2011 13:19:32 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 01DF48FC21 for ; Wed, 21 Dec 2011 13:19:31 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8964A5C24 for ; Wed, 21 Dec 2011 23:31:56 +1000 (EST) Message-ID: <4EF1DC29.6030604@herveybayaustralia.com.au> Date: Wed, 21 Dec 2011 23:16:25 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org questions" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Atheros 9285 - not operating? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 13:19:32 -0000 This is getting less and less funny as I get deeper in this. I tried a lower end model of the same laptop with 8.1 and 8.2 and completely failed to get the atheros 9285 to work (although I did have partial success building from head (9) on 8.1. Wouldn't work after that. Along came 9.0-RC3 and I thought I had it made: the bsdinstall setup the card on a new laptop with wpa and all. After some days of work, left the unit alone for a while and the network went down. Error was "bb hang detected (0x4) resetting. Tried a few things to get it to work, and failed. Rebooted, and still nothing. Firstly, when I first set it up I set it standalone. After the install I've setup lagg failover (done that many times before). I plug in UTP and it comes good, dhcp an address and ping- good, unplug and ping- no good. ifconfig wlan0 scan shows my bssid and others in the area. The others are on different channels with six degrees separation. This is not the only unit with this to happen either. The problem is identical on another brand of laptop with this card installed using 9.0-RC3. Dmesg does not show any error that could be responsible. It only show the inital detection of the hardware, although one message shows up right after detection that may be of note: [ath] AR9285E_20 detected; using XE TX gain tables. The only thing I can conclude with the circumstances of the error (in both units) is that the card is timing out somehow and not waking up properly. I can't see any sysctl setting that would change this though. Any help appreciated. Cheers From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 14:59:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B151065672 for ; Wed, 21 Dec 2011 14:59:35 +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 341778FC17 for ; Wed, 21 Dec 2011 14:59:34 +0000 (UTC) Received: from [192.168.2.139] ([12.106.254.160]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id pBLExRLs003909 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 21 Dec 2011 08:59:27 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4EF1F44A.5000303@tundraware.com> Date: Wed, 21 Dec 2011 08:59:22 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: FreeBSD Mailing List 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.2.7 (ozzie.tundraware.com [75.145.138.73]); Wed, 21 Dec 2011 08:59:27 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: pBLExRLs003909 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Perl Upgrade And Mailscanner Woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 21 Dec 2011 14:59:35 -0000 Almost every time there is a perl upgrade, it manages to break Mailscanner even after running perl-after-upgrade. The solution ends up being a reinstall of Mailscanner, but this is a real pain, because you have to delete and reinstall every dependent perl package used by Mailscanner. Does anyone have a better way? -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 15:18:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2603B106566B for ; Wed, 21 Dec 2011 15:18:52 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id B5FA68FC0A for ; Wed, 21 Dec 2011 15:18:51 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Wed, 21 Dec 2011 16:18:48 +0100 Message-ID: <4EF1F8D8.2070102@ose.nl> Date: Wed, 21 Dec 2011 16:18:48 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110627 Thunderbird/5.0 MIME-Version: 1.0 To: FreeBSD Questions References: <4EF1F44A.5000303@tundraware.com> In-Reply-To: <4EF1F44A.5000303@tundraware.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Perl Upgrade And Mailscanner Woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 15:18:52 -0000 On 12/21/2011 03:59 PM, Tim Daneliuk wrote: > Almost every time there is a perl upgrade, it manages to break > Mailscanner even after running perl-after-upgrade. The solution > ends up being a reinstall of Mailscanner, but this is a real pain, > because you have to delete and reinstall every dependent perl > package used by Mailscanner. > > Does anyone have a better way? Hi After a major perl upgrade? portmaster -r perl- portmaster p5- portupgrade -fr perl Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 15:28:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB59106567A for ; Wed, 21 Dec 2011 15:28:47 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4D6228FC15 for ; Wed, 21 Dec 2011 15:28:47 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBLFShUw037264 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 21 Dec 2011 15:28:43 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBLFShUw037264 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1324481323; bh=An6E/b1tUkUBMZo79hcHTFjcomhk1fB35CgJ4MivvRM=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=Z3BuuKrrEQBhUWZuXjl7HhVx40Hfbn2w99mc1dg/D7dZM+rIGsnvx77SYWM0ASc/l 9uAUvLPAn0GwUEcPx4mYk1w/4hLe0S5ahWmKQZdtLCoYthcfGRukIdKdZ0ADsBjUWU LPS6UoXPtZ8Hx/Nh7xfHH7Kas0PYDbYCp7KhRiZI= Message-ID: <4EF1FB24.10005@infracaninophile.co.uk> Date: Wed, 21 Dec 2011 15:28:36 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF1F44A.5000303@tundraware.com> In-Reply-To: <4EF1F44A.5000303@tundraware.com> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig967614766BCEB6C704286768" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Perl Upgrade And Mailscanner Woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 15:28:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig967614766BCEB6C704286768 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21/12/2011 14:59, Tim Daneliuk wrote: > Almost every time there is a perl upgrade, it manages to break > Mailscanner even after running perl-after-upgrade. The solution > ends up being a reinstall of Mailscanner, but this is a real pain, > because you have to delete and reinstall every dependent perl > package used by Mailscanner. Something is going wrong with your upgrade process. If you're doing a minor version upgrade of perl (eg. from 5.x.y to 5.x.y+1), then almost all perl modules (including XS) only need to be moved into the new ${LOCALBASE}/lib/perl5/site-perl/5.x.y+1 directory tree, which is basically what perl-after-upgrade does. A few packages which embed a perl interpreter would need recompiling, but you could count those on the fingers of one hand. Are you sure you are using perl-after-upgrade correctly? You do understand that just running: # perl-after-upgrade doesn't actually modify anything on disk: instead it shows you what needs to be done. To actually effect the change you need to run: # perl-after-upgrade -f Then rebuild and reinstall any packages it says need rebuilding. If it has worked properly then almost all of the contents of ${LOCALBASE}/lib/perl5/site-perl/5.x.y will be gone, and that whole directory tree should be able to be deleted without consequence. Of course if your update is from perl 5.x.y to 5.x+1.z then you really do need to recompile and reinstall all perl modules and anything else that depends on perl. perl-after-upgrade is not effective in this case. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig967614766BCEB6C704286768 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7x+ysACgkQ8Mjk52CukIz1KwCfQXjzqJZqUzwej14OguxDJIw9 9LkAoIcdY398NDDiCK7Rm1iL/gWiZ5Rf =915+ -----END PGP SIGNATURE----- --------------enig967614766BCEB6C704286768-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 15:39:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1951C106564A for ; Wed, 21 Dec 2011 15:39:16 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id CE1BD8FC14 for ; Wed, 21 Dec 2011 15:39:15 +0000 (UTC) Received: from [192.168.2.139] ([12.106.254.160]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id pBLFd5Pj004778 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 21 Dec 2011 09:39:05 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <4EF1FD94.10805@tundraware.com> Date: Wed, 21 Dec 2011 09:39:00 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF1F44A.5000303@tundraware.com> <4EF1FB24.10005@infracaninophile.co.uk> In-Reply-To: <4EF1FB24.10005@infracaninophile.co.uk> 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.2.7 (ozzie.tundraware.com [75.145.138.73]); Wed, 21 Dec 2011 09:39:05 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: pBLFd5Pj004778 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Perl Upgrade And Mailscanner Woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 21 Dec 2011 15:39:16 -0000 On 12/21/2011 09:28 AM, Matthew Seaman wrote: > On 21/12/2011 14:59, Tim Daneliuk wrote: >> Almost every time there is a perl upgrade, it manages to break >> Mailscanner even after running perl-after-upgrade. The solution >> ends up being a reinstall of Mailscanner, but this is a real pain, >> because you have to delete and reinstall every dependent perl >> package used by Mailscanner. > > Something is going wrong with your upgrade process. If you're doing a > minor version upgrade of perl (eg. from 5.x.y to 5.x.y+1), then almost > all perl modules (including XS) only need to be moved into the new > ${LOCALBASE}/lib/perl5/site-perl/5.x.y+1 directory tree, which is > basically what perl-after-upgrade does. > > A few packages which embed a perl interpreter would need recompiling, > but you could count those on the fingers of one hand. > > Are you sure you are using perl-after-upgrade correctly? You do > understand that just running: > > # perl-after-upgrade > > doesn't actually modify anything on disk: instead it shows you what > needs to be done. To actually effect the change you need to run: > > # perl-after-upgrade -f Aha! And the lights go on ... Nevermind. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 16:00:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 542861065673 for ; Wed, 21 Dec 2011 16:00:55 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 0BF788FC13 for ; Wed, 21 Dec 2011 16:00:54 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 21 Dec 2011 11:00:54 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BMK24657; Wed, 21 Dec 2011 11:00:53 -0500 Received-SPF: None identity=pra; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=mailfrom; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=helo; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp01.lnh.mail.rcn.net with ESMTP; 21 Dec 2011 11:00:53 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20210.693.113141.63472@jerusalem.litteratus.org> Date: Wed, 21 Dec 2011 11:00:53 -0500 To: tundra@tundraware.com In-Reply-To: <4EF1FD94.10805@tundraware.com> References: <4EF1F44A.5000303@tundraware.com> <4EF1FB24.10005@infracaninophile.co.uk> <4EF1FD94.10805@tundraware.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: Re: Perl Upgrade And Mailscanner Woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 16:00:55 -0000 Tim Daneliuk writes: > > Are you sure you are using perl-after-upgrade correctly? You do > > understand that just running: > > > > # perl-after-upgrade > > > > doesn't actually modify anything on disk: instead it shows you what > > needs to be done. To actually effect the change you need to run: > > > > # perl-after-upgrade -f > > > Aha! And the lights go on ... Nevermind. No, not "nevermind". While this seems like "upgrading for dummies", there are enough of them out there this _really_ needs to go in the upgrade message. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Dec 21 23:59:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE0411065673 for ; Wed, 21 Dec 2011 23:59:27 +0000 (UTC) (envelope-from ramirocaso08@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 68A068FC13 for ; Wed, 21 Dec 2011 23:59:27 +0000 (UTC) Received: by yenl9 with SMTP id l9so5963134yen.13 for ; Wed, 21 Dec 2011 15:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=M375YP4DS7ZMlDBxuwLLAd3F9K7KRrIKMpQOZcSeVJA=; b=OMRA4WnkdE2WjZWBPySwQW4DCp+JzcGDOD/WKJW++qr7ci2zlyTgOJQR+AWXbjPhLs S8hotuvuKhHo7NFXV/CXIlGYMhTWTYVAyJqIIoWIal+81mBrD9Oqt1S4aBfvcyLErHc5 LlnYMc/gW/fbVocDeCBKhZw5Urf1wlMvUIddg= Received: by 10.236.140.36 with SMTP id d24mr12209433yhj.84.1324511966724; Wed, 21 Dec 2011 15:59:26 -0800 (PST) Received: from [192.168.1.102] ([200.115.196.181]) by mx.google.com with ESMTPS id j21sm18744084ann.0.2011.12.21.15.59.24 (version=SSLv3 cipher=OTHER); Wed, 21 Dec 2011 15:59:25 -0800 (PST) Message-ID: <4EF272CD.9060906@gmail.com> Date: Wed, 21 Dec 2011 20:59:09 -0300 From: Ramiro Caso User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20111220 Thunderbird/3.1.16 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: DMA problems with Broadcom 4312 under FreeBSD 9.0-RC3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 23:59:27 -0000 I have a Broadcom BCM4312 LP PHY that is giving me a hard time. I installed FreeBSD 9.0-RC3 a few days ago and it was working just fine. Here is the card info: Dec 21 13:06:12 apeiron kernel: siba_bwn0: mem 0xf6cfc000-0xf6cfffff irq 17 at device 0.0 on pci12 Dec 21 13:06:12 apeiron kernel: bwn0 on siba_bwn0 Dec 21 13:06:12 apeiron kernel: bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) Dec 21 13:06:12 apeiron kernel: bwn0: DMA (64 bits) Dec 21 13:06:12 apeiron kernel: bwn0: Using 1 MSI messages Dec 21 13:06:12 apeiron kernel: wlan0: Ethernet address: 00:24:2b:b0:d6:a4 As I said, it used to work perfectly fine with the usual setup: if_bwn_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" bwn_v4_lp_ucode_load="YES" firmware_load="YES" wlans_bwn0="wlan0" ifconfig_wlan0="WPA DHCP" However, a few hours ago it started failing ocassionally, and now it fails almost all the time. The error message is: Dec 21 13:16:42 apeiron kernel: bwn0: Fatal DMA error: 0x800 0 0 0 0 0 Dec 21 13:16:42 apeiron kernel: bwn0: HW reset: DMA error Dec 21 13:16:42 apeiron kernel: bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) Dec 21 13:16:42 apeiron kernel: bwn0: Fatal DMA error: 0x400 0 0 0 0 0 Dec 21 13:16:42 apeiron kernel: bwn0: HW reset: DMA error Dec 21 13:16:42 apeiron kernel: bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) ...... Dec 21 13:16:44 apeiron kernel: bwn0: Fatal DMA error: 0x400 0x400 0 0 0 0 Dec 21 13:16:44 apeiron kernel: bwn0: HW reset: DMA error Dec 21 13:16:44 apeiron kernel: bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) Dec 21 13:16:44 apeiron kernel: bwn0: Fatal DMA error: 0x400 0 0 0 0 0 Dec 21 13:16:44 apeiron kernel: bwn0: HW reset: DMA error Dec 21 13:16:44 apeiron kernel: bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) ...... Dec 21 13:16:55 apeiron kernel: bwn0: Fatal DMA error: 0x400 0 0 0 0 0 Dec 21 13:16:55 apeiron kernel: bwn0: HW reset: DMA error Dec 21 13:16:55 apeiron kernel: bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) ...... Any ideas? Best, Ramiro From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 00:48:02 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 467C4106564A for ; Thu, 22 Dec 2011 00:48:02 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 24FD68FC13 for ; Thu, 22 Dec 2011 00:48:01 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 21A38E80597; Wed, 21 Dec 2011 16:48:01 -0800 (PST) Date: Wed, 21 Dec 2011 16:48:01 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20111222004757.GA16840@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: two TOTALLY diff questions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 00:48:02 -0000 the first one is a bit off topic because our vim and the vim on linux may differ. but does anybody know how to get rid of the file and file~ OR, pref, turn the file~ into "file.bak"? i thought there was a areadme in .vimrc, but i don't see it. #2 q is out in the ozone. years ago i remember playing a game with black and brown rectangle, ovals, some vertical, some horizonttal. 16 way to win. i played it about 20 times and won only 2 or 3 times. i dont like games, but there is something about this one. i thought it was "tttt"; nope.. anybody? tx -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 01:45:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3297B106566B for ; Thu, 22 Dec 2011 01:45:10 +0000 (UTC) (envelope-from dave-lists-freebsd-questions@weller-fahy.com) Received: from tigger.weller-fahy.com (sinecure.new.xen.prgmr.com [71.19.148.52]) by mx1.freebsd.org (Postfix) with ESMTP id EFD0A8FC08 for ; Thu, 22 Dec 2011 01:45:09 +0000 (UTC) Received: (qmail 8342 invoked from network); 21 Dec 2011 17:22:58 -0800 Received: from unknown (HELO weller-fahy.com) (dave@weller-fahy.com@24.209.97.191) by tigger.weller-fahy.com with AES256-SHA encrypted SMTP; 21 Dec 2011 17:22:58 -0800 Date: Wed, 21 Dec 2011 20:19:05 -0500 From: "David J. Weller-Fahy" To: freebsd-questions@freebsd.org Message-ID: <20111222011905.GF26686@weller-fahy.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20111222004757.GA16840@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yudcn1FV7Hsu/q59" Content-Disposition: inline In-Reply-To: <20111222004757.GA16840@thought.org> User-Agent: Mutt/1.5.21+51 (9e756d1adb76) (2011-07-01) Subject: Re: two TOTALLY diff questions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 01:45:10 -0000 --yudcn1FV7Hsu/q59 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Gary Kline [2011-12-21 19:54 -0500]: > the first one is a bit off topic because our vim and the vim on linux > may differ. but does anybody know how to get rid of the file and > file~ OR, pref, turn the file~ into "file.bak"? i thought there was a > areadme in .vimrc, but i don't see it. Check out ":help backupext" while in vim. I learned something new by finding this out, so thanks! > #2 q is out in the ozone. No idea on this one. ;) Regards, --=20 dave [ please don't CC me ] --yudcn1FV7Hsu/q59 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk7yhYkACgkQzahokXOb2UzitgCgx9I+klS32usf2LCZNCHbsBjE FHUAoK6jId+XkkHB2IPKpzrx/7+idWQ2 =vdVc -----END PGP SIGNATURE----- --yudcn1FV7Hsu/q59-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 01:48:13 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5055106564A for ; Thu, 22 Dec 2011 01:48:13 +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 69ABB8FC15 for ; Thu, 22 Dec 2011 01:48:13 +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 pBM1brme027097 for ; Wed, 21 Dec 2011 20:37:53 -0500 (EST) (envelope-from chris@monochrome.org) Date: Wed, 21 Dec 2011 20:37:53 -0500 (EST) From: Chris Hill To: FreeBSD Questions List Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 01:48:13 -0000 Hello list, I apologize for this posting being not-much-on-topic, but my other resources have come to naught and I think you folks may have some experience in this area. I'm looking to set up some sort of revision control system at work. Simple enough, except that our situation is approximately the reverse of what most revision control systems are designed for. Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds of small, rapid-fire projects that are created at the rate of 3 to 20 per month. They last a few days or a few months and are (usually) not developed afterward. Each project has one to three developers working on it, sometimes simultaneously. Usually it's one guy per project. Since my programmers are not necessarily UNIX-savvy, I'd like to deploy a web interface for them which will allow them to create new repositories (projects) as well as the normal checkin, checkout, etc. I want to set this up once, and from there on have the programmers deal with managing their own repos. And heaven forfend exposing them to the horrors of the shell. I've built a test server (9.0-RC3, amd64) for experimenting with this stuff. So far I've installed and played with: - fossil. I like the simplicity and light weight, but it doesn't seem to allow creation of new repos at all (let alone multiple ones) from the web interface, and the documentation is meager. I've pretty much given up on it. - subversion, which looks like the heavy hitter of RCSs, but it's not at all clear to me how to handle the multiple-project scenario. Still working on it. - git looks promising, but I have not installed it yet. If anyone can point me to a tool that might be suitable, I would be most grateful. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 02:53:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A50106566B for ; Thu, 22 Dec 2011 02:53:11 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id B63628FC15 for ; Thu, 22 Dec 2011 02:53:10 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id EF3965C24 for ; Thu, 22 Dec 2011 13:05:34 +1000 (EST) Message-ID: <4EF29AD7.5040807@herveybayaustralia.com.au> Date: Thu, 22 Dec 2011 12:49:59 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 02:53:11 -0000 On 12/22/11 11:37, Chris Hill wrote: > Hello list, > > I apologize for this posting being not-much-on-topic, but my other > resources have come to naught and I think you folks may have some > experience in this area. > > I'm looking to set up some sort of revision control system at work. > Simple enough, except that our situation is approximately the reverse > of what most revision control systems are designed for. > > Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds > of small, rapid-fire projects that are created at the rate of 3 to 20 > per month. They last a few days or a few months and are (usually) not > developed afterward. Each project has one to three developers working > on it, sometimes simultaneously. Usually it's one guy per project. > > Since my programmers are not necessarily UNIX-savvy, I'd like to > deploy a web interface for them which will allow them to create new > repositories (projects) as well as the normal checkin, checkout, etc. > I want to set this up once, and from there on have the programmers > deal with managing their own repos. And heaven forfend exposing them > to the horrors of the shell. > > I've built a test server (9.0-RC3, amd64) for experimenting with this > stuff. So far I've installed and played with: > - fossil. I like the simplicity and light weight, but it doesn't seem > to allow creation of new repos at all (let alone multiple ones) from > the web interface, and the documentation is meager. I've pretty much > given up on it. > - subversion, which looks like the heavy hitter of RCSs, but it's not > at all clear to me how to handle the multiple-project scenario. Still > working on it. > - git looks promising, but I have not installed it yet. > > If anyone can point me to a tool that might be suitable, I would be > most grateful. I'd suggest subversion. It allows individual files to be versioned, you can setup a webdav interface, and there are other tools that can help maintain it. Forget the individual repositories. Setup a single repository and have directories for each project. in each directory you can then setup trunk, branches, whatever, as per best practices in the Book. Designate a person or two to administer, and use directory level auth, or another alternative I haven't thought of. My 2c's anyway. HTH From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 03:54:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFD00106566C for ; Thu, 22 Dec 2011 03:53:59 +0000 (UTC) (envelope-from ssgriffonuser@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B828E8FC13 for ; Thu, 22 Dec 2011 03:53:59 +0000 (UTC) Received: by iadj38 with SMTP id j38so13506832iad.13 for ; Wed, 21 Dec 2011 19:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=8HzvzWupNdovWTEPB4wpHzP8Yv5VllGYvArGrRNtMGU=; b=XaoywlViCy8yEK3vNvH08RkYXiNd9NcROLAsRlXJnCL8e885Ted9HTv0joWylifpsp 1VGvyZJ5BnayKOaJROVsuBayZIa3hiJOHh1XVi+6PQH0KGga3b9/SutHHFOgByARGeot Z5JqZ0YXDM6wpI85vB0nKHdeArUe3sRTTx+m4= MIME-Version: 1.0 Received: by 10.50.88.170 with SMTP id bh10mr6633763igb.8.1324524241207; Wed, 21 Dec 2011 19:24:01 -0800 (PST) Received: by 10.42.117.74 with HTTP; Wed, 21 Dec 2011 19:24:01 -0800 (PST) In-Reply-To: <4EF29AD7.5040807@herveybayaustralia.com.au> References: <4EF29AD7.5040807@herveybayaustralia.com.au> Date: Wed, 21 Dec 2011 20:24:01 -0700 Message-ID: From: ss griffon To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 03:54:00 -0000 On Wed, Dec 21, 2011 at 7:49 PM, Da Rock wrote: > On 12/22/11 11:37, Chris Hill wrote: >> >> Hello list, >> >> I apologize for this posting being not-much-on-topic, but my other >> resources have come to naught and I think you folks may have some experi= ence >> in this area. >> >> I'm looking to set up some sort of revision control system at work. Simp= le >> enough, except that our situation is approximately the reverse of what m= ost >> revision control systems are designed for. >> >> Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds of >> small, rapid-fire projects that are created at the rate of 3 to 20 per >> month. They last a few days or a few months and are (usually) not develo= ped >> afterward. Each project has one to three developers working on it, somet= imes >> simultaneously. Usually it's one guy per project. >> >> Since my programmers are not necessarily UNIX-savvy, I'd like to deploy = a >> web interface for them which will allow them to create new repositories >> (projects) as well as the normal checkin, checkout, etc. I want to set t= his >> up once, and from there on have the programmers deal with managing their= own >> repos. And heaven forfend exposing them to the horrors of the shell. >> >> I've built a test server (9.0-RC3, amd64) for experimenting with this >> stuff. So far I've installed and played with: >> =A0- fossil. I like the simplicity and light weight, but it doesn't seem= to >> allow creation of new repos at all (let alone multiple ones) from the we= b >> interface, and the documentation is meager. I've pretty much given up on= it. >> =A0- subversion, which looks like the heavy hitter of RCSs, but it's not= at >> all clear to me how to handle the multiple-project scenario. Still worki= ng >> on it. >> =A0- git looks promising, but I have not installed it yet. >> >> If anyone can point me to a tool that might be suitable, I would be most >> grateful. > > I'd suggest subversion. It allows individual files to be versioned, you c= an > setup a webdav interface, and there are other tools that can help maintai= n > it. > > Forget the individual repositories. Setup a single repository and have > directories for each project. in each directory you can then setup trunk, > branches, whatever, as per best practices in the Book. > > Designate a person or two to administer, and use directory level auth, or > another alternative I haven't thought of. > > My 2c's anyway. HTH > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" Yeah I would second what Mr Rock says. Set up a single repo where folders can be used for projects. Since svn lets you checkout sub folders of a repo, each developer can check out the folder that corresponds to their project. Also, Tortoise svn is a very nice graphical utility that will allow your developers to manage there svn folders without even needing a web interface (most non unix people that I know like tortoise), so there is less maintenance for you :) Finally, kudos to moving towards using version control, its an important step for a software company. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 04:07:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A754106566B for ; Thu, 22 Dec 2011 04:07:39 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 196BB8FC12 for ; Thu, 22 Dec 2011 04:07:38 +0000 (UTC) Received: by lahl5 with SMTP id l5so4530876lah.13 for ; Wed, 21 Dec 2011 20:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=QXuIm8cZ9ULI51SQquXbBRX6yy4qDXchUNu6gSwCxkA=; b=bQF0Du9bnKKVk4Bb5i9LqHfP1ALqXq4Kro5K5kzmPelV24eyWHwb2iq82WUHzx2o77 hO4NJeG/NEJvZP13LTNTSulm6osZ9M/R0ZkPB/b/f6KtA2iJLLvjOe9tsyz33KRU/RVa rBQLreenkiIauQRwb0ojO6vivRHCDxmC8ygX8= MIME-Version: 1.0 Received: by 10.152.104.6 with SMTP id ga6mr7734096lab.45.1324526857741; Wed, 21 Dec 2011 20:07:37 -0800 (PST) Received: by 10.152.24.195 with HTTP; Wed, 21 Dec 2011 20:07:37 -0800 (PST) In-Reply-To: References: <4EF29AD7.5040807@herveybayaustralia.com.au> Date: Wed, 21 Dec 2011 23:07:37 -0500 Message-ID: From: Outback Dingo To: ss griffon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 04:07:39 -0000 On Wed, Dec 21, 2011 at 10:24 PM, ss griffon wrot= e: > On Wed, Dec 21, 2011 at 7:49 PM, Da Rock > wrote: >> On 12/22/11 11:37, Chris Hill wrote: >>> >>> Hello list, >>> >>> I apologize for this posting being not-much-on-topic, but my other >>> resources have come to naught and I think you folks may have some exper= ience >>> in this area. >>> >>> I'm looking to set up some sort of revision control system at work. Sim= ple >>> enough, except that our situation is approximately the reverse of what = most >>> revision control systems are designed for. >>> >>> Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds of >>> small, rapid-fire projects that are created at the rate of 3 to 20 per >>> month. They last a few days or a few months and are (usually) not devel= oped >>> afterward. Each project has one to three developers working on it, some= times >>> simultaneously. Usually it's one guy per project. >>> >>> Since my programmers are not necessarily UNIX-savvy, I'd like to deploy= a >>> web interface for them which will allow them to create new repositories >>> (projects) as well as the normal checkin, checkout, etc. I want to set = this >>> up once, and from there on have the programmers deal with managing thei= r own >>> repos. And heaven forfend exposing them to the horrors of the shell. >>> >>> I've built a test server (9.0-RC3, amd64) for experimenting with this >>> stuff. So far I've installed and played with: >>> =A0- fossil. I like the simplicity and light weight, but it doesn't see= m to >>> allow creation of new repos at all (let alone multiple ones) from the w= eb >>> interface, and the documentation is meager. I've pretty much given up o= n it. >>> =A0- subversion, which looks like the heavy hitter of RCSs, but it's no= t at >>> all clear to me how to handle the multiple-project scenario. Still work= ing >>> on it. >>> =A0- git looks promising, but I have not installed it yet. >>> >>> If anyone can point me to a tool that might be suitable, I would be mos= t >>> grateful. >> >> I'd suggest subversion. It allows individual files to be versioned, you = can >> setup a webdav interface, and there are other tools that can help mainta= in >> it. >> >> Forget the individual repositories. Setup a single repository and have >> directories for each project. in each directory you can then setup trunk= , >> branches, whatever, as per best practices in the Book. >> >> Designate a person or two to administer, and use directory level auth, o= r >> another alternative I haven't thought of. >> >> My 2c's anyway. HTH >> >> _______________________________________________ >> 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" > > Yeah I would second what Mr Rock says. =A0Set up a single repo where > folders can be used for projects. =A0Since svn lets you checkout sub > folders of a repo, each developer can check out the folder that > corresponds to their project. =A0Also, Tortoise svn is a very nice > graphical utility that will allow your developers to manage there svn > folders without even needing a web interface (most non unix people > that I know like tortoise), so there is less maintenance for you :) > Finally, kudos to moving towards using version control, its an > important step for a software company. git or mercurial - best choices > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 04:58:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E0071065676 for ; Thu, 22 Dec 2011 04:58:36 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 595C98FC14 for ; Thu, 22 Dec 2011 04:58:35 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 56165E80597; Wed, 21 Dec 2011 20:58:35 -0800 (PST) Date: Wed, 21 Dec 2011 20:58:35 -0800 From: Gary Kline To: freebsd-questions@freebsd.org Message-ID: <20111222045835.GA29513@thought.org> References: <20111222004757.GA16840@thought.org> <20111222011905.GF26686@weller-fahy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111222011905.GF26686@weller-fahy.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: two TOTALLY diff questions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 04:58:36 -0000 On Wed, Dec 21, 2011 at 08:19:05PM -0500, David J. Weller-Fahy wrote: > Date: Wed, 21 Dec 2011 20:19:05 -0500 > From: "David J. Weller-Fahy" > Subject: Re: two TOTALLY diff questions. > To: freebsd-questions@freebsd.org > Mail-Followup-To: freebsd-questions@freebsd.org > > * Gary Kline [2011-12-21 19:54 -0500]: > > the first one is a bit off topic because our vim and the vim on linux > > may differ. but does anybody know how to get rid of the file and > > file~ OR, pref, turn the file~ into "file.bak"? i thought there was a > > areadme in .vimrc, but i don't see it. > > Check out ":help backupext" while in vim. I learned something new by > finding this out, so thanks! well, i'm a bit too dim to have =ever= thought of that help;so thanks. i don't keep my file.bak files very long but it's nice to have them... just in case to fmess up. hmm, maybe .Bak or whatever? 'bex', right? so : bex BAK [?] I'LL Try it .... > > > #2 q is out in the ozone. > > No idea on this one. ;) rats. i dont like games, but this was next to murder even at the "Very, very beginner" level. anybody e lse? i dont know how to google this one up! gary ps: thanks el mucho. > > Regards, > -- > dave [ please don't CC me ] -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 05:14:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E664106564A for ; Thu, 22 Dec 2011 05:14:26 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id EA0A18FC17 for ; Thu, 22 Dec 2011 05:14:25 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 526C55C24 for ; Thu, 22 Dec 2011 15:26:50 +1000 (EST) Message-ID: <4EF2BBF7.60002@herveybayaustralia.com.au> Date: Thu, 22 Dec 2011 15:11:19 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Pysycache errors on run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 05:14:26 -0000 Just something for the kids, but I'm wondering how to get this to work? I've installed from ports, but when I run it from the cli to test it I get an error: Traceback (most recent call last): File "/usr/local/bin/pysycache.py", line 442, in if __name__ == '__main__': main(const.GWithFullScreen) File "/usr/local/bin/pysycache.py", line 266, in main myrep = os.path.join(const.GRepPysycache, '/usr/local/share/pysycache/help', const.GMyLocale ) File "/usr/local/lib/python2.7/posixpath.py", line 66, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith' Assuming this _does_ actually work, anyone know the trick to getting this work? Cheers From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 05:21:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 928C5106566B for ; Thu, 22 Dec 2011 05:21:21 +0000 (UTC) (envelope-from rbyrnes@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 23FEC8FC0C for ; Thu, 22 Dec 2011 05:21:20 +0000 (UTC) Received: by eaaf13 with SMTP id f13so10254058eaa.13 for ; Wed, 21 Dec 2011 21:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=9aOyAo3L5feoWk1Su8KV3pD7m137IJvm+SKRA93T6iw=; b=gbSirVzQykivJN1/ND7x+dYAV/9ytI8jfp+QSqD6FoyaBglzZE7o67hZwlKtcEK8gg X6pe1m/vXpPIQxUc6JT3ON0ob4LUxBOsLUUUnDxH5OQGhFkb3ERjt/bBskjuQyD/EGK7 CBeNlye4NeQgHmaGDKS15JanfraWGwKUktciI= Received: by 10.204.130.85 with SMTP id r21mr2732944bks.38.1324529623499; Wed, 21 Dec 2011 20:53:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.100.144 with HTTP; Wed, 21 Dec 2011 20:53:22 -0800 (PST) In-Reply-To: References: <4EF29AD7.5040807@herveybayaustralia.com.au> From: Rob Byrnes Date: Thu, 22 Dec 2011 15:53:22 +1100 Message-ID: To: Outback Dingo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ss griffon , freebsd-questions@freebsd.org Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 05:21:21 -0000 On 22 December 2011 15:07, Outback Dingo wrote: > On Wed, Dec 21, 2011 at 10:24 PM, ss griffon wr= ote: >> On Wed, Dec 21, 2011 at 7:49 PM, Da Rock >> wrote: >>> On 12/22/11 11:37, Chris Hill wrote: >>>> >>>> Hello list, >>>> >>>> I apologize for this posting being not-much-on-topic, but my other >>>> resources have come to naught and I think you folks may have some expe= rience >>>> in this area. >>>> >>>> I'm looking to set up some sort of revision control system at work. Si= mple >>>> enough, except that our situation is approximately the reverse of what= most >>>> revision control systems are designed for. >>>> >>>> Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds o= f >>>> small, rapid-fire projects that are created at the rate of 3 to 20 per >>>> month. They last a few days or a few months and are (usually) not deve= loped >>>> afterward. Each project has one to three developers working on it, som= etimes >>>> simultaneously. Usually it's one guy per project. >>>> >>>> Since my programmers are not necessarily UNIX-savvy, I'd like to deplo= y a >>>> web interface for them which will allow them to create new repositorie= s >>>> (projects) as well as the normal checkin, checkout, etc. I want to set= this >>>> up once, and from there on have the programmers deal with managing the= ir own >>>> repos. And heaven forfend exposing them to the horrors of the shell. >>>> >>>> I've built a test server (9.0-RC3, amd64) for experimenting with this >>>> stuff. So far I've installed and played with: >>>> =A0- fossil. I like the simplicity and light weight, but it doesn't se= em to >>>> allow creation of new repos at all (let alone multiple ones) from the = web >>>> interface, and the documentation is meager. I've pretty much given up = on it. >>>> =A0- subversion, which looks like the heavy hitter of RCSs, but it's n= ot at >>>> all clear to me how to handle the multiple-project scenario. Still wor= king >>>> on it. >>>> =A0- git looks promising, but I have not installed it yet. >>>> >>>> If anyone can point me to a tool that might be suitable, I would be mo= st >>>> grateful. >>> >>> I'd suggest subversion. It allows individual files to be versioned, you= can >>> setup a webdav interface, and there are other tools that can help maint= ain >>> it. >>> >>> Forget the individual repositories. Setup a single repository and have >>> directories for each project. in each directory you can then setup trun= k, >>> branches, whatever, as per best practices in the Book. >>> >>> Designate a person or two to administer, and use directory level auth, = or >>> another alternative I haven't thought of. >>> >>> My 2c's anyway. HTH >>> >>> _______________________________________________ >>> 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" >> >> Yeah I would second what Mr Rock says. =A0Set up a single repo where >> folders can be used for projects. =A0Since svn lets you checkout sub >> folders of a repo, each developer can check out the folder that >> corresponds to their project. =A0Also, Tortoise svn is a very nice >> graphical utility that will allow your developers to manage there svn >> folders without even needing a web interface (most non unix people >> that I know like tortoise), so there is less maintenance for you :) >> Finally, kudos to moving towards using version control, its an >> important step for a software company. > > git or mercurial - best choices For what reasons? Rob --=20 Idiot : =A0 =A0 A member of a large and powerful tribe whose influence in human affairs has always been dominant and controlling. (Ambrose Bierce - The Devils Dictionary) From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 09:36:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01F54106568F for ; Thu, 22 Dec 2011 09:36:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF288FC15 for ; Thu, 22 Dec 2011 09:36:40 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBM9aQhJ056389 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 22 Dec 2011 09:36:31 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBM9aQhJ056389 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1324546592; bh=J6q2IQ7JLEsMZmExvUMxHTuSNh3UxvFqEDFF3q8B0gc=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=C7CBEuxSBgrgTHRReD9HYzipSKX8wP1ko5bgq+J/2Gl15hmagF0ToyudjsnCdMOgO 1oHNiI2zIvIEelvm59t/4q9EKbHvKQ61AjtFgQGQLmtii0z9gH85fu0y1HRwOmtTq0 t1zgNOtzuPFJOKpvOSAvC0nO4RXO8mPAzcDQ6WZA= Message-ID: <4EF2FA12.5010606@infracaninophile.co.uk> Date: Thu, 22 Dec 2011 09:36:18 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF29AD7.5040807@herveybayaustralia.com.au> In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig31A2D4D40498A318F37D9AA4" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 09:36:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig31A2D4D40498A318F37D9AA4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22/12/2011 04:53, Rob Byrnes wrote: >>> Yeah I would second what Mr Rock says. Set up a single repo where >>> >> folders can be used for projects. Since svn lets you checkout sub= >>> >> folders of a repo, each developer can check out the folder that >>> >> corresponds to their project. Also, Tortoise svn is a very nice >>> >> graphical utility that will allow your developers to manage there = svn >>> >> folders without even needing a web interface (most non unix people= >>> >> that I know like tortoise), so there is less maintenance for you := ) >>> >> Finally, kudos to moving towards using version control, its an >>> >> important step for a software company. >> > >> > git or mercurial - best choices >=20 > For what reasons? svn vs git vs mercurial svn has the model of a central repository that everything has to communicate with. This can be attractive in a commercial environment as it implies a degree of central control over all of the project source cod= e. git is much more a peer-to-peer system. This fits with a disparate group of projects all proceeding pretty much independently. There's also a potential advantage if all your developers are not at the same location and will not necessarily have access to central office systems. mercurial unfortunately I'm not that familiar with, but it uses a distributed model like git. Other criteria, like windows support, are not anything I have much experience of, but by all accounts svn and git are pretty well served. Any of these will serve you well, and unless you have a killer requirement that makes it obvious which to choose from, then you risk spending a lot of effort trying to minutely analyse the niggling details of each contender to no ultimate benefit. At some point you're going to be better off simply by tossing a coin to choose. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig31A2D4D40498A318F37D9AA4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7y+hkACgkQ8Mjk52CukIzoRwCcDgXPABeoJH4aB1nWilI91Fw3 3EoAnjjRlsi+d5X7NhF4XiDDUIjnuFSC =FdVK -----END PGP SIGNATURE----- --------------enig31A2D4D40498A318F37D9AA4-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 12:47:13 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07CFB106566B for ; Thu, 22 Dec 2011 12:47:13 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from spock-ext.obspm.fr (spock-ext.obspm.fr [145.238.186.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9496A8FC23 for ; Thu, 22 Dec 2011 12:47:12 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by spock-ext.obspm.fr (8.14.3/8.14.3/DIO Observatoire de Paris - 15/04/10) with ESMTP id pBMCl9m0023398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 22 Dec 2011 13:47:10 +0100 Date: Thu, 22 Dec 2011 13:47:09 +0100 From: Albert Shih To: questions@freebsd.org Message-ID: <20111222124709.GA48640@pcjas.obspm.fr> References: <20111124150901.GK87561@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20111124150901.GK87561@pcjas.obspm.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.7 (spock-ext.obspm.fr [145.238.186.20]); Thu, 22 Dec 2011 13:47:10 +0100 (CET) X-Virus-Scanned: clamav-milter 0.97.3 at spock-ext.obspm.fr X-Virus-Status: Clean Cc: Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 12:47:13 -0000 Le 24/11/2011 16:09:01+0100, Albert Shih a crit > Hi all > > Almost classic question about updating from 7.4 to 8.2. > > Anyone known if I can temporally run a 7.4 userland+service with 8.2 kernel > ? > > I've ask this because I've ~ 15 jail on one server. I can update the host > pretty fast but with the 15 jail I need some time. And I would like to > known if durring this time the jail going to work normally. > So I answer to myself. Some body tell me it's like "My gut reaction was "Are you familiar with the game of Russian Roulette?". Well....it's work...almost. Here what I do : Upgrade kernel and userland from 7.4 to 8.2 on the host. Upgrade all userland of my all jail to 8.2 Until now everything work fine. Delete old libs/files/man and...apache stop working. After do a portupgrade -fR apache everything work again. Be careful the portupgrade -f apache is not enough. I don't known which ports have some problem but I got a SSL error. So first I just update apache. It's not good. Then apr, etc...finally I upgrade with -fR and everything work again. For subversion you need to force upgrade neon too. and for who want to ask me : NO I don't play Russian roulette. Regards. -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: jeu 22 dc 2011 13:41:25 CET From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 13:17:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C3DA106566C for ; Thu, 22 Dec 2011 13:17:03 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id B69388FC13 for ; Thu, 22 Dec 2011 13:17:02 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 5F0C25C26 for ; Thu, 22 Dec 2011 23:29:27 +1000 (EST) Message-ID: <4EF32D11.4070209@herveybayaustralia.com.au> Date: Thu, 22 Dec 2011 23:13:53 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF2BBF7.60002@herveybayaustralia.com.au> In-Reply-To: <4EF2BBF7.60002@herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: LOCALE issue: Pysycache errors on run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 13:17:03 -0000 On 12/22/11 15:11, Da Rock wrote: > Just something for the kids, but I'm wondering how to get this to work? > > I've installed from ports, but when I run it from the cli to test it I > get an error: > > Traceback (most recent call last): > File "/usr/local/bin/pysycache.py", line 442, in > if __name__ == '__main__': main(const.GWithFullScreen) > File "/usr/local/bin/pysycache.py", line 266, in main > myrep = os.path.join(const.GRepPysycache, > '/usr/local/share/pysycache/help', const.GMyLocale ) > File "/usr/local/lib/python2.7/posixpath.py", line 66, in join > if b.startswith('/'): > AttributeError: 'NoneType' object has no attribute 'startswith' > > Assuming this _does_ actually work, anyone know the trick to getting > this work? After some extensive rooting around, I've discovered through a crash course in python and destructive testing that there is a locale issue with this program: %env LANG=en_EN.ISO8859-1 pysycache.py Traceback (most recent call last): File "/usr/local/bin/pysycache.py", line 442, in if __name__ == '__main__': main(const.GWithFullScreen) File "/usr/local/bin/pysycache.py", line 264, in main locale.setlocale(locale.LC_ALL,"") File "/usr/local/lib/python2.7/locale.py", line 531, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Many variations have been tried here, but I still can't get it to work. Anything I'm missing here? Disabling the locale setting in the program is not an option for many reasons. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 13:20:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B35D1065673 for ; Thu, 22 Dec 2011 13:20:58 +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 5ED2D8FC12 for ; Thu, 22 Dec 2011 13:20:58 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx02.qsc.de (Postfix) with ESMTP id 1F930295E4; Thu, 22 Dec 2011 14:20:55 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBMDKtHp002318; Thu, 22 Dec 2011 14:20:55 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 22 Dec 2011 14:20:55 +0100 From: Polytropon To: Da Rock Message-Id: <20111222142055.6dfa998f.freebsd@edvax.de> In-Reply-To: <4EF32D11.4070209@herveybayaustralia.com.au> References: <4EF2BBF7.60002@herveybayaustralia.com.au> <4EF32D11.4070209@herveybayaustralia.com.au> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LOCALE issue: Pysycache errors on run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 13:20:58 -0000 On Thu, 22 Dec 2011 23:13:53 +1000, Da Rock wrote: > %env LANG=en_EN.ISO8859-1 pysycache.py ^^ Isn't that supposed to be en_US or en_GB? I'm not sure if there's also en_AU... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 13:24:27 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1B2C106564A for ; Thu, 22 Dec 2011 13:24:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A61F88FC16 for ; Thu, 22 Dec 2011 13:24:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx02.qsc.de (Postfix) with ESMTP id A4FB41E62F; Thu, 22 Dec 2011 14:24:26 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBMDOQdn002341; Thu, 22 Dec 2011 14:24:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 22 Dec 2011 14:24:26 +0100 From: Polytropon To: Albert Shih Message-Id: <20111222142426.550b55da.freebsd@edvax.de> In-Reply-To: <20111222124709.GA48640@pcjas.obspm.fr> References: <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 13:24:28 -0000 On Thu, 22 Dec 2011 13:47:09 +0100, Albert Shih wrote: > Le 24/11/2011 =E0 16:09:01+0100, Albert Shih a =E9crit > > Hi all > >=20 > > Almost classic question about updating from 7.4 to 8.2. > >=20 > > Anyone known if I can temporally run a 7.4 userland+service with 8.2 ke= rnel > > ?=20 > >=20 > > I've ask this because I've ~ 15 jail on one server. I can update the = =ABhost=BB > > pretty fast but with the 15 jail I need some time. And I would like to > > known if durring this time the jail going to work =ABnormally=BB.=20 > >=20 > So I answer to myself.=20 >=20 > Some body tell me it's like =20 >=20 > "My gut reaction was "Are you familiar with the game of Russian Roulette?= ". >=20 > Well....it's work...almost.=20 >=20 > Here what I do :=20 >=20 > Upgrade kernel and userland from 7.4 to 8.2 on the host. >=20 > Upgrade all userland of my all jail to 8.2 >=20 > Until now everything work fine. >=20 > Delete old libs/files/man=20 >=20 > and...apache stop working.=20 >=20 > After do a >=20 > portupgrade -fR apache >=20 > everything work again.=20 >=20 > Be careful the=20 >=20 > portupgrade -f apache >=20 > is not enough. I don't known which ports have some problem but I > got a SSL error. So first I just update apache. It's not good. Then > apr, etc...finally I upgrade with =AB-fR=BB and everything work again. >=20 > For subversion you need to force upgrade neon too. You should basically be able to run v7 programs in a partially installed v8 environment as long as the COMPAT_FREEBSD7 functionality is enabled and the compat7x-i386-7.3.703000.201008_1 port or package has been installed. However, kernel and world should match each other. After an upgrade from one major version to the next one, it's the best solution to update _all_ installed ports. The "man portmaster" manpage contains a nice example for this situation. It should be similarly easy to achieve with portupgrade. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 13:49:18 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E23F6106566B for ; Thu, 22 Dec 2011 13:49:18 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from spock-ext.obspm.fr (spock-ext.obspm.fr [145.238.186.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7994D8FC08 for ; Thu, 22 Dec 2011 13:49:17 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by spock-ext.obspm.fr (8.14.3/8.14.3/DIO Observatoire de Paris - 15/04/10) with ESMTP id pBMDnFsH010254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 22 Dec 2011 14:49:16 +0100 Date: Thu, 22 Dec 2011 14:49:15 +0100 From: Albert Shih To: Polytropon Message-ID: <20111222134915.GA48825@pcjas.obspm.fr> References: <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr> <20111222142426.550b55da.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20111222142426.550b55da.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.7 (spock-ext.obspm.fr [145.238.186.20]); Thu, 22 Dec 2011 14:49:16 +0100 (CET) X-Virus-Scanned: clamav-milter 0.97.3 at spock-ext.obspm.fr X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 13:49:19 -0000 Le 22/12/2011 14:24:26+0100, Polytropon a crit > > > > For subversion you need to force upgrade neon too. > > You should basically be able to run v7 programs in a > partially installed v8 environment as long as the > COMPAT_FREEBSD7 functionality is enabled and the > compat7x-i386-7.3.703000.201008_1 port or package > has been installed. However, kernel and world should > match each other. > > After an upgrade from one major version to the next > one, it's the best solution to update _all_ installed > ports. The "man portmaster" manpage contains a nice > example for this situation. It should be similarly > easy to achieve with portupgrade. Yes I known. Thanks for the tips. My problem is with almost 15 jails on each server (I got 3) that's take long time, event during this time I don't do many thing some service isn't up. So my message is to find the minimal thing to do and make it's working until all package is rebuild. Regards. > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 I'm from 3.2 ;-) Regards. -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: jeu 22 dc 2011 14:47:16 CET From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 13:59:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28A431065679 for ; Thu, 22 Dec 2011 13:59:33 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B8C828FC1A for ; Thu, 22 Dec 2011 13:59:32 +0000 (UTC) Received: by werb13 with SMTP id b13so6208398wer.13 for ; Thu, 22 Dec 2011 05:59:31 -0800 (PST) Received: by 10.216.139.91 with SMTP id b69mr4116899wej.51.1324562371670; Thu, 22 Dec 2011 05:59:31 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id fi6sm15732674wib.2.2011.12.22.05.59.30 (version=SSLv3 cipher=OTHER); Thu, 22 Dec 2011 05:59:30 -0800 (PST) Message-ID: <4EF337C1.60908@my.gd> Date: Thu, 22 Dec 2011 14:59:29 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr> <20111222142426.550b55da.freebsd@edvax.de> <20111222134915.GA48825@pcjas.obspm.fr> In-Reply-To: <20111222134915.GA48825@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 13:59:33 -0000 On 12/22/11 2:49 PM, Albert Shih wrote: > Le 22/12/2011 14:24:26+0100, Polytropon a crit >>> >>> For subversion you need to force upgrade neon too. >> >> You should basically be able to run v7 programs in a >> partially installed v8 environment as long as the >> COMPAT_FREEBSD7 functionality is enabled and the >> compat7x-i386-7.3.703000.201008_1 port or package >> has been installed. However, kernel and world should >> match each other. >> >> After an upgrade from one major version to the next >> one, it's the best solution to update _all_ installed >> ports. The "man portmaster" manpage contains a nice >> example for this situation. It should be similarly >> easy to achieve with portupgrade. > > Yes I known. Thanks for the tips. > > My problem is with almost 15 jails on each server (I got 3) that's take > long time, event during this time I don't do many thing some service isn't > up. > > So my message is to find the minimal thing to do and make it's working > until all package is rebuild. > > Regards. > >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 > > I'm from 3.2 ;-) > > Regards. The question is why do you even bother running jails with different userlands ? Keep a shared userland for all your jails, just ensure your /etc and /usr/local are private only to said jails. This way you only need to rebuild the world once, although you'll still have to run mergemaster on each jail. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 14:00:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFEC3106564A for ; Thu, 22 Dec 2011 14:00:35 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 684DC8FC1C for ; Thu, 22 Dec 2011 14:00:35 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id A14DA5C24; Fri, 23 Dec 2011 00:12:59 +1000 (EST) Message-ID: <4EF33748.4080800@herveybayaustralia.com.au> Date: Thu, 22 Dec 2011 23:57:28 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: Polytropon References: <4EF2BBF7.60002@herveybayaustralia.com.au> <4EF32D11.4070209@herveybayaustralia.com.au> <20111222142055.6dfa998f.freebsd@edvax.de> In-Reply-To: <20111222142055.6dfa998f.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LOCALE issue: Pysycache errors on run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 14:00:35 -0000 On 12/22/11 23:20, Polytropon wrote: > On Thu, 22 Dec 2011 23:13:53 +1000, Da Rock wrote: >> %env LANG=en_EN.ISO8859-1 pysycache.py > ^^ > Isn't that supposed to be en_US or en_GB? > I'm not sure if there's also en_AU... :-) > The one variation I didn't try.... I had tried en_US and en_AU, but not with the encoding. Mind you this was not the first thing I had considered when this problem cropped up since everything else just works :) BTW there is en_AU. Thanks yet again Polytropon ;) From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 14:04:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E768106564A for ; Thu, 22 Dec 2011 14:04:29 +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 30A3E8FC16 for ; Thu, 22 Dec 2011 14:04:28 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx02.qsc.de (Postfix) with ESMTP id 1B3781E344; Thu, 22 Dec 2011 15:04:27 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBME4RhO002536; Thu, 22 Dec 2011 15:04:27 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 22 Dec 2011 15:04:27 +0100 From: Polytropon To: Da Rock Message-Id: <20111222150427.460f167e.freebsd@edvax.de> In-Reply-To: <4EF33748.4080800@herveybayaustralia.com.au> References: <4EF2BBF7.60002@herveybayaustralia.com.au> <4EF32D11.4070209@herveybayaustralia.com.au> <20111222142055.6dfa998f.freebsd@edvax.de> <4EF33748.4080800@herveybayaustralia.com.au> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: LOCALE issue: Pysycache errors on run X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 14:04:29 -0000 On Thu, 22 Dec 2011 23:57:28 +1000, Da Rock wrote: > On 12/22/11 23:20, Polytropon wrote: > > On Thu, 22 Dec 2011 23:13:53 +1000, Da Rock wrote: > >> %env LANG=en_EN.ISO8859-1 pysycache.py > > ^^ > > Isn't that supposed to be en_US or en_GB? > > I'm not sure if there's also en_AU... :-) > > > The one variation I didn't try.... I had tried en_US and en_AU, but not > with the encoding. I see - if I remember correctly, $LANG is just the language combination, while $LC_* do have the encoding appended, e. g. ISO8859-1, -15 or UTF-8. There's also a "precedence rule" regarding $LANG and the $LC_* settings, and $LC_ALL in relation to the others of $LC_*. > BTW there is en_AU. Cool, didn't know that (just assumed). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 18:14:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC96F106566B for ; Thu, 22 Dec 2011 18:14:21 +0000 (UTC) (envelope-from admin_freebsd@cyanide-studio.com) Received: from mail.cyanide-studio.com (mail.cyanide-studio.com [195.66.80.226]) by mx1.freebsd.org (Postfix) with ESMTP id 361128FC16 for ; Thu, 22 Dec 2011 18:14:21 +0000 (UTC) Received: from localhost (unknown [10.1.8.14]) by mail.cyanide-studio.com (Postfix) with ESMTP id 786BE17BF4D1 for ; Thu, 22 Dec 2011 18:57:16 +0100 (CET) Received: from mail.cyanide-studio.com ([10.1.8.3]) by localhost (mailguard.cyanide-studio.com [10.1.8.14]) (amavisd-maia, port 10024) with ESMTP id 07287-09 for ; Thu, 22 Dec 2011 18:57:16 +0100 (CET) Received: from [10.1.8.96] (unknown [10.1.8.96]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bsemene@cyanide-studio.com) by mail.cyanide-studio.com (Postfix) with ESMTP id 3F5F417BF4CB for ; Thu, 22 Dec 2011 18:57:16 +0100 (CET) Message-ID: <4EF36FA9.9020908@cyanide-studio.com> Date: Thu, 22 Dec 2011 18:58:01 +0100 From: Bastien Semene Organization: Cyanide S.A. User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: umask not applied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 18:14:21 -0000 Hi list, I'm trying to apply a umask of "002" to user "user" (username changed for this example) while logged-in through ftpd. I used login class "class" (class name changed for this example) I edited /etc/login.conf and set at the bottom (there's no other entry for this user): class::umask=0002: then rebuilt the db : #cap_mkdb /etc/login.conf I assigned the user to this class: #pw usermod user -L class #pw usershow user user:*:1003:80:class:0:0:bla bla:/home/user:/bin/sh (group 80 is why I need this umask) The user still creates folders with 755 permissions through ftpd. So I switched to this user and watched the umask, it is still 0022. I tried setting the umask on the fly : $umask 0002 It works. There's no user-defined umask in ~/.login or ~/.login_conf I took care of typos and there is no error. #uname -r 8.2-RELEASE-p3 As what I read in the man pages I checked all the possibilities in the login mechanism, so if anyone has an idea it's welcome :) Thanks ! From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 18:22:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41DEE1065672 for ; Thu, 22 Dec 2011 18:22:42 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [IPv6:2a02:6b8:0:801::4]) by mx1.freebsd.org (Postfix) with ESMTP id ACD578FC17 for ; Thu, 22 Dec 2011 18:22:41 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward14.mail.yandex.net (Yandex) with ESMTP id 236F5198317E for ; Thu, 22 Dec 2011 22:22:40 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324578160; bh=4TrUaX1o1IFtPz21tl5ewUH4FT0UfGYZ8qWH+qbScLs=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=MTClQ3WKvml9p5wf7YhULYKHGIGU5NLd9pgr9nCkhg5fB3dJZOUaUsCDhdLXtPvLo AAJoCvxqi8dVTGcyCL4zheCloUGZ5KMettusrMFVsRFS8+0ufArYgCfPQt0hAzX9SN MgO9slAv22hZk0TeHDiyFBnAaECgJuTljD2d2lks= Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 00045E403CD for ; Thu, 22 Dec 2011 22:22:39 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324578160; bh=4TrUaX1o1IFtPz21tl5ewUH4FT0UfGYZ8qWH+qbScLs=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=MTClQ3WKvml9p5wf7YhULYKHGIGU5NLd9pgr9nCkhg5fB3dJZOUaUsCDhdLXtPvLo AAJoCvxqi8dVTGcyCL4zheCloUGZ5KMettusrMFVsRFS8+0ufArYgCfPQt0hAzX9SN MgO9slAv22hZk0TeHDiyFBnAaECgJuTljD2d2lks= Received: from unknown (unknown [77.93.52.20]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Md2ivfIg-Md2u1FnJ; Thu, 22 Dec 2011 22:22:39 +0400 X-Yandex-Spam: 1 Date: Thu, 22 Dec 2011 20:22:38 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1444579738.20111222202238@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: about igb queue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 18:22:42 -0000 I have configured that I receive traffic from LAN via igb1 and it is leaving to world via igb0 but when I see processes I see that on igb0 there is 4 queues but on igb1 it is only one. Do I must tune something or all is right here? top -SIHP PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 155 ki31 0K 32K RUN 1 287:27 70.21% idle{idle: cpu1} 11 root 155 ki31 0K 32K RUN 3 292:42 67.77% idle{idle: cpu3} 11 root 155 ki31 0K 32K CPU2 2 286:38 65.97% idle{idle: cpu2} 11 root 155 ki31 0K 32K RUN 0 282:58 57.13% idle{idle: cpu0} 12 root -92 - 0K 248K WAIT 1 7:01 5.32% intr{irq257: igb0:que} 12 root -92 - 0K 248K WAIT 0 9:35 5.03% intr{irq256: igb0:que} 12 root -92 - 0K 248K WAIT 2 8:14 4.25% intr{irq258: igb0:que} 12 root -92 - 0K 248K WAIT 3 9:48 3.71% intr{irq259: igb0:que} 13 root -16 - 0K 32K sleep 2 6:42 3.08% ng_queue{ng_queue3} 13 root -16 - 0K 32K sleep 3 6:42 2.98% ng_queue{ng_queue1} 13 root -16 - 0K 32K sleep 0 6:42 2.93% ng_queue{ng_queue2} 13 root -16 - 0K 32K sleep 2 6:43 2.69% ng_queue{ng_queue0} 7371 root 21 0 15388K 5496K select 2 5:04 0.73% snmpd 12 root -92 - 0K 248K WAIT 0 1:52 0.63% intr{irq261: igb1:que} From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 18:48:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 844DE1065673 for ; Thu, 22 Dec 2011 18:48:30 +0000 (UTC) (envelope-from bmettee@pchotshots.com) Received: from mail.pchotshots.com (mail.pchotshots.com [12.172.123.237]) by mx1.freebsd.org (Postfix) with ESMTP id 19C228FC12 for ; Thu, 22 Dec 2011 18:48:29 +0000 (UTC) Received: (qmail 8529 invoked by uid 89); 22 Dec 2011 18:28:40 -0000 Received: from unknown (HELO ?12.172.123.228?) (bmettee@pchotshots.com@12.172.123.228) by mail.pchotshots.com with ESMTPA; 22 Dec 2011 18:28:40 -0000 Message-ID: <4EF37536.8080708@pchotshots.com> Date: Thu, 22 Dec 2011 13:21:42 -0500 From: Brad Mettee User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.24) Gecko/20111103 Thunderbird/3.1.16 MIME-Version: 1.0 To: Bastien Semene References: <4EF36FA9.9020908@cyanide-studio.com> In-Reply-To: <4EF36FA9.9020908@cyanide-studio.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: umask not applied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 18:48:30 -0000 On 12/22/2011 12:58 PM, Bastien Semene wrote: > Hi list, > > I'm trying to apply a umask of "002" to user "user" (username changed > for this example) while logged-in through ftpd. > I used login class "class" (class name changed for this example) > > I edited /etc/login.conf and set at the bottom (there's no other entry > for this user): > class::umask=0002: > then rebuilt the db : > #cap_mkdb /etc/login.conf > > I assigned the user to this class: > #pw usermod user -L class > #pw usershow user > user:*:1003:80:class:0:0:bla bla:/home/user:/bin/sh > (group 80 is why I need this umask) > > The user still creates folders with 755 permissions through ftpd. > > So I switched to this user and watched the umask, it is still 0022. > > I tried setting the umask on the fly : > $umask 0002 > It works. > > There's no user-defined umask in ~/.login or ~/.login_conf > > I took care of typos and there is no error. > #uname -r > 8.2-RELEASE-p3 > > As what I read in the man pages I checked all the possibilities in the > login mechanism, so if anyone has an idea it's welcome :) > > Thanks ! I'm not a pro FreeBSD user, but wouldn't the FTPD program be more responsible for the user's login credentials since that's what they're using that's causing the wrong permissions to be applied? From what I remember, FTPD verifies the users login, but doesn't actually execute any login scripts associated with that user. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 22:03:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCB821065670 for ; Thu, 22 Dec 2011 22:03:34 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [IPv6:2a02:6b8:0:801::5]) by mx1.freebsd.org (Postfix) with ESMTP id F2CFF8FC12 for ; Thu, 22 Dec 2011 22:03:33 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward15.mail.yandex.net (Yandex) with ESMTP id 514729E1E02 for ; Fri, 23 Dec 2011 02:03:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324591412; bh=0t6WgFtGs3YzsjfxJ/e4G6c+5olHhYr9K5T55+DKCO0=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UyQLBUavyvevuvvrvt1554VF5hC1eoZvWQPu0+1nXMUS3RND8Tepiudtut3T3p9VN mDyXgxoQpP4C4zI7pk6kaoLGELeE24dDE1Y8vgLSyE65j8IaprPszftlHEdiv7d/EN krxemr0KPz+1poyUm0XmA1f9BEUm2iqnpM1gISBM= Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 2D59C16A02DA; Fri, 23 Dec 2011 02:03:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324591412; bh=0t6WgFtGs3YzsjfxJ/e4G6c+5olHhYr9K5T55+DKCO0=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UyQLBUavyvevuvvrvt1554VF5hC1eoZvWQPu0+1nXMUS3RND8Tepiudtut3T3p9VN mDyXgxoQpP4C4zI7pk6kaoLGELeE24dDE1Y8vgLSyE65j8IaprPszftlHEdiv7d/EN krxemr0KPz+1poyUm0XmA1f9BEUm2iqnpM1gISBM= Received: from unknown (unknown [77.93.52.19]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3Vm0BQbX-3Vmm06Cs; Fri, 23 Dec 2011 02:03:31 +0400 X-Yandex-Spam: 1 Date: Fri, 23 Dec 2011 00:03:29 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <613871684.20111223000329@yandex.ru> To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= In-Reply-To: <1444579738.20111222202238@yandex.ru> References: <1444579738.20111222202238@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: about igb queue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 22:03:34 -0000 , . 22 2011 ., 20:22:38: > I have configured that I receive traffic from LAN via igb1 and it is > leaving to world via igb0 > but when I see processes I see that on igb0 there is 4 queues but on > igb1 it is only one. Do I must tune something or all is right here? > top -SIHP > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 11 root 155 ki31 0K 32K RUN 1 287:27 70.21% idle{idle: cpu1} > 11 root 155 ki31 0K 32K RUN 3 292:42 67.77% idle{idle: cpu3} > 11 root 155 ki31 0K 32K CPU2 2 286:38 65.97% idle{idle: cpu2} > 11 root 155 ki31 0K 32K RUN 0 282:58 57.13% idle{idle: cpu0} > 12 root -92 - 0K 248K WAIT 1 7:01 5.32% intr{irq257: igb0:que} > 12 root -92 - 0K 248K WAIT 0 9:35 5.03% intr{irq256: igb0:que} > 12 root -92 - 0K 248K WAIT 2 8:14 4.25% intr{irq258: igb0:que} > 12 root -92 - 0K 248K WAIT 3 9:48 3.71% intr{irq259: igb0:que} > 13 root -16 - 0K 32K sleep 2 6:42 3.08% ng_queue{ng_queue3} > 13 root -16 - 0K 32K sleep 3 6:42 2.98% ng_queue{ng_queue1} > 13 root -16 - 0K 32K sleep 0 6:42 2.93% ng_queue{ng_queue2} > 13 root -16 - 0K 32K sleep 2 6:43 2.69% ng_queue{ng_queue0} > 7371 root 21 0 15388K 5496K select 2 5:04 0.73% snmpd > 12 root -92 - 0K 248K WAIT 0 1:52 0.63% intr{irq261: igb1:que} getting information about interrupts shows that there is not interrupts from igb1 char igb_driver_version[] = "version - 2.2.5"; 2 users Load 0.50 0.53 0.50 Dec 22 23:59 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 332272 13268 2062288 30088 122004 count All 494672 19520 4333592 90716 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt 117 cow 31201 total 1 172 72k 889 4135 14k 4041 660 296 zfod ata0 14 10 ozfod 5 ata1 15 3.9%Sys 5.0%Intr 0.4%User 0.0%Nice 90.7%Idle 3%ozfod 2 ehci0 16 | | | | | | | | | | | daefr 2 ehci1 23 ==++> 378 prcfr 4126 cpu0:timer 33 dtbuf 450 totfr 2920 igb0:que 0 Namei Name-cache Dir-cache 110737 desvn react 2680 igb0:que 1 Calls hits % hits % 37963 numvn pdwak 2187 igb0:que 2 4504 4492 100 27657 frevn pdpgs 2550 igb0:que 3 intrn igb0:link Disks ada0 da0 pass0 pass1 270288 wire 4355 igb1:que 0 KB/t 30.96 0.00 0.00 0.00 316488 act 3 igb1:que 1 tps 5 0 0 0 1264188 inact 1 igb1:que 2 MB/s 0.16 0.00 0.00 0.00 95204 cache 2 igb1:que 3 %busy 0 0 0 0 26800 free igb1:link 114912 re0 266 4127 cpu1:timer 4116 cpu3:timer 4125 cpu2:timer -- , mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 22:51:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2966106564A for ; Thu, 22 Dec 2011 22:51:16 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp1.iomartmail.com (asmtp1.iomartmail.com [62.128.201.248]) by mx1.freebsd.org (Postfix) with ESMTP id 2200D8FC0A for ; Thu, 22 Dec 2011 22:51:15 +0000 (UTC) Received: from asmtp1.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id pBMMpDca029280; Thu, 22 Dec 2011 22:51:14 GMT Received: from orange.esperance-linux.co.uk (host-92-22-125-39.as13285.net [92.22.125.39]) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id pBMMpD3x029265; Thu, 22 Dec 2011 22:51:13 GMT Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id DB58633C1F; Thu, 22 Dec 2011 22:51:12 +0000 (GMT) Date: Thu, 22 Dec 2011 22:51:12 +0000 From: Frank Shute To: ss griffon Message-ID: <20111222225112.GA58727@orange.esperance-linux.co.uk> References: <4EF29AD7.5040807@herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-STABLE amd64 X-Organisation: 'shute.org.uk' Cc: FreeBSD Questions Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 22:51:16 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 21, 2011 at 08:24:01PM -0700, ss griffon wrote: > > On Wed, Dec 21, 2011 at 7:49 PM, Da Rock > wrote: > > On 12/22/11 11:37, Chris Hill wrote: > >> > >> Hello list, > >> > >> I apologize for this posting being not-much-on-topic, but my other > >> resources have come to naught and I think you folks may have some expe= rience > >> in this area. > >> > >> I'm looking to set up some sort of revision control system at work. Si= mple > >> enough, except that our situation is approximately the reverse of what= most > >> revision control systems are designed for. > >> > >> Unlike, e.g., FreeBSD kernel development, we have dozens or hundreds of > >> small, rapid-fire projects that are created at the rate of 3 to 20 per > >> month. They last a few days or a few months and are (usually) not deve= loped > >> afterward. Each project has one to three developers working on it, som= etimes > >> simultaneously. Usually it's one guy per project. > >> > >> Since my programmers are not necessarily UNIX-savvy, I'd like to deplo= y a > >> web interface for them which will allow them to create new repositories > >> (projects) as well as the normal checkin, checkout, etc. I want to set= this > >> up once, and from there on have the programmers deal with managing the= ir own > >> repos. And heaven forfend exposing them to the horrors of the shell. > >> > >> I've built a test server (9.0-RC3, amd64) for experimenting with this > >> stuff. So far I've installed and played with: > >> =A0- fossil. I like the simplicity and light weight, but it doesn't se= em to > >> allow creation of new repos at all (let alone multiple ones) from the = web > >> interface, and the documentation is meager. I've pretty much given up = on it. > >> =A0- subversion, which looks like the heavy hitter of RCSs, but it's n= ot at > >> all clear to me how to handle the multiple-project scenario. Still wor= king > >> on it. > >> =A0- git looks promising, but I have not installed it yet. > >> > >> If anyone can point me to a tool that might be suitable, I would be mo= st > >> grateful. > > > > I'd suggest subversion. It allows individual files to be versioned, you= can > > setup a webdav interface, and there are other tools that can help maint= ain > > it. > > > > Forget the individual repositories. Setup a single repository and have > > directories for each project. in each directory you can then setup trun= k, > > branches, whatever, as per best practices in the Book. > > > > Designate a person or two to administer, and use directory level auth, = or > > another alternative I haven't thought of. > > > > My 2c's anyway. HTH > > >=20 > Yeah I would second what Mr Rock says. Set up a single repo where > folders can be used for projects. Since svn lets you checkout sub > folders of a repo, each developer can check out the folder that > corresponds to their project. Also, Tortoise svn is a very nice > graphical utility that will allow your developers to manage there svn > folders without even needing a web interface (most non unix people > that I know like tortoise), so there is less maintenance for you :) > Finally, kudos to moving towards using version control, its an > important step for a software company. I'll 3rd the choice of Subversion. It's quite easy to setup and use. There's also the book online: http://svnbook.red-bean.com/en/1.7/index.html for you to read at your pleasure and which you can also point your users to. Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk7ztF8ACgkQHduKvUAgeK5RwQCg2P4ipWnazV+w4q61ZaU5yKp+ cfgAn13uOr+yBzkWuZF0dAh2+k85YZEt =/Ud0 -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 23:05:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFD27106567F for ; Thu, 22 Dec 2011 23:05:53 +0000 (UTC) (envelope-from william.e.brown@adelaide.edu.au) Received: from mailguard-send.adelaide.edu.au (pulteney-pix.border.net.adelaide.edu.au [192.43.227.18]) by mx1.freebsd.org (Postfix) with ESMTP id B733E8FC29 for ; Thu, 22 Dec 2011 23:05:52 +0000 (UTC) X-SBRS: None X-Listener: MTA_SUBM X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgBAFO0807LesJt/2dsb2JhbAAMN6N/AYUShhUBAQEBAgFzCwsLGC5XBogNrjOJBYssYwSnRg X-IronPort-AV: E=Sophos;i="4.71,396,1320586200"; d="sig'?scan'208,217";a="43178079" Received: from ppp194-109.static.internode.on.net (HELO [172.24.0.19]) ([203.122.194.109]) by talos-private.services.adelaide.edu.au with ESMTP/TLS/AES128-SHA; 23 Dec 2011 09:23:24 +1030 From: William Brown Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-40-542335606" Date: Fri, 23 Dec 2011 09:23:22 +1030 In-Reply-To: <4EF2FA12.5010606@infracaninophile.co.uk> To: freebsd general questions References: <4EF29AD7.5040807@herveybayaustralia.com.au> <4EF2FA12.5010606@infracaninophile.co.uk> Message-Id: <9054C93B-B423-4C34-B95D-3C4119FC2C45@adelaide.edu.au> Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.3.3 X-Mailer: Apple Mail (2.1084) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 23:05:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-40-542335606 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 22/12/2011, at 20:06, Matthew Seaman wrote: > On 22/12/2011 04:53, Rob Byrnes wrote: >>>> Yeah I would second what Mr Rock says. Set up a single repo where >>>>>> folders can be used for projects. Since svn lets you checkout = sub >>>>>> folders of a repo, each developer can check out the folder that >>>>>> corresponds to their project. Also, Tortoise svn is a very nice >>>>>> graphical utility that will allow your developers to manage there = svn >>>>>> folders without even needing a web interface (most non unix = people >>>>>> that I know like tortoise), so there is less maintenance for you = :) >>>>>> Finally, kudos to moving towards using version control, its an >>>>>> important step for a software company. >>>>=20 >>>> git or mercurial - best choices >>=20 >> For what reasons? >=20 > svn vs git vs mercurial >=20 > svn has the model of a central repository that everything has to > communicate with. This can be attractive in a commercial environment = as > it implies a degree of central control over all of the project source = code. >=20 > git is much more a peer-to-peer system. This fits with a disparate > group of projects all proceeding pretty much independently. There's > also a potential advantage if all your developers are not at the same > location and will not necessarily have access to central office = systems. >=20 > mercurial unfortunately I'm not that familiar with, but it uses a > distributed model like git. I would advise staying away from mercurial (aka hg). It has a lot of = issues with corruption of repositories. Git does the same and is a lot = more mature and stable.=20 >=20 > Other criteria, like windows support, are not anything I have much > experience of, but by all accounts svn and git are pretty well served. Again, git wins here. It has good support on windows, as well as with = graphical tools on windows.=20 You can use git like SVN if you push to the master after every commit = though. I also have found git's support for merging to be a lot better. = Additionally it stores branches and tags as metadata on commits rather = than svn's "dumb" tag / branch system where you just copy the full repo = to the side. Git does take a bit longer to get your head around how some of the tools = work, but once you learn it, it really pays off.=20 Sincerely, William Brown Research & Teaching, Technology Services The University of Adelaide, AUSTRALIA 5005 CRICOS Provider Number 00123M = --------------------------------------------------------------------------= --- IMPORTANT: This message may contain confidential or legally privileged information. If you think it was sent to you by mistake, please delete = all copies and advise the sender. For the purposes of the SPAM Act 2003, = this email is authorised by The University of Adelaide. pgp.mit.edu --Apple-Mail-40-542335606 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJO87TjAAoJEDwKxtqy+Sii9ZIQALTBT/BOJ0P22BlCHOWKF3Wn m9J9Fbe7aHBhHLys+uj7B+WnGVqJB6AoHMED/QhlBYB/7fm188IWHOxRMxwVvezp iThMwANnC9GYDprMk4ZTCbj/9yHQfJtD3v3gBe+k+ODNaz/zLLNnj5TXJP1Ufxzk PwL/N5GjbEfgxLeAyS8P/C/RxhxBYCM6wuLNlMEUvPnZq5VtbHXCRjB5EsU1Qcw5 +i7F1X5ICy8A5AUDHBPPsIy/rTOjYKwuNcF73TKHlvGK3UTCfoQdJteI79wQRhgT bb1Y1JhbF0t6SRDUIXOZzJxja4e2a43P6NW8onlNOapflgv+OM8GX7KhN95Ees/Z QUhJCVntuavsZLHbUJHfA3VpiKNXicBvevm1SBxn4VqiYdpXCsvvB/v+OUdFlC1l y3xLa7zwX3E+1+M9UCSQt7BMlUkw4SuLxU7nOyrCwvBcEPKF8ygu5f6oUSRg+bPP Q7msuS4AJ1TwgmU867SkdowO1PzndDdChL15R8lUnDv1CKtaAgLxWVAMQvYSTm/M wSzZLh+qzcWkyKa3f/dmhGFaR1p/vx+D1FSq8hXbnbz8XF5TXLFYaJyusALFSRkt zoh9a4FyI/H0xmmYt6wVTMbR0uGsKugpHtajL1WsGDk32d5eXYVW6QwJcDeqlVYz 5rD4xx7cZdY/dxZQBZ4d =fbdC -----END PGP SIGNATURE----- --Apple-Mail-40-542335606-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 22 23:37:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9117B106564A for ; Thu, 22 Dec 2011 23:37:07 +0000 (UTC) (envelope-from "e1019@network-i.net"@relay.network-i.net) Received: from relay.network-i.net (relay.network-i.net [212.21.121.179]) by mx1.freebsd.org (Postfix) with ESMTP id 543018FC12 for ; Thu, 22 Dec 2011 23:37:07 +0000 (UTC) Received: from cpc9-slou1-2-0-cust136.haye.cable.virginmedia.com ([94.175.105.137] helo=Satans-Little-Helper-mkIII.local) by relay.network-i.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from <"e1019@network-i.net"@relay.network-i.net>) id 1Rdrv3-000C9D-63 for freebsd-questions@freebsd.org; Thu, 22 Dec 2011 23:19:25 +0000 Message-ID: <4EF3BAFC.7090805@thingy.com> Date: Thu, 22 Dec 2011 23:19:24 +0000 From: Howard Jones User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF29AD7.5040807@herveybayaustralia.com.au> <4EF2FA12.5010606@infracaninophile.co.uk> <9054C93B-B423-4C34-B95D-3C4119FC2C45@adelaide.edu.au> In-Reply-To: <9054C93B-B423-4C34-B95D-3C4119FC2C45@adelaide.edu.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: "e1019@network-i.net"@relay.network-i.net Subject: Re: [freebsd-questions] Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 23:37:07 -0000 On 22/12/2011 22:53, William Brown wrote: > Again, git wins here. It has good support on windows, as well as with > graphical tools on windows. Is there a git equivalent of TortoiseSVN then? That's the best VC integration I've seen on any platform... One small but cosmetic thing with git vs svn: you won't get meaningful automatic revision numbers with git, unless you enjoy memorizing long strings of hex. Howie (warming up to git, but uses svn at the moment) From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 00:34:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DD271065673 for ; Fri, 23 Dec 2011 00:34:30 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 406138FC18 for ; Fri, 23 Dec 2011 00:34:30 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.5/8.14.4) with ESMTP id pBN0YSSV036106; Thu, 22 Dec 2011 19:34:28 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <4EF3CC8A.8060103@sentex.net> Date: Thu, 22 Dec 2011 19:34:18 -0500 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: =?windows-1251?Q?=CA=EE=ED=FC=EA=EE=E2_=C5=E2=E3=E5=ED=E8=E9?= References: <1444579738.20111222202238@yandex.ru> <613871684.20111223000329@yandex.ru> In-Reply-To: <613871684.20111223000329@yandex.ru> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.71 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-questions@freebsd.org Subject: Re: about igb queue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 00:34:30 -0000 On 12/22/2011 5:03 PM, wrote: > , . > > 22 2011 ., 20:22:38: > > > I have configured that I receive traffic from LAN via igb1 and it is > > leaving to world via igb0 > > > but when I see processes I see that on igb0 there is 4 queues but on > > igb1 it is only one. Do I must tune something or all is right here? vmstat -i shows interrupts assigned to the nic. Whats the netgraph stuff doing ? Perhaps provide more details about what the box is doing and do you have any modules loaded. Do you have any tunables set in /etc/sysctl.conf or in /boot/loader.conf ? ---Mike > > > top -SIHP > > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > > 11 root 155 ki31 0K 32K RUN 1 287:27 70.21% idle{idle: cpu1} > > 11 root 155 ki31 0K 32K RUN 3 292:42 67.77% idle{idle: cpu3} > > 11 root 155 ki31 0K 32K CPU2 2 286:38 65.97% idle{idle: cpu2} > > 11 root 155 ki31 0K 32K RUN 0 282:58 57.13% idle{idle: cpu0} > > 12 root -92 - 0K 248K WAIT 1 7:01 5.32% intr{irq257: igb0:que} > > 12 root -92 - 0K 248K WAIT 0 9:35 5.03% intr{irq256: igb0:que} > > 12 root -92 - 0K 248K WAIT 2 8:14 4.25% intr{irq258: igb0:que} > > 12 root -92 - 0K 248K WAIT 3 9:48 3.71% intr{irq259: igb0:que} > > 13 root -16 - 0K 32K sleep 2 6:42 3.08% ng_queue{ng_queue3} > > 13 root -16 - 0K 32K sleep 3 6:42 2.98% ng_queue{ng_queue1} > > 13 root -16 - 0K 32K sleep 0 6:42 2.93% ng_queue{ng_queue2} > > 13 root -16 - 0K 32K sleep 2 6:43 2.69% ng_queue{ng_queue0} > > 7371 root 21 0 15388K 5496K select 2 5:04 0.73% snmpd > > 12 root -92 - 0K 248K WAIT 0 1:52 0.63% intr{irq261: igb1:que} > > > getting information about interrupts shows that there is not > interrupts from igb1 > char igb_driver_version[] = "version - 2.2.5"; > > > 2 users Load 0.50 0.53 0.50 Dec 22 23:59 > > Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER > Tot Share Tot Share Free in out in out > Act 332272 13268 2062288 30088 122004 count > All 494672 19520 4333592 90716 pages > Proc: Interrupts > r p d s w Csw Trp Sys Int Sof Flt 117 cow 31201 total > 1 172 72k 889 4135 14k 4041 660 296 zfod ata0 14 > 10 ozfod 5 ata1 15 > 3.9%Sys 5.0%Intr 0.4%User 0.0%Nice 90.7%Idle 3%ozfod 2 ehci0 16 > | | | | | | | | | | | daefr 2 ehci1 23 > ==++> 378 prcfr 4126 cpu0:timer > 33 dtbuf 450 totfr 2920 igb0:que 0 > Namei Name-cache Dir-cache 110737 desvn react 2680 igb0:que 1 > Calls hits % hits % 37963 numvn pdwak 2187 igb0:que 2 > 4504 4492 100 27657 frevn pdpgs 2550 igb0:que 3 > intrn igb0:link > Disks ada0 da0 pass0 pass1 270288 wire 4355 igb1:que 0 > KB/t 30.96 0.00 0.00 0.00 316488 act 3 igb1:que 1 > tps 5 0 0 0 1264188 inact 1 igb1:que 2 > MB/s 0.16 0.00 0.00 0.00 95204 cache 2 igb1:que 3 > %busy 0 0 0 0 26800 free igb1:link > 114912 re0 266 > 4127 cpu1:timer > 4116 cpu3:timer > 4125 cpu2:timer > > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 00:59:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 351A81065670 for ; Fri, 23 Dec 2011 00:59:25 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id E95F58FC0C for ; Fri, 23 Dec 2011 00:59:24 +0000 (UTC) Received: from lb7f8hsrpno-svcs.dcs.int.inet (HELO pd5mr1no-ssvc.prod.shaw.ca) ([10.0.144.222]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 22 Dec 2011 17:59:24 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=LYokpQ7Tx09nWlVW4YTxBjlCnMToQ2qYynaU75uF2wA= c=1 sm=1 a=BLceEmwcHowA:10 a=5mcg790sAAAA:8 a=XQaOzDw0Aek2sGDk9PwA:9 a=CjuIK1q_8ugA:10 a=xth7MG4Us32I0C9kdsAA:7 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO ms013no.no.cg.dcs.int.inet) ([10.0.144.222]) by pd5mr1no-svcs.prod.shaw.ca with ESMTP; 22 Dec 2011 17:59:24 -0700 Received: from shaw.ca ([unknown] [10.0.145.159]) by l-daemon (Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)) with ESMTP id <0LWM007TYTF01830@l-daemon> for freebsd-questions@freebsd.org; Thu, 22 Dec 2011 17:59:24 -0700 (MST) Received: from [10.0.144.233] (Forwarded-For: [10.0.146.233]) by vms024.prod.shaw.ca (mshttpd); Thu, 22 Dec 2011 17:59:24 -0700 From: Dale Scott To: William Brown Message-id: Date: Thu, 22 Dec 2011 17:59:24 -0700 X-Mailer: Sun Java(tm) System Messenger Express 7.3-11.01 64bit (built Sep 1 2009) MIME-version: 1.0 Content-language: en X-Accept-Language: en Priority: normal In-reply-to: <9054C93B-B423-4C34-B95D-3C4119FC2C45@adelaide.edu.au> References: <4EF29AD7.5040807@herveybayaustralia.com.au> <4EF2FA12.5010606@infracaninophile.co.uk> <9054C93B-B423-4C34-B95D-3C4119FC2C45@adelaide.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd general questions Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 00:59:25 -0000 Absolutely go distributed vcs over centralized. Keeping code always under version control, even when local in your sandbox, is extremely powerful. And since a distributed vcs can be used as a centralized vcs, there's really no technical reason to use a centralized vcs. ----- Original Message ----- From: William Brown william.e.brown@adelaide.edu.au > I would advise staying away from mercurial (aka hg). It has a > lot of issues with corruption of repositories. Git does the same > and is a lot more mature and stable. Do you have any references re Mercurial repo corruption? I originally started using Mercurial a couple years ago because NetBeans had built-in support, but the command set is consistent and uniform, Bryan O'Sullivan's Definitive Guide is excellent, and TortoiseHg/HgWorkbench work flawlessly on Windows (I use the command line or the Natilus plugin when not on Windows). No argument that git has the mindshare, although arguably due more to github than git itself. Googling will show there are major projects using Mercurial as well. Dale ----- Transparency with Trust http://www.dalescott.net From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 01:03:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CB48106566B for ; Fri, 23 Dec 2011 01:03:38 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy6-pub.bluehost.com (oproxy6-pub.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 55FAB8FC08 for ; Fri, 23 Dec 2011 01:03:38 +0000 (UTC) Received: (qmail 10075 invoked by uid 0); 23 Dec 2011 01:03:17 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 23 Dec 2011 01:03:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=cXDmAsapAIEzP13IdAbxfPS2eBB/Ji13nCFk1BqZsNg=; b=MYDaIOZ2aQxTktyhBXy9sqaJab2ixbwX1J/CAQjTRURtXnP4w5NNuwLaJCqSB8sN5nFn3tiybdcC/j3zWZVKaXtuNyIvwdyMnv9WbL2Q6FOdN633w+8TsBgcb35jKJ4x; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1RdtXY-0002qt-O9 for freebsd-questions@freebsd.org; Thu, 22 Dec 2011 18:03:16 -0700 Date: Thu, 22 Dec 2011 18:03:17 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20111223010317.GA11856@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4EF29AD7.5040807@herveybayaustralia.com.au> <4EF2FA12.5010606@infracaninophile.co.uk> <9054C93B-B423-4C34-B95D-3C4119FC2C45@adelaide.edu.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9054C93B-B423-4C34-B95D-3C4119FC2C45@adelaide.edu.au> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 01:03:38 -0000 On Fri, Dec 23, 2011 at 09:23:22AM +1030, William Brown wrote: > On 22/12/2011, at 20:06, Matthew Seaman wrote: > > > > svn vs git vs mercurial > > > > svn has the model of a central repository that everything has to > > communicate with. This can be attractive in a commercial environment as > > it implies a degree of central control over all of the project source code. > > > > git is much more a peer-to-peer system. This fits with a disparate > > group of projects all proceeding pretty much independently. There's > > also a potential advantage if all your developers are not at the same > > location and will not necessarily have access to central office systems. > > > > mercurial unfortunately I'm not that familiar with, but it uses a > > distributed model like git. > > I would advise staying away from mercurial (aka hg). It has a lot of > issues with corruption of repositories. Git does the same and is a lot > more mature and stable. Uh . . . what? Please provide a source for that claim. > > > > Other criteria, like windows support, are not anything I have much > > experience of, but by all accounts svn and git are pretty well served. > > Again, git wins here. It has good support on windows, as well as with > graphical tools on windows. How does TortoiseGIT improve on TortoiseHG? I'm curious. > > You can use git like SVN if you push to the master after every commit > though. I also have found git's support for merging to be a lot better. > Additionally it stores branches and tags as metadata on commits rather > than svn's "dumb" tag / branch system where you just copy the full repo > to the side. For the vast majority of purposes, distributed VCSes like Fossil, Git, and Mercurial are quite superior to CVCSes such as Subversion. There are cases, however, where a truly centralized system is more appropriate. These are typically cases where division of labor is very starkly defined and a strong central control over everything needs to be maintained even when the people working out at the nodes of the system might be tempted to follow a different, ad-hoc process of their own. For those cases, something like Git (or Fossil or Mercurial) simply will not do. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 01:35:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF135106566B for ; Fri, 23 Dec 2011 01:35:32 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 61BAC8FC15 for ; Fri, 23 Dec 2011 01:35:32 +0000 (UTC) Received: by ggnp1 with SMTP id p1so9776917ggn.13 for ; Thu, 22 Dec 2011 17:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:disposition-notification-to :content-type:date:message-id:mime-version:x-mailer; bh=rq9X4TBl3mO4GsQ27NVopSXj3l2nFiCZHLShIBKoVcU=; b=x0WyPqonydyXB+K6lKztZyJDYARydaxQzfM4Hs74dEu0bNv7zX056QNUlEsx26P5R6 r8YHNvTrLmgupzGzwR1Klu2QXJ5llTZKocbo04CtlnFT3qRjUz4c1NO1d8+ZuOv0LH/s Hxk4TyyCZXZm0jEhqb4ul2kSjNK1psINoMDCU= Received: by 10.101.178.8 with SMTP id f8mr5542539anp.14.1324604131826; Thu, 22 Dec 2011 17:35:31 -0800 (PST) Received: from [192.168.6.230] ([201.21.151.230]) by mx.google.com with ESMTPS id f47sm17736166yhh.8.2011.12.22.17.35.29 (version=SSLv3 cipher=OTHER); Thu, 22 Dec 2011 17:35:30 -0800 (PST) From: Sergio de Almeida Lenzi To: freebsd-questions@freebsd.org In-Reply-To: References: <4EEF208F.1060100@herveybayaustralia.com.au> <4EEF3183.3060907@herveybayaustralia.com.au> <4EEFB89D.1030103@herveybayaustralia.com.au> <4EF017F9.6010408@herveybayaustralia.com.au> Date: Thu, 22 Dec 2011 23:35:27 -0200 Message-ID: <1324604128.46421.13.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Lenovo athlon laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 01:35:32 -0000 Hello, I bought a lenovo laptop (cpu amd dual core, graphics is radeon 6250 Everything woks, except the graphics that only works with driver vga at 1024x768. if I use the "ati" driver, it works in 1366x800 (that is the panel resolution, it works ok, but ONLY ONCE, that is, the gdm program opens the login menu, I log in, works all the applications: libreoffice, nautilus, firefox, audio, video.... but when I log off, then gdm resets the display and all I can see it is a black screen. if I reset the screen several times (about 16 times , by killing gdm) using an ssh session... the login screen appears OK... Seems that the ati driver is mapping the fb wrong... Thanks for any help, Sergio From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 01:36:29 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F542106564A for ; Fri, 23 Dec 2011 01:36:29 +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 3EB858FC08 for ; Fri, 23 Dec 2011 01:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=hCz7/iTh9b/hY2dCNB66BAUVO32zKAodJGTYRyPW+bA=; b=PJfVpXIMwAce2U/df2PsLp4WF9wIKtQ3l+8hgh0O6GdWb8Ksa78CP44bB2wYSLrMymKUsHbGsLpr1BV4klpyuL0At3uDZKj352tTWhWV7cqPerHIX60qXP6R+9sJ2HjbXaq/w8Ew6Foyed/m3x/ACmZvMa5+GYLFDXbRu2UQms4= Received: from [192.168.1.124] ([120.29.67.226]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 22 Dec 2011 17:36:28 -0800 Message-ID: <4EF3DB15.4010706@a1poweruser.com> Date: Fri, 23 Dec 2011 09:36:21 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Albert Shih References: <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr> <20111222142426.550b55da.freebsd@edvax.de> <20111222134915.GA48825@pcjas.obspm.fr> In-Reply-To: <20111222134915.GA48825@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 23 Dec 2011 01:36:29.0272 (UTC) FILETIME=[4AF08D80:01CCC113] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: questions@freebsd.org Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 01:36:29 -0000 Albert Shih wrote: > Le 22/12/2011 14:24:26+0100, Polytropon a crit >>> For subversion you need to force upgrade neon too. >> You should basically be able to run v7 programs in a >> partially installed v8 environment as long as the >> COMPAT_FREEBSD7 functionality is enabled and the >> compat7x-i386-7.3.703000.201008_1 port or package >> has been installed. However, kernel and world should >> match each other. >> >> After an upgrade from one major version to the next >> one, it's the best solution to update _all_ installed >> ports. The "man portmaster" manpage contains a nice >> example for this situation. It should be similarly >> easy to achieve with portupgrade. > > Yes I known. Thanks for the tips. > > My problem is with almost 15 jails on each server (I got 3) that's take > long time, event during this time I don't do many thing some service isn't > up. > > So my message is to find the minimal thing to do and make it's working > until all package is rebuild. > > Regards. > >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 > > I'm from 3.2 ;-) > > Regards. If you had used the qjail port to install your jails, upgrading between major versions is easy. Maybe this is the time to change the way you create your jails. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 04:38:49 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89E85106566B for ; Fri, 23 Dec 2011 04:38:49 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 40D078FC08 for ; Fri, 23 Dec 2011 04:38:49 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 2103A5C24 for ; Fri, 23 Dec 2011 14:33:53 +1000 (EST) Message-ID: <4EF4010B.5040704@herveybayaustralia.com.au> Date: Fri, 23 Dec 2011 14:18:19 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 04:38:49 -0000 This is doing my head in. I'm trying to get my head around hal, dbus, and PolicyKit, and I've made some inroads on the basics, but I cannot get a few things happening. One: I managed to get network:/// smb shares working in say nautilus (not that I've specifically mounted one- not a windows in sight here thank god!), but I was hoping for NFS shares to show up. I also got the usb disk to show up as a 'place' but when I access it I get permissions issues. This is what I'm hung up on. I checked out /media/hal-* and I see that the mount occurs only as root. How do I change that exactly? I need it showing for operator group. I've searched high and low and googled my brains out, but anything remotely related is for linux and udev. Two: a big thing I've noticed here on google, lists, whatever is a confusion related to the 'define_admin_auth' group. Some are saying it is a security risk to have an average user access this area, and others are just opening it up. I'm with the former, unless I can be convinced otherwise. Can anyone provide some clarity to this issue? What precisely is the capabilties of the 'admin_auth' group? Cheers From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 05:37:46 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECA021065670 for ; Fri, 23 Dec 2011 05:37:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id AAC798FC14 for ; Fri, 23 Dec 2011 05:37:46 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx01.qsc.de (Postfix) with ESMTP id E87FA3CCBE; Fri, 23 Dec 2011 06:37:44 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBN5biYm005932; Fri, 23 Dec 2011 06:37:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 23 Dec 2011 06:37:44 +0100 From: Polytropon To: Da Rock Message-Id: <20111223063744.1894ceda.freebsd@edvax.de> In-Reply-To: <4EF4010B.5040704@herveybayaustralia.com.au> References: <4EF4010B.5040704@herveybayaustralia.com.au> 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: questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 05:37:47 -0000 On Fri, 23 Dec 2011 14:18:19 +1000, Da Rock wrote: > I checked out /media/hal-* and I see that the mount occurs only as root. > How do I change that exactly? I need it showing for operator group. I've > searched high and low and googled my brains out, but anything remotely > related is for linux and udev. I think I remember I got it working some time ago (on a 7.1 system), relying on the Gnome HAL FAQ which stated something like this: File: /usr/local/etc/PolicyKit/PolicyKit.conf For "NNNNN", use your user name; I think you can also use more than one "match" section if you want to allow access for other users. However, I doubt all this HAL / DBUS / PolicyKit magic is really intended for multi-user purposes. :-) Note that HAL also has an option of "fixed mount points" to be set at compile time. I think I had set it... I'm also unsure if NFS mounts are "fixed" or "removable" in PK terminology. Regarding your second question, I can't provide any further information. I just assume it's a means to turn a safe multi-user system into an insecure single-user system, which is what users expect. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 06:14:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7169A106564A for ; Fri, 23 Dec 2011 06:14:13 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1FCA18FC13 for ; Fri, 23 Dec 2011 06:14:13 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8E8635C24 for ; Fri, 23 Dec 2011 16:26:37 +1000 (EST) Message-ID: <4EF41B78.2070907@herveybayaustralia.com.au> Date: Fri, 23 Dec 2011 16:11:04 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223063744.1894ceda.freebsd@edvax.de> In-Reply-To: <20111223063744.1894ceda.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 06:14:13 -0000 On 12/23/11 15:37, Polytropon wrote: > On Fri, 23 Dec 2011 14:18:19 +1000, Da Rock wrote: >> I checked out /media/hal-* and I see that the mount occurs only as root. >> How do I change that exactly? I need it showing for operator group. I've >> searched high and low and googled my brains out, but anything remotely >> related is for linux and udev. I had a feeling you'd be replying to this one :) > I think I remember I got it working some time ago > (on a 7.1 system), relying on the Gnome HAL FAQ > which stated something like this: > > File: /usr/local/etc/PolicyKit/PolicyKit.conf > > > > > > > > > > > > > > > > > > For "NNNNN", use your user name; I think you can also > use more than one "match" section if you want to allow > access for other users. However, I doubt all this > HAL / DBUS / PolicyKit magic is really intended for > multi-user purposes. :-) Followed that and done that, didn't work. Although it does say 'result="yes"' not "user". Sorry: that was the freebsd-gnome FAQ. Do you see any way of using "group" instead of "user"? Incidentally, the disk shows up (in case I wasn't being all too clear), as a user I can't access it. And in the hal-tab it shows -u=0 as I said. I hunted down that scenario and it sent me down a very foggy path using hal-fdi's - setting -uid and -u settings. I then checked out /usr/local/share/hal/fdi/policy/ and found in some files (particularly storage) the "key" options are set to "u=" or "uid=". So I'm still attempting to assimilate all that to produce something other than a brainfart, and possibly restore balance to the force in that way. Oh, and to preclude any suggestion to this effect, I have set vfs.usermount=1. > Note that HAL also has an option of "fixed mount points" > to be set at compile time. I think I had set it... No. At least I don't think I set it. > I'm also unsure if NFS mounts are "fixed" or "removable" > in PK terminology. Nothing is clear on any of this. Which nutcase designed this anyway? Any documentation is vague and unclear, and the software config itself is about as clear as the weather on venus- and just as toxic too ;) > Regarding your second question, I can't provide any > further information. I just assume it's a means to > turn a safe multi-user system into an insecure > single-user system, which is what users expect. :-) > Dear god! What is this world coming to? And yet they all clamour to use the computer at the same time... thats the scene I see in families all the time, let alone work operations. Thanks From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 10:06:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C543D106566B for ; Fri, 23 Dec 2011 10:06:00 +0000 (UTC) (envelope-from admin_freebsd@cyanide-studio.com) Received: from mail.cyanide-studio.com (mail.cyanide-studio.com [195.66.80.226]) by mx1.freebsd.org (Postfix) with ESMTP id 748828FC16 for ; Fri, 23 Dec 2011 10:06:00 +0000 (UTC) Received: from localhost (unknown [10.1.8.14]) by mail.cyanide-studio.com (Postfix) with ESMTP id 2CB7317BF4D4 for ; Fri, 23 Dec 2011 11:05:12 +0100 (CET) Received: from mail.cyanide-studio.com ([10.1.8.3]) by localhost (mailguard.cyanide-studio.com [10.1.8.14]) (amavisd-maia, port 10024) with ESMTP id 33124-05 for ; Fri, 23 Dec 2011 11:05:12 +0100 (CET) Received: from [10.1.8.96] (unknown [10.1.8.96]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bsemene@cyanide-studio.com) by mail.cyanide-studio.com (Postfix) with ESMTP id 02F4517BF4D1 for ; Fri, 23 Dec 2011 11:05:12 +0100 (CET) Message-ID: <4EF45287.4050805@cyanide-studio.com> Date: Fri, 23 Dec 2011 11:05:59 +0100 From: Bastien Semene Organization: Cyanide S.A. User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF36FA9.9020908@cyanide-studio.com> <4EF37536.8080708@pchotshots.com> In-Reply-To: <4EF37536.8080708@pchotshots.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: umask not applied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 10:06:00 -0000 Le 22/12/2011 19:21, Brad Mettee a crit : > On 12/22/2011 12:58 PM, Bastien Semene wrote: >> Hi list, >> >> I'm trying to apply a umask of "002" to user "user" (username changed >> for this example) while logged-in through ftpd. >> I used login class "class" (class name changed for this example) >> >> I edited /etc/login.conf and set at the bottom (there's no other >> entry for this user): >> class::umask=0002: >> then rebuilt the db : >> #cap_mkdb /etc/login.conf >> >> I assigned the user to this class: >> #pw usermod user -L class >> #pw usershow user >> user:*:1003:80:class:0:0:bla bla:/home/user:/bin/sh >> (group 80 is why I need this umask) >> >> The user still creates folders with 755 permissions through ftpd. >> >> So I switched to this user and watched the umask, it is still 0022. >> >> I tried setting the umask on the fly : >> $umask 0002 >> It works. >> >> There's no user-defined umask in ~/.login or ~/.login_conf >> >> I took care of typos and there is no error. >> #uname -r >> 8.2-RELEASE-p3 >> >> As what I read in the man pages I checked all the possibilities in >> the login mechanism, so if anyone has an idea it's welcome :) >> >> Thanks ! > > I'm not a pro FreeBSD user, but wouldn't the FTPD program be more > responsible for the user's login credentials since that's what they're > using that's causing the wrong permissions to be applied? > > From what I remember, FTPD verifies the users login, but doesn't > actually execute any login scripts associated with that user. > > I did not said it explicitly but when I did a "switch user" I actually meant a "su" command from the shell (I deactivated user's ssh login possibility). You made me find the point about my use of the su command, I forgot to make a full login using "su - user" instead of "su user" ... So, login class applies correctly. In the ftpd(8) manual the -u documentation specifies that login.conf is read : "The default file creation mode mask is set to umask, which is expected to be an octal numeric value. Refer to umask(2) for details. This option may be overridden by login.conf(5). " > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 11:30:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71866106566C for ; Fri, 23 Dec 2011 11:30:30 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id F14898FC1B for ; Fri, 23 Dec 2011 11:30:29 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 93EC95C26 for ; Fri, 23 Dec 2011 21:42:54 +1000 (EST) Message-ID: <4EF46598.6090202@herveybayaustralia.com.au> Date: Fri, 23 Dec 2011 21:27:20 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223063744.1894ceda.freebsd@edvax.de> <4EF41B78.2070907@herveybayaustralia.com.au> In-Reply-To: <4EF41B78.2070907@herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PolicyKit confusion - DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 11:30:30 -0000 On 12/23/11 16:11, Da Rock wrote: > On 12/23/11 15:37, Polytropon wrote: >> On Fri, 23 Dec 2011 14:18:19 +1000, Da Rock wrote: >>> I checked out /media/hal-* and I see that the mount occurs only as >>> root. >>> How do I change that exactly? I need it showing for operator group. >>> I've >>> searched high and low and googled my brains out, but anything remotely >>> related is for linux and udev. > I had a feeling you'd be replying to this one :) >> I think I remember I got it working some time ago >> (on a 7.1 system), relying on the Gnome HAL FAQ >> which stated something like this: >> >> File: /usr/local/etc/PolicyKit/PolicyKit.conf >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> For "NNNNN", use your user name; I think you can also >> use more than one "match" section if you want to allow >> access for other users. However, I doubt all this >> HAL / DBUS / PolicyKit magic is really intended for >> multi-user purposes. :-) > Followed that and done that, didn't work. Although it does say > 'result="yes"' not "user". Sorry: that was the freebsd-gnome FAQ. > > Do you see any way of using "group" instead of "user"? > > Incidentally, the disk shows up (in case I wasn't being all too > clear), as a user I can't access it. And in the hal-tab it shows -u=0 > as I said. I hunted down that scenario and it sent me down a very > foggy path using hal-fdi's - setting -uid and -u settings. > > I then checked out /usr/local/share/hal/fdi/policy/ and found in some > files (particularly storage) the "key" options are set to "u=" or "uid=". Ok, more data: I believe I'm getting closer. If I set Polkit.conf to match a user rather than a group I fail immediately with permission errors, same as before. However, if I use the group then I get: DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending dbus-launch gnome-mount --verbose... blah blah (as per instructions for debug output at freebsd-gnome hal faq) simply hangs, like this: dbus-launch gnome-mount --block --no-ui --verbose --hal-udi '/org/freedesktop/Hal/devices/volume_uuid_1061_EF39' gnome-mount 0.8 ** (gnome-mount:8314): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_1061_EF39 ** (gnome-mount:8314): DEBUG: read default option 'longnames' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:8314): DEBUG: read default option '-u=' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:8314): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_1061_EF39 with mount_point='', fstype='', num_options=2 ** (gnome-mount:8314): DEBUG: option='longnames' ** (gnome-mount:8314): DEBUG: option='-u=1001' Interestingly enough, if I try it with the user instead of group I get the last option there saying -u=0. And /media/.hal-mtab shows that too. In this case I get just .hal-mtab-lock file. Something interesting just happened- after 20mins or so nautilus barfs up a message about being unable to mount the drive: DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. > So I'm still attempting to assimilate all that to produce something > other than a brainfart, and possibly restore balance to the force in > that way. > > Oh, and to preclude any suggestion to this effect, I have set > vfs.usermount=1. >> Note that HAL also has an option of "fixed mount points" >> to be set at compile time. I think I had set it... > No. At least I don't think I set it. >> I'm also unsure if NFS mounts are "fixed" or "removable" >> in PK terminology. > Nothing is clear on any of this. Which nutcase designed this anyway? > Any documentation is vague and unclear, and the software config itself > is about as clear as the weather on venus- and just as toxic too ;) >> Regarding your second question, I can't provide any >> further information. I just assume it's a means to >> turn a safe multi-user system into an insecure >> single-user system, which is what users expect. :-) >> > Dear god! What is this world coming to? And yet they all clamour to > use the computer at the same time... thats the scene I see in families > all the time, let alone work operations. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 14:34:22 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69582106566C for ; Fri, 23 Dec 2011 14:34:22 +0000 (UTC) (envelope-from frank@frank.uvena.de) Received: from uvena.de (unknown [IPv6:2001:4d88:1ffc:463::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3290D8FC13 for ; Fri, 23 Dec 2011 14:34:22 +0000 (UTC) Received: from [141.35.39.175] (c319808.zuv.uni-jena.de [141.35.39.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by uvena.de (Postfix) with ESMTPSA id CD4942540CC for ; Fri, 23 Dec 2011 14:34:20 +0000 (UTC) Message-ID: <4EF4916B.5020101@frank.uvena.de> Date: Fri, 23 Dec 2011 15:34:19 +0100 From: Frank Lanitz User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: questions@freebsd.org X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Subject: 9.3RC3: halt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 14:34:22 -0000 Hi folks, Another question I wasn't able to answer proper to my self. I recognized that the system is not turning of by default after typing halt, but waiting in some kind of standby for reboot. Is this wished behavior or maybe related to some local config/hardware? Cheers, Frank From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 14:43:32 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27485106566B for ; Fri, 23 Dec 2011 14:43:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 95AC08FC12 for ; Fri, 23 Dec 2011 14:43:31 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBNEMqtB072839; Fri, 23 Dec 2011 15:22:52 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 65817BACE; Fri, 23 Dec 2011 15:22:52 +0100 (CET) Date: Fri, 23 Dec 2011 15:22:52 +0100 From: Roland Smith To: Da Rock Message-ID: <20111223142252.GC660@slackbox.erewhon.net> References: <4EF4010B.5040704@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4ZLFUWh1odzi/v6L" Content-Disposition: inline In-Reply-To: <4EF4010B.5040704@herveybayaustralia.com.au> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 14:43:32 -0000 --4ZLFUWh1odzi/v6L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 23, 2011 at 02:18:19PM +1000, Da Rock wrote: > This is doing my head in. :-) > I'm trying to get my head around hal, dbus,=20 > and PolicyKit, and I've made some inroads on the basics, but I cannot=20 > get a few things happening. >=20 > One: I managed to get network:/// smb shares working in say nautilus=20 > (not that I've specifically mounted one- not a windows in sight here=20 > thank god!), but I was hoping for NFS shares to show up. Why not just use mount_nfs from your login shell's rc file? > I also got the=20 > usb disk to show up as a 'place' but when I access it I get permissions= =20 > issues. This is what I'm hung up on. I'm not using policykit or hal, but I did make a separate group predictably called 'usb' to solve permission problems for USB devices. My user-id is a member of that group. I have to following set in /etc/devfs.rules: [my_devs=3D10] add path 'da*' mode 0660 group usb add path 'msdosfs/*' mode 0660 group usb add path 'usb/*' mode 0660 group usb add path 'ugen*' mode 0660 group usb add path 'tap*' mode 0660 group wheel add path 'pass*' mode 0660 group cdrom add path 'dri/card*' mode 0666 And in /etc/rc.conf I have activated this ruleset: devfs_system_ruleset=3D"my_devs" With this I can access the necessary devices. > I checked out /media/hal-* and I see that the mount occurs only as root.= =20 > How do I change that exactly? I need it showing for operator group.=20 Is hald running under its own user-id? Try the usb group thing and add the = hald user to that group. > I've=20 > searched high and low and googled my brains out, but anything remotely=20 > related is for linux and udev. I don't think enough people care to make it really work under FreeBSD. I've certainly never missed it. You might take a look at devd(8) as a FreeBSD alternative, but I'm not sure= if it notices new da devices popping up. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --4ZLFUWh1odzi/v6L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk70jrwACgkQEnfvsMMhpyV9QACdHLsf4Ed0VNd3W29k81apjLLO JN8AniN/N3s2RLGk0JUn7qjJ6k5mno1e =ZCLD -----END PGP SIGNATURE----- --4ZLFUWh1odzi/v6L-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 14:55:05 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D042106564A for ; Fri, 23 Dec 2011 14:55:05 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id E6B0E8FC13 for ; Fri, 23 Dec 2011 14:55:00 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl; Fri, 23 Dec 2011 15:44:44 +0100 From: "Bas Smeelen" To: "Frank Lanitz" , questions@freebsd.org In-Reply-To: <4EF4916B.5020101@frank.uvena.de> Message-ID: <20111223144444.1f3697a0@mail.ose.nl> Date: Fri, 23 Dec 2011 15:44:44 +0100 X-User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Subject: Re: 9.3RC3: halt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 14:55:05 -0000 Hi folks, Another question I wasn't able to answer proper to my self. I recognized that the system is not turning of by default after typing halt, but waiting in some kind of standby for reboot. Is this wished behavior or maybe related to some local config/hardware? Cheers, Frank Hi Frank, halt does not power off the system. halt -p does. See man halt Cheers Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 14:57:51 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FC491065670 for ; Fri, 23 Dec 2011 14:57:51 +0000 (UTC) (envelope-from frank@frank.uvena.de) Received: from uvena.de (unknown [IPv6:2001:4d88:1ffc:463::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4089D8FC15 for ; Fri, 23 Dec 2011 14:57:51 +0000 (UTC) Received: from [141.35.39.175] (c319808.zuv.uni-jena.de [141.35.39.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by uvena.de (Postfix) with ESMTPSA id 95C102540CC for ; Fri, 23 Dec 2011 14:57:50 +0000 (UTC) Message-ID: <4EF496EE.4050401@frank.uvena.de> Date: Fri, 23 Dec 2011 15:57:50 +0100 From: Frank Lanitz User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: questions@freebsd.org References: <20111223144444.1f3697a0@mail.ose.nl> In-Reply-To: <20111223144444.1f3697a0@mail.ose.nl> X-Enigmail-Version: 1.3.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: 9.3RC3: halt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 14:57:51 -0000 Am 23.12.2011 15:44, schrieb Bas Smeelen: > Hi folks, > > Another question I wasn't able to answer proper to my self. I recognized > that the system is not turning of by default after typing halt, but > waiting in some kind of standby for reboot. Is this wished behavior or > maybe related to some local config/hardware? > > Cheers, > Frank > > Hi Frank, > > halt does not power off the system. > halt -p does. Ahh - thx. Good to know. Thought: It worked on every other *x box I worked on but not here. Thinking of that I did use Linux in several flavors and now BSD and reading man page is a good idea nevertheless .... mea culpa. Cheers, Frank From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 15:14:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED96A1065670 for ; Fri, 23 Dec 2011 15:14:26 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 993C38FC1A for ; Fri, 23 Dec 2011 15:14:26 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pBNFGudF004642 for freebsd-questions@freebsd.org; Fri, 23 Dec 2011 09:16:56 -0600 (CST) Date: Fri, 23 Dec 2011 09:16:56 -0600 (CST) From: Robert Bonomi Message-Id: <201112231516.pBNFGudF004642@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <4EF4916B.5020101@frank.uvena.de> Subject: Re: 9.3RC3: halt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 15:14:27 -0000 > From owner-freebsd-questions@freebsd.org Fri Dec 23 08:37:24 2011 > Date: Fri, 23 Dec 2011 15:34:19 +0100 > From: Frank Lanitz > To: questions@freebsd.org > Cc: > Subject: 9.3RC3: halt > > Hi folks, > > Another question I wasn't able to answer proper to my self. READ THE MANPAGE. > I recognized > that the system is not turning of by default after typing halt, but > waiting in some kind of standby for reboot. Is this wished behavior or > maybe related to some local config/hardware? This is -standard- behaviour. Has been so for many releases. If you want the machine to turn the power off, you must use the proper option for that behavior. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 15:26:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DE1E106567D for ; Fri, 23 Dec 2011 15:26:59 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id EBE278FC15 for ; Fri, 23 Dec 2011 15:26:58 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Fri, 23 Dec 2011 16:26:57 +0100 From: "Bas Smeelen" To: freebsd-questions@freebsd.org In-Reply-To: <201112231516.pBNFGudF004642@mail.r-bonomi.com> Message-ID: <20111223152657.a7e137ad@mail.ose.nl> Date: Fri, 23 Dec 2011 16:26:57 +0100 X-User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: 9.3RC3: halt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 15:26:59 -0000 > Hi folks, > > Another question I wasn't able to answer proper to my self.=20 >>READ THE MANPAGE. I guess he just did :) >>This is -standard- behavior.=20 >>Has been so for many releases. =20 Indeed Have great holidays and/or if you care merry Christmas >>If you want the machine to turn the power off, you must use the proper= option >>for that behavior. halt -p Disclaimer=3A http=3A//www=2Eose=2Enl/email From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 15:30:33 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A95F6106566C for ; Fri, 23 Dec 2011 15:30:33 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 37AB08FC16 for ; Fri, 23 Dec 2011 15:30:32 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id EBEB95C24; Sat, 24 Dec 2011 01:42:57 +1000 (EST) Message-ID: <4EF49DDB.2060609@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 01:27:23 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: Roland Smith References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> In-Reply-To: <20111223142252.GC660@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 15:30:33 -0000 On 12/24/11 00:22, Roland Smith wrote: > On Fri, Dec 23, 2011 at 02:18:19PM +1000, Da Rock wrote: >> This is doing my head in. > :-) > >> I'm trying to get my head around hal, dbus, >> and PolicyKit, and I've made some inroads on the basics, but I cannot >> get a few things happening. >> >> One: I managed to get network:/// smb shares working in say nautilus >> (not that I've specifically mounted one- not a windows in sight here >> thank god!), but I was hoping for NFS shares to show up. > Why not just use mount_nfs from your login shell's rc file? I'm dealing with mobile devices (laptops, etc), ergo I need an automount solution. I've been using automounter happily for removable devices, but users are picky and I then can't use amd for nfs and automounter couldn't give a shit about network drives. One scenario is network goes down and I get a screenful of error messages- it annoys the shit out of me, let alone scaring illiterate users. I did come across one interesting observation in my search for the truth: its easier to mount a winblows share than an nfs one! On any *nix no less... >> I also got the >> usb disk to show up as a 'place' but when I access it I get permissions >> issues. This is what I'm hung up on. > I'm not using policykit or hal, but I did make a separate group predictably > called 'usb' to solve permission problems for USB devices. My user-id is a > member of that group. I have to following set in /etc/devfs.rules: > > [my_devs=10] > add path 'da*' mode 0660 group usb > add path 'msdosfs/*' mode 0660 group usb > add path 'usb/*' mode 0660 group usb > add path 'ugen*' mode 0660 group usb > add path 'tap*' mode 0660 group wheel > add path 'pass*' mode 0660 group cdrom > add path 'dri/card*' mode 0666 > > And in /etc/rc.conf I have activated this ruleset: > > devfs_system_ruleset="my_devs" > > With this I can access the necessary devices. Already done, but that doesn't help automounting. >> I checked out /media/hal-* and I see that the mount occurs only as root. >> How do I change that exactly? I need it showing for operator group. > Is hald running under its own user-id? Try the usb group thing and add the hald > user to that group. Interesting theory, but it doesn't hold water. More further... >> I've >> searched high and low and googled my brains out, but anything remotely >> related is for linux and udev. > I don't think enough people care to make it really work under FreeBSD. I've > certainly never missed it. They don't care too much under linux either.... So many years, yet not a single user doc anywhere on any of the f***ing monsters! Goddamn linux devs- ever heard of KISS?! How about a user doc for something so bloody confusing it takes a brain surgeon to figure it out? Ok. The final cut... I did finally get hal/polkit/dbus to cooperate in the end. But there were more suspects by the end: %.xsession #!/bin/sh exec xhost +localhost & ## test for an existing bus daemon, just to be safe if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval 'dbus-launch --sh-syntax --exit-with-session' echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi exec /usr/local/libexec/polkit-gnome-authentication-agent-1 & exec xscreensaver & exec ck-launch-session icewm-session So... one needs to start a local dbus session, a polkit-auth session, and a ck-launch-session... And in PolicyKit.conf (I'm not entirely happy with the security here), scratch user or group matches and just add the action with result=yes. Now that will work in a single user situation. There is yet another culprit here: gconf. GConf was the shooter on the grassy knoll causing issues with the mount options and permissions. And the crazy part in all this is there is hardly a scratch of info out there on such complex software that are supposedly interacting together in some way that is not exactly documented and yet is in control of the whole bloody system! We should just all revert to winblows at this rate- there's more docs there than for this stuff! An absolute embarrassment to the FOSS community... Ahh, one more thing of note here: polkit-gnome-authorization would not work under any circumstances (run as root or otherwise) to change policies! WTF! > You might take a look at devd(8) as a FreeBSD alternative, but I'm not sure if > it notices new da devices popping up. > Oh, believe me I'd happily jump on it rather than deal with this mess. But I can't find anything that will interact happily with the apps, mount network shares of all kinds, and be exceedingly user friendly (take note lin-devs: user-friendly != sys_admin-hell at least it _doesn't have to_). How forgiving is devd to a user pulling the plug to early? I did look into it a bit, but it appeared nearly as difficult as deciphering the above scenario- that said, having come through the other side of that I'm not so sure my judgment was very accurate :) So now I might check that fork out and see... God! What a mess... this belongs in the X-files: the truth _is_ out there. But you might lose your head and many years of life just finding the fragments! HTH someone now when the whole lot will change yet again and this will probably be pointless... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 16:10:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3A5C106566C for ; Fri, 23 Dec 2011 16:10:06 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8C48FC25 for ; Fri, 23 Dec 2011 16:10:06 +0000 (UTC) Received: by werb13 with SMTP id b13so7694698wer.13 for ; Fri, 23 Dec 2011 08:10:05 -0800 (PST) Received: by 10.216.138.1 with SMTP id z1mr13706287wei.55.1324656605630; Fri, 23 Dec 2011 08:10:05 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id ez4sm1668703wbb.5.2011.12.23.08.10.04 (version=SSLv3 cipher=OTHER); Fri, 23 Dec 2011 08:10:05 -0800 (PST) Message-ID: <4EF4A7DB.4040102@my.gd> Date: Fri, 23 Dec 2011 17:10:03 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4916B.5020101@frank.uvena.de> In-Reply-To: <4EF4916B.5020101@frank.uvena.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: 9.3RC3: halt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 16:10:07 -0000 On 12/23/11 3:34 PM, Frank Lanitz wrote: > Hi folks, > > Another question I wasn't able to answer proper to my self. I recognized > that the system is not turning of by default after typing halt, but > waiting in some kind of standby for reboot. Is this wished behavior or > maybe related to some local config/hardware? > Use halt -p or shutdown -p From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 16:25:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A11B31065673; Fri, 23 Dec 2011 16:25:05 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 055D78FC24; Fri, 23 Dec 2011 16:25:04 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so6498964wib.13 for ; Fri, 23 Dec 2011 08:25:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=hHRV/qmO82ZKxlVEGRq4wHbbYLYu9T4Fi3N4uo6C7+A=; b=KQh4vwXv2ANc72ZJTp7emV7XjmKgoi55SPG+fUq+sQLN7uI5pZTgYRjwgRwoA+f7Up 6yGm/SdX2aYD+pTN9wFFqociZNMbIEqBKs44Gxt4rRMLht8ibVkwgqyQY/kA4EK7r8zW ohqEFLLKOIZ/xMRs8uwAyWx3laVBxA0ptJQIg= Received: by 10.180.81.72 with SMTP id y8mr33826855wix.14.1324657503935; Fri, 23 Dec 2011 08:25:03 -0800 (PST) Received: from dragon.dg (41-135-148-93.dsl.mweb.co.za. [41.135.148.93]) by mx.google.com with ESMTPS id fy13sm14204945wbb.18.2011.12.23.08.25.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 23 Dec 2011 08:25:03 -0800 (PST) From: David Naylor To: freebsd-emulation@freebsd.org, freebsd-questions@freebsd.org Date: Fri, 23 Dec 2011 18:26:00 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RC2; KDE/4.7.1; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1511141.OKyzJghkur"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201112231826.04121.naylor.b.david@gmail.com> Cc: Subject: Wine-fbsd64 updated to 1.3.35 (32bit Wine for 64bit FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 16:25:05 -0000 --nextPart1511141.OKyzJghkur Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Packages [1] for wine-fbsd64-1.3.35 have been uploaded to mediafire [2]. =20 There are many reports that wine does not work with a clang compiled world= =20 (help in fixing this problem is appreciated as it affects quite a few users= ). =20 The patch [3] for nVidia users is now included in the package and is run on= =20 installation (if the relevant files are accessable). Please read the=20 installation messages for further information. =20 Regards, David [1]=20 MD5 (freebsd8/wine-fbsd64-1.3.35,1.tbz) =3D 4e8daf48015fa8036ffb917fd7ff2= c07 MD5 (freebsd9/wine-fbsd64-1.3.35,1.txz) =3D 996447cf4267e3070ab0cd8208647= b14 [2] http://www.mediafire.com/wine_fbsd64 [3] The patch is located at /usr/local/share/wine/patch-nvidia.sh --nextPart1511141.OKyzJghkur Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEABECAAYFAk70q5wACgkQUaaFgP9pFrJk5QCfcuU+AlSW48Eu2qAUZM5Haxld Ul4AnR+ZHQBuAKotavHF0cIQuwzLUnaB =FEIK -----END PGP SIGNATURE----- --nextPart1511141.OKyzJghkur-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 16:45:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A7ED1065702 for ; Fri, 23 Dec 2011 16:45:45 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id C8D1E8FC1F for ; Fri, 23 Dec 2011 16:45:44 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Fri, 23 Dec 2011 17:45:42 +0100 From: "Bas Smeelen" To: freebsd-questions@freebsd.org Message-ID: <20111223164542.b74a8519@mail.ose.nl> Date: Fri, 23 Dec 2011 17:45:42 +0100 X-User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Fw: Merry Christmas from the FreeBSD Security Team X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 16:45:45 -0000 =5F=5F=5F=5F=5F =20 From: FreeBSD Security Officer [mailto:cperciva@freebsd.org] To: freebsd-security@freebsd.org Sent: Fri, 23 Dec 2011 16:41:20 +0100 Subject: Merry Christmas from the FreeBSD Security Team -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, No, the Grinch didn't steal the FreeBSD security officer GPG key, and yo= ur eyes aren't deceiving you: We really did just send out 5 security advisories. The timing, to put it bluntly, sucks. We normally aim to release adviso= ries on Wednesdays in order to maximize the number of system administrators who = will be at work already; and we try very hard to avoid issuing advisories any ti= me close to holidays for the same reason. The start of the Christmas weekend -- = in some parts of the world it's already Saturday -- is absolutely not when we wa= nt to be releasing security advisories. Unfortunately my hand was forced: One of the issues (FreeBSD-SA-11:08.te= lnetd) is a remote root vulnerability which is being actively exploited in the = wild; bugs really don't come any worse than this. On the positive side, most = people have moved past telnet and on to SSH by now; but this is still not an is= sue we could postpone until a more convenient time. While I'm writing, a note to freebsd-update users: FreeBSD-SA-11:07.chro= ot has a rather messy fix involving adding a new interface to libc; this has the = awkward side effect of causing the sizes of some "symbols" (aka. functions) in l= ibc to change, resulting in cascading changes into many binaries. The long lis= t of updated files is irritating, but isn't a sign that anything in freebsd-u= pdate went wrong. - --=20 Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly p= aranoid -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk70oR8ACgkQFdaIBMps37IHEwCeNT8dws04qyJ8yuOz7g2xd9Xs IsoAn0QfaSE6i90zFBuk1k0isvrDMYO3 =3Dp94J -----END PGP SIGNATURE----- merry Christmas Disclaimer=3A http=3A//www=2Eose=2Enl/email From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 17:05:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E171106566C for ; Fri, 23 Dec 2011 17:05:23 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id A69EE8FC18 for ; Fri, 23 Dec 2011 17:05:22 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl; Fri, 23 Dec 2011 18:05:19 +0100 From: "Bas Smeelen" To: "Damien Fleuriot" In-Reply-To: <4EF4B100.6050005@my.gd> Message-ID: <20111223170519.5c1ad6dd@mail.ose.nl> Date: Fri, 23 Dec 2011 18:05:19 +0100 X-User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 9.3RC3: halt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 17:05:23 -0000 =5F=5F=5F=5F=5F =20 From: Damien Fleuriot [mailto:ml@my.gd] To: Bas Smeelen [mailto:b.smeelen@ose.nl] Sent: Fri, 23 Dec 2011 17:49:04 +0100 Subject: Re: 9.3RC3: halt =20 =20 I do like your company's email disclaimer. =20 At least it doesn't pretend to "PROHIBIT" recipients from doing anythi= ng when it has no legal leg to stand on, it merely asks nicely. =20 Makes for a nice change. =20 =20 happy xmasThanks Damien My employer still does not approve and does not understand my explanatio= n that a disclaimer is just plain bullshit. I still put this in to keep = him quiet :) Happy Christmas to you too and have great holidays Bas p.s. I cc'd questions because I like your comment and more people could = do it this way, thanks very much =20 Disclaimer=3A http=3A//www=2Eose=2Enl/email From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 17:32:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC8441065679 for ; Fri, 23 Dec 2011 17:32:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 989F98FC16 for ; Fri, 23 Dec 2011 17:32:12 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBNHVduv039885; Fri, 23 Dec 2011 18:31:39 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 65372BACE; Fri, 23 Dec 2011 18:31:39 +0100 (CET) Date: Fri, 23 Dec 2011 18:31:39 +0100 From: Roland Smith To: Da Rock Message-ID: <20111223173139.GA7648@slackbox.erewhon.net> References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <4EF49DDB.2060609@herveybayaustralia.com.au> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 17:32:13 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 24, 2011 at 01:27:23AM +1000, Da Rock wrote: > couldn't give a shit about network drives. One scenario is network goes= =20 > down and I get a screenful of error messages- it annoys the shit out of= =20 > me, let alone scaring illiterate users. If the network goes down, network drives won't work. Your users will be sad/scared/frustrated with or without error messages, I'm guessing. > > I don't think enough people care to make it really work under FreeBSD. = I've > > certainly never missed it. > They don't care too much under linux either.... So many years, yet not a= =20 > single user doc anywhere on any of the f***ing monsters! Goddamn linux=20 > devs- ever heard of KISS?! How about a user doc for something so bloody= =20 > confusing it takes a brain surgeon to figure it out? That's exactly why I've avoided using this stuff. :-) > Ahh, one more thing of note here: polkit-gnome-authorization would not=20 > work under any circumstances (run as root or otherwise) to change=20 > policies! WTF! > > You might take a look at devd(8) as a FreeBSD alternative, but I'm not = sure if > > it notices new da devices popping up. > > > Oh, believe me I'd happily jump on it rather than deal with this mess.=20 > But I can't find anything that will interact happily with the apps,=20 > mount network shares of all kinds, and be exceedingly user friendly=20 > (take note lin-devs: user-friendly !=3D sys_admin-hell at least it=20 > _doesn't have to_). Another way to go about it is to install e.g. ubuntu on a virtual machine a= nd peek under the hood how it works there. But as you say it's probably tied i= nto udev pretty tightly.=20 > How forgiving is devd to a user pulling the plug to early? I did look=20 > into it a bit, but it appeared nearly as difficult as deciphering the=20 > above scenario- that said, having come through the other side of that=20 > I'm not so sure my judgment was very accurate :) So now I might check=20 > that fork out and see... Devd just gets some notifications and acts on them. There is a problem with mounted usb devices, but that is one of architecture, I guess. Devd only ge= ts notified _after_ a device has been pulled. There is no way you can prevent data loss in all cases like that. On windows you're supposed to "prepare to eject" a USB device before pulling it out as well. The only "cure" is to mo= unt a device syncronously, and disable _all_ write caching for those devices. If you try that you'll find that doing so has significant performance impact a= nd not in a good way (disks are sloooow).=20 =20 > God! What a mess... this belongs in the X-files: the truth _is_ out=20 > there. But you might lose your head and many years of life just finding= =20 > the fragments! FreeBSD is on my personal desktop and laptop, but that seems to be the exception rather than the rule. Maybe you should write your experiences up = and submit it to the freebsd-doc mailing list for inclusion in the official doc= s? And talking about mailing lists, maybe you should try your luck on the freebsd-gnome list? [http://lists.freebsd.org/mailman/listinfo/freebsd-gnome]=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --0F1p//8PRICkK4MW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk70uvsACgkQEnfvsMMhpyXZ9ACglwzAf8nLNykdfj4Wu6oPJHGk XjoAn1O5GWRvM+ONlKMRyAY91E01efNV =PeCp -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 17:56:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F3EB106566B for ; Fri, 23 Dec 2011 17:56:59 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id A861B8FC16 for ; Fri, 23 Dec 2011 17:56:58 +0000 (UTC) Received: by eekc50 with SMTP id c50so11218963eek.13 for ; Fri, 23 Dec 2011 09:56:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=JrbdQMHybI0uSt7dStvI8UcOJZ1zojnTDmBX1URoZlA=; b=AZW1jxnyasbqIw/ITK90wMtRiNom+GOM0Z/rJHuxsztlAm+czS6rdCGDqsTDOiZJEO NcNoCRmb7TGuw5rbnm4DKR/TVQlDZ98LjVdEW3juJPog0YaDByORm9zPex9Ees7CTKzl IK5pFLk+Rap1huQl9qIETijInKG8+ZGw84rcI= Received: by 10.14.11.142 with SMTP id 14mr6496492eex.9.1324663017628; Fri, 23 Dec 2011 09:56:57 -0800 (PST) Received: from [192.168.50.104] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPS id z54sm51165893eeh.5.2011.12.23.09.56.56 (version=SSLv3 cipher=OTHER); Fri, 23 Dec 2011 09:56:57 -0800 (PST) Message-ID: <4EF4C0E4.7080902@gmail.com> Date: Fri, 23 Dec 2011 18:56:52 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gpart, modified label does not show up in /dev/gpt. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 17:56:59 -0000 Hello all. I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. I used the standard GPT disk layout at install. Now i want to set labels for my disk, so that i can swap around disks a little more easy. So reading through the man page it told me to use gpart modify -i -l The layout is as follows: test# gpart status Name Status Components da0p1 OK da0 da0p2 OK da0 da0p3 OK da0 test# gpart list | grep label label: (null) label: (null) label: (null) Now i modified the gpart labels. test# gpart modify -i1 -l bootpart da0 da0p1 modified test# gpart modify -i2 -l rootpart da0 da0p2 modified test# gpart modify -i3 -l swap da0 da0p3 modified Ok all looks fine. Now lets see if i can use my labels test# cd /dev/gpt /dev/gpt: No such file or directory. Well it does not create my labels I did check if the labels where there test# gpart list | grep label label: bootpart label: rootpart label: swap So i rebooted the machine! But after a reboot, still no /dev/gpt. So why is it not creating my labels! Am i missing a step? Thanks for your time. And before i forget, merry christmas to all, and a wonderful 2012. regards, Johan Hendriks From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 19:07:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D415106564A for ; Fri, 23 Dec 2011 19:07:23 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 30C1B8FC1F for ; Fri, 23 Dec 2011 19:07:22 +0000 (UTC) Received: by eekc50 with SMTP id c50so11265272eek.13 for ; Fri, 23 Dec 2011 11:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=RpywFoiiw9ZtDdNHXf4TTdRy4m1XQYANdvosl94ohmg=; b=nOObnaWGgT8RzFaLr+fRyqC2Is2sujee7EgpIX+p2EIdULfGbzaQA4DRCkBMSUf+eu dcDnX9eM7VrD0JAAc9lXuQWTnOGMzZNr6/xrZOxIalLCXLPzw96QTm5+CT7z4X5C0ppJ NqpE/H/bP4AbuCJssi/jn2wJpHcs081JBJ6EU= Received: by 10.14.39.140 with SMTP id d12mr6221546eeb.54.1324667242178; Fri, 23 Dec 2011 11:07:22 -0800 (PST) Received: from [192.168.50.104] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPS id t1sm51982861eeb.3.2011.12.23.11.07.21 (version=SSLv3 cipher=OTHER); Fri, 23 Dec 2011 11:07:21 -0800 (PST) Message-ID: <4EF4D164.1050005@gmail.com> Date: Fri, 23 Dec 2011 20:07:16 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: Peter , FreeBSD References: <4EF4C0E4.7080902@gmail.com> <23e2a89872f6805695ac526665c4d60f.squirrel@pop.pknet.net> In-Reply-To: <23e2a89872f6805695ac526665c4d60f.squirrel@pop.pknet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: gpart, modified label does not show up in /dev/gpt. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 19:07:23 -0000 Peter schreef: >> Hello all. >> >> I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. >> >> I used the standard GPT disk layout at install. >> >> Now i want to set labels for my disk, so that i can swap around disks a >> little more easy. >> So reading through the man page it told me to use gpart modify -i -l >> >> The layout is as follows: >> test# gpart status >> Name Status Components >> da0p1 OK da0 >> da0p2 OK da0 >> da0p3 OK da0 >> >> test# gpart list | grep label >> label: (null) >> label: (null) >> label: (null) >> >> Now i modified the gpart labels. >> >> test# gpart modify -i1 -l bootpart da0 >> da0p1 modified >> test# gpart modify -i2 -l rootpart da0 >> da0p2 modified >> test# gpart modify -i3 -l swap da0 >> da0p3 modified >> >> Ok all looks fine. >> Now lets see if i can use my labels >> >> test# cd /dev/gpt >> /dev/gpt: No such file or directory. >> >> Well it does not create my labels >> I did check if the labels where there >> >> test# gpart list | grep label >> label: bootpart >> label: rootpart >> label: swap >> >> So i rebooted the machine! >> But after a reboot, still no /dev/gpt. >> >> So why is it not creating my labels! >> Am i missing a step? >> >> Thanks for your time. >> >> And before i forget, merry christmas to all, and a wonderful 2012. >> >> regards, >> Johan Hendriks >> > I was going to say if you mount /dev/da0p? its /dev/gpt/label disappears, > and since all the partition are mounted already [/dev/gpt/ is empty], then > /dev/gpt is maybe also removed.......but /dev/gpt/bootpart is not mounted > and should still show up. > > > When you ran the 'gpart' commands, did you set the sysctl geom debug > variable? [sysctl kern.geom.debugflags=17] > After the reboot, are the labels still there? [gpart list | grep label] > > ]Peter[ > I placed some other disk in (for the zfs pool) Now i have /dev/gpt/bootpart, but not the labels for swap and / I did not use the sysctl value. And yes the labels are stil in place. test# cd /dev/gpt test# ls -al total 1 dr-xr-xr-x 2 root wheel 512 Dec 23 20:02 . dr-xr-xr-x 10 root wheel 512 Dec 23 21:02 .. crw-r----- 1 root operator 0, 123 Dec 23 20:02 bootpart test# gpart list | grep label label: bootpart label: rootpart label: swap test# I will try the debugflag option. But it should not be nessacary i guess. thanks regards Johan From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 19:09:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A09D8106564A for ; Fri, 23 Dec 2011 19:09:27 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA4F8FC13 for ; Fri, 23 Dec 2011 19:09:27 +0000 (UTC) Received: (qmail 37481 invoked by uid 89); 23 Dec 2011 18:42:45 -0000 Received: from localhost (HELO pop.pknet.net) (127.0.0.1) by poshta.pknet.net with ESMTP; 23 Dec 2011 18:42:45 -0000 Received: from 74.63.162.21 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Fri, 23 Dec 2011 11:42:45 -0700 Message-ID: <23e2a89872f6805695ac526665c4d60f.squirrel@pop.pknet.net> In-Reply-To: <4EF4C0E4.7080902@gmail.com> References: <4EF4C0E4.7080902@gmail.com> Date: Fri, 23 Dec 2011 11:42:45 -0700 From: "Peter" To: "Johan Hendriks" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: FreeBSD Subject: Re: gpart, modified label does not show up in /dev/gpt. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 19:09:27 -0000 > Hello all. > > I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. > > I used the standard GPT disk layout at install. > > Now i want to set labels for my disk, so that i can swap around disks a > little more easy. > So reading through the man page it told me to use gpart modify -i -l > > The layout is as follows: > test# gpart status > Name Status Components > da0p1 OK da0 > da0p2 OK da0 > da0p3 OK da0 > > test# gpart list | grep label > label: (null) > label: (null) > label: (null) > > Now i modified the gpart labels. > > test# gpart modify -i1 -l bootpart da0 > da0p1 modified > test# gpart modify -i2 -l rootpart da0 > da0p2 modified > test# gpart modify -i3 -l swap da0 > da0p3 modified > > Ok all looks fine. > Now lets see if i can use my labels > > test# cd /dev/gpt > /dev/gpt: No such file or directory. > > Well it does not create my labels > I did check if the labels where there > > test# gpart list | grep label > label: bootpart > label: rootpart > label: swap > > So i rebooted the machine! > But after a reboot, still no /dev/gpt. > > So why is it not creating my labels! > Am i missing a step? > > Thanks for your time. > > And before i forget, merry christmas to all, and a wonderful 2012. > > regards, > Johan Hendriks > I was going to say if you mount /dev/da0p? its /dev/gpt/label disappears, and since all the partition are mounted already [/dev/gpt/ is empty], then /dev/gpt is maybe also removed.......but /dev/gpt/bootpart is not mounted and should still show up. When you ran the 'gpart' commands, did you set the sysctl geom debug variable? [sysctl kern.geom.debugflags=17] After the reboot, are the labels still there? [gpart list | grep label] ]Peter[ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 19:33:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F03731065676 for ; Fri, 23 Dec 2011 19:33:14 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 9B59A8FC0C for ; Fri, 23 Dec 2011 19:33:14 +0000 (UTC) Received: (qmail 43382 invoked by uid 89); 23 Dec 2011 19:33:13 -0000 Received: from localhost (HELO pop.pknet.net) (127.0.0.1) by poshta.pknet.net with ESMTP; 23 Dec 2011 19:33:13 -0000 Received: from 74.63.162.21 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Fri, 23 Dec 2011 12:33:13 -0700 Message-ID: <5ec54f1ba62092b324c06ff2c509d04b.squirrel@pop.pknet.net> In-Reply-To: <4EF4D164.1050005@gmail.com> References: <4EF4C0E4.7080902@gmail.com> <23e2a89872f6805695ac526665c4d60f.squirrel@pop.pknet.net> <4EF4D164.1050005@gmail.com> Date: Fri, 23 Dec 2011 12:33:13 -0700 From: "Peter" To: "Johan Hendriks" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: FreeBSD Subject: Re: gpart, modified label does not show up in /dev/gpt. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 19:33:15 -0000 > Peter schreef: >>> Hello all. >>> >>> I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. >>> >>> I used the standard GPT disk layout at install. >>> >>> Now i want to set labels for my disk, so that i can swap around disks a >>> little more easy. >>> So reading through the man page it told me to use gpart modify -i -l >>> >>> The layout is as follows: >>> test# gpart status >>> Name Status Components >>> da0p1 OK da0 >>> da0p2 OK da0 >>> da0p3 OK da0 >>> >>> test# gpart list | grep label >>> label: (null) >>> label: (null) >>> label: (null) >>> >>> Now i modified the gpart labels. >>> >>> test# gpart modify -i1 -l bootpart da0 >>> da0p1 modified >>> test# gpart modify -i2 -l rootpart da0 >>> da0p2 modified >>> test# gpart modify -i3 -l swap da0 >>> da0p3 modified >>> >>> Ok all looks fine. >>> Now lets see if i can use my labels >>> >>> test# cd /dev/gpt >>> /dev/gpt: No such file or directory. >>> >>> Well it does not create my labels >>> I did check if the labels where there >>> >>> test# gpart list | grep label >>> label: bootpart >>> label: rootpart >>> label: swap >>> >>> So i rebooted the machine! >>> But after a reboot, still no /dev/gpt. >>> >>> So why is it not creating my labels! >>> Am i missing a step? >>> >>> Thanks for your time. >>> >>> And before i forget, merry christmas to all, and a wonderful 2012. >>> >>> regards, >>> Johan Hendriks >>> >> I was going to say if you mount /dev/da0p? its /dev/gpt/label >> disappears, >> and since all the partition are mounted already [/dev/gpt/ is empty], >> then >> /dev/gpt is maybe also removed.......but /dev/gpt/bootpart is not >> mounted >> and should still show up. >> >> >> When you ran the 'gpart' commands, did you set the sysctl geom debug >> variable? [sysctl kern.geom.debugflags=17] >> After the reboot, are the labels still there? [gpart list | grep label] >> >> ]Peter[ >> > I placed some other disk in (for the zfs pool) > Now i have /dev/gpt/bootpart, but not the labels for swap and / > I did not use the sysctl value. > > And yes the labels are stil in place. > > test# cd /dev/gpt > test# ls -al > total 1 > dr-xr-xr-x 2 root wheel 512 Dec 23 20:02 . > dr-xr-xr-x 10 root wheel 512 Dec 23 21:02 .. > crw-r----- 1 root operator 0, 123 Dec 23 20:02 bootpart > test# gpart list | grep label > label: bootpart > label: rootpart > label: swap > test# > > I will try the debugflag option. > But it should not be nessacary i guess. > > thanks > regards > Johan > If you have already mounted a /dev/da0p?, its label is removed from /dev/gpt - 'bootpart' is never mounted, that is why it's label remains. you just have to change /etc/fstab to the /dev/gpt/labels and then they will remain and get mounted - Or boot from a DVD, don't mount anything and you'll see the labels. ie: If you mount '/dev/da0p2'as '/' then '/dev/gpt/rootpart' will no longer be available, same goes for swap and everything else. If you mount 'dev/gpt/rootpart' as '/', the you'll have both '/dev/da0p2' and '/dev/gpt/bootpart' ]Peter[ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 19:44:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 379851065673 for ; Fri, 23 Dec 2011 19:44:20 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id BD1B28FC0C for ; Fri, 23 Dec 2011 19:44:19 +0000 (UTC) Received: by eekc50 with SMTP id c50so11287440eek.13 for ; Fri, 23 Dec 2011 11:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=BQEhHCfpw5XdvoQsKg1Fcn7NiIeVnDZJjmQgVxGIxJk=; b=L51UZchtyQBbfnRmliCdQ0zCPwCwND8xzPS80RAAs0JCzCDCzrkt7HsO6yrW+N8aHB RlIFtDtuPIdQvI1oxg+SFE295NeO6gWdBtYOSYAOCgp6TvZXQ4wTM9oD5F6rGbEDZMHz 5zBJwXHZjSDHAhaQhohgy2YBsJFRGvVoyfkJc= Received: by 10.213.25.218 with SMTP id a26mr6193094ebc.118.1324669458645; Fri, 23 Dec 2011 11:44:18 -0800 (PST) Received: from [192.168.50.104] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPS id u53sm4505906eeu.6.2011.12.23.11.44.17 (version=SSLv3 cipher=OTHER); Fri, 23 Dec 2011 11:44:18 -0800 (PST) Message-ID: <4EF4DA0D.50706@gmail.com> Date: Fri, 23 Dec 2011 20:44:13 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111220 Thunderbird/9.0 MIME-Version: 1.0 To: Peter , FreeBSD References: <4EF4C0E4.7080902@gmail.com> <23e2a89872f6805695ac526665c4d60f.squirrel@pop.pknet.net> <4EF4D164.1050005@gmail.com> <5ec54f1ba62092b324c06ff2c509d04b.squirrel@pop.pknet.net> In-Reply-To: <5ec54f1ba62092b324c06ff2c509d04b.squirrel@pop.pknet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: gpart, modified label does not show up in /dev/gpt. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 19:44:20 -0000 Peter schreef: >> Peter schreef: >>>> Hello all. >>>> >>>> I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. >>>> >>>> I used the standard GPT disk layout at install. >>>> >>>> Now i want to set labels for my disk, so that i can swap around disks a >>>> little more easy. >>>> So reading through the man page it told me to use gpart modify -i -l >>>> >>>> The layout is as follows: >>>> test# gpart status >>>> Name Status Components >>>> da0p1 OK da0 >>>> da0p2 OK da0 >>>> da0p3 OK da0 >>>> >>>> test# gpart list | grep label >>>> label: (null) >>>> label: (null) >>>> label: (null) >>>> >>>> Now i modified the gpart labels. >>>> >>>> test# gpart modify -i1 -l bootpart da0 >>>> da0p1 modified >>>> test# gpart modify -i2 -l rootpart da0 >>>> da0p2 modified >>>> test# gpart modify -i3 -l swap da0 >>>> da0p3 modified >>>> >>>> Ok all looks fine. >>>> Now lets see if i can use my labels >>>> >>>> test# cd /dev/gpt >>>> /dev/gpt: No such file or directory. >>>> >>>> Well it does not create my labels >>>> I did check if the labels where there >>>> >>>> test# gpart list | grep label >>>> label: bootpart >>>> label: rootpart >>>> label: swap >>>> >>>> So i rebooted the machine! >>>> But after a reboot, still no /dev/gpt. >>>> >>>> So why is it not creating my labels! >>>> Am i missing a step? >>>> >>>> Thanks for your time. >>>> >>>> And before i forget, merry christmas to all, and a wonderful 2012. >>>> >>>> regards, >>>> Johan Hendriks >>>> >>> I was going to say if you mount /dev/da0p? its /dev/gpt/label >>> disappears, >>> and since all the partition are mounted already [/dev/gpt/ is empty], >>> then >>> /dev/gpt is maybe also removed.......but /dev/gpt/bootpart is not >>> mounted >>> and should still show up. >>> >>> >>> When you ran the 'gpart' commands, did you set the sysctl geom debug >>> variable? [sysctl kern.geom.debugflags=17] >>> After the reboot, are the labels still there? [gpart list | grep label] >>> >>> ]Peter[ >>> >> I placed some other disk in (for the zfs pool) >> Now i have /dev/gpt/bootpart, but not the labels for swap and / >> I did not use the sysctl value. >> >> And yes the labels are stil in place. >> >> test# cd /dev/gpt >> test# ls -al >> total 1 >> dr-xr-xr-x 2 root wheel 512 Dec 23 20:02 . >> dr-xr-xr-x 10 root wheel 512 Dec 23 21:02 .. >> crw-r----- 1 root operator 0, 123 Dec 23 20:02 bootpart >> test# gpart list | grep label >> label: bootpart >> label: rootpart >> label: swap >> test# >> >> I will try the debugflag option. >> But it should not be nessacary i guess. >> >> thanks >> regards >> Johan >> > If you have already mounted a /dev/da0p?, its label is removed from > /dev/gpt - 'bootpart' is never mounted, that is why it's label remains. > you just have to change /etc/fstab to the /dev/gpt/labels and then they > will remain and get mounted - Or boot from a DVD, don't mount anything and > you'll see the labels. > > ie: > If you mount '/dev/da0p2'as '/' then '/dev/gpt/rootpart' will no longer be > available, same goes for swap and everything else. If you mount > 'dev/gpt/rootpart' as '/', the you'll have both '/dev/da0p2' and > '/dev/gpt/bootpart' > > ]Peter[ > > Thanks that solved it. !! because i did not see them in /dev/gpt i did not change the /etc/fstab file to the appropiate config. I thought if they are not there, then i can not use them. Wrong assumption !!! I edited /etc/fstab to mount /dev/gpt/rootpart on / and /dev/gpt/swap on swap, and the machine booted like it should. Also the gpt entries are now there! Thanks again! Merry cristmas !!! regards Johan From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 20:20:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 696BD10656D0 for ; Fri, 23 Dec 2011 20:20:03 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1F2178FC16 for ; Fri, 23 Dec 2011 20:20:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id CA49C5E224 for ; Fri, 23 Dec 2011 21:02:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.478 X-Spam-Level: X-Spam-Status: No, score=-2.478 tagged_above=-999 required=5 tests=[AWL=0.122, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RAKJsNznR6ZI for ; Fri, 23 Dec 2011 21:02:34 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.bjare.net (Postfix) with ESMTPS id 194625E246 for ; Fri, 23 Dec 2011 21:02:34 +0100 (CET) Message-ID: <4EF4DE69.9090604@eskk.nu> Date: Fri, 23 Dec 2011 21:02:49 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111223 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 9.0-RC3 won't finish boot after install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 20:20:19 -0000 Hi List. I've installed 9.0-RC3 i386 and I've got a problem. It won't boot after install. LiveCD runs and I get a CLI where I can issue commands. When booting, the machine stops after the lines cpu0 on acpi0 cpu0 switching to generic Cx mode cpu1 on acpi0 at one boot I got one more line PCI_LINK0: If I disable ACPI It stops at the line EHCI0 USBPF: attached Any ideas on how I can proceed? Thanks Leslie From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 21:12:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95A381065670 for ; Fri, 23 Dec 2011 21:12:18 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from spock-ext.obspm.fr (spock-ext.obspm.fr [145.238.186.3]) by mx1.freebsd.org (Postfix) with ESMTP id 346848FC13 for ; Fri, 23 Dec 2011 21:12:17 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by spock-ext.obspm.fr (8.14.3/8.14.3/DIO Observatoire de Paris - 15/04/10) with ESMTP id pBNKwklD012117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Dec 2011 21:58:47 +0100 Date: Fri, 23 Dec 2011 21:58:46 +0100 From: Albert Shih To: Damien Fleuriot Message-ID: <20111223205846.GE27215@pcjas.obspm.fr> References: <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr> <20111222142426.550b55da.freebsd@edvax.de> <20111222134915.GA48825@pcjas.obspm.fr> <4EF337C1.60908@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4EF337C1.60908@my.gd> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.7 (spock-ext.obspm.fr [145.238.186.20]); Fri, 23 Dec 2011 21:58:47 +0100 (CET) X-Virus-Scanned: clamav-milter 0.97.3 at spock-ext.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 21:12:18 -0000 Le 22/12/2011 14:59:29+0100, Damien Fleuriot a crit > > > > > The question is why do you even bother running jails with different > userlands ? > > Keep a shared userland for all your jails, just ensure your /etc and > /usr/local are private only to said jails. > > This way you only need to rebuild the world once, although you'll still > have to run mergemaster on each jail. Well that's is very easy and very fast. I just need to run a "for do done". What's take time is to rebuild apache/subversion/neon/etc... with differents options in each jail. But well...it's work. ;-) Happy holidays and merry Christmas !!!! kkk > _______________________________________________ > 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" -- Albert SHIH DIO batiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: ven 23 dc 2011 21:56:12 CET From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 21:44:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 933AD10656D1 for ; Fri, 23 Dec 2011 21:44:13 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [IPv6:2a02:6b8:0:602::1]) by mx1.freebsd.org (Postfix) with ESMTP id A7E888FC0C for ; Fri, 23 Dec 2011 21:44:12 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward1.mail.yandex.net (Yandex) with ESMTP id DC17F12434D6; Sat, 24 Dec 2011 01:44:10 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324676650; bh=LRtB7Y1K6g1TVZSeHZQGq2/EKajgsrrOA0l4ajRet4k=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=V23Y1kvIFaC6DiR/s5HZX9xZsmR3lGpZSewYxad56m0/cUpMo1BFXikL8YO0jO8OR DduwCRcuDDNU5KFyJ+bQ0Iqci6I/tnJGbetRReGRh0a6ezO+2vycceEtbgGOl2ehye WbFcgpxFFtSpBWKXqa3IE6UKfYURg2s5ycQYxwJ0= Received: from smtp3.mail.yandex.net (localhost [127.0.0.1]) by smtp3.mail.yandex.net (Yandex) with ESMTP id AFC111BA0342; Sat, 24 Dec 2011 01:44:10 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324676650; bh=LRtB7Y1K6g1TVZSeHZQGq2/EKajgsrrOA0l4ajRet4k=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=V23Y1kvIFaC6DiR/s5HZX9xZsmR3lGpZSewYxad56m0/cUpMo1BFXikL8YO0jO8OR DduwCRcuDDNU5KFyJ+bQ0Iqci6I/tnJGbetRReGRh0a6ezO+2vycceEtbgGOl2ehye WbFcgpxFFtSpBWKXqa3IE6UKfYURg2s5ycQYxwJ0= Received: from unknown (unknown [77.93.52.19]) by smtp3.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iASKSvBd-iASOkT4E; Sat, 24 Dec 2011 01:44:10 +0400 X-Yandex-Spam: 1 Date: Fri, 23 Dec 2011 23:44:07 +0200 From: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?utf-8?B?0KfQnyDQmtC+0L3RjNC60L7QsiwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1829572790.20111223234407@yandex.ru> To: Daniel Staal In-Reply-To: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> References: <1374625746.20111217102942@yandex.ru> <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 21:44:13 -0000 Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS> is alleged to have said: >> How to debug why system do not use free CPU resouces? >> >> On this pictures you can see that CPU can not exceed 400tics >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ >> >> >> On these pictures you can see that problems begin with trafic on re0 >> when CPU load rise to "maximum" >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ >> >> But there is 25% CPU idle yet at that moment. DS> >># top -SIHP >> last pid: 93050; load averages: 1.45, 1.41, 1.29 >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 >> stopped, 20 waiting >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free >> Swap: 4096M Total, 15M Used, 4080M Free DS> --As for the rest, it is mine. DS> You are I/O bound; most of your time is spent in interrupts. The CPU is DS> dealing with things as fast as it can get them, but it has to wait for the DS> disk and/or network card to get them to it. The CPU is not your problem; DS> if you need more performance, you need to tune the I/O. (And possibly get DS> better I/O cards, if available.) that is strange, but I get worse network perfomance with *igb* than I have with *re* even with less! network traffic I get 100% CPU load than I have with for comparison: in case of re I have 350Mbit now just 250Mbit and already reach limit. http://piccy.info/view3/2397812/70bfa4cb5f2530e99ce298b7c1d9b94d/ # uname -a FreeBSD meta-up 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #3: Wed Dec 21 14:29:05 EET 2011 :/usr/obj/usr/src/sys/KES_KERN_v10 i386 -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 22:06:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB2B1065673 for ; Fri, 23 Dec 2011 22:06:33 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4EE2E8FC0C for ; Fri, 23 Dec 2011 22:06:33 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 3CA445C24 for ; Sat, 24 Dec 2011 08:18:58 +1000 (EST) Message-ID: <4EF4FAAA.1020603@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 08:03:22 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> In-Reply-To: <20111223173139.GA7648@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 22:06:33 -0000 On 12/24/11 03:31, Roland Smith wrote: > On Sat, Dec 24, 2011 at 01:27:23AM +1000, Da Rock wrote: >> couldn't give a shit about network drives. One scenario is network goes >> down and I get a screenful of error messages- it annoys the shit out of >> me, let alone scaring illiterate users. > If the network goes down, network drives won't work. Your users will be > sad/scared/frustrated with or without error messages, I'm guessing. Nah. They'd flip out a whole lot more when the screen literally fills with error messages and keeps going. Frustrated they can handle and maybe complain, but that would make them run away... :) >>> I don't think enough people care to make it really work under FreeBSD. I've >>> certainly never missed it. >> They don't care too much under linux either.... So many years, yet not a >> single user doc anywhere on any of the f***ing monsters! Goddamn linux >> devs- ever heard of KISS?! How about a user doc for something so bloody >> confusing it takes a brain surgeon to figure it out? > That's exactly why I've avoided using this stuff. :-) Me too. I just made do with what was there. >> Ahh, one more thing of note here: polkit-gnome-authorization would not >> work under any circumstances (run as root or otherwise) to change >> policies! WTF! >>> You might take a look at devd(8) as a FreeBSD alternative, but I'm not sure if >>> it notices new da devices popping up. >> Oh, believe me I'd happily jump on it rather than deal with this mess. >> But I can't find anything that will interact happily with the apps, >> mount network shares of all kinds, and be exceedingly user friendly >> (take note lin-devs: user-friendly != sys_admin-hell at least it >> _doesn't have to_). > Another way to go about it is to install e.g. ubuntu on a virtual machine and > peek under the hood how it works there. But as you say it's probably tied into > udev pretty tightly. Tried that too, but each distro has there own "hack" to make it work for them. Crazy huh? >> How forgiving is devd to a user pulling the plug to early? I did look >> into it a bit, but it appeared nearly as difficult as deciphering the >> above scenario- that said, having come through the other side of that >> I'm not so sure my judgment was very accurate :) So now I might check >> that fork out and see... > Devd just gets some notifications and acts on them. There is a problem with > mounted usb devices, but that is one of architecture, I guess. Devd only gets > notified _after_ a device has been pulled. There is no way you can prevent > data loss in all cases like that. On windows you're supposed to "prepare to > eject" a USB device before pulling it out as well. The only "cure" is to mount > a device syncronously, and disable _all_ write caching for those devices. If > you try that you'll find that doing so has significant performance impact and > not in a good way (disks are sloooow). Almost need a "journaling" system for them. Any thoughts? What about setting up a temp folder (non-volatile buffer?) and a sync? Track devices using the uuid label? >> God! What a mess... this belongs in the X-files: the truth _is_ out >> there. But you might lose your head and many years of life just finding >> the fragments! > FreeBSD is on my personal desktop and laptop, but that seems to be the > exception rather than the rule. Maybe you should write your experiences up and > submit it to the freebsd-doc mailing list for inclusion in the official docs? I may yet do that, but in the interim I'm going to get around to writing up my findings on a lot of different aspects of the systems in a wiki (I'll put up my findings on those as well...). Maybe my pain can help someone else :) For reference _all_ my systems are FreeBSD: from laptops/desktops, HTPC's and servers. I'd like to be able to show a system better and more robust than the alternatives out there as well as easy on the users, and thats what I'm always working towards. > And talking about mailing lists, maybe you should try your luck on the > freebsd-gnome list? > [http://lists.freebsd.org/mailman/listinfo/freebsd-gnome] I would but I'm not subscribed to that one (must be about the only one I'm not on :) ), and it hadn't come to mind as I wasn't using gnome! I'm using nautilus for testing as it has more features, but I'm intending on using pcmanfm or similar- lightweight, but usable. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 22:54:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0676A106566C for ; Fri, 23 Dec 2011 22:54:19 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 968D08FC0C for ; Fri, 23 Dec 2011 22:54:18 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Fri, 23 Dec 2011 23:54:16 +0100 From: "Bas Smeelen" To: freebsd-questions@freebsd.org Message-ID: <20111223225416.d7e93cc4@mail.ose.nl> Date: Fri, 23 Dec 2011 23:54:16 +0100 X-User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FLAME - security advisories on the 23rd ? uncool idea is uncool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 22:54:19 -0000 >If a security advisory is announced, you have to patch, period! =20 >Happy holidays to all. Black hats too :) =20 >--=20 >George =20 It is up to the sysadmin. If your services are not affected, there is no need to patch. Although it's best to always keep your systems up to the latest. I think the security advisories are a good thing especially this time = of the year But like they say here it's a storm in a glass of water YMMV Cheers and happy holidays (holy-days :)) =20 Disclaimer=3A http=3A//www=2Eose=2Enl/email From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 23:21:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C856106566B for ; Fri, 23 Dec 2011 23:21:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0090F8FC0C for ; Fri, 23 Dec 2011 23:21:35 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBNNL3YW080048; Sat, 24 Dec 2011 00:21:03 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 9B796BACE; Sat, 24 Dec 2011 00:21:02 +0100 (CET) Date: Sat, 24 Dec 2011 00:21:02 +0100 From: Roland Smith To: Da Rock Message-ID: <20111223232102.GA20961@slackbox.erewhon.net> References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <4EF4FAAA.1020603@herveybayaustralia.com.au> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 23:21:36 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 24, 2011 at 08:03:22AM +1000, Da Rock wrote: > > If the network goes down, network drives won't work. Your users will be > > sad/scared/frustrated with or without error messages, I'm guessing. > Nah. They'd flip out a whole lot more when the screen literally fills=20 > with error messages and keeps going. Frustrated they can handle and=20 > maybe complain, but that would make them run away... :) Wouldn't you get some error message or other if a network drive becomes unreachable no matter what?=20 > > Another way to go about it is to install e.g. ubuntu on a virtual machi= ne and > > peek under the hood how it works there. But as you say it's probably ti= ed into > > udev pretty tightly. > Tried that too, but each distro has there own "hack" to make it work for= =20 > them. Crazy huh? I tried ubuntu once in a VM (I was a slackware user before moving to FreeBSD). Had a quick look with ps and was rather appalled at all the stuff that was running with no obvious way to turn it off. > > Devd just gets some notifications and acts on them. There is a problem = with > > mounted usb devices, but that is one of architecture, I guess. Devd onl= y gets > > notified _after_ a device has been pulled. There is no way you can prev= ent > > data loss in all cases like that. On windows you're supposed to "prepar= e to > > eject" a USB device before pulling it out as well. The only "cure" is t= o mount > > a device syncronously, and disable _all_ write caching for those device= s. If > > you try that you'll find that doing so has significant performance impa= ct and > > not in a good way (disks are sloooow). > Almost need a "journaling" system for them. Any thoughts? What about=20 > setting up a temp folder (non-volatile buffer?) and a sync? Track=20 > devices using the uuid label? With proper mount settings and synchronous writes you might be able to prev= ent most damage, but it'll be slow. The default for mount is to write metadata syncronously, while data I/O is done async, see mount(8). No matter what you do, if a user pulls a USB stick during a write, the filesystem on it will be left in an inconsistent state. Nothing you can do about that. FreeBSD be default already does buffering in the VFS layer (unless you turn that off). I don't think that adding more buffering would help. It might ev= en make matters worse. If data is buffered and not immediately written to the = USB stick, it will show no activity. This might even give the user a false impression it is finished... Basically if a USB drive is plugged back in again, you have to accept the state that it is in at that time. You cannot assume that it's state is still the same or even related as the last time it was plugged in. But suppose for the sake of the argument that you have a complete and correct copy of the U= SB stick's filesystem at the time it was pulled buffered. Now assume the same device is plugged in again. You read the complete state of the filesystem a= nd compare it to your buffer. Suppose there is a difference between the two. W= hat are you going to do? Without further information there is no way of knowing which of the changes are OK because they were done e.g. on another computer. And there is the application that is writing that is to be considered. With buffering enabled, write system calls return as soon as the metadata is written and the data is queued, IIRC. So as fas as the app is concerned, it= is done. Of course the next system call to write to the same fs after it is pulled will get an error. But that still leaves the application's image of = the file's state different from reality. The only sane way to handle this is for the application to get an error from the next write reporting that the filesystem has disappeared. Which it shou= ld then report to the user because that's the person that pulled the plug, so = to speak. > > submit it to the freebsd-doc mailing list for inclusion in the official= docs? > I may yet do that, but in the interim I'm going to get around to writing= =20 > up my findings on a lot of different aspects of the systems in a wiki=20 > (I'll put up my findings on those as well...). Maybe my pain can help=20 > someone else :) Please but up a link to that wiki. :-) > For reference _all_ my systems are FreeBSD: from laptops/desktops,=20 > HTPC's and servers. I'd like to be able to show a system better and more= =20 > robust than the alternatives out there as well as easy on the users, and= =20 > thats what I'm always working towards. Nice! I wish I was able to use FreeBSD at work (other than on my own laptop= ). > > And talking about mailing lists, maybe you should try your luck on the > > freebsd-gnome list? > > [http://lists.freebsd.org/mailman/listinfo/freebsd-gnome] > I would but I'm not subscribed to that one (must be about the only one=20 > I'm not on :) ), and it hadn't come to mind as I wasn't using gnome! I'm= =20 > using nautilus for testing as it has more features, but I'm intending on= =20 > using pcmanfm or similar- lightweight, but usable. All the mayor players in this drama, hal, policykit and dbus are maintained= by gnome@. In practice that _might_ mean that no single person cares enough to care and feed them. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk71DN4ACgkQEnfvsMMhpyXSQgCglOy5zty+dUWkKPHHFPmo0zEn AhsAn1+vyfmN+1zIEBYElUrk/CLo80hw =gUyx -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 00:00:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 923C0106564A for ; Sat, 24 Dec 2011 00:00:49 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id E9B5C8FC13 for ; Sat, 24 Dec 2011 00:00:48 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id A53CA5C24 for ; Sat, 24 Dec 2011 10:13:13 +1000 (EST) Message-ID: <4EF51572.4060507@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 09:57:38 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> In-Reply-To: <20111223232102.GA20961@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 00:00:49 -0000 On 12/24/11 09:21, Roland Smith wrote: > On Sat, Dec 24, 2011 at 08:03:22AM +1000, Da Rock wrote: >>> If the network goes down, network drives won't work. Your users will be >>> sad/scared/frustrated with or without error messages, I'm guessing. >> Nah. They'd flip out a whole lot more when the screen literally fills >> with error messages and keeps going. Frustrated they can handle and >> maybe complain, but that would make them run away... :) > Wouldn't you get some error message or other if a network drive becomes > unreachable no matter what? True, but its not so bad as a screenful- and I mean a screenful! >>> Another way to go about it is to install e.g. ubuntu on a virtual machine and >>> peek under the hood how it works there. But as you say it's probably tied into >>> udev pretty tightly. >> Tried that too, but each distro has there own "hack" to make it work for >> them. Crazy huh? > I tried ubuntu once in a VM (I was a slackware user before moving to > FreeBSD). Had a quick look with ps and was rather appalled at all the stuff > that was running with no obvious way to turn it off. > >>> Devd just gets some notifications and acts on them. There is a problem with >>> mounted usb devices, but that is one of architecture, I guess. Devd only gets >>> notified _after_ a device has been pulled. There is no way you can prevent >>> data loss in all cases like that. On windows you're supposed to "prepare to >>> eject" a USB device before pulling it out as well. The only "cure" is to mount >>> a device syncronously, and disable _all_ write caching for those devices. If >>> you try that you'll find that doing so has significant performance impact and >>> not in a good way (disks are sloooow). >> Almost need a "journaling" system for them. Any thoughts? What about >> setting up a temp folder (non-volatile buffer?) and a sync? Track >> devices using the uuid label? > With proper mount settings and synchronous writes you might be able to prevent > most damage, but it'll be slow. The default for mount is to write metadata > syncronously, while data I/O is done async, see mount(8). No matter what you > do, if a user pulls a USB stick during a write, the filesystem on it will be > left in an inconsistent state. Nothing you can do about that. True. I'm only thinking of when the little light stops flashing. > FreeBSD be default already does buffering in the VFS layer (unless you turn > that off). I don't think that adding more buffering would help. It might even > make matters worse. If data is buffered and not immediately written to the USB > stick, it will show no activity. This might even give the user a false > impression it is finished... That there is exactly the problem. Any way to prevent that though? > Basically if a USB drive is plugged back in again, you have to accept the > state that it is in at that time. You cannot assume that it's state is still > the same or even related as the last time it was plugged in. But suppose for > the sake of the argument that you have a complete and correct copy of the USB > stick's filesystem at the time it was pulled buffered. Now assume the same > device is plugged in again. You read the complete state of the filesystem and > compare it to your buffer. Suppose there is a difference between the two. What > are you going to do? Without further information there is no way of knowing > which of the changes are OK because they were done e.g. on another computer. No, I hadn't considered that scenario. Thats why these lists provide a great sounding board :) > And there is the application that is writing that is to be considered. With > buffering enabled, write system calls return as soon as the metadata is > written and the data is queued, IIRC. So as fas as the app is concerned, it is > done. Of course the next system call to write to the same fs after it is > pulled will get an error. But that still leaves the application's image of the > file's state different from reality. > > The only sane way to handle this is for the application to get an error from > the next write reporting that the filesystem has disappeared. Which it should > then report to the user because that's the person that pulled the plug, so to > speak. Man, What a mess! The real solution is to keep the light flashing until all the data written to disk. As a user, and watching other less literate users, thats what they're all watching for. It seems pretty simple doesn't it? Does fuse help this at all? Most are vfat or ntfs after all... If they're not, then they'd be a bit more literate anyway, surely. And if one was really anal a fuse-ufs :) >>> submit it to the freebsd-doc mailing list for inclusion in the official docs? >> I may yet do that, but in the interim I'm going to get around to writing >> up my findings on a lot of different aspects of the systems in a wiki >> (I'll put up my findings on those as well...). Maybe my pain can help >> someone else :) > Please but up a link to that wiki. :-) Absolutely. I'm hoping to find answers to the more obscure settings. I'm writing how to's or tutorials- just the variables and conf settings and the context they're used in written in english for sysadmins who don't have the time to translate for jargonese... >> For reference _all_ my systems are FreeBSD: from laptops/desktops, >> HTPC's and servers. I'd like to be able to show a system better and more >> robust than the alternatives out there as well as easy on the users, and >> thats what I'm always working towards. > Nice! I wish I was able to use FreeBSD at work (other than on my own laptop). Easy when you're your own boss... in a way anyway :) >>> And talking about mailing lists, maybe you should try your luck on the >>> freebsd-gnome list? >>> [http://lists.freebsd.org/mailman/listinfo/freebsd-gnome] >> I would but I'm not subscribed to that one (must be about the only one >> I'm not on :) ), and it hadn't come to mind as I wasn't using gnome! I'm >> using nautilus for testing as it has more features, but I'm intending on >> using pcmanfm or similar- lightweight, but usable. > All the mayor players in this drama, hal, policykit and dbus are maintained by > gnome@. In practice that _might_ mean that no single person cares enough to > care and feed them. > Ahh. Now that may explain some things. But by your meaning are you talking about the software development itself or the developers? LOL From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 00:30:27 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C901065680 for ; Sat, 24 Dec 2011 00:30:27 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7224E8FC08 for ; Sat, 24 Dec 2011 00:30:27 +0000 (UTC) Received: by yhfq46 with SMTP id q46so7840987yhf.13 for ; Fri, 23 Dec 2011 16:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UHnTD0q4aSIUvAYfBbO3VixBLUnZbbrC6+rv2s/VFuE=; b=qRlhA0NmKVpLgJgMwDdU5gxForZHuMVPz1uMhvCa31TRIHuhfIEKu2ENBcnK4VbYJf lhoaJB7erAaj/CAPaSgFqqdiUL2L/xKjgK7Y/TcdeIElU3Gq4gRCbRD7ayAmEKrTZbjd fkDZksPuUJimQoO7wREsfmhh+5gbavMLBtvC4= MIME-Version: 1.0 Received: by 10.236.129.140 with SMTP id h12mr23540443yhi.47.1324685115567; Fri, 23 Dec 2011 16:05:15 -0800 (PST) Received: by 10.236.190.41 with HTTP; Fri, 23 Dec 2011 16:05:15 -0800 (PST) Received: by 10.236.190.41 with HTTP; Fri, 23 Dec 2011 16:05:15 -0800 (PST) In-Reply-To: <20111222124709.GA48640@pcjas.obspm.fr> References: <20111124150901.GK87561@pcjas.obspm.fr> <20111222124709.GA48640@pcjas.obspm.fr> Date: Sat, 24 Dec 2011 00:05:15 +0000 Message-ID: From: krad To: Albert Shih Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: 7.4 -> 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 00:30:27 -0000 CCache is your friend when updating ports On Dec 22, 2011 12:48 PM, "Albert Shih" wrote: > Le 24/11/2011 =E0 16:09:01+0100, Albert Shih a =E9crit > > Hi all > > > > Almost classic question about updating from 7.4 to 8.2. > > > > Anyone known if I can temporally run a 7.4 userland+service with 8.2 > kernel > > ? > > > > I've ask this because I've ~ 15 jail on one server. I can update the > =ABhost=BB > > pretty fast but with the 15 jail I need some time. And I would like to > > known if durring this time the jail going to work =ABnormally=BB. > > > So I answer to myself. > > Some body tell me it's like > > "My gut reaction was "Are you familiar with the game of Russian Roulette?= ". > > Well....it's work...almost. > > Here what I do : > > Upgrade kernel and userland from 7.4 to 8.2 on the host. > > Upgrade all userland of my all jail to 8.2 > > Until now everything work fine. > > Delete old libs/files/man > > and...apache stop working. > > After do a > > portupgrade -fR apache > > everything work again. > > Be careful the > > portupgrade -f apache > > is not enough. I don't known which ports have some problem but I > got a SSL error. So first I just update apache. It's not good. The= n > apr, etc...finally I upgrade with =AB-fR=BB and everything work ag= ain. > > For subversion you need to force upgrade neon too. > > and for who want to ask me : NO I don't play Russian roulette. > > Regards. > > -- > Albert SHIH > DIO batiment 15 > Observatoire de Paris > 5 Place Jules Janssen > 92195 Meudon Cedex > T=E9l=E9phone : 01 45 07 76 26/06 86 69 95 71 > Heure local/Local time: > jeu 22 d=E9c 2011 13:41:25 CET > _______________________________________________ > 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 Sat Dec 24 00:44:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35769106564A for ; Sat, 24 Dec 2011 00:44:48 +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 E914E8FC16 for ; Sat, 24 Dec 2011 00:44:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBO0il3v005068; Fri, 23 Dec 2011 17:44:47 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBO0ikZb005065; Fri, 23 Dec 2011 17:44:47 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 23 Dec 2011 17:44:46 -0700 (MST) From: Warren Block To: Peter In-Reply-To: <23e2a89872f6805695ac526665c4d60f.squirrel@pop.pknet.net> Message-ID: References: <4EF4C0E4.7080902@gmail.com> <23e2a89872f6805695ac526665c4d60f.squirrel@pop.pknet.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 23 Dec 2011 17:44:47 -0700 (MST) Cc: Johan Hendriks , FreeBSD Subject: Re: gpart, modified label does not show up in /dev/gpt. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 00:44:48 -0000 On Fri, 23 Dec 2011, Peter wrote: > When you ran the 'gpart' commands, did you set the sysctl geom debug > variable? [sysctl kern.geom.debugflags=17] That should not be necessary, or advisable. The only time it would be needed is to write to a partition that is mounted. If it is needed, the gpart write would give an error. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 01:09:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C61D106566B for ; Sat, 24 Dec 2011 01:09:08 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 2145A8FC0C for ; Sat, 24 Dec 2011 01:09:07 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id DC6A010C for ; Fri, 23 Dec 2011 20:09:06 -0500 (EST) Date: Fri, 23 Dec 2011 20:08:26 -0500 From: Daniel Staal To: freebsd-questions@freebsd.org Message-ID: In-Reply-To: <20111223164542.b74a8519@mail.ose.nl> References: <20111223164542.b74a8519@mail.ose.nl> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Spam] Fw: Merry Christmas from the FreeBSD Security Team X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 01:09:08 -0000 --As of December 23, 2011 5:45:42 PM +0100, Bas Smeelen is alleged to have said: > While I'm writing, a note to freebsd-update users: > FreeBSD-SA-11:07.chroot has a rather messy fix involving adding a new > interface to libc; this has the awkward side effect of causing the sizes > of some "symbols" (aka. functions) in libc to change, resulting in > cascading changes into many binaries. The long list of updated files is > irritating, but isn't a sign that anything in freebsd-update went wrong. --As for the rest, it is mine. I appreciate the hard work, though I could wish it were better timed. ;) However, the above does worry me a bit: Is that same library change likely to affect ports? Any way to tell which, if so? (Or should I just start reinstalling everything...) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 01:35:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64BD2106564A for ; Sat, 24 Dec 2011 01:35:32 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6B68FC13 for ; Sat, 24 Dec 2011 01:35:31 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBO1Yw7m083379; Sat, 24 Dec 2011 02:34:58 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id C1480BACE; Sat, 24 Dec 2011 02:34:58 +0100 (CET) Date: Sat, 24 Dec 2011 02:34:58 +0100 From: Roland Smith To: Da Rock Message-ID: <20111224013458.GA25515@slackbox.erewhon.net> References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <4EF51572.4060507@herveybayaustralia.com.au> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 01:35:32 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 24, 2011 at 09:57:38AM +1000, Da Rock wrote: > > FreeBSD be default already does buffering in the VFS layer (unless you = turn > > that off). I don't think that adding more buffering would help. It migh= t even > > make matters worse. If data is buffered and not immediately written to = the USB > > stick, it will show no activity. This might even give the user a false > > impression it is finished... > That there is exactly the problem. Any way to prevent that though? Yes. Using the '-o sync' option with mount. To the best of my understanding that means that a write action will be executed immediately and that write(= 2) will not return until it is finished. > No, I hadn't considered that scenario. Thats why these lists provide a=20 > great sounding board :) It is a heck of a problem. Distributed filesystems like Coda [http://en.wikipedia.org/wiki/Coda_%28file_system%29] might offer a partial solution. But it doesn't seem like they're being widely used. > > The only sane way to handle this is for the application to get an error= from > > the next write reporting that the filesystem has disappeared. Which it = should > > then report to the user because that's the person that pulled the plug,= so to > > speak. > Man, What a mess! The real solution is to keep the light flashing until= =20 > all the data written to disk. The abovementioned -o sync option will do that for you. The price is that the write syscall will block until it is finished. This might render the application performing it unresponsive during that time. > > All the mayor players in this drama, hal, policykit and dbus are mainta= ined by > > gnome@. In practice that _might_ mean that no single person cares enoug= h to > > care and feed them. > > > Ahh. Now that may explain some things. But by your meaning are you=20 > talking about the software development itself or the developers? LOL What I mean here is that there are no dedicated maintainers for the FreeBSD ports. When that is the case, that maintainer address of a port is usually that of a relevant mailing list. That way problems with such a port at least get the attention of people with relevant interests. As for the original developers, who knows? IMNSHO their solutions look over= ly complex, but I haven't looked at the problem they try to solve because it's not a problem that bothers me. And I'm kind of allergic to desktop environments. Over the years I've tried several window managers, but I keep coming back to good old FVWM. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk71LEIACgkQEnfvsMMhpyVsmACgnkXPFM7kSXSl15SFus5n0ESU JSkAn2JZTmYvxXa8xoqrAmwST647GR1K =B7I1 -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 02:06:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BB68106566C for ; Sat, 24 Dec 2011 02:06:41 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1434C8FC0A for ; Sat, 24 Dec 2011 02:06:40 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id BB9A05C24 for ; Sat, 24 Dec 2011 12:19:05 +1000 (EST) Message-ID: <4EF532F2.6000303@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 12:03:30 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> <20111224013458.GA25515@slackbox.erewhon.net> In-Reply-To: <20111224013458.GA25515@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 02:06:41 -0000 On 12/24/11 11:34, Roland Smith wrote: > On Sat, Dec 24, 2011 at 09:57:38AM +1000, Da Rock wrote: >>> FreeBSD be default already does buffering in the VFS layer (unless you turn >>> that off). I don't think that adding more buffering would help. It might even >>> make matters worse. If data is buffered and not immediately written to the USB >>> stick, it will show no activity. This might even give the user a false >>> impression it is finished... >> That there is exactly the problem. Any way to prevent that though? > Yes. Using the '-o sync' option with mount. To the best of my understanding > that means that a write action will be executed immediately and that write(2) > will not return until it is finished. > It is a heck of a problem. Distributed filesystems like Coda > [http://en.wikipedia.org/wiki/Coda_%28file_system%29] might offer a partial > solution. But it doesn't seem like they're being widely used. > >>> The only sane way to handle this is for the application to get an error from >>> the next write reporting that the filesystem has disappeared. Which it should >>> then report to the user because that's the person that pulled the plug, so to >>> speak. >> Man, What a mess! The real solution is to keep the light flashing until >> all the data written to disk. > The abovementioned -o sync option will do that for you. > > The price is that the write syscall will block until it is finished. This > might render the application performing it unresponsive during that time. Bingo! Thats exactly the issue. Taking a look at FUSE I can see there are calls that FUSE_FSYNC which I would say is the closest to what is needed. The question is are they implemented in say fuse_msdosfs (I may have just barfed that, but you get the idea) and maybe some others? That way the filesystem is treated as normal, the app writes and can return happily, and FUSE takes the responsibility to ensure the data continues to write until finished instead of holding it in buffer for an indeterminate period leaving the user thinking alls well (ergo, the light continues flashing). Failing that, how does one ensure data is synced manually? Is there a call that could be run periodically at a shorter, more regular intervals? Either that or something that just tells the disk to keep flashing its little led while the buffer is not empty :) >>> All the mayor players in this drama, hal, policykit and dbus are maintained by >>> gnome@. In practice that _might_ mean that no single person cares enough to >>> care and feed them. >>> >> Ahh. Now that may explain some things. But by your meaning are you >> talking about the software development itself or the developers? LOL > What I mean here is that there are no dedicated maintainers for the FreeBSD > ports. When that is the case, that maintainer address of a port is usually > that of a relevant mailing list. That way problems with such a port at least > get the attention of people with relevant interests. > > As for the original developers, who knows? IMNSHO their solutions look overly > complex, Indeed. At least from a BSD perspective, anyway. Linux is whole other animal... family, xenotype even :) Too many chiefs and not enough indians over there I reckon. In my mind reading your comments I was imagining some starving, malnourished developers trying to build these complex software designs surrounded by some Doc Brown-like inventions in the dungeons of Novell or something... :) Hell, it could even be the dungeons of Microsoft, with Gates uttering "Now I'll get you all, and your little dog too.." :D > And I'm kind of allergic to desktop > environments. Over the years I've tried several window managers, but I keep > coming back to good old FVWM. :-) Me too- can't get away from icewm. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 02:26:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16DC106566B for ; Sat, 24 Dec 2011 02:26:27 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id A3A648FC0A for ; Sat, 24 Dec 2011 02:26:27 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8310E5C24 for ; Sat, 24 Dec 2011 12:38:52 +1000 (EST) Message-ID: <4EF53795.1090409@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 12:23:17 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> <20111224013458.GA25515@slackbox.erewhon.net> In-Reply-To: <20111224013458.GA25515@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 02:26:28 -0000 On 12/24/11 11:34, Roland Smith wrote: > On Sat, Dec 24, 2011 at 09:57:38AM +1000, Da Rock wrote: >>> FreeBSD be default already does buffering in the VFS layer (unless you turn >>> that off). I don't think that adding more buffering would help. It might even >>> make matters worse. If data is buffered and not immediately written to the USB >>> stick, it will show no activity. This might even give the user a false >>> impression it is finished... >> That there is exactly the problem. Any way to prevent that though? > Yes. Using the '-o sync' option with mount. To the best of my understanding > that means that a write action will be executed immediately and that write(2) > will not return until it is finished. Just discovered something: what about async as an option? The major problem with async is on UFS+SU - the SU's get in the road and can result in inconsistencies. But vfat is another kettle of fish altogether. I just had a brainwave and looked it up, after a google or two and reading the mount_msdosfs man page it is possible; but is it a solution? The writes are done sequentially (I think), and the app can move on while the system writes the disk. Unless I'm missing something here... I've had some experience with async and gjournal, so it should work as I'm dreaming it :) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 02:52:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB9C8106566B for ; Sat, 24 Dec 2011 02:52:10 +0000 (UTC) (envelope-from dave-lists-freebsd-questions@weller-fahy.com) Received: from tigger.weller-fahy.com (sinecure.new.xen.prgmr.com [71.19.148.52]) by mx1.freebsd.org (Postfix) with ESMTP id 97CA78FC08 for ; Sat, 24 Dec 2011 02:52:10 +0000 (UTC) Received: (qmail 19613 invoked from network); 23 Dec 2011 18:56:46 -0800 Received: from unknown (HELO weller-fahy.com) (dave@weller-fahy.com@24.209.97.191) by tigger.weller-fahy.com with AES256-SHA encrypted SMTP; 23 Dec 2011 18:56:46 -0800 Date: Fri, 23 Dec 2011 21:52:13 -0500 From: "David J. Weller-Fahy" To: freebsd-questions@freebsd.org Message-ID: <20111224025212.GC13153@weller-fahy.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20111222004757.GA16840@thought.org> <20111222011905.GF26686@weller-fahy.com> <20111222045835.GA29513@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20111222045835.GA29513@thought.org> User-Agent: Mutt/1.5.21+52 (c26dbc7021f4) (2011-07-01) Subject: Re: two TOTALLY diff questions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 02:52:10 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Gary Kline [2011-12-22 00:04 -0500]: > [?] I'LL Try it .... Hope it works for you - also try out "backupdir" if you're looking to keep your backups around for a while. > ps: thanks el mucho. No worries. Regards, --=20 dave [ please don't CC me ] --AhhlLboLdkugWU4S Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk71PlwACgkQzahokXOb2Ux5owCgua4gKhJrIOqRdBxiS55grLZy d5EAn2AxHIwhBhfqJjbHoQgHk5Hkz45T =bStB -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 04:56:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03CA61065672 for ; Sat, 24 Dec 2011 04:56:00 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C887E8FC13 for ; Sat, 24 Dec 2011 04:55:59 +0000 (UTC) Received: by iadj38 with SMTP id j38so18529424iad.13 for ; Fri, 23 Dec 2011 20:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=XkptyVMgmHaVVl9VHYRXI6emIqijSVAsuOcve7dSSVM=; b=e6h1+PcZ3OC649LZECa3fm6E4ZsdaGEuMBxQ/VoJfQqdCEIQ/4prJtHAJexDq/n6bU g6OhOfAEFu++Bl/G5LmluJDSsxpUdrFRb3xO3Koin0f0dnc0B7t+pXIuDAhv7+yGSumT ktyO79M2rAg87381zjgb9KLCkN3qpNjOzJmPY= MIME-Version: 1.0 Received: by 10.43.52.129 with SMTP id vm1mr9346771icb.15.1324700901532; Fri, 23 Dec 2011 20:28:21 -0800 (PST) Received: by 10.50.188.195 with HTTP; Fri, 23 Dec 2011 20:28:21 -0800 (PST) Date: Fri, 23 Dec 2011 22:28:21 -0600 Message-ID: From: Antonio Olivares To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 04:56:00 -0000 Dear folks, I am trying to build a simple livecd to learn more. I have successfully run some commands found here: http://www.secure-computing.net/wiki/index.php/FreeBSD/LiveCD # cd /usr/src # make buildworld DESTDIR=/usr/home/olivares/tmp/tmp/R/ # make installworld DESTDIR=/usr/home/olivares/tmp/tmp/R/ # make buildkernel DESTDIR=/usr/home/olivares/tmp/tmp/R/ # make installkernel DESTDIR=/usr/home/olivares/tmp/tmp/R/ # make distribution DESTDIR=/usr/home/olivares/tmp/tmp/R/ all these commands are successful I mount devfs as instructed in command # mount -t devfs devfs /path/to/livecd/dev # chroot /path/to/livecd =========================================== tricorehome# mount -t devfs devfs /usr/home/olivares/tmp/tmp/R/ tricorehome# chroot /usr/home/olivares/tmp/tmp/R/ chroot: /bin/csh: No such file or directory =========================================== I have tried to use freesbie script(s) by installing freesbie port, but it failed and I asked questions but got few to no responses. I have tried to look for some scripts/SDK but not have been successful like frenzy's to create frenzy livecd. There are few to no FreeBSD LiveCDs, only one that has been working and updated is the GhostBSD one by Eric Turgeon. I see OpenBSD has several livecds/livedvds like jggimi, FuguITA, etc to showcase it. NetBSD has one as well called Jibbed. FreeBSD has specialized ones like PfSense, Monowall, FreeNAS, Mahesha, and GhostBSD. Frenzy was apparently going to be maintained but no newer releases. I have gotten feedback as to there exist mfsBSD by Martin Matruska, http://mfsbsd.vx.sk/, and druidbsd, http://sourceforge.net/projects/druidbsd/, but cannot do much with them :( I try to get my feet wet, but I get error and can't seem to get around it :( Any thoughts, ideas, comments, observations? I just want to create a livecd/livedvd with customized packages to take my desktop everywhere, I have tried several *BSD livecds out there, they are good, but I want to have the packages that I use and more newer than FreeSBIE 2.0, and roFreeSBIE 1.3. I have seen linux-live scripts [http://www.linux-live.org/] by Tomas M, and wonder if there exist such a utility in the *BSDs, a universal script to create a livecd/livedvd of a running BSD ? if there is not any utility, how can I get around the error about /bin/csh, if it is apparently there: tricorehome# which csh /bin/csh so I can chroot to it and add packages/ports to customize the livecd/dvd I want to create? Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 05:19:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31270106567A for ; Sat, 24 Dec 2011 05:19:29 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id D528D8FC12 for ; Sat, 24 Dec 2011 05:19:28 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 7D8CC5C24 for ; Sat, 24 Dec 2011 15:31:53 +1000 (EST) Message-ID: <4EF56022.2030307@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 15:16:18 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 05:19:29 -0000 On 12/24/11 14:28, Antonio Olivares wrote: > Dear folks, > > I am trying to build a simple livecd to learn more. I have > successfully run some commands found here: > > http://www.secure-computing.net/wiki/index.php/FreeBSD/LiveCD > > # cd /usr/src > # make buildworld DESTDIR=/usr/home/olivares/tmp/tmp/R/ > # make installworld DESTDIR=/usr/home/olivares/tmp/tmp/R/ > # make buildkernel DESTDIR=/usr/home/olivares/tmp/tmp/R/ > # make installkernel DESTDIR=/usr/home/olivares/tmp/tmp/R/ > # make distribution DESTDIR=/usr/home/olivares/tmp/tmp/R/ > > all these commands are successful > > I mount devfs as instructed in command > > # mount -t devfs devfs /path/to/livecd/dev > # chroot /path/to/livecd > > =========================================== > > tricorehome# mount -t devfs devfs /usr/home/olivares/tmp/tmp/R/ > tricorehome# chroot /usr/home/olivares/tmp/tmp/R/ > chroot: /bin/csh: No such file or directory > > =========================================== > > I have tried to use freesbie script(s) by installing freesbie port, > but it failed and I asked questions but got few to no responses. > I have tried to look for some scripts/SDK but not have been successful > like frenzy's to create frenzy livecd. There are few to no FreeBSD > LiveCDs, only one that has been working and updated is the GhostBSD > one by Eric Turgeon. I see OpenBSD has several livecds/livedvds like > jggimi, FuguITA, etc to showcase it. NetBSD has one as well called > Jibbed. FreeBSD has specialized ones like PfSense, Monowall, FreeNAS, > Mahesha, and GhostBSD. Frenzy was apparently going to be maintained > but no newer releases. I have gotten feedback as to there exist > mfsBSD by Martin Matruska, http://mfsbsd.vx.sk/, and druidbsd, > http://sourceforge.net/projects/druidbsd/, but cannot do much with > them :( > > I try to get my feet wet, but I get error and can't seem to get around it :( > > Any thoughts, ideas, comments, observations? > I just want to create a livecd/livedvd with customized packages to > take my desktop everywhere, I have tried several *BSD livecds out > there, they are good, but I want to have the packages that I use and > more newer than FreeSBIE 2.0, and roFreeSBIE 1.3. > > I have seen linux-live scripts [http://www.linux-live.org/] by Tomas > M, and wonder if there exist such a utility in the *BSDs, a universal > script to create a livecd/livedvd of a running BSD ? if there is not > any utility, how can I get around the error about /bin/csh, if it is > apparently there: > > tricorehome# which csh > /bin/csh > > so I can chroot to it and add packages/ports to customize the > livecd/dvd I want to create? > I'll ask a stupid question, and you're more than welcome to give a stupid answer: Is /bin/csh actually _in_ your chroot? So csh should be this path: /usr/home/olivares/tmp/tmp/R/bin/csh HTH From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 10:02:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75E9E1065672 for ; Sat, 24 Dec 2011 10:02:21 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0936A8FC0A for ; Sat, 24 Dec 2011 10:02:20 +0000 (UTC) Received: by eekc50 with SMTP id c50so11709056eek.13 for ; Sat, 24 Dec 2011 02:02:19 -0800 (PST) Received: by 10.14.52.1 with SMTP id d1mr7444013eec.58.1324719213649; Sat, 24 Dec 2011 01:33:33 -0800 (PST) Received: from gizmo.my.domain (nat140-249-205-109.tvoe.tv. [109.205.249.140]) by mx.google.com with ESMTPS id t1sm60313660eeb.3.2011.12.24.01.33.31 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Dec 2011 01:33:32 -0800 (PST) From: Oleg Ginzburg To: freebsd-questions@freebsd.org Date: Sat, 24 Dec 2011 13:34:04 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.0-PRERELEASE; KDE/4.7.3; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201112241334.04812.olevole@olevole.ru> Subject: GCD in FreeBSD with gcc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 10:02:21 -0000 Hi, I try to play with GCD in FreeBSD. Compilation through clang is fine. However when i use the gcc from base for code with dispatch_async i got warning: implicit declaration of function 'dispatch_async' The existing file /usr/local/include/dispatch/queue.h contains the following constructions: #ifdef __BLOCKS__ __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_4_0) DISPATCH_EXPORT DISPATCH_NONNULL_ALL DISPATCH_NOTHROW void dispatch_async(dispatch_queue_t queue, dispatch_block_t block); #endif It sets some restriction on a number of platforms. Concerning FreeBSD, dispatch_async - it is not ready or these records weren't corrected for FreeBSD ? PS: FreeBSD 9.0-RC3, /usr/ports/devel/libdispatch 210_1 Sample file test.c: -- #include #include #include #include void say_hello(__unused void *arg) { printf("Hi.\n"); exit(0); } int main(int argc, char *argv[]) { dispatch_queue_t q; q = dispatch_get_main_queue(); dispatch_async(q, say_hello); printf("Im Here\n"); dispatch_main(); } -- gcc -Wall -Werror -I/usr/local/include -L/usr/local/lib -o test test.c - ldispatch From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 10:02:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7322E1065687 for ; Sat, 24 Dec 2011 10:02:39 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from mailfilter36.ihug.co.nz (mailfilter36.ihug.co.nz [203.109.136.36]) by mx1.freebsd.org (Postfix) with ESMTP id 17A9A8FC08 for ; Sat, 24 Dec 2011 10:02:38 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=rLIBlA-vWZoA:10 a=8nJEP1OIZ-IA:10 a=4I9GS2+5MeiblGGCbOibBg==:17 a=r01N2pomi5wL5mTHProA:9 a=lkNeKTPGAReCyA6mq7cA:7 a=wPNLvfGTeEIA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EADOb9U52Xbq1/2dsb2JhbABDrDmBBoIxHiI9DQEIGAMCAQIBJxgZCAEBoBGfN4N9hHQBA4MaBJUCjgCESg X-IronPort-AV: E=Sophos;i="4.71,403,1320577200"; d="scan'208";a="113928259" Received: from 118-93-186-181.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.93.186.181]) by cust.filter6.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Dec 2011 22:33:31 +1300 Received: from mylar.luckie.org.nz ([192.168.1.24]) by spandex.luckie.org.nz with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ReNys-0000dP-QN for freebsd-questions@freebsd.org; Sat, 24 Dec 2011 22:33:30 +1300 Message-ID: <4EF59C88.2010202@luckie.org.nz> Date: Sat, 24 Dec 2011 22:34:00 +1300 From: Matthew Luckie User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 10:02:39 -0000 Hi I'd like to be able to login using a null modem cable to a freebsd server, from a freebsd laptop. It doesn't need to display boot messages, just allow me to login after the system has booted. I've got a null modem cable connected to my freebsd server, and on the other end is a USB serial port on my laptop. On the server I've got: uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] in /etc/ttys on the server: ttyu0 "/usr/libexec/getty std.9600" vt100 on secure and there is a getty running on that: $ ps xa| grep getty 1825 ?? I 0:00.00 /usr/libexec/getty std.9600 ttyu0 On the laptop, I have: ugen1.2: at usbus1 uftdi0: on usbus1 as well as cuaU0 and ttyU0 entries in /dev. However, when I use cu on the laptop: sudo cu -l /dev/cuaU0 -s 9600 I never get a login prompt. If I press enter, the cursor scrolls down. Likewise other characters echo back. I'm reasonably sure that I'm connected to the appropriate com port on the server because if I plug it into the other com port and press enter, nothing happens. It feels to me that I'm missing something basic. Can someone provide me with some clue? Note: I'm reasonably sure the null modem cable and USB device are fine, I've used them recently on an arm board (gateworks) running freebsd and it worked fine then. Matthew From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 11:04:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AC7C1065670 for ; Sat, 24 Dec 2011 11:04:51 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id D0C838FC14 for ; Sat, 24 Dec 2011 11:04:50 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id B19D45C24 for ; Sat, 24 Dec 2011 21:17:15 +1000 (EST) Message-ID: <4EF5B114.1000304@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 21:01:40 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF59C88.2010202@luckie.org.nz> In-Reply-To: <4EF59C88.2010202@luckie.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 11:04:51 -0000 On 12/24/11 19:34, Matthew Luckie wrote: > Hi > > I'd like to be able to login using a null modem cable to a freebsd > server, from a freebsd laptop. It doesn't need to display boot > messages, just allow me to login after the system has booted. > > I've got a null modem cable connected to my freebsd server, and on the > other end is a USB serial port on my laptop. On the server I've got: > > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: [FILTER] > > in /etc/ttys on the server: > > ttyu0 "/usr/libexec/getty std.9600" vt100 on secure > > and there is a getty running on that: > > $ ps xa| grep getty > 1825 ?? I 0:00.00 /usr/libexec/getty std.9600 ttyu0 > > On the laptop, I have: > ugen1.2: at usbus1 > uftdi0: on usbus1 > > as well as cuaU0 and ttyU0 entries in /dev. > > However, when I use cu on the laptop: > > sudo cu -l /dev/cuaU0 -s 9600 > > I never get a login prompt. If I press enter, the cursor scrolls > down. Likewise other characters echo back. I'm reasonably sure that > I'm connected to the appropriate com port on the server because if I > plug it into the other com port and press enter, nothing happens. > > It feels to me that I'm missing something basic. Can someone provide > me with some clue? > > Note: I'm reasonably sure the null modem cable and USB device are > fine, I've used them recently on an arm board (gateworks) running > freebsd and it worked fine then. > You sure its not easier to run a crossover UTP cable to the server? Then you can just ssh or similar to login to the server. From my understanding the null modem cable is used primarily for accessing the boot console - no login. Failing that, you'd probably need a RAS setup; probably mpd, but you may get away with the base pppd. Network is probably you're quickest and easiest bet. HTH From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 12:09:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55311106564A for ; Sat, 24 Dec 2011 12:09:22 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id D179C8FC14 for ; Sat, 24 Dec 2011 12:09:21 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBOC8o3A047928; Sat, 24 Dec 2011 13:08:50 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id EE67EBACE; Sat, 24 Dec 2011 13:08:49 +0100 (CET) Date: Sat, 24 Dec 2011 13:08:49 +0100 From: Roland Smith To: Da Rock Message-ID: <20111224120849.GA40495@slackbox.erewhon.net> References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> <20111224013458.GA25515@slackbox.erewhon.net> <4EF53795.1090409@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <4EF53795.1090409@herveybayaustralia.com.au> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 12:09:22 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 24, 2011 at 12:23:17PM +1000, Da Rock wrote: > On 12/24/11 11:34, Roland Smith wrote: > > On Sat, Dec 24, 2011 at 09:57:38AM +1000, Da Rock wrote: > >>> FreeBSD be default already does buffering in the VFS layer (unless yo= u turn > >>> that off). I don't think that adding more buffering would help. It mi= ght even > >>> make matters worse. If data is buffered and not immediately written t= o the USB > >>> stick, it will show no activity. This might even give the user a false > >>> impression it is finished... > >> That there is exactly the problem. Any way to prevent that though? > > Yes. Using the '-o sync' option with mount. To the best of my understan= ding > > that means that a write action will be executed immediately and that wr= ite(2) > > will not return until it is finished. > Just discovered something: what about async as an option? The major=20 > problem with async is on UFS+SU - the SU's get in the road and can=20 I've had problems with filesystems becoming inconsistent with softupdates. I've disabled them on most filesystems.=20 > result in inconsistencies. But vfat is another kettle of fish altogether. The mount(8) manual warns that async is dangerous because it doesn't guaran= tee that the fs structure on disk stays consistent. The other side of the coin = is (as you say) that vfat doesn't have much of a structure. :-) =20 > I just had a brainwave and looked it up, after a google or two and=20 > reading the mount_msdosfs man page it is possible; but is it a solution?= =20 > The writes are done sequentially (I think), and the app can move on=20 > while the system writes the disk. Unless I'm missing something here... In my script to mount USB drives I use the following options for mount_msdo= sfs:=20 "-o noatime -o sync -o noexec -o nosuid" And yes, that will block write calls until they're truely done. But OTOH, if you use async, an umount will block until all data is written. So it is a question of waiting now or waiting later. ;-) Personally I like the security and consistency that -o sync brings. Since I mostly use cp from an xterm to copy things to/from USB disks, it doesn't bother me when is stays busy a wh= ile longer. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk71wNEACgkQEnfvsMMhpyUI8ACeKd8Jzr7pgKGNXAQYtWe8Qq2P 86gAoJNKLiUGWXDSx6Ap3rEj9GNXB+U1 =cmbL -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 12:17:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9CED106566B for ; Sat, 24 Dec 2011 12:17:20 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B089D8FC15 for ; Sat, 24 Dec 2011 12:17:20 +0000 (UTC) Received: by iadj38 with SMTP id j38so19124226iad.13 for ; Sat, 24 Dec 2011 04:17:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W98AATigUP+MqzXuYhMExv+bgO5WjcHU4F+272EK92U=; b=r5RQSx1KUjk8kwYhMXxAmfBJmiM6SaxbEMpiZAYAvocRerQVtjwZ5cuGrw5DDb/cG+ UoclN0thdP4cn/07OqCuFfLmKPzt4mdsJRFUMl4rB9KiDkm/TEupsLsMxTt8Hy/k1rBw WUUVD1qFw06atP45wPDlXhf8hEppxloR9mVIA= MIME-Version: 1.0 Received: by 10.50.181.197 with SMTP id dy5mr18297732igc.13.1324729040039; Sat, 24 Dec 2011 04:17:20 -0800 (PST) Received: by 10.42.166.201 with HTTP; Sat, 24 Dec 2011 04:17:19 -0800 (PST) In-Reply-To: <4EF59C88.2010202@luckie.org.nz> References: <4EF59C88.2010202@luckie.org.nz> Date: Sat, 24 Dec 2011 07:17:19 -0500 Message-ID: From: Mehmet Erol Sanliturk To: Matthew Luckie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 12:17:21 -0000 On Sat, Dec 24, 2011 at 4:34 AM, Matthew Luckie wrote: > Hi > > I'd like to be able to login using a null modem cable to a freebsd server, > from a freebsd laptop. It doesn't need to display boot messages, just > allow me to login after the system has booted. > > I've got a null modem cable connected to my freebsd server, and on the > other end is a USB serial port on my laptop. On the server I've got: > > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: [FILTER] > > in /etc/ttys on the server: > > ttyu0 "/usr/libexec/getty std.9600" vt100 on secure > > and there is a getty running on that: > > $ ps xa| grep getty > 1825 ?? I 0:00.00 /usr/libexec/getty std.9600 ttyu0 > > On the laptop, I have: > ugen1.2: at usbus1 > uftdi0: on usbus1 > > as well as cuaU0 and ttyU0 entries in /dev. > > However, when I use cu on the laptop: > > sudo cu -l /dev/cuaU0 -s 9600 > > I never get a login prompt. If I press enter, the cursor scrolls down. > Likewise other characters echo back. I'm reasonably sure that I'm > connected to the appropriate com port on the server because if I plug it > into the other com port and press enter, nothing happens. > > It feels to me that I'm missing something basic. Can someone provide me > with some clue? > > Note: I'm reasonably sure the null modem cable and USB device are fine, > I've used them recently on an arm board (gateworks) running freebsd and it > worked fine then. > > Matthew > Perhaps the following pages will be helpful : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html#SERIAL-CABLES-PORTS http://www.freebsddiary.org/serial-console.php Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 12:22:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92971065670 for ; Sat, 24 Dec 2011 12:22:24 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4543A8FC16 for ; Sat, 24 Dec 2011 12:22:24 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBOCLqkc017308; Sat, 24 Dec 2011 13:21:52 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 5FF2DBACE; Sat, 24 Dec 2011 13:21:52 +0100 (CET) Date: Sat, 24 Dec 2011 13:21:52 +0100 From: Roland Smith To: Da Rock Message-ID: <20111224122152.GB40495@slackbox.erewhon.net> References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> <20111224013458.GA25515@slackbox.erewhon.net> <4EF532F2.6000303@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l76fUT7nc3MelDdI" Content-Disposition: inline In-Reply-To: <4EF532F2.6000303@herveybayaustralia.com.au> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 12:22:24 -0000 --l76fUT7nc3MelDdI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 24, 2011 at 12:03:30PM +1000, Da Rock wrote: > > might render the application performing it unresponsive during that tim= e. > Bingo! Thats exactly the issue. Taking a look at FUSE I can see there=20 > are calls that FUSE_FSYNC which I would say is the closest to what is=20 > needed. The question is are they implemented in say fuse_msdosfs (I may= =20 > have just barfed that, but you get the idea) and maybe some others?=20 Use the source, Luke! ;-) > That=20 > way the filesystem is treated as normal, the app writes and can return=20 > happily, and FUSE takes the responsibility to ensure the data continues= =20 > to write until finished instead of holding it in buffer for an=20 > indeterminate period leaving the user thinking alls well (ergo, the=20 > light continues flashing). I'm not sure how long the defaults waits are. Normally the systems tries to cluster writes sequenstially for improved throughput. But I'm guessing we're talking about fractions of seconds at most. Again, browsing the source might be useful. Also chapter 6 of "The Design and Implementation of the FreeBSD operating system" might provide insight.=20 > Failing that, how does one ensure data is synced manually? Is there a=20 > call that could be run periodically at a shorter, more regular intervals? The sync(1) program flushes the system's write cache. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --l76fUT7nc3MelDdI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk71w+AACgkQEnfvsMMhpyW6zACcCyjGANJo2mR9ML9txO0OixrW R8AAn1BIGX+ZvwB65Qw6v5tnzXieEca4 =w+F3 -----END PGP SIGNATURE----- --l76fUT7nc3MelDdI-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 12:48:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB6BC106567F for ; Sat, 24 Dec 2011 12:48:04 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 505998FC19 for ; Sat, 24 Dec 2011 12:48:04 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 88DC85C24; Sat, 24 Dec 2011 23:00:29 +1000 (EST) Message-ID: <4EF5C945.5070800@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 22:44:53 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: Roland Smith References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> <20111224013458.GA25515@slackbox.erewhon.net> <4EF53795.1090409@herveybayaustralia.com.au> <20111224120849.GA40495@slackbox.erewhon.net> In-Reply-To: <20111224120849.GA40495@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 12:48:04 -0000 On 12/24/11 22:08, Roland Smith wrote: > On Sat, Dec 24, 2011 at 12:23:17PM +1000, Da Rock wrote: >> On 12/24/11 11:34, Roland Smith wrote: >>> On Sat, Dec 24, 2011 at 09:57:38AM +1000, Da Rock wrote: >>>>> FreeBSD be default already does buffering in the VFS layer (unless you turn >>>>> that off). I don't think that adding more buffering would help. It might even >>>>> make matters worse. If data is buffered and not immediately written to the USB >>>>> stick, it will show no activity. This might even give the user a false >>>>> impression it is finished... >>>> That there is exactly the problem. Any way to prevent that though? >>> Yes. Using the '-o sync' option with mount. To the best of my understanding >>> that means that a write action will be executed immediately and that write(2) >>> will not return until it is finished. >> Just discovered something: what about async as an option? The major >> problem with async is on UFS+SU - the SU's get in the road and can > I've had problems with filesystems becoming inconsistent with > softupdates. I've disabled them on most filesystems. >> result in inconsistencies. But vfat is another kettle of fish altogether. > The mount(8) manual warns that async is dangerous because it doesn't guarantee > that the fs structure on disk stays consistent. The other side of the coin is > (as you say) that vfat doesn't have much of a structure. :-) The long and the short of it is that async is bad for SU filesystems- others *should* be reasonably ok. I'd have to check on NTFS. >> I just had a brainwave and looked it up, after a google or two and >> reading the mount_msdosfs man page it is possible; but is it a solution? >> The writes are done sequentially (I think), and the app can move on >> while the system writes the disk. Unless I'm missing something here... > In my script to mount USB drives I use the following options for mount_msdosfs: > "-o noatime -o sync -o noexec -o nosuid" > > And yes, that will block write calls until they're truely done. You said that was slower too. > But OTOH, if > you use async, an umount will block until all data is written. So it is a > question of waiting now or waiting later. ;-) Personally I like the security > and consistency that -o sync brings. Since I mostly use cp from an xterm to > copy things to/from USB disks, it doesn't bother me when is stays busy a while > longer. All valid points. What it boils down to is if you yank the power or the disk during write you're screwed no matter what fancy tricks you play- include hal/dbus/blah! bull crap. The main difference is the use of async or sync: you either screw up with one file or a few. You have tickled my imaginationings again, and I have an idea to throw at the gurus on the list (including you Roland): Assuming null/void computer literacy, and the use of a DE; what if one had an (can't be a script can it - pointless. Thinking on the fly here...) applet? dock notifier? that indicated the disk was in use and not to remove - primarily for a "blinkered" user that is missing the flashing led on the drive (or one missing an led)? Stays on top, flashing on the screen. Use mount -d to test disk status, then lets you know that it can be removed. I still have to test this, but I thought I'd throw it out there. Basically, the situation (that I have found myself in numerous times) is the write stops to the disk because the buffers need to reach a certain level before write occurs, or umount. So one can mistakenly assume that all is kocher and find no file when they reinsert. Files are lost that way, and at the least its annoying. That can still even occur with hal and blah blah blah. Is this feasible though? If the user still can't pay attention to _all_ of that then they're not worth worrying about- can't be holding their hand the whole time :) Then, using devd, one can implement the mount/umount scripts with a quick fsck on insertion to be sure ICIE (In Case of Idiot Event). From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 12:57:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC0F0106566C for ; Sat, 24 Dec 2011 12:57:01 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A26268FC12 for ; Sat, 24 Dec 2011 12:57:01 +0000 (UTC) Received: by iadj38 with SMTP id j38so19177580iad.13 for ; Sat, 24 Dec 2011 04:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rhfWqRePksKNH2P4XbhQ0Kzlkq4OTAT1xGdSwZKJIzo=; b=PsQInox5CuksH17fQSnKE10VP/uhKTar5zSPYhLcch3x149RG/0uZB4e0bh7nqkmu0 1ofalKm0e2bCffy+C42RedmCVfCjhesQnIe1/+pWQqJwOFdwHUAU0YI/7tdPZq2rpR2E D+lKDwR1dcYPNnAHJcJ+p3OsPwgJaY4CXNXQI= MIME-Version: 1.0 Received: by 10.50.191.225 with SMTP id hb1mr18279829igc.17.1324731421225; Sat, 24 Dec 2011 04:57:01 -0800 (PST) Received: by 10.50.188.195 with HTTP; Sat, 24 Dec 2011 04:57:01 -0800 (PST) In-Reply-To: <4EF56022.2030307@herveybayaustralia.com.au> References: <4EF56022.2030307@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 06:57:01 -0600 Message-ID: From: Antonio Olivares To: Da Rock Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 12:57:01 -0000 > I'll ask a stupid question, and you're more than welcome to give a stupid > answer: Is /bin/csh actually _in_ your chroot? > > So csh should be this path: /usr/home/olivares/tmp/tmp/R/bin/csh > > HTH > _______________________________________________ > 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" tricorehome# pwd /usr/home/olivares/tmp/tmp/R tricorehome# ls -l /bin/csh -r-xr-xr-x 2 root wheel 369288 Apr 2 2011 /bin/csh I am not sure if it is there now :( Thanks, Antonio From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 12:59:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91D671065676 for ; Sat, 24 Dec 2011 12:59:19 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1758FC1F for ; Sat, 24 Dec 2011 12:59:19 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id D82315C24 for ; Sat, 24 Dec 2011 23:11:43 +1000 (EST) Message-ID: <4EF5CBE8.3030202@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 22:56:08 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF4010B.5040704@herveybayaustralia.com.au> <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> <20111224013458.GA25515@slackbox.erewhon.net> <4EF532F2.6000303@herveybayaustralia.com.au> <20111224122152.GB40495@slackbox.erewhon.net> In-Reply-To: <20111224122152.GB40495@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 12:59:19 -0000 On 12/24/11 22:21, Roland Smith wrote: > On Sat, Dec 24, 2011 at 12:03:30PM +1000, Da Rock wrote: >>> might render the application performing it unresponsive during that time. >> Bingo! Thats exactly the issue. Taking a look at FUSE I can see there >> are calls that FUSE_FSYNC which I would say is the closest to what is >> needed. The question is are they implemented in say fuse_msdosfs (I may >> have just barfed that, but you get the idea) and maybe some others? > Use the source, Luke! ;-) Believe me, I'm checking now. A lot of code though, if someone already knows the answer :) >> That way the filesystem is treated as normal, the app writes and can return >> happily, and FUSE takes the responsibility to ensure the data continues >> to write until finished instead of holding it in buffer for an >> indeterminate period leaving the user thinking alls well (ergo, the >> light continues flashing). > I'm not sure how long the defaults waits are. Normally the systems tries to > cluster writes sequenstially for improved throughput. But I'm guessing we're > talking about fractions of seconds at most. Again, browsing the source might > be useful. Also chapter 6 of "The Design and Implementation of the FreeBSD > operating system" might provide insight. I'm basing my logic on experience and not theory at this point, although I have read through most of the developer docs and studied OS design. I think it waits until it reckons it has enough to fill a sector or something, buffer full; at any rate it will halt and not do a damned thing until you tell it umount and then it goes crazy- up to a minute sometimes. This is my point about the led: a user could easily mistake this for the write to be finished and yank it when there is no file there (the one they want anyway)- then end up with a "dirty" filesystem. Its very misleading. >> Failing that, how does one ensure data is synced manually? Is there a >> call that could be run periodically at a shorter, more regular intervals? > The sync(1) program flushes the system's write cache. Yeeeeahh... that is supposed to be before the system halts- right? So how would it be used here? Nothing in the man says how it is used, and if it is used its system wide and not focused to a particular filesystem, whatever. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 13:06:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4147B106564A for ; Sat, 24 Dec 2011 13:06:26 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id E50948FC0A for ; Sat, 24 Dec 2011 13:06:25 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 19C965C24 for ; Sat, 24 Dec 2011 23:18:51 +1000 (EST) Message-ID: <4EF5CD93.6040802@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 23:03:15 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF56022.2030307@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 13:06:26 -0000 On 12/24/11 22:57, Antonio Olivares wrote: >> I'll ask a stupid question, and you're more than welcome to give a stupid >> answer: Is /bin/csh actually _in_ your chroot? >> >> So csh should be this path: /usr/home/olivares/tmp/tmp/R/bin/csh >> >> HTH >> _______________________________________________ >> 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" > tricorehome# pwd > /usr/home/olivares/tmp/tmp/R > tricorehome# ls -l /bin/csh > -r-xr-xr-x 2 root wheel 369288 Apr 2 2011 /bin/csh > > I am not sure if it is there now :( I think you may have missed something there- you do realise that even though you've changed directory, you haven't chrooted. So when you run ls -l /bin/csh it is still checking your system root- not the chroot. Sometimes a single typo can cause huge hassles, eh? :) Try: cd /usr/home/olivares/tmp/tmp/R && ls -l bin/csh Watch the "bin/csh"- don't make it an absolute path by adding the root (/) at the beginning. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 13:31:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2321A106566C for ; Sat, 24 Dec 2011 13:31:55 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id DCDE88FC08 for ; Sat, 24 Dec 2011 13:31:54 +0000 (UTC) Received: by iadj38 with SMTP id j38so19226336iad.13 for ; Sat, 24 Dec 2011 05:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=68Dkm4/6hX1aOKriQVlG8KPnVU9cc28eTuJpEUMZES0=; b=dgaGOunI9ODPKbtXPvphmp0cU4238qhVbFEyVCIc6mLhGs97OpZppds74cc+06J8sE miY0aD2M7YwNNV5rwQXqkVza+2v+ZUqXO9W6gKAShoqxwFsH7s7zwXTDEJUukobMZoU+ q76ZTsrZvDz23mIjcmHTlPaqsxaZ8S4DBA52U= MIME-Version: 1.0 Received: by 10.50.196.168 with SMTP id in8mr18629856igc.17.1324733514408; Sat, 24 Dec 2011 05:31:54 -0800 (PST) Received: by 10.50.188.195 with HTTP; Sat, 24 Dec 2011 05:31:54 -0800 (PST) In-Reply-To: <4EF5CD93.6040802@herveybayaustralia.com.au> References: <4EF56022.2030307@herveybayaustralia.com.au> <4EF5CD93.6040802@herveybayaustralia.com.au> Date: Sat, 24 Dec 2011 07:31:54 -0600 Message-ID: From: Antonio Olivares To: Da Rock Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 13:31:55 -0000 On Sat, Dec 24, 2011 at 7:03 AM, Da Rock wrote: > On 12/24/11 22:57, Antonio Olivares wrote: >>> >>> I'll ask a stupid question, and you're more than welcome to give a stup= id >>> answer: Is /bin/csh actually _in_ your chroot? >>> >>> So csh should be this path: /usr/home/olivares/tmp/tmp/R/bin/csh >>> >>> HTH >>> _______________________________________________ >>> 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" >> >> tricorehome# pwd >> /usr/home/olivares/tmp/tmp/R >> tricorehome# ls -l /bin/csh >> -r-xr-xr-x =A02 root =A0wheel =A0369288 Apr =A02 =A02011 /bin/csh >> >> I am not sure if it is there now :( > > I think you may have missed something there- you do realise that even tho= ugh > you've changed directory, you haven't chrooted. So when you run ls -l > /bin/csh it is still checking your system root- not the chroot. Sometimes= a > single typo can cause huge hassles, eh? :) > > Try: > > cd /usr/home/olivares/tmp/tmp/R && ls -l bin/csh > > Watch the "bin/csh"- don't make it an absolute path by adding the root (/= ) > at the beginning. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" I am trying to do what you have suggested, it appears that /bin/csh is not present in the /usr/home/olivares/tmp/tmp/R directory :( tricorehome# ls /usr/home/olivares/tmp/tmp/ R tricorehome# ls -l /usr/home/olivares/tmp/tmp/ total 2 drwxr-xr-x 17 root wheel 512 Dec 23 21:56 R tricorehome# ls -l /usr/home/olivares/tmp/tmp/R/ total 46 -rw-r--r-- 2 root wheel 798 Dec 23 21:56 .cshrc -rw-r--r-- 2 root wheel 265 Dec 23 21:56 .profile -r--r--r-- 1 root wheel 6200 Dec 23 21:56 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Dec 23 21:30 bin drwxr-xr-x 7 root wheel 512 Dec 23 21:56 boot dr-xr-xr-x 2 root wheel 512 Dec 23 21:30 dev drwxr-xr-x 20 root wheel 2048 Dec 23 21:56 etc drwxr-xr-x 3 root wheel 1536 Dec 23 21:30 lib drwxr-xr-x 2 root wheel 512 Dec 23 21:31 libexec drwxr-xr-x 2 root wheel 512 Dec 23 21:30 media drwxr-xr-x 2 root wheel 512 Dec 23 21:30 mnt dr-xr-xr-x 2 root wheel 512 Dec 23 21:30 proc drwxr-xr-x 2 root wheel 2560 Dec 23 21:30 rescue drwxr-xr-x 2 root wheel 512 Dec 23 21:56 root drwxr-xr-x 2 root wheel 2560 Dec 23 21:31 sbin lrwxr-xr-x 1 root wheel 11 Dec 23 21:30 sys -> usr/src/sys drwxrwxrwt 2 root wheel 512 Dec 23 21:30 tmp drwxr-xr-x 14 root wheel 512 Dec 23 21:31 usr drwxr-xr-x 22 root wheel 512 Dec 23 21:30 var tricorehome# ls -l /usr/home/olivares/tmp/tmp/R/bin/ total 1692 -r-xr-xr-x 2 root wheel 11472 Dec 23 21:30 [ -r-xr-xr-x 1 root wheel 11448 Dec 23 21:30 cat -r-xr-xr-x 1 root wheel 7912 Dec 23 21:30 chflags -r-xr-xr-x 1 root wheel 17576 Dec 23 21:30 chio -r-xr-xr-x 1 root wheel 8392 Dec 23 21:30 chmod -r-xr-xr-x 1 root wheel 21304 Dec 23 21:30 cp -r-xr-xr-x 2 root wheel 369288 Dec 23 21:30 csh -r-xr-xr-x 1 root wheel 18440 Dec 23 21:30 date -r-xr-xr-x 1 root wheel 22104 Dec 23 21:30 dd -r-xr-xr-x 1 root wheel 13920 Dec 23 21:30 df -r-xr-xr-x 1 root wheel 5704 Dec 23 21:30 domainname -r-xr-xr-x 1 root wheel 5592 Dec 23 21:30 echo -r-xr-xr-x 2 root wheel 56880 Dec 23 21:30 ed -r-xr-xr-x 1 root wheel 16408 Dec 23 21:30 expr -r-xr-xr-x 1 root wheel 10336 Dec 23 21:30 getfacl -r-xr-xr-x 1 root wheel 5840 Dec 23 21:30 hostname -r-xr-xr-x 1 root wheel 7128 Dec 23 21:30 kenv -r-xr-xr-x 1 root wheel 7640 Dec 23 21:30 kill -r-xr-xr-x 2 root wheel 11368 Dec 23 21:30 link -r-xr-xr-x 2 root wheel 11368 Dec 23 21:30 ln -r-xr-xr-x 1 root wheel 30496 Dec 23 21:30 ls -r-xr-xr-x 1 root wheel 7152 Dec 23 21:30 mkdir -r-xr-xr-x 1 root wheel 13576 Dec 23 21:30 mv -r-xr-xr-x 1 root wheel 95448 Dec 23 21:30 pax -r-xr-xr-x 2 root wheel 16520 Dec 23 21:30 pgrep -r-xr-xr-x 2 root wheel 16520 Dec 23 21:30 pkill -r-xr-xr-x 1 root wheel 43312 Dec 23 21:30 ps -r-xr-xr-x 1 root wheel 7128 Dec 23 21:30 pwait -r-xr-xr-x 1 root wheel 5696 Dec 23 21:30 pwd -r-sr-xr-x 1 root wheel 20416 Dec 23 21:30 rcp -r-xr-xr-x 1 root wheel 5456 Dec 23 21:30 realpath -r-xr-xr-x 2 root wheel 56880 Dec 23 21:30 red -r-xr-xr-x 2 root wheel 15880 Dec 23 21:30 rm -r-xr-xr-x 1 root wheel 72744 Dec 23 21:30 rmail -r-xr-xr-x 1 root wheel 5784 Dec 23 21:30 rmdir -r-xr-xr-x 1 root wheel 18832 Dec 23 21:30 setfacl -r-xr-xr-x 1 root wheel 136696 Dec 23 21:30 sh -r-xr-xr-x 1 root wheel 5448 Dec 23 21:30 sleep -r-xr-xr-x 1 root wheel 22608 Dec 23 21:30 stty -r-xr-xr-x 1 root wheel 4456 Dec 23 21:30 sync -r-xr-xr-x 2 root wheel 369288 Dec 23 21:30 tcsh -r-xr-xr-x 2 root wheel 11472 Dec 23 21:30 test -r-xr-xr-x 2 root wheel 15880 Dec 23 21:30 unlink -r-xr-xr-x 1 root wheel 7144 Dec 23 21:30 uuidgen tricorehome# cd /usr/home/olivares/tmp/tmp/R && ls -l bin/csh -r-xr-xr-x 2 root wheel 369288 Dec 23 21:30 bin/csh tricorehome# pwd /usr/home/olivares/tmp/tmp/R tricorehome# cd ~ tricorehome# ls -l /bin/csh -r-xr-xr-x 2 root wheel 369288 Apr 2 2011 /bin/csh With your command it is there, how do I proceed now? Do I cd /usr/home/olivares/tmp/tmp/R, then mount it as instructed and then try the chroot? Thanks, Antonio From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 15:45:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AA121065672 for ; Sat, 24 Dec 2011 15:45:30 +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 468348FC0C for ; Sat, 24 Dec 2011 15:45:29 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBOFjTIR010198; Sat, 24 Dec 2011 08:45:29 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBOFjSbo010195; Sat, 24 Dec 2011 08:45:29 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 24 Dec 2011 08:45:28 -0700 (MST) From: Warren Block To: Matthew Luckie In-Reply-To: <4EF59C88.2010202@luckie.org.nz> Message-ID: References: <4EF59C88.2010202@luckie.org.nz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 24 Dec 2011 08:45:29 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 15:45:30 -0000 On Sat, 24 Dec 2011, Matthew Luckie wrote: > However, when I use cu on the laptop: > > sudo cu -l /dev/cuaU0 -s 9600 > > I never get a login prompt. If I press enter, the cursor scrolls down. > Likewise other characters echo back. I'm reasonably sure that I'm connected > to the appropriate com port on the server because if I plug it into the other > com port and press enter, nothing happens. Might there be something else on the server using/trying to use that com port at the same time, like apcupsd? Running cu on the server (after resetting the config) would allow manually typing characters to see if they come out of the right port. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 17:22:46 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B07C106566B for ; Sat, 24 Dec 2011 17:22:46 +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 B3C878FC0C for ; Sat, 24 Dec 2011 17:22:44 +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 pBOHMhOW036312 for ; Sat, 24 Dec 2011 12:22:43 -0500 (EST) (envelope-from chris@monochrome.org) Date: Sat, 24 Dec 2011 12:22:43 -0500 (EST) From: Chris Hill To: FreeBSD Questions List In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 17:22:46 -0000 On Wed, 21 Dec 2011, Chris Hill wrote: > I'm looking to set up some sort of revision control system at work. Thank you to everyone who replied. Based on what I've found out, I think I will be setting up git on a test server so I can get familiar with it. Thanks again, and a happy $HOLIDAY to all. -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 18:01:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1CCC106566B for ; Sat, 24 Dec 2011 18:01:15 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 703838FC0A for ; Sat, 24 Dec 2011 18:01:15 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so8818325obb.13 for ; Sat, 24 Dec 2011 10:01:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.149.33 with SMTP id tx1mr16695698obb.62.1324749674694; Sat, 24 Dec 2011 10:01:14 -0800 (PST) Received: by 10.182.154.70 with HTTP; Sat, 24 Dec 2011 10:01:14 -0800 (PST) In-Reply-To: <20111223225416.d7e93cc4@mail.ose.nl> References: <20111223225416.d7e93cc4@mail.ose.nl> Date: Sat, 24 Dec 2011 10:01:14 -0800 Message-ID: From: Michael Sierchio To: Bas Smeelen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: FLAME - security advisories on the 23rd ? uncool idea is uncool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 18:01:15 -0000 Careful reading, as opposed to blindly applying updates, is often rewarded. If you aren't running telnetd, it follows that you are not vulnerable to the most serious exploit addressed by the patch (remote root). I have had no trouble since applying the patch to 7.4 and 8.2 systems. YMMV= . Given the nature of the exploit, and the fact that it has been seen in the wild, there was not choice but to make the announcement and make the patch available. - M On Fri, Dec 23, 2011 at 2:54 PM, Bas Smeelen wrote: >>If a security advisory is announced, you have to patch, period! > > =A0>Happy holidays to all. Black hats too :) > > =A0>-- > =A0>George > > =A0It is up to the sysadmin. > =A0If your services are not affected, there is no need to patch. > =A0Although it's best to always keep your systems up to the latest. > =A0I think the security advisories are a good thing especially this time = of the year > =A0But like they say here it's a storm in a glass of water > =A0YMMV > =A0Cheers and happy holidays (holy-days :)) > > Disclaimer: http://www.ose.nl/email > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 18:05:39 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F505106566B for ; Sat, 24 Dec 2011 18:05:39 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 065778FC0A for ; Sat, 24 Dec 2011 18:05:38 +0000 (UTC) Received: by iadj38 with SMTP id j38so19572481iad.13 for ; Sat, 24 Dec 2011 10:05:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=H6LSCfLMpz2488LYuIBCiBGsBidUukxNvfxoPW2GSpQ=; b=DKotLXRioNuiG0RheZ9b5T7dQ8EdxHiQc3umtdW8+24E7c2HFi6zIT6OLc0EvzmfGx 7ySr7jofmyOjkAHAG9pDlkPGRE4j1u/rvTtw4l2TEoBOrTiVDJ0EmFCM1M7Q4IdwdGdF gRwx7+PeOs0OH7F7CXn7bJLZt8jvDzJfSkhA8= MIME-Version: 1.0 Received: by 10.43.65.79 with SMTP id xl15mr20016459icb.6.1324748254341; Sat, 24 Dec 2011 09:37:34 -0800 (PST) Received: by 10.231.28.144 with HTTP; Sat, 24 Dec 2011 09:37:34 -0800 (PST) In-Reply-To: References: Date: Sat, 24 Dec 2011 09:37:34 -0800 Message-ID: From: Waitman Gobble To: FreeBSD Questions List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Revision control advice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 18:05:39 -0000 On Sat, Dec 24, 2011 at 9:22 AM, Chris Hill wrote: > On Wed, 21 Dec 2011, Chris Hill wrote: > > I'm looking to set up some sort of revision control system at work. >> > > Thank you to everyone who replied. Based on what I've found out, I think = I > will be setting up git on a test server so I can get familiar with it. > > Thanks again, and a happy $HOLIDAY to all. > > I find this article about setting up git on FreeBSD to be helpful: http://forums.freebsd.org/showthread.php?t=3D10810 Happy Holidays, Waitman Gobble San Jos=E9 California USA From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 18:08:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5FD4106564A for ; Sat, 24 Dec 2011 18:08:54 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from mailfilter31.ihug.co.nz (mailfilter31.ihug.co.nz [203.109.136.31]) by mx1.freebsd.org (Postfix) with ESMTP id 470B48FC08 for ; Sat, 24 Dec 2011 18:08:53 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=rLIBlA-vWZoA:10 a=8nJEP1OIZ-IA:10 a=w7OezyZoM4UgAbyPqUUjXw==:17 a=d6porMKmAAAA:8 a=dzR9gcC32ikYXEw47E4A:9 a=wPNLvfGTeEIA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAGoU9k52XBcp/2dsb2JhbABDFqwjgQaBcgEBBTgeIgEQCw4KCQ0BCA8JAwIBAgEnHgYNAQcBAYd+twWDfYR0AYMdBJUCjgCESg X-IronPort-AV: E=Sophos;i="4.71,404,1320577200"; d="scan'208";a="79173347" Received: from 118-92-23-41.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.92.23.41]) by cust.filter2.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Dec 2011 07:08:52 +1300 Received: from mylar.luckie.org.nz ([192.168.1.24]) by spandex.luckie.org.nz with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ReW1b-0000Xw-MR; Sun, 25 Dec 2011 07:08:51 +1300 Message-ID: <4EF61556.9000108@luckie.org.nz> Date: Sun, 25 Dec 2011 07:09:26 +1300 From: Matthew Luckie User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: Warren Block References: <4EF59C88.2010202@luckie.org.nz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 18:08:54 -0000 On 12/25/11 04:45, Warren Block wrote: > On Sat, 24 Dec 2011, Matthew Luckie wrote: > >> However, when I use cu on the laptop: >> >> sudo cu -l /dev/cuaU0 -s 9600 >> >> I never get a login prompt. If I press enter, the cursor scrolls down. >> Likewise other characters echo back. I'm reasonably sure that I'm >> connected to the appropriate com port on the server because if I plug >> it into the other com port and press enter, nothing happens. > > Might there be something else on the server using/trying to use that com > port at the same time, like apcupsd? > > Running cu on the server (after resetting the config) would allow > manually typing characters to see if they come out of the right port. Thanks for your reply, Warren. I do run apcupsd, though it uses a usb port for communications with the UPS and is configured to do so. I turned apcupsd off in rc.conf, as well as commented out the getty line for the port, and rebooted the system. Then, I used cu on the server and found characters were sent both ways over the serial cable. I then added the /etc/ttys entry back and rebooted. When I used cu on the laptop it behaved as before -- i.e. no login prompt. If I tried using cu on the server, it timed out after about 10 seconds and said "link down". Any further tips? I've put the server's apcupsd.conf, /etc/rc.conf, and dmesg.boot at http://www.wand.net.nz/~mluckie/apcupsd.conf http://www.wand.net.nz/~mluckie/rc.conf http://www.wand.net.nz/~mluckie/dmesg.boot Matthew From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 18:15:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44B5E1065672 for ; Sat, 24 Dec 2011 18:15:24 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from mailfilter30.ihug.co.nz (mailfilter30.ihug.co.nz [203.109.136.30]) by mx1.freebsd.org (Postfix) with ESMTP id D75718FC17 for ; Sat, 24 Dec 2011 18:15:23 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=rLIBlA-vWZoA:10 a=IkcTkHD0fZMA:10 a=w7OezyZoM4UgAbyPqUUjXw==:17 a=6I5d2MoRAAAA:8 a=MuQI5dkTAAAA:8 a=8NZjK4SrvEd8-msmTywA:9 a=sFVB1YKS4ZfVSHmtCakA:7 a=QEXdDO2ut3YA:10 a=-LCMuRE4GsYA:10 a=9GUppweYLAgA:10 a=r_klr6zk-y8A:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAFAE8W9k52XBcp/2dsb2JhbAApGoUPpyqBBoFyAQEFIxUeIgEQCxgCAgUNAQgLAgIJAwIBAgEnHgYNAQcBAQWHeSOlSJEVgS+HQgGCB4EWBJUCjgCESg X-IronPort-AV: E=Sophos;i="4.71,404,1320577200"; d="scan'208";a="149773903" Received: from 118-92-23-41.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.92.23.41]) by cust.filter1.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Dec 2011 07:15:22 +1300 Received: from mylar.luckie.org.nz ([192.168.1.24]) by spandex.luckie.org.nz with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ReW7t-0000ZH-Sb; Sun, 25 Dec 2011 07:15:21 +1300 Message-ID: <4EF616DC.7000408@luckie.org.nz> Date: Sun, 25 Dec 2011 07:15:56 +1300 From: Matthew Luckie User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: Mehmet Erol Sanliturk References: <4EF59C88.2010202@luckie.org.nz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 18:15:24 -0000 On 12/25/11 01:17, Mehmet Erol Sanliturk wrote: > Perhaps the following pages will be helpful : > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html#SERIAL-CABLES-PORTS > http://www.freebsddiary.org/serial-console.php > > Thank you very much . I've read them while trying to get this going. Just a comment on the freebsd handbook pages: they seem to still talk about the sio driver which I understand is deprecated in freebsd8. One thing I have not done is touch /boot/loader.conf. I'm not worried about seeing the system boot messages, just the ability to login after the system has booted -- i.e. I did not do step 2 of 27.6.2. Should I have? Matthew From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 18:46:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77B13106566B for ; Sat, 24 Dec 2011 18:46:47 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 40BD48FC12 for ; Sat, 24 Dec 2011 18:46:46 +0000 (UTC) Received: by iadj38 with SMTP id j38so19620129iad.13 for ; Sat, 24 Dec 2011 10:46:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Uxgc0ylgrV63kvbX11mezwS8xOXEM5F7JPXJiN3QLI0=; b=c4p4EQlolXQkP5IqZWDrgd5+7jB9p2rgHP92kkQb0keYTO3pB15T7kpp5P4RpXSw+j 5n/lEOmyvzEqp+l91LeHHku1c/s85N2cw6EmqA01MlR5PB1KYjYFqtO7ktCF10o7pi3Z DGhLKabYwxxOd3iQSB++pht0ANXGFrl60WrLc= MIME-Version: 1.0 Received: by 10.42.163.200 with SMTP id d8mr19916234icy.41.1324752406396; Sat, 24 Dec 2011 10:46:46 -0800 (PST) Received: by 10.42.166.201 with HTTP; Sat, 24 Dec 2011 10:46:46 -0800 (PST) In-Reply-To: <4EF616DC.7000408@luckie.org.nz> References: <4EF59C88.2010202@luckie.org.nz> <4EF616DC.7000408@luckie.org.nz> Date: Sat, 24 Dec 2011 13:46:46 -0500 Message-ID: From: Mehmet Erol Sanliturk To: Matthew Luckie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 18:46:47 -0000 On Sat, Dec 24, 2011 at 1:15 PM, Matthew Luckie wrote: > On 12/25/11 01:17, Mehmet Erol Sanliturk wrote: > >> Perhaps the following pages will be helpful : >> >> http://www.freebsd.org/doc/en_**US.ISO8859-1/books/handbook/** >> serialconsole-setup.html >> http://www.freebsd.org/doc/en_**US.ISO8859-1/books/handbook/** >> serial.html#SERIAL-CABLES-**PORTS >> http://www.freebsddiary.org/**serial-console.php >> >> Thank you very much . >> > > I've read them while trying to get this going. Just a comment on the > freebsd handbook pages: they seem to still talk about the sio driver which > I understand is deprecated in freebsd8. > > One thing I have not done is touch /boot/loader.conf. I'm not worried > about seeing the system boot messages, just the ability to login after the > system has booted -- i.e. I did not do step 2 of 27.6.2. Should I have? > > Matthew > I think , YES , because this statement will direct the output to serial port , please , also study the part 2 7.6.5.1 Setting a Faster Serial Port Speed to see messages on the server screen . Since you are using a COMPUTER , and NOT a DUMP TERMINAL , I think you should apply steps in the page : http://www.freebsddiary.org/serial-console.php As you know , "serial console" is a special hardware to communicate headless computers ( without keyboard and video terminal ) . Therefore , communication with a "serial console" and a "computer" are different concepts ( which I do not know exactly , but with respect to specifications , it seems like that ) . This means that , in the client computer ( as simulator of "serial console" ) , it is necessary to have a program to receive output inserted into serial port by the server , and display it for you like a "serial console" . If you use a USB port in the client and a converter from "serial-to-USB" , obviously , you need that your program should be able to manage USB port for that reason . I think management of USB port and RS 232 port are very different concepts ( approximately ) . These actions are performed by the "serial console" by itself . Myself , I will use two computers to simulate a "serial console" , because I asked price of a "serial console" , which come out as more than 800 Euro ( in Turkey ) . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 18:57:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9120E1065672 for ; Sat, 24 Dec 2011 18:57:39 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 20CC68FC12 for ; Sat, 24 Dec 2011 18:57:38 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBOIv6ka057518; Sat, 24 Dec 2011 19:57:06 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id DD9B6BACF; Sat, 24 Dec 2011 19:57:05 +0100 (CET) Date: Sat, 24 Dec 2011 19:57:05 +0100 From: Roland Smith To: Da Rock Message-ID: <20111224185705.GB48478@slackbox.erewhon.net> References: <20111223142252.GC660@slackbox.erewhon.net> <4EF49DDB.2060609@herveybayaustralia.com.au> <20111223173139.GA7648@slackbox.erewhon.net> <4EF4FAAA.1020603@herveybayaustralia.com.au> <20111223232102.GA20961@slackbox.erewhon.net> <4EF51572.4060507@herveybayaustralia.com.au> <20111224013458.GA25515@slackbox.erewhon.net> <4EF53795.1090409@herveybayaustralia.com.au> <20111224120849.GA40495@slackbox.erewhon.net> <4EF5C945.5070800@herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: <4EF5C945.5070800@herveybayaustralia.com.au> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: PolicyKit confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 18:57:39 -0000 --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 24, 2011 at 10:44:53PM +1000, Da Rock wrote: > > And yes, that will block write calls until they're truely done. > You said that was slower too. A bit. But I think it is a good trade-off for filesystems on USB disks. It certainly circumvents a whole lot of problems with filesystem consistency a= nd stuff. > All valid points. What it boils down to is if you yank the power or the= =20 > disk during write you're screwed no matter what fancy tricks you play-=20 > include hal/dbus/blah! bull crap.=20 Yep. :-) > You have tickled my imaginationings again, and I have an idea to throw=20 > at the gurus on the list (including you Roland): Assuming null/void=20 > computer literacy, and the use of a DE; what if one had an (can't be a=20 > script can it - pointless. Thinking on the fly here...) applet? dock=20 > notifier? that indicated the disk was in use and not to remove -=20 > primarily for a "blinkered" user that is missing the flashing led on the= =20 > drive (or one missing an led)? Stays on top, flashing on the screen. Use= =20 > mount -d to test disk status, then lets you know that it can be removed.= =20 > I still have to test this, but I thought I'd throw it out there. Just add a button to that applet that is called "eject" or "remove" (or something like that) and have that unmount the fs in question. Then put up a dialog or notification saying "The USB device can be removed" or something = of that nature. That's basically what windows does, and it works well enough. > Basically, the situation (that I have found myself in numerous times) is= =20 > the write stops to the disk because the buffers need to reach a certain= =20 > level before write occurs, or umount. So one can mistakenly assume that= =20 > all is kocher and find no file when they reinsert. Files are lost that=20 > way, and at the least its annoying. That can still even occur with hal=20 > and blah blah blah. I'd still advocate mounting these discs with '-o sync'. Yes, it is a bit slower but it prevents a lot of trouble and is a lot easier. > Is this feasible though? If the user still can't pay attention to _all_= =20 > of that then they're not worth worrying about- can't be holding their=20 > hand the whole time :) Then, using devd, one can implement the=20 > mount/umount scripts with a quick fsck on insertion to be sure ICIE (In= =20 > Case of Idiot Event). Unmounting with devd is just triage. Umount cannot do some useful things (l= ike flushing buffers) if the disk has already been removed! It can only remove = the mount so you won't get trouble when the user sticks the device back in. And on a 4 GiB thumbdrive, I doubt an fsck is going to be really quick! Remember that the drive will be basically unusable when the check is in progress. I could imagine getting all kinds of complaints from users in the shape of "I plugged it in and it doesn't work". It should not be too difficult to write a script that is called from devd w= hen a new USB device is detected (I think you should watch for CREATE events fr= om the CDEV subsystem of the DEVFS system). I think it should check /dev first for new disk labels (/dev/msdosfs or /dev/ufs) and second for for disk devices, and try and mount them using appropriate filesystems under /mnt/$USER/$NUM (the latter because there might be more than one USB device= in use). Optionally it could also launch a new instance or new window of the user's file manager, depending on how much hand-holding and customization y= ou want to do. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk72IIEACgkQEnfvsMMhpyXJwACgknTmtF7aOcTgWNc10DTQMe6O BuEAnicCleS5/Fs+KWxgUQjXFdXNeH0b =6kqD -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 20:06:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418161065670 for ; Sat, 24 Dec 2011 20:06:25 +0000 (UTC) (envelope-from mjl@luckie.org.nz) Received: from mailfilter38.ihug.co.nz (mailfilter38.ihug.co.nz [203.109.136.38]) by mx1.freebsd.org (Postfix) with ESMTP id D8CB68FC0A for ; Sat, 24 Dec 2011 20:06:24 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=rLIBlA-vWZoA:10 a=IkcTkHD0fZMA:10 a=VFkhfONSR655BmY+lBbjUw==:17 a=VhVxFnc1AAAA:8 a=OISBzU9pocW2NpJogLIA:9 a=QEXdDO2ut3YA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgEFAKYv9k52Xbwy/2dsb2JhbABDhQ+nK4EGgXIBAQUjFR4iARALGAICBQ0BCAgDAgIJAwIBAgEnDREGDQEFAgEBrWORD4Evh0IBggeBFgSVAo4AhEo X-IronPort-AV: E=Sophos;i="4.71,404,1320577200"; d="scan'208";a="164721096" Received: from 118-93-188-50.dsl.dyn.ihug.co.nz (HELO spandex.luckie.org.nz) ([118.93.188.50]) by cust.filter7.content.vf.net.nz with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Dec 2011 09:06:23 +1300 Received: from mylar.luckie.org.nz ([192.168.1.24]) by spandex.luckie.org.nz with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ReXrK-0000XL-Ls; Sun, 25 Dec 2011 09:06:22 +1300 Message-ID: <4EF630E1.1020301@luckie.org.nz> Date: Sun, 25 Dec 2011 09:06:57 +1300 From: Matthew Luckie User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: Mehmet Erol Sanliturk References: <4EF59C88.2010202@luckie.org.nz> <4EF616DC.7000408@luckie.org.nz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: serial consoles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 20:06:25 -0000 On 12/25/11 07:46, Mehmet Erol Sanliturk wrote: > > > On Sat, Dec 24, 2011 at 1:15 PM, Matthew Luckie > wrote: > > One thing I have not done is touch /boot/loader.conf. I'm not > worried about seeing the system boot messages, just the ability to > login after the system has booted -- i.e. I did not do step 2 of > 27.6.2. Should I have? > > Matthew > > > > I think , YES , because this statement will direct the output to serial > port , please , also study the part $ cat /boot.config -D This was sufficient to get the setup I wanted -- the ability to login over a serial port should I want to. Sorry for the noise, this was all in the handbook. Matthew From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 22:54:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B11D9106566B for ; Sat, 24 Dec 2011 22:54:40 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc2.surewest.net (rc2.surewest.net [66.60.130.51]) by mx1.freebsd.org (Postfix) with ESMTP id 867168FC18 for ; Sat, 24 Dec 2011 22:54:40 +0000 (UTC) Received: from smtp4.surewest.net ([66.60.130.145]) by rc2.surewest.net ({1b970212-ad71-403b-a2dd-d897d2565e71}) via TCP (outbound) with ESMTP id 20111224223548720 for ; Sat, 24 Dec 2011 22:35:48 +0000 X-RC-FROM: X-RC-RCPT: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp4.surewest.net (Postfix) with ESMTP id 805048944B for ; Sat, 24 Dec 2011 14:35:48 -0800 (PST) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 49AFC9C256 for ; Sat, 24 Dec 2011 14:35:48 -0800 (PST) Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPS id 89B501657FE for ; Sat, 24 Dec 2011 14:35:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1324766148; bh=JFQKfK2dv8mHm0SQnfmmwd6rrGSieu4PoK91+5LvqFw=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=P6EvWZfxphR1FjhNo4Xiqls+iEX2xA9upnG6K6VjWmLLXw0cHdCpDYT4rZAatayMM phFfUt/sdRpDoaETVNPsOHr2u4hl/oMX2DHtTJPLLsvW4pGxTC+6HIpeSNr8vgbE9y YqEJxB2+cYJGXq0inLRzfzsRWvKIPbvx/5jq1oNg= Message-ID: <4EF653B7.2070500@mykitchentable.net> Date: Sat, 24 Dec 2011 14:35:35 -0800 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111224-1, 12/24/2011), Outbound message X-Antivirus-Status: Clean Subject: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 22:54:40 -0000 I've lost a drive in my FBSD 8.? box. I have a FBSD 8.1 LiveFS CD from which I've booted. I'd like to get sshd running so I can connect remotely and have the ability to browse, copy/paste, etc. while I see what I might be able to salvage before replacing my drive. I've found these directions: http://wiki.ggis.biz/index.php/Recover_Using_LiveFS I can do the "Configure the network connection", the "setup login shell for root", and the "Prepare SSH" part. However the "Enable, configure, and start sshd" part doesn't seem to apply and really doesn't make sense. Bottom line is that after running /mnt2/use/sbin/sshd, I can see the process in ps output. However when I attempt to connect to sshd as root, my connection is immediately closed. I'm thinking it's a PermitRootLogin yes issue and I'm missing something but I've read and re-read that section and verified that /etc/ssh/sshd_config contains PermitRootLogin yes. Can anyone tell me how to get sshd running or point me to a better link? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com