From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 00:08:32 2010 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 842C0106566C for ; Sun, 17 Jan 2010 00:08:32 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id 42A138FC0C for ; Sun, 17 Jan 2010 00:08:32 +0000 (UTC) Received: from kanga.honeypot.net (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 585C8340B8 for ; Sat, 16 Jan 2010 18:08:31 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by kanga.honeypot.net (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gxmXTaKtyt1R for ; Sat, 16 Jan 2010 18:08:28 -0600 (CST) Received: from [10.0.7.105] (wlan2-105.honeypot.net [10.0.7.105]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id A7900340B3 for ; Sat, 16 Jan 2010 18:08:28 -0600 (CST) Message-ID: <4B5254FE.1000907@strauser.com> Date: Sat, 16 Jan 2010 18:08:30 -0600 From: Kirk Strauser User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7pre) Gecko/20091214 Shredder/3.0.1pre MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> In-Reply-To: <1263673588.1541.60.camel@hood.oook.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 00:08:32 -0000 On 01/16/2010 02:26 PM, Pav Lucistnik wrote: > What is the particular scenario that the new conflicts handling broke > for you? Often you really want to ignore locally installed packages and > then it's better to override LOCALBASE to /nonex or something similar, > instead of disabling conflict handling.. Pav, I'm the OP, and described the problem in the first post. To recap, though, say I want to upgrade from the databases/mysql50-client port to databases/mysql51-client. Without taking extra steps such as using -DDISABLE_CONFLICTS or removing the CONFLICTS definition from the Makefile, I can't even start downloading the distfiles (using "make fetch") until I pkg_delete the old version. With the old system, I could do everything up through building the new port so that the time between running pkg_delete and "make reinstall" is minimized. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 00:22:01 2010 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 2F65F1065676 for ; Sun, 17 Jan 2010 00:22:01 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id EA9138FC08 for ; Sun, 17 Jan 2010 00:22:00 +0000 (UTC) Received: from kanga.honeypot.net (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 7F48B342B6 for ; Sat, 16 Jan 2010 18:22:00 -0600 (CST) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by kanga.honeypot.net (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j2TU8qeQ4FN1 for ; Sat, 16 Jan 2010 18:21:58 -0600 (CST) Received: from [10.0.7.105] (wlan2-105.honeypot.net [10.0.7.105]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id E5D54342A7 for ; Sat, 16 Jan 2010 18:21:56 -0600 (CST) Message-ID: <4B525827.1090309@strauser.com> Date: Sat, 16 Jan 2010 18:21:59 -0600 From: Kirk Strauser User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7pre) Gecko/20091214 Shredder/3.0.1pre MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: To jail, or not to jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 00:22:01 -0000 I've been having fun playing with jails on my home server. There's one for databases, one for a webserver, another for using as a play shell server, etc. We use jails heavily at work for encapsulating services, and I can make a pretty good argument there for doing so. In general, though, do you see jails as particularly important or useful when not in a hosting environment where you're giving root access to an untrusted party? How far do you go toward segregating services? Theoretically, you could have a jail per daemon, but it seems like down that path lies madness. -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 00:47:20 2010 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 5F246106566C for ; Sun, 17 Jan 2010 00:47:20 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id D38AF8FC0A for ; Sun, 17 Jan 2010 00:47:19 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0H0lIIg075092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 17 Jan 2010 01:47:18 +0100 (CET) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [127.0.0.1]) by yokozuna.lan (8.14.3/8.14.3) with ESMTP id o0H0lHgG099686; Sun, 17 Jan 2010 01:47:17 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Sun, 17 Jan 2010 01:47:17 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: Yuri Pankov In-Reply-To: <20100116233648.GC1729@darklight.org.ru> Message-ID: References: <20100116233648.GC1729@darklight.org.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: changing place of .core files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2010 00:47:20 -0000 On Sun, 17 Jan 2010, Yuri Pankov wrote: > Check core(5). > > > HTH, > Yuri Thanks, this is what I was looking for. Regards, Marco -- Never argue with a woman when she's tired -- or rested. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 01:06:25 2010 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 4D84E106568D for ; Sun, 17 Jan 2010 01:06:25 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx2.utsp.utwente.nl [130.89.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5B88FC1B for ; Sun, 17 Jan 2010 01:06:24 +0000 (UTC) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id o0H132F4005678; Sun, 17 Jan 2010 02:03:02 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sun, 17 Jan 2010 02:03:01 +0100 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001170203.02499.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Thomas Hummel Subject: Re: Sound (micro-)interrupts with 8.0 stable/snd_hda/mplayer/vlc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 01:06:25 -0000 On Saturday 16 January 2010 19:17:18 Thomas Hummel wrote: > Hello, > > I'm not really sure what the right list is since I cannot isolate the part > of > the system which cause the problem : > > I could use a little help on a weird sound issue I'm struggling with : > > 1. Description : > ------------------------ > > When playing audio files, the sound has from few to many > "micro-interrupts" > (less than 1/4 of a second), randomly but frequently (so this is not hard > to > reproduce). This seem to occur : > > . with any file (I can pick a random audio file to experience it) > . with either mp3 or flaac encoded files > . with mplayer (from the ports collection or hand compiled from svn), > either with oss or sdl audio output (although sdl seems to have less > "interrupts") > . with vlc > > but > > . not with ffplay > . apparently not with xine > . apparently not with amarok Amarok uses xine. All of the above ultimately use OSS to output the sound. > > -> so I doubt this may be a harware or a driver issue. > > and on a almost idle 4GB RAM machine running only KDE-4 and firefox-3 > > no hints shows in /var/log/messages > > 2. Config : > ------------ > > I'm running : > > . 8.0-STABLE FreeBSD amd64 > > . full zfs (no ufs) (files are on a "slow" disk pool (5400 rpm) but > moving them to the "fast" system disk (7200 rpm) doesn't change anything > > . on a (bios up to date) P5Q3 ASUS motherboard > > . with snd_hda sound driver [snip] Try increasing the hw.snd.latency sysctl: hw.snd.latency Configure the buffering latency. Only affects applications that do not explicitly request blocksize / fragments. This tunable provides finer granularity than the hw.snd.latency_profile tun- able. Possible values range between 0 (lowest latency) and 10 (highest latency). Just thinking out loud here, but maybe you have some non-standard HZ configured or powerd configured to clock the CPU back by an extreme amount, both could theoretically cause buffer underruns. - Pieter From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 01:32:14 2010 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 04CF61065695 for ; Sun, 17 Jan 2010 01:32:14 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id 7ED858FC08 for ; Sun, 17 Jan 2010 01:32:13 +0000 (UTC) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id o0H1VvdU015725; Sun, 17 Jan 2010 02:31:58 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Sun, 17 Jan 2010 02:31:57 +0100 User-Agent: KMail/1.9.10 References: <267304.99050.qm@web56508.mail.re3.yahoo.com> In-Reply-To: <267304.99050.qm@web56508.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001170231.57638.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Neil Short Subject: Re: need a Mencoder expert X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 01:32:14 -0000 On Saturday 16 January 2010 20:13:34 Neil Short wrote: > I have a VOB file that I need to convert to something playable on a Sony > Walkman NWZ-E344. > > The walkman wants an ASF container, resolution of 320x240 (or less), wmv9 > codec, wma 2 codec, 30 frames per second, video bitrate of less than or > equal to 768k. If it only accepts WMV3 (Windows Media Video 9) then you're out of luck. FFmpeg, and by extension, mencoder, do not support WMV3 encoding. There appears to be a patch floating around on the internet which adds WMV3 encoding support to ffmpeg, but it is at least 2 years old... You can try WMV2 or even WMV1 (Windows Media Video 8 and 7 respectively). Both are supported by ffmpeg: ffmpeg -i somevideo -vcodec wmv2 -acodec wmav2 -b 768k -s qvga test.asf - Pieter > > I cannot seem to get a mencoder (nor ffmpeg) encoding line to work. > > Here's some data on a video that works: > $ ffmpeg -i Butterfly.wmv > .... > [wmv3 @ 0x29707c10]Extra data: 8 bits left, value: 0 > > Seems stream 1 codec frame rate differs from container frame rate: 1000.00 > (1000/1) -> 29.97 (30000/1001) Input #0, asf, from 'Butterfly.wmv': > Duration: 00:00:08.21, start: 5.000000, bitrate: 1126 kb/s > Stream #0.0: Audio: wmav2, 44100 Hz, stereo, s16, 96 kb/s > Stream #0.1: Video: wmv3, yuv420p, 320x208, 768 kb/s, 29.97 tbr, 1k > tbn, 1k tbc > > mplayer -identify Butterfly.wmv > .... > Playing Butterfly.wmv. > ASF file format detected. > ID_AUDIO_ID=1 > [asfheader] Audio stream found, -aid 1 > ID_VIDEO_ID=2 > [asfheader] Video stream found, -vid 2 > VIDEO: [WMV3] 320x208 24bpp 1000.000 fps 768.0 kbps (93.8 kbyte/s) > ID_FILENAME=Butterfly.wmv > ID_DEMUXER=asf > ID_VIDEO_FORMAT=WMV3 > ID_VIDEO_BITRATE=768000 > ID_VIDEO_WIDTH=320 > ID_VIDEO_HEIGHT=208 > ID_VIDEO_FPS=1000.000 > ID_VIDEO_ASPECT=0.0000 > ID_AUDIO_FORMAT=353 > ID_AUDIO_BITRATE=0 > ID_AUDIO_RATE=0 > ID_AUDIO_NCH=0 > ID_LENGTH=15.00 > Opening video filter: [screenshot=yes] > ========================================================================== > Requested video codec family [wmv9dmo] (vfm=dmo) not available. > Enable it at compilation. > Requested video codec family [wmvdmo] (vfm=dmo) not available. > Enable it at compilation. > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family > [wmv3 @ 0x882b6f0]Extra data: 8 bits left, value: 0 > Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg M$ WMV3/WMV9) > ========================================================================== > ID_VIDEO_CODEC=ffwmv3 > ========================================================================== > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders > AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.81% (ratio: 12005->176400) > ID_AUDIO_BITRATE=96040 > ID_AUDIO_RATE=44100 > ID_AUDIO_NCH=2 > Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) > ========================================================================== > AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) > ID_AUDIO_CODEC=ffwmav2 > Starting playback... > VDec: vo config request - 320 x 208 (preferred colorspace: Planar YV12) > VDec: using Planar YV12 as output csp (no 0) > Movie-Aspect is undefined - no prescaling applied. > [swscaler @ 0x8827710]SwScaler: using unscaled yuv420p -> bgr24 special > converter VO: [xv] 320x208 => 320x208 Planar YV12 > New_Face failed. Maybe the font path is wrong. > Please supply the text font file (~/.mplayer/subfont.ttf). > subtitle font: load_sub_face failed. > .... > > > ====== > > "What did you do?" the man holding the flashlight asked. > > "I put down a spider," he said, wondering why the man didn't see; in the > beam of yellow light the spider bloated up larger than life. "So it could > get away." > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 01:39:31 2010 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 ADAC61065670 for ; Sun, 17 Jan 2010 01:39:31 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 157658FC0C for ; Sun, 17 Jan 2010 01:39:30 +0000 (UTC) Received: by ewy26 with SMTP id 26so2218536ewy.3 for ; Sat, 16 Jan 2010 17:39:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.89.5 with SMTP id b5mr1573701wef.143.1263690935387; Sat, 16 Jan 2010 17:15:35 -0800 (PST) Date: Sat, 16 Jan 2010 20:15:35 -0500 Message-ID: <322efb7b1001161715s47de3bcdqd40e6efabaf57a9b@mail.gmail.com> From: The-IRC FreeBSD To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Errors on UFS Partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 01:39:31 -0000 Hi, I am sorry if I am asking a question that might have been brought up before I have attempted to research my issue but it has many angles it might be listed under so please bare with me. We have had ongoing problems with UFS Errors on our root partition (and any additional partition that did not have soft-updates enabled by default) and we recently had a problem with a secondary drive that housed home directories completely filled up and then everything locked up due-to huge CPU and Memory usage because nothing was able to write to the drive but when the server was rebooted it failed to bootup because of critical errors on the root partition. We have /etc and /usr on the root partition and our home/var partitions mistakenly do not have soft-updates flag set. ::dmesg:: http://the-irc.com/dmesg ::mount:: /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad4s1d on /home (ufs, local, with quotas) /dev/ad4s1e on /tmp (ufs, local, noexec, nosuid, soft-updates) /dev/ad4s1f on /var (ufs, local) devfs on /var/named/dev (devfs, local, multilabel) procfs on /proc (procfs, local) /dev/ad0s1e on /Backups (ufs, local, soft-updates) /dev/ad0s1d on /root (ufs, local, soft-updates) ::fsck /:: ** /dev/ad4s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=361477 OWNER=root MODE=100666 SIZE=144464 MTIME=Jan 1 03:59 2010 CLEAR? no UNREF FILE I=966786 OWNER=root MODE=100644 SIZE=0 MTIME=Jan 15 23:02 2010 CLEAR? no ** Phase 5 - Check Cyl groups SUMMARY INFORMATION BAD SALVAGE? no BLK(S) MISSING IN BIT MAPS SALVAGE? no 549534 files, 4784719 used, 2830920 free (47200 frags, 347965 blocks, 0.6% fragmentation) ::fsck /home:: ** /dev/ad4s1d (NO WRITE) ** Last Mounted on /home ** Phase 1 - Check Blocks and Sizes INCORRECT BLOCK COUNT I=1957573 (4 should be 0) CORRECT? no INCORRECT BLOCK COUNT I=10270973 (300 should be 0) CORRECT? no INCORRECT BLOCK COUNT I=10270976 (44 should be 0) CORRECT? no INCORRECT BLOCK COUNT I=10271040 (48 should be 0) CORRECT? no INCORRECT BLOCK COUNT I=11871624 (4 should be 0) CORRECT? no ** Phase 2 - Check Pathnames UNALLOCATED I=732010 OWNER=agrippas MODE=100600 SIZE=33868 MTIME=Jan 16 19:05 2010 FILE=/agrippas/services/lib/akill.db REMOVE? no UNALLOCATED I=4545818 OWNER=port1080 MODE=100600 SIZE=2052 MTIME=Jan 16 19:06 2010 FILE=/port1080/services/nick.db REMOVE? no ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=730879 OWNER=agrippas MODE=100664 SIZE=3020510 MTIME=Jan 16 18:54 2010 CLEAR? no LINK COUNT FILE I=732011 OWNER=agrippas MODE=0 SIZE=0 MTIME=Jan 16 19:05 2010 COUNT 0 SHOULD BE -1 ADJUST? no UNREF FILE I=2359889 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2359928 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2359930 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2359931 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2359932 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2359934 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360094 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360101 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360103 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360104 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360118 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360121 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360122 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360123 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 10 17:20 2010 CLEAR? no UNREF FILE I=2360124 OWNER=killjoyr MODE=100600 SIZE=0 MTIME=Jan 11 00:02 2010 CLEAR? no UNREF FILE I=2920477 OWNER=marianus MODE=100644 SIZE=6 MTIME=Jan 2 20:27 2010 CLEAR? no UNREF FILE I=2920480 OWNER=marianus MODE=100644 SIZE=6 MTIME=Jan 2 20:27 2010 CLEAR? no LINK COUNT FILE I=4545817 OWNER=port1080 MODE=0 SIZE=0 MTIME=Jan 16 19:06 2010 COUNT 0 SHOULD BE -1 ADJUST? no UNREF FILE I=6267525 OWNER=chijiru MODE=100644 SIZE=5 MTIME=Jan 2 10:05 2010 CLEAR? no UNREF FILE I=6760292 OWNER=jibbanet MODE=100644 SIZE=6 MTIME=Jan 10 20:21 2010 CLEAR? no UNREF FILE I=7089454 OWNER=talkingi MODE=100600 SIZE=0 MTIME=Jan 10 22:22 2010 CLEAR? no UNREF FILE I=8668793 OWNER=mutrcom MODE=100660 SIZE=1074 MTIME=Jan 8 14:32 2010 CLEAR? no UNREF FILE I=9752529 OWNER=gigircco MODE=100600 SIZE=0 MTIME=Jan 11 00:25 2010 CLEAR? no UNREF FILE I=9752883 OWNER=gigircco MODE=100600 SIZE=18 MTIME=Jan 12 00:04 2010 CLEAR? no UNREF FILE I=9895015 OWNER=apexeon MODE=100600 SIZE=21 MTIME=Jan 11 00:03 2010 CLEAR? no UNREF FILE I=10270973 OWNER=goodtime MODE=0 SIZE=0 MTIME=Jan 16 19:06 2010 CLEAR? no UNREF FILE I=10270976 OWNER=goodtime MODE=0 SIZE=0 MTIME=Jan 16 19:06 2010 CLEAR? no UNREF FILE I=10271040 OWNER=goodtime MODE=0 SIZE=0 MTIME=Jan 16 19:06 2010 CLEAR? no UNREF FILE I=12107785 OWNER=chihuahu MODE=100644 SIZE=26585 MTIME=Jan 12 21:45 2010 CLEAR? no UNREF FILE I=12107792 OWNER=chihuahu MODE=100644 SIZE=5005 MTIME=Jan 13 09:00 2010 CLEAR? no UNREF FILE I=12107793 OWNER=chihuahu MODE=100644 SIZE=20045 MTIME=Jan 12 21:12 2010 CLEAR? no UNREF FILE I=12107794 OWNER=chihuahu MODE=100644 SIZE=6 MTIME=Jan 3 03:22 2010 CLEAR? no UNREF FILE I=12107811 OWNER=chihuahu MODE=100644 SIZE=4312 MTIME=Jan 13 07:30 2010 CLEAR? no UNREF FILE I=12152959 OWNER=chihuahu MODE=100600 SIZE=0 MTIME=Jan 11 09:46 2010 CLEAR? no UNREF FILE I=12789320 OWNER=bitunite MODE=100600 SIZE=0 MTIME=Jan 11 00:03 2010 CLEAR? no ** Phase 5 - Check Cyl groups BLK(S) MISSING IN BIT MAPS SALVAGE? no FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? no SUMMARY INFORMATION BAD SALVAGE? no 745441 files, 10985291 used, 39790082 free (85610 frags, 4963059 blocks, 0.2% fragmentation) To prevent letting these errors go out of control and not beable to fix the root partition errors without going into singleuser mode and the other partitions by mounting them with soft-updates flag, does anyone advise removing everything from the root partition and only leaving the bootloader and thus moving /etc and /usr (or most of all just /usr) to it's own partition or do you guys have a better solution. Every partition gets errors over time but if you are unable to correct them without downtime how are you to correct them before they get out of control? From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 02:12:06 2010 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 BBFCF1065670 for ; Sun, 17 Jan 2010 02:12:06 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 5B1508FC08 for ; Sun, 17 Jan 2010 02:12:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o0H2C5lm098958 for ; Sat, 16 Jan 2010 20:12:05 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8k1PcMSKjgWr for ; Sat, 16 Jan 2010 20:12:03 -0600 (CST) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.3) with ESMTP id o0H2Bx32098945 for ; Sat, 16 Jan 2010 20:12:00 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <4B5271EF.1010505@daleco.biz> Date: Sat, 16 Jan 2010 20:11:59 -0600 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.23 (X11/20090929) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <225661.56209.qm@smtp134.mail.ukl.yahoo.com> <20100115212043.GA88211@gizmo.acns.msu.edu> <4B50ED69.9070106@daleco.biz> <20100116011824.GA54772@guilt.hydra> In-Reply-To: <20100116011824.GA54772@guilt.hydra> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Server set up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 02:12:06 -0000 Chad Perrin wrote: > On Fri, Jan 15, 2010 at 04:34:17PM -0600, Kevin Kinsey wrote: >> NTFS comes with "NT" versions of Windows, that is, NT, Windows 2000, >> and everything since then. W95 and W98 used FAT filesystems. Fat32 >> was the default for Win98 IIRC. > > I know a lot of MS Windows users like to pretend WinME never existed, but > I like to think those of us in the FreeBSD community take a more honest > look at the world. Thus, for the sake of clarity: > > NTFS comes with "NT" versions of Windows -- that is, WinNT, Win2K, WinXP, > and everything since then. Win95, Win98, and WinME used FAT filesystems. > > I wouldn't want anyone to make some kind of grave error involving the > assumption that WinME used NTFS. . . . ROFL. I don't think I was being dishonest, certainly not intentionally. I did recently purchase a small notebook with "Windows 7" installed. I may have had my head infected by the Marketroid virus as a result. :-D So, yes Virginia, there was one "further" release with the (DOS-based?) Windows kernel, named WinME. Now, to be real pedantic, there was Windows 3.1 before Windows95, and before that, Windows 3.0, 2.1, 2.0, 1.0, and "Interface Manager". I'm feeling kinda sick now ... so, no more ROFL, maybe ROLF instead? Fi`ni. Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 02:28:55 2010 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 52752106566B for ; Sun, 17 Jan 2010 02:28:55 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 189228FC13 for ; Sun, 17 Jan 2010 02:28:54 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0H2SpB0017575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Jan 2010 20:28:51 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0H2Soxd040450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 16 Jan 2010 20:28:51 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0H2So83040447; Sat, 16 Jan 2010 20:28:50 -0600 (CST) (envelope-from dan) Date: Sat, 16 Jan 2010 20:28:50 -0600 From: Dan Nelson To: The-IRC FreeBSD Message-ID: <20100117022850.GH5651@dan.emsphone.com> References: <322efb7b1001161715s47de3bcdqd40e6efabaf57a9b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <322efb7b1001161715s47de3bcdqd40e6efabaf57a9b@mail.gmail.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sat, 16 Jan 2010 20:28:51 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: Errors on UFS Partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 02:28:55 -0000 In the last episode (Jan 16), The-IRC FreeBSD said: > I am sorry if I am asking a question that might have been brought up > before I have attempted to research my issue but it has many angles it > might be listed under so please bare with me. > > We have had ongoing problems with UFS Errors on our root partition (and > any additional partition that did not have soft-updates enabled by > default) and we recently had a problem with a secondary drive that housed > home directories completely filled up and then everything locked up due-to > huge CPU and Memory usage because nothing was able to write to the drive > but when the server was rebooted it failed to bootup because of critical > errors on the root partition. > > We have /etc and /usr on the root partition and our home/var partitions > mistakenly do not have soft-updates flag set. > > ::dmesg:: > http://the-irc.com/dmesg > > ::mount:: > /dev/ad4s1a on / (ufs, local) > devfs on /dev (devfs, local, multilabel) > /dev/ad4s1d on /home (ufs, local, with quotas) > /dev/ad4s1e on /tmp (ufs, local, noexec, nosuid, soft-updates) > /dev/ad4s1f on /var (ufs, local) > devfs on /var/named/dev (devfs, local, multilabel) > procfs on /proc (procfs, local) > /dev/ad0s1e on /Backups (ufs, local, soft-updates) > /dev/ad0s1d on /root (ufs, local, soft-updates) > > ::fsck /:: > ** /dev/ad4s1a (NO WRITE) fsck'ing a filesystem that is currently mounted read-write will always produce errors. Boot in single-user mode if you want to check the root filesystem or other fs'es that you can't dismount in multi-user mode. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 02:36:18 2010 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 18D98106566B for ; Sun, 17 Jan 2010 02:36:18 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4078FC19 for ; Sun, 17 Jan 2010 02:36:17 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NWKzv-0007Bk-0F for freebsd-questions@freebsd.org; Sun, 17 Jan 2010 03:36:15 +0100 Received: from pool-141-156-222-202.res.east.verizon.net ([141.156.222.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jan 2010 03:36:14 +0100 Received: from nightrecon by pool-141-156-222-202.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jan 2010 03:36:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 16 Jan 2010 21:35:47 -0500 Lines: 69 Message-ID: References: <322efb7b1001161715s47de3bcdqd40e6efabaf57a9b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-141-156-222-202.res.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: Errors on UFS Partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 02:36:18 -0000 The-IRC FreeBSD wrote: > Hi, > > I am sorry if I am asking a question that might have been brought up > before I have attempted to research my issue but it has many angles it > might be listed under so please bare with me. > > We have had ongoing problems with UFS Errors on our root partition (and > any additional partition that did not have soft-updates enabled by > default) and we recently had a problem with a secondary drive that housed > home directories completely filled up and then everything locked up due-to > huge CPU and Memory usage because nothing was able to write to the drive > but when the server was rebooted it failed to bootup because of critical > errors on the root partition. A healthy system does not get UFS errors during normal operation. > We have /etc and /usr on the root partition and our home/var partitions > mistakenly do not have soft-updates flag set. > > ::dmesg:: > http://the-irc.com/dmesg > > ::mount:: > /dev/ad4s1a on / (ufs, local) > devfs on /dev (devfs, local, multilabel) > /dev/ad4s1d on /home (ufs, local, with quotas) > /dev/ad4s1e on /tmp (ufs, local, noexec, nosuid, soft-updates) > /dev/ad4s1f on /var (ufs, local) > devfs on /var/named/dev (devfs, local, multilabel) > procfs on /proc (procfs, local) > /dev/ad0s1e on /Backups (ufs, local, soft-updates) > /dev/ad0s1d on /root (ufs, local, soft-updates) [snip] > > To prevent letting these errors go out of control and not beable to fix > the root partition errors without going into singleuser mode and the other > partitions by mounting them with soft-updates flag, does anyone advise > removing everything from the root partition and only leaving the > bootloader and thus moving /etc and /usr (or most of all just /usr) to > it's own partition or do you guys have a better solution. No. Proceeding in directions such as this is a waste of time. > Every partition gets errors over time but if you are unable to correct > them without downtime how are you to correct them before they get out of > control? Probably by not looking for a software solution to a hardware problem. It is not normal for a file system to behave as you describe. Moving partitions around and other such avenues of approach are doomed to failure as they are not addressing the underlying problem. Real server hardware with sophisticated ECC subsystems usually have some BIOS counters which you can check for stats on memory errors. Hard drives fail the most often but either bad memory or drive controller can readily corrupt data. If you have a RAID controller with RAM cache the RAM could be defective. Hardware failure is going to mean downtime. But I'd be looking for a hardware problem, get it fixed, then worry about how to proceed. If you have decent backups from before the system was corrupted you can get back to where you need to be in relatively short order. Not fixing a hardware defect will result in you never getting your server back to normal operation. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 02:58:04 2010 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 BF3EB1065679 for ; Sun, 17 Jan 2010 02:58:04 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4B25D8FC17 for ; Sun, 17 Jan 2010 02:58:03 +0000 (UTC) Received: by ewy26 with SMTP id 26so2249585ewy.3 for ; Sat, 16 Jan 2010 18:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=2i2ZlqL9RFhKDwa6wTehhbJqRLZOQHwFyyEORb/pn5g=; b=EAj3kbCmjilmLbcBEg8SG4VN+9/Uxk/+A1qn6FbIFk+iQ/44/zxytNP5xw8jtRxfaB 5S0rwC0wKdUobDWFB5aL7hDt9/Qx78fA6v7i0/NU9Adk4prtCB1Rn8/tZhUX10Ptter4 97I/SouPhVb8wCfSlt+NZGELIniHDn+/C4ZWY= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=u02JUWI0/hqIgZDogvq5yWkFgxWGkMednQzk82l7VWMkCPnJ9Rgzyeek0LcOqGwJEA BkWZZsxBz8RVHsJDm/J3/jPIENtTJpgsxPfgKsIL+wtmiG8SSoYbyaVhaCBmyfRNTmlJ zH/eI8lQMgbIwrJzre7hP+kWKiPSOQ+lMkWuo= Received: by 10.213.43.67 with SMTP id v3mr1839743ebe.63.1263697083204; Sat, 16 Jan 2010 18:58:03 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 14sm1876935ewy.7.2010.01.16.18.58.02 (version=SSLv3 cipher=RC4-MD5); Sat, 16 Jan 2010 18:58:02 -0800 (PST) Date: Sun, 17 Jan 2010 02:58:00 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100117025800.4bf02054@gumby.homeunix.com> In-Reply-To: <4B5254FE.1000907@strauser.com> References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> <4B5254FE.1000907@strauser.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 02:58:04 -0000 On Sat, 16 Jan 2010 18:08:30 -0600 Kirk Strauser wrote: > On 01/16/2010 02:26 PM, Pav Lucistnik wrote: > > What is the particular scenario that the new conflicts handling > > broke for you? Often you really want to ignore locally installed > > packages and then it's better to override LOCALBASE to /nonex or > > something similar, instead of disabling conflict handling.. > Pav, I'm the OP, and described the problem in the first post. To > recap, though, say I want to upgrade from the > databases/mysql50-client port to databases/mysql51-client. Without > taking extra steps such as using -DDISABLE_CONFLICTS or removing the > CONFLICTS definition from the Makefile, I can't even start > downloading the distfiles (using "make fetch") until I pkg_delete the > old version. With the old system, I could do everything up through > building the new port so that the time between running pkg_delete and > "make reinstall" is minimized. Is it so hard to type make -DDISABLE_CONFLICTS fetch to, fetch and make -DDISABLE_CONFLICTS to build - given that this is something that's rarely needed. When I first read this it sounded bad, but the more I think about it the more I think the change is sensible. If it bothers you that much why don't you just alias make -DDISABLE_CONFLICTS to make-anyway. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 03:05:36 2010 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 0A14F1065672 for ; Sun, 17 Jan 2010 03:05:36 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id A01D58FC08 for ; Sun, 17 Jan 2010 03:05:35 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o0H35VF0069363; Sat, 16 Jan 2010 19:05:32 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sat, 16 Jan 2010 19:05:32 -0800 (PST) Date: Sat, 16 Jan 2010 19:05:31 -0800 From: Gary Kline To: Mike Clarke Message-ID: <20100117030531.GB816@thought.org> References: <20100116000928.GA96431@thought.org> <201001161028.00121.jmc-freebsd2@milibyte.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001161028.00121.jmc-freebsd2@milibyte.co.uk> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-1.2 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: OOo question..... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 03:05:36 -0000 On Sat, Jan 16, 2010 at 10:27:59AM +0000, Mike Clarke wrote: > On Saturday 16 January 2010, Gary Kline wrote: > > > this may be offtopic but it does deal with our OO.org port. > > a friend sent me a very nice "slideshow" in powerpoint format. I've > > saved it (and the original) somewhere in the evolution directory so > > all the photos are safe. first question is: can I save an individial > > image using Openoffice? > > Select the slide then right click on the image and select "Save as > Picture" near the bottom of the menu. If you're lucky this will work - > I've tried this with 3 different MS Powerpoint files and it worked fine > with two of them but didn't even give me the "Save as Picture" option > with the other one :-( I found out that the "save as picture" is a right-click that sometimes works, and siometimes does NOT. [??] also that there is also sometimes the option in the dropdown or pop-up menu (with the right click) that lets you save as a bitmap. xxx.PNG. so, nutshell, I was albe to save three of the ones I liked most. it took me long enough. I did check OOoforum, but nothing there. your info plus my own messing around let me get the job done. [[well, mostly!]] > > > Second q is howto use them for my desktop backgrounds in KDE since, > > upon rebuild and relaunch, everything is black. the first question > > is howto save a separate image? or are there other tools to do this? > > [neither xv nor gv work] > > Right click on a blank piece of the KDE desktop and select "Configure > Desktop". This should open with the "Change the background settings" > icon highlighted. In the "Background" section click the "Picture" radio > button and click the folder icon on the right to browse to your > selected image. (Several hours later). I found the place and added three 'wallpapers'; they haven't appeared. Probably will after I've rebooted. ---I see that my newest KDE is 3.5.10. Sometime this year I'll try KDE4 again.-- Meanwhile, thanks for your help! > > -- > Mike Clarke -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 03:40:38 2010 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 4B6FD106566B for ; Sun, 17 Jan 2010 03:40:38 +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 C44218FC14 for ; Sun, 17 Jan 2010 03:40:37 +0000 (UTC) Received: (qmail 27959 invoked by uid 89); 17 Jan 2010 03:40:28 -0000 Received: from poshta.pknet.net (HELO pop.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 17 Jan 2010 03:40:28 -0000 Received: from 216.241.167.212 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Sat, 16 Jan 2010 20:40:28 -0700 Message-ID: <6b6c48a6d28df6c12f2319c0ea85d2ba.squirrel@pop.pknet.net> In-Reply-To: <4B525827.1090309@strauser.com> References: <4B525827.1090309@strauser.com> Date: Sat, 16 Jan 2010 20:40:28 -0700 From: "Peter" To: "Kirk Strauser" User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: To jail, or not to jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 03:40:38 -0000 > I've been having fun playing with jails on my home server. There's one > for databases, one for a webserver, another for using as a play shell > server, etc. We use jails heavily at work for encapsulating services, > and I can make a pretty good argument there for doing so. In general, > though, do you see jails as particularly important or useful when not in > a hosting environment where you're giving root access to an untrusted > party? How far do you go toward segregating services? Theoretically, you > could have a jail per daemon, but it seems like down that path lies > madness. > -- > Kirk Strauser For home machine, I don't use any jails. All services run on host system. Not in a "hosting" environment with zero "untrusted" users, I still use 'jail'. I can always build 'newjail' duplicate services on it, test, and very quick switch from 'oldjail' to 'newjail' when all tests come back clean. Gives me a lot more room to play around/break things without effecting running services. Try not to have any services on the host system to keep it completely clean, easy upgrade as I can wipe the OS out [or move HD to new server], reinstall, mount the jails/zfs and have a running system in minutes. ]Peter[ From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 05:30:11 2010 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 A35941065700 for ; Sun, 17 Jan 2010 05:30:11 +0000 (UTC) (envelope-from freebsd@the-irc.org) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 10F438FC12 for ; Sun, 17 Jan 2010 05:30:10 +0000 (UTC) Received: by ewy26 with SMTP id 26so2302074ewy.3 for ; Sat, 16 Jan 2010 21:30:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.87.132 with SMTP id y4mr1599003wee.99.1263706209872; Sat, 16 Jan 2010 21:30:09 -0800 (PST) In-Reply-To: References: <322efb7b1001161715s47de3bcdqd40e6efabaf57a9b@mail.gmail.com> Date: Sun, 17 Jan 2010 00:30:09 -0500 Message-ID: <322efb7b1001162130q6d435d55gf6d6efce13763f0a@mail.gmail.com> From: The-IRC FreeBSD To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Errors on UFS Partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 05:30:11 -0000 Thanks everyone for their input it has helped greatly. Does anyone know a way to toggle soft-updates on a UFS non-root partition while the system is live or without having to recreate the partition? From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 05:43:33 2010 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 873B2106566C for ; Sun, 17 Jan 2010 05:43:33 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3EF698FC08 for ; Sun, 17 Jan 2010 05:43:33 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:53997 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1NWNul-00043b-7Q for freebsd-questions@freebsd.org; Sun, 17 Jan 2010 06:43:09 +0100 Received: (qmail 66352 invoked from network); 17 Jan 2010 06:43:03 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 17 Jan 2010 06:43:03 +0100 Received: (qmail 29003 invoked by uid 1001); 17 Jan 2010 06:43:03 +0100 Date: Sun, 17 Jan 2010 06:43:03 +0100 From: Erik Trulsson To: The-IRC FreeBSD Message-ID: <20100117054303.GA28968@owl.midgard.homeip.net> References: <322efb7b1001161715s47de3bcdqd40e6efabaf57a9b@mail.gmail.com> <322efb7b1001162130q6d435d55gf6d6efce13763f0a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <322efb7b1001162130q6d435d55gf6d6efce13763f0a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1NWNul-00043b-7Q. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1NWNul-00043b-7Q 27607d668ed6c534acfeeb22d9ba27e0 Cc: freebsd-questions@freebsd.org Subject: Re: Errors on UFS Partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 05:43:33 -0000 On Sun, Jan 17, 2010 at 12:30:09AM -0500, The-IRC FreeBSD wrote: > Thanks everyone for their input it has helped greatly. > > Does anyone know a way to toggle soft-updates on a UFS non-root partition > while the system is live or without having to recreate the partition? Sure. Use the tunefs(8) utility for this. (Note that it cannot be used on a filesystem which is mounted read-write.) -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 08:00:04 2010 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 7D759106568B for ; Sun, 17 Jan 2010 08:00:04 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from nomoremozzie.com (nomoremozzie.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3A2878FC18 for ; Sun, 17 Jan 2010 08:00:03 +0000 (UTC) Received: from p2120.office.biospherecapital.com (bb116-14-134-74.singnet.com.sg [116.14.134.74]) (authenticated bits=0) by nomoremozzie.com (8.13.1/8.13.1) with ESMTP id o0H7e2D1021310; Sun, 17 Jan 2010 00:40:15 -0700 From: Erich Dollansky To: freebsd-questions@freebsd.org, Matthias Apitz Date: Sat, 16 Jan 2010 10:40:05 +0800 User-Agent: KMail/1.9.10 References: <20100111123219.GA2270@current.Sisis.de> <4B4C20D1.3060408@ose.nl> <20100114120108.GA3815@current.Sisis.de> In-Reply-To: <20100114120108.GA3815@current.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201001161040.08374.oceanare@pacific.net.sg> Cc: Bas Smeelen Subject: Re: Q: recommendation for external USB disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 08:00:04 -0000 Hi, just buy the hard disk of your choice and put it into the case of=20 your choice. I use only disks which come with five years warrenty. On 14 January 2010 pm 20:01:08 Matthias Apitz wrote: > El d=EDa Tuesday, January 12, 2010 a las 08:12:17AM +0100, Bas=20 Smeelen escribi=F3: > > I use Freecom hard drive XS 1.5TB USB2.0 on our fallback > > servers as back-up disks. > > Your /dev/da1s1d let me think that you have created more than > one partition... After a bad experience, I use as many slices as the machine uses I=20 take the data from. I also backup the programs. Then, I use for the external disk the same interface which I can=20 use in the machine. So, if the internal hard disk fails, will be=20 able to exchange the disks and boot. Ok, fstab might needs to be=20 edited. Erich From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 10:41:19 2010 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 30064106566C for ; Sun, 17 Jan 2010 10:41:18 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0C88FC0A for ; Sun, 17 Jan 2010 10:41:18 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIN4UktUXebi/2dsb2JhbADUH4QyBIV2 Received: from relay03.plus.net ([84.93.230.226]) by relay.ptn-ipout01.plus.net with ESMTP; 17 Jan 2010 10:41:17 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay03.plus.net with esmtp (Exim) id 1NWSZI-0000Hg-UF; Sun, 17 Jan 2010 10:41:17 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NWSZI-0000m7-LW; Sun, 17 Jan 2010 10:41:16 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 17 Jan 2010 10:41:16 +0000 User-Agent: KMail/1.9.10 References: <20100116000928.GA96431@thought.org> <201001161028.00121.jmc-freebsd2@milibyte.co.uk> <20100117030531.GB816@thought.org> In-Reply-To: <20100117030531.GB816@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001171041.16475.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 0965e20702254b6643343ca411e2f5f1 Cc: Gary Kline Subject: Re: OOo question..... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 10:41:19 -0000 On Sunday 17 January 2010, Gary Kline wrote: > On Sat, Jan 16, 2010 at 10:27:59AM +0000, Mike Clarke wrote: > > On Saturday 16 January 2010, Gary Kline wrote: [snip] > > > Second q is howto use them for my desktop backgrounds in KDE > > > since, upon rebuild and relaunch, everything is black. the > > > first question is howto save a separate image? or are there > > > other tools to do this? [neither xv nor gv work] > > > > Right click on a blank piece of the KDE desktop and select > > "Configure Desktop". This should open with the "Change the > > background settings" icon highlighted. In the "Background" section > > click the "Picture" radio button and click the folder icon on the > > right to browse to your selected image. > > (Several hours later). > > I found the place and added three 'wallpapers'; they haven't > appeared. Probably will after I've rebooted. The new wallpaper should appear immediately after you click on "OK" or "Apply". > ---I see that my newest KDE is 3.5.10. That's what I'm using. > Sometime this year I'll try KDE4 again.-- When I upgraded to FreeBSD 8.0 about a month ago I let sysinstall put KDE4 on me. Big mistake [1]. I disliked it intensely and, after a few days trying to come to terms with it, I reverted back to 3.5.10. YMMV but for me it was just too clumsy and bloated with a lot of new superfluous eye candy and lacked some simple and useful features that I'd become accustomed to. Given time perhaps I could have configured it to my liking but I couldn't see it offering anything useful that I didn't already have with 3.5 so it didn't seem worth the effort of continuing with it. [1] I suspect that my badly managed effort of deinstalling all of KDE4 and installing KDE3 was the main cause of the problems described in my recent thread "Problems building en-openoffice.org-GB-3.1.1 from ports" which resulted in me having to remove and reinstall all my ports. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 10:44:13 2010 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 D8C0D1065676 for ; Sun, 17 Jan 2010 10:44:13 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id 622B08FC12 for ; Sun, 17 Jan 2010 10:44:12 +0000 (UTC) Received: from [192.168.0.23] (r2bb217.net.upc.cz [62.245.117.217]) (authenticated bits=0) by raven.customer.vol.cz (8.14.3/8.14.3) with ESMTP id o0HAi57m082693; Sun, 17 Jan 2010 11:44:07 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: glarkin@FreeBSD.org In-Reply-To: <4B524584.9050909@FreeBSD.org> References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> <4B524584.9050909@FreeBSD.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-6BJZdP2bBSRiFyFgojaZ" Date: Sun, 17 Jan 2010 11:44:05 +0100 Message-ID: <1263725045.1541.66.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Scanned-By: MIMEDefang 2.67 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 62.245.117.217; Sender-helo: [192.168.0.23]; ) Cc: portmgr@FreeBSD.org, "b. f." , freebsd-questions@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2010 10:44:13 -0000 --=-6BJZdP2bBSRiFyFgojaZ Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: quoted-printable Greg Larkin p=ED=B9e v so 16. 01. 2010 v 18:02 -0500: > Here is the original post: > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html I will agree that `portupgrade -o` is way too useful feature. I'd vote for reverting to the old behaviour. > I thought portmgr might have some insight into additional reasons for > making the change, such as fixing a problem with pointyhat builds, etc. > At the moment, I'm neutral on the change, since it hasn't caused me any > grief, but I did some research for the folks who posted the original > questions. It was done because someone thought it is a good idea and submitted a PR about it. --=20 Pav Lucistnik I can't do that, that would make sense. --=-6BJZdP2bBSRiFyFgojaZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAktS6fQACgkQntdYP8FOsoKkhQCfXf11N+03E8LHHJr5ns3BKy2w KQMAn3F4xgU3qqUmOIPPFBOHVUlyFOPP =5OPC -----END PGP SIGNATURE----- --=-6BJZdP2bBSRiFyFgojaZ-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 11:45:11 2010 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 9F7871065670 for ; Sun, 17 Jan 2010 11:45:11 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3053F8FC14 for ; Sun, 17 Jan 2010 11:45:11 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id o0HBj6fv059143; Sun, 17 Jan 2010 12:45:06 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.2/Submit) id o0HBj6ww059142; Sun, 17 Jan 2010 12:45:06 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Sun, 17 Jan 2010 12:45:05 +0100 From: Ruben de Groot To: Marco Beishuizen Message-ID: <20100117114505.GA58968@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Marco Beishuizen , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Sun, 17 Jan 2010 12:45:09 +0100 (CET) Cc: freebsd-questions@freebsd.org Subject: Re: changing place of .core files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 11:45:11 -0000 On Sat, Jan 16, 2010 at 11:23:52PM +0100, Marco Beishuizen typed: > Normally when a program crashes, it places a .core file in the > homefilesystem. Is there a way of changing the filesystem where FreeBSD > places it's core dumps? man core Ruben From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 12:03:17 2010 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 196B61065670; Sun, 17 Jan 2010 12:03:17 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from bsdcrew.de (duro.unixfreunde.de [85.214.90.4]) by mx1.freebsd.org (Postfix) with ESMTP id CB4B78FC08; Sun, 17 Jan 2010 12:03:16 +0000 (UTC) Received: from miwi.homeunix.com (dslc-082-083-134-099.pools.arcor-ip.net [82.83.134.99]) by bsdcrew.de (Postfix) with ESMTPA id CAF274AF8A; Sun, 17 Jan 2010 12:45:00 +0100 (CET) Date: Sun, 17 Jan 2010 12:45:06 +0100 From: Martin Wilke To: pav@FreeBSD.org Message-ID: <20100117124506.1563d9ad@miwi.homeunix.com> In-Reply-To: <1263725045.1541.66.camel@hood.oook.cz> References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> <4B524584.9050909@FreeBSD.org> <1263725045.1541.66.camel@hood.oook.cz> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: glarkin@FreeBSD.org, freebsd-questions@FreeBSD.org, "b. f." , portmgr@FreeBSD.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 12:03:17 -0000 On Sun, 17 Jan 2010 11:44:05 +0100 Pav Lucistnik wrote: > Greg Larkin p=ED=B9e v so 16. 01. 2010 v 18:02 -0500: >=20 > > Here is the original post: > > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html >=20 > I will agree that `portupgrade -o` is way too useful feature. > I'd vote for reverting to the old behaviour. >=20 > > I thought portmgr might have some insight into additional reasons > > for making the change, such as fixing a problem with pointyhat > > builds, etc. At the moment, I'm neutral on the change, since it > > hasn't caused me any grief, but I did some research for the folks > > who posted the original questions. >=20 > It was done because someone thought it is a good idea and submitted a > PR about it. >=20 Howdy, For some ports is the conflict check too late see example here. http://lists.freebsd.org/pipermail/freebsd-gecko/2009-December/000577.html= =20 I agree that we need a new pre-fetch hook in bsd.port.mk if a conflict present is. But that need a bit work and it is on my todo list... - Martin From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 13:05:52 2010 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 3E0E9106566B for ; Sun, 17 Jan 2010 13:05:52 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id C19158FC12 for ; Sun, 17 Jan 2010 13:05:51 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id o0HD5llg064077; Sun, 17 Jan 2010 14:05:47 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.2/Submit) id o0HD5lrM064074; Sun, 17 Jan 2010 14:05:47 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Sun, 17 Jan 2010 14:05:47 +0100 From: Ruben de Groot To: Kirk Strauser Message-ID: <20100117130547.GA60117@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Kirk Strauser , freebsd-questions@freebsd.org References: <4B525827.1090309@strauser.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B525827.1090309@strauser.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Sun, 17 Jan 2010 14:05:50 +0100 (CET) Cc: freebsd-questions@freebsd.org Subject: Re: To jail, or not to jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 13:05:52 -0000 On Sat, Jan 16, 2010 at 06:21:59PM -0600, Kirk Strauser typed: > I've been having fun playing with jails on my home server. There's one > for databases, one for a webserver, another for using as a play shell > server, etc. We use jails heavily at work for encapsulating services, > and I can make a pretty good argument there for doing so. In general, > though, do you see jails as particularly important or useful when not in > a hosting environment where you're giving root access to an untrusted > party? How far do you go toward segregating services? Theoretically, you > could have a jail per daemon, but it seems like down that path lies madness. Not long ago, I've setup some development servers with ezjail where different developers can each rapidly create standard jailed environments and do their dev and test work there, and discard them when they're finished. Next to hosting, I believe this is another environment where jailing is a great advantage. Ruben From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 13:41:51 2010 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 0631D1065672 for ; Sun, 17 Jan 2010 13:41:51 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out2.tiscali.nl (smtp-out2.tiscali.nl [195.241.79.177]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2D98FC0A for ; Sun, 17 Jan 2010 13:41:50 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out2.tiscali.nl with esmtp (Exim) (envelope-from ) id 1NWV9V-0001mK-0x; Sun, 17 Jan 2010 14:26:49 +0100 Received: from 212-123-145-58.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 498EFF442; Sun, 17 Jan 2010 14:26:43 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Dan Naumov" , "Rick Macklem" , freebsd-questions@freebsd.org, freebsd-fs@freebsd.org References: Date: Sun, 17 Jan 2010 14:26:42 +0100 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/10.10 (FreeBSD) Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: (SOLVED) Re: installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 13:41:51 -0000 On Fri, 15 Jan 2010 17:57:03 +0100, Dan Naumov =20 wrote: > On Fri, Jan 15, 2010 at 6:38 PM, Rick Macklem =20 > wrote: >> >> >> On Tue, 12 Jan 2010, Dan Naumov wrote: >> >>> For my upcoming storage system, the OS install is going to be on a >>> 80gb Intel SSD disk and for various reasons, I am now pretty convince= d >>> to stick with UFS2 for the root partition (the actual data pool will >>> be ZFS using traditional SATA disks). I am probably going to use GPT >>> partitioning and have the SSD host the swap, boot, root and a few >>> other partitions. What do I need to know in regards to partition >>> alignment and filesystem block sizes to get the best performance out >>> of the Intel SSDs? >>> >> I can't help with your question, but I thought I'd mention that there >> was a recent post (on freebsd-current, I think?) w.r.t. using an SSD >> for the ZFS log file. It suggested that that helped with ZFS perf., so >> you might want to look for the message. >> >> rick > > I have managed to figure out the essential things to know by know, I > just wish there was a single, easy to grasp webpage or HOWTO > describing and whys and hows so I wouldn't have had had to spend the > entire day googling things to get a proper grasp on the issue :) Maybe you can copy-paste your e-mail in a wiki somewhere. And your wish =20 has come true for other peoples. Ronald. > To (perhaps a bit too much) simplify things, if you are using an SSD > with FreeeBSD, you: > > 1) Should use GPT > > 2) Should create the freebsd-boot partition as normal (to ensure > compatibility with some funky BIOSes) > > 3) All additional partitions should be aligned, meaning that their > boundaries should be dividable by 1024kb (that's 2048 "logical blocks" > in gpart). Ie, having created your freeebsd-boot, your next partition > should start at block 2048 and the partition size should be dividable > by 2048 blocks. This applies to ALL further partitions added to the > disk, so you WILL end up having some empty space between them, but a > few MBs worth of space will be lost at most. > > P.S: My oversimplification was in that MOST SSDs will be just fine > with a 512 kb / 1024 block alignment. However, _ALL_ SSDs will be fine > with 1024 kb / 2048 block alignment. > > > - Sincerely, > Dan Naumov > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 14:07:40 2010 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 4900A1065672 for ; Sun, 17 Jan 2010 14:07:40 +0000 (UTC) (envelope-from googhummel@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id CD92C8FC0A for ; Sun, 17 Jan 2010 14:07:39 +0000 (UTC) Received: by bwz5 with SMTP id 5so1642197bwz.3 for ; Sun, 17 Jan 2010 06:07:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=sqm67RtzwUldv4rVuCIzpSYPzkL6R3O4/X+MJugO7lA=; b=ZKp8ZZoWs46l6bPqC0dqVJWGmPwPspw6Q/x/v+7TA+RkPrmfQR1JGfaftbudezeGv3 jET3C8fId6Mm54lXgZWKMcJVzsoOEfo4Ntmc6G+840zaAmTTgUmMWrfE8BI64PwjTtAu Tm3zyWMXiwKX1XSZqinsXXs127JhJMX21f8O8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=pWDzMMeqisKxur9AD9L+00YMaKE/9XHqNhof0LTvYh/FFTP98R6Ajo8SvGwjAHZ2Ll KdnaW39D03AP2j6MDinXemCvvJA2xN97pDRPW11fF9lB83HkW3oUkfm4pio2xvX1FtJy RjYJlsQR1jQ9GSZYiepo7l4aYKnL5RjUjnZPk= MIME-Version: 1.0 Received: by 10.204.33.138 with SMTP id h10mr867383bkd.197.1263737258586; Sun, 17 Jan 2010 06:07:38 -0800 (PST) In-Reply-To: <201001170203.02499.pieter@degoeje.nl> References: <201001170203.02499.pieter@degoeje.nl> Date: Sun, 17 Jan 2010 14:07:38 +0000 Message-ID: From: Thomas Hummel To: Pieter de Goeje Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Sound (micro-)interrupts with 8.0 stable/snd_hda/mplayer/vlc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 14:07:40 -0000 On Sun, Jan 17, 2010 at 1:03 AM, Pieter de Goeje wrote: Thanks for your reply, Try increasing the hw.snd.latency sysctl: > Going from 5 to 10 doesn't change anything (actually, it seems worse on the file I tried). So the mystery still stands... Note that the micro-interrupts don't occur always at the same timestamp in the file which is playing. If I play one, let's say 3 times in a row, sound may drop around the same moment each time but not necessary... Just thinking out loud here, but maybe you have some non-standard HZ > configured or powerd configured to clock the CPU back by an extreme amount, > both could theoretically cause buffer underruns. > I'm not quite sure I understand what you're thinking of. Anyway, I haven't changed any defaults : % cat /boot/loader.conf #zfs zfs_load="YES" vfs.root.mountfrom="zfs:zroot" # nividia nvidia_load="YES" # sound snd_hda_load="YES" hw.snd.default_unit=0 # k3b atapicam_load="YES" hw.ata.atapi_dma=1 -- Thomas. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 08:24:55 2010 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 2F5FB106568F; Sun, 17 Jan 2010 08:24:55 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 830708FC0A; Sun, 17 Jan 2010 08:24:54 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0H8OmqI024075; Sun, 17 Jan 2010 08:24:49 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0H8OmqI024075 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263716689; bh=fTneE4DDizpMXdnRkhLzm4LPlnOay/t0zi5lSlM+S2g=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B52C94B.10809@infracaninophile.co.uk>|Date:=20Sun ,=2017=20Jan=202010=2008:24:43=20+0000|From:=20Matthew=20Seaman=20 |Organization:=20Infracaninophile |User-Agent:=20Thunderbird=202.0.0.23=20(X11/20100114)|MIME-Versio n:=201.0|To:=20Ion-Mihai=20Tetcu=20|CC:=20pav@ freebsd.org,=20glarkin@freebsd.org,=20portmgr@freebsd.org,=20=0D=0 A=20"b.=20f."=20,=0D=0A=20freebsd-questions @freebsd.org|Subject:=20Re:=20Dislike=20the=20way=20port=20conflic ts=20are=20handled=20now|References:=20=09<4B520C71.9080301@FreeBSD.org> =09<1263673588.1541.60.camel@hood.oook.cz>=20<20100117013722.18938 95c@it.buh.tecnik93.com>|In-Reply-To:=20<20100117013722.1893895c@i t.buh.tecnik93.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20m ultipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"ap plication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig37 6B17180AF5990B39C53517"; b=ZP0aSssc9ELwuNQJYoGpVWd7L61eFU2lI/KTB4h42w/7wh8PGqGBtEtASu4Ndjv2o UY8IRgekiEWcW71j3dGTS4KocsOVk949DLg9chwFodf44u1pGyql+3bjXrQWsXZWAl SMMqkXIl9FLneslEQLJIOfuAl1H+LXqGtxncHAEo= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B52C94B.10809@infracaninophile.co.uk> Date: Sun, 17 Jan 2010 08:24:43 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: Ion-Mihai Tetcu References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> <20100117013722.1893895c@it.buh.tecnik93.com> In-Reply-To: <20100117013722.1893895c@it.buh.tecnik93.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig376B17180AF5990B39C53517" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk X-Mailman-Approved-At: Sun, 17 Jan 2010 14:38:51 +0000 Cc: glarkin@freebsd.org, pav@freebsd.org, "b. f." , freebsd-questions@freebsd.org, portmgr@freebsd.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 08:24:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig376B17180AF5990B39C53517 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Ion-Mihai Tetcu wrote: > I'd be very happy if I could: > - fetch the distfiles, even if I have a conflicting port installed > - be able to use portmaster -o to switch from one port to an other one > that conflicts with it. > - be able to at least compile a port (eg. for testing) without having > to de-install the current one. >=20 > I'm all in favor of restoring the old behavior with a switch available > to turn on the new one. +1 Although a big fat warning message at fetch or build phase when operating= on a port with conflicts wouldn't go amiss. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig376B17180AF5990B39C53517 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktSyVAACgkQ8Mjk52CukIyvtQCfeCMUPTEzrUnAOl1Sx6hPKaka uRwAoIKie2TExfFsVziP5UNXhC2Uj1iG =oOqc -----END PGP SIGNATURE----- --------------enig376B17180AF5990B39C53517-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 15:41:50 2010 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 26A441065672; Sun, 17 Jan 2010 15:41:50 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 08FF98FC08; Sun, 17 Jan 2010 15:41:48 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so477549eyd.9 for ; Sun, 17 Jan 2010 07:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=hAHWcQqZ+gLQvxjRXlP5G3rjHYaUVi0+gKL1u8x//0w=; b=iU/L2RMxuYCaHQVHBHrdWI480ZhfT5J1x4NqeFia63yqPEhLhrVLMaBh29IWKWV3Pg mAR2o9L4v6/rlbqrabUEuQmuStXgud4a/vJp5tLHnpymQ+CxFKX32B35fTKLHEppa3bm LkXXDwmilMHA4toX/POGv3iEIqmEz7MDffUIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lcil9KL4/UBJyTlj+xgs77V3Hg39dZLxnB3DNElxcxmQrsFGZzxNIHYP8eFqxQ4/6N J7HXl8VIs8T95qnCGGqc5UOmM2IuL0FRaIfZoM2QdpcZPesmz2ep8/dFT8usCIwT829l VF2CIPvUpqWONDzPZWIizKgiULX87tVre5wM0= MIME-Version: 1.0 Received: by 10.216.89.140 with SMTP id c12mr1647116wef.223.1263742907660; Sun, 17 Jan 2010 07:41:47 -0800 (PST) In-Reply-To: <20100117124506.1563d9ad@miwi.homeunix.com> References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> <4B524584.9050909@FreeBSD.org> <1263725045.1541.66.camel@hood.oook.cz> <20100117124506.1563d9ad@miwi.homeunix.com> Date: Sun, 17 Jan 2010 10:41:47 -0500 Message-ID: From: "b. f." To: Martin Wilke Content-Type: multipart/mixed; boundary=0016e6d78475193ac7047d5e13c8 Cc: glarkin@freebsd.org, pav@freebsd.org, freebsd-questions@freebsd.org, portmgr@freebsd.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 15:41:50 -0000 --0016e6d78475193ac7047d5e13c8 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable On 1/17/10, Martin Wilke wrote: > On Sun, 17 Jan 2010 11:44:05 +0100 > Pav Lucistnik wrote: > >> Greg Larkin p=ED=B9e v so 16. 01. 2010 v 18:02 -0500: >> >> I will agree that `portupgrade -o` is way too useful feature. >> I'd vote for reverting to the old behaviour. >> portupgrade and other tools can easily be patched to work with the new behavior, by defining DISABLE_CONFLICTS for the targets preceding installation. Since the new behavior is generally more efficient, and safer, and since the people who will need to defer the check for some reason are in the minority, I vote that we keep the new behavior, and offer a chance to opt out of it with something like the attached patch. I didn't add any extra warnings, since I assumed that those who choose to defer the checks already know that this may lead to problems in some cases. b. >> > I thought portmgr might have some insight into additional reasons >> > for making the change, such as fixing a problem with pointyhat >> > builds, etc. At the moment, I'm neutral on the change, since it >> > hasn't caused me any grief, but I did some research for the folks >> > who posted the original questions. >> >> It was done because someone thought it is a good idea and submitted a >> PR about it. >> > > Howdy, > > For some ports is the conflict check too late see example here. > > http://lists.freebsd.org/pipermail/freebsd-gecko/2009-December/000577.htm= l > > I agree that we need a new pre-fetch hook in bsd.port.mk if a conflict > present is. But that need a bit work and it is on my todo list... > > - Martin > --0016e6d78475193ac7047d5e13c8 Content-Type: text/plain; charset=US-ASCII; name="bsd_port_mk_conflicts_diff.txt" Content-Disposition: attachment; filename="bsd_port_mk_conflicts_diff.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 LS0tIGJzZC5wb3J0Lm1rLm9yaWcJMjAxMC0wMS0xNyAwOTo0NjowOS4wMDAwMDAwMDAgLTA1MDAK KysrIGJzZC5wb3J0Lm1rCTIwMTAtMDEtMTcgMTA6MzY6MDIuMDAwMDAwMDAwIC0wNTAwCkBAIC01 NDEsNiArNTQxLDEwIEBACiAjCQkJCSAgcGF0dGVybiBtZXRhLWNoYXJhY3RlcnMgIioiLCAiPyIs ICJbIiwgIl0iLCBhbmQgIiEiLgogIwkJCQkgIEV4YW1wbGU6IGFwYWNoZSotMS4yKiBhcGFjaGUq LTEuMy5bMDEyMzQ1XSBhcGFjaGUtKitzc2xfKgogIworIyBMQVRFX0NPTkZMSUNUUwktIElmIHNl dCwgdGhpcyBwb3J0IHdpbGwgZGVmZXIgdGhlIGNoZWNrIGZvciBjb25mbGljdHMgdW50aWwgaW1t ZWRpYXRlbHkKKyMJCQliZWZvcmUgdGhlIGluc3RhbGwgdGFyZ2V0LCB0byBhbGxvdyBjb25mbGlj dGluZyBwb3J0cyB0byBiZSBmZXRjaGVkIGFuZCBidWlsdC4KKyMJCQlUaGlzIG1heSBleHBvc2Ug YnVpbGQgZXJyb3JzIGR1ZSB0byB0aGUgcHJlc2VuY2Ugb2YgY29uZmxpY3RpbmcgcG9ydHMuCisj CiAjIFZhcmlvdXMgZGlyZWN0b3J5IGRlZmluaXRpb25zIGFuZCB2YXJpYWJsZXMgdG8gY29udHJv bCB0aGVtLgogIyBZb3UgcmFyZWx5IG5lZWQgdG8gcmVkZWZpbmUgYW55IG9mIHRoZXNlIGV4Y2Vw dCBXUktTUkMgYW5kIE5PX1dSS1NVQkRJUi4KICMKQEAgLTQyNTMsOSArNDI1NywxNyBAQAogLmVs c2UKIF9DSFJPT1RfU0VRPQogLmVuZGlmCisuaWYgZGVmaW5lZChMQVRFX0NPTkZMSUNUUykKK19F QVJMWV9DT05GTElDVF9DSEVDSz0KK19MQVRFX0NPTkZMSUNUX0NIRUNLPQljaGVjay1jb25mbGlj dHMKKy5lbHNlCitfRUFSTFlfQ09ORkxJQ1RfQ0hFQ0s9CWNoZWNrLWNvbmZsaWN0cworX0xBVEVf Q09ORkxJQ1RfQ0hFQ0s9CisuZW5kaWYKKwogX1NBTklUWV9TRVE9CSR7X0NIUk9PVF9TRVF9IHBy ZS1ldmVyeXRoaW5nIGNoZWNrLW1ha2VmaWxlIFwKIAkJCQljaGVjay1jYXRlZ29yaWVzIGNoZWNr LW1ha2V2YXJzIGNoZWNrLWRlc2t0b3AtZW50cmllcyBcCi0JCQkJY2hlY2stY29uZmxpY3RzIGNo ZWNrLWRlcGVuZHMgY2hlY2stZGVwcmVjYXRlZCBcCisJCQkJJHtfRUFSTFlfQ09ORkxJQ1RfQ0hF Q0t9IGNoZWNrLWRlcGVuZHMgY2hlY2stZGVwcmVjYXRlZCBcCiAJCQkJY2hlY2stdnVsbmVyYWJs ZSBidWlsZGFueXdheS1tZXNzYWdlIG9wdGlvbnMtbWVzc2FnZQogX0ZFVENIX0RFUD0JCWNoZWNr LXNhbml0eQogX0ZFVENIX1NFUT0JCWZldGNoLWRlcGVuZHMgcHJlLWZldGNoIHByZS1mZXRjaC1z Y3JpcHQgXApAQCAtNDI3NSw4ICs0Mjg3LDggQEAKIF9CVUlMRF9TRVE9CQlidWlsZC1tZXNzYWdl IHByZS1idWlsZCBwcmUtYnVpbGQtc2NyaXB0IGRvLWJ1aWxkIFwKIAkJCQlwb3N0LWJ1aWxkIHBv c3QtYnVpbGQtc2NyaXB0CiBfSU5TVEFMTF9ERVA9CWJ1aWxkCi1fSU5TVEFMTF9TRVE9CWluc3Rh bGwtbWVzc2FnZSBydW4tZGVwZW5kcyBsaWItZGVwZW5kcyBhcHBseS1zbGlzdCBwcmUtaW5zdGFs bCBcCi0JCQkJcHJlLWluc3RhbGwtc2NyaXB0IGdlbmVyYXRlLXBsaXN0IGNoZWNrLWFscmVhZHkt aW5zdGFsbGVkCitfSU5TVEFMTF9TRVE9CWluc3RhbGwtbWVzc2FnZSAke19MQVRFX0NPTkZMSUNU X0NIRUNLfSBydW4tZGVwZW5kcyBsaWItZGVwZW5kcyBcCisJCQkJYXBwbHktc2xpc3QgcHJlLWlu c3RhbGwgcHJlLWluc3RhbGwtc2NyaXB0IGdlbmVyYXRlLXBsaXN0IGNoZWNrLWFscmVhZHktaW5z dGFsbGVkCiBfSU5TVEFMTF9TVVNFUT0gY2hlY2stdW1hc2sgaW5zdGFsbC1tdHJlZSBwcmUtc3Ut aW5zdGFsbCBcCiAJCQkJcHJlLXN1LWluc3RhbGwtc2NyaXB0IGNyZWF0ZS11c2Vycy1ncm91cHMg ZG8taW5zdGFsbCBcCiAJCQkJaW5zdGFsbC1kZXNrdG9wLWVudHJpZXMgcG9zdC1pbnN0YWxsIHBv c3QtaW5zdGFsbC1zY3JpcHQgXAo= --0016e6d78475193ac7047d5e13c8-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 16:39:44 2010 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 7F1DD1065670 for ; Sun, 17 Jan 2010 16:39:44 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout02.plus.net (relay.pcl-ipout02.plus.net [212.159.7.100]) by mx1.freebsd.org (Postfix) with ESMTP id 1A7688FC0A for ; Sun, 17 Jan 2010 16:39:43 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAHXMUkvUnw4T/2dsb2JhbADTU4QyBA Received: from pih-relay06.plus.net ([212.159.14.19]) by relay.pcl-ipout02.plus.net with ESMTP; 17 Jan 2010 16:39:42 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by pih-relay06.plus.net with esmtp (Exim) id 1NWYAA-0002Iz-4N; Sun, 17 Jan 2010 16:39:42 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NWYA9-000163-QS; Sun, 17 Jan 2010 16:39:41 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 17 Jan 2010 16:39:41 +0000 User-Agent: KMail/1.9.10 References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001161545.31616.pieter@degoeje.nl> In-Reply-To: <201001161545.31616.pieter@degoeje.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001171639.41777.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 4052a8471b3a82141813b3b9e63dacbb Cc: Pieter de Goeje Subject: Re: Newbie gmirror 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: Sun, 17 Jan 2010 16:39:44 -0000 On Saturday 16 January 2010, Pieter de Goeje wrote: > On Saturday 16 January 2010 00:34:52 Mike Clarke wrote: > > I'm about to upgrade to more disk space and I'm tempted use this as > > an opportunity to get two disks and implement gmirror. Before I go > > ahead there's a few aspects of mirroring I'm not sure about and > > would appreciate some advice. > > > > I'm using grub for multi booting. Does this introduce any problems > > if I want to boot into Windows or Linux on one of the other > > partitions? > > Gmirror stores the metadata at the last sector of each disk. So this > shouldn't be a problem. But other operating systems might overwrite > this data if you're not careful during the paritioning. I'll make sure that the last stripe on the disk isn't used by any "alien" OS then. Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? My main reason for multibooting with grub is to have a spare slice where I can install a spare copy of FreeBSD. I find this very useful when I do any major upgrade (like trying out your suggestion of going to 8-STABLE) because I can copy the current system onto the spare slice and use that to apply the upgrades, if I hit any major problems I can easily revert to booting the original slice until I figure out how to fix the problem. I'm assuming that using gmirror won't prevent me from doing this. If I boot into an OS which isn't aware of gmirror, such as Windows, then I assume it will just run normally if I point grub to the appropriate slice on the primary drive. Next time I boot into FreeBSD then I expect gmirror will recognise that the second drive is out of sync with the primary and update it in the background. Perhaps this might hit performance for a while but on the other hand it provides me with a certain amount of "backup" if the Windows system trashes itself because I could try to restore it from the copy on the second drive before attempting to reboot FreeBSD. I assume the same logic would also apply to running Linux on one of the slices, although Linux has software mirror capability it appears to be totally different from gmirror so I expect it's a case of running that non-mirrored too. If this approach isn't wise then I expect I'll need to keep a spare non-mirrored disk for the other systems. I don't expect to need to boot into Windows or Linux very often. Now that I've upgraded from FreeBSD 6.4 to 8.0 I'm able to make use of virtualbox for this sort of thing which is generally much more convenient but I'd like to keep the ability to run them natively should the need arise. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 17:18:43 2010 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 E626D106566B for ; Sun, 17 Jan 2010 17:18:43 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 460878FC15 for ; Sun, 17 Jan 2010 17:18:43 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0HHIWUQ015126; Sun, 17 Jan 2010 17:18:33 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0HHIWUQ015126 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263748713; bh=a39SEUVdk8lW87VxP1kzbQOXbgBFSCuLJe0OfpFIY0A=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B534661.7030905@infracaninophile.co.uk>|Date:=20S un,=2017=20Jan=202010=2017:18:25=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20100114)|MIME-Vers ion:=201.0|To:=20Mike=20Clarke=20|CC: =20freebsd-questions@freebsd.org,=20Pieter=20de=20Goeje=20|Subject:=20Re:=20Newbie=20gmirror=20questions|Referenc es:=20<201001152334.52978.jmc-freebsd2@milibyte.co.uk>=09<20100116 1545.31616.pieter@degoeje.nl>=20<201001171639.41777.jmc-freebsd2@m ilibyte.co.uk>|In-Reply-To:=20<201001171639.41777.jmc-freebsd2@mil ibyte.co.uk>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipar t/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"applicati on/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigE6076D710 72F16B372761180"; b=yO8P6uUO2E9cSNs4iwjTVGvVCgpO5CwEAhrgDIqwFgOBfuQETfOlB9trFB/secw17 y2AKwNk5VBIaIubcMnWgZpCp9CwXDqfyG6Myw/IX4qIu7K9KlXckEuhlYbbG6xqdi0 fX287DCYd4A/05aeKtkosvhynCbt5C2jqtG3+spI= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B534661.7030905@infracaninophile.co.uk> Date: Sun, 17 Jan 2010 17:18:25 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: Mike Clarke References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001161545.31616.pieter@degoeje.nl> <201001171639.41777.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201001171639.41777.jmc-freebsd2@milibyte.co.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE6076D71072F16B372761180" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Pieter de Goeje , freebsd-questions@freebsd.org Subject: Re: Newbie gmirror 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: Sun, 17 Jan 2010 17:18:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE6076D71072F16B372761180 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mike Clarke wrote: > Actually I was more concerned about what happens when I boot into=20 > another OS like Windows or Linux on one of the spare slices - I'm=20 > assuming that I have to apply gmirror to the whole disk rather than=20 > just selected slices? You can't do this. gmirror is FreeBSD specific, and other OSes can't deal with it. You can take your two drives, partition them (fdisk) and then create a gmirror across the slices you assign to FreeBSD. Similarly= you could set up md to mirror the slice(s) used for Linux. As far as I know, Windows doesn't come with OS level mirroring software -- it can use= hostraid[*], or I believe there are some commercial solutions you can purchase. Or just treat your Windows partitions as two separate drives, and live without resilience for that OS. As far as booting the system goes, Grub should be able to boot each OS from either mirror as if it was a plain installation on a single drive. Wilder suggestions would be to install Linux, Open Solaris or NetBSD as a= Xen dom0, and then install your other OSes as domU guests. In this case,= you'ld mirror the storage within the dom0 instance and export a device to= each of the client OSes. [Open Solaris particularly interesting for this= purpose, as you could use ZFS.] This is substantially more complex to se= t up than your current plan, but does have the very handy advantage that yo= u can run all of your OSes simultaneously. Cheers, Matthew [*] FreeBSD can use this too -- the disks appear as an ar device (see ata= (4)) -- and presumably so can Linux, but I can't confirm that. Hostraid is generally second best to OS based RAIDs. Apart from anything else, you t= end to have to bring the system down to the BIOS level to do anything to the RAIDs. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigE6076D71072F16B372761180 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAktTRmgACgkQ8Mjk52CukIxenwCfUb1RhIe0jjNGHGzJnGG1Bbpk m6IAnjgSbRdAH7uwwaSYWwKJIdQj1waC =XP1I -----END PGP SIGNATURE----- --------------enigE6076D71072F16B372761180-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 17:28:55 2010 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 B133A106566B for ; Sun, 17 Jan 2010 17:28:55 +0000 (UTC) (envelope-from news@enfer-du-nord.net) Received: from mail.enfer-du-nord.net (mail.enfer-du-nord.net [87.98.177.233]) by mx1.freebsd.org (Postfix) with ESMTP id 77DFA8FC12 for ; Sun, 17 Jan 2010 17:28:55 +0000 (UTC) Received: (from news@localhost) by news.enfer-du-nord.net (8.14.3/8.14.3/Submit) id o0HHEvRW077469 for freebsd-questions@freebsd.org; Sun, 17 Jan 2010 18:14:57 +0100 (CET) (envelope-from news) To: freebsd-questions@freebsd.org Path: not-for-mail From: Michael Grimm Newsgroups: muc.lists.freebsd.questions Date: Sun, 17 Jan 2010 17:14:57 +0000 (UTC) Organization: ATK - Alternative Tierklinik links der Einfalt Lines: 26 Message-ID: X-Trace: de-l.enfer-du-nord.net eJwVyskRwDAIBLCWYo4Fl4MX038JSb4auWKBYXCYj0+YMHi76tcS7Dy7eaZQqRfFSF1qB+yNlOWRt1zjPpTmAxGvhskXzYYv8k8aVw== (17 Jan 2010 17:14:57 GMT) X-Complaints-To: abuse@de-l.enfer-du-nord.net User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin) Cancel-Lock: sha1:s4cXjivuRbeXCZUxe8HfZ4K6Lb8= Mail-Copies-To: nobody Subject: gmirror+gjournal: spontaneous reboots on "excessive" disk access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 17:28:55 -0000 Hi -- I'm running a gmirror raid1 plus gjournal for a year now. This is a 7.2-RELEASE-p6 right now. Both disks are regular ATA and healthy according smartctl. Sometimes, not always though, I do experience spontaneous reboots without leaving any hints in logfiles whenver I "beat" my disks "excessively". This might be something like: dd if=/dev/null of=/some/file bs=1M count=4k plus parallel disk accesses by mail and news server. If I omit all parallel disk access those dd's will run to completion without reboots, always. It might well be that there is something wrong with my hardware (co-located, no access to the console available). Thus, before addressing support I'd like to know: has anyone else seen reboots under those conditions? Regards, Michael -- to let From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 18:28:35 2010 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 23CE41065672 for ; Sun, 17 Jan 2010 18:28:35 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id F3FE98FC12 for ; Sun, 17 Jan 2010 18:28:34 +0000 (UTC) Received: by pzk40 with SMTP id 40so249916pzk.7 for ; Sun, 17 Jan 2010 10:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Z2sd/K3dNrZCGrOtP+5WlbEzkKq4Prd3DQaQzB7wUpI=; b=d4oYXr6bUph5sDTMS3lpjVhllOPElg90bBjaEpiLrPlK2HNSVB7Eg8cKYZosVPVyKc TXW6ZIi73/pXaAti63WLf4B+K7y7kse3e/QP2My1nF4E0oCfzT5VIEUfm+zxCFtjUPMw lCeXcctCNO+D1rMtWtw+M9aUK1RwnRzEwArOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pLoyvTSJSzK/jjPkH+u26QT/7fHY7w5wlQv5uFuptr6y5uJe2kxgRItBRLSwwB0wo5 29cuGPzmVFKqzAoV0ZzOXPYjCi3m9COyC3oNXiWM4+YzBGpPCK4T5FYlm4Nw2bQDQPXG vFa0H5IibJEN5yHb6roboz+Sbx3zyMvCGPoxw= MIME-Version: 1.0 Received: by 10.142.66.6 with SMTP id o6mr3383964wfa.342.1263752914386; Sun, 17 Jan 2010 10:28:34 -0800 (PST) Date: Sun, 17 Jan 2010 10:28:34 -0800 Message-ID: From: Diego Montalvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 18:28:35 -0000 I am wanting to execute a PHP file 5 times a day via crontab. Is it possible? If so what is the proper crontab command for this? Thanks, Diego From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 18:45:01 2010 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 4235E106566B for ; Sun, 17 Jan 2010 18:45:01 +0000 (UTC) (envelope-from hack988@dev.htwap.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 10F1F8FC17 for ; Sun, 17 Jan 2010 18:45:00 +0000 (UTC) Received: by iwn7 with SMTP id 7so1638569iwn.7 for ; Sun, 17 Jan 2010 10:45:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.143.148 with SMTP id v20mr1416729ibu.14.1263753899936; Sun, 17 Jan 2010 10:44:59 -0800 (PST) X-Originating-IP: [119.98.79.182] In-Reply-To: References: Date: Mon, 18 Jan 2010 02:44:59 +0800 Message-ID: <4d03254c1001171044n11c046b8y4eb705470a8c5ac2@mail.gmail.com> From: hack988 hack988 To: Vasily Pupkin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: lists@lizardhill.com, php-general@lists.php.net, freebsd-questions@freebsd.org Subject: Re: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 18:45:01 -0000 I think Vasily Pupkin is right. http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=3D1.630;= r2=3D1.631;f=3Dh Found {portsdir}/Mk/bsd.port.mk and make sure the version is higher than 1.631(2009/12/18) In another side,your are use "*default tag=3D." in your supfile or /etc/mak= e.conf? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html mybe you need to use "*default tag=3DRELEASE_6_1_0" http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php5/?only_with_tag=3DRELE= ASE_6_1_0 php5.x for freebsd 6.1 2010/1/16 Vasily Pupkin : > add X11BASE=3D${LOCALBASE} as it is shown below: > > #echo "X11BASE=3D${LOCALBASE}" >> /etc/make.conf > > The problem is in recent changeset for ports/Mk/bsd.port.mk: > (http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=3D1.6= 30;r2=3D1.631;f=3Dh) > > ..if ${X11BASE} !=3D ${LOCALBASE} > ..BEGIN: > @${ECHO_MSG} "X11BASE is now deprecated. Unset X11BASE in make.conf and t= ry again." > @${FALSE} > ..endif > > The guy commited the revision couldn't imagine that there is no X11BASE o= n system defined at all while LOCALBASE is defined. > This bug should be fixed soon because a lot of people will stuck with it = after ports upgrade. > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> I try a 'make all-depend-list' >> the error shows up >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >> which error show ? > > # make > X11BASE is now deprecated. =A0Unset X11BASE in make.conf and try again. > *** Error code 1 > > Stop. > > That's the error... happens every time, no matter what I try to set/unset= in > /etc/make.conf. I looked through the makefiles to see where X11BASE is > referenced and I can't find any place where it is to just kill it. > >> > This is _exactly_ what I did, and as soon as I try a 'make all- >> depend-list' >> > the error shows up. I don't even have the X11 system installed (it's >> a >> > headless server, with no GUI). >> > >> > This is on a CLEAN 6.1 install, without any upgrades/patches, just >> straight >> > off the ISO install and after a portsnap install/extract. >> > >> > I tried building it _before_ I updated the ports and it would build a >> 5.1.2 >> > php ok, but I need 5.2.12. Something has changed in the port between >> 5.1.2 >> > and 5.2.12 >> > >> >> 1.add >> >> WITHOUT_X11=3Dyes >> >> in /etc/make.conf >> >> 2.remove >> >> X11BASE=3D"" >> >> from that file and >> >> >> >> 4.make all-depend-list >> >> 5.make clean all depend soft >> >> 6.make menuconfig set X11 disable >> >> 7.make &&make install >> >> >> >> >> >> 2010/1/12 Don O'Neil : >> >> > Ok.. just for grins I installed a new instance of 6.1, NO Patches, >> >> just >> >> > straight off the ISO... >> >> > >> >> > I loaded the ports that came WITH the distro, and was able to make >> >> php 5.1.2 >> >> > ok... >> >> > >> >> > When I did a portsnap fetch, portsnap extract, then went into the >> >> > /usr/ports/lang/php5 and just typed make I get the same error... >> >> > >> >> > SO as it seems, the port is broken, at least for working with >> FreeBSD >> >> 6.1. >> >> > >> >> > Can anyone give me some hints on how to build this sucker by hand? >> >> Seems as >> >> > though there are a bunch of patches that are referenced in the >> >> distinfo >> >> > file. >> >> > >> >> > I REALLY need to get this taken care of asap, any help is >> >> appreciated. >> >> > >> >> > Thanks! >> >> > >> >> >> > > I tried adding WITHOUT_X11=3Dyes to /etc/make.conf as well as >> >> >> X11BASE=3D >> >> >> > and >> >> >> > > X11BASE=3D"", but I still get the same error. >> >> >> > >> >> >> > Remove them. This makes sure they are not defined, not even >> >> >> > empty (as in "#define BLA -> symbol 'BLA' is defined"). >> >> >> > >> >> >> > > Where to go from here? Do I have and old version of something >> >> that >> >> >> is >> >> >> > > causing this? I get this error _right away_ before anything >> is >> >> even >> >> >> > built. >> >> >> > >> >> >> > It seems to be a check by the Makefile at port's top level. >> >> >> >> >> >> Ok... I have no definition for X11BASE anywhere, not in my env, >> not >> >> in >> >> >> my >> >> >> /etc/make.conf, nowhwere... >> >> >> >> >> >> However, it's still complaining about X11BASE being deprecated. I >> >> tried >> >> >> just >> >> >> adding WITHOUT_X11=3Dyes in /etc/make, and without it. I even >> searched >> >> >> all the >> >> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to >> find >> >> >> any >> >> >> reference to X11, or X, or X11BASE, but nada... I don't even know >> >> where >> >> >> this >> >> >> error message is being generated from. >> >> >> >> >> >> I can't even do a basic make without it immediately spitting out >> the >> >> >> error: >> >> >> >> >> >> # make >> >> >> X11BASE is now deprecated. =A0Unset X11BASE in make.conf and try >> >> again. >> >> >> *** Error code 1 >> >> >> >> >> >> Stop. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 19:14:00 2010 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 4EF81106566B for ; Sun, 17 Jan 2010 19:14:00 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [75.99.82.91]) by mx1.freebsd.org (Postfix) with ESMTP id C3D648FC14 for ; Sun, 17 Jan 2010 19:13:59 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.olivent.com (Kerio MailServer 6.7.2) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Sun, 17 Jan 2010 14:13:56 -0500 References: Message-Id: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> From: mikel king To: Diego Montalvo In-Reply-To: Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 17 Jan 2010 14:13:55 -0500 X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 19:14:00 -0000 On Jan 17, 2010, at 1:28 PM, Diego Montalvo wrote: > I am wanting to execute a PHP file 5 times a day via crontab. Is it > possible? If so what is the proper crontab command for this? > > Thanks, > Diego Diego, Certainly, but you must ensure that you have the CLI version of PHP installed. Regards, Mikel King CEO, Olivent Technologies Senior Editor, BSD News Network Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 c: 631.796.1499 skype:mikel.king http://olivent.com http://mikelking.com http://twitter.com/mikelking From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 19:30:36 2010 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 97C3B106566C for ; Sun, 17 Jan 2010 19:30:36 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 6E61E8FC1D for ; Sun, 17 Jan 2010 19:30:36 +0000 (UTC) Received: by pwi15 with SMTP id 15so1421832pwi.3 for ; Sun, 17 Jan 2010 11:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zjTa7bArq2TiEe6M/m14ZBRofhYKx3TM617xzw0c46w=; b=LXHsmzbnwAF337fC0lmdZ9wECcXbq8T4ZI1ls6W5m48CcFiU3GAH4uzcRy+V3ONvr8 LpLk6i9Nxq1ApwCILb4PK6VN9REYoW+Iu0V66Klr0m8sOjOL2xjQ/cXVSL0hY1Ub3O60 AW9MYqYTx2YDThnJJtx48haqqxw+iIrcGiljA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YF+E/aH5FURKga4kuiKhI2I1NV8e5hFm6/NGg4J+jwyocbHMHEqQ1MaS2noRT4YaRG lN+GBEpL9itcEedrqA+BywFEoCgMBZdOE7mvPeiaBiiIE0/dhCSA4Cls7HhVzcahgycN GswaT0j1EinPy2an4UlvUyBXkt3741H/jpFtM= MIME-Version: 1.0 Received: by 10.142.1.27 with SMTP id 27mr3574091wfa.33.1263756635814; Sun, 17 Jan 2010 11:30:35 -0800 (PST) In-Reply-To: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> References: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> Date: Sun, 17 Jan 2010 11:30:35 -0800 Message-ID: From: Diego Montalvo To: mikel king Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 19:30:36 -0000 CLI meaning, if I can run and excute in command line, a php file can run in crontab? doing the following in shell: "# php helloworld.php" - "hello world" is produced... Thanks! 2010/1/17 mikel king : > > > On Jan 17, 2010, at 1:28 PM, Diego Montalvo wrote: > > I am wanting to execute a PHP file 5 times a day via crontab. Is it > possible? =A0If so what is the proper crontab command for this? > > Thanks, > Diego > > Diego, > Certainly, but you must ensure that you have the CLI version of PHP > installed. > > Regards, > Mikel King > CEO, Olivent Technologies > Senior Editor, BSD News Network > Columnist, BSD Magazine > 6 Alpine Court, > Medford, NY 11763 > o: 631.627.3055 c: 631.796.1499 > skype:mikel.king > http://olivent.com > http://mikelking.com > http://twitter.com/mikelking > From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 20:01:24 2010 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 65FB31065679 for ; Sun, 17 Jan 2010 20:01:24 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3B5858FC0C for ; Sun, 17 Jan 2010 20:01:24 +0000 (UTC) Received: by pwi15 with SMTP id 15so1430407pwi.3 for ; Sun, 17 Jan 2010 12:01:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=h28HMQB9kdYHnsJjeH9LTjLRhowiWHB3P9Wlhj7zCkI=; b=G5XFYVGX6GAa3LA47Rn2hQALj/sOQZn4qVocMYer2XIZS4Kx81kvEi+xBeaDuFb8Eb eshgEvvd40N1hpo3NqHCSNsyjQHw4yqBEfddFkKnInR7FwOIgbVNrCh2UdUOgnZf46hQ tkqP4cFOec89AkE5XGb6lz5+7odyTOKZkvELk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rQNziFegR4xeuEinpBTLwD1mOnRbye4GRiKuR/BBqaIGtYPWwimUaYgq7D2rSCVHSk kG/PuPAMyiY3Kd9x6ECTNqKRpO3iLIV08z3yeQwUKvYKrglBgOigHpTwpYbhpJrY44Mf o5CmZz6lH/xuY6ANkPFjfDvCV6T1EIM2Ho5t8= MIME-Version: 1.0 Received: by 10.142.1.27 with SMTP id 27mr3591588wfa.33.1263758483738; Sun, 17 Jan 2010 12:01:23 -0800 (PST) In-Reply-To: References: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> Date: Sun, 17 Jan 2010 12:01:23 -0800 Message-ID: From: Diego Montalvo To: mikel king Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 20:01:24 -0000 I am using " 2010/1/17 mikel king : > > On Jan 17, 2010, at 2:30 PM, Diego Montalvo wrote: > >> CLI meaning, if I can run and excute in >> command line, =A0a php file can run in crontab? =A0doing the following i= n >> shell: "# php helloworld.php" - "hello world" is produced... >> >> Thanks! >> >> > > > ok then do you have #!/usr/local/bin/php as your first line of the script= ? > Or are you using the bash exec command to run the code in your shell scri= pt? > > Also you can try placing the path to the php CLI executable in the cronta= b. > > > > From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 20:01:49 2010 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 DA659106568B for ; Sun, 17 Jan 2010 20:01:49 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 91EE48FC18 for ; Sun, 17 Jan 2010 20:01:49 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so492864qwd.7 for ; Sun, 17 Jan 2010 12:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Rkb/LVlZ0OCfTFOG5PYTmzP2+fV/L7hxbNEnu+VN7rk=; b=WfLlMZGYk+O4y3jgo8anLvytrrBBFvsJnuyVdoJ0Z575/6iu2tCjXXZy0oIlaZDcoP qaikNPqpyvqV3+yWas3PLC8W5sGraFVC/wXwsXUQDsIwDsR8YrHXKS89YPauyodEx3zo GamW0Y7c6Z/MBO0mH6Ez04qUQHXfNfdG8N+I4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sNIGBGHfYnKd7CAuJujg4VjhOnjZb6tSnGxCDjMoPg3VhDLsfO5+WxEPsLeYa4CiGr 77/4mO1xKIQ+UkEdCU0LQ2Hb5m6M2RJ23StigS/GD1404U8135n0eF+JQsIpG5qzdFIE qKFQ7lunSdX+qsiXW+8mEdwtTNI/9AGpXj9Ac= MIME-Version: 1.0 Received: by 10.229.34.143 with SMTP id l15mr3483579qcd.80.1263758508263; Sun, 17 Jan 2010 12:01:48 -0800 (PST) In-Reply-To: References: Date: Sun, 17 Jan 2010 12:01:48 -0800 Message-ID: <560f92641001171201t37f5a123m3b59ff4ce6e007e3@mail.gmail.com> From: Nerius Landys To: Diego Montalvo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, MaJ Subject: Re: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 20:01:49 -0000 > I am wanting to execute a PHP file 5 times a day via crontab. Is it > possible? =A0If so what is the proper crontab command for this? Hi. I'm running several PHP programs via cron. #1 Make sure you have CLI (command line interface) in your PHP port: As root, > cd /usr/ports/lang/php5 > make config Then make sure the "CLI" is set to "on". If it isn't, change it, and recompile the port. For example "portupgrade -f php5-5.2.12" will recompile the port, if you have portupgrade installed. #2 Write the PHP script you want to run. There are different syntaxes for writing a command-line PHP program but here is one of them: Save this to a path "/path/to/mycode.php". #3 Add cron job to execute this program. Your crontab should look like this: */5 * * * * /usr/local/bin/php -f /path/to/mycode.php (That would execute your PHP script every 5 minutes for example.) That's it! There is an alternate way to write PHP scripts for CLI, but I have not used it extensively, so I don't know all the details or the correctest way to do it. You can write a script like this: #!/usr/local/bin/php And then save it to a file for example "test.php" and set the executable permission on it. Then you can just: ./test.php from a terminal. So you could change the cron to just execute the script directly in this case instead of explicitly calling /usr/local/bin/php in the crontab. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 20:10:03 2010 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 CCDDA1065670 for ; Sun, 17 Jan 2010 20:10:03 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [75.99.82.91]) by mx1.freebsd.org (Postfix) with ESMTP id 55F168FC0C for ; Sun, 17 Jan 2010 20:10:03 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.olivent.com (Kerio MailServer 6.7.2) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Sun, 17 Jan 2010 15:10:00 -0500 References: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> Message-Id: <6DDE69B1-E8FD-4889-ADA6-4F81BC30BC61@olivent.com> From: mikel king To: Diego Montalvo In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 17 Jan 2010 15:10:00 -0500 X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@freebsd.org Subject: Re: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 20:10:03 -0000 On Jan 17, 2010, at 3:01 PM, Diego Montalvo wrote: > I am using " > > 2010/1/17 mikel king : >> >> On Jan 17, 2010, at 2:30 PM, Diego Montalvo wrote: >> >>> CLI meaning, if I can run and excute in >>> command line, a php file can run in crontab? doing the following >>> in >>> shell: "# php helloworld.php" - "hello world" is produced... >>> >>> Thanks! >>> >>> >> >> >> ok then do you have #!/usr/local/bin/php as your first line of the >> script? >> Or are you using the bash exec command to run the code in your >> shell script? >> >> Also you can try placing the path to the php CLI executable in the >> crontab. If your php executable is in /usr/local/bin then replace /bin/sh with that in your script file. #!/usr/local/bin/php Remember to chmod +x the script file. m! From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 16:59:30 2010 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 F1727106566B; Sun, 17 Jan 2010 16:59: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 9DBD38FC12; Sun, 17 Jan 2010 16:59:30 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0HGxT6e059196; Sun, 17 Jan 2010 09:59:29 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o0HGxTex059193; Sun, 17 Jan 2010 09:59:29 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 17 Jan 2010 09:59:29 -0700 (MST) From: Warren Block To: Matthew Seaman In-Reply-To: <4B52C94B.10809@infracaninophile.co.uk> Message-ID: References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> <20100117013722.1893895c@it.buh.tecnik93.com> <4B52C94B.10809@infracaninophile.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Sun, 17 Jan 2010 09:59:29 -0700 (MST) X-Mailman-Approved-At: Sun, 17 Jan 2010 20:28:50 +0000 Cc: "b. f." , glarkin@freebsd.org, pav@freebsd.org, portmgr@freebsd.org, Ion-Mihai Tetcu , freebsd-questions@freebsd.org Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 16:59:31 -0000 On Sun, 17 Jan 2010, Matthew Seaman wrote: > Ion-Mihai Tetcu wrote: > >> I'd be very happy if I could: >> - fetch the distfiles, even if I have a conflicting port installed >> - be able to use portmaster -o to switch from one port to an other one >> that conflicts with it. >> - be able to at least compile a port (eg. for testing) without having >> to de-install the current one. >> >> I'm all in favor of restoring the old behavior with a switch available >> to turn on the new one. > > +1 > > Although a big fat warning message at fetch or build phase when operating on > a port with conflicts wouldn't go amiss. Agreed. A warning would give time to interrupt a big distfile fetch or build without taking that option away by default, or encouraging disabling conflict checks altogether. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 19:52:55 2010 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 D22ED106566B for ; Sun, 17 Jan 2010 19:52:55 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 93D548FC14 for ; Sun, 17 Jan 2010 19:52:55 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0HJqsBH024009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Jan 2010 13:52:54 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0HJqro3095133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Jan 2010 13:52:54 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0HIrsLJ082021; Sun, 17 Jan 2010 12:53:54 -0600 (CST) (envelope-from dan) Date: Sun, 17 Jan 2010 12:53:51 -0600 From: Dan Nelson To: Martin Wilke Message-ID: <20100117185350.GI5651@dan.emsphone.com> References: <4B520C71.9080301@FreeBSD.org> <1263673588.1541.60.camel@hood.oook.cz> <4B524584.9050909@FreeBSD.org> <1263725045.1541.66.camel@hood.oook.cz> <20100117124506.1563d9ad@miwi.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100117124506.1563d9ad@miwi.homeunix.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sun, 17 Jan 2010 13:52:54 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 X-Mailman-Approved-At: Sun, 17 Jan 2010 20:29:02 +0000 Cc: glarkin@freebsd.org, pav@freebsd.org, portmgr@freebsd.org, freebsd-questions@freebsd.org, "b. f." Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 19:52:55 -0000 In the last episode (Jan 17), Martin Wilke said: > On Sun, 17 Jan 2010 11:44:05 +0100 > Pav Lucistnik wrote: > > Greg Larkin píse v so 16. 01. 2010 v 18:02 -0500: > > > Here is the original post: > > > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg227363.html > > > > I will agree that `portupgrade -o` is way too useful feature. I'd vote > > for reverting to the old behaviour. > > > > > I thought portmgr might have some insight into additional reasons for > > > making the change, such as fixing a problem with pointyhat builds, > > > etc. At the moment, I'm neutral on the change, since it hasn't caused > > > me any grief, but I did some research for the folks who posted the > > > original questions. > > > > It was done because someone thought it is a good idea and submitted a PR > > about it. > > For some ports is the conflict check too late see example here. > > http://lists.freebsd.org/pipermail/freebsd-gecko/2009-December/000577.html > > I agree that we need a new pre-fetch hook in bsd.port.mk if a conflict > present is. But that need a bit work and it is on my todo list... Maybe CONFLICTS could be treated like DEPENDS, with separate BUILD and RUN checks. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 20:48:28 2010 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 C57B7106566B for ; Sun, 17 Jan 2010 20:48:28 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 990CD8FC0A for ; Sun, 17 Jan 2010 20:48:28 +0000 (UTC) Received: by pwi15 with SMTP id 15so1443348pwi.3 for ; Sun, 17 Jan 2010 12:48:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6i4br45oRSzbGDzuo3OHjWinehA0dGZket+D8gABjfU=; b=M/kjYk9lpx9kcw8bXvD4yVZnYu93tqEfiVMXPXLoOJJ4zI1bhWh14JBK3w5eVARl0t 0aNs1KgBUYjap7OucjJir0mA2HQjBkDJwQExa41RiNjaGDFs7TIOx6IGUr9QQlZfuE2l VJBuJqGWkGZ5+nfElAl3zLnnIo377RjQ3emps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZGWyaxYG2YkGTa2Tfw95v/rrZPrY3HOGeDiB6/xLvOeE6hSWtVPsL8MxjCwWFPojVd wx954aOVzCwGhyDpHCfB9lZ21KgfTRGHyh+DQ/8PeO4Koj/NhmRsq0MPcGyotx100md7 kF9fT08aVDNnNbsx8mbp9yUHq4bfoxhpvo9Ao= MIME-Version: 1.0 Received: by 10.143.26.38 with SMTP id d38mr3582752wfj.0.1263761308248; Sun, 17 Jan 2010 12:48:28 -0800 (PST) In-Reply-To: <6DDE69B1-E8FD-4889-ADA6-4F81BC30BC61@olivent.com> References: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> <6DDE69B1-E8FD-4889-ADA6-4F81BC30BC61@olivent.com> Date: Sun, 17 Jan 2010 12:48:28 -0800 Message-ID: From: Diego Montalvo To: mikel king Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 17 Jan 2010 20:48:28 -0000 One other question, is there a way to copy the ouput of the crontab "php" file to another file? Simply the "hello world" output and not the code... ?? 2010/1/17 mikel king : > > On Jan 17, 2010, at 3:01 PM, Diego Montalvo wrote: > >> I am using " >> >> 2010/1/17 mikel king : >>> >>> On Jan 17, 2010, at 2:30 PM, Diego Montalvo wrote: >>> >>>> CLI meaning, if I can run and excute in >>>> command line, =A0a php file can run in crontab? =A0doing the following= in >>>> shell: "# php helloworld.php" - "hello world" is produced... >>>> >>>> Thanks! >>>> >>>> >>> >>> >>> ok then do you have #!/usr/local/bin/php as your first line of the >>> script? >>> Or are you using the bash exec command to run the code in your shell >>> script? >>> >>> Also you can try placing the path to the php CLI executable in the >>> crontab. > > > If your php executable is in /usr/local/bin then replace /bin/sh with tha= t > in your script file. > > #!/usr/local/bin/php > > > =A0 =A0 =A0 =A0echo "Hello cruel world!!!\n"; > > ?> > > Remember to chmod +x the script file. > > m! > > From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 21:22:17 2010 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 5029E106568B for ; Sun, 17 Jan 2010 21:22:17 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.ptn-ipout01.plus.net (relay.ptn-ipout01.plus.net [212.159.7.35]) by mx1.freebsd.org (Postfix) with ESMTP id DEB218FC15 for ; Sun, 17 Jan 2010 21:22:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIIOU0tUXebz/2dsb2JhbADUAYQyBA Received: from relay02.plus.net ([84.93.230.243]) by relay.ptn-ipout01.plus.net with ESMTP; 17 Jan 2010 21:22:15 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay02.plus.net with esmtp (Exim) id 1NWcZb-0003ND-GC; Sun, 17 Jan 2010 21:22:15 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NWcZb-0001PN-5k; Sun, 17 Jan 2010 21:22:15 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 17 Jan 2010 21:22:14 +0000 User-Agent: KMail/1.9.10 References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001171639.41777.jmc-freebsd2@milibyte.co.uk> <4B534661.7030905@infracaninophile.co.uk> In-Reply-To: <4B534661.7030905@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201001172122.15128.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 41d616c23761f977a12531a48e6debf7 Cc: Pieter de Goeje Subject: Re: Newbie gmirror 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: Sun, 17 Jan 2010 21:22:17 -0000 On Sunday 17 January 2010, Matthew Seaman wrote: > Mike Clarke wrote: > > Actually I was more concerned about what happens when I boot into > > another OS like Windows or Linux on one of the spare slices - I'm > > assuming that I have to apply gmirror to the whole disk rather than > > just selected slices? > > You can't do this. =A0gmirror is FreeBSD specific, and other OSes can't > deal with it. =A0You can take your two drives, partition them (fdisk) > and then create a gmirror across the slices you assign to FreeBSD. This will make things a lot easier for me. I think all the examples of=20 gmirror I've seen used things like /dev/da0 as the provider in label=20 commands so I assumed that I had to use the whole physical disk but if=20 I can mirror individual slices then I have much more flexibility. My motherboard has a UDMA133 controller for ata0 & ata1 (which I don't=20 use) and 2 SATA controllers for ata2 to ata5 so with my 2 SATA drives=20 spread between the controllers on channels 2 & 4 I could have something=20 like /dev/mirror/gm1 provided by /dev/ad2s1 & /dev/ad4s1=20 and /dev/mirror/gm2 provided by /dev/ad2s2 & /dev/ad4s2 for a couple of=20 =46reeBSD systems. That will leave me with 2 spare slices on each drive=20 for other purposes. Any Windows or Linux stuff I put on tends to be=20 mainly experimental and less long term than my FreeBSD system so don't=20 really need the resilience of being mirrored. =2D-=20 Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 21:34:50 2010 Return-P