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-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82BFA1065670 for ; Sun, 17 Jan 2010 21:34:50 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [194.95.249.4]) by mx1.freebsd.org (Postfix) with ESMTP id 455878FC1A for ; Sun, 17 Jan 2010 21:34:50 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id 2A26958047; Sun, 17 Jan 2010 22:14:50 +0100 (CET) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.3/8.14.3) with ESMTP id o0HLE5wN016447 for ; Sun, 17 Jan 2010 22:14:05 +0100 (CET) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.3/8.14.3/Submit) id o0HLE5ib016446 for questions@freebsd.org; Sun, 17 Jan 2010 22:14:05 +0100 (CET) (envelope-from schweikh) Date: Sun, 17 Jan 2010 22:13:55 +0100 From: Jens Schweikhardt To: questions@freebsd.org Message-ID: <20100117211355.GA1645@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Problem viewing DVDs 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:34:50 -0000 hello, world\n I'm trying to view a "Friends" DVD (original) on my 8-Current system but none of the dvd viewer apps (eg. ogle and mplayer) work. Investigating I found that I can mount the DVD as a cd9660 file system, but all the *.vob files result in an I/O error when read, while all the non-vobs can be read just fine: /cdrom/video_ts # ls -l total 3841434 -r-xr-xr-x 1 root wheel 12288 Dec 21 2004 video_ts.bup -r-xr-xr-x 1 root wheel 12288 Dec 21 2004 video_ts.ifo -r-xr-xr-x 1 root wheel 3016704 Dec 21 2004 video_ts.vob -r-xr-xr-x 1 root wheel 90112 Dec 21 2004 vts_01_0.bup -r-xr-xr-x 1 root wheel 90112 Dec 21 2004 vts_01_0.ifo -r-xr-xr-x 1 root wheel 7192576 Dec 21 2004 vts_01_0.vob -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_1.vob -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_2.vob -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_3.vob -r-xr-xr-x 1 root wheel 701995008 Dec 21 2004 vts_01_4.vob /cdrom/video_ts # md5 * MD5 (video_ts.bup) = 7c22ee5d3160bc66158b13033ab3f87b MD5 (video_ts.ifo) = 7c22ee5d3160bc66158b13033ab3f87b md5: video_ts.vob: Input/output error MD5 (vts_01_0.bup) = 21acaafc3988d8a296881c878865a7d1 MD5 (vts_01_0.ifo) = 21acaafc3988d8a296881c878865a7d1 md5: vts_01_0.vob: Input/output error md5: vts_01_1.vob: Input/output error md5: vts_01_2.vob: Input/output error md5: vts_01_3.vob: Input/output error md5: vts_01_4.vob: Input/output error and for each file dmesg says acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x6f ascq=0x03 g_vfs_done():acd0[READ(offset=5834752, length=65536)]error = 5 Is this a case of some kind of DRM protection I'm seeing here? Am I missing something else? The drive is a acd0: DVDR at ata8-master SATA150 (LG GH22) on a Asus P5Q3 Deluxe with Intel P45/ICH10R chipset. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 21:43: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 616791065679 for ; Sun, 17 Jan 2010 21:43:11 +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 10BE18FC1B for ; Sun, 17 Jan 2010 21:43:09 +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 o0HLgsSM076117; Sun, 17 Jan 2010 21:43:00 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0HLgsSM076117 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263764580; bh=LVBjivjwrOItplhPNq9u5PYq6PTM691WKk0L74wvGWs=; 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<4B538459.7090601@infracaninophile.co.uk>|Date:=20S un,=2017=20Jan=202010=2021:42:49=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>=20<20100117 1639.41777.jmc-freebsd2@milibyte.co.uk>=20<4B534661.7030905@infrac aninophile.co.uk>=20<201001172122.15128.jmc-freebsd2@milibyte.co.u k>|In-Reply-To:=20<201001172122.15128.jmc-freebsd2@milibyte.co.uk> |X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B= 20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signa ture"=3B=0D=0A=20boundary=3D"------------enigDC673569D521166F44C4F 3D6"; b=ubLA81JDFSWOpAlimJQEvqW5ehKxq6CaeVhzgYDzFklAmLfkuUgv9cunxruKrf15r m7Q1EQVtjbNm1Ddntx2SNaO6c7fVlT0LTijYPWbNPIW3K2ctTQzGTouFhV8nHsJ98Y WY6M2yO7E15I/PmK0wkE3Xi+N2cf6mwmXsC1cW+Y= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B538459.7090601@infracaninophile.co.uk> Date: Sun, 17 Jan 2010 21:42:49 +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> <201001171639.41777.jmc-freebsd2@milibyte.co.uk> <4B534661.7030905@infracaninophile.co.uk> <201001172122.15128.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201001172122.15128.jmc-freebsd2@milibyte.co.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigDC673569D521166F44C4F3D6" 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 21:43:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDC673569D521166F44C4F3D6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Mike Clarke wrote: > On Sunday 17 January 2010, Matthew Seaman wrote: >=20 >> 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. 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. >=20 > This will make things a lot easier for me. I think all the examples of = > 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 = > I can mirror individual slices then I have much more flexibility. >=20 > My motherboard has a UDMA133 controller for ata0 & ata1 (which I don't = > 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 > FreeBSD 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 = > really need the resilience of being mirrored. >=20 Yes -- there's an On-Lamp article by Dru Lavigne that has been particular= ly influential, and gmirror'ing whole disks is the best way forwards for the= vast majority of cases where you've a server dedicated to one OS. However, one of the really amazingly brilliant things about geom is that just about any disk / storage related thing can be a geom provider, and=20 geom constructs will nest very happily. Here's a howto for setting up gmirror across a pair of slices: http://people.freebsd.org/~rse/mirror/ It's fairly old now, but the essentials are still correct. The one thing= that has changed in the intervening time is what is the best algorithm to use for the gmirror. Up until the release of 8.0, 'round-robin' was=20 virtually always the right choice, but nowadays 'load' is preferred. All that means, is change the following line in rse's article from: gmirror label -v -n -b round-robin ${gm} /dev/${d2}s1 to gmirror label -v -n -b load ${gm} /dev/${d2}s1 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 --------------enigDC673569D521166F44C4F3D6 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 iEYEAREIAAYFAktThF4ACgkQ8Mjk52CukIwwfACeOmZuTNFrWqyYKSD7f2r5xKZ6 j6IAoITJjkmu5GxJoL9xBL/ZmQ7T149H =VqSw -----END PGP SIGNATURE----- --------------enigDC673569D521166F44C4F3D6-- From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 22:35:37 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 18B941065676 for ; Sun, 17 Jan 2010 22:35:37 +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 C327D8FC15 for ; Sun, 17 Jan 2010 22:35:36 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NWdiY-0003le-5b for freebsd-questions@freebsd.org; Sun, 17 Jan 2010 23:35:34 +0100 Received: from 193.33.173.33 ([193.33.173.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jan 2010 23:35:34 +0100 Received: from c.kworr by 193.33.173.33 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Jan 2010 23:35:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Mon, 18 Jan 2010 00:35:12 +0200 Lines: 28 Message-ID: References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001161545.31616.pieter@degoeje.nl> <201001171639.41777.jmc-freebsd2@milibyte.co.uk> <4B534661.7030905@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.33.173.33 User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100116 Thunderbird/3.0 In-Reply-To: <4B534661.7030905@infracaninophile.co.uk> Sender: news 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 22:35:37 -0000 On 17.01.2010 19:18, 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. 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. I can correct you here. XP Pro and later do know about 'dynamic' disks and they can make mirrors from them. Booting from such disks is a kind pain in the ass but it works for RAID0, RAID1, RAID0+1 and RAID5 setup. I can be wrong, I'm not a Win-fan, I just do know this exists. You can find details here: http://support.microsoft.com/default.aspx/kb/816307 -- Sphinx of black quartz judge my vow. From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 23:13: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 D9EA81065672 for ; Sun, 17 Jan 2010 23:13:30 +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 36C258FC0A for ; Sun, 17 Jan 2010 23:13:28 +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 18:13:22 -0500 References: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> <6DDE69B1-E8FD-4889-ADA6-4F81BC30BC61@olivent.com> Message-Id: From: mikel king To: Diego Montalvo In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPod Mail (7D11) Mime-Version: 1.0 (iPod Mail 7D11) Date: Sun, 17 Jan 2010 18:12:59 -0500 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 23:13:30 -0000 There are a couple of ways. My prefrence is to control the output directly from the app in PHP. However you should be able to pipe the output to a file without issue. Cheers, m! On Jan 17, 2010, at 15:48, Diego Montalvo wrote: > 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, 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 >> >> > >> echo "Hello cruel world!!!\n"; >> >> ?> >> >> Remember to chmod +x the script file. >> >> m! >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 23:53: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 C83E5106566C for ; Sun, 17 Jan 2010 23:53:17 +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 804498FC13 for ; Sun, 17 Jan 2010 23:53:17 +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 o0HNrDhV080455; Sun, 17 Jan 2010 15:53:13 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 17 Jan 2010 15:53:13 -0800 (PST) Date: Sun, 17 Jan 2010 15:53:13 -0800 From: Gary Kline To: Mike Clarke Message-ID: <20100117235313.GA6790@thought.org> References: <20100116000928.GA96431@thought.org> <201001161028.00121.jmc-freebsd2@milibyte.co.uk> <20100117030531.GB816@thought.org> <201001171041.16475.jmc-freebsd2@milibyte.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001171041.16475.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 23:53:18 -0000 On Sun, Jan 17, 2010 at 10:41:16AM +0000, Mike Clarke wrote: > 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". hmmm. nope, nada. I can work without pretty pix on my workspaces :-) > > > ---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. > Thanks for your input. I had similar problems with rel 4; plus some things simply quit working. I'll hold off awhile yet. > -- > 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 Mon Jan 18 00:56:24 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B4C31065670 for ; Mon, 18 Jan 2010 00:56:24 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5B1048FC14 for ; Mon, 18 Jan 2010 00:56:23 +0000 (UTC) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 292E2380E5; Mon, 18 Jan 2010 01:39:39 +0100 (CET) Date: Mon, 18 Jan 2010 01:39:38 +0100 From: cpghost To: Jens Schweikhardt Message-ID: <20100118003938.GB5632@phenom.cordula.ws> References: <20100117211355.GA1645@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100117211355.GA1645@schweikhardt.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: questions@freebsd.org Subject: Re: Problem viewing DVDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 00:56:24 -0000 On Sun, Jan 17, 2010 at 10:13:55PM +0100, Jens Schweikhardt wrote: > hello, world\n Hi Jens, > I'm trying to view a "Friends" DVD (original) on my 8-Current system > but none of the dvd viewer apps (eg. ogle and mplayer) work. > Investigating I found that I can mount the DVD as a cd9660 file > system, but all the *.vob files result in an I/O error when read, > while all the non-vobs can be read just fine: > > /cdrom/video_ts # ls -l > total 3841434 > -r-xr-xr-x 1 root wheel 12288 Dec 21 2004 video_ts.bup > -r-xr-xr-x 1 root wheel 12288 Dec 21 2004 video_ts.ifo > -r-xr-xr-x 1 root wheel 3016704 Dec 21 2004 video_ts.vob > -r-xr-xr-x 1 root wheel 90112 Dec 21 2004 vts_01_0.bup > -r-xr-xr-x 1 root wheel 90112 Dec 21 2004 vts_01_0.ifo > -r-xr-xr-x 1 root wheel 7192576 Dec 21 2004 vts_01_0.vob > -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_1.vob > -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_2.vob > -r-xr-xr-x 1 root wheel 1073739776 Dec 21 2004 vts_01_3.vob > -r-xr-xr-x 1 root wheel 701995008 Dec 21 2004 vts_01_4.vob > /cdrom/video_ts # md5 * > MD5 (video_ts.bup) = 7c22ee5d3160bc66158b13033ab3f87b > MD5 (video_ts.ifo) = 7c22ee5d3160bc66158b13033ab3f87b > md5: video_ts.vob: Input/output error > MD5 (vts_01_0.bup) = 21acaafc3988d8a296881c878865a7d1 > MD5 (vts_01_0.ifo) = 21acaafc3988d8a296881c878865a7d1 > md5: vts_01_0.vob: Input/output error > md5: vts_01_1.vob: Input/output error > md5: vts_01_2.vob: Input/output error > md5: vts_01_3.vob: Input/output error > md5: vts_01_4.vob: Input/output error > > and for each file dmesg says > acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x6f ascq=0x03 > g_vfs_done():acd0[READ(offset=5834752, length=65536)]error = 5 > > Is this a case of some kind of DRM protection I'm seeing here? > Am I missing something else? The drive is a > acd0: DVDR at ata8-master SATA150 > (LG GH22) on a Asus P5Q3 Deluxe with Intel P45/ICH10R chipset. this usually happens with CSS scrambled VOBs. Have you tried to extract the VOBs with sysutils/vobcopy (e.g. using its --mirror option)? Just make sure that multimedia/libdvdread is actually compiled with multimedia/libdvdcss as a dependency, before compiling vobcopy. The ports should take care of that though. You may still see acd failures in dmesg using vobcopy (no idea why), but the copied VOBs should still be okay. I have no problems viewing them with mplayer. > Regards, > > Jens > -- > Jens Schweikhardt http://www.schweikhardt.net/ > SIGSIG -- signature too long (core dumped) Good luck, -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 03:34: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 3EEB7106566C for ; Mon, 18 Jan 2010 03:34:33 +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 018478FC1B for ; Mon, 18 Jan 2010 03:34:32 +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 o0I3YT6X081650 for ; Sun, 17 Jan 2010 19:34:29 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 17 Jan 2010 19:34:29 -0800 (PST) Date: Sun, 17 Jan 2010 19:34:29 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100118033426.GA7585@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: Subject: curses init in one line? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 03:34:33 -0000 this is going to sound a bit off the wall, and it may have only worked in FBSD [if I wasn't imagining it], but is there a way to get into curses/ncurses mode in one short line? it has been years but I think somebody sent me the magic code, for either a shell scrippt or a C program. I do not have it anywhere in my C files. gary PS: no, I am not sloshed [*hic*] -- 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 Mon Jan 18 08:46: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 C3BED106568F for ; Mon, 18 Jan 2010 08:46:50 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from d.mail.ru.ac.za (d.mail.ru.ac.za [IPv6:2001:4200:1010::25:4]) by mx1.freebsd.org (Postfix) with ESMTP id CBF218FC15 for ; Mon, 18 Jan 2010 08:46:49 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=NwOJrudt39TXC8UdgAAt2yyzkL/8p0YhdYbVeKJ65kDRtYvBFdQm6A3KuvBkPHYDQGQQwmr6ezzmhhHdIBbtv5v0uVo34Ie7EOLBio9+lrrD6W9vay3K8CQxZW+KJb58; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:59271) by d.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NWnG3-000L6Q-Is for freebsd-questions@freebsd.org; Mon, 18 Jan 2010 10:46:47 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Mon, 18 Jan 2010 10:46:47 +0200 User-Agent: KMail/1.9.10 References: <20100117013722.1893895c@it.buh.tecnik93.com> <4B52C94B.10809@infracaninophile.co.uk> In-Reply-To: <4B52C94B.10809@infracaninophile.co.uk> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: d.mail.ru.ac.za (2001:4200:1010::25:4) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext 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: Mon, 18 Jan 2010 08:46:50 -0000 On Sunday 17 January 2010 10:24:43 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. I'd agree with this too. The idea of the change seems to be to protect people from wasting time downloading and building something which they can't install without resolving a conflict. How exactly was that wasted time? Surely you don't download and build a port you're not going to install? What the change actually does is penalise people who want to download and build regardless of conflicts, to reduce the time between uninstalling the conflicting port and being able to install the replacement. This seems to me to be a very badly thought-out change which should be reverted. Jonathan From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 11:14:47 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 A88EC1065672 for ; Mon, 18 Jan 2010 11:14:47 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADA78FC15 for ; Mon, 18 Jan 2010 11:14:46 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NWpZA-0006yc-D1; Mon, 18 Jan 2010 12:14:41 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0IAiZGD003306; Mon, 18 Jan 2010 11:44:35 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0IAiYaU003305; Mon, 18 Jan 2010 11:44:34 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 18 Jan 2010 11:44:34 +0100 From: Matthias Apitz To: Bas Smeelen Message-ID: <20100118104434.GA3275@current.Sisis.de> References: <20100111123219.GA2270@current.Sisis.de> <8983DD34-2BF4-4FC9-B96F-5108E10AE9C4@goldmark.org> <4B4C20D1.3060408@ose.nl> <20100114120108.GA3815@current.Sisis.de> <4B4F10BA.2000308@ose.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B4F10BA.2000308@ose.nl> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: freebsd-questions@freebsd.org Subject: Re: Q: recommendation for external USB disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 11:14:47 -0000 El día Thursday, January 14, 2010 a las 01:40:26PM +0100, Bas Smeelen escribió: > It's only one partition. I created it with sysinstall. > > fb1:/ # fdisk /dev/da1 > ******* Working on device /dev/da1 ******* > parameters extracted from in-core disklabel are: > cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=182401 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 2930272002 (1430796 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 254/ sector 63 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > fb1:/ # bsdlabel /dev/da1s1 > # /dev/da1s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 2930272002 0 unused 0 0 # "raw" part, > don't edit > d: 2930272002 0 4.2BSD 2048 16384 28552 I've got my device and it comes with a pre-formatted msdosfs which can be mounted with: # mount -t msdosfs -o large /dev/da0s1 /mnt # df -kh /mnt current# df -kh Filesystem Size Used Avail Capacity Mounted on /dev/da0s1 1.4T 115M 1.4T 0% /mnt I only want to use it as backup (created with dump(1M)) and I think it's better to make an UFS on it; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 13:11:41 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 D2954106568D for ; Mon, 18 Jan 2010 13:11:41 +0000 (UTC) (envelope-from elmstel@gmail.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 65C8E8FC0C for ; Mon, 18 Jan 2010 13:11:41 +0000 (UTC) Received: by ewy26 with SMTP id 26so3462428ewy.3 for ; Mon, 18 Jan 2010 05:11:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=6j62q6P6suRRtWeRaDkCLYiX0On5UZQXkiaclgcS92c=; b=ZIc6Ppkf6FNvtJt+WL3ZZzGSGcHgkqHOWwA/CwhyO8G8ftcrTMSgY+qOOmm6pRPJ9v 500vniS4gWNHVK4NVN8ht7/byyharvTQJe+8padHau47Sgw5qknVyXuHvD2NOMtt+Yvo hMG4dsXt8GbMQ5RnYz+SvI9tuflF8DHOWV4wE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=kQV9UOzGYUBVXmCxXNA++EOMQ4pf7WkT5RLL+ZaZJGm4qQL7Y1ZN94RUpwriHdE/O4 AmZp2hHJc6wvdCOUAMlw0y/+OC0mx8/w6RuYfYR482Kos/d3Z/BmVm7DwVqPgT8IXEE0 GE1ZnMGgxxGqbjSKc4CtqU65K04lTJsACGLyo= Received: by 10.216.91.73 with SMTP id g51mr2128447wef.68.1263818799126; Mon, 18 Jan 2010 04:46:39 -0800 (PST) Received: from ?10.0.0.7? (93-82-66-235.adsl.highway.telekom.at [93.82.66.235]) by mx.google.com with ESMTPS id t12sm7651015gvd.5.2010.01.18.04.46.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 04:46:38 -0800 (PST) Message-ID: <4B54582C.8080606@gmail.com> Date: Mon, 18 Jan 2010 13:46:36 +0100 From: Elmar Stellnberger User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: fresh software for freebsd - build service X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 13:11:41 -0000 The amount of available software for FreeBSD could largely be improved by the availablility of a Build Service. In this regard I have opened up a request to provide a FreeBSD target for the openSUSE Build Service. It allows users to compile any software found on the internet in a clean development environment, make it available to other users and provide updates regularely by automatic re-compiling. I believe that would ease porting software that is already available for Linux to FreeBSD considerably. vote for it if you are interested: https://features.opensuse.org/308617 From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 14:44: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 6784C1065692 for ; Mon, 18 Jan 2010 14:44:19 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id F3B438FC13 for ; Mon, 18 Jan 2010 14:44:18 +0000 (UTC) Received: from [87.79.34.228] (account kuku@kukulies.org HELO [172.27.4.215]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6749177; Mon, 18 Jan 2010 15:43:52 +0100 Message-ID: <4B547396.7070902@kukulies.org> Date: Mon, 18 Jan 2010 15:43:34 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Paul B Mahol References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> In-Reply-To: <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 14:44:19 -0000 Paul B Mahol schrieb: > On 1/15/10, Christoph Kukulies wrote: > >> I'm not sure wether syntax has changed but I wanted to cretae an wlan >> acess point >> and tried various things. Under 7.0 I got it working with the following >> command >> >> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode >> on wepkey 0xf00baf00ba weptxkey 1 channel 1 >> >> >> I tried this but got a socket error "Invalid argument". >> >> Then I tried (from an example in the rum (4) manpage):ifconfig wlan >> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on >> wepkey 0xf00baaf00baa weptxkey 1 channel 1 >> >> > > Perhaps you want this one: > > ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid > CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 > > I tried this in rc.conf: ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" I got this: rum0: flags=8843 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect ) status: no carrier Why "no carrier"? And I would expect more info on the interface like SSID and such. -- Christoph >> and got: >> >> >> wlan0 >> ifconfig: SIOCSIFMEDIA (media): Device not configured >> >> But suddenly the wlan0 device is there. >> >> Can anybody fill me in? >> >> -- >> Christoph >> >> From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 14:50: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 39265106566B for ; Mon, 18 Jan 2010 14:50:51 +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 E86F58FC15 for ; Mon, 18 Jan 2010 14:50:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NWswK-0000pR-4o for freebsd-questions@freebsd.org; Mon, 18 Jan 2010 15:50:48 +0100 Received: from 93-138-35-57.adsl.net.t-com.hr ([93.138.35.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jan 2010 15:50:48 +0100 Received: from ivoras by 93-138-35-57.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Jan 2010 15:50:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Mon, 18 Jan 2010 15:50:25 +0100 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-35-57.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: Sender: news Subject: Re: 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: Mon, 18 Jan 2010 14:50:51 -0000 Michael Grimm wrote: > 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. What you have is a common symptom of hardware problems - either a weak power supply or a broken disk controller. In the first case because two drives try to suck power where only one was doing it before and in the second reason because the disk controller is too broken to correctly handle simultaneous access to two drives. Unfortunately, if you don't get any console error messages it is hard to tell which. The power supply is usually easier to replace. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 15:25:45 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 557E8106568B for ; Mon, 18 Jan 2010 15:25:45 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-bw0-f209.google.com (mail-bw0-f209.google.com [209.85.218.209]) by mx1.freebsd.org (Postfix) with ESMTP id CC5058FC0C for ; Mon, 18 Jan 2010 15:25:44 +0000 (UTC) Received: by bwz1 with SMTP id 1so754833bwz.13 for ; Mon, 18 Jan 2010 07:25:43 -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 :from:date:message-id:subject:to:cc:content-type; bh=quAxP4GIGyOlKlk2/Er+u14i6fm7AWqPZc51Zg7iciw=; b=xCYO9NpX30GEIXtkAeGMQFgMSiIJ/dCaOxM3M49npdeRbxXlIDDF/eY1LZv1BaPiGe tXhDvEXwRBxrHA2p++PMSEJh2C+iGO1hGDGH6sv5VrBF5UVQQMXs4lmeuE8rZxmJ3xoe lQ6iMGwOOOcf7k/mpxM3QP3FjcmQQ2jIlx3A0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=F2oAGD1LNdDSw4PQ6V21i/gyp4+5semv3Q7/Hv2x/5+pPXGDcxucVDYxuKvDvvZMZf 09piSye1W6DfSfb9k70EtLevvd+H5c59celePELV3CrsKESmZecpjfrEoXPcjoG4D8wh 9S5zi/veuRNZXpLazCZKa2R+ZMlut2UgskBhg= MIME-Version: 1.0 Received: by 10.204.38.84 with SMTP id a20mr1279588bke.39.1263828343426; Mon, 18 Jan 2010 07:25:43 -0800 (PST) In-Reply-To: <4B547396.7070902@kukulies.org> References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 18 Jan 2010 16:25:23 +0100 Message-ID: To: Christoph Kukulies Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Paul B Mahol , freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 15:25:45 -0000 in my rc.conf: ifconfig_rum0=3D"DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid ReseauWIFI" Maybe your problem is that wepkey is malformatted in your command If not, I didn't try to understand, but I also had troubles with the position of SSID keyword. (ifconfig arg error, might be your problem) (btw: I also had problem with ssid containing spaced characters) Later, I tried to set it up as an hostap, it seems to work well. But when I try to connect from an other computer, I'm unable to to join the network. (running under 7.2, I compiled the kernel adding a define matching my device, based on a similar (I hope so...) chipset) good luck Samuel Mart=EDn Moro CamTrace {EPITECH.} tek4 "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies wrot= e: > Paul B Mahol schrieb: > > On 1/15/10, Christoph Kukulies wrote: >> >> >>> I'm not sure wether syntax has changed but I wanted to cretae an wlan >>> acess point >>> and tried various things. Under 7.0 I got it working with the following >>> command >>> >>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode >>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 >>> >>> >>> I tried this but got a socket error "Invalid argument". >>> >>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan >>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on >>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>> >>> >>> >> >> Perhaps you want this one: >> >> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 >> >> >> > > I tried this in rc.conf: > > ifconfig_rum0=3D"wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssi= d > CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > > I got this: > > rum0: flags=3D8843 metric 0 mtu 2= 290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect > ) > status: no carrier > > > Why "no carrier"? > And I would expect more info on the interface like SSID and such. > > -- > Christoph > > > and got: >>> >>> >>> wlan0 >>> ifconfig: SIOCSIFMEDIA (media): Device not configured >>> >>> But suddenly the wlan0 device is there. >>> >>> Can anybody fill me in? >>> >>> -- >>> Christoph >>> >>> >>> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 15:48:39 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 1B0741065676 for ; Mon, 18 Jan 2010 15:48:39 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id A7E5B8FC0A for ; Mon, 18 Jan 2010 15:48:38 +0000 (UTC) Received: by fxm27 with SMTP id 27so2405191fxm.3 for ; Mon, 18 Jan 2010 07:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=aMRBQaqHJmjiJacqQi034NpG+fjKskGDvx5I8DoTp68=; b=NzWoTaFuNOLW9r+uNoVBDu7+I1kELkD1rG6sJG2Cs/MI9646pfnzeESuQ0nnavdGt3 9RPHoDSLgfvb/3LOY5q32DBSBiXNx7ljVNcDNkEibjsWjCuE6klBdIqHx9T7Et2AR4++ 5gPJHgmhuUpgytTH+/+ifGzIYvhrx8GkJcd/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JBx08qtfZRIKNWJwOYy/VxaJZVvs3cZ1378m9IvObIfet6Lhe6jI/m0on6cT25Lszw YJKOJkAMj2BQS0rsuop8txuWQd/EpS4mRMVw/y7NUESyvjwWQyubeYOCmPiUh3EunUun ksIN9bQcsFWB37BFbFdrCZ5bGgI/x57iXq2x4= MIME-Version: 1.0 Received: by 10.216.85.210 with SMTP id u60mr2268889wee.226.1263829717310; Mon, 18 Jan 2010 07:48:37 -0800 (PST) Date: Mon, 18 Jan 2010 10:48:37 -0500 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: 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: Mon, 18 Jan 2010 15:48:39 -0000 Argh! Stop! I wish that people who felt the need to add to this thread would read the prior posts beforehand, and consider their comments before posting. To answer two previous posts: >> I believe that he is talking about changing _when_ the check for >> conflicts is made; whereas DISABLE_CONFLICTS ignores the check, >> regardless of when it is made. A late check is preferable to using >> DISABLE_CONFLICTS, because with that knob you can shoot yourself in >> the foot by mistakenly installing one port on top of another. > >I think the point is you can make -DDISABLE_CONFLICTS using targets >other than install ?! Obviously, you can use it for other targets. That doesn't seem to have been in doubt. The point is rather that if one disables the conflicts check and then accidentally uses the 'install' target or another target requiring 'install', and there is a conflicting port already installed, there are going to be problems. Of course that wouldn't be a good idea, but it can happen, and that is the point of having a check. ------------------ >The idea of the change seems to be to protect people from wasting time >downloading and building something which they can't install without resolving >a conflict. In two earlier posts, a member of portmgr@, and someone else described how the change was also meant to prevent some build errors. > >How exactly was that wasted time? Surely you don't download and build a port >you're not going to install? A number of earlier posters have said that they want to do exactly that. I do it myself, to test ports. But one can also start with the intention of installing port A, only to later learn that it conflicts with an already-installed port B, and then, having discovered the conflict, decide not to install port A after all, in order to keep port B. In this case, which happens fairly often, any time spent before the discovery of the conflict would have been wasted. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 16:07:02 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 C6A29106566C for ; Mon, 18 Jan 2010 16:07:02 +0000 (UTC) (envelope-from onemda@gmail.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 5BF1A8FC15 for ; Mon, 18 Jan 2010 16:07:02 +0000 (UTC) Received: by ewy26 with SMTP id 26so3649340ewy.3 for ; Mon, 18 Jan 2010 08:07:01 -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=g8fjoxe1RmswCprYRBzGMvWhKnpkIJKdrunRA05IRqA=; b=X/RzAqklM3WkZVziJFObtxMIr5xNLvQxrFvd2HSUnEQuQwDz9/8HkrIdinLI15dTkB 07EXbGQLwFO0HmSRr4+UrEsn2ND4yEHHw70bhAsTYIoD3S32DmNStfWQZIvt3CUfeQsc ZHy0N68f5X+6BCyEMaJpqJ2Ow7CRkOyXYrKH8= 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=ODTTXBYNpiR1dj7YwnxDpqGfw52+GulenxekVlF6f6AREE4RAjHSmMiVLerRHPJ8oA xnK/VMjop9YDtAk+lY1sFNV7/NVupr1KcBr8YSSJ5D77KFixS4KDpyxXI3w+iJy2n3uy UuaqU+MBKUvzJrexN5F19B/cM/u1veeiGjpzU= MIME-Version: 1.0 Received: by 10.213.103.83 with SMTP id j19mr4118575ebo.31.1263830821271; Mon, 18 Jan 2010 08:07:01 -0800 (PST) In-Reply-To: <4B547396.7070902@kukulies.org> References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> Date: Mon, 18 Jan 2010 16:07:00 +0000 Message-ID: <3a142e751001180807u4164013cuebaf3038775a08f2@mail.gmail.com> From: Paul B Mahol To: Christoph Kukulies Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 16:07:02 -0000 On 1/18/10, Christoph Kukulies wrote: > Paul B Mahol schrieb: >> On 1/15/10, Christoph Kukulies wrote: >> >>> I'm not sure wether syntax has changed but I wanted to cretae an wlan >>> acess point >>> and tried various things. Under 7.0 I got it working with the following >>> command >>> >>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode >>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 >>> >>> >>> I tried this but got a socket error "Invalid argument". >>> >>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan >>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on >>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>> >>> >> >> Perhaps you want this one: >> >> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 >> >> > > I tried this in rc.conf: > > ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid > CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > > I got this: > > rum0: flags=8843 metric 0 mtu 2290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect > (autoselect ) > status: no carrier > > > Why "no carrier"? You still did not created wlan0 interface: Put wlans_rum0="wlan0" in rc.conf, and instead of ifconfig_rum0="..... use ifconfig_wlan0="..... -- Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 16:07:30 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3742A10656A4 for ; Mon, 18 Jan 2010 16:07:30 +0000 (UTC) (envelope-from peter.arshi@playersarena.com) Received: from smtp109.rog.mail.re2.yahoo.com (smtp109.rog.mail.re2.yahoo.com [68.142.225.207]) by mx1.freebsd.org (Postfix) with SMTP id B0ED48FC1E for ; Mon, 18 Jan 2010 16:07:29 +0000 (UTC) Received: (qmail 32974 invoked from network); 18 Jan 2010 15:40:49 -0000 Received: from CPE00222d5a65b8-CM00222d5a65b5.cpe.net.cable.rogers.com (peter.arshi@99.227.133.197 with login) by smtp109.rog.mail.re2.yahoo.com with SMTP; 18 Jan 2010 07:40:48 -0800 PST X-Yahoo-SMTP: n_3dWmiswBDlfNDQiL9KL.g384wN3iAM1t861sBstRFcnBY- X-YMail-OSG: pWcIS7QVM1nya6n3CfTCdyDRiMt7RfCoqOJN8QKe3CeBtXDukpexYyQCF7lt8ORCbA-- X-Yahoo-Newman-Property: ymail-3 Organization: Federated Payments Message-ID: From: "Peter Arshi" To: Date: Mon, 18 Jan 2010 10:33:04 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: E-commerce Gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: parshi@msicanada.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 16:07:30 -0000 =A0 E-commerce Payment Gateway Solution: (E-commerce Gateway Solution for United States and Canadian Merchants) =A0 Federated Payments- USA Merchant Accounts MSI Canada- Canadian Merchant Accounts=20 =A0 =A0 About Us Federated Payments / MSI Canada is a credit card payment processor in the = United=20 States and Canadian marketplace.=A0 We have an =93A=94 Industry Rating = with the BBB=20 (Better Business Bureau) and annually process over 2 billion dollars in = credit=20 card payment transactions. Established in 1998, Federated Payments = recently=20 took its place as one of the Top 50 Payment Processors in the Industry = and=20 is considered the fastest growing Processor according to the Neilson = Report.=A0=20 We service more than 20,000 merchants across the country and employ 150 = sales=20 support and technical staff in the United States and Canada. Federated = Payments=20 operates as Merchant Services Inc. Canada (MSI Canada) as its Canadian = operations.=20 =A0 Recognizing the Gateway Problem We are aware of the difficulties web developers experience when adding = shopping=20 carts to sites and then to face security compliance issues when Payment = Gateways=20 are to be integrated.=A0 In most cases, the client=92s bank does not = support an=20 online payment gateway solution. This begins the clients search to find = the=20 right bank that will approve or provide a payment gateway that can comply = to=20 the shopping cart security standards.=A0=A0 After this step is complete, = the client=20 is left to babysit the bank to ensure correspondence is maintained with = the=20 web developer until task is complete.=A0=20 =A0 For any developer, dropping the ball at the end is simply bad practice = hence=20 integrating PayPal saves the client from anguish and despair temporarily. = PayPal=20 charges high credit card processing rates which leads to even more client = despair=20 in the end. Professionalism is lost when the gateway page re-directs the = customer=20 to a process he is not interested in fulfilling. =A0PayPal should be = considered=20 an additional feature and not the primary gateway function. Required = customer=20 sign-ups and account verification processes deter customers from = returning=20 to PayPal sites. Client loses retention momentum=2E =A0 SafePay Solution=20 The SafePay Gateway Program is a solution for merchants to process online = in=20 a secured manner without giving up large profits for processing. We offer = the=20 =93Lowest Rate Guarantee=94 to every client that comes on board. Included = with=20 the SafePay Program is the Backend Gateway which enables clients a = backend=20 to enter orders manually, to put customers on recurring payments, pull = reports,=20 customizable fields, download/upload Quick Books file feature , multiple = user=20 with Admin control features and much more. =A0A demo will be provided to = your=20 client for training by our technicians=2E =A0 =A0 SafePay Payment Gateway Solution Features:=20 =B7=A0=A0=A0=A0=A0=A0=A0 Enables real-time online transaction processing =B7=A0=A0=A0=A0=A0=A0=A0 Fully CISP and PCI Certified =B7=A0=A0=A0=A0=A0=A0=A0 Free Quick Click Shopping Cart- Or connect with = over 80 certified=20 shopping carts =B7=A0=A0=A0=A0=A0=A0=A0 Recurring Billing- Bill your customers daily, = weekly or monthly for=20 as many payments as requires =B7=A0=A0=A0=A0=A0=A0=A0 Cardholder Authentication Card Programs: Verified = by Visa, MasterCard=20 SecureCode =B7=A0=A0=A0=A0=A0=A0=A0 Virtual Terminal-=A0 With a Level 3 intuitive = user interface, you will=20 be able to authorize, process and manage credit card transactions = manually=20 from any computer that has an internet connection.=20 =B7=A0=A0=A0=A0=A0=A0=A0 API Integration- With API Integration solution = your merchants will=20 utilize the highest level of secure transaction infrastructure available.=20 =B7=A0=A0=A0=A0=A0=A0=A0 Batch Upload Process- With batch upload = processing you will be able=20 to control and approve transactions manually prior to settlement.=A0 The = batch=20 processing system automatically allocates the batches in 1/16 bins and = reduces=20 overall processing time to a fraction of your competitors.=20 =B7=A0=A0=A0=A0=A0=A0=A0 Electronic Check- Electronic Check is a payment = solution that enables=20 online and traditional merchants to accept and process electronic check = payments=20 directly from their Web site=92s storefront or through the Virtual = Terminal.=A0=20 By accepting electronic checks, you are able to expand the payment = options=20 available to your customers and thereby increase sales. =A0 =A0 =A0 Solution Option 1=20 Federated Payments and MSI Canada offers one of the best Payment Gateway = programs=20 in the industry known as Safepay. To simplify the shopping cart = integration=20 to our payment gateway, here are some free shopping carts we support: =A0 Free Supported Shopping Carts: =A0 OsCommerce.com, nopdesign.com, virtuemart.net, zencart.com, = precisionweb.net=A0=20 =A0 =A0 Solution Option 2 Our technicians are equipped to handle any type of shopping cart in the = marketplace.=20 Custom built designs are accepted with additional security compliance = testing.=20 This means that the majority of shopping carts fall into compliance with = our=20 payment gateway solution after testing=2E =A0 Simple Process=20 =B7=A0=A0=A0=A0=A0=A0=A0 When an e-commerce site is ready for a Payment = Gateway, a member of=20 our team will need to contact your client and provide the best credit = card=20 rates for their industry=2E =B7=A0=A0=A0=A0=A0=A0=A0 =A0Send an e-mail to Mr. Arshi with the client = and designated developer=20 details.=20 =B7=A0=A0=A0=A0=A0=A0=A0 As part of the package, we will offer your = clients the =93Lowest Rate=20 Guarantee=94.=A0 For any bank, association or processor that can beat our = credit=20 card rates, we will match or beat them over and over again. Guaranteed. = =A0=A0This=20 leaves your client to have the best possible rates all the time.=20 Contact: Peter Arshi Regional Sales Executive (International Partnerships Program) tf:=A0=A0 +1-888-743-5458 fx:=A0=A0 +1-888-743-5457 ce:=A0 +1-647-284-4678 em: parshi@msicanada.net =B7=A0=A0=A0=A0=A0=A0=A0 We offer very competitive online transaction = rates for Visa, MasterCard,=20 Amex, Discover, JCB,=A0 and Diners Club. Merchant rates will range based = on sales=20 volumes, credit card type and nature of business. Rates will vary=2E =B7=A0=A0=A0=A0=A0=A0=A0 Once the contract is complete and approval is = obtained from our head=20 office, one of our technicians will be in contact with the designated = developer=20 for gateway integration and testing via e-mail.=A0 The Developer will be = provided=20 with style choices for the Payment Gateway and/or Shopping Cart for = client=20 for review.=20 =B7=A0=A0=A0=A0=A0=A0=A0 Once the style(s) are selected, the gateway = and/or shopping cart code=20 will be connected by our technician with the help of your developer.=A0 = This=20 arrangement can be further discussed with technician=2E =B7=A0=A0=A0=A0=A0=A0=A0 Once functionality and security compliance are = tested and passed,=20 your client is ready to make his first sale on his website.=20 =A0 We are introducing Safepay to web developers as it is an essential tool = to=20 maintain and sustain retention in this competitive marketplace.=A0 Our = strong=20 reputation as a Payment Processor will enable your company to provide a = =93Complete=94=20 E-commerce solution to your clients from start to finish. We guarantee = it.=20 =A0If have any questions, please contact Mr. Peter Arshi.=20 =A0 =A0 =A0 Peter Arshi MSI Canada Regional Sales Executive (International Partnerships Program) tf:=A0=A0 +1-888-743-5458 fx:=A0=A0 +1-888-743-5457 ce:=A0 +1-647-284-4678 em: parshi@msicanada.net =A0 In Association with: =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0 If you would like to be removed from this list, please reply with = "remove" in the subject line. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 16:15:29 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 4DF62106568B for ; Mon, 18 Jan 2010 16:15:29 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 8342D8FC18 for ; Mon, 18 Jan 2010 16:15:27 +0000 (UTC) Received: (qmail 1121 invoked by uid 98); 18 Jan 2010 16:16:47 +0000 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.95.1/9971. hbedv: 7.9.1.53/7.1.6.174. spamassassin: 3.2.5. Clear:RC:1(192.168.0.2):. Processed in 3.390683 secs); 18 Jan 2010 16:16:47 -0000 Received: from unknown (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 18 Jan 2010 16:16:43 +0000 From: Craig Butler To: Samuel =?ISO-8859-1?Q?Mart=EDn?= Moro In-Reply-To: References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> Content-Type: text/plain; charset="ISO-8859-1" Date: Mon, 18 Jan 2010 16:14:53 +0000 Message-Id: <1263831293.14794.14.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Paul B Mahol , Christoph Kukulies , freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 16:15:29 -0000 On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: > in my rc.conf: > ifconfig_rum0="DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid > ReseauWIFI" > > Maybe your problem is that wepkey is malformatted in your command > If not, I didn't try to understand, but I also had troubles with the > position of SSID keyword. > (ifconfig arg error, might be your problem) > (btw: I also had problem with ssid containing spaced characters) > > > Later, I tried to set it up as an hostap, it seems to work well. > But when I try to connect from an other computer, I'm unable to to join the > network. > (running under 7.2, I compiled the kernel adding a define matching my > device, based on a similar (I hope so...) chipset) > > > good luck > > > Samuel Martín Moro > CamTrace > {EPITECH.} tek4 > > "Nobody wants to say how this works. > Maybe nobody knows ..." > Xorg.conf(5) > > > On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies wrote: > > > Paul B Mahol schrieb: > > > > On 1/15/10, Christoph Kukulies wrote: > >> > >> > >>> I'm not sure wether syntax has changed but I wanted to cretae an wlan > >>> acess point > >>> and tried various things. Under 7.0 I got it working with the following > >>> command > >>> > >>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode > >>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 > >>> > >>> > >>> I tried this but got a socket error "Invalid argument". > >>> > >>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan > >>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on > >>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 > >>> > >>> > >>> > >> > >> Perhaps you want this one: > >> > >> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid > >> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 > >> > >> > >> > > > > I tried this in rc.conf: > > > > ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid > > CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > > > > I got this: > > > > rum0: flags=8843 metric 0 mtu 2290 > > ether 00:11:50:cb:52:10 > > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect > > ) > > status: no carrier > > > > > > Why "no carrier"? > > And I would expect more info on the interface like SSID and such. > > > > -- > > Christoph > > > > > > and got: > >>> > >>> > >>> wlan0 > >>> ifconfig: SIOCSIFMEDIA (media): Device not configured > >>> > >>> But suddenly the wlan0 device is there. > >>> > >>> Can anybody fill me in? > >>> > >>> -- > >>> Christoph > >>> > >>> > >>> Wireless changed on 8, you have to define wlans in rc.conf then set the network up onto the appropriate wlan entry; example; wlans_wpi0="wlan0" ifconfig_wlan0="WPA DHCP" Regards Craig B From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 16:30: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 DD89D106568B for ; Mon, 18 Jan 2010 16:30:06 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF108FC17 for ; Mon, 18 Jan 2010 16:30:05 +0000 (UTC) Received: from [87.79.34.228] (account kuku@kukulies.org HELO [172.27.4.215]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6749280; Mon, 18 Jan 2010 17:29:49 +0100 Message-ID: <4B548C6A.4070909@kukulies.org> Date: Mon, 18 Jan 2010 17:29:30 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Craig Butler References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> <1263831293.14794.14.camel@main.lerwick.hopto.org> In-Reply-To: <1263831293.14794.14.camel@main.lerwick.hopto.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Paul B Mahol , =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= , freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 16:30:07 -0000 Craig Butler schrieb: > On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: > >> in my rc.conf: >> ifconfig_rum0="DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid >> ReseauWIFI" >> >> Maybe your problem is that wepkey is malformatted in your command >> If not, I didn't try to understand, but I also had troubles with the >> position of SSID keyword. >> (ifconfig arg error, might be your problem) >> (btw: I also had problem with ssid containing spaced characters) >> >> >> Later, I tried to set it up as an hostap, it seems to work well. >> But when I try to connect from an other computer, I'm unable to to join the >> network. >> (running under 7.2, I compiled the kernel adding a define matching my >> device, based on a similar (I hope so...) chipset) >> >> >> good luck >> >> >> Samuel Martín Moro >> CamTrace >> {EPITECH.} tek4 >> >> "Nobody wants to say how this works. >> Maybe nobody knows ..." >> Xorg.conf(5) >> >> >> On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies wrote: >> >> >>> Paul B Mahol schrieb: >>> >>> On 1/15/10, Christoph Kukulies wrote: >>> >>>> >>>>> I'm not sure wether syntax has changed but I wanted to cretae an wlan >>>>> acess point >>>>> and tried various things. Under 7.0 I got it working with the following >>>>> command >>>>> >>>>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE wepmode >>>>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 >>>>> >>>>> >>>>> I tried this but got a socket error "Invalid argument". >>>>> >>>>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan >>>>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on >>>>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>>> >>>>> >>>>> >>>>> >>>> Perhaps you want this one: >>>> >>>> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>> >>>> >>>> >>>> >>> I tried this in rc.conf: >>> >>> ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" >>> >>> I got this: >>> >>> rum0: flags=8843 metric 0 mtu 2290 >>> ether 00:11:50:cb:52:10 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect >>> ) >>> status: no carrier >>> >>> >>> Why "no carrier"? >>> And I would expect more info on the interface like SSID and such. >>> >>> -- >>> Christoph >>> >>> >>> and got: >>> >>>>> wlan0 >>>>> ifconfig: SIOCSIFMEDIA (media): Device not configured >>>>> >>>>> But suddenly the wlan0 device is there. >>>>> >>>>> Can anybody fill me in? >>>>> >>>>> -- >>>>> Christoph >>>>> >>>>> >>>>> >>>>> > > Wireless changed on 8, you have to define wlans in rc.conf then set the > That's why I'm asking :) > network up onto the appropriate wlan entry; > > example; > > wlans_wpi0="wlan0" > ifconfig_wlan0="WPA DHCP" > > Regards > > Craig B > > Thanks Craig, and also Paul. It looks a bitt better now though still not perfect. I don't see the SSID on the network yet (I filled in a bogus wepkey for posting here, of course): rc.conf: wlans_rum0="wlan0" network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid Aachen wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" defaultrouter="172.27.2.116" ifconfig: rum0: flags=8843 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 10 (2457 Mhz 11g) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 Note, that I would like to build up an AP, not a peer to peer or WLAN client. -- Christoph From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 16:39: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 71629106566B for ; Mon, 18 Jan 2010 16:39:19 +0000 (UTC) (envelope-from onemda@gmail.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 F256A8FC24 for ; Mon, 18 Jan 2010 16:39:18 +0000 (UTC) Received: by ewy26 with SMTP id 26so3683832ewy.3 for ; Mon, 18 Jan 2010 08:39:18 -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=aN5ciFRlpk2rXQ67MgDmuwA8azh0WPylfXBpIwmni6M=; b=fvq4ZfXrjDowDHwSXlu23uJ+dG4OG4FGaH2x06/xuB6EvwaKcystRntT6ZawSggJys 4CBLaUKh/8yTbhR2rKgj3GegExjRngtVl50JQM7YJgXjq4tRSiPJinKhvx1oM1wMrWSO ClmEU7KBFX6mkF2GdaN6v5k7Pl8OxHQnVIUlw= 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=jxC6a3hI3r47gjXYAvz3yVv8wQMKsz5OsaLRk5F329dTOMNak3lMl6zhKPITUtHDP6 oqapxX3BdDlDfzplkpKUIBOZ+afAY4sH5qjSGCMjBilQ0vKRCAp9/AiiWuws9ijxOHY5 Fb++K3CamUDoWL6+/yI/UuhjtX6GsvHvOWL6w= MIME-Version: 1.0 Received: by 10.213.98.205 with SMTP id r13mr3760075ebn.89.1263832756335; Mon, 18 Jan 2010 08:39:16 -0800 (PST) In-Reply-To: <4B548C6A.4070909@kukulies.org> References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> <1263831293.14794.14.camel@main.lerwick.hopto.org> <4B548C6A.4070909@kukulies.org> Date: Mon, 18 Jan 2010 16:39:16 +0000 Message-ID: <3a142e751001180839q61003c56x835a76a4f6c4b742@mail.gmail.com> From: Paul B Mahol To: Christoph Kukulies Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Craig Butler , =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= , freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 16:39:19 -0000 On 1/18/10, Christoph Kukulies wrote: > Craig Butler schrieb: >> On Mon, 2010-01-18 at 16:25 +0100, Samuel Mart=EDn Moro wrote: >> >>> in my rc.conf: >>> ifconfig_rum0=3D"DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid >>> ReseauWIFI" >>> >>> Maybe your problem is that wepkey is malformatted in your command >>> If not, I didn't try to understand, but I also had troubles with the >>> position of SSID keyword. >>> (ifconfig arg error, might be your problem) >>> (btw: I also had problem with ssid containing spaced characters) >>> >>> >>> Later, I tried to set it up as an hostap, it seems to work well. >>> But when I try to connect from an other computer, I'm unable to to join >>> the >>> network. >>> (running under 7.2, I compiled the kernel adding a define matching my >>> device, based on a similar (I hope so...) chipset) >>> >>> >>> good luck >>> >>> >>> Samuel Mart=EDn Moro >>> CamTrace >>> {EPITECH.} tek4 >>> >>> "Nobody wants to say how this works. >>> Maybe nobody knows ..." >>> Xorg.conf(5) >>> >>> >>> On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies >>> wrote: >>> >>> >>>> Paul B Mahol schrieb: >>>> >>>> On 1/15/10, Christoph Kukulies wrote: >>>> >>>>> >>>>>> I'm not sure wether syntax has changed but I wanted to cretae an wla= n >>>>>> acess point >>>>>> and tried various things. Under 7.0 I got it working with the >>>>>> following >>>>>> command >>>>>> >>>>>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE >>>>>> wepmode >>>>>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 >>>>>> >>>>>> >>>>>> I tried this but got a socket error "Invalid argument". >>>>>> >>>>>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan >>>>>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode o= n >>>>>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>>>> >>>>>> >>>>>> >>>>>> >>>>> Perhaps you want this one: >>>>> >>>>> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >>>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>>> >>>>> >>>>> >>>>> >>>> I tried this in rc.conf: >>>> >>>> ifconfig_rum0=3D"wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap = ssid >>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" >>>> >>>> I got this: >>>> >>>> rum0: flags=3D8843 metric 0 mt= u >>>> 2290 >>>> ether 00:11:50:cb:52:10 >>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>> (autoselect >>>> ) >>>> status: no carrier >>>> >>>> >>>> Why "no carrier"? >>>> And I would expect more info on the interface like SSID and such. >>>> >>>> -- >>>> Christoph >>>> >>>> >>>> and got: >>>> >>>>>> wlan0 >>>>>> ifconfig: SIOCSIFMEDIA (media): Device not configured >>>>>> >>>>>> But suddenly the wlan0 device is there. >>>>>> >>>>>> Can anybody fill me in? >>>>>> >>>>>> -- >>>>>> Christoph >>>>>> >>>>>> >>>>>> >>>>>> >> >> Wireless changed on 8, you have to define wlans in rc.conf then set the >> > > That's why I'm asking :) > >> network up onto the appropriate wlan entry; >> >> example; >> >> wlans_wpi0=3D"wlan0" >> ifconfig_wlan0=3D"WPA DHCP" >> >> Regards >> >> Craig B >> >> > > Thanks Craig, and also Paul. It looks a bitt better now though still not > perfect. I don't see the SSID on the network yet > (I filled in a bogus wepkey for posting here, of course): > > rc.conf: > wlans_rum0=3D"wlan0" > network_interfaces=3D"lo0 rl0 wlan0" # List of network interfaces (or "au= to"). > ifconfig_lo0=3D"inet 127.0.0.1" # default loopback device configuration= . > ifconfig_rl0=3D"inet 172.27.4.219 netmask 255.255.248.0" > ifconfig_wlan0=3D"wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap > ssid Aachen Still incorrect, remove "wlan create wlandev rum0" > wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > defaultrouter=3D"172.27.2.116" > > ifconfig: > rum0: flags=3D8843 metric 0 mtu 2= 290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=3D8843 metric 0 mtu = 1500 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 10 (2457 Mhz 11g) > country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid = 60 > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > protmode CTS bintval 0 > > Note, that I would like to build up an AP, not a peer to peer or WLAN > client. BTW rum(4) is crap in hostap mode. --=20 Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 16:56:48 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 C374C106568B for ; Mon, 18 Jan 2010 16:56:48 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 12B538FC0A for ; Mon, 18 Jan 2010 16:56:47 +0000 (UTC) Received: from [87.79.34.228] (account kuku@kukulies.org HELO [172.27.4.215]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6749299; Mon, 18 Jan 2010 17:56:33 +0100 Message-ID: <4B5492AF.9060906@kukulies.org> Date: Mon, 18 Jan 2010 17:56:15 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Paul B Mahol References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> <1263831293.14794.14.camel@main.lerwick.hopto.org> <4B548C6A.4070909@kukulies.org> <3a142e751001180839q61003c56x835a76a4f6c4b742@mail.gmail.com> In-Reply-To: <3a142e751001180839q61003c56x835a76a4f6c4b742@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 16:56:48 -0000 Paul B Mahol schrieb: > On 1/18/10, Christoph Kukulies wrote: > >> Craig Butler schrieb: >> >>> On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: >>> >>> >>>> in my rc.conf: >>>> ifconfig_rum0="DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid >>>> ReseauWIFI" >>>> >>>> Maybe your problem is that wepkey is malformatted in your command >>>> If not, I didn't try to understand, but I also had troubles with the >>>> position of SSID keyword. >>>> (ifconfig arg error, might be your problem) >>>> (btw: I also had problem with ssid containing spaced characters) >>>> >>>> >>>> Later, I tried to set it up as an hostap, it seems to work well. >>>> But when I try to connect from an other computer, I'm unable to to join >>>> the >>>> network. >>>> (running under 7.2, I compiled the kernel adding a define matching my >>>> device, based on a similar (I hope so...) chipset) >>>> >>>> >>>> good luck >>>> >>>> >>>> Samuel Martín Moro >>>> CamTrace >>>> {EPITECH.} tek4 >>>> >>>> "Nobody wants to say how this works. >>>> Maybe nobody knows ..." >>>> Xorg.conf(5) >>>> >>>> >>>> On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies >>>> wrote: >>>> >>>> >>>> >>>>> Paul B Mahol schrieb: >>>>> >>>>> On 1/15/10, Christoph Kukulies wrote: >>>>> >>>>> >>>>>>> I'm not sure wether syntax has changed but I wanted to cretae an wlan >>>>>>> acess point >>>>>>> and tried various things. Under 7.0 I got it working with the >>>>>>> following >>>>>>> command >>>>>>> >>>>>>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE >>>>>>> wepmode >>>>>>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 >>>>>>> >>>>>>> >>>>>>> I tried this but got a socket error "Invalid argument". >>>>>>> >>>>>>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan >>>>>>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on >>>>>>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Perhaps you want this one: >>>>>> >>>>>> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >>>>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> I tried this in rc.conf: >>>>> >>>>> ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >>>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" >>>>> >>>>> I got this: >>>>> >>>>> rum0: flags=8843 metric 0 mtu >>>>> 2290 >>>>> ether 00:11:50:cb:52:10 >>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>> (autoselect >>>>> ) >>>>> status: no carrier >>>>> >>>>> >>>>> Why "no carrier"? >>>>> And I would expect more info on the interface like SSID and such. >>>>> >>>>> -- >>>>> Christoph >>>>> >>>>> >>>>> and got: >>>>> >>>>> >>>>>>> wlan0 >>>>>>> ifconfig: SIOCSIFMEDIA (media): Device not configured >>>>>>> >>>>>>> But suddenly the wlan0 device is there. >>>>>>> >>>>>>> Can anybody fill me in? >>>>>>> >>>>>>> -- >>>>>>> Christoph >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>> Wireless changed on 8, you have to define wlans in rc.conf then set the >>> >>> >> That's why I'm asking :) >> >> >>> network up onto the appropriate wlan entry; >>> >>> example; >>> >>> wlans_wpi0="wlan0" >>> ifconfig_wlan0="WPA DHCP" >>> >>> Regards >>> >>> Craig B >>> >>> >>> >> Thanks Craig, and also Paul. It looks a bitt better now though still not >> perfect. I don't see the SSID on the network yet >> (I filled in a bogus wepkey for posting here, of course): >> >> rc.conf: >> wlans_rum0="wlan0" >> network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). >> ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. >> ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" >> ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap >> ssid Aachen >> > > Still incorrect, remove "wlan create wlandev rum0" > > >> wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" >> defaultrouter="172.27.2.116" >> >> ifconfig: >> rum0: flags=8843 metric 0 mtu 2290 >> ether 00:11:50:cb:52:10 >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> status: associated >> wlan0: flags=8843 metric 0 mtu 1500 >> ether 00:11:50:cb:52:10 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> ssid "" channel 10 (2457 Mhz 11g) >> country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 >> bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 >> protmode CTS bintval 0 >> >> Note, that I would like to build up an AP, not a peer to peer or WLAN >> client. >> > > BTW rum(4) is crap in hostap mode. > > This is what it looks like now: rc.conf: wlans_rum0="wlan0" network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" ifconfig_wlan0="10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on wepkey 0xf00baaf00baaweptxkey 1 channel 1" defaultrouter="172.27.2.116" ifconfig: rum0: flags=8843 metric 0 mtu 2290 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:50:cb:52:10 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 11 (2462 Mhz 11g) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 Hmm, should I throw the Belkin thing into the waste and buy something else? I was hoping that 8.0 had changed it to the better a bit. But if you are saying, rum(4) is still crappy... -- Christoph From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 17:37:39 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 9AB26106566B for ; Mon, 18 Jan 2010 17:37:39 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from lerwick.hopto.org (81-178-20-70.dsl.pipex.com [81.178.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id AEFB08FC16 for ; Mon, 18 Jan 2010 17:37:38 +0000 (UTC) Received: (qmail 18403 invoked by uid 98); 18 Jan 2010 17:38:57 +0000 Received: from 192.168.0.2 by polaris.lerwick.hopto.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.95.1/9971. hbedv: 7.9.1.53/7.1.6.174. spamassassin: 3.2.5. Clear:RC:1(192.168.0.2):. Processed in 3.980868 secs); 18 Jan 2010 17:38:57 -0000 Received: from unknown (HELO ?192.168.0.2?) (192.168.0.2) by lerwick.hopto.org with SMTP; 18 Jan 2010 17:38:53 +0000 From: Craig Butler To: Christoph Kukulies In-Reply-To: <4B5492AF.9060906@kukulies.org> References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> <1263831293.14794.14.camel@main.lerwick.hopto.org> <4B548C6A.4070909@kukulies.org> <3a142e751001180839q61003c56x835a76a4f6c4b742@mail.gmail.com> <4B5492AF.9060906@kukulies.org> Content-Type: text/plain; charset="ISO-8859-1" Date: Mon, 18 Jan 2010 17:37:03 +0000 Message-Id: <1263836223.14794.17.camel@main.lerwick.hopto.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Paul B Mahol , freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 17:37:39 -0000 On Mon, 2010-01-18 at 17:56 +0100, Christoph Kukulies wrote: > Paul B Mahol schrieb: > > On 1/18/10, Christoph Kukulies wrote: > > > >> Craig Butler schrieb: > >> > >>> On Mon, 2010-01-18 at 16:25 +0100, Samuel Martín Moro wrote: > >>> > >>> > >>>> in my rc.conf: > >>>> ifconfig_rum0="DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid > >>>> ReseauWIFI" > >>>> > >>>> Maybe your problem is that wepkey is malformatted in your command > >>>> If not, I didn't try to understand, but I also had troubles with the > >>>> position of SSID keyword. > >>>> (ifconfig arg error, might be your problem) > >>>> (btw: I also had problem with ssid containing spaced characters) > >>>> > >>>> > >>>> Later, I tried to set it up as an hostap, it seems to work well. > >>>> But when I try to connect from an other computer, I'm unable to to join > >>>> the > >>>> network. > >>>> (running under 7.2, I compiled the kernel adding a define matching my > >>>> device, based on a similar (I hope so...) chipset) > >>>> > >>>> > >>>> good luck > >>>> > >>>> > >>>> Samuel Martín Moro > >>>> CamTrace > >>>> {EPITECH.} tek4 > >>>> > >>>> "Nobody wants to say how this works. > >>>> Maybe nobody knows ..." > >>>> Xorg.conf(5) > >>>> > >>>> > >>>> On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies > >>>> wrote: > >>>> > >>>> > >>>> > >>>>> Paul B Mahol schrieb: > >>>>> > >>>>> On 1/15/10, Christoph Kukulies wrote: > >>>>> > >>>>> > >>>>>>> I'm not sure wether syntax has changed but I wanted to cretae an wlan > >>>>>>> acess point > >>>>>>> and tried various things. Under 7.0 I got it working with the > >>>>>>> following > >>>>>>> command > >>>>>>> > >>>>>>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE > >>>>>>> wepmode > >>>>>>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 > >>>>>>> > >>>>>>> > >>>>>>> I tried this but got a socket error "Invalid argument". > >>>>>>> > >>>>>>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan > >>>>>>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode on > >>>>>>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> Perhaps you want this one: > >>>>>> > >>>>>> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid > >>>>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> I tried this in rc.conf: > >>>>> > >>>>> ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid > >>>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > >>>>> > >>>>> I got this: > >>>>> > >>>>> rum0: flags=8843 metric 0 mtu > >>>>> 2290 > >>>>> ether 00:11:50:cb:52:10 > >>>>> media: IEEE 802.11 Wireless Ethernet autoselect > >>>>> (autoselect > >>>>> ) > >>>>> status: no carrier > >>>>> > >>>>> > >>>>> Why "no carrier"? > >>>>> And I would expect more info on the interface like SSID and such. > >>>>> > >>>>> -- > >>>>> Christoph > >>>>> > >>>>> > >>>>> and got: > >>>>> > >>>>> > >>>>>>> wlan0 > >>>>>>> ifconfig: SIOCSIFMEDIA (media): Device not configured > >>>>>>> > >>>>>>> But suddenly the wlan0 device is there. > >>>>>>> > >>>>>>> Can anybody fill me in? > >>>>>>> > >>>>>>> -- > >>>>>>> Christoph > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>> Wireless changed on 8, you have to define wlans in rc.conf then set the > >>> > >>> > >> That's why I'm asking :) > >> > >> > >>> network up onto the appropriate wlan entry; > >>> > >>> example; > >>> > >>> wlans_wpi0="wlan0" > >>> ifconfig_wlan0="WPA DHCP" > >>> > >>> Regards > >>> > >>> Craig B > >>> > >>> > >>> > >> Thanks Craig, and also Paul. It looks a bitt better now though still not > >> perfect. I don't see the SSID on the network yet > >> (I filled in a bogus wepkey for posting here, of course): > >> > >> rc.conf: > >> wlans_rum0="wlan0" > >> network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). > >> ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. > >> ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" > >> ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap > >> ssid Aachen > >> > > > > Still incorrect, remove "wlan create wlandev rum0" > > > > > >> wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" > >> defaultrouter="172.27.2.116" > >> > >> ifconfig: > >> rum0: flags=8843 metric 0 mtu 2290 > >> ether 00:11:50:cb:52:10 > >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >> status: associated > >> wlan0: flags=8843 metric 0 mtu 1500 > >> ether 00:11:50:cb:52:10 > >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > >> status: no carrier > >> ssid "" channel 10 (2457 Mhz 11g) > >> country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 > >> bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > >> protmode CTS bintval 0 > >> > >> Note, that I would like to build up an AP, not a peer to peer or WLAN > >> client. > >> > > > > BTW rum(4) is crap in hostap mode. > > > > > > This is what it looks like now: > > rc.conf: > > wlans_rum0="wlan0" > network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). > ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. > ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" > ifconfig_wlan0="10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on > wepkey 0xf00baaf00baaweptxkey 1 channel 1" > defaultrouter="172.27.2.116" > > ifconfig: > > > rum0: flags=8843 metric 0 mtu 2290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 11 (2462 Mhz 11g) > country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > protmode CTS bintval 0 > > > > Hmm, should I throw the Belkin thing into the waste and buy something > else? I was hoping that 8.0 had changed it to the better a bit. But if > you are saying, rum(4) is still crappy... > > -- > Christoph > _______________________________________________ ifconfig_wlan0="10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on wepkey 0xf00baaf00baaweptxkey 1 channel 1" erm missing inet ??? missing space between the wepkey and weptxkey ?? Regards Craig B From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 18:42:16 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 B2DF5106566C for ; Mon, 18 Jan 2010 18:42:16 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 463878FC1C for ; Mon, 18 Jan 2010 18:42:15 +0000 (UTC) Received: from [87.79.34.228] (account kuku@kukulies.org HELO [172.27.4.215]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6749359; Mon, 18 Jan 2010 19:41:47 +0100 Message-ID: <4B54AB58.8060309@kukulies.org> Date: Mon, 18 Jan 2010 19:41:28 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Craig Butler References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> <1263831293.14794.14.camel@main.lerwick.hopto.org> <4B548C6A.4070909@kukulies.org> <3a142e751001180839q61003c56x835a76a4f6c4b742@mail.gmail.com> <4B5492AF.9060906@kukulies.org> <1263836223.14794.17.camel@main.lerwick.hopto.org> In-Reply-To: <1263836223.14794.17.camel@main.lerwick.hopto.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Paul B Mahol , freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 18:42:16 -0000 Craig Butler schrieb: > > > ifconfig_wlan0="10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on > wepkey 0xf00baaf00baaweptxkey 1 channel 1" > > erm missing inet ??? missing space between the wepkey and weptxkey ?? > This only was a cut/paste error in the email text, not actually in the rc.conf. But I noticed that I can piecewise add parameters to the wlan0 interface: ifconfig wlan0 inet 10.0.0.1/24 <<<<<<<<< adds the IP ifconfig ssid OFFICE <<<<<<<<<< adds the ssid Only passing all parametrs in one line I fail to manage. -- Christoph From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 20:04: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 31CBB106568F for ; Mon, 18 Jan 2010 20:04:50 +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 8285C8FC08 for ; Mon, 18 Jan 2010 20:04:49 +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 o0IK4hwI087987 for ; Mon, 18 Jan 2010 12:04:43 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 18 Jan 2010 12:04:43 -0800 (PST) Date: Mon, 18 Jan 2010 12:04:43 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100118200442.GC10815@thought.org> References: <20100118033426.GA7585@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100118033426.GA7585@thought.org> 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 Subject: Any curses gurus on this list? [Was:: {Re: curses init in one line?}] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 20:04:50 -0000 On Sun, Jan 17, 2010 at 07:34:29PM -0800, Gary Kline wrote: > I'm going round, round and round. chasing my tail trying to piece to gether a simple [ha!] test program that uses curses. Anybody out there who know how to fix an output cursor move()ment? Please write me off line. thnks, gary -- 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 Mon Jan 18 20:13:54 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 A97FC106566B; Mon, 18 Jan 2010 20:13:54 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6134E8FC12; Mon, 18 Jan 2010 20:13:54 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1NWxyz-0002pJ-8z>; Mon, 18 Jan 2010 21:13:53 +0100 Received: from e178000095.adsl.alicedsl.de ([85.178.0.95] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1NWxyz-0005nO-62>; Mon, 18 Jan 2010 21:13:53 +0100 Message-ID: <4B54C100.9080906@mail.zedat.fu-berlin.de> Date: Mon, 18 Jan 2010 21:13:52 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091219 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD Stable , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.0.95 Cc: Subject: immense delayed write to file system (ZFS and UFS2), performance issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 20:13:54 -0000 I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 boxes. All boxes have the most recent STABLE. One box is a UP system, two others SMP boxes, one with a Q6600 4-core, another XEON with 2x 4-cores (Dell Poweredge III). Symptome: All boxes have ZFS and UFS2 filesystems. Since two weeks or so, sometimes the I/O performance drops massively when doing 'svn update', 'make world' or even 'make kernel'. It doesn't matter what memory and how many cpu the box has, it get stuck for several seconds and freezing. On the UP box, this is sometimes for 10 - 20 seconds. A very interesting phenomenon is the massively delayed file writing on ZFS filesystems I realise. Editing a file in 'vi' running on one XTerm and having in another Xterminal my shell for compiling this file, it takes sometimes up to 20 seconds to get the file updated after it has been written. It's like having an old, slow NFS connection with long cache delays. These massively delayed file transactions are not necessarely under heavy load, sometimes they occur in a relaxed situation. They seem to occur much more often on the UP box than on the SMP boxes, but this strange phenomenon also occur on the Dell Poweredge II, which has 16GB RAM and summa summarum 16 cores. This phenomenon does occur on ZFS- and UFS2 filesystems as well. It is hardly reproducable. Is there any known issue? Ragrds, Oliver From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 20:21:41 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 3BF0010656A3 for ; Mon, 18 Jan 2010 20:21:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id EE6FC8FC25 for ; Mon, 18 Jan 2010 20:21:40 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx01.qsc.de (Postfix) with ESMTP id 49C173D9EF; Mon, 18 Jan 2010 21:21:38 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o0IKLad2001509; Mon, 18 Jan 2010 21:21:38 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 18 Jan 2010 21:21:36 +0100 From: Polytropon To: Gary Kline Message-Id: <20100118212136.95b56398.freebsd@edvax.de> In-Reply-To: <20100118033426.GA7585@thought.org> References: <20100118033426.GA7585@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: curses init in one line? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 20:21:41 -0000 On Sun, 17 Jan 2010 19:34:29 -0800, Gary Kline wrote: > > this is going to sound a bit off the wall, and it may have only worked > in FBSD [if I wasn't imagining it], but is there a way to get into > curses/ncurses mode in one short line? it has been years but I think > somebody sent me the magic code, for either a shell scrippt or a C > program. It's quite easy, let me demonstrate it with this example program: /* curses_attributes_test.c (-lncurses required) */ #include int main(void) { initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, FALSE); keypad(stdscr, TRUE); start_color(); attrset(A_NORMAL); printw("Normal display (no highlight)\n"); printw("\n"); attrset(A_STANDOUT); printw("Best highlighting mode of the terminal.\n"); printw("\n"); attrset(A_UNDERLINE); printw("Underlining\n"); printw("\n"); attrset(A_REVERSE); printw("Reverse video\n"); printw("\n"); attrset(A_BLINK); printw("Blinking\n"); printw("\n"); attrset(A_DIM); printw("Half bright\n"); printw("\n"); attrset(A_BOLD); printw("Extra bright or bold\n"); printw("\n"); refresh(); return 0; } The initsrc() funtion is the key. > I do not have it anywhere in my C files. But in the manpage. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 20:34:58 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 52996106568B for ; Mon, 18 Jan 2010 20:34:58 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 042F08FC16 for ; Mon, 18 Jan 2010 20:34:57 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C00274076B; Mon, 18 Jan 2010 21:34:56 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtA4AP5UVEtV4js3PGdsb2JhbACBRoZwk0ABAQEBN7hThDME X-IronPort-AV: E=Sophos;i="4.49,298,1262559600"; d="scan'208";a="27530636" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb1.telenor.se with ESMTP; 18 Jan 2010 21:34:56 +0100 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id o0IKYsjG041717; Mon, 18 Jan 2010 21:34:54 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B54C5EE.5070305@pp.dyndns.biz> Date: Mon, 18 Jan 2010 21:34:54 +0100 From: =?ISO-8859-15?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: "O. Hartmann" References: <4B54C100.9080906@mail.zedat.fu-berlin.de> In-Reply-To: <4B54C100.9080906@mail.zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable , freebsd-questions@freebsd.org Subject: Re: immense delayed write to file system (ZFS and UFS2), performance issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 20:34:58 -0000 O. Hartmann wrote: > I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 boxes. > All boxes have the most recent STABLE. One box is a UP system, two > others SMP boxes, one with a Q6600 4-core, another XEON with 2x 4-cores > (Dell Poweredge III). > > Symptome: All boxes have ZFS and UFS2 filesystems. Since two weeks or > so, sometimes the I/O performance drops massively when doing 'svn > update', 'make world' or even 'make kernel'. It doesn't matter what > memory and how many cpu the box has, it get stuck for several seconds > and freezing. On the UP box, this is sometimes for 10 - 20 seconds. > A very interesting phenomenon is the massively delayed file writing on > ZFS filesystems I realise. Editing a file in 'vi' running on one XTerm > and having in another Xterminal my shell for compiling this file, it > takes sometimes up to 20 seconds to get the file updated after it has > been written. It's like having an old, slow NFS connection with long > cache delays. > These massively delayed file transactions are not necessarely under > heavy load, sometimes they occur in a relaxed situation. They seem to > occur much more often on the UP box than on the SMP boxes, but this > strange phenomenon also occur on the Dell Poweredge II, which has 16GB > RAM and summa summarum 16 cores. This phenomenon does occur on ZFS- and > UFS2 filesystems as well. It is hardly reproducable. > > Is there any known issue? > > Ragrds, > Oliver The disks involved don't happen to be Western Digital Green Power disks, do they? The Intelli-Park function in these disks are wrecking havoc with I/O in Linux-land at least, causing massive stalls and iowait through the roof during the 25-30 seconds it takes for the heads to unload after parking. I have two of these disks sitting on my desk now collecting dust... /Morgan From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 21:05:54 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 79EBF106568B for ; Mon, 18 Jan 2010 21:05:54 +0000 (UTC) (envelope-from onemda@gmail.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 0697F8FC18 for ; Mon, 18 Jan 2010 21:05:53 +0000 (UTC) Received: by mail-ew0-f226.google.com with SMTP id 26so220497ewy.3 for ; Mon, 18 Jan 2010 13:05:53 -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=pbGeVvblJPOoidA4rCBGstse/opGfKiIPw7v2TNB3Xs=; b=iPT8BjEyw1EORoQZesv0o+NUK8QoXdZkRM7AB/Da2ElAtoeL/fNP7usNh1X7wICatC IoHs276Nh18tmiekQ9Af/pd7msI/fQXAiHLlIFU0Ix5YNeEUggfyKwYOJZzjOu43IGQs Tn76afSQy9rUbFeNWcHuXnalusySnljCrrPi0= 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=uSlIYtbhruUbMtF29E2z/Uc8OXH710QJ/e3AHpmH8aBuwPzy0uzLY6iRVJyPHSrYTi RQDSMoxudfe4RVhblpyzKztJ8J3NRiX2vfFWrCssj6QtHcEch1qA0o1NoRIRutqByN1E uLh9Ukn439O4J++CLxD4IfJrkirEl2DosdHec= MIME-Version: 1.0 Received: by 10.213.100.203 with SMTP id z11mr4964163ebn.51.1263848444130; Mon, 18 Jan 2010 13:00:44 -0800 (PST) In-Reply-To: <4B5492AF.9060906@kukulies.org> References: <4B507B9A.3050803@kukulies.org> <3a142e751001150817x7b4da53fs16cebd2e097890b4@mail.gmail.com> <4B547396.7070902@kukulies.org> <1263831293.14794.14.camel@main.lerwick.hopto.org> <4B548C6A.4070909@kukulies.org> <3a142e751001180839q61003c56x835a76a4f6c4b742@mail.gmail.com> <4B5492AF.9060906@kukulies.org> Date: Mon, 18 Jan 2010 21:00:44 +0000 Message-ID: <3a142e751001181300o36c2156cx54eb47db073db7a7@mail.gmail.com> From: Paul B Mahol To: Christoph Kukulies Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: rum0 acting as an Access point (belkin router) 8.0 R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 21:05:54 -0000 On 1/18/10, Christoph Kukulies wrote: > Paul B Mahol schrieb: >> On 1/18/10, Christoph Kukulies wrote: >> >>> Craig Butler schrieb: >>> >>>> On Mon, 2010-01-18 at 16:25 +0100, Samuel Martin Moro wrote: >>>> >>>> >>>>> in my rc.conf: >>>>> ifconfig_rum0="DHCP wepmode on weptxkey 1 wepkey 1:0xBC45AD1BD5 ssid >>>>> ReseauWIFI" >>>>> >>>>> Maybe your problem is that wepkey is malformatted in your command >>>>> If not, I didn't try to understand, but I also had troubles with the >>>>> position of SSID keyword. >>>>> (ifconfig arg error, might be your problem) >>>>> (btw: I also had problem with ssid containing spaced characters) >>>>> >>>>> >>>>> Later, I tried to set it up as an hostap, it seems to work well. >>>>> But when I try to connect from an other computer, I'm unable to to join >>>>> the >>>>> network. >>>>> (running under 7.2, I compiled the kernel adding a define matching my >>>>> device, based on a similar (I hope so...) chipset) >>>>> >>>>> >>>>> good luck >>>>> >>>>> >>>>> Samuel Martin Moro >>>>> CamTrace >>>>> {EPITECH.} tek4 >>>>> >>>>> "Nobody wants to say how this works. >>>>> Maybe nobody knows ..." >>>>> Xorg.conf(5) >>>>> >>>>> >>>>> On Mon, Jan 18, 2010 at 3:43 PM, Christoph Kukulies >>>>> wrote: >>>>> >>>>> >>>>> >>>>>> Paul B Mahol schrieb: >>>>>> >>>>>> On 1/15/10, Christoph Kukulies wrote: >>>>>> >>>>>> >>>>>>>> I'm not sure wether syntax has changed but I wanted to cretae an >>>>>>>> wlan >>>>>>>> acess point >>>>>>>> and tried various things. Under 7.0 I got it working with the >>>>>>>> following >>>>>>>> command >>>>>>>> >>>>>>>> ifconfig rum0 inet 10.0.0.1/24 mediaopt hostap ssid CITYOFFICE >>>>>>>> wepmode >>>>>>>> on wepkey 0xf00baf00ba weptxkey 1 channel 1 >>>>>>>> >>>>>>>> >>>>>>>> I tried this but got a socket error "Invalid argument". >>>>>>>> >>>>>>>> Then I tried (from an example in the rum (4) manpage):ifconfig wlan >>>>>>>> create wlandev rum0 10.0.0.1/24 mediaopt hostap CITYOFFICE wepmode >>>>>>>> on >>>>>>>> wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Perhaps you want this one: >>>>>>> >>>>>>> ifconfig wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap ssid >>>>>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> I tried this in rc.conf: >>>>>> >>>>>> ifconfig_rum0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap >>>>>> ssid >>>>>> CITYOFFICE wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" >>>>>> >>>>>> I got this: >>>>>> >>>>>> rum0: flags=8843 metric 0 mtu >>>>>> 2290 >>>>>> ether 00:11:50:cb:52:10 >>>>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>>>> (autoselect >>>>>> ) >>>>>> status: no carrier >>>>>> >>>>>> >>>>>> Why "no carrier"? >>>>>> And I would expect more info on the interface like SSID and such. >>>>>> >>>>>> -- >>>>>> Christoph >>>>>> >>>>>> >>>>>> and got: >>>>>> >>>>>> >>>>>>>> wlan0 >>>>>>>> ifconfig: SIOCSIFMEDIA (media): Device not configured >>>>>>>> >>>>>>>> But suddenly the wlan0 device is there. >>>>>>>> >>>>>>>> Can anybody fill me in? >>>>>>>> >>>>>>>> -- >>>>>>>> Christoph >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>> Wireless changed on 8, you have to define wlans in rc.conf then set the >>>> >>>> >>> That's why I'm asking :) >>> >>> >>>> network up onto the appropriate wlan entry; >>>> >>>> example; >>>> >>>> wlans_wpi0="wlan0" >>>> ifconfig_wlan0="WPA DHCP" >>>> >>>> Regards >>>> >>>> Craig B >>>> >>>> >>>> >>> Thanks Craig, and also Paul. It looks a bitt better now though still not >>> perfect. I don't see the SSID on the network yet >>> (I filled in a bogus wepkey for posting here, of course): >>> >>> rc.conf: >>> wlans_rum0="wlan0" >>> network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or >>> "auto"). >>> ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. >>> ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" >>> ifconfig_wlan0="wlan create wlandev rum0 10.0.0.1/24 wlanmode hostap >>> ssid Aachen >>> >> >> Still incorrect, remove "wlan create wlandev rum0" >> >> >>> wepmode on wepkey 0xf00baaf00baa weptxkey 1 channel 1" >>> defaultrouter="172.27.2.116" >>> >>> ifconfig: >>> rum0: flags=8843 metric 0 mtu >>> 2290 >>> ether 00:11:50:cb:52:10 >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>> status: associated >>> wlan0: flags=8843 metric 0 mtu >>> 1500 >>> ether 00:11:50:cb:52:10 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> ssid "" channel 10 (2457 Mhz 11g) >>> country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid >>> 60 >>> bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 >>> protmode CTS bintval 0 >>> >>> Note, that I would like to build up an AP, not a peer to peer or WLAN >>> client. >>> >> >> BTW rum(4) is crap in hostap mode. >> >> > > This is what it looks like now: Argh sorry, you need to use: create_args_wlan0="wlanmode hostap" And put remaining stuf into ifconfig line. > > rc.conf: > > wlans_rum0="wlan0" > network_interfaces="lo0 rl0 wlan0" # List of network interfaces (or "auto"). > ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. > ifconfig_rl0="inet 172.27.4.219 netmask 255.255.248.0" > ifconfig_wlan0="10.0.0.1/24 wlanmode hostap ssid OFFICE wepmode on > wepkey 0xf00baaf00baaweptxkey 1 channel 1" > defaultrouter="172.27.2.116" > > ifconfig: > > > rum0: flags=8843 metric 0 mtu 2290 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:11:50:cb:52:10 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 11 (2462 Mhz 11g) > country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > protmode CTS bintval 0 > > > > Hmm, should I throw the Belkin thing into the waste and buy something > else? I was hoping that 8.0 had changed it to the better a bit. But if > you are saying, rum(4) is still crappy... Not rum(4) but chip. -- Paul B Mahol From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 21:13:21 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 1980A1065670 for ; Mon, 18 Jan 2010 21:13:21 +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 BB2178FC17 for ; Mon, 18 Jan 2010 21:13:20 +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 o0ILDJ3P009356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 18 Jan 2010 22:13:19 +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 o0ILDIO0014349 for ; Mon, 18 Jan 2010 22:13:18 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Mon, 18 Jan 2010 22:13:18 +0100 (CET) From: Marco Beishuizen Sender: marco@yokozuna.lan To: freebsd-questions@freebsd.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: library problems with sound-juicer 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: Mon, 18 Jan 2010 21:13:21 -0000 On Fri, 15 Jan 2010, Marco Beishuizen wrote: > > Hi, > > When trying to portupgrade sound-juicer I get: > > ... > /usr/bin/ld: warning: libssl.so.5, needed by /usr/local/lib/libneon.so, may > conflict with libssl.so.7 > /usr/lib/libkrb5.so: undefined reference to `hx509_certs_init' > /usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_serialnumber' > /usr/lib/libkrb5.so: undefined reference to > `hx509_cert_find_subjectAltName_otherName' > /usr/lib/libkrb5.so: undefined reference to `hx509_certs_find' > /usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_anchors' > /usr/lib/libkrb5.so: undefined reference to `hx509_query_alloc' > /usr/lib/libkrb5.so: undefined reference to `hx509_get_error_string' > /usr/lib/libkrb5.so: undefined reference to `hx509_cms_unenvelope' > /usr/lib/libkrb5.so: undefined reference to `hx509_lock_add_password' > /usr/lib/libkrb5.so: undefined reference to `hx509_revoke_init' > /usr/lib/libkrb5.so: undefined reference to `hx509_verify_hostname' > /usr/lib/libkrb5.so: undefined reference to `hx509_cms_unwrap_ContentInfo' > /usr/lib/libkrb5.so: undefined reference to `hx509_prompt_hidden' > /usr/lib/libkrb5.so: undefined reference to `hx509_name_free' > /usr/lib/libkrb5.so: undefined reference to `hx509_cert_check_eku' > /usr/lib/libkrb5.so: undefined reference to `hx509_name_binary' > /usr/lib/libkrb5.so: undefined reference to `hx509_certs_append' > /usr/lib/libkrb5.so: undefined reference to `hx509_verify_destroy_ctx' > /usr/lib/libkrb5.so: undefined reference to `hx509_name_to_Name' > /usr/lib/libkrb5.so: undefined reference to `hx509_cms_wrap_ContentInfo' > /usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_issuer' > /usr/lib/libkrb5.so: undefined reference to `hx509_free_octet_string_list' > /usr/lib/libkrb5.so: undefined reference to `hx509_certs_iter' > /usr/lib/libkrb5.so: undefined reference to `hx509_revoke_free' > /usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_subject' > /usr/lib/libkrb5.so: undefined reference to `hx509_cert_free' > /usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_revoke' > /usr/lib/libkrb5.so: undefined reference to `hx509_get_one_cert' > /usr/lib/libkrb5.so: undefined reference to `hx509_verify_init_ctx' > /usr/lib/libkrb5.so: undefined reference to `hx509_revoke_add_crl' > /usr/lib/libkrb5.so: undefined reference to `hx509_context_free' > /usr/lib/libkrb5.so: undefined reference to `hx509_cms_create_signed_1' > /usr/lib/libkrb5.so: undefined reference to `hx509_name_is_null_p' > /usr/lib/libkrb5.so: undefined reference to `hx509_cms_verify_signed' > /usr/lib/libkrb5.so: undefined reference to `hx509_lock_free' > /usr/lib/libkrb5.so: undefined reference to > `hx509_context_set_missing_revoke' > /usr/lib/libkrb5.so: undefined reference to `hx509_query_match_option' > /usr/lib/libkrb5.so: undefined reference to `hx509_query_free' > /usr/lib/libkrb5.so: undefined reference to `hx509_lock_init' > /usr/lib/libkrb5.so: undefined reference to > `hx509_verify_set_proxy_certificate' > /usr/lib/libkrb5.so: undefined reference to `hx509_certs_free' > /usr/lib/libkrb5.so: undefined reference to `hx509_context_init' > /usr/lib/libkrb5.so: undefined reference to `hx509_lock_set_prompter' > /usr/lib/libkrb5.so: undefined reference to `hx509_crypto_available' > gmake[2]: *** [sound-juicer] Error 1 > gmake[2]: Leaving directory > `/usr/ports/audio/sound-juicer/work/sound-juicer-2.28.1/src' > ... After doing a portupgrade -Rrf sound-juicer, this problem seems to have disappeared. Marco -- Flattery will get you everywhere. From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 22:05: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 69523106568B for ; Mon, 18 Jan 2010 22:05:03 +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 F2AE98FC0C for ; Mon, 18 Jan 2010 22:05:02 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEABZqVEtUXeby/2dsb2JhbADVRIQzBA Received: from relay01.plus.net ([84.93.230.242]) by relay.pcl-ipout02.plus.net with ESMTP; 18 Jan 2010 22:05:01 +0000 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by relay01.plus.net with esmtp (Exim) id 1NWziW-0003xP-RD; Mon, 18 Jan 2010 22:05:00 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.71) (envelope-from ) id 1NWziW-00011A-IB; Mon, 18 Jan 2010 22:05:00 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 18 Jan 2010 22:05:00 +0000 User-Agent: KMail/1.9.10 References: <201001152334.52978.jmc-freebsd2@milibyte.co.uk> <201001172122.15128.jmc-freebsd2@milibyte.co.uk> <4B538459.7090601@infracaninophile.co.uk> In-Reply-To: <4B538459.7090601@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: <201001182205.00543.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: 0362a14babae4163dd05512ac0f12329 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: Mon, 18 Jan 2010 22:05:03 -0000 On Sunday 17 January 2010, Matthew Seaman wrote: > However, one of the really amazingly brilliant things about geom is > that just about any disk / storage related thing can be a geom > provider, and geom constructs will nest very happily. =A0Here's a howto > for setting up gmirror across a pair of slices: > > http://people.freebsd.org/~rse/mirror/ That's a very interesting article. Since I'll be able to configure the=20 mirror on the new drives before installing any software my approach can=20 be a bit simpler. In the example he's using a single partition for the whole disk but=20 reduces the size if the partition by one block so that the mirror's=20 meta data doesn't get misinterpreted as whole disk meta data. Since I=20 anticipate using only the first 2 partitions for a couple of mirrors=20 and using the rest of the disk as plain partitions then I don't think I=20 need to do this but might it still be a good idea to reduce the last=20 partition by one block anyway in case my usage changes in the future? =2D-=20 Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 22:39:34 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 F0CA6106568B for ; Mon, 18 Jan 2010 22:39:34 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id B4AEF8FC18 for ; Mon, 18 Jan 2010 22:39:34 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 5C85434D46B; Mon, 18 Jan 2010 22:39:20 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-questions@freebsd.org Date: Mon, 18 Jan 2010 22:39:20 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201001182239.20153.david@vizion2000.net> Subject: /etc/hosts.deniedssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 22:39:35 -0000 Examples from hosts.deniedssh I seem to be on the receiving end of a concerted series of unsuccessful break in attacks on one of our systems. One small part of the attack has resulted in over 2000 entries in our hosts.deniedssh file in less than 1 hour. I would be interested in any comments on the small example shown below and any advice. Thanks in advance David r200-40-132-245.static.adinet.com.uy mail.munisanmiguel.gob.pe port-83-236-241-198.static.qsc.de pd95b50ce.dip0.t-ipconnect.de v32641.1blu.de dubovik.net r200-40-132-245.static.adinet.com.uy mail.munisanmiguel.gob.pe port-83-236-241-198.static.qsc.de pd95b50ce.dip0.t-ipconnect.de v32641.1blu.de dubovik.net r200-40-132-245.static.adinet.com.uy mail.munisanmiguel.gob.pe port-83-236-241-198.static.qsc.de pd95b50ce.dip0.t-ipconnect.de v32641.1blu.de dubovik.net r200-40-132-245.static.adinet.com.uy mail.munisanmiguel.gob.pe port-83-236-241-198.static.qsc.de pd95b50ce.dip0.t-ipconnect.de v32641.1blu.de dubovik.net r200-40-132-245.static.adinet.com.uy mail.munisanmiguel.gob.pe port-83-236-241-198.static.qsc.de pd95b50ce.dip0.t-ipconnect.de v32641.1blu.de dubovik.net r200-40-132-245.static.adinet.com.uy mail.munisanmiguel.gob.pe port-83-236-241-198.static.qsc.de pd95b50ce.dip0.t-ipconnect.de v32641.1blu.de dubovik.net r200-40-132-245.static.adinet.com.uy mail.munisanmiguel.gob.pe port-83-236-241-198.static.qsc.de pd95b50ce.dip0.t-ipconnect.de v32641.1blu.de dubovik.net r200-40-132-245.static.adinet.com.uy From owner-freebsd-questions@FreeBSD.ORG Mon Jan 18 22:53:15 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 A4905106566B for ; Mon, 18 Jan 2010 22:53:15 +0000 (UTC) (envelope-from amvandemore@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 790D58FC0A for ; Mon, 18 Jan 2010 22:53:15 +0000 (UTC) Received: by pwi15 with SMTP id 15so2151304pwi.3 for ; Mon, 18 Jan 2010 14:53:15 -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=mqSjlfeM7KNYF0jRhTeaZv35+/ixr146xaTZvDlpSiY=; b=DGUYdu42UvdPIkqvyBDm5W2Z/LBvCC9DOHwbcBg2+WgjPWrnCl4lu08lxm5mUR6jFI XaianAz6pOUodn1nutZduoxP9QKbPUXGjYyO8KECZn3/6/+fM925hqvFcqHIZgUIvCHI 5nN4aSz+yCiP5zi1Yv+niEfqri7zP23MeeK8A= 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=BCVS6oPKtypUVgttHvqvvoUSdzA21DdNLhIErLFQwLFNRnafhdhmmf6J2LFWtkxGyw OUiY1vaiW9/C07aG+6Yn+SUod18WIKenyENWt1tKFGvEEp3frFAV0ktSkdsCxEWcdFVd zVqvvfNq8/JnYOr3/GLg+1aTmZF3i/AYoFzeY= MIME-Version: 1.0 Received: by 10.142.9.1 with SMTP id 1mr1653344wfi.92.1263855194790; Mon, 18 Jan 2010 14:53:14 -0800 (PST) In-Reply-To: <201001182239.20153.david@vizion2000.net> References: <201001182239.20153.david@vizion2000.net> Date: Mon, 18 Jan 2010 16:53:14 -0600 Message-ID: <6201873e1001181453n2e907e9ex11ffbc3a37233a@mail.gmail.com> From: Adam Vande More To: David Southwell Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: /etc/hosts.deniedssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 22:53:15 -0000 On Mon, Jan 18, 2010 at 4:39 PM, David Southwell wrote: > Examples from hosts.deniedssh > I seem to be on the receiving end of a concerted series of unsuccessful > break > in attacks on one of our systems. One small part of the attack has > resulted > in over 2000 entries in our hosts.deniedssh file in less than 1 hour. > > I would be interested in any comments on the small example shown below and > any > advice. > > Thanks in advance > > David > r200-40-132-245.static.adinet.com.uy > mail.munisanmiguel.gob.pe > port-83-236-241-198.static.qsc.de > pd95b50ce.dip0.t-ipconnect.de > v32641.1blu.de > dubovik.net > r200-40-132-245.static.adinet.com.uy > mail.munisanmiguel.gob.pe > port-83-236-241-198.static.qsc.de > pd95b50ce.dip0.t-ipconnect.de > v32641.1blu.de > dubovik.net > r200-40-132-245.static.adinet.com.uy > mail.munisanmiguel.gob.pe > port-83-236-241-198.static.qsc.de > pd95b50ce.dip0.t-ipconnect.de > v32641.1blu.de > dubovik.net > r200-40-132-245.static.adinet.com.uy > mail.munisanmiguel.gob.pe > port-83-236-241-198.static.qsc.de > pd95b50ce.dip0.t-ipconnect.de > v32641.1blu.de > dubovik.net > r200-40-132-245.static.adinet.com.uy > mail.munisanmiguel.gob.pe > port-83-236-241-198.static.qsc.de > pd95b50ce.dip0.t-ipconnect.de > v32641.1blu.de > dubovik.net > r200-40-132-245.static.adinet.com.uy > mail.munisanmiguel.gob.pe > port-83-236-241-198.static.qsc.de > pd95b50ce.dip0.t-ipconnect.de > v32641.1blu.de > dubovik.net > r200-40-132-245.static.adinet.com.uy > mail.munisanmiguel.gob.pe > port-83-236-241-198.static.qsc.de > pd95b50ce.dip0.t-ipconnect.de > v32641.1blu.de > dubovik.net > r200-40-132-245.static.adinet.com.uy > Looks like your conf could use some love. Why are you resolving ip's? Thresholds can be lowered. Are you syncing with remote list? -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 00:21:10 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 771E21065695 for ; Tue, 19 Jan 2010 00:21:10 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 026758FC1B for ; Tue, 19 Jan 2010 00:21:09 +0000 (UTC) Received: by fxm27 with SMTP id 27so2886330fxm.3 for ; Mon, 18 Jan 2010 16:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:x-face:mime-version:content-type :content-transfer-encoding:message-id; bh=dHU5v6gpFdVgj3yI6G7B62PffWQWRnrJ1m3+pCm3POo=; b=bHUF/JAwmyLmdG6zAQ0xdNeV1bwWW8ugorvWsgT9qYgkUEYRgvLLk6Vr/Upc03ILZH 6zOfhXwTw0mqkdOxNhWgWrnelzI74DB1a6mvNhHr/xdaMUCzowGfl8G4PtURz69nMULE ereCcxDp3T0jw0KOPlP+ZWwbTQpAeSCxMRku4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:x-face :mime-version:content-type:content-transfer-encoding:message-id; b=MoJBlJvWUGN5HzHDiyrhRNDoUS/MZLncJ/AZkLXtSvWhFvGyey1lncuohJADmUehLN 2GoN8odXhoHieuGCf2fRv/V9cRHiTFpcaSPU83ZsFWE4h3lkr7FXlxCkrj3ljYlvxoXR pBckGl2sDO9qa4o5U+TohU6p2zEseUN0+2YIY= Received: by 10.223.5.135 with SMTP id 7mr8370577fav.81.1263860468807; Mon, 18 Jan 2010 16:21:08 -0800 (PST) Received: from media.localnet (188.4.78.122.dsl.dyn.forthnet.gr [188.4.78.122]) by mx.google.com with ESMTPS id p9sm5400239fkb.14.2010.01.18.16.21.08 (version=SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 16:21:08 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Tue, 19 Jan 2010 02:22:03 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.32-ARCH; KDE/4.3.4; i686; ; ) References: <201001182239.20153.david@vizion2000.net> In-Reply-To: <201001182239.20153.david@vizion2000.net> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart32409047.g47VQd2U8o"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201001190222.03539.oloringr@gmail.com> Subject: Re: /etc/hosts.deniedssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: