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: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 00:21:10 -0000 --nextPart32409047.g47VQd2U8o Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Tuesday 19 January 2010 00:39, 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=20 has=20 > resulted in over 2000 entries in our hosts.deniedssh file in less than 1 > hour. >=20 > I would be interested in any comments on the small example shown=20 below and > any advice. >=20 > Thanks in advance >=20 > David 2k entries are too much indeed. are you running ssh on port 22? if yes, (and your users are ok with it) you can change it to another port. or maybe, temporary disable ssh login and use cron to enable it again in=20 some time in the future. =2D-=20 Save the whales. Club a seal instead. --nextPart32409047.g47VQd2U8o Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAktU+ysACgkQBPpdVEWKA32fugCgzG7T/eZBiNb1MvWOm5jqhvEC y20AoPRAeELJ6s4fmSQihZgrer94YiOf =ISqn -----END PGP SIGNATURE----- --nextPart32409047.g47VQd2U8o-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 00:28: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 C60F71065672 for ; Tue, 19 Jan 2010 00:28:47 +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 691EF8FC16 for ; Tue, 19 Jan 2010 00:28:47 +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 o0J0Scka089630; Mon, 18 Jan 2010 16:28:39 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 18 Jan 2010 16:28:39 -0800 (PST) Date: Mon, 18 Jan 2010 16:28:38 -0800 From: Gary Kline To: Polytropon Message-ID: <20100119002838.GB11545@thought.org> References: <20100118033426.GA7585@thought.org> <20100118212136.95b56398.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100118212136.95b56398.freebsd@edvax.de> 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=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_66 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 00:28:47 -0000 On Mon, Jan 18, 2010 at 09:21:36PM +0100, Polytropon wrote: > 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: > Whoa, cool, man, thanks. I'll print this out to save. a number wrote off list and I may pick one or two and see if they have a clue why my output isn't jibing with what I want..... gary ps: re Subject line, I remember it let you use /bin/sh without hittin enter or . there's no easy way of doing that in C! > > /* 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, ... -- 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 Tue Jan 19 02:20: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 26207106566B; Tue, 19 Jan 2010 02:20:37 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 987EB8FC0C; Tue, 19 Jan 2010 02:20:36 +0000 (UTC) Received: from inchoate.gsoft.com.au ([203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id o0J2KTwW096164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 19 Jan 2010 12:50:29 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Tue, 19 Jan 2010 12:50:13 +1030 User-Agent: KMail/1.9.10 References: <4B54C100.9080906@mail.zedat.fu-berlin.de> <4B54C5EE.5070305@pp.dyndns.biz> In-Reply-To: <4B54C5EE.5070305@pp.dyndns.biz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2955529.oGW1gFcb1l"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201001191250.23625.doconnor@gsoft.com.au> X-Spam-Score: -3.635 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: "O. Hartmann" , Morgan =?utf-8?q?Wesstr=C3=B6m?= , 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: Tue, 19 Jan 2010 02:20:37 -0000 --nextPart2955529.oGW1gFcb1l Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tue, 19 Jan 2010, Morgan Wesstr=F6m wrote: > 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... There's this.. http://www.silentpcreview.com/Terabyte_Drive_Fix and you can get the tool at.. http://home.arcor.de/ghostadmin/wdidle3_1_00.zip I am planning to try this out tonight.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2955529.oGW1gFcb1l Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBLVRbn5ZPcIHs/zowRAgw5AKCnV25BbksA6CVLuxD96Q5x8WGqogCgoHjw Hx8GOn5vpLDgfI1YbAp4LbI= =8ATs -----END PGP SIGNATURE----- --nextPart2955529.oGW1gFcb1l-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 03:09: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 C5EE11065692 for ; Tue, 19 Jan 2010 03:09:58 +0000 (UTC) (envelope-from griffij9@cs.man.ac.uk) Received: from tranquility.mcc.ac.uk (tranquility.mcc.ac.uk [130.88.200.145]) by mx1.freebsd.org (Postfix) with ESMTP id 85F368FC08 for ; Tue, 19 Jan 2010 03:09:58 +0000 (UTC) Received: from rankine.its.manchester.ac.uk ([130.88.25.196]) by tranquility.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NX4Be-000JXl-MZ for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 02:51:22 +0000 Received: from host86-183-92-168.range86-183.btcentralplus.com ([86.183.92.168]:60428 helo=freebsd.home.network) by rankine.its.manchester.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NX4Be-0002O5-Fz for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 02:51:22 +0000 Date: Tue, 19 Jan 2010 02:51:15 +0000 From: Jamie Griffin To: freebsd-questions@freebsd.org Message-ID: <20100119025114.GB38099@freebsd.home.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key-ID: 0x842DD368 X-PGP-Key-Fingerprint: F850 A09C F877 FBC4 A63C FDDC 7484 4EEF 842D D368 X-URL: http://www.koderize.com User-Agent: Mutt/1.5.20 (2009-06-14) X-Authenticated-Sender: Jamie Griffin from host86-183-92-168.range86-183.btcentralplus.com (freebsd.home.network) [86.183.92.168]:60428 X-Authenticated-From: jamie.griffin@student.manchester.ac.uk X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details. Subject: ffmpeg port build failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 03:09:58 -0000 Hello I'm trying to install gimp from ports but one of its dependencies is failing, ffmpeg. This is the error its failing on: libavdevice/v412.c:41:23: erro: asm/types.h: No such file or directory In file included from libavdevice/v412.c:42: /usr/local/include/linux/videodev2.h:430: warning: declararion does not declare anything /usr/local/include/linux/videodev2.h:837: warning: declararion does not declare anything /usr/local/include/linux/videodev2.h:930: warning: declararion does not declare anything /usr/local/include/linux/videodev2.h:1478: warning: declararion does not declare anything /usr/local/include/linux/videodev2.h:1600: warning: declararion does not declare anything /usr/local/include/linux/videodev2.h:1651: warning: declararion does not declare anything gmake: ***[libavdevice/v412.o] Error 1 -------------------------------- (I think that's all of the relevant part of the output.) I wondered if anyone knows what could be wrong here, and how I can get it to build? Jamie From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 03:15:26 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 653681065672 for ; Tue, 19 Jan 2010 03:15:26 +0000 (UTC) (envelope-from yuri.pankov@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 E2D6B8FC33 for ; Tue, 19 Jan 2010 03:15:25 +0000 (UTC) Received: by fxm27 with SMTP id 27so2962357fxm.3 for ; Mon, 18 Jan 2010 19:15:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=lGOSyjKv1Ls7LGiePD7BpVLT/Ym3P9ehfY+ZGazkU5A=; b=AHLclpi1c/ntOLBv7dGfnkoCP3fZm0pqjaIppghEQIXAPl4eb7ArrLgupQKTFbebJC cRwWltvmw2gyhvdgsrqY7QmkJBQ6DxSwiR+Yd0eb8sl2ClZQzobua+n5D3M2G7CLLtRC fOexUdTlNrS/RvVw3ldmb0DNdG5/MMOdq+QSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=E/6D/Al0gmpcl0ehhv3t0GF9TM3wx8swUZOTcDRfGpKOu0wd1xaGjEq9X+KMD7L5zC eklITMTcWtFM14iS0soYtFxxP6cCEeXYuXGNsXfvrJvLRBiUO2mkHo/+asA/H9IOaQqP WiFIBxRjqtFW5KK0tGftk4zp3GwV5XwL5UKIc= Received: by 10.87.69.33 with SMTP id w33mr7488191fgk.29.1263870924862; Mon, 18 Jan 2010 19:15:24 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id l19sm11994001fgb.23.2010.01.18.19.15.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 19:15:24 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0J3FLw4077021; Tue, 19 Jan 2010 06:15:22 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0J3FLGb077020; Tue, 19 Jan 2010 06:15:21 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Tue, 19 Jan 2010 06:15:21 +0300 From: Yuri Pankov To: Jamie Griffin Message-ID: <20100119031521.GA2070@darklight.org.ru> References: <20100119025114.GB38099@freebsd.home.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100119025114.GB38099@freebsd.home.network> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: ffmpeg port build failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 03:15:26 -0000 On Tue, Jan 19, 2010 at 02:51:15AM +0000, Jamie Griffin wrote: > Hello > > I'm trying to install gimp from ports but one of its dependencies is > failing, ffmpeg. This is the error its failing on: > > libavdevice/v412.c:41:23: erro: asm/types.h: No such file or directory > In file included from libavdevice/v412.c:42: > /usr/local/include/linux/videodev2.h:430: warning: declararion does not > declare anything > /usr/local/include/linux/videodev2.h:837: warning: declararion does not > declare anything > /usr/local/include/linux/videodev2.h:930: warning: declararion does not > declare anything > /usr/local/include/linux/videodev2.h:1478: warning: declararion does not > declare anything > /usr/local/include/linux/videodev2.h:1600: warning: declararion does not > declare anything > /usr/local/include/linux/videodev2.h:1651: warning: declararion does not > declare anything > gmake: ***[libavdevice/v412.o] Error 1 > > -------------------------------- > (I think that's all of the relevant part of the output.) > > I wondered if anyone knows what could be wrong here, and how I can get > it to build? > > Jamie Problem here is in multimedia/v4l_compat port, which was recently updated to install include/linux/videodev2.h. You could try uninstalling it or moving include/linux/videodev2.h away when you are building ffmpeg. HTH, Yuri From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 03:25:09 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 945A91065672 for ; Tue, 19 Jan 2010 03:25:09 +0000 (UTC) (envelope-from keneasson@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA008FC1E for ; Tue, 19 Jan 2010 03:25:09 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=YcrRGnBtp+xbRfkg4+yNgqPL+kTLPF/TGDvR9C48oCp9I0yA8jbLRVGUDNBEwOGxl65PMuNqeXXt M7qiPfBZS+7CHFS6VWfXjQzRbV1TESO/BLqibkEcp/6arDxC8DnI Received: from 172.29.249.242 (172.29.249.242 [172.29.249.242]) by mx.zohomail.com with SMTP id 1263233608747922.8251021558016; Mon, 11 Jan 2010 10:13:28 -0800 (PST) Date: Tue, 12 Jan 2010 00:13:28 +0600 From: keneasson To: Message-ID: <1261e972b5f.7481358725749528776.5762640050170375403@zoho.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2131_1048886640.1263233608543" X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Serious problems updating Current after switching to libxul. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 03:25:09 -0000 ------=_Part_2131_1048886640.1263233608543 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I'm running Freebsd 8.0-Stable #9 Dec 17/09 on amd64. I'm running gnome, an= d at the time i started my update i was at Gnome 2.26 I went through UPDATING and tried to switch from firefox 2 which is marked = ignore to libxul by changing WITH_GECKO=3Dlibxul removed firefox3 and insta= lled firefox35 I used UPDATING to try and sort out libxul, but it seems i have some cyclic= dependencies. I use portmaster (i did try to rebuild things for portupgrade and try, but = it had bigger problems and i couldn't even update the index.) I keep updati= ng my ports tree (cvsup) i used portsnap, and it seems that was when my pro= blems started, i rm -rf /usr/ports/* and cvsupped the entire thing back at = one point. I got an error which seems to have started the whole ugly affair with /usr/= ports/Mk/bsd.gecko.mk causing post patch issues, the main problem seemed to= be e2fsprogs-libuuid which i was unable to rebuild due to it wanting a bsd= .gecko.mk patch which from what i've read is now removed with firefox2, i d= eleted stuff till i got around that for now... but... at present my key problem is a cyclic dependency when i try and rebuilt pre= tty much anything, with libxul as the main issue. glib20 =3D> libxul =3D>glib20 =3D> libxul =3D>glib20 =3D> li= bxul =3D>glib20 =3D> libxul =3D>glib20 =3D> libxul =3D>glib2= 0=20 I have tried installing the package for both. i've tried pkg_deleting both = then installing the port, or using portmaster, i've tried portmaster --chec= k-depends, i've tried portmaster -e to remove them and try and re-install t= hem. I've removed about 1/2 my system and now have even more problems. (i r= emoved gettext and now portmaster complains about missing libintl.so.8 not = found.=20 at best i get a much larger cyclic loop with: glib20 =3D> libtool22 =3D> libiconv =3D> gettetxt =3D> atk =3D&= gt; libgmp4 =3D> farsight =3D> gdm =3D> libxul =3D> glib20=20 or some other combination of the cycle. Can anyone help me get my system back up and running? make.conf looks like this: WITH_MYSQL_VER=3D51 APACHE_VERSION=3D22 OVERRIDE_LINUX_BASE_PORT=3Df8 WWWDIR =3D /web/phpmyadmin WITH_CUPS=3D"yes" CUPS_OVERWRITE_BASE=3Dtrue #NO_LPR=3Dtrue USE_GECKO=3Dlibxul # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portc= onf) _PORTCONF!=3D/usr/local/libexec/portconf .for i in ${_PORTCONF:S/|/ /g} ${i:S/%/ /g} .endfor .endif # End portconf settings # added by use.perl 2009-09-19 16:22:20 PERL_VERSION=3D5.10.1 thanks ken ------=_Part_2131_1048886640.1263233608543-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 03:45:57 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 1D07F1065676 for ; Tue, 19 Jan 2010 03:45:57 +0000 (UTC) (envelope-from griffij9@cs.man.ac.uk) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.freebsd.org (Postfix) with ESMTP id CF7498FC0C for ; Tue, 19 Jan 2010 03:45:56 +0000 (UTC) Received: from kelvin.its.manchester.ac.uk ([130.88.25.195]) by probity.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NX52R-000BeM-AZ for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 03:45:55 +0000 Received: from host86-183-92-168.range86-183.btcentralplus.com ([86.183.92.168]:43748 helo=freebsd.home.network) by kelvin.its.manchester.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NX52R-00012u-4X for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 03:45:55 +0000 Date: Tue, 19 Jan 2010 03:45:48 +0000 From: Jamie Griffin To: freebsd-questions@freebsd.org Message-ID: <20100119034547.GA1310@freebsd.home.network> References: <20100119025114.GB38099@freebsd.home.network> <20100119031521.GA2070@darklight.org.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100119031521.GA2070@darklight.org.ru> X-PGP-Key-ID: 0x842DD368 X-PGP-Key-Fingerprint: F850 A09C F877 FBC4 A63C FDDC 7484 4EEF 842D D368 X-URL: http://www.koderize.com User-Agent: Mutt/1.5.20 (2009-06-14) X-Authenticated-Sender: Jamie Griffin from host86-183-92-168.range86-183.btcentralplus.com (freebsd.home.network) [86.183.92.168]:43748 X-Authenticated-From: jamie.griffin@student.manchester.ac.uk X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details. Subject: Re: ffmpeg port build failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 03:45:57 -0000 > Problem here is in multimedia/v4l_compat port, which was recently > updated to install include/linux/videodev2.h. You could try uninstalling > it or moving include/linux/videodev2.h away when you are building ffmpeg. tried both those options, neither one works unfortunately. hmmm. Thanks for trying though. Jamie From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 03:54: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 6427D106566B for ; Tue, 19 Jan 2010 03:54:01 +0000 (UTC) (envelope-from yuri.pankov@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 DC38D8FC16 for ; Tue, 19 Jan 2010 03:54:00 +0000 (UTC) Received: by fxm27 with SMTP id 27so2977607fxm.3 for ; Mon, 18 Jan 2010 19:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=AcqJYxa1B389iuw17Gd+oOiEA+FYPVfdJoKCBNF+Rj4=; b=yGislajK8CPap+uoCtc2i9KI4m7x+/WgQ+AaWrxwzdsJkOzh1aefCCAHYfLYAsvplV 5LqjYsviNigeMnwGM5eRptY9HzKVQ8Ai/FfNo/UFclaqkGYn12wJVevAacC0ZuB5vc1z Cn0a8cx7I1N/2oetxQYu36BIho933TA9jB5oM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=qhlszwFvl1kCCx6DSxIvtlcziJkSwO3moJB8yHKhlcbM4sYgqugTbLwlXhxe4dAmDX mTFwKjziI9uPPWtTW8VGpnKSOwDayJDG8hMH34x3coxSPQtoauhhIc8cfXppscMR7np6 sT0dDFo/MD49BI7h+LBpcZPMixhBHalIXi1vE= Received: by 10.87.58.16 with SMTP id l16mr8989470fgk.50.1263873238804; Mon, 18 Jan 2010 19:53:58 -0800 (PST) Received: from darklight.org.ru ([213.132.76.16]) by mx.google.com with ESMTPS id e3sm14713701fga.11.2010.01.18.19.53.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 Jan 2010 19:53:57 -0800 (PST) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.3/8.14.3) with ESMTP id o0J3rtVO031999; Tue, 19 Jan 2010 06:53:55 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by darklight.org.ru (8.14.3/8.14.3/Submit) id o0J3rtSV031998; Tue, 19 Jan 2010 06:53:55 +0300 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: darklight.org.ru: yuri set sender to yuri.pankov@gmail.com using -f Date: Tue, 19 Jan 2010 06:53:55 +0300 From: Yuri Pankov To: Jamie Griffin Message-ID: <20100119035355.GB2070@darklight.org.ru> References: <20100119025114.GB38099@freebsd.home.network> <20100119031521.GA2070@darklight.org.ru> <20100119034547.GA1310@freebsd.home.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100119034547.GA1310@freebsd.home.network> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: ffmpeg port build failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 03:54:01 -0000 On Tue, Jan 19, 2010 at 03:45:48AM +0000, Jamie Griffin wrote: > > > Problem here is in multimedia/v4l_compat port, which was recently > > updated to install include/linux/videodev2.h. You could try uninstalling > > it or moving include/linux/videodev2.h away when you are building ffmpeg. > > tried both those options, neither one works unfortunately. hmmm. Helped here. I hope you did run `make clean` after removing v4l_compat port? > Thanks for trying though. > > Jamie Yuri From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 04:06:05 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 BCC21106566B for ; Tue, 19 Jan 2010 04:06:05 +0000 (UTC) (envelope-from griffij9@cs.man.ac.uk) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.freebsd.org (Postfix) with ESMTP id 79EF08FC0C for ; Tue, 19 Jan 2010 04:06:05 +0000 (UTC) Received: from kelvin.its.manchester.ac.uk ([130.88.25.195]) by probity.mcc.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NX5Lw-000Dul-Jo for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 04:06:04 +0000 Received: from host86-183-92-168.range86-183.btcentralplus.com ([86.183.92.168]:48354 helo=freebsd.home.network) by kelvin.its.manchester.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NX5Lw-0004i7-Dy for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 04:06:04 +0000 Date: Tue, 19 Jan 2010 04:05:57 +0000 From: Jamie Griffin To: freebsd-questions@freebsd.org Message-ID: <20100119040557.GB1310@freebsd.home.network> References: <20100119025114.GB38099@freebsd.home.network> <20100119031521.GA2070@darklight.org.ru> <20100119034547.GA1310@freebsd.home.network> <20100119035355.GB2070@darklight.org.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100119035355.GB2070@darklight.org.ru> X-PGP-Key-ID: 0x842DD368 X-PGP-Key-Fingerprint: F850 A09C F877 FBC4 A63C FDDC 7484 4EEF 842D D368 X-URL: http://www.koderize.com User-Agent: Mutt/1.5.20 (2009-06-14) X-Authenticated-Sender: Jamie Griffin from host86-183-92-168.range86-183.btcentralplus.com (freebsd.home.network) [86.183.92.168]:48354 X-Authenticated-From: jamie.griffin@student.manchester.ac.uk X-UoM: Scanned by the University Mail System. See http://www.itservices.manchester.ac.uk/email/filtering/information/ for details. Subject: Re: ffmpeg port build failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 04:06:05 -0000 > I hope you did run `make clean` after removing v4l_compat port? Hi Yuri, I had not done `make clean`, but doing so did make it install ok. Thanks for you help. Jamie From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 05:29:09 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 4D52B106566C for ; Tue, 19 Jan 2010 05:29:09 +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 11D658FC22 for ; Tue, 19 Jan 2010 05:29:08 +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 o0J5T5fd091478 for ; Mon, 18 Jan 2010 21:29:05 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 18 Jan 2010 21:29:05 -0800 (PST) Date: Mon, 18 Jan 2010 21:29:05 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100119052902.GA14207@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: can't build pidgin... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 05:29:09 -0000 when I do a make install clean in net-im/pidgin I constantly get rejects about the datestamp being wrong and the file is not retrieved. any help will be greatly appreciated. tia... . -- 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 Tue Jan 19 06:48:26 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 8F5C2106566C for ; Tue, 19 Jan 2010 06:48:26 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from c.mail.ru.ac.za (c.mail.ru.ac.za [IPv6:2001:4200:1010::25:3]) by mx1.freebsd.org (Postfix) with ESMTP id 998A18FC12 for ; Tue, 19 Jan 2010 06:48:25 +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=panGCIFeOiw6PV6zlPw20CKjj7kyqSJgk2yQIg3l/oVPhG9ResEYJ547mzREj+LpMfOPHWj4TR1vEeei6J+lDQTrnvOR3DsgLAl8FFWTEWwxqXix2uBoXbY+eb99F/EB; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:61119) by c.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NX7t1-0000pO-34 for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 08:48:23 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Tue, 19 Jan 2010 08:48:22 +0200 User-Agent: KMail/1.9.10 References: In-Reply-To: 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: c.mail.ru.ac.za (2001:4200:1010::25:3) 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: Tue, 19 Jan 2010 06:48:26 -0000 On Monday 18 January 2010 17:48:37 b. f. wrote: > Argh! =A0Stop! 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. I don't know why you assume people didn't. I read the whole thread. I saw=20 people who had individual special requirements, but I didn't see anything=20 that suggested I was wrong in assuming the most common use case, by far, to= =20 be downloading and building a port in order to install it. Assuming that *is* indeed the commonest use case, this change makes life a= =20 little more difficult for almost everyone in order to save possibly as much= =20 as tens of minutes of wasted time for a few people. Worse than that, the new behaviour either increases downtime (by requiring= =20 that the conflicting port be removed before even starting to download the=20 replacement) or requires, as you pointed out, setting a risky option which = if=20 accidentally misused, could break the whole system. I still think it's an ill-considered change for the worse to make the new=20 behaviour the default. Jonathan From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 07:21: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 AFA871065672 for ; Tue, 19 Jan 2010 07:21:28 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 6AC258FC1A for ; Tue, 19 Jan 2010 07:21:28 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id B28101C1A67; Tue, 19 Jan 2010 08:21:26 +0100 (CET) Message-ID: <4B555D74.5060001@locolomo.org> Date: Tue, 19 Jan 2010 08:21:24 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: David Southwell References: <201001182239.20153.david@vizion2000.net> In-Reply-To: <201001182239.20153.david@vizion2000.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: Tue, 19 Jan 2010 07:21:28 -0000 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. 1. see thread from last week "denying spam hosts ssh access" 2. don't resolve ips 3. do a sort, you'll see that many come from the same network, possibly the same node with a new IP, block entire ranges, blocking individual ip's is futile. 4. consider blocking in your firewall 5. don't worry, unsuccesfull attacks are - well, unsuccesfull BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 08:51: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 19DA21065670 for ; Tue, 19 Jan 2010 08:51:21 +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 7F72C8FC13 for ; Tue, 19 Jan 2010 08:51:20 +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 o0J8p4gN002985; Tue, 19 Jan 2010 08:51:13 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0J8p4gN002985 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1263891073; bh=tadI/gPhUitfeN9Dw+3dWSzEWvFbUwfHn9QmFOsLYSw=; 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<4B557272.3000006@infracaninophile.co.uk>|Date:=20T ue,=2019=20Jan=202010=2008:50:58=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:=20keneasson=20|CC:=20freebsd-qu estions@freebsd.org|Subject:=20Re:=20Serious=20problems=20updating =20Current=20after=20switching=20to=20libxul.|References:=20<1261e 972b5f.7481358725749528776.5762640050170375403@zoho.com>|In-Reply- To:=20<1261e972b5f.7481358725749528776.5762640050170375403@zoho.co m>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3 B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-sig nature"=3B=0D=0A=20boundary=3D"------------enig6FA97B376E6F57F4405 C2C5F"; b=XdGo0Ny7i13vS5MPIPCm50bn+lPBvU50K+RqV6+6cwrYzEMNov43IxUX7pqwvtKNe 1riGKtZ8tvagBclCXRH59DilhxprBIAwrzOkTSIoR0GC+pF9MZeHLtuMw5FJ3mdsL9 3qe/22BYy34jVnD5HoMzIwhMBqfQKuOcFOsVG5Cw= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B557272.3000006@infracaninophile.co.uk> Date: Tue, 19 Jan 2010 08:50:58 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: keneasson References: <1261e972b5f.7481358725749528776.5762640050170375403@zoho.com> In-Reply-To: <1261e972b5f.7481358725749528776.5762640050170375403@zoho.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig6FA97B376E6F57F4405C2C5F" 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: freebsd-questions@freebsd.org Subject: Re: Serious problems updating Current after switching to libxul. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 08:51:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6FA97B376E6F57F4405C2C5F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable keneasson wrote: >=20 > Can anyone help me get my system back up and running? >=20 > make.conf looks like this: > WITH_MYSQL_VER=3D51 > APACHE_VERSION=3D22 > OVERRIDE_LINUX_BASE_PORT=3Df8 > WWWDIR =3D /web/phpmyadmin > WITH_CUPS=3D"yes" > CUPS_OVERWRITE_BASE=3Dtrue > #NO_LPR=3Dtrue > USE_GECKO=3Dlibxul ^^^^^^^^^^^^^^^^^ This is your problem. You want to say: WITH_GECKO=3Dlibxul here. > # Begin portconf settings > # Do not touch these lines > .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/p= ortconf) > _PORTCONF!=3D/usr/local/libexec/portconf > .for i in ${_PORTCONF:S/|/ /g} > ${i:S/%/ /g} > .endfor > .endif > # End portconf settings > # added by use.perl 2009-09-19 16:22:20 > PERL_VERSION=3D5.10.1 In general, you *never* add any USE_FOO flags to /etc/make.conf -- USE_FO= O is designed for use by port maintainers inside the limited scope of=20 port-specific Makefiles: the presence of a USE_FOO setting in scope generally does dramatic things like adding dependencies on whole software subsystems. Your 'USE_GECKO' setting in /etc/make.conf (which h= as effect in the global scope) has made *every* port on your machine depend = on=20 gecko related libraries. It's not really surprising you're experiencing = a bit of brokenness. Instead, you need a WITH_FOO flag. WITH_FOO is designed for end users to= tweak the way ports work in detail: they only have any effect in ports th= at are specifically written to take notice of them; everything else will jus= t ignore them. Even so, it's very common to use directory matching login= or, as you have, things like PORTCONF to limit the application of a WITH_FOO flag to a specific port. The whole OPTIONS dialogue system is just a front-end to setting WITH_FOO flags for a specific port. Note: something that may cause a certain amount of astonishment to neophy= te users. The opposite of saying: WITH_FOO=3Dyes is not: WITH_FOO=3Dno ### Don't do this. but: WITHOUT_FOO=3Dyes ### Do this. That's because the value of 'WITH_FOO' variables is not actually tested=20 anywhere, only whether the variable is defined or not. Setting=20 WITH_FOO=3Dbananas would have exactly the same effect, as, indeed does=20 WITH_FOO=3Dno or WITH_FOO=3Dover_my_dead_body 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 --------------enig6FA97B376E6F57F4405C2C5F 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 iEYEAREIAAYFAktVcncACgkQ8Mjk52CukIys+ACfc0ENCwcxHXRDQZuGlQ/iVPsb 6D4AnA2qT75Z8xxf7byMQfaXZk0JNQoA =dTeX -----END PGP SIGNATURE----- --------------enig6FA97B376E6F57F4405C2C5F-- From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 09:09: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 E7FA9106568F for ; Tue, 19 Jan 2010 09:09:17 +0000 (UTC) (envelope-from kraduk@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 723A58FC1C for ; Tue, 19 Jan 2010 09:09:16 +0000 (UTC) Received: by fxm27 with SMTP id 27so3124826fxm.3 for ; Tue, 19 Jan 2010 01:09:16 -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=jg3Pgq71gq8jeJCcPGSHnzVKUOse+FZRFpROD/SkFlo=; b=mfYaGtJEB3W98rZx17v1Yx0ScLb5dPvmidyE+gtGiRlhqTpCHOkrF1cDwlE7HpUwzj iORp9VfJzCZbVpQh5x1mEW/bMvlXTbvMxdB27QCkRKO5KssIeAEH/nDFIS1Cb/3YqcoM vPksTGpT+PaDFOSSca+ggUMcyRPAuD8CE6YS0= 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=czisEekzGTIJ7/4gqrV1mIerdVGtvw1+ygNT3TEEtQxqgT1aChr61JrN0eTOWrMmDZ 457sZ6vg0SCoLpLRmqcFVsBzN0dsyCXcK4UOG8N2AQpDzI84H9Fjwe0/Au89otdxh7lZ du/SAQeXxJnAD1zoWoy8E9xid03VLVsk74ExI= MIME-Version: 1.0 Received: by 10.239.190.137 with SMTP id x9mr138985hbh.18.1263892155986; Tue, 19 Jan 2010 01:09:15 -0800 (PST) In-Reply-To: <4B54C5EE.5070305@pp.dyndns.biz> References: <4B54C100.9080906@mail.zedat.fu-berlin.de> <4B54C5EE.5070305@pp.dyndns.biz> Date: Tue, 19 Jan 2010 09:09:15 +0000 Message-ID: From: krad To: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "O. Hartmann" , 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: Tue, 19 Jan 2010 09:09:18 -0000 2010/1/18 Morgan Wesstr=F6m > 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 > _______________________________________________ > 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" > ZFS is copy on write, therefore to optimize the write performance it delays writes for a long as possible, upto a set maximum time. It will then flush to the disks. How long this time is depends on how much free ram you have available. Assuming processes are eating up all your ram I would imagine yo= u are hitting the max limit. I'm not sure exactly what its set to on bsd but = I know the default on opensolaris is 30s. I think this explains your delayed writes. Not sure what will cause the lock ups though. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 09:33:46 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 96126106568B for ; Tue, 19 Jan 2010 09:33:46 +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 300BC8FC1A for ; Tue, 19 Jan 2010 09:33:45 +0000 (UTC) Received: from [134.61.4.247] (account kuku@kukulies.org [134.61.4.247] verified) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6749808; Tue, 19 Jan 2010 10:33:28 +0100 Message-ID: <4B557C55.2000705@kukulies.org> Date: Tue, 19 Jan 2010 10:33:09 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: jeffry killen References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> In-Reply-To: <2cd283d1fad03837950ef165cf75756c@prodigy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Salvage files from harddrive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 09:33:46 -0000 Your computers date/time is wrong. It's dated in the future. -- Christoph jeffry killen schrieb: > > > Thank you in advance for guidance, suggestions. > JK From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 09:40: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 7E59110656C0 for ; Tue, 19 Jan 2010 09:40:37 +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 118D78FC18 for ; Tue, 19 Jan 2010 09:40:36 +0000 (UTC) Received: from [134.61.4.247] (account kuku@kukulies.org [134.61.4.247] verified) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6749818; Tue, 19 Jan 2010 10:40:22 +0100 Message-ID: <4B557DF3.7090900@kukulies.org> Date: Tue, 19 Jan 2010 10:40:03 +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> <4B5492AF.9060906@kukulies.org> <3a142e751001181300o36c2156cx54eb47db073db7a7@mail.gmail.com> In-Reply-To: <3a142e751001181300o36c2156cx54eb47db073db7a7@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: Tue, 19 Jan 2010 09:40:37 -0000 Paul B Mahol schrieb: > > Argh sorry, you need to use: > create_args_wlan0="wlanmode hostap" > > > Yep, it works now: rc.conf: wlans_rum0="wlan0" create_args_wlan0="wlanmode hostap" 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="inet 10.0.0.1/24 ssid OFFICE wepmode on wepkey 0xf00baaf00baaf00baaf00baaf0 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: running wlan0: flags=8843 metric 0 mtu 1500 ether 00:11:50:cb:52:10 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid OFFICE channel 1 (2412 Mhz 11g) bssid 00:11:50:cb:52:10 country US authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpower 0 scanvalid 60 protmode CTS dtimperiod 1 -dfs >> >> 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. > > Thanks for helping. -- Christoph From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 09:46:09 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 B32C9106566C for ; Tue, 19 Jan 2010 09:46:09 +0000 (UTC) (envelope-from list@sheringeorge.co.cc) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 97A508FC1B for ; Tue, 19 Jan 2010 09:46:09 +0000 (UTC) Received: by pwi15 with SMTP id 15so2457017pwi.3 for ; Tue, 19 Jan 2010 01:46:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.188.1 with SMTP id q1mr5188001rvp.294.1263892755682; Tue, 19 Jan 2010 01:19:15 -0800 (PST) Date: Tue, 19 Jan 2010 14:49:15 +0530 Message-ID: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> From: Sherin George To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Setting "zfs_arc_max" value in FreeBSD 8. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 09:46:09 -0000 Hello, I am trying to tune ZFS file system by setting "zfs_arc_max" value in FreeBSD 8. In solaris, it is achieved like this ============================== =================== For example, if an application needs 5 GBytes of memory on a system with 36-GBytes of memory, you could set the arc maximum to 30 GBytes, (0x780000000 or 32212254720 bytes). Set the zfs:zfs_arc_max parameter in the /etc/system file: set zfs:zfs_arc_max = 0x780000000 or set zfs:zfs_arc_max = 32212254720 ================================================= But, I couldn't find /etc/system file in FreeBSD. Could some one please guide me to correctly configure "zfs_arc_max" in FreeBSD 8. -- Best Regards, Sherin From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 09:52: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 C665D106566C for ; Tue, 19 Jan 2010 09:52:16 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg1-0-0-cust385.cmbg.cable.ntl.com [82.21.105.130]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0768FC14 for ; Tue, 19 Jan 2010 09:52:15 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NXAkx-0005AD-8A for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 09:52:15 +0000 Date: Tue, 19 Jan 2010 09:52:15 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20100119095215.GJ3611@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <201001182239.20153.david@vizion2000.net> <201001190222.03539.oloringr@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001190222.03539.oloringr@gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-STABLE amd64 Sender: Daniel Bye Subject: Re: /etc/hosts.deniedssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 09:52:17 -0000 On Tue, Jan 19, 2010 at 02:22:03AM +0200, Ed Jobs wrote: > On Tuesday 19 January 2010 00:39, 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 > > > 2k entries are too much indeed. Really? wc -l /etc/hosts.deniedssh 12476 /etc/hosts.deniedssh Unless you mean specifically that a couple thousand in an hour is a lot, which I'd agree with, but wouldn't necessarily worry about it. > are you running ssh on port 22? > if yes, (and your users are ok with it) you can change it to another port. No, don't do that. Instead, consider using public key authentication and disabling password authentication. There are also various settings you can tweak to control the number of unsuccessful login attempts you are prepared to tolerate from an address in a predefined interval. sshd_config(5) will show you the way. Additionally, put all your permitted ssh users in a new group, and set the sshd config option AllowGroups. Better yet, as others have suggested, filter with a firewall - if you use pf, you can leverage your /etc/hosts.deniedssh file by using it to populate a pf table. You will need to configure DenyHosts to not resolve ip addresses, and then you can put these in /etc/pf.conf: table persist file "/etc/hosts.deniedssh" block in log quick on $ext_if from to any (Be sure to put these in suitable places. I don't have examples of using ipf or ipfw, but I'm sure they can handle it just as well.) DenyHosts provides a plugin system that allows you to run an arbitrary command upon addition or purging of an address. I use it to reload my pf table so I can be reasonably sure that the firewall's opinion of whom to block is congruent with what DenyHosts thinks. A simple `pfctl -t denyhosts -T reload -f /etc/hosts.deniedssh' should be sufficient in either case, but you can get as fancy as you like. > or maybe, temporary disable ssh login and use cron to enable it again in > some time in the future. I would recommend against this, on the grounds that there may be a real administrative need to connect to the server during this dark period. With no ssh service until cron does its thing, you have no way of getting in, which makes me far more nervous than people knocking at my ssh port... Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 09:53: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 B17D31065749 for ; Tue, 19 Jan 2010 09:53:33 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg1-0-0-cust385.cmbg.cable.ntl.com [82.21.105.130]) by mx1.freebsd.org (Postfix) with ESMTP id 716868FC08 for ; Tue, 19 Jan 2010 09:53:33 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NXAF3-000568-9k for freebsd-questions@FreeBSD.ORG; Tue, 19 Jan 2010 09:19:17 +0000 Date: Tue, 19 Jan 2010 09:19:17 +0000 From: Daniel Bye To: FreeBSD Mailing List Message-ID: <20100119091917.GI3611@catflap.slightlystrange.org> Mail-Followup-To: FreeBSD Mailing List References: <20100119052902.GA14207@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100119052902.GA14207@thought.org> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.0-STABLE amd64 Sender: Daniel Bye Cc: Subject: Re: can't build pidgin... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 09:53:33 -0000 On Mon, Jan 18, 2010 at 09:29:05PM -0800, Gary Kline wrote: > > when I do a make install clean in net-im/pidgin I constantly get rejects about > the datestamp being wrong and the file is not retrieved. any help will be > greatly appreciated. It sounds like a previous attempt to install it failed in some way, either through error or because you cancelled it. In any case, run `make distclean' in net-im/pidgin and try again. That will delete the portion of the distfile that you already have, and allow the ports system to fetch it again. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 10:05: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 A06AA106566B for ; Tue, 19 Jan 2010 10:05:50 +0000 (UTC) (envelope-from hiyorin@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 74C7C8FC18 for ; Tue, 19 Jan 2010 10:05:50 +0000 (UTC) Received: by pzk40 with SMTP id 40so52463pzk.7 for ; Tue, 19 Jan 2010 02:05:50 -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=69IvlTnukvi+tel0SOhh4YBUrYTESUaYv7CpGaFJAy4=; b=AFnTCnU1EmMWlteDozCijtTybErCMgfZGCBbiaW8f/lor2M2yBcvFYznYLyvPKHJjq yJUoophD/XieQSvH4YhJqiK5GaEppkrPcqgKIP/jJgIQma+qhwOc3gHW6gq+zCRZRtYB aaKECrnUFkBFsbQOREAW5FlNkf7spmMpdQ7p0= 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=GMdUPRUdUG5NBcRBf0VgVApG7jJ22t+AyJ6xTJvqR1Lf0kgpUwresgKb5fF7y/TJ5K Y7oRunJXhheyjta67l6LpOiwzeEfdtDvt9qfE+bbwsVDaE4mo3eBj+0J+qGiTtYi484c PMz0NZ5YSw1GeH2Jvi4TEbuiHc24z+dsLy/Zg= Received: by 10.114.30.7 with SMTP id d7mr5067845wad.30.1263893802266; Tue, 19 Jan 2010 01:36:42 -0800 (PST) Received: from ?10.130.10.181? ([202.82.159.125]) by mx.google.com with ESMTPS id 22sm4967708pzk.6.2010.01.19.01.36.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 01:36:41 -0800 (PST) Message-ID: <4B557D22.2090600@gmail.com> Date: Tue, 19 Jan 2010 17:36:34 +0800 From: "C. C. Tang" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: pf + jail 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: Tue, 19 Jan 2010 10:05:50 -0000 Hi all, May be this question is better to post on -pf or -jail but I really don't know where the problem is. So post here first. I have a FreeBSD-8.0-RELEASE-p2 box with two NICs acting as gateway using pf (with ftp-proxy enabled) in my home network configured as follow: LAN: 10.7.13.0/24 ( + tap0 10.7.14.0/24 for VPN) WAN: IP obtained from ISP. gateway: 10.7.13.254 When I played with jail, I found that fp didn't block the traffic that it should. For example, I have the following line in pf.conf: block quick proto tcp from any to any port 21 Then in the host(gateway): [host] ~> ftp ftp.mozilla.org ftp: connect: Operation not permitted In the jail: [jail1] ~> ftp ftp.mozilla.org Connected to dm-ftp01.mozilla.org. ...(welcome message) Other client on the LAN(Windows): C:\Users\test-user>ftp ftp.mozilla.org Connected to dm-ftp01.mozilla.org. Connection closed by remote host. The ftp-proxy log when windows client is connecting: #5 accepted connection from 10.7.13.1 #5 proxy cannot connect to server 63.245.208.138: Operation not permitted #5 ending session My jail's IP 10.7.13.99 which is within the subnet of LAN. Do anyone know where the problem is? It seems that the traffic from jail bypasses the pf filtering rules? The following is part of my pf.conf: =================================== ext_if="wan0" int_if="{ lan0 }" self="10.7.13.254" internal_net="{ 10.7.13.0/24, 10.7.14.0/24 }" scrub in nat pass on $ext_if from $internal_net to any -> ($ext_if) static-port # handling FTP nat-anchor "ftp-proxy/*" rdr-anchor "ftp-proxy/*" no rdr on $int_if proto tcp from $internal_net to $self port 21 rdr pass on $int_if proto tcp from $internal_net to any port 21 -> \ 127.0.0.1 port 8021 anchor "ftp-proxy/*" block quick proto tcp from any to any port 21 ============================ Thanks, C.C. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 10:31:43 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 C7B7B106566B for ; Tue, 19 Jan 2010 10:31:43 +0000 (UTC) (envelope-from hiyorin@gmail.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 8E47E8FC13 for ; Tue, 19 Jan 2010 10:31:43 +0000 (UTC) Received: by iwn7 with SMTP id 7so2716908iwn.7 for ; Tue, 19 Jan 2010 02:31:42 -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=69IvlTnukvi+tel0SOhh4YBUrYTESUaYv7CpGaFJAy4=; b=jiAEBYdPfliz5DBGYqMVh1qdWGjy3nm3NLvMJJvtCMu7f68ub+IlsN5ttbkvYSofjC dKowJzkdF+fA1uEr7p3dLJGb7o4AfHE6kKAhGv9AGyYeEmqLSBQEzYIA4OvKMbrVBdYK OVoNW6GqbckBz19vcvA+LqAODaez8uYrjSBlo= 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=CRB886eJ/TbwoD2ODsvxJT4B8dO+1kamROJE8Ac7NCWy5hJU0ZHcyKAzj4pfYS6rDz uxkmv5Upzy+cWEIkjXiUpyBT3DbVWv4podBxqPZENjRH3oWA8WMWb+vdTrchHfeNcmeN vg4TMk7g4elOv5DjDuqvqFzThJN5fRfd0lAww= Received: by 10.231.153.69 with SMTP id j5mr765973ibw.33.1263897101356; Tue, 19 Jan 2010 02:31:41 -0800 (PST) Received: from ?10.130.10.181? ([202.82.159.125]) by mx.google.com with ESMTPS id 20sm274132iwn.5.2010.01.19.02.31.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 02:31:40 -0800 (PST) Message-ID: <4B558A08.80501@gmail.com> Date: Tue, 19 Jan 2010 18:31:36 +0800 From: "C. C. Tang" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: pf + jail 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: Tue, 19 Jan 2010 10:31:43 -0000 Hi all, May be this question is better to post on -pf or -jail but I really don't know where the problem is. So post here first. I have a FreeBSD-8.0-RELEASE-p2 box with two NICs acting as gateway using pf (with ftp-proxy enabled) in my home network configured as follow: LAN: 10.7.13.0/24 ( + tap0 10.7.14.0/24 for VPN) WAN: IP obtained from ISP. gateway: 10.7.13.254 When I played with jail, I found that fp didn't block the traffic that it should. For example, I have the following line in pf.conf: block quick proto tcp from any to any port 21 Then in the host(gateway): [host] ~> ftp ftp.mozilla.org ftp: connect: Operation not permitted In the jail: [jail1] ~> ftp ftp.mozilla.org Connected to dm-ftp01.mozilla.org. ...(welcome message) Other client on the LAN(Windows): C:\Users\test-user>ftp ftp.mozilla.org Connected to dm-ftp01.mozilla.org. Connection closed by remote host. The ftp-proxy log when windows client is connecting: #5 accepted connection from 10.7.13.1 #5 proxy cannot connect to server 63.245.208.138: Operation not permitted #5 ending session My jail's IP 10.7.13.99 which is within the subnet of LAN. Do anyone know where the problem is? It seems that the traffic from jail bypasses the pf filtering rules? The following is part of my pf.conf: =================================== ext_if="wan0" int_if="{ lan0 }" self="10.7.13.254" internal_net="{ 10.7.13.0/24, 10.7.14.0/24 }" scrub in nat pass on $ext_if from $internal_net to any -> ($ext_if) static-port # handling FTP nat-anchor "ftp-proxy/*" rdr-anchor "ftp-proxy/*" no rdr on $int_if proto tcp from $internal_net to $self port 21 rdr pass on $int_if proto tcp from $internal_net to any port 21 -> \ 127.0.0.1 port 8021 anchor "ftp-proxy/*" block quick proto tcp from any to any port 21 ============================ Thanks, C.C. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 11:45: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 799ED106566B for ; Tue, 19 Jan 2010 11:45:28 +0000 (UTC) (envelope-from xkyanh@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 4A1C78FC15 for ; Tue, 19 Jan 2010 11:45:27 +0000 (UTC) Received: by pwi15 with SMTP id 15so2508680pwi.3 for ; Tue, 19 Jan 2010 03:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:organization:user-agent:x-operating-system:x-face:face :x-mailer:mime-version:content-type:content-transfer-encoding; bh=5wH4kBe++i8lp8TA71//x+LIRJrcvj4/Z8MqRA1Fl0c=; b=YuZNp5cCnhUEXhP5vtqec3yuVUur0PEjs/7JZ/13+WWhf86PnOJyvQcGs6RwO1wIqV /Fu+JJpVkgQo+YyYAFALCL9lckY0Rx5O2+WLNR8KNN16UI3goVc8c5iF9/StZdhVAitF GTE2IXFzZIf1XzBwwhhxq90FGt4Q/IVXd4E+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:organization:user-agent :x-operating-system:x-face:face:x-mailer:mime-version:content-type :content-transfer-encoding; b=JdCfG+vuq8NqhwFq1KvhG/S39RrpsXLphHI/YJyi6q+jOzEC47wem0hxvgFroE712v m3+SGoPhwauTOTQJUCtY1U6OWyBJ7F+KBSeyKDQ/E5a4lar57IHlPYy9wL/u4LGuMrEn DwD1PfRgLfISXyjENij934KP3lfwfjxXbdB0k= Received: by 10.142.5.25 with SMTP id 25mr3327832wfe.80.1263901527484; Tue, 19 Jan 2010 03:45:27 -0800 (PST) Received: from icy.localdomain ([222.253.78.193]) by mx.google.com with ESMTPS id 22sm5052602pzk.14.2010.01.19.03.45.25 (version=SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 03:45:27 -0800 (PST) Sender: "Ky Anh, Huynh" Date: Tue, 19 Jan 2010 18:45:19 +0700 From: "Anh Ky Huynh" To: freebsd-questions@freebsd.org Message-ID: <20100119184519.01f3c2c3@icy.localdomain> Organization: Vietnamese TeX Users Group User-Agent: FreeBSD X-Operating-System: FreeBSD X-Face: FreeBSD Face: FreeBSD X-Mailer: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: system slow after tuning cpu speed with sysctl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 11:45:28 -0000 Hi all, I used to change my CPU speed via sysctl: sysctl dev.cpu.0.freq=1650 I did that because that helped me to decrease the CPU temperature, and such speed was enough. This way went well and I did that after logging into the system via ssh. (I have some troubles with `powerd` so I have to use `sysctl` manually.) Yesterday, because `sysctl` often required root permission, I wrote a small script that could help to to change cpu speed via ssh ./my_script.sh 1650 => ssh toor@localhost sysctl dev.cpu.0.freq=1650 (my password goes here) Then I suddenly found that the system was very very slow after the above call, though I ran nothing (except for bash, top). Being afraid that something went wrong, I just moved to the maximum speed: ssh toor@localhost sysctl dev.cpu.0.freq=2200 but this couldn't help. (Using `dmesg` I saw a line "Device wasn't configured") Now I can't change my cpu speed anymore: If I switch from 2200 to 1925 (the next lower value), the system would be slowed down and I can't do anything (because it is very very slow). The only way is to reboot. And here is another strange thing: after the FreeBSD sends the last message of its reboot process, the system halts with black-blank screen; then I have to unplug the power supply (an external adapter), unplug the battery, wait for some seconds, plug the battery / power supply before turning the system on. I am using FreeBSD 8.0 (RELEASE) on a laptop with a custom kernel http://viettug.org/attachments/download/349/icy_kernel_20100119.txt The full output of my `sysctl dev.cpu.` /================================================================================= dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 2200 dev.cpu.0.freq_levels: 2200/15975 1925/13978 1650/11981 1375/9984 1100/5795 962/5070 825/4346 687/3621 550/2320 481/2030 412/1740 343/1450 275/1160 206/870 137/580 68/290 dev.cpu.0.cx_supported: C1/0 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% last 500us dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/0 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% last 500us \================================================================================= I doubt that there was something failed with my hardware :( Quite disappointed 'til now. Could you give me advice? Thank you for your helps, Regards, -- Anh Ky Huynh From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 13:30: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 1A1291065676 for ; Tue, 19 Jan 2010 13:30:04 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from nomoremozzie.com (nomoremozzie.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id D71788FC13 for ; Tue, 19 Jan 2010 13:30: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 o0JCuOoh005880 for ; Tue, 19 Jan 2010 05:56:28 -0700 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Tue, 19 Jan 2010 12:58:24 +0800 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001191258.25728.erichfreebsdlist@ovitrap.com> Subject: Package and Ports using PKGDIR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 13:30:04 -0000 Hi, I use a mix of ports and packages. I keep the downloaded packages stored at the machine. PKGDIR is defined. So, I use pkg_add -r --keep PackageName to download and install the package. When I then compile a port, I will not be able to install it as PKGDIR is defined and used as the directory of the current port. Basically, I get then the error message that pkg-descr cannot be ffound. I have to undefined PKGDIR to run a successful make install. Is this behaviour intenteded? Erich From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 13:56: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 963FE106566C for ; Tue, 19 Jan 2010 13:56:47 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1096A8FC08 for ; Tue, 19 Jan 2010 13:56:46 +0000 (UTC) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 07B0EEB5138; Tue, 19 Jan 2010 15:56:45 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id DF24616108A; Tue, 19 Jan 2010 15:56:45 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hs0z7MkaB-MB; Tue, 19 Jan 2010 15:56:45 +0200 (EET) Received: from kobe.laptop (ppp-94-64-234-166.home.otenet.gr [94.64.234.166]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 8A13D161085; Tue, 19 Jan 2010 15:56:45 +0200 (EET) Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id o0JDuiuO020346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jan 2010 15:56:44 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id o0JDuhBm020279; Tue, 19 Jan 2010 15:56:43 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Sherin George References: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> Date: Tue, 19 Jan 2010 15:56:42 +0200 In-Reply-To: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> (Sherin George's message of "Tue, 19 Jan 2010 14:49:15 +0530") Message-ID: <871vhm5hb9.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Setting "zfs_arc_max" value in FreeBSD 8. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 13:56:47 -0000 On Tue, 19 Jan 2010 14:49:15 +0530, Sherin George wrote: > Hello, > > I am trying to tune ZFS file system by setting "zfs_arc_max" value in > FreeBSD 8. > > In solaris, it is achieved like this > > ============================== > =================== > For example, if an application needs 5 GBytes of memory on a system with > 36-GBytes of memory, you could set the arc maximum to 30 GBytes, > (0x780000000 or 32212254720 bytes). Set the zfs:zfs_arc_max parameter in the > /etc/system file: > > set zfs:zfs_arc_max = 0x780000000 > > or > > set zfs:zfs_arc_max = 32212254720 > ================================================= > > But, I couldn't find /etc/system file in FreeBSD. > > Could some one please guide me to correctly configure "zfs_arc_max" in > FreeBSD 8. You have to use /boot/loader.conf in FreeBSD. Here's a snippet from mine, for example: # Mount the root filesystem from ZFS. vfs.root.mountfrom="zfs:kobe/bootfs" # ZFS tuning. vm.kmem_size="800M" vm.kmem_size_max="800M" vfs.zfs.arc_max="150M" vfs.zfs.vdev.cache.size="15M" vfs.zfs.prefetch_disable="1" # Autoloaded modules. zfs_load="YES" You can read more about the ZFS support of FreeBSD (including options like these) at our wiki: http://wiki.freebsd.org/ZFS http://wiki.freebsd.org/ZFSQuickStartGuide From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 13:57: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 0F34A10656A4 for ; Tue, 19 Jan 2010 13:57:50 +0000 (UTC) (envelope-from jorge@bsdchile.cl) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id E4F4D8FC29 for ; Tue, 19 Jan 2010 13:57:49 +0000 (UTC) Received: by pwi15 with SMTP id 15so2573170pwi.3 for ; Tue, 19 Jan 2010 05:57:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.62.12 with SMTP id k12mr5201107wfa.138.1263909469480; Tue, 19 Jan 2010 05:57:49 -0800 (PST) In-Reply-To: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> References: <7f14551c1001190119l62e3e38fx63b2f69036f463f3@mail.gmail.com> Date: Tue, 19 Jan 2010 10:57:49 -0300 Message-ID: <28d0e6b81001190557i36a42bc3q4e648d1348d2d178@mail.gmail.com> From: Jorge Medina To: Sherin George Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Setting "zfs_arc_max" value in FreeBSD 8. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 13:57:50 -0000 On Tue, Jan 19, 2010 at 6:19 AM, Sherin George wro= te: > Hello, > > I am trying to tune ZFS file system by setting "zfs_arc_max" value in > FreeBSD 8. > > In solaris, it is achieved like this > > =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=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > For example, if an application needs 5 GBytes of memory on a system with > 36-GBytes of memory, you could set the arc maximum to 30 GBytes, > (0x780000000 or 32212254720 bytes). Set the zfs:zfs_arc_max parameter in > the > /etc/system file: > > set zfs:zfs_arc_max =3D 0x780000000 > > or > > set zfs:zfs_arc_max =3D 32212254720 > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > But, I couldn't find /etc/system file in FreeBSD. > > Could some one please guide me to correctly configure "zfs_arc_max" in > FreeBSD 8. > > set in /etc/sysctl.conf man sysctl.conf --=20 Jorge Andr=E9s Medina Oliva. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 14:19: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 66D681065670 for ; Tue, 19 Jan 2010 14:19:16 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 38ACB8FC25 for ; Tue, 19 Jan 2010 14:19:15 +0000 (UTC) Received: from pd2ml1so-ssvc.prod.shaw.ca ([10.0.141.139]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 19 Jan 2010 06:50:50 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=vSnqyI8tvgAA:10 a=tDpkF8CQAtL7H52t/fGp9w==:17 a=FpT0RExNwLNjgEPlGO0A:9 a=ktL-Jru9ouViyXyP2fELVWnBKcUA:4 a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=c3prgxLFqYaBLKaZlwMA:9 a=Kgt1Ze1A06pfo1eS0VIo8rOBIMgA:4 Received: from unknown (HELO DaleHPLaptop) ([68.144.196.5]) by pd2ml1so-dmz.prod.shaw.ca with ESMTP; 19 Jan 2010 06:50:50 -0700 From: "Dale Scott" To: Date: Tue, 19 Jan 2010 06:50:50 -0700 Message-ID: <001301ca990e$691a8ce0$3b4fa6a0$@ca> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcqZDmi42X79dXZCS9iVBzSiWG7jdA== Content-Language: en-ca Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: setting console width when running FreeBSD in VirtualBox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 14:19:16 -0000 I have a FreeBSD production server and want to create a development-test server on my Vista laptop using a dump of the production server running in VIrtualBox. I use Putty to access my production server and can resize the console by dragging a corner of the Putty window. However, the VirtualBox console doesn't to be resizeable (i.e. has a fixed 80-column display width). The problem is when commands can't return useful information because their console output is truncated at 80 columns (e.g, "ps -faux | grep httpd" doesn't return anything and incorrectly implies apache isn't running when the reason is that the output from ps is truncated before getting to grep). Does anyone have a solution to this? I was hoping to avoid modifying the configuration of the FreeBSD VIrtualBox vm (creating differences between the production server and the dev-test server), but any solution would be better than none. Dale From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 14:43: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 71579106568D for ; Tue, 19 Jan 2010 14:43:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3003C8FC15 for ; Tue, 19 Jan 2010 14:43:42 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id 7DFA21E94C; Tue, 19 Jan 2010 15:43:41 +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 o0JEheow001553; Tue, 19 Jan 2010 15:43:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 19 Jan 2010 15:43:40 +0100 From: Polytropon To: "Dale Scott" Message-Id: <20100119154340.9d4ac185.freebsd@edvax.de> In-Reply-To: <001301ca990e$691a8ce0$3b4fa6a0$@ca> References: <001301ca990e$691a8ce0$3b4fa6a0$@ca> 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-questions@freebsd.org Subject: Re: setting console width when running FreeBSD in VirtualBox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 14:43:43 -0000 On Tue, 19 Jan 2010 06:50:50 -0700, "Dale Scott" wrote: > Does anyone have a solution to this? Yes, the obvious one: Use SSH to connect to your development-test server instead of using VirtualBox's implementation of the OS's console I/O. Of course, you can change the console's parameters using tools like vidcontrol; from its manual: mode Select a new video mode. The modes currently recognized are: 80x25, 80x30, 80x43, 80x50, 80x60, 132x25, 132x30, 132x43, 132x50, 132x60, VGA_40x25, VGA_80x25, VGA_80x30, VGA_80x50, VGA_80x60, VGA_90x25, VGA_90x30, VGA_90x43, VGA_90x50, VGA_90x60, EGA_80x25, EGA_80x43, VESA_132x25, VESA_132x43, VESA_132x50, VESA_132x60. The raster text mode VESA_800x600 can also be cho- sen. Alternatively, a mode can be specified with its number by using a mode name of the form MODE_. A list of valid mode numbers can be obtained with the -i mode option. See Video Mode Support below. Higher resolutions are possible, and VirtualBox should be able to change the dimensions of its console window to the value you set. Note that it may be needed to add a specific setting to /boot/loader.conf (e. g. VESA BIOS support). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 15:46:51 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 A57E110656A4 for ; Tue, 19 Jan 2010 15:46:51 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id C5D3F8FC2D for ; Tue, 19 Jan 2010 15:46:50 +0000 (UTC) Received: (qmail 3464 invoked by uid 89); 19 Jan 2010 15:47:19 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 19 Jan 2010 15:47:19 -0000 Message-ID: <4B55D3E3.20502@ibctech.ca> Date: Tue, 19 Jan 2010 10:46:43 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: krad References: <4B4BBB4F.5020805@ibctech.ca> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: Can't mountroot from ZFS pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 15:46:51 -0000 krad wrote: > > > 2010/1/11 Steve Bertrand > > > All, > > I've successfully upgraded the disks in my ZFS backup server, and can > import/mount the pool properly. > > However, I designed this box originally so that it mounts / from > zfs:storage after booting from a USB stick. > > After the upgrade of the disks, I'm stuck at a mountroot prompt when I > attempt to boot the system with the original USB /boot key. > > Can someone inform me how to find the / filesystem at the mountroot > prompt? If not, is there *any* way to boot the system normally from > another medium, and then 'reload' the system with the ZFS / after its > been mounted so that the system functions as designed (ie. cron > works etc)? > did you export the pool at all before rebooting it? Yes, I did. I just finally got it resolved :) It appears as though by importing the zpool onto another system obsoleted the cache file on the original USB /boot disk. I exported, then imported the pool on the secondary system, then copied the cache file into the /boot/zfs directory on my original boot medium. Things are now working again, and I have all of my new storage and original data in place! Thanks for all the help! Steve From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 15:52: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 D16111065693 for ; Tue, 19 Jan 2010 15:52:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 91CB38FC17 for ; Tue, 19 Jan 2010 15:52:21 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id EE67F1EB09; Tue, 19 Jan 2010 16:52:19 +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 o0JFqIoY002434; Tue, 19 Jan 2010 16:52:19 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 19 Jan 2010 16:52:18 +0100 From: Polytropon To: Gary Kline Message-Id: <20100119165218.0f6473e5.freebsd@edvax.de> In-Reply-To: <20100119002838.GB11545@thought.org> References: <20100118033426.GA7585@thought.org> <20100118212136.95b56398.freebsd@edvax.de> <20100119002838.GB11545@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: Tue, 19 Jan 2010 15:52:21 -0000 On Mon, 18 Jan 2010 16:28:38 -0800, Gary Kline wrote: > ps: re Subject line, I remember it let you use /bin/sh without hittin > enter or . there's no easy way of doing that in C! In one line? initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, FALSE); keypad(stdscr, TRUE); start_color(); :-) The meaning of this "init dance" is explained in the manpage of curs_inopts - "curses input options": cbreak, nocbreak, echo, noecho, halfdelay, intrflush, keypad, meta, nodelay, notimeout, raw, noraw, noqiflush, qiflush, timeout, wtimeout, typeahead The start_color() function is mentioned in "man curs_color" and is only needed if you want to use colors. For shell scripts, the use of the dialog programs is a good idea: #!/bin/sh DIALOG=${DIALOG=/usr/bin/dialog} This is some kind of "init ncurses in one line". More examples here: /usr/share/examples/dialog/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 16:18:05 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 AE9DF1065670 for ; Tue, 19 Jan 2010 16:18:05 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 6DBC88FC08 for ; Tue, 19 Jan 2010 16:18:05 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=HrH6G0RnhNcA:10 a=5oGaD+IacabtnYYqBVNCkQ==:17 a=touLaLVTiI7Du77z1xgA:9 a=8v1QSoSNronax2iGoDgA:7 a=rsUgWPg2KgayN3UqNQbLClp3vEoA:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:64271] helo=haran.polands.org) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id E3/8D-29964-C3BD55B4; Tue, 19 Jan 2010 16:18:04 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0JGI36l017307 for ; Tue, 19 Jan 2010 10:18:03 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.34 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Tue, 19 Jan 2010 10:18:03 -0600 Message-ID: Date: Tue, 19 Jan 2010 10:18:03 -0600 From: "Doug Poland" To: questions@freebsd.org 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: Subject: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 16:18:05 -0000 Hello, I'm running 7.2-RELEASE-p3 i386 and am having an issue getting a core dump from a program that is seg faulting. Last night, inexplicably, clamd started to seg fault. I was trying to obtain a core dump for further analysis but no .core file can be found. I've tried the following in a tcsh: # sysctl -a | grep core kern.corefile: %N.core kern.nodump_coredump: 0 kern.coredump: 1 kern.sugid_coredump: 0 debug.elf32_legacy_coredump: 0 # set ulimit=-c # /usr/local/sbin/clamd /usr/local/etc/clamd.conf Segmentation fault # tail /var/log/messages Jan 19 10:16:19 hostname kernel: pid 42315 (clamd), uid 106: exited on signal 11 But I get no .core file. Suggestions? -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 16:31: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 DC8CF10656E1 for ; Tue, 19 Jan 2010 16:31:24 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id A92498FC1C for ; Tue, 19 Jan 2010 16:31:24 +0000 (UTC) Received: from pd5mr1no-ssvc.prod.shaw.ca ([10.0.153.212]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 19 Jan 2010 09:31:24 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=GPDLnxSp0z8A:10 a=6I5d2MoRAAAA:8 a=o4QWuH-QGHEYgZ9NH5IA:9 a=YDYkt4ZgqBlqTEcYHGAASDVIu88A:4 a=jKRid43F7UoA:10 a=SV7veod9ZcQA:10 a=zReGD0o43m6lgmxF:21 a=dWanUYOhjDuXN4kT:21 a=IairaP18A5vUTwMBQgQA:9 a=k6QH7n_bCa_-iX9510iegp7Npz0A:4 Received: from unknown (HELO pd6ms3no.prod.shaw.ca) ([10.0.153.22]) by pd5mr1no-svcs.prod.shaw.ca with ESMTP; 19 Jan 2010 09:31:23 -0700 Received: from shaw.ca (pd6ms3no-con [10.0.145.194]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0KWI002UO5WB5J80@l-daemon> for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 09:31:23 -0700 (MST) Received: from [10.0.144.231] (Forwarded-For: [10.0.146.231]) by pd6ims2.prod.shaw.ca (mshttpd); Tue, 19 Jan 2010 09:31:23 -0700 Date: Tue, 19 Jan 2010 09:31:23 -0700 From: Dale Scott In-reply-to: <20100119154340.9d4ac185.freebsd@edvax.de> To: Polytropon Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) Content-language: en X-Accept-Language: en Priority: normal References: <001301ca990e$691a8ce0$3b4fa6a0$@ca> <20100119154340.9d4ac185.freebsd@edvax.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: setting console width when running FreeBSD in VirtualBox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 16:31:25 -0000 Doh! Thanks=2E I=27m now connected to local dev-test vm with PuTTY (like= font better than VirtualBox also)=2E I looked at vidcontrol=2C but the = obvious solution is the winner=2E -- Dale Scott Calgary=2C Canada ----- Original Message ----- From=3A Polytropon =3Cfreebsd=40edvax=2Ede=3E Date=3A Tuesday=2C January 19=2C 2010 7=3A43 Subject=3A Re=3A setting console width when running FreeBSD in VirtualBo= x To=3A Dale Scott =3Cdalescott=40shaw=2Eca=3E Cc=3A freebsd-questions=40freebsd=2Eorg =3E On Tue=2C 19 Jan 2010 06=3A50=3A50 -0700=2C =22Dale Scott=22 = =3E =3Cdalescott=40shaw=2Eca=3E wrote=3A =3E =3E Does anyone have a solution to this=3F =3E = =3E Yes=2C the obvious one=3A Use SSH to connect to your development-tes= t =3E server instead of using VirtualBox=27s implementation of the OS=27s =3E console I/O=2E =3E = =3E Of course=2C you can change the console=27s parameters using tools =3E like vidcontrol=3B from its manual=3A =3E = =3E =A0=A0=A0=A0 mode=A0=A0=A0 Select a new = =3E video mode=2E=A0 The modes currently recognized are=3A =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 80x25=2C 80x30=2C 80x43=2C 80x5= 0=2C 80x60=2C 132x25=2C 132x30=2C 132x43=2C =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 132x50=2C 132x60=2C VGA=5F40x25= =2C VGA=5F80x25=2C VGA=5F80x30=2C VGA=5F80x50=2C =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 VGA=5F80x60=2C VGA=5F90x25=2C V= GA=5F90x30=2C VGA=5F90x43=2C VGA=5F90x50=2C VGA=5F90x60=2C =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 EGA=5F80x25=2C EGA=5F80x43=2C V= ESA=5F132x25=2C VESA=5F132x43=2C VESA=5F132x50=2C =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 VESA=5F132x60=2E=A0 The raster = text mode VESA=5F800x600 can also be cho- =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 sen=2E=A0 Alternatively=2C a mo= de can be specified with its number by =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 using a mode name of the form M= ODE=5F=3CNUMBER=3E=2E=A0 A list of valid =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mode numbers can be obtained wi= th the -i mode option=2E=A0 See Video =3E =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Mode Support below=2E =3E = =3E Higher resolutions are possible=2C and VirtualBox should be able =3E to change the dimensions of its console window to the value =3E you set=2E Note that it may be needed to add a specific setting =3E to /boot/loader=2Econf (e=2E g=2E VESA BIOS support)=2E =3E = =3E = =3E = =3E -- = =3E Polytropon =3E Magdeburg=2C Germany =3E Happy FreeBSD user since 4=2E0 =3E Andra moi ennepe=2C Mousa=2C =2E=2E=2E =3E = From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 17:07:57 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 1A01C1065670 for ; Tue, 19 Jan 2010 17:07:57 +0000 (UTC) (envelope-from kraduk@googlemail.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 9E6328FC1E for ; Tue, 19 Jan 2010 17:07:56 +0000 (UTC) Received: by bwz1 with SMTP id 1so1715113bwz.13 for ; Tue, 19 Jan 2010 09:07:55 -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=JlKCedw1cNsBIzq60OckabkNYCFYyIojjANoDI4JdP8=; b=YJx/fI+Si7a7RIIyT6J58X/cautJ9gKnwqzhk/vN5rx3wuSLCCvJWyp/uMSW6yj2Sr Nq/aZcUASAR9Z0FjoVThdUfsV3uUCEA28wlLZe/a2fbGc2gNonHb1n1CX50FoZkRVpiQ sv5spMbSA9amViyHaoC+hMkvGRMV/t8MkH+fA= 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=ONMmBo3aMV4De1Mz1hBNtQVw304gEdAjDg2070pl15G8Hz+mylUu8VCULhbUGL8CFH wv2z5RJNsGW2LQb92bLbWX1s26lOhCCf1PIWXkNI/6W/hWtUc5ihkftVUVPDSxLUTqVi O/AlHJLRHBhRheuYSCB26HHhb8AnrkUBHv17U= MIME-Version: 1.0 Received: by 10.239.159.148 with SMTP id y20mr813205hbc.58.1263920875181; Tue, 19 Jan 2010 09:07:55 -0800 (PST) In-Reply-To: <4B55D3E3.20502@ibctech.ca> References: <4B4BBB4F.5020805@ibctech.ca> <4B55D3E3.20502@ibctech.ca> Date: Tue, 19 Jan 2010 17:07:55 +0000 Message-ID: From: krad To: Steve Bertrand Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "questions@freebsd.org" Subject: Re: Can't mountroot from ZFS pool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 17:07:57 -0000 2010/1/19 Steve Bertrand > krad wrote: > > > > > > 2010/1/11 Steve Bertrand > > > > > All, > > > > I've successfully upgraded the disks in my ZFS backup server, and can > > import/mount the pool properly. > > > > However, I designed this box originally so that it mounts / from > > zfs:storage after booting from a USB stick. > > > > After the upgrade of the disks, I'm stuck at a mountroot prompt when > I > > attempt to boot the system with the original USB /boot key. > > > > Can someone inform me how to find the / filesystem at the mountroot > > prompt? If not, is there *any* way to boot the system normally from > > another medium, and then 'reload' the system with the ZFS / after its > > been mounted so that the system functions as designed (ie. cron > > works etc)? > > > did you export the pool at all before rebooting it? > > Yes, I did. > > I just finally got it resolved :) > > It appears as though by importing the zpool onto another system > obsoleted the cache file on the original USB /boot disk. > > I exported, then imported the pool on the secondary system, then copied > the cache file into the /boot/zfs directory on my original boot medium. > > Things are now working again, and I have all of my new storage and > original data in place! > > Thanks for all the help! > > Steve > Its an easy mistake to make. People think exporting a pool is the same as unmounting but it isn't really, and its kind of difficult to explain why (unless ur an uber guru) One thing for sure is that the hostid of the system is stored in to the zpool somewhere as is the state of it. This also has to match the zpool.cache files details. The reason for this is probably largely to do with sun clustering, where a pool on a particular lun may be visible to many nodes in the cluster, but only one having it currently imported and the subsequent file systems mounted. Hmm, why does it always sound so clunky when I try to explain it 8/ From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 17:10:06 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 341BE106566C for ; Tue, 19 Jan 2010 17:10:06 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id B68D98FC24 for ; Tue, 19 Jan 2010 17:10:05 +0000 (UTC) Received: by fxm10 with SMTP id 10so939974fxm.14 for ; Tue, 19 Jan 2010 09:10:04 -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=GnmdYabdLEVY8YtSa6YhdV2ZkCJcYPDWN3trRUtBtRE=; b=kZxFdyj6MM2tzbEgv3xjhvafGqBjIiY2d2H3FKpuHGVZFvi7exYLU195Em5anIPU0C AFAsNtrsqJAnbUOhb7Zn6qvomJBMWeykuhhKrDraFxZ7txjeq2HL2XpiCjFAg9b2Kw86 FH0FMmtMAsCGKaUXfJtVMij8+ZIhayza7wBP8= 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=R96QshuIO6GqTZYONk4ztWjYtlVc0vNdDhLjZRBohNXl5Qs0D9c58ysRK7W40fzMaf 2ahECRL5CAq/rYnnjCxrNCuf42CpouUNYRUsPKPEIObc/eHSx0joC9inW8ZRta2ala+L /V4QtZsC3Jjc/oHq33xxzKeD3WTWlbidD6Oic= MIME-Version: 1.0 Received: by 10.239.188.201 with SMTP id q9mr828857hbh.189.1263921004602; Tue, 19 Jan 2010 09:10:04 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Jan 2010 17:10:04 +0000 Message-ID: From: krad To: Doug Poland Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 17:10:06 -0000 2010/1/19 Doug Poland > Hello, > > I'm running 7.2-RELEASE-p3 i386 and am having an issue getting a core > dump from a program that is seg faulting. > > Last night, inexplicably, clamd started to seg fault. I was trying to > obtain a core dump for further analysis but no .core file can be > found. > > I've tried the following in a tcsh: > > # sysctl -a | grep core > kern.corefile: %N.core > kern.nodump_coredump: 0 > kern.coredump: 1 > kern.sugid_coredump: 0 > debug.elf32_legacy_coredump: 0 > > # set ulimit=-c > > # /usr/local/sbin/clamd /usr/local/etc/clamd.conf > Segmentation fault > > # tail /var/log/messages > Jan 19 10:16:19 hostname kernel: pid 42315 (clamd), uid 106: exited on > signal 11 > > > But I get no .core file. Suggestions? > > > > -- > Regards, > Doug > > _______________________________________________ > 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" > set a path in the sysctl variable kern.corefile. WIll make the core file easier to find if one is generated. Generally much tider as well then having core files littered all over the system From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 17:11:27 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 D429410656AE; Tue, 19 Jan 2010 17:11:27 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id 5851C8FC1C; Tue, 19 Jan 2010 17:11:27 +0000 (UTC) Received: by ywh2 with SMTP id 2so1742622ywh.27 for ; Tue, 19 Jan 2010 09:11:26 -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:cc:content-type; bh=m8xAPoNUEf7JoC3Ekzyc+4ry8GMnGdrNKJ+AaobFWnU=; b=gy0rdU9oh1XJgffgIZSBTIZf7WTr5jmvj9iHhkumx1j04qUtCmL+GYGfzBu1f2aNHa S90DkdAKGW8ZYYFW4KbIY/nCRId6GdWOwwSKMngXisxrQBib6rV6Ygva/UFkp814JtEU Sx2BLyiFoQE5M/TZBG64x3iSHnxSwVJTgpXL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=mFFUo4OqxCv66d8StOr9omm/vwotfe3riQqjTMvZDwO7uQBWAUezn0Yh1IbqDTBXhd rjmGUcAW8e8zC8d4K9hhjIUJLDM0JoiB4nGPyaCs/PhlB6fGDguNFHYUqw8uJOTcs1OD tqoJUY8o52lu6dY+rixkBR6IWbfmjUbzvvO0Q= MIME-Version: 1.0 Received: by 10.101.44.14 with SMTP id w14mr12053734anj.139.1263921086362; Tue, 19 Jan 2010 09:11:26 -0800 (PST) Date: Tue, 19 Jan 2010 19:11:26 +0200 Message-ID: From: Dan Naumov To: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org, freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: rnoland@freebsd.org Subject: 8.0-RELEASE / gpart / GPT / marking a partition as "active" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 17:11:28 -0000 It seems that quite a few BIOSes have serious issues booting off disks using GPT partitioning when no partition present is marked as "active". See http://www.freebsd.org/cgi/query-pr.cgi?pr=115406&cat=bin for a prime example. In 8.0-RELEASE, using gpart, setting a slice as "active" in MBR partitioning mode is trivial, ie: gpart set -a active -i 1 DISKNAME However, trying to do the same thing with GPT partitioning yields no results: gpart set -a active -i 1 DISKNAME gpart: attrib 'active': Device not configured As a result of this issue, I can configure and make a succesfull install using GPT in 8.0, but I cannot boot off it using my Intel D945GCLF2 board. I have found this discussion from about a month ago: http://www.mail-archive.com/freebsd-stable@freebsd.org/msg106918.html where Robert mentions that "gpart set -a active -i 1" is no longer needed in 8-STABLE, because the pmbr will be marked as active during the installation of the bootcode. Is there anything I can do to archieve the same result in 8.0-RELEASE or is installing from a snapshop of 8-STABLE my only option? Thanks. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 17:39:22 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 0F5A8106566B for ; Tue, 19 Jan 2010 17:39:22 +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 DF0FC8FC0A for ; Tue, 19 Jan 2010 17:39:21 +0000 (UTC) Received: by pwi15 with SMTP id 15so2725033pwi.3 for ; Tue, 19 Jan 2010 09:39:21 -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=YeGIC8ferDHtWmQljyPPKsgLqD8iUl0+Gc4xEwBLgyQ=; b=QR04icaGTCv2SSAthod48yLp4u5BVZ4VHdSmqbLGYh5mMnsX9/0WDVV+dLps2VNKLi 2aeMxN3bQXFDo8BQmB5My3eGcgwm1fEnldCpSZncfwBevQ/179p3/et+N/L8gxCYNd+L XhIZJ4T3lPj0aqWUdavcmpE4ZfmRBwmWYmsEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kYdK65sBl/j9aXtFVzptYuxoPPPgmJQNdGdAx5FS/O7L7fzh+sV4rZqHWkX3Fg9vSC D7Op+FoxSZ7Qj7Gab+J2WkY7A9AtUMyPrc1v+ibbK01EsxVA78RDQh0YjMGhvUceKIDL 6kLs45lMIcicu7k+qSicwDsv/08gCJhOgHrkM= MIME-Version: 1.0 Received: by 10.142.3.41 with SMTP id 41mr2623079wfc.295.1263922761385; Tue, 19 Jan 2010 09:39:21 -0800 (PST) Date: Tue, 19 Jan 2010 09:39:21 -0800 Message-ID: From: Diego Montalvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Link to File for JDK16 tzupdater-1_3_21-2009p.zip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 17:39:22 -0000 Been trying to install /usr/ports/java/jdk16 and get an error stating need to place "tzupdater-1_3_21-2009p.zip" into /usr/ports/distfiles... have gone to sun and file is no longer there, and have searched internet for it but to no avail. Does someone have link where I can download the file? or can someone email me the file? Thanks, Diego From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 18:04:49 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 D7D65106566B for ; Tue, 19 Jan 2010 18:04:49 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id 9317A8FC1E for ; Tue, 19 Jan 2010 18:04:49 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=5-nTKeNrujAA:10 a=5oGaD+IacabtnYYqBVNCkQ==:17 a=bqq2Vc5EAAAA:8 a=IGkXOhHEkC3f-aTOKB4A:9 a=yMozf9CqEnU5_LQStcJc6KmZbP0A:4 a=5ERLOmoKdHQA:10 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:60488] helo=haran.polands.org) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id C5/44-05903-044F55B4; Tue, 19 Jan 2010 18:04:48 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0JI4keq017687; Tue, 19 Jan 2010 12:04:47 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.34 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Tue, 19 Jan 2010 12:04:47 -0600 Message-ID: In-Reply-To: References: Date: Tue, 19 Jan 2010 12:04:47 -0600 From: "Doug Poland" To: "krad" 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: questions@freebsd.org Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 18:04:49 -0000 On Tue, January 19, 2010 11:10, krad wrote: > 2010/1/19 Doug Poland > >> Hello, >> >> I'm running 7.2-RELEASE-p3 i386 and am having an issue getting a >> core dump from a program that is seg faulting. >> > > set a path in the sysctl variable kern.corefile. WIll make the core > file easier to find if one is generated. Generally much tider as well > then having core files littered all over the system > No joy. # sysctl kern.corefile=/var/crash/clamd.core # /usr/local/etc/rc.d/clamav-clamd start Starting clamav_clamd. Segmentation fault # ll /var/crash total 2 -rw-r--r-- 1 root wheel 5 Apr 10 2005 minfree -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 18:08: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 D5A4B1065670 for ; Tue, 19 Jan 2010 18:08:21 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 90B658FC1C for ; Tue, 19 Jan 2010 18:08:21 +0000 (UTC) Received: by qyk4 with SMTP id 4so2469588qyk.7 for ; Tue, 19 Jan 2010 10:08:20 -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=9jcIzP5Kl4yrHR/ixtlceBF+YigGd/UPsEJ6/46E6AE=; b=XrGZq9p2n1OyxBPMRAEPAJPLsIpH/RzQchyJySMdsJrR8CJmP3W3d2LdmgH5x6soJM qgbgyYvDTeNMB6xXFdbE3lm3PQ4IwXM78ImDU5ZyI3QwDAMy8Inrck+Gvwuhj5G0vnJZ DzFJ8Bh3UFBCK+YSFRH983gROXupiDZK5n++Y= 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=LBj/wZCRG6K7CoYFg+NmFYjbrFDvQ82Ze669Oe7dGMM0KxI426HFXikwrXiooMIFum 7x4G/KsNzx7T/Pi6lIht9rXzNpbQqrw+ouiVp7ZYP26r5T/KHJeslX3jAYHg9l58aZsG Y2hJbP+r61frc22jc8ZBUOORXt/owdSq4nED8= MIME-Version: 1.0 Received: by 10.229.127.132 with SMTP id g4mr5129986qcs.58.1263924498987; Tue, 19 Jan 2010 10:08:18 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Jan 2010 10:08:18 -0800 Message-ID: <560f92641001191008ueed3737ga5348ed6cf3d2426@mail.gmail.com> From: Nerius Landys To: Diego Montalvo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 18:08:21 -0000 > Been trying to install /usr/ports/java/jdk16 and get an error stating > need to place "tzupdater-1_3_21-2009p.zip" into > /usr/ports/distfiles... have gone to sun and file is no longer there, > and have searched internet for it but to no avail. > > Does someone have link where I can download the file? or can someone > email me the file? Here is a temporary link to the file. This link will stay for only a couple of weeks at most. http://daffy.nerius.com/temp/tzupdater-1_3_21-2009p.zip From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 18:25:22 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 1FF3810656BA for ; Tue, 19 Jan 2010 18:25:22 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from outbound-mail-158.bluehost.com (outbound-mail-158.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id CE2338FC14 for ; Tue, 19 Jan 2010 18:25:21 +0000 (UTC) Received: (qmail 19283 invoked by uid 0); 19 Jan 2010 17:48:27 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by outboundproxy5.bluehost.com with SMTP; 19 Jan 2010 17:48:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Identified-User; b=ZNjfvWmj0Ard3MEdnODvujWgUMGfhrSK81P3GCAs0xANIsLV/c8+7X+D7cxLaKMAOB9hxWHhdgIilMeLFuKJageNB0GyCNlEtnu/4kzT71WuhkuGu0fkkRfLpoD3RiEN; Received: from r190-132-218-164.dialup.adsl.anteldata.net.uy ([190.132.218.164] helo=[192.168.0.61]) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1NXIBl-0007XV-8Y; Tue, 19 Jan 2010 10:48:27 -0700 From: Rodrigo Gonzalez To: Diego Montalvo In-Reply-To: References: Date: Tue, 19 Jan 2010 15:48:12 -0200 Message-ID: <1263923292.2002.3.camel@rgonzale-laptop> Mime-Version: 1.0 X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.132.218.164 authed with rjgonzale@estrads.com.ar} Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 18:25:22 -0000 http://ftp.play.ufanet.ru/post/distfiles/ On Tue, 2010-01-19 at 09:39 -0800, Diego Montalvo wrote: > tzupdater-1_3_21-2009p.zip From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 18:29: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 2A91A106568B for ; Tue, 19 Jan 2010 18:29:10 +0000 (UTC) (envelope-from prvs=6288801d7=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id F11B38FC1B for ; Tue, 19 Jan 2010 18:29:09 +0000 (UTC) X-Group: SUSPECTLIST_NO_SBRS X-IronPort-AV: E=Sophos;i="4.49,305,1262584800"; d="scan'208";a="25621067" Received: from zxtm01.utdallas.edu (HELO utd65257.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Jan 2010 12:18:18 -0600 Date: Tue, 19 Jan 2010 12:18:17 -0600 From: Paul Schmehl To: Diego Montalvo , freebsd-questions@freebsd.org Message-ID: In-Reply-To: References: X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 18:29:10 -0000 --On Tuesday, January 19, 2010 11:39:21 -0600 Diego Montalvo wrote: > > Been trying to install /usr/ports/java/jdk16 and get an error stating > need to place "tzupdater-1_3_21-2009p.zip" into > /usr/ports/distfiles... have gone to sun and file is no longer there, > and have searched internet for it but to no avail. > > Does someone have link where I can download the file? or can someone > email me the file? > > Thanks, > Diego > _______________________________________________ > 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" http://java.sun.com/javase/downloads/index.jsp#timezone -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 18:35:14 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 A65651065696 for ; Tue, 19 Jan 2010 18:35:14 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF288FC1D for ; Tue, 19 Jan 2010 18:35:14 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWI00EVNBMDZU60@asmtp027.mac.com> for questions@freebsd.org; Tue, 19 Jan 2010 10:35:02 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001190145 From: Chuck Swiger X-Priority: 3 (Normal) In-reply-to: Date: Tue, 19 Jan 2010 10:35:00 -0800 Message-id: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> References: To: Doug Poland X-Mailer: Apple Mail (2.1077) Cc: questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 18:35:14 -0000 Hi-- On Jan 19, 2010, at 10:04 AM, Doug Poland wrote: > No joy. > > # sysctl kern.corefile=/var/crash/clamd.core > # /usr/local/etc/rc.d/clamav-clamd start > Starting clamav_clamd. > Segmentation fault > # ll /var/crash > total 2 > -rw-r--r-- 1 root wheel 5 Apr 10 2005 minfree Please see "man 5 core"; in particular, clamd changes userid: By default, a process that changes user or group credentials whether real or effective will not create a corefile. This behaviour can be changed to generate a core dump by setting the sysctl(8) variable kern.sugid_coredump to 1. ...so you will need to toggle that sysctl also. I'd suggest doing something more like: mkdir /cores chmod 1777 /cores sysctl kern.sugid_coredump=1 sysctl kern.corefile=/cores/%N.%P.core ...but adjust the path to be under /var or /usr if free diskspace makes doing so necessary. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 18:41: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 90823106566B for ; Tue, 19 Jan 2010 18:41:21 +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 4B9A28FC17 for ; Tue, 19 Jan 2010 18:41:20 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0JIfKv6069812; Tue, 19 Jan 2010 11:41:20 -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 o0JIfKXd069809; Tue, 19 Jan 2010 11:41:20 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 19 Jan 2010 11:41:20 -0700 (MST) From: Warren Block To: Diego Montalvo In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 19 Jan 2010 11:41:20 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 18:41:21 -0000 On Tue, 19 Jan 2010, Diego Montalvo wrote: > Been trying to install /usr/ports/java/jdk16 and get an error stating > need to place "tzupdater-1_3_21-2009p.zip" into > /usr/ports/distfiles... have gone to sun and file is no longer there, > and have searched internet for it but to no avail. > > Does someone have link where I can download the file? or can someone > email me the file? You can use 'make config' in the port to disable the need for that file entirely. I don't know what the down side is to that. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 19:01: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 D3C5F10656A3 for ; Tue, 19 Jan 2010 19:01:01 +0000 (UTC) (envelope-from andyjhiscock@yahoo.com) Received: from web26108.mail.ukl.yahoo.com (web26108.mail.ukl.yahoo.com [217.146.182.149]) by mx1.freebsd.org (Postfix) with SMTP id 44DF38FC26 for ; Tue, 19 Jan 2010 19:01:00 +0000 (UTC) Received: (qmail 14922 invoked by uid 60001); 19 Jan 2010 18:34:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263926059; bh=kV4O6NhwwpIwtoiAu5KVkfY27V85C5lawsHEgMmPzs0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=WTNzsGopDZI7bv26j+XMCC4pfKhRlQeFfMTr4y91ibCbKWBuu4czv6MCmlMUmgLFBGWMQmZ6SjDvd22QdiEcx8R+/w+w7+kOQu8TPwhA35xJiqYRamdz440aIZfYWCMw9GrEmYVJan6rvpe1hFscMDdXtocMXCIMFCEV614zwOA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Ebiq0QVxT/ca//2/idKSmXSwfXMvcryH8aJNV6LUOwNFMQIEEj4zZhoPAX0CeRV8j9YIFRTvBbAdWYws80MBVQGpCRg+wipxHxxTkXGTUhClqF62qrEZkqB7too498NTn4veh90HmJt5FgYShm3PxIBt6H+B9WqTdC3oXEi1bBA=; Message-ID: <820969.13757.qm@web26108.mail.ukl.yahoo.com> X-YMail-OSG: wDusNiMVM1kVzsPjgTn2HOb2EB_G7a.6mgyiZnB4rtAgR663T.ufcicHGT9TXfo9O6wWBUy4m.P6nwWX5M9CEDtgvl2UmJfxQwQrCKCtj7CGYWTrNR7Jsut5geOsrU3lPVhVfzVS4H1HKk2iu6LyIc0i7ieNoAw4FMNIg90aj6xhN7rEFNMzzIcaM2JsQQOMP72BvGx4kLoQnTvwQlduD_wxLKGaG3BcMFrz19nxe8CA.rL4J0ZuEuuZta83we57mizO9ElYNNYbooyauPYVZHBqvy1vYXU- Received: from [86.28.230.6] by web26108.mail.ukl.yahoo.com via HTTP; Tue, 19 Jan 2010 18:34:19 GMT X-Mailer: YahooMailRC/272.7 YahooMailWebService/0.8.100.260964 Date: Tue, 19 Jan 2010 18:34:19 +0000 (GMT) From: Andy Hiscock To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 8.0-RELEASE Hanging on boot-up/Harvesting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 19:01:01 -0000 Thought Id give Version 8.0-RELEASE A go on a server Im building for someon= e. All went well except when it comes to boot-up. Works though the conf= ig until it gets to some sort of networking routine/initiating. The line s= aid something about "Harvesting ppp/Ethernet"?=0A=0AHas anyone come across = this problem/is there a work around? I've tried turning things like power = management and Loading BIOS default settings.=0A=0AMachine Im using it on i= s an Celeron 800 - Old but tends to be reliable ;)=0A=0ASorry I haven't got= the error exact error.=0A=0AAndy=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 19:05:09 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 1FECA106566B for ; Tue, 19 Jan 2010 19:05:09 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9F88FC12 for ; Tue, 19 Jan 2010 19:05:07 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA28706; Tue, 19 Jan 2010 20:51:49 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B55FF44.4040308@icyb.net.ua> Date: Tue, 19 Jan 2010 20:51:48 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Dan Naumov References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org, rnoland@freebsd.org, freebsd-geom@freebsd.org Subject: Re: 8.0-RELEASE / gpart / GPT / marking a partition as "active" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 19:05:09 -0000 on 19/01/2010 19:11 Dan Naumov said the following: > I have found this discussion from about a month ago: > http://www.mail-archive.com/freebsd-stable@freebsd.org/msg106918.html > where Robert mentions that "gpart set -a active -i 1" is no longer > needed in 8-STABLE, because the pmbr will be marked as active during It was never ever "needed", because it never worked. > the installation of the bootcode. Is there anything I can do to > archieve the same result in 8.0-RELEASE or is installing from a > snapshop of 8-STABLE my only option? People did it using fdisk -a, google should have turned that up. -- Andriy Gapon From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 19:09: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 28F86106566C for ; Tue, 19 Jan 2010 19:09:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id DD1988FC12 for ; Tue, 19 Jan 2010 19:09:27 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id 5B2741E5D7; Tue, 19 Jan 2010 20:09:25 +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 o0JJ9OnG003866; Tue, 19 Jan 2010 20:09:24 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 19 Jan 2010 20:09:24 +0100 From: Polytropon To: Andy Hiscock Message-Id: <20100119200924.d685654b.freebsd@edvax.de> In-Reply-To: <820969.13757.qm@web26108.mail.ukl.yahoo.com> References: <820969.13757.qm@web26108.mail.ukl.yahoo.com> 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-questions@freebsd.org Subject: Re: 8.0-RELEASE Hanging on boot-up/Harvesting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 19:09:28 -0000 On Tue, 19 Jan 2010 18:34:19 +0000 (GMT), Andy Hiscock wrote: > All went well except when it comes to boot-up. Works though the > config until it gets to some sort of networking routine/initiating. > The line said something about "Harvesting ppp/Ethernet"? This looks like the entropy line. And it sounds familiar to me. I remember that I saw this with an older version (maybe 5) of FreeBSD, but I can't remember what I did to resolve the problem... maybe it had something to do with defective hardware (NIC)..? > Has anyone come across this problem/is there a work around? > I've tried turning things like power management and Loading BIOS > default settings. Try to extract or disable the NIC - just a wild guess, nothing coming from an educated background! :-) >From a more educated background, maybe this is interesting for you: The rc.conf file may contain settings to control the entropy harvesting; from defaults/rc.conf: entropy_file="/entropy" # Set to NO to disable caching entropy through reboots. # /var/db/entropy-file is preferred if / is not avail. entropy_dir="/var/db/entropy" # Set to NO to disable caching entropy via cron. entropy_save_sz="2048" # Size of the entropy cache files. entropy_save_num="8" # Number of entropy cache files to save. harvest_interrupt="YES" # Entropy device harvests interrupt randomness harvest_ethernet="YES" # Entropy device harvests ethernet randomness harvest_p_to_p="YES" # Entropy device harvests point-to-point randomness The rc.d/initrandom, rc.d/random and rc.d/sshd scripts also participate in the entropy process. Maybe you can check if they require some resources that are not available at boot time... again, this is a quite uneducated guess. :-) > Machine Im using it on is an Celeron 800 - Old but tends to > be reliable ;) Don't mind - completely fine for a server. > Sorry I haven't got the error exact error. As I said, it seems that it's about the entropy harvesting. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 19:38: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 4414B106568F for ; Tue, 19 Jan 2010 19:38:37 +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 1B0B28FC22 for ; Tue, 19 Jan 2010 19:38:36 +0000 (UTC) Received: by pwi15 with SMTP id 15so2808321pwi.3 for ; Tue, 19 Jan 2010 11:38:36 -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=aaeCNnOUDKO5pujpazM2x3KOwr+YQckBwnXWzQqJwc8=; b=WL4OX/yff8MxuTuc9Mss/9z608WxhQY9SJqPVP0bahSxeUbhRE0T0yYmCuiyObYbvi HRX2UWocdXoW3E8j2PzEXMBEBaHZ/6AobJ3v79FAciKQ0tFFQGzPPykGzIe109+yIIFY Saw+qsecKCA3lQMV+lMZP1xu1tVqA1V9DxGN0= 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=V5ymErbEiWeFXpWI+0ijsBOOtslPKUd2rRs86dNLK+obSncLbIZLgtJSomRUJcVtZk iR43oH8FMxH9022ShIEHDq5evL4sQ290o3nCki7CPOax/IguB0OgrQJkxBL+WAyqRToz pY8Tl6hPKTpmUX+FlUVStYF9/8YQXH5IstF2c= MIME-Version: 1.0 Received: by 10.142.121.12 with SMTP id t12mr1928383wfc.286.1263929916523; Tue, 19 Jan 2010 11:38:36 -0800 (PST) In-Reply-To: <4B560738.9060802@cox.net> References: <4B560738.9060802@cox.net> Date: Tue, 19 Jan 2010 11:38:36 -0800 Message-ID: From: Diego Montalvo To: Darrell D Rajala Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 19:38:37 -0000 Thank you all so much for the links and files. I got jdk16 installed correctly "hopefully"! 2010/1/19 Darrell D Rajala : > Diego Montalvo wrote: >> >> Been trying to install /usr/ports/java/jdk16 and get an error stating >> need to place "tzupdater-1_3_21-2009p.zip" into >> /usr/ports/distfiles... have gone to sun and file is no longer there, >> and have searched internet for it but to no avail. >> >> Does someone have link where I can download the file? or can someone >> email me the file? >> >> Thanks, >> Diego >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > > From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 19:45: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 B5FB61065670 for ; Tue, 19 Jan 2010 19:45:15 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 687888FC1B for ; Tue, 19 Jan 2010 19:45:15 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA026B435F for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 20:45:13 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtBCAIuaVUtV4js3PGdsb2JhbACBRoZwkz4BAQEBN7w2hDME X-IronPort-AV: E=Sophos;i="4.49,305,1262559600"; d="scan'208";a="27787105" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb2.telenor.se with ESMTP; 19 Jan 2010 20:45:13 +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 o0JJjCrf048370; Tue, 19 Jan 2010 20:45:12 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B560BC8.4010909@pp.dyndns.biz> Date: Tue, 19 Jan 2010 20:45:12 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: Emil Mikulic , FreeBSD Questions References: <4B54C100.9080906@mail.zedat.fu-berlin.de> <4B54C5EE.5070305@pp.dyndns.biz> <201001191250.23625.doconnor@gsoft.com.au> <7346c5c61001181841j3653a7c3m32bc033c8c146a92@mail.gmail.com> <20100119091641.cc59f03f.gerrit@pmp.uni-hannover.de> <20100119142052.GA77230@dmr.ath.cx> <4B55D092.30509@pp.dyndns.biz> <20100119165633.GA78384@dmr.ath.cx> In-Reply-To: <20100119165633.GA78384@dmr.ath.cx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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: Tue, 19 Jan 2010 19:45:15 -0000 Emil Mikulic wrote: > (off-list) > > On Tue, Jan 19, 2010 at 04:32:34PM +0100, Morgan Wesstr?m wrote: >> Emil Mikulic wrote: >>> On Tue, Jan 19, 2010 at 09:16:41AM +0100, Gerrit K?hn wrote: >>>> Thanks for bringing up this topic here. I have drives showing up close to >>>> 800000 load cycle counts here. Guess it's time for that fix... :-| >>> Device Model: WDC WD10EACS-00ZJB0 >>> Firmware Version: 01.01B01 >>> Serial Number: WD-WCASxxxxxxxx >>> [...] >>> 9 Power_On_Hours 17046 >>> 193 Load_Cycle_Count 1045512 >>> >>> The above drive is in a raidz of three. >>> The other two drives from that batch have already failed. :( >> Did you RMA the failing drives? Did WD comment the Load_Cycle_Count? > > No. But apparently they're still under warranty, so maybe I'll give > that a shot and let you know in ~3 weeks or so. :) > Thanks. I'd be really interested to know whether they'll make any comments regarding that value or if they simply ignore it. /Morgan From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 20:33: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 3FDF9106566B for ; Tue, 19 Jan 2010 20:33:31 +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 ECEA48FC20 for ; Tue, 19 Jan 2010 20:33:30 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C0027A7195 for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 21:33:29 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArY6AESmVUtV4js3PGdsb2JhbACBRoZwkz4BAQEBN7xmhDME X-IronPort-AV: E=Sophos;i="4.49,305,1262559600"; d="scan'208";a="27797451" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb2.telenor.se with ESMTP; 19 Jan 2010 21:33:29 +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 o0JKXSIA049311 for ; Tue, 19 Jan 2010 21:33:28 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B561717.9090309@pp.dyndns.biz> Date: Tue, 19 Jan 2010 21:33:27 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 20:33:31 -0000 I obviously did something wrong somewhere but I can't figure out what. All console device nodes /dev/ttyv0 - /dev/ttyvf are missing after I upgraded a machine from 7.0 to 7.2. The serial console node /dev/ttyd0 is there though if that rings a bell. What controls the creation of the console device nodes? Any hints on what I should check? I did deactivate unneeded SCSI-drivers and the like in the GENERIC kernel but the tty related stuff is still there, like: options COMPAT_43TTY # BSD 4.3 TTY compat device sc /Morgan From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 20:48: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 908E41065670 for ; Tue, 19 Jan 2010 20:48:04 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 47C638FC12 for ; Tue, 19 Jan 2010 20:48:03 +0000 (UTC) Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA026B8E01 for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 21:48:02 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArY6AMepVUtV4js3PGdsb2JhbACBRoZwkz4BAQEBN70ThDME X-IronPort-AV: E=Sophos;i="4.49,306,1262559600"; d="scan'208";a="27800611" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb2.telenor.se with ESMTP; 19 Jan 2010 21:48:02 +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 o0JKm1Hn049632 for ; Tue, 19 Jan 2010 21:48:02 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B561A81.6010400@pp.dyndns.biz> Date: Tue, 19 Jan 2010 21:48:01 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: FreeBSD Questions References: <4B561717.9090309@pp.dyndns.biz> In-Reply-To: <4B561717.9090309@pp.dyndns.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 20:48:04 -0000 Morgan Wesström wrote: > I obviously did something wrong somewhere but I can't figure out what. > All console device nodes /dev/ttyv0 - /dev/ttyvf are missing after I > upgraded a machine from 7.0 to 7.2. The serial console node /dev/ttyd0 > is there though if that rings a bell. What controls the creation of the > console device nodes? Any hints on what I should check? I did deactivate > unneeded SCSI-drivers and the like in the GENERIC kernel but the tty > related stuff is still there, like: > > options COMPAT_43TTY # BSD 4.3 TTY compat > device sc > I'm also missing /dev/consolectl I've read man syscons and all the prerequisites there are present in the kernel: device atkbdc device atkbd device vga device sc device splash And also these in /boot/device.hints: hint.atkbdc.0.at="isa" hint.atkbdc.0.port="0x060" hint.atkbd.0.at="atkbdc" hint.atkbd.0.irq="1" hint.vga.0.at="isa" hint.sc.0.at="isa" Where should I look next? /Morgan From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 21:15:26 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 3FE0D106568B for ; Tue, 19 Jan 2010 21:15:26 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id EB38A8FC1C for ; Tue, 19 Jan 2010 21:15:25 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC027DE662 for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 22:15:24 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArY6AN+vVUtV4js3PGdsb2JhbACBRoZwkz4BAQEBN71IhDME X-IronPort-AV: E=Sophos;i="4.49,306,1262559600"; d="scan'208";a="27811941" 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; 19 Jan 2010 22:15:24 +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 o0JLFLRD050217 for ; Tue, 19 Jan 2010 22:15:22 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B5620E9.6040902@pp.dyndns.biz> Date: Tue, 19 Jan 2010 22:15:21 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: FreeBSD Questions References: <4B561717.9090309@pp.dyndns.biz> <4B561A81.6010400@pp.dyndns.biz> In-Reply-To: <4B561A81.6010400@pp.dyndns.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 21:15:26 -0000 Morgan Wesström wrote: > Morgan Wesström wrote: >> I obviously did something wrong somewhere but I can't figure out what. >> All console device nodes /dev/ttyv0 - /dev/ttyvf are missing after I >> upgraded a machine from 7.0 to 7.2. The serial console node /dev/ttyd0 >> is there though if that rings a bell. What controls the creation of the >> console device nodes? Any hints on what I should check? I did deactivate >> unneeded SCSI-drivers and the like in the GENERIC kernel but the tty >> related stuff is still there, like: >> >> options COMPAT_43TTY # BSD 4.3 TTY compat >> device sc >> > > I'm also missing /dev/consolectl > These dmesg lines are from another 7.2 machine and I am missing them from the output of this newly upgraded machine: sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Both devices are in the kernel. What could prevent them from binding? /Morgan From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 21:09: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 63B6D106566C; Tue, 19 Jan 2010 21:09:11 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id 89F668FC15; Tue, 19 Jan 2010 21:09:10 +0000 (UTC) Received: by ywh2 with SMTP id 2so1986552ywh.27 for ; Tue, 19 Jan 2010 13:09:10 -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=NQEgV5NARJzpbaq9Uooon9S7qJyclIgxOnbfJP3IpMs=; b=F8WCyt3oK8dZ8wbfI4HZ8ZdFGhgwN+qD+17LHZZdDAA+I25948AYsOsVff/2TRpcpd LxaiOvV0Kc1tbsFZOWwUEmrB8EAnUfc5F5IwdrR9HrXUy9tDTBmdfD3tDM7r/UuIrqlq k1ltgbQhDzgJ8scou3E9b0Hjo4T3k9ufjmMSM= 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=LubdlYVCncBjC82b2WVd58pw9mnGJFfHSeX2WrVPx4jb2GMxD0sEEHEZSGoqxlqz11 X/IUeItsN7v1ZGQv5h9rnlYYAN9fGkuRCh9+4LDMx/ht3r/i0nmVj94TRt02YJhoi4NB 4edXJ9/ThbcKtb14OLk5OAI8FnSz0pz0XiWeQ= MIME-Version: 1.0 Received: by 10.101.3.18 with SMTP id f18mr12157921ani.180.1263935349705; Tue, 19 Jan 2010 13:09:09 -0800 (PST) In-Reply-To: <4B55FF44.4040308@icyb.net.ua> References: <4B55FF44.4040308@icyb.net.ua> Date: Tue, 19 Jan 2010 23:09:09 +0200 Message-ID: From: Dan Naumov To: Andriy Gapon , mandrews@bit0.com Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Tue, 19 Jan 2010 21:15:46 +0000 Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org, rnoland@freebsd.org, freebsd-geom@freebsd.org Subject: Re: 8.0-RELEASE / gpart / GPT / marking a partition as "active" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 21:09:11 -0000 On 1/19/2010 12:11 PM, Dan Naumov wrote: > It seems that quite a few BIOSes have serious issues booting off disks > using GPT partitioning when no partition present is marked as > "active". See http://www.freebsd.org/cgi/query-pr.cgi?pr=115406&cat=bin > for a prime example. > > In 8.0-RELEASE, using gpart, setting a slice as "active" in MBR > partitioning mode is trivial, ie: > > gpart set -a active -i 1 DISKNAME > > However, trying to do the same thing with GPT partitioning yields no results: > > gpart set -a active -i 1 DISKNAME > gpart: attrib 'active': Device not configured > > As a result of this issue, I can configure and make a succesfull > install using GPT in 8.0, but I cannot boot off it using my Intel > D945GCLF2 board. > > I have found this discussion from about a month ago: > http://www.mail-archive.com/freebsd-stable@freebsd.org/msg106918.html > where Robert mentions that "gpart set -a active -i 1" is no longer > needed in 8-STABLE, because the pmbr will be marked as active during > the installation of the bootcode. Is there anything I can do to > archieve the same result in 8.0-RELEASE or is installing from a > snapshop of 8-STABLE my only option? > After using gpart to create the GPT (and thus the PMBR and its > bootcode), why not simply use "fdisk -a -1 DISKNAME" to set the PMBR > partition active? According to the fdisk output, the partition flag did change from 0 to 80. Can the "fdisk: Class not found" error showing up at the very end of the procedure of doing "fdisk -a -1 DISKNAME" be safely ignored? - Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 21: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 75E621065692 for ; Tue, 19 Jan 2010 21:21:10 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 064B88FC1D for ; Tue, 19 Jan 2010 21:21:09 +0000 (UTC) Received: by fxm10 with SMTP id 10so1215619fxm.14 for ; Tue, 19 Jan 2010 13:21:09 -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=ZFsrqCLWvbKGVNH7UJvk9rDq4PI2yiI6DA9HdixJ7bY=; b=ozmYYy3aD/0fB5TSZ1Oph85oOuwri8yBmXPVTU8RhIHqrX53WmTUG7p2RhI3FQ+WBN HxIs7rhEQcfB8ax3NfKqiATtwxWj3ng5RxT7b0tw12g4Mmg/0auIiIPP2UCipzGcIKXo 9511BXxlzvbvij2co6TaURRO/GOrl/Vuvkd18= 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=WCFc8FdBvRfGTph4djDtEbQ35nefe8etQmZ3/VFcjb7tuN79nPD0I6ONmRi1U5P5xp tySKmfdcWy/3Nth56zUEU6lL6hFPo9DnNLhFs3CGDfVN9E1HZahHcNDMLoCzZX98zo5V Rnn5lyfgYoogvMQdz1Fm/m+O9Y6W7c6Jz8LDQ= Received: by 10.223.77.91 with SMTP id f27mr9791817fak.60.1263936068962; Tue, 19 Jan 2010 13:21:08 -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 9sm4114961fks.22.2010.01.19.13.21.07 (version=SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 13:21:08 -0800 (PST) Date: Tue, 19 Jan 2010 21:21:06 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100119212106.0c9438a3@gumby.homeunix.com> In-Reply-To: <820969.13757.qm@web26108.mail.ukl.yahoo.com> References: <820969.13757.qm@web26108.mail.ukl.yahoo.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: 8.0-RELEASE Hanging on boot-up/Harvesting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 21:21:10 -0000 On Tue, 19 Jan 2010 18:34:19 +0000 (GMT) Andy Hiscock wrote: > Thought Id give Version 8.0-RELEASE A go on a server Im building for > someone. All went well except when it comes to boot-up. Works > though the config until it gets to some sort of networking > routine/initiating. The line said something about "Harvesting > ppp/Ethernet"? I think that's probably a red-herring - if the line ends with quickstart you can rule it out. Commonly that initrandom output is last line to display before fsck runs, the actual sequence is: /etc/rc.d/initrandom /etc/rc.d/geli /etc/rc.d/gbde /etc/rc.d/encswap /etc/rc.d/ccd /etc/rc.d/swap1 /etc/rc.d/fsck my guess is that it's hanging on fsck or possibly swap1. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 21:23: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 91D821065672; Tue, 19 Jan 2010 21:23:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 344E08FC0C; Tue, 19 Jan 2010 21:23:38 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA06871; Tue, 19 Jan 2010 23:23:33 +0200 (EET) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1NXLXx-000IVb-Ak; Tue, 19 Jan 2010 23:23:33 +0200 Message-ID: <4B5622D4.2070602@icyb.net.ua> Date: Tue, 19 Jan 2010 23:23:32 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091128) MIME-Version: 1.0 To: Dan Naumov References: <4B55FF44.4040308@icyb.net.ua> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 19 Jan 2010 21:51:56 +0000 Cc: FreeBSD-STABLE Mailing List , mandrews@bit0.com, freebsd-questions@freebsd.org, rnoland@freebsd.org, freebsd-geom@freebsd.org Subject: Re: 8.0-RELEASE / gpart / GPT / marking a partition as "active" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 21:23:40 -0000 on 19/01/2010 23:09 Dan Naumov said the following: >> After using gpart to create the GPT (and thus the PMBR and its >> bootcode), why not simply use "fdisk -a -1 DISKNAME" to set the PMBR >> partition active? > > According to the fdisk output, the partition flag did change from 0 to > 80. Can the "fdisk: Class not found" error showing up at the very end > of the procedure of doing "fdisk -a -1 DISKNAME" be safely ignored? Yes, I think so. -- Andriy Gapon From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 22:18: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 394111065670 for ; Tue, 19 Jan 2010 22:18:41 +0000 (UTC) (envelope-from stapleton.41@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 C92A78FC18 for ; Tue, 19 Jan 2010 22:18:40 +0000 (UTC) Received: by ewy26 with SMTP id 26so1557607ewy.3 for ; Tue, 19 Jan 2010 14:18:39 -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=XNri1nDhmMEdbPYARHl0W24MxqwEiBepQBfz57PkZAU=; b=EbK5Ww/lX+100sKG08l6I1jVDLHI7jod7RSDTbC/EHGSJrEO4jc0QkeVWqwUBhDKrZ Gg7TydENgjuXNRTOBQHu9W8ZsqhEZoMLT4cCH1UdsKqBoaX601IMa0TGuNkpxgzFPqd1 WpRNE+FT/iqbCP/In//2bvss8vQWgQFMaF5bA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MRK0F034krj4rMlD0UvaBewqjhjjeiVldnnfXwU8zhN7l4I01AqBmMberm5kHmnEw6 Uz7hVHE+vW+dUeD/xqn8KkvFwgSnEwv4ChihTzeEVY8tEHHhaYmEg6LIbQoy1tVzzVoN bgBj8gjNy+mLh/yMkTS4Oz534jEOYqy93pdMA= MIME-Version: 1.0 Received: by 10.216.89.73 with SMTP id b51mr2831610wef.125.1263939519713; Tue, 19 Jan 2010 14:18:39 -0800 (PST) Date: Tue, 19 Jan 2010 17:18:39 -0500 Message-ID: <80f4f2b21001191418x731d5532s1400149c2f958432@mail.gmail.com> From: Jim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: dovecot/jail 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: Tue, 19 Jan 2010 22:18:41 -0000 First, Thanks all for the help with my previous "sendmail" question. I rebuilt the jail without postfix and that at least seems happy. The main question; has anyone built/ran dovecot in a jail? It runs fine on the host system fine, but if I put it in a jail, I get issues with the !import_try command. I'm going to try some things to fix it, and it could have been something I've done in my setup. I want to see if this is a jail-specific issue. Thanks, From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 22:41:23 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 D4F82106566B for ; Tue, 19 Jan 2010 22:41:23 +0000 (UTC) (envelope-from sfourman@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 ACE9A8FC0A for ; Tue, 19 Jan 2010 22:41:23 +0000 (UTC) Received: by pwi15 with SMTP id 15so2926308pwi.3 for ; Tue, 19 Jan 2010 14:41: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; bh=dgpKcc6pw/beeh0maI3/mDj4DY6awXWcLYlvvKj8rn0=; b=QI6kLQPYd5Ets5QczRf3z50eNyPNGhSqF2axr0xdIryIaEqKpl454UqvskIabxiHpP gCDw5H56RouKtHLmNJpn8X7l1Z/jdiEzANsqMjV/Fn0esmfAWBcGDranMXEJB9SlrB02 mnkp8rgMimTCP2J0jnocZcX/56JsNrdQYwy/Q= 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=Pf19NacHNZxcQRqpH0CNREJ1q1LTSzqtxFQPBsxMiS0AIhz4gJf9qT5kBc4rVcrf8N aAWjO+9U++ElqAPJmMhd2wvgHYUuUjzp9bTTlsbu9XNa4L7SiGg4vqodsQe72tyVUO+u PK6PweZ+NZ7VflR5i2e1bGgEf2HwA7tLWtAoY= MIME-Version: 1.0 Received: by 10.142.7.24 with SMTP id 24mr1698795wfg.2.1263940882476; Tue, 19 Jan 2010 14:41:22 -0800 (PST) In-Reply-To: <80f4f2b21001191418x731d5532s1400149c2f958432@mail.gmail.com> References: <80f4f2b21001191418x731d5532s1400149c2f958432@mail.gmail.com> Date: Tue, 19 Jan 2010 16:41:22 -0600 Message-ID: <11167f521001191441x6e8efc33m7af0144aaf15afbd@mail.gmail.com> From: "Sam Fourman Jr." To: Jim Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: dovecot/jail 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: Tue, 19 Jan 2010 22:41:23 -0000 On Tue, Jan 19, 2010 at 4:18 PM, Jim wrote: > First, Thanks all for the help with my previous "sendmail" question. I > rebuilt the jail without postfix and that at least seems happy. So does this mean that you can NOT run postfix in a FreeBSD 8 Jail? I didn't know this, I just assumed postfix in a Jail would work. if possible could someone confirm this? Sam Fourman Jr. From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 22:55: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 542781065676 for ; Tue, 19 Jan 2010 22:55:44 +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 2FC618FC21 for ; Tue, 19 Jan 2010 22:55:43 +0000 (UTC) Received: by pwi15 with SMTP id 15so2934756pwi.3 for ; Tue, 19 Jan 2010 14:55:43 -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=Y6mIwy3JevVxwROIvUAuK8+jZyQunYCODSsMBlnPM6k=; b=TNLjMwRS2jYbbcUPHaS/nb9GRAGshD6Xp1z3ZuGmENG4cPFTPAgXnLp20WoteSRMwH 95ApT5v+mQnpmWzo4iFWPU0rC4m8gYjSzW9Bm9dPSX8qRfFz4DkrxLNQ5yIUBhTI4EDo bvTLfxOts5hvP8gO2REMM53DwsTaZgxo3LZ9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QtxWFale9b5AxipajCzci8L0/MjyaAygXj3wzS+z7t5QiwoOYwVLX/J/4ydGC+l8Oe lUxqCojHLAF2wNjv2ponRS8XwzXgdKFtuA3ZwnqA34qm7vrm6VfD0eMDyQRKJqrIwkFU 1kW/O04zzJmKdWdyA0qyV2Z9WEuYGlxjOj5WA= MIME-Version: 1.0 Received: by 10.143.27.23 with SMTP id e23mr3605011wfj.31.1263941743714; Tue, 19 Jan 2010 14:55:43 -0800 (PST) Date: Tue, 19 Jan 2010 14:55:43 -0800 Message-ID: From: Diego Montalvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Automatic Network Settings at New Location X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 22:55:44 -0000 I am temporarily at a different location for the next day or so, and need to connect to the internet via FreeBSD. My initial Network settings where detected during setup using DCHP. How do can I have FreeBSD automatically detect the new network settings via DCHP? Thanks in advance! Diegp From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 23:02:23 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 A5A33106566B for ; Tue, 19 Jan 2010 23:02:23 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 2DE0A8FC0C for ; Tue, 19 Jan 2010 23:02:23 +0000 (UTC) Received: (qmail 19217 invoked by uid 89); 19 Jan 2010 23:02:50 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 19 Jan 2010 23:02:50 -0000 Message-ID: <4B5639F5.6070701@ibctech.ca> Date: Tue, 19 Jan 2010 18:02:13 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Diego Montalvo References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Network Settings at New Location X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 23:02:23 -0000 Diego Montalvo wrote: > I am temporarily at a different location for the next day or so, and > need to connect to the internet via FreeBSD. My initial Network > settings where detected during setup using DCHP. How do can I have > FreeBSD automatically detect the new network settings via DCHP? # dhclient Steve From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 23:02: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 CD611106568B for ; Tue, 19 Jan 2010 23:02:38 +0000 (UTC) (envelope-from zoltansdaughter@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 7D7868FC1B for ; Tue, 19 Jan 2010 23:02:38 +0000 (UTC) Received: by qyk4 with SMTP id 4so2615906qyk.7 for ; Tue, 19 Jan 2010 15:02:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:subject:mime-version:date :x-mailer; bh=oCGakAjtvq7A8Na41va8CnR2CVQIHrDnD4NaetwCzVY=; b=wjZ7NiZfDkc96z+453LaX+WHmawSTCJuNvivpWTpxXLJlnjuJfwgd4KOpPqiGusGhz IDo91FWyZS8c4/QCMh9lxFebLWbUP20hgXcDT1sGHI+FpaCXPn/B3HiGGdd71rHtAxp0 2zNERLj56XVEDLzHWhC92WzXrMUz5z4W2BRyI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:subject :mime-version:date:x-mailer; b=dJNDvBTf6ebEVyt9JSIk8tDYdUVLPm2Fx/tiNKbHPoUDnWs1gnvG4Je5z91FU4f2gn kikk8Q0UdaOLedqrPp4XA/QCSJ+5kCknHEuRnedKIdwblVWz505YlW+Q2pgWHzEKSQ/b V/u9rDMjD42sr9QHqJ25wB4CpIUHe2yxk3CCI= Received: by 10.224.98.71 with SMTP id p7mr5723866qan.331.1263940576536; Tue, 19 Jan 2010 14:36:16 -0800 (PST) Received: from ?10.42.99.94? (mobile-166-137-136-157.mycingular.net [166.137.136.157]) by mx.google.com with ESMTPS id 22sm6405354qyk.14.2010.01.19.14.36.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 14:36:15 -0800 (PST) Message-Id: From: Lisa Barrie To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 7C144) Date: Tue, 19 Jan 2010 17:36:22 -0500 X-Mailer: iPhone Mail (7C144) Subject: [Newsletter] JOSEPH NETO NEW WEBSITE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 23:02:38 -0000 Please will you help? Will you tell me is my friend Joe Neto still alive? His family ok? Thankyou for letting those of us in the "States" who care know. Thankyou, Lisa From owner-freebsd-questions@FreeBSD.ORG Tue Jan 19 23:05:07 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 3FE03106568B for ; Tue, 19 Jan 2010 23:05:07 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id B74878FC1E for ; Tue, 19 Jan 2010 23:05:06 +0000 (UTC) Received: (qmail 19478 invoked by uid 89); 19 Jan 2010 23:05:37 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 19 Jan 2010 23:05:37 -0000 Message-ID: <4B563A9C.50703@ibctech.ca> Date: Tue, 19 Jan 2010 18:05:00 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Diego Montalvo References: <4B5639F5.6070701@ibctech.ca> In-Reply-To: <4B5639F5.6070701@ibctech.ca> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Network Settings at New Location X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 23:05:07 -0000 Steve Bertrand wrote: > Diego Montalvo wrote: >> I am temporarily at a different location for the next day or so, and >> need to connect to the internet via FreeBSD. My initial Network >> settings where detected during setup using DCHP. How do can I have >> FreeBSD automatically detect the new network settings via DCHP? > > # dhclient Whoops! I think I misread that. How about setting: ifconfig_em0="DHCP" ...in rc.conf, where em0 is your NIC? Steve From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 00:03: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 47BAE1065676; Wed, 20 Jan 2010 00:03:43 +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 008748FC16; Wed, 20 Jan 2010 00:03:42 +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 <1NXO2w-0005W6-3B>; Wed, 20 Jan 2010 01:03:42 +0100 Received: from e178038234.adsl.alicedsl.de ([85.178.38.234] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1NXO2v-0001KP-Un>; Wed, 20 Jan 2010 01:03:42 +0100 Message-ID: <4B56485D.2010303@mail.zedat.fu-berlin.de> Date: Wed, 20 Jan 2010 01:03:41 +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: =?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?= References: <4B54C100.9080906@mail.zedat.fu-berlin.de> <4B54C5EE.5070305@pp.dyndns.biz> In-Reply-To: <4B54C5EE.5070305@pp.dyndns.biz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: 85.178.38.234 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: Wed, 20 Jan 2010 00:03:43 -0000 On 01/18/10 21:34, =EF=BF=BD wrote: > O. Hartmann wrote: >> I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 boxe= s. >> 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-core= s >> (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- an= d >> 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 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" The disks in question are indeed WD on one box, but they are all Caviar=20 Black and they performed well months ago with the very same hardware and = an earlier FreeBSD 8 version. The other boxes in questions do have a set of mixed type, Seagate, WD,=20 Samsung (mostly Samsung F1 types). We do not use 'Green' drives, due to=20 every box acts as a server and we found green-disks, even from WD, too sl= ow. Oliver From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 00:16: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 A4A3C1065670; Wed, 20 Jan 2010 00:16:43 +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 4B6308FC1C; Wed, 20 Jan 2010 00:16:43 +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 <1NXOFW-0006mw-4d>; Wed, 20 Jan 2010 01:16:42 +0100 Received: from e178038234.adsl.alicedsl.de ([85.178.38.234] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1NXOFW-0001qD-06>; Wed, 20 Jan 2010 01:16:42 +0100 Message-ID: <4B564B69.6080102@mail.zedat.fu-berlin.de> Date: Wed, 20 Jan 2010 01:16:41 +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: krad References: <4B54C100.9080906@mail.zedat.fu-berlin.de> <4B54C5EE.5070305@pp.dyndns.biz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Originating-IP: 85.178.38.234 Cc: =?UTF-8?B?TW9yZ2FuIFdlc3N0csO2bQ==?= , 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: Wed, 20 Jan 2010 00:16:43 -0000 On 01/19/10 10:09, krad wrote: > 2010/1/18 Morgan Wesstr=EF=BF=BDm > >> O. Hartmann wrote: >>> I realise a strange behaviour of several FreeBSD 8.0-STABLE/amd64 box= es. >>> 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-cor= es >>> (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 o= n >>> ZFS filesystems I realise. Editing a file in 'vi' running on one XTer= m >>> 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 16G= B >>> RAM and summa summarum 16 cores. This phenomenon does occur on ZFS- a= nd >>> 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 disk= s, >> 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 >> _______________________________________________ >> 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" >> > > > ZFS is copy on write, therefore to optimize the write performance it de= lays > writes for a long as possible, upto a set maximum time. It will then fl= ush > to the disks. How long this time is depends on how much free ram you ha= ve > available. Assuming processes are eating up all your ram I would imagin= e you > are hitting the max limit. I'm not sure exactly what its set to on bsd = but I > know the default on opensolaris is 30s. I think this explains your dela= yed > writes. > > Not sure what will cause the lock ups though. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" This could end in a bad situation, where one process writes a files, say = with some arbitrary stuff and another successing process is intended to=20 read this file. even if the processes are run serial, those 'delays'=20 could break the chain! The delay situation in a development environment=20 is harsh, but in other circumstances it could develop very bad. I see this strange behaviour now for several weeks, something essential=20 has changed in the code, I guess. On UP boxes the situation is worse sometimes, on SMp boxes with lots of=20 RAM ( 8 and 16 GB and 4 or 8 CPU cores) it is still bad. I have a server = that acts as a 'rsync' backup system gathering data from satellite=20 servers from time to time. Since this problem of slowness occured, this=20 4-core 8 gig RAM box crawls for minutes. Even when X11 is disabled=20 working on console is 'bumpy': terminal out slows down, mouse pointer=20 jumps etc.As I wrote, the same on a 8 core/16 gig box, but not that harsh= =2E From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 00:30: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 3D91F106568B for ; Wed, 20 Jan 2010 00:30:45 +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 ECEEF8FC13 for ; Wed, 20 Jan 2010 00:30:44 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXOT2-0003s7-5N for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 01:30:40 +0100 Received: from pool-72-75-61-67.washdc.east.verizon.net ([72.75.61.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 01:30:40 +0100 Received: from nightrecon by pool-72-75-61-67.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 01:30:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 19 Jan 2010 19:30:27 -0500 Lines: 35 Message-ID: References: <4B561717.9090309@pp.dyndns.biz> <4B561A81.6010400@pp.dyndns.biz> <4B5620E9.6040902@pp.dyndns.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-61-67.washdc.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 00:30:45 -0000 Morgan Wesström wrote: > Morgan Wesström wrote: >> Morgan Wesström wrote: >>> I obviously did something wrong somewhere but I can't figure out what. >>> All console device nodes /dev/ttyv0 - /dev/ttyvf are missing after I >>> upgraded a machine from 7.0 to 7.2. The serial console node /dev/ttyd0 >>> is there though if that rings a bell. What controls the creation of the >>> console device nodes? Any hints on what I should check? I did deactivate >>> unneeded SCSI-drivers and the like in the GENERIC kernel but the tty >>> related stuff is still there, like: >>> >>> options COMPAT_43TTY # BSD 4.3 TTY compat >>> device sc >>> >> >> I'm also missing /dev/consolectl >> > > These dmesg lines are from another 7.2 machine and I am missing them > from the output of this newly upgraded machine: > > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > Both devices are in the kernel. What could prevent them from binding? Is it maybe a newer system that has keyboard and mouse set to USB as a default which needs disabling in BIOS? I know a machine I just built I set the keyboard to "Legacy" to use the PS/2 port while the mouse stayed USB. -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 01:05:26 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 31214106566C for ; Wed, 20 Jan 2010 01:05:26 +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 D7D368FC18 for ; Wed, 20 Jan 2010 01:05:25 +0000 (UTC) Received: by pzk40 with SMTP id 40so604677pzk.7 for ; Tue, 19 Jan 2010 17:05:25 -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=rJHr3Epym+GQErQGVAmG0r3hs6cRSaCRm9mDbT0qUzA=; b=HeZiwwua8wh+46LgEm4LWGNAUHydEReokw0uzUyz1qf2y0H770BM7kzPXJg5xBKw/4 M7RYOnhxXr/PpJHlHrixQeXt9x8OAmSYlS5k2Hx2TS+d0JoYBoNg9V9DNxz1ZhLHbKCN FeN2NnIKIV6Tyt41OaOU705xWj98+wUxiNy3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=m/8oyQx+43acLrY8S5idhlGPM8CmcC4iWL4tLOJZgMefardjpdUbmxPhx7azN5FneA FSPHkLvJtUnCh0bO3vZRQkd0YseONq3mSCyAhXv6k1gpw0KcIPtZJj/qR9uSzyb0kMm8 moCeAA2+JXw0HULSm4+AzFcpVfzxeCCL2PLEA= MIME-Version: 1.0 Received: by 10.143.153.14 with SMTP id f14mr1710068wfo.255.1263949525306; Tue, 19 Jan 2010 17:05:25 -0800 (PST) Date: Tue, 19 Jan 2010 17:05:24 -0800 Message-ID: From: Diego Montalvo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 01:05:26 -0000 Been using FreeBSD for a long time now, but have never really been sure if FreeBSD needs to be restarted after installing a Port or Ports using "make install clean"? What is the best practice... Used to restarting Windows for everything... Diego From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 01: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 343E01065692 for ; Wed, 20 Jan 2010 01:13:54 +0000 (UTC) (envelope-from rnodal@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id E09978FC15 for ; Wed, 20 Jan 2010 01:13:53 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so1037501qwd.7 for ; Tue, 19 Jan 2010 17:13: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 :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=983l+rp/Wd/nn5DKFEIvL8WhZEBwiCMOfVSeZ5+c9Mo=; b=FY3F9ESIcF8AwIrXdZEKq4xYUCrS3Q+u4mb8LJzZPR2ct9x/KEMxT7l+XCIqz32wgz LxnUFFAtkAdwhpxFf82wRHNjHNJ5PcQGBaZF8h+Y5UoKNhmzFHF5Hh1YcjBZfHyOn4WF qM9ux6LKQmO7X2EH2jWa2xgIi9fc4Ok2bfE2g= 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 :content-type:content-transfer-encoding; b=F5wkTkb+iaPdDBO9p0H7NniGVxHmwz1e7BSA36NaLWOs3wDcLYeGqI+V5qWnTyhqM8 4NeZnmq7rYXuhQoV4PRINagXl3PXVSAB0nfzuWhD11fdqqDPik3nNgxuHoPGK2MfBfxG Z4sjifEk3OSe6j5ru7sIFmzXNB5HuL2TXc+O4= MIME-Version: 1.0 Received: by 10.224.86.130 with SMTP id s2mr5817056qal.85.1263950033075; Tue, 19 Jan 2010 17:13:53 -0800 (PST) In-Reply-To: References: From: Roger Date: Tue, 19 Jan 2010 20:13:33 -0500 Message-ID: <9d972bed1001191713o395562a7i19274c67c247d1fb@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 01:13:54 -0000 On Tue, Jan 19, 2010 at 8:05 PM, Diego Montalvo wrote= : > Been using FreeBSD for a long time now, but have never really been > sure if FreeBSD needs to be restarted after installing a Port or Ports > using "make install clean"? =A0What is the best practice... Used to > restarting Windows for everything... > > Diego I'm not a FreeBSD expert so I cannot speak about what is considered "best pratices" but I never restart my server after doing a port install/reinstall/upgrade/removal. I guess the only time you will need to do that is when your port may be a kernel module that cannot be unloaded/reloaded without causing major problems. -r From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 01:18: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 C82BA1065676 for ; Wed, 20 Jan 2010 01:18:34 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 7D12D8FC17 for ; Wed, 20 Jan 2010 01:18:34 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWI00L1SUAEVT40@asmtp026.mac.com> for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 17:18:15 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001190243 From: Chuck Swiger In-reply-to: Date: Tue, 19 Jan 2010 17:18:14 -0800 Message-id: <769E7347-1B84-4119-83DF-4C07A1E24B24@mac.com> References: To: Diego Montalvo X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 01:18:34 -0000 On Jan 19, 2010, at 5:05 PM, Diego Montalvo wrote: > Been using FreeBSD for a long time now, but have never really been > sure if FreeBSD needs to be restarted after installing a Port or Ports > using "make install clean"? What is the best practice... Used to > restarting Windows for everything... The simple answer is that you almost never need to restart a Unix operating system short of an update to the kernel itself, and with kernel modules even that can be avoided in many cases. The general answer for ports is no, you don't need to restart. In some cases, if you update a significant proportion of the shared libraries and want to avoid having two copies taking up memory, it can be easier to reboot than to restart all of the processes which were using the updated shared libraries. For example, if you update something huge like X11, GTK, etc it might be more convenient... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 01:34:48 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 49DC3106566B for ; Wed, 20 Jan 2010 01:34:48 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id C5B168FC08 for ; Wed, 20 Jan 2010 01:34:47 +0000 (UTC) Received: (qmail 23630 invoked by uid 89); 20 Jan 2010 01:35:18 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 20 Jan 2010 01:35:18 -0000 Message-ID: <4B565DB0.8070801@ibctech.ca> Date: Tue, 19 Jan 2010 20:34:40 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Diego Montalvo References: <4B5639F5.6070701@ibctech.ca> <4B563A9C.50703@ibctech.ca> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: Automatic Network Settings at New Location X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 01:34:48 -0000 Diego Montalvo wrote: > weird, I had restarted FreeBSD, and did not work, needed to completely > close down, reopen virtualbox and relaunch FreeBSD... DHCP kicked > in! Danke! Niets te danken ;) I didn't know that you were using Virtualbox. Since I've never used it before, I don't know how that would affect the config loadup. After re-re-reading your original post, I figured you must of had the rc.conf setting in place, or else it wouldn't have worked in the first place. Out of curiosity, does re-running `dhclient` rectify the situation when moving between different networks, without a cold start? fwiw, other than a couple of lab boxes, I don't have any FBSD boxes that are on DHCP... Steve From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 02:34: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 B2211106566C for ; Wed, 20 Jan 2010 02:34:17 +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 6A99A8FC14 for ; Wed, 20 Jan 2010 02:34:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0K2YGDU081436; Tue, 19 Jan 2010 19:34:16 -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 o0K2YGBL081433; Tue, 19 Jan 2010 19:34:16 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 19 Jan 2010 19:34:16 -0700 (MST) From: Warren Block To: Diego Montalvo In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 19 Jan 2010 19:34:16 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 02:34:17 -0000 On Tue, 19 Jan 2010, Diego Montalvo wrote: > Been using FreeBSD for a long time now, but have never really been > sure if FreeBSD needs to be restarted after installing a Port or Ports > using "make install clean"? What is the best practice... Used to > restarting Windows for everything... No, restarting the computer is very rarely necessary. There are some less involved steps that might be needed, like setting flags in /etc/rc.conf to enable new ports. Some ports have services that need to be started, and csh/tcsh users may need to use the rehash command before using new ports. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 02:37: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 18FE1106566B for ; Wed, 20 Jan 2010 02:37:58 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id E39DE8FC08 for ; Wed, 20 Jan 2010 02:37:57 +0000 (UTC) Received: by pxi13 with SMTP id 13so3242173pxi.3 for ; Tue, 19 Jan 2010 18:37:57 -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=367cv8sjAqz6TQkAp0tpNawSqhaQkJA2kJkqxCZpOFM=; b=GAwo/SrXFyyJ58sb8VE8nuF+rGHtgEYtk9um21iv0DE7aM0tUaA25A22rNlTkqVA0U IzmEKMPhfn9AARe9EPxBNe9KgWZ7QSI3P1n9E2boah3dhc847Hm0hDNSJ5OLZE4iJISh 3M1D7UJL6g8dvrzRsTeg8DMw5FXucnLSCgb0U= 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=i99BU2spc24N6vrjH7ig2LLWKepFZ0uY5Cw2T+IAvOvl6tW8rNREEpsq8WnkbarKZ2 64s3vzrZL0VDJXvlBF1m7ZFiNINoyZavVQKaC0h9AK+F0TaTRK+TrDEXV4Dk3YhkpFbm jFXWAX4/JyQv3ro5i19top2PxxpdmmMIQj+LY= MIME-Version: 1.0 Received: by 10.142.151.15 with SMTP id y15mr5737608wfd.125.1263955077476; Tue, 19 Jan 2010 18:37:57 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Jan 2010 18:37:57 -0800 Message-ID: From: Diego Montalvo To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 02:37:58 -0000 What about restarting after a "make install" of apache and or mysql, is it necessaryq? 2010/1/19 Warren Block : > On Tue, 19 Jan 2010, Diego Montalvo wrote: > >> Been using FreeBSD for a long time now, but have never really been >> sure if FreeBSD needs to be restarted after installing a Port or Ports >> using "make install clean"? =A0What is the best practice... Used to >> restarting Windows for everything... > > No, restarting the computer is very rarely necessary. > > There are some less involved steps that might be needed, like setting fla= gs > in /etc/rc.conf to enable new ports. =A0Some ports have services that nee= d to > be started, and csh/tcsh users may need to use the rehash command before > using new ports. > > -Warren Block * Rapid City, South Dakota USA > From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 02:51: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 436D71065670 for ; Wed, 20 Jan 2010 02:51:36 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-ss-1557.bluehost.com (outbound-ss-1557.bluehost.com [69.89.23.200]) by mx1.freebsd.org (Postfix) with SMTP id 05E8E8FC15 for ; Wed, 20 Jan 2010 02:51:35 +0000 (UTC) Received: (qmail 6361 invoked by uid 0); 20 Jan 2010 02:51:35 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by outboundproxy3.bluehost.com with SMTP; 20 Jan 2010 02:51:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=Q9FSqVmaxSvFY2UnB6IbNkSk4kSjc+83xE4OvsHt0b7fbJKu5HldTWfUCTJiu1VhrlQ7nii0si/COpHj87gjtX4XYYp8iquBAoHja2gqJpV47029kj8M/aTN27cVa917; Received: from [206.74.86.236] (helo=[192.168.1.51]) by box264.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NXQfN-0006jH-An for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 19:51:35 -0700 Message-ID: <4B566FA6.8010508@joseph-a-nagy-jr.us> Date: Tue, 19 Jan 2010 20:51:18 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBDF5379F0C48C1BACD0B9DF2" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 02:51:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBDF5379F0C48C1BACD0B9DF2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/19/2010 8:37 PM, Diego Montalvo wrote: > What about restarting after a "make install" of apache and or mysql, > is it necessaryq? No. Just restart the apache and mysql services. --=20 PIT --------------enigBDF5379F0C48C1BACD0B9DF2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLVm+mAAoJEENZQ8DH7rW02ngH/2+OrU6Z8yacqaqc3sCOxTXQ EcoEXipS4q8uVjlNzBlCO/dNQ4jsKwunjH14tWnwNJl5EdHfewS3d/85p3h+4vZD yXXFMLYc+9YrnekSGCX0ulimKyDuyPMs3u49nSQOg0CJLDmJywykZXOg1rP7ukyi co1bm50y2mDVcQFZi0yrUBffr66jYd1BWdISv2IdoaL5L9wqFxLx58ltk42YoYEI 510cm4wiv/rqPas5En5JbRaLQw/V1hJXBp0L7U49e9WJSOrBPuHwC/P2XkpWv4pH 59GYcv/oifJXFz43nwE5Up7Xar3zoUwOmNuJeklAH/moRg3prQWbhXfcNoVkgd4= =58Bv -----END PGP SIGNATURE----- --------------enigBDF5379F0C48C1BACD0B9DF2-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 02:57: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 49BA2106566B for ; Wed, 20 Jan 2010 02:57:34 +0000 (UTC) (envelope-from stapleton.41@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 D19318FC17 for ; Wed, 20 Jan 2010 02:57:33 +0000 (UTC) Received: by ewy26 with SMTP id 26so1785097ewy.3 for ; Tue, 19 Jan 2010 18:57:33 -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:content-type; bh=XvOpXbjIE6A2Hre2e3crKZ0uFTYfsJZTBcb3pfOE2qY=; b=N362O3nDd5/6za3WSZUqlXzqlpkqFEN5AZYok4dSMNQz57IKqnA5ykJV+4aSU9FnkX ws+gFJh9Pg1UmPQ6uGnvmk3TkdkegmXIBG70ACdaqbrmvvyNEXHyVKbVJV9Xp81J4/gg /4ORwfH8quVpSP75Z7YG1riztaG/eJtAp+2O8= 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 :content-type; b=Lu/yTilnL+7CRvQ551BwAEMl0IT30CCd/53ciGsTCTNxxk7/mLsX8RTWAETpRR95zQ jYJzCdb6/YGcry8crSCBy0l+lGXjFihAMBQcLoDDrbKs4FZCAKX1aAbl4kqTrg5q04Ex n3Uzgs/lf1JQil6XdYCrv/8pMqjap2hiVHEcc= MIME-Version: 1.0 Received: by 10.216.89.10 with SMTP id b10mr2785670wef.182.1263956252820; Tue, 19 Jan 2010 18:57:32 -0800 (PST) In-Reply-To: <11167f521001191441x6e8efc33m7af0144aaf15afbd@mail.gmail.com> References: <80f4f2b21001191418x731d5532s1400149c2f958432@mail.gmail.com> <11167f521001191441x6e8efc33m7af0144aaf15afbd@mail.gmail.com> Date: Wed, 20 Jan 2010 02:57:32 +0000 Message-ID: <80f4f2b21001191857k3713a968o6e3be2b9969183c2@mail.gmail.com> From: Jim To: "Sam Fourman Jr." , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: dovecot/jail 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: Wed, 20 Jan 2010 02:57:34 -0000 On Tue, Jan 19, 2010 at 10:41 PM, Sam Fourman Jr. wrote: > On Tue, Jan 19, 2010 at 4:18 PM, Jim wrote: >> First, Thanks all for the help with my previous "sendmail" question. I >> rebuilt the jail without postfix and that at least seems happy. > > So does this mean that you can NOT run postfix in a FreeBSD 8 Jail? > > I didn't know this, I just assumed postfix in a Jail would work. if > possible could someone confirm this? > > Sam Fourman Jr. > No, it means I don't know how to configure postfix, and didn't realize installing the postfix port also set it up to replace sendmail without any further intervention. Since I was already familiar with sendmail, I didn't want to bother figuring out postfix. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 03:57: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 2166A106566B for ; Wed, 20 Jan 2010 03:57:34 +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 CCBD98FC08 for ; Wed, 20 Jan 2010 03:57:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0K3vXND081724; Tue, 19 Jan 2010 20:57:33 -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 o0K3vXfb081721; Tue, 19 Jan 2010 20:57:33 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 19 Jan 2010 20:57:33 -0700 (MST) From: Warren Block To: Diego Montalvo In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-992063285-1263959853=:81693" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 19 Jan 2010 20:57:33 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 03:57:34 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-992063285-1263959853=:81693 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 19 Jan 2010, Diego Montalvo wrote: > 2010/1/19 Warren Block : >> >> No, restarting the computer is very rarely necessary. >> >> There are some less involved steps that might be needed, like setting flags >> in /etc/rc.conf to enable new ports.  Some ports have services that need to >> be started, and csh/tcsh users may need to use the rehash command before >> using new ports. > > What about restarting after a "make install" of apache and or mysql, > is it necessaryq? No. That's what I was talking about with flags in /etc/rc.conf and starting services (daemons): apache22_enable="YES" /usr/local/etc/rc.d/apache22 start -Warren Block * Rapid City, South Dakota USA ---902635197-992063285-1263959853=:81693-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 04:27:08 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 7B0E61065670 for ; Wed, 20 Jan 2010 04:27:08 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 40ECD8FC1F for ; Wed, 20 Jan 2010 04:27:08 +0000 (UTC) Received: (qmail 29059 invoked by uid 0); 20 Jan 2010 04:27:07 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by outboundproxy6.bluehost.com with SMTP; 20 Jan 2010 04:27:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=LvV4kuJCkcM00CDhIS9PaueR1w0Y43j8EzLZ3tEiiZ5EQLw2kRHfwUf3vRtTVmP0awzN0JiH0g56IOkrwGVSrZI9LV1Y/EfEUIz+kyVY5XBBeL5vwukXUUq02ySx/l03; Received: from [206.74.86.236] (helo=[192.168.1.51]) by box264.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NXS9q-0004tc-IS for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 21:27:07 -0700 Message-ID: <4B568607.8020503@joseph-a-nagy-jr.us> Date: Tue, 19 Jan 2010 22:26:47 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFBF932DB1242E652377E7614" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 04:27:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFBF932DB1242E652377E7614 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/19/2010 9:57 PM, Warren Block wrote: > /usr/local/etc/rc.d/apache22 start Wouldn't restart be better? If not I think the old processes will still be loaded up and serving pages. --=20 PIT --------------enigFBF932DB1242E652377E7614 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLVoYOAAoJEENZQ8DH7rW04QAH/1ygLaP1q0pA0iC2W8HOY55x eCY0QMEua5IcfmYVFdJjbK6nUTlTM8LR4wLXD1Qj0m63V/b7un25okj3tWPRubjQ fXzfzY17PIYWejOJFLi616JQA+FEglU2qR2z0pjv/uA7Wlsp4ctlq6clTr0Ruxjn 1WXDPFHE+NaXoKjCSgr/6Ej6ce3GAlPc575SkJJm69utE5CVRI2cD0uuK37r5gy4 XoQhOstgPbkXNs5WhPPP3JW8j2BVFzROVSbr3QyWkb3dO7qkuwvxb4Y5k2XY98Ye UP2NF0VPbSz8r+1G9oHafU0xpzFKnqP88kdi3sKxlKW1/GyC8gxdDTUGGmkUJmw= =maUA -----END PGP SIGNATURE----- --------------enigFBF932DB1242E652377E7614-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 05:02:26 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 0A766106566B for ; Wed, 20 Jan 2010 05:02:26 +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 B4A5A8FC0C for ; Wed, 20 Jan 2010 05:02:25 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0K52OJY081940; Tue, 19 Jan 2010 22:02:24 -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 o0K52O5A081937; Tue, 19 Jan 2010 22:02:24 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 19 Jan 2010 22:02:24 -0700 (MST) From: Warren Block To: Programmer In Training In-Reply-To: <4B568607.8020503@joseph-a-nagy-jr.us> Message-ID: References: <4B568607.8020503@joseph-a-nagy-jr.us> 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]); Tue, 19 Jan 2010 22:02:25 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 05:02:26 -0000 On Tue, 19 Jan 2010, Programmer In Training wrote: > On 1/19/2010 9:57 PM, Warren Block wrote: > >> /usr/local/etc/rc.d/apache22 start > > Wouldn't restart be better? If not I think the old processes will still > be loaded up and serving pages. On a first install of apache, there won't be any old processes running. But yes, /usr/local/etc/rc.d/apache22 restart will work whether it's a fresh install or an upgrade. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 05:32: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 2A9C1106566C for ; Wed, 20 Jan 2010 05:32:24 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-01.bluehost.com (outbound-mail-01.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id E2D938FC13 for ; Wed, 20 Jan 2010 05:32:23 +0000 (UTC) Received: (qmail 17912 invoked by uid 0); 20 Jan 2010 05:32:20 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by outboundproxy4.bluehost.com with SMTP; 20 Jan 2010 05:32:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=AxpgOZNHxglUeTXKYpUKmESYI/CE9zBoBW3AH3jil99ermMBFA1LVNCeQcwuWGGPSVl84OKnqULdNmNTs8qpgTUOl+cKANs3iICej/KulwNTFUbuOqNyQ9S47Au0eo9t; Received: from [206.74.86.236] (helo=[192.168.1.51]) by box264.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NXTAu-00024x-3m for freebsd-questions@freebsd.org; Tue, 19 Jan 2010 22:32:20 -0700 Message-ID: <4B56954D.7010602@joseph-a-nagy-jr.us> Date: Tue, 19 Jan 2010 23:31:57 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B568607.8020503@joseph-a-nagy-jr.us> In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig187774235573AB38202B744C" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 05:32:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig187774235573AB38202B744C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/19/2010 11:02 PM, Warren Block wrote: > On Tue, 19 Jan 2010, Programmer In Training wrote: >=20 >> On 1/19/2010 9:57 PM, Warren Block wrote: >> >>> /usr/local/etc/rc.d/apache22 start >> >> Wouldn't restart be better? If not I think the old processes will stil= l >> be loaded up and serving pages. >=20 > On a first install of apache, there won't be any old processes running.= > But yes, /usr/local/etc/rc.d/apache22 restart will work whether it's a > fresh install or an upgrade. No need to CC me, I'm subscribed. (: True, restart isn't needed on a fresh install but OP was talking about upgrading. --=20 PIT --------------enig187774235573AB38202B744C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLVpVUAAoJEENZQ8DH7rW02nUIAL1/CQN+d94IHXVJHO0tYjzt gVhFPrAaCiXFcMno3L9rjDca9bmmV9FzewVTN0ymcO2wESrXyHuxgzJ3/a00a2KE cMPmRGk0qxz2ZnnTk1NnS4mU3g2ksZLzod6cpcnkyTeIHL3rPZgChHbjHlb/acPu /dwlfcWLfu4QLkOpQtlGxWCPpqtIEHNuSoId+8Zu33zn2MnsN5iwW3s9oPGgiuUt o5EokRE2A+zfUWlka9YQJmo9rYnO7ijqeqD3Ni0910U3N3uVO36W3w3ks0yC5kT7 ftuGUmyq9MHxGYXeJsPiH7uuA5FZ/Mg77q9DrvDHSCKbSpIWJWtXZEhTU0rVYgk= =HDHo -----END PGP SIGNATURE----- --------------enig187774235573AB38202B744C-- From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 08:44:46 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 AB4A01065694; Wed, 20 Jan 2010 08:44:46 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id 2E29C8FC16; Wed, 20 Jan 2010 08:44:45 +0000 (UTC) Received: from lp.gddsn.org.cn (unknown [10.44.8.159]) (Authenticated sender: wsk) by gddsn.org.cn (Postfix) with ESMTPA id 79A442E03E; Wed, 20 Jan 2010 15:20:42 +0800 (CST) Message-ID: <4B56BE1F.4090800@gddsn.org.cn> Date: Wed, 20 Jan 2010 16:26:07 +0800 From: wsk User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; zh-CN; rv:1.9.1.5) Gecko/20100116 Thunderbird/3.0 MIME-Version: 1.0 To: marcus@FreeBSD.org, questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: pidgin 2.6.5 login QQ failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 08:44:46 -0000 hi, upgrade all software after upgrade to 8.0. and now found that pidgin login qq failed. any ideas? TIA From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 08:46: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 6263D1065672 for ; Wed, 20 Jan 2010 08:46:40 +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 538588FC15 for ; Wed, 20 Jan 2010 08:46:40 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C0027CF73A for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 09:46:38 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqpAAJZRVktV4js3PGdsb2JhbACBRoZwk0IBAQEBN7o+hDYE X-IronPort-AV: E=Sophos;i="4.49,309,1262559600"; d="scan'208";a="27924073" 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; 20 Jan 2010 09:46:38 +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 o0K8kaCA064743; Wed, 20 Jan 2010 09:46:36 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B56C2EC.4070609@pp.dyndns.biz> Date: Wed, 20 Jan 2010 09:46:36 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: Michael Powell References: <4B561717.9090309@pp.dyndns.biz> <4B561A81.6010400@pp.dyndns.biz> <4B5620E9.6040902@pp.dyndns.biz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 08:46:41 -0000 >> These dmesg lines are from another 7.2 machine and I am missing them >> from the output of this newly upgraded machine: >> >> sc0: at flags 0x100 on isa0 >> sc0: VGA <16 virtual consoles, flags=0x300> >> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >> >> Both devices are in the kernel. What could prevent them from binding? > > Is it maybe a newer system that has keyboard and mouse set to USB as a > default which needs disabling in BIOS? I know a machine I just built I set > the keyboard to "Legacy" to use the PS/2 port while the mouse stayed USB. > > -Mike > Thanks for your answer Mike. The system is actually an old Celeron on an Intel i865 based mainboard so the hardware should be pretty well supported I guess and after all - it did work with 7.0. The machine is only used as a router so the lack of virtual terminals aren't critical but I still would like to solve it. I will have the owner look for a more recent BIOS and then I'll reinstall the GENERIC kernel before filing a bug report. Here's a more verbose dmesg snippet that might give someone a clue: agp0: on hostb0 agp0: allocating GATT for aperture of size 128M vgapci0: mem 0xf8000000-0xf8ffffff,0xe0000000-0xefffffff,0xf9000000-0xf9ffffff irq 3 at device 0.0 on pci1 isab0: at device 31.0 on pci0 isa0: on isab0 sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices pmtimer0 on isa0 sc0: no video adapter found. sc0: failed to probe on isa0 vga0: failed to probe on isa0 atkbdc0: at port 0x60,0x64 on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices What is that vt0 (disabled)? Is that related? pciconf reports this: pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0x25718086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82865G/PE/P, 82848P PCI-to-AGP Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' class = bridge subclass = PCI-ISA vgapci0@pci0:1:0:0: class=0x030000 card=0x2034107d chip=0x022010de rev=0xa1 hdr=0x00 vendor = 'Nvidia Corp' class = display subclass = VGA Googling on this turns up a lot of older posts with references to PnP incompatibilities and ATA but I can't find any info that helps me with syscons. Regards Morgan From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 09:19: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 BE6CB1065676 for ; Wed, 20 Jan 2010 09:19:00 +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 4F74C8FC13 for ; Wed, 20 Jan 2010 09:19:00 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXWiF-0005u7-MY for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 10:18:55 +0100 Received: from 62.97.71.6 ([62.97.71.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 10:18:55 +0100 Received: from matiassurdi by 62.97.71.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 10:18:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Matias Date: Wed, 20 Jan 2010 10:18:33 +0100 Lines: 140 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 62.97.71.6 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; es-ES; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 Sender: news Subject: Help with core dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 09:19:00 -0000 Hi, I've installed from ports net-im/mu-conference, but whenever I try to start it I get a core dump. Running it through gdb I get the following: ]# gdb /usr/local/bin/mu-conference GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... (gdb) run -c /usr/local/etc/muc.xml Starting program: /usr/local/bin/mu-conference -c /usr/local/etc/muc.xml (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New LWP 100228] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[New Thread 8015021c0 (LWP 100228)] Jabber Component Runtime -- 0.2.4 (c) 2003-2004 Paul Curtis Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 8015021c0 (LWP 100228)] 0x0000000800eaa386 in strlen () from /lib/libc.so.7 (gdb) # uname -a FreeBSD it05.ex.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 # cat /usr/local/etc/muc.xml conference.localhost conference.localhost localhost 7009 Vonyunya /var/spool/jabberd/conference.localhost /var/run/jabberd/mu-conference.pid 155 Public Chatrooms This service is for public chatrooms. http://foo.bar/ 40 /var/spool/jabberd/conference.localhost/logs/ ../style.css has become available has left is now known as admin@localhost Any idea what can be wrong? Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 09:54:07 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 4F4FB106566B for ; Wed, 20 Jan 2010 09:54:07 +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 D29448FC15 for ; Wed, 20 Jan 2010 09:54:05 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXXGF-0002EF-JT for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 10:54:03 +0100 Received: from 62.97.71.6 ([62.97.71.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 10:54:03 +0100 Received: from matiassurdi by 62.97.71.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 10:54:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Matias Date: Wed, 20 Jan 2010 10:53:36 +0100 Lines: 152 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 62.97.71.6 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; es-ES; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 In-Reply-To: Sender: news Subject: Re: Help with core dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 09:54:07 -0000 El 20/01/10 10:18, Matias escribió: > Hi, > > I've installed from ports net-im/mu-conference, but whenever I try to > start it I get a core dump. > > Running it through gdb I get the following: > > > ]# gdb /usr/local/bin/mu-conference > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"...(no debugging > symbols found)... > (gdb) run -c /usr/local/etc/muc.xml > Starting program: /usr/local/bin/mu-conference -c /usr/local/etc/muc.xml > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no debugging > symbols found)...(no debugging symbols found)...[New LWP 100228] > (no debugging symbols found)...(no debugging symbols found)...(no > debugging symbols found)...(no debugging symbols found)...(no debugging > symbols found)...[New Thread 8015021c0 (LWP 100228)] > Jabber Component Runtime -- 0.2.4 > (c) 2003-2004 Paul Curtis > > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 8015021c0 (LWP 100228)] > 0x0000000800eaa386 in strlen () from /lib/libc.so.7 > (gdb) > > > > # uname -a > FreeBSD it05.ex.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 > 15:02:08 UTC 2009 > root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > > > # cat /usr/local/etc/muc.xml > > > > conference.localhost > conference.localhost > localhost > 7009 > Vonyunya > > /var/spool/jabberd/conference.localhost > > /var/run/jabberd/mu-conference.pid > > > > 155 > > > > > > Public Chatrooms > This service is for public chatrooms. > http://foo.bar/ > > 40 > /var/spool/jabberd/conference.localhost/logs/ > > ../style.css > > > has become available > has left > is now known as > > > > admin@localhost > > > > > > > > > > > > > > > > > > > > > > > Any idea what can be wrong? > > > Thanks! > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I've finally solved it by enabling linux compatibility kernel module. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 11:44:09 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 79BA310656EB for ; Wed, 20 Jan 2010 11:44:09 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp101.prem.mail.ac4.yahoo.com (smtp101.prem.mail.ac4.yahoo.com [76.13.13.40]) by mx1.freebsd.org (Postfix) with SMTP id 1F1538FC23 for ; Wed, 20 Jan 2010 11:44:08 +0000 (UTC) Received: (qmail 34422 invoked from network); 20 Jan 2010 11:44:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=KbHmK35wxrqSensKZov4jQBHB4vyYxGsdCNcPyviCssElO0p3BaDFXq4JwsBuONhnNKXQSralS7p64RNsvRw1JU6rJKBcUOE25M1RAHK+ZbIJFT0NC2G5KA8I+9fccrKgtleWjl/WJjy1b1L2Pp02QucGwVPU0Yc/4cXcudNMCU= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp101.prem.mail.ac4.yahoo.com with SMTP; 20 Jan 2010 03:44:08 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: yhAWFBkVM1mkkzBn5a66qgmJe_kUWGqCO2.YQ2hCK8lD4lIltcSBHLemHFTlvRmkU0A59CnYeLLTjOXpJv3I1q8NTLgqh7oEB2.drdgm3x3aeDFOhxpLPAGJlCdDnJB29ol1bE96U0U3H1ajW0r_zRcqek4L2_ZQi5ZnEreGYxgW1ZwEjpKEi2C4JTn6ridgArb6S9auDBBfJMvt7HOweJcbX_BUpZ1VzfdBHAeZFIaqi06QY2CZYr6tUqaKuB06JzLDhV3vrowKEamr.3Z8ZUSkGWldT1XtgDczd51V4TlN7zd5QUNrtiFGpA-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 2D44B2283B for ; Wed, 20 Jan 2010 06:44:07 -0500 (EST) Date: Wed, 20 Jan 2010 06:44:06 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100120064406.75800ca4@scorpio.seibercom.net> In-Reply-To: <9d972bed1001191713o395562a7i19274c67c247d1fb@mail.gmail.com> References: <9d972bed1001191713o395562a7i19274c67c247d1fb@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 11:44:09 -0000 On Tue, 19 Jan 2010 20:13:33 -0500 Roger Roger articulated: > I'm not a FreeBSD expert so I cannot speak about what is considered > "best pratices" but I never restart my server after doing a port > install/reinstall/upgrade/removal. I guess the only time you will need > to do that is when your port may be a kernel module that cannot be > unloaded/reloaded without causing major problems. I only do a ports update when there are a significance number of programs that I have installed that have updates available. If the major players like OpenLDAP, MySQL, Postfix, Apache, etc are all to be updated at one time, I usually choose to reboot after the process has completed. It is not that I feel it is absolutely necessary; but rather that I want to insure that they will in fact all start up correctly, and in some cases, like Postfix, in the correct order. I have on rare occasions found discrepancies on how the system starts and performs after a major update. At worst, you lose only a minute or so of up time, assuming your machine is not a mission critical one. At best, you might discover a problem that might have gone unknown for an extended period of time. I think that the old English saying: "six of one, a half dozen of the other" is appropriate to the situation. Just my 2¢. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | You are only young once, but you can stay immature indefinitely. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 11:46: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 D2B011065679; Wed, 20 Jan 2010 11:46:01 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 80FF78FC27; Wed, 20 Jan 2010 11:46:01 +0000 (UTC) Received: from [192.168.1.4] (adsl-1-207-120.bna.bellsouth.net [65.1.207.120]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o0KBjwkL034427 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 20 Jan 2010 06:45:59 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Dan Naumov In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Date: Wed, 20 Jan 2010 05:45:53 -0600 Message-Id: <1263987953.48755.4.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX, RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL, SUBJECT_FUZZY_TION autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org, freebsd-geom@freebsd.org Subject: Re: 8.0-RELEASE / gpart / GPT / marking a partition as "active" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 11:46:01 -0000 On Tue, 2010-01-19 at 19:11 +0200, Dan Naumov wrote: > It seems that quite a few BIOSes have serious issues booting off disks > using GPT partitioning when no partition present is marked as > "active". See http://www.freebsd.org/cgi/query-pr.cgi?pr=115406&cat=bin > for a prime example. > > In 8.0-RELEASE, using gpart, setting a slice as "active" in MBR > partitioning mode is trivial, ie: > > gpart set -a active -i 1 DISKNAME > > However, trying to do the same thing with GPT partitioning yields no results: > > gpart set -a active -i 1 DISKNAME > gpart: attrib 'active': Device not configured > > As a result of this issue, I can configure and make a succesfull > install using GPT in 8.0, but I cannot boot off it using my Intel > D945GCLF2 board. I have the same board... > I have found this discussion from about a month ago: > http://www.mail-archive.com/freebsd-stable@freebsd.org/msg106918.html > where Robert mentions that "gpart set -a active -i 1" is no longer > needed in 8-STABLE, because the pmbr will be marked as active during > the installation of the bootcode. Is there anything I can do to > archieve the same result in 8.0-RELEASE or is installing from a > snapshop of 8-STABLE my only option? Prior to fixing gpart to take care of this, I used fdisk to set the active partition. gpart knows the disk is GPT and GPT doesn't have an "active" parameter, so the above command doesn't (perhaps never) worked. Basically, an "fdisk -a /dev/devX" is what you want... robert. > Thanks. > > - Sincerely, > Dan Naumov -- Robert Noland FreeBSD From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 07:07: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 BA1B7106566C for ; Wed, 20 Jan 2010 07:07:35 +0000 (UTC) (envelope-from korn87333@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 937E78FC1D for ; Wed, 20 Jan 2010 07:07:35 +0000 (UTC) Received: by pwi15 with SMTP id 15so3194373pwi.3 for ; Tue, 19 Jan 2010 23:07:35 -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=mugmQwLbGa3blrtAEv2/T7sqhfynf4K3RQgAhwowxfo=; b=eMwhac+v3vcyt0cJSiYyxBM3RTDIIdaEhZ6YPlxvJxkAkHn0hOMqm5bENnq7hp7wnF GeGANu2lEcmRQRTAjR2xhVQ232hr4HVAPYkNmX/ck6FVvdaPmn4Cc4cl/GplqSXJkDgB jgkJHPz3RKDegq57RnEMHlTGK/KT0rl827wpQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YHu4HGERm2NR0KbbUU+d8413lHdeowXIfeL+/0wytcE/8rCFFgxFVxAZN5FqBaL1RL ppHEcyph0GXWDrMlLSDoI9eD+GJLFot2ZuO7yPwkIpPDuG/3IHapRKYbEXHANHSBceFq urP8VVbLBF1ybvaAr5eErjYkjJZbCT4KEyWJA= MIME-Version: 1.0 Received: by 10.114.189.5 with SMTP id m5mr3553249waf.164.1263969648879; Tue, 19 Jan 2010 22:40:48 -0800 (PST) Date: Wed, 20 Jan 2010 13:10:48 +0630 Message-ID: From: komyo gyi To: freebsd-questions@FreeBSD.org X-Mailman-Approved-At: Wed, 20 Jan 2010 12:31:00 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Please help me X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 07:07:35 -0000 hi, > yesterday i have modify squid.conf file.i have use vi editior.but i > cannot delete in text message. following error ^? appear.How to do it?. > please help me. > From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 14:24: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 36FB1106566B for ; Wed, 20 Jan 2010 14:24:43 +0000 (UTC) (envelope-from listensammler@q827es.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id AEDF28FC16 for ; Wed, 20 Jan 2010 14:24:41 +0000 (UTC) X-Envelope-From: listensammler@q827es.in-berlin.de X-Envelope-To: Received: from adolfputzen (wlan-215-108.net.TU-Berlin.DE [130.149.215.108]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id o0KEESs4018761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 20 Jan 2010 15:14:28 +0100 Date: Wed, 20 Jan 2010 15:14:24 +0100 From: Julian Fagir To: freebsd-questions@freebsd.org Message-ID: <20100120151424.3b799f47@adolfputzen> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.14.7; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: SunFire X2100 fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 14:24:43 -0000 Hello, I recently got a SunFire X2100 to play with (first version, not M2). Linux (Debian) and 7.2-RELEASE works without problems, just installs straight-away and runs fine (currently 31 days uptime). But 8.0-RELEASE does not work, neither when being upgraded nor when installing from CD or memstick. The problem is: The kernel does not recognize the slices and partitions. When installing it, the installer shows me a single slice on each of the two hard disks though there are more. It also shows a warning about a GPT-label, no matter whether there is a GPT or MBR on it. After reslicing and -partitioning them, the installer fails when creating a filesystem on them, saying the devices (in this case the partitions) are not configured. Looking at the disk with Linux shows me that the partitions and slices were created properly at this point. When upgrading from 7.2 to 8.0, I'll be dropped to the "mount-shell" when restarting after doing the freebsd-update of the kernel. The possible mount-options the kernel recognizes are two labels (mbr/hdds, I think), the disks themselves and one slice on each disk, no partitions nor the other slices. Nothing capable of booting is found on the disks/slices anyway when I try to boot from them. As I currently have 7.2 on it, I can only show you the information I'll get from that one. # lspci 00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3) 00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3) 00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2) 00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) 00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) 00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) 00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) 00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) 00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) 00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11) 05:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) 05:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) Regards, Julian Fagir From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 14:30: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 898A21065676 for ; Wed, 20 Jan 2010 14:30: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 2FE798FC14 for ; Wed, 20 Jan 2010 14:30:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXba1-0003cf-NY for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 15:30:45 +0100 Received: from pool-72-75-61-67.washdc.east.verizon.net ([72.75.61.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 15:30:45 +0100 Received: from nightrecon by pool-72-75-61-67.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 15:30:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 20 Jan 2010 09:30:34 -0500 Lines: 114 Message-ID: References: <4B561717.9090309@pp.dyndns.biz> <4B561A81.6010400@pp.dyndns.biz> <4B5620E9.6040902@pp.dyndns.biz> <4B56C2EC.4070609@pp.dyndns.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-61-67.washdc.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 14:30:51 -0000 Morgan Wesström wrote: >>> These dmesg lines are from another 7.2 machine and I am missing them >>> from the output of this newly upgraded machine: >>> >>> sc0: at flags 0x100 on isa0 >>> sc0: VGA <16 virtual consoles, flags=0x300> >>> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on >>> isa0 [snip] > > > Thanks for your answer Mike. The system is actually an old Celeron on an > Intel i865 based mainboard so the hardware should be pretty well > supported I guess and after all - it did work with 7.0. The machine is > only used as a router so the lack of virtual terminals aren't critical > but I still would like to solve it. I will have the owner look for a > more recent BIOS and then I'll reinstall the GENERIC kernel before > filing a bug report. Here's a more verbose dmesg snippet that might give > someone a clue: I have an Asus P5P800SE i865 motherboard here with a Pentium D 940 on it. It is currently running 8-Release and does not exhibit this problem. Right now there is still an AGP video card in it. > agp0: on hostb0 > agp0: allocating GATT for aperture of size 128M > vgapci0: mem > 0xf8000000-0xf8ffffff,0xe0000000-0xefffffff,0xf9000000-0xf9ffffff irq 3 > at device 0.0 on pci1 This is an odd IRQ for a video card to come up on, as this is usually reserved for one of the COMM ports. Maybe an IRQ conflict here. > isab0: at device 31.0 on pci0 > isa0: on isab0 > sc: sc0 already exists; skipping it > vga: vga0 already exists; skipping it > isa_probe_children: disabling PnP devices > isa_probe_children: probing non-PnP devices > pmtimer0 on isa0 > sc0: no video adapter found. > sc0: failed to probe on isa0 > vga0: failed to probe on isa0 > atkbdc0: at port 0x60,0x64 on isa0 > vt0: not probed (disabled) > isa_probe_children: probing PnP devices Below is a snippet from mine. You didn't remove device vga from the kernel by any chance? Switching back to GENERIC for a test is probably a good idea as it may remove a variable from the problem. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] The BIOS selection for PnP OS support should be "Off". Irregardless, this looks like botched PnP probing by the BIOS. Only idea comes to mind right away is if you are using a PCI video card instead of AGP there is a BIOS selection which chooses which is initialized first. There is usually also one somewhere about whether to assign an IRQ to the video card. IRQ 3 just looks wrong. Check the mobo manual for slot sharing. A lot of motherboards will do something like share IRQs between the AGP slot and the first PCI slot (and/or others as well), with the sharing usually involving the AGP, the PCI slot, and USB controller(s). There is usually a chart in the manual which shows what is shared and where. I have such a chart in mine. > What is that vt0 (disabled)? Is that related? pciconf reports this: > > pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0x25718086 > rev=0x02 hdr=0x01 > vendor = 'Intel Corporation' > device = '82865G/PE/P, 82848P PCI-to-AGP Bridge' > class = bridge > subclass = PCI-PCI > isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24d08086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' > class = bridge > subclass = PCI-ISA > vgapci0@pci0:1:0:0: class=0x030000 card=0x2034107d chip=0x022010de > rev=0xa1 hdr=0x00 > vendor = 'Nvidia Corp' > class = display > subclass = VGA This is mine (with AGP video card): vgapci0@pci0:1:0:0: class=0x030000 card=0x00000000 chip=0x00f110de rev=0xa2 hdr=0x00 vendor = 'Nvidia Corp' device = 'GeForce 6600 GT AGP (NV43+BR02)' class = display subclass = VGA Notice in yours above the 'device' line is missing, > Googling on this turns up a lot of older posts with references to PnP > incompatibilities and ATA but I can't find any info that helps me with > syscons. Funny thing is it worked in 7.0 previously? At first glance this smells like BIOS PnP probing problems, but I think if it were it would have showed itself before. Try GENERIC and see what happens. If it goes away you know where to look. -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 14:56: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 98C65106566C for ; Wed, 20 Jan 2010 14:56: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 28CFB8FC1C for ; Wed, 20 Jan 2010 14:56:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXbzB-0007Q9-KK for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 15:56:45 +0100 Received: from pool-72-75-61-67.washdc.east.verizon.net ([72.75.61.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 15:56:45 +0100 Received: from nightrecon by pool-72-75-61-67.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jan 2010 15:56:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 20 Jan 2010 09:56:37 -0500 Lines: 44 Message-ID: References: <20100120151424.3b799f47@adolfputzen> 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-72-75-61-67.washdc.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: SunFire X2100 fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 14:56:51 -0000 Julian Fagir wrote: > Hello, > > I recently got a SunFire X2100 to play with (first version, not M2). > Linux (Debian) and 7.2-RELEASE works without problems, just installs > straight-away and runs fine (currently 31 days uptime). > But 8.0-RELEASE does not work, neither when being upgraded nor when > installing from CD or memstick. > > The problem is: The kernel does not recognize the slices and partitions. > When installing it, the installer shows me a single slice on each of the > two hard disks though there are more. It also shows a warning about a > GPT-label, no matter whether there is a GPT or MBR on it. > After reslicing and -partitioning them, the installer fails when creating > a filesystem on them, saying the devices (in this case the partitions) are > not configured. [snip] This sounds very familiar to something I just went through. A drive went up in smoke and the spare I pulled from the shelf had 6.2 on it. The 8 Release install would fail, something to do with either the partition table and/or labels from the earlier being invisible to the new and thus could not be written to. Boot a LiveFS CD, then at a root prompt do: sysctl kern.geom.debugflags=16 and: dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 where x equals your drive number. Probably should only do this before a fresh install and NOT on a system with data you want to keep. The exact error I received whilst trying to install 8 in sysinstall was this: "Unable to find device node for /dev/ad4s1b in /dev! The creation of filesystems will be aborted." Then pressing "OK" brings this: "Couldn't make filesystems properly. Aborting." -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 15:27: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 2311A106566B for ; Wed, 20 Jan 2010 15:27:02 +0000 (UTC) (envelope-from rnodal@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 CFDE18FC0A for ; Wed, 20 Jan 2010 15:27:01 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so1181016qwd.7 for ; Wed, 20 Jan 2010 07:27: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 :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=7dJsEoCGSNylKlpSba3P7yc6gyz3g6VJs300Fslxke4=; b=MEskmQrGEqWzrlquEUUi0JoNMtXsOYyI5Gg7ArUED2AvFkAVxeeGnGp+f3fdRx3Swc WdDQdjkckDjqfg/lM40VRDO4ye8vQmeOMEeex5q4jjq8uxMTdpeARBS+6yFx/XQxUN+T LsGovRx9uNiCJQPL/NIXPAP4X/ppGCYEgvPQY= 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 :content-type:content-transfer-encoding; b=WHxMGPsgCW8PwZJaktAN+srYBn92JWa5/5OwIGhygFxUfORgeWJdKL4Ufcl1RZW7Dk Gkz/YXZA6xMRn4flELtVLNVjaVPmTqNtmsa1oCdBYkiCVrun/guZUBP4n9BVfWYu/j4Q eU5VaiLG6e1z3I4OQb7sdIaD4gVoItMKzp1xo= MIME-Version: 1.0 Received: by 10.224.79.231 with SMTP id q39mr67394qak.163.1264001219046; Wed, 20 Jan 2010 07:26:59 -0800 (PST) In-Reply-To: <20100120064406.75800ca4@scorpio.seibercom.net> References: <9d972bed1001191713o395562a7i19274c67c247d1fb@mail.gmail.com> <20100120064406.75800ca4@scorpio.seibercom.net> From: Roger Date: Wed, 20 Jan 2010 10:26:39 -0500 Message-ID: <9d972bed1001200726x4a374cb0t1c0c0a8462e39b32@mail.gmail.com> To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Restarting after Make Install.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 15:27:02 -0000 On Wed, Jan 20, 2010 at 6:44 AM, Jerry wrote: > On Tue, 19 Jan 2010 20:13:33 -0500 > Roger Roger articulated: > >> I'm not a FreeBSD expert so I cannot speak about what is considered >> "best pratices" but I never restart my server after doing a port >> install/reinstall/upgrade/removal. I guess the only time you will need >> to do that is when your port may be a kernel module that cannot be >> unloaded/reloaded without causing major problems. > > I only do a ports update when there are a significance number of > programs that I have installed that have updates available. If the > major players like OpenLDAP, MySQL, Postfix, Apache, etc are all to be > updated at one time, I usually choose to reboot after the process has > completed. It is not that I feel it is absolutely necessary; but rather > that I want to insure that they will in fact all start up correctly, > and in some cases, like Postfix, in the correct order. I have on rare > occasions found discrepancies on how the system starts and performs > after a major update. At worst, you lose only a minute or so of up time, > assuming your machine is not a mission critical one. At best, you > might discover a problem that might have gone unknown for an extended > period of time. I think that the old English saying: "six of one, a > half dozen of the other" is appropriate to the situation. > > Just my 2=A2. > > -- > Jerry > gesbbb@yahoo.com > > |::::=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=3D=3D=3D=3D=3D=3D=3D > | > > You are only young once, but you can stay immature indefinitely. > Thank you for sharing your procedure. I do not have enough time with FreeBSD but it helps to read about different things other people are doing. I really admire and appreciate the quality of this mailing list. -r From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 15:31:05 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 4A3021065670 for ; Wed, 20 Jan 2010 15:31:05 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 00AE58FC29 for ; Wed, 20 Jan 2010 15:31:04 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC0283114F for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 16:31:03 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApE4AI2wVktV4js3PGdsb2JhbACBRoZwk0MBAQEBN70ihDYE X-IronPort-AV: E=Sophos;i="4.49,310,1262559600"; d="scan'208";a="28045438" 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; 20 Jan 2010 16:31:03 +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 o0KFV1Ca072670; Wed, 20 Jan 2010 16:31:02 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B5721B5.50302@pp.dyndns.biz> Date: Wed, 20 Jan 2010 16:31:01 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: Michael Powell References: <4B561717.9090309@pp.dyndns.biz> <4B561A81.6010400@pp.dyndns.biz> <4B5620E9.6040902@pp.dyndns.biz> <4B56C2EC.4070609@pp.dyndns.biz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 15:31:05 -0000 Michael Powell wrote: >> agp0: on hostb0 >> agp0: allocating GATT for aperture of size 128M >> vgapci0: mem >> 0xf8000000-0xf8ffffff,0xe0000000-0xefffffff,0xf9000000-0xf9ffffff irq 3 >> at device 0.0 on pci1 > > This is an odd IRQ for a video card to come up on, as this is usually > reserved for one of the COMM ports. Maybe an IRQ conflict here. I noticed that too :-) > Below is a snippet from mine. You didn't remove device vga from the kernel > by any chance? Switching back to GENERIC for a test is probably a good idea > as it may remove a variable from the problem. No, all of syscons dependencies (according to the man page) are still there. > Funny thing is it worked in 7.0 previously? At first glance this smells like > BIOS PnP probing problems, but I think if it were it would have showed > itself before. Try GENERIC and see what happens. If it goes away you know > where to look. It appears this computer has an i865G chipset (built-in graphics) as well as an extra nvidia card. The output from devinfo shows that agp is attaching to hostb0 instead of vgapci0 so I will ask the person to remove the nvidia card and only run from the built-in graphics. PnP most likely seems to be the culprit here for sure. Thanks again for your input. pcib0 pci0 hostb0 agp0 pcib1 pci1 vgapci0 /Morgan From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 15:59: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 6DD131065670 for ; Wed, 20 Jan 2010 15:59:28 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 43AA48FC1C for ; Wed, 20 Jan 2010 15:59:27 +0000 (UTC) Received: from asahi-net.jp (i223157.dynamic.ppp.asahi-net.or.jp [61.125.223.157]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id DDDDB92B9C; Thu, 21 Jan 2010 00:59:26 +0900 (JST) Date: Thu, 21 Jan 2010 00:59:26 +0900 From: WATANABE Kazuhiro To: Yuri In-Reply-To: <4B50C49A.7070308@rawbw.com> References: <4B50C49A.7070308@rawbw.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20100120155926.DDDDB92B9C@mail2.asahi-net.or.jp> Cc: freebsd-questions Subject: Re: [audio] Why pcm audio signal can't be read back through pcm channel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 15:59:28 -0000 Hi. How about "mixer =rec vol" or "mixer =rec pcm" ? At Fri, 15 Jan 2010 11:40:10 -0800, Yuri wrote: > I noticed that I can't record sound that comes from pcm channel. For > example audacity only records my voice coming from mic, but doesn't > record other person's voice that skype sends into pcm channel. > This used to work before. I look at mixer -- all channels are open. > > Why pcm doesn't get sent back? Is there something wrong with mixer? > > snd_es137x.ko is used: > pcm0: port 0xec00-0xec3f irq 17 at device 1.0 on pci8 > pcm0: es1370_wrcodec: timed out > pcm0: es1370_wrcodec: timed out > pcm0: es1370_wrcodec: timed out > pcm0: [ITHREAD] > pcm0: > > Yuri --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp) From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 16:30: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 F311A1065679 for ; Wed, 20 Jan 2010 16:30:41 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-bw0-f218.google.com (mail-bw0-f218.google.com [209.85.218.218]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7838FC13 for ; Wed, 20 Jan 2010 16:30:41 +0000 (UTC) Received: by bwz10 with SMTP id 10so327685bwz.15 for ; Wed, 20 Jan 2010 08:30:40 -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=A65lDwYcdHNbjrRyepS5/f9oLkAAas9lK+7CYJKBd9A=; b=XovwgjwXMCxtkzIwQe1eenJIATXBdOO1QNYZE4AhkinaMcw07SifvCa4Iyg2RAMiar j6ivDOsfDFqdmjVkdfDu57USMXsVplb9UFPpYogunMeTw7WHAQ6IRCFYz5xKtui/nST+ oX96cCBJ38pBEp2C4KkX5f+K4cLPZ73U7G2Gg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fJqortcybmEIRXc16vgRLWCwkPL/yrb0ZGHISldbLkND2H/8DP6smKsW3OF9HY7n7z 2WU2KgvyBlTr3qYEIoaQbWYi1K56MXCoPDgpe0cEC7+viVAvPgVvC2yeub/MfBxn+PS5 3wWengYaUMrEBTWsAv8/U3ZmJebFy33JbJzTQ= MIME-Version: 1.0 Received: by 10.239.190.18 with SMTP id v18mr22034hbh.112.1264005040216; Wed, 20 Jan 2010 08:30:40 -0800 (PST) Date: Wed, 20 Jan 2010 18:30:40 +0200 Message-ID: <75a268721001200830k5b778481m463f331016a6ccb8@mail.gmail.com> From: Omer Faruk Sen To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Subject: freebsd 8.0 slow boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 16:30:42 -0000 Hi, After boot loader multi choice menu FreeBSD 8.0 waits about 2 ~ minutes to boot just showing | sign. As far as I know FreeBSD 8.0 uses a new TTY subsystem OLD one: w 6:28PM up 5 days, 4:09, 2 users, load averages: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE WHAT root p0 NEW one (with 8.0) w 12:26AM up 11 mins, 2 users, load averages: 0.00, 0.02, 0.02 USER TTY FROM LOGIN@ IDLE WHAT root pts/1 I think this is related with that. Is there any option to use old TTY subsystem on 8.0 or how can I speed up that boot wait process. Regards. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 17:30:23 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 5B1511065672 for ; Wed, 20 Jan 2010 17:30:23 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id 106048FC08 for ; Wed, 20 Jan 2010 17:30:22 +0000 (UTC) Received: by qyk28 with SMTP id 28so3337588qyk.28 for ; Wed, 20 Jan 2010 09:30:22 -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=QWWFveAjdKNWoypgRW93zCsL5RobqJxGx+ZljFR4ztQ=; b=G9eEZyTLEHgcxVNL6BK80IT7gr2foNWoHuFzPg7+KQKB2CFCDaCRD4Iu+F74lNIwrL 7Ry7JNFiQndzs5hkyBErzLIHe6ZsnoNlGnQtEi32eDKYNbuWJu3GIjZOHDgR7yUQgIvm tPwsVEta8J+s4y46FuMJD5KayNU7gmH5e+t3Y= 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=XD//F8vnTbKvMGreyJTUCXlmE+M9YasgHJsfEf8BwKp06i47sslLsmz+iQnydrQZMJ V/pJeBczhrwzAI2pmvGPtGqJh06/KZBHWELPNIBv28EAhvL1MmV6qlXD8Pm1SJYkKfEq DejgwRvQUbjZXCgb11C/p0//9SfLaw6JFRPnY= MIME-Version: 1.0 Received: by 10.229.36.195 with SMTP id u3mr168606qcd.61.1264008622181; Wed, 20 Jan 2010 09:30:22 -0800 (PST) In-Reply-To: <75a268721001200830k5b778481m463f331016a6ccb8@mail.gmail.com> References: <75a268721001200830k5b778481m463f331016a6ccb8@mail.gmail.com> From: Amitabh Kant Date: Wed, 20 Jan 2010 23:00:02 +0530 Message-ID: <84b68b3d1001200930q71adbfb8led1f5fbb26e2c922@mail.gmail.com> To: Omer Faruk Sen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Subject: Re: freebsd 8.0 slow boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 17:30:23 -0000 On Wed, Jan 20, 2010 at 10:00 PM, Omer Faruk Sen wrote: > Hi, > > After boot loader multi choice menu FreeBSD 8.0 waits about 2 ~ > minutes to boot just showing > > | > > sign. As far as I know FreeBSD 8.0 uses a new TTY subsystem > > OLD one: > > w > 6:28PM up 5 days, 4:09, 2 users, load averages: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE WHAT > root p0 > > > NEW one (with 8.0) > > w > 12:26AM up 11 mins, 2 users, load averages: 0.00, 0.02, 0.02 > USER TTY FROM LOGIN@ IDLE WHAT > root pts/1 > > > I think this is related with that. Is there any option to use old TTY > subsystem on 8.0 or how can I speed up that boot wait process. > > Regards. > I am having the same problem with a dual processor Intel board. Would be interested if any setting can speed up the boot process. Amitabh Kant From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 17:43: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 3C00E106566B for ; Wed, 20 Jan 2010 17:43:50 +0000 (UTC) (envelope-from pp@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id E3CD68FC19 for ; Wed, 20 Jan 2010 17:43:49 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC0283D4FB for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 18:43:48 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Apo6ADDQVktV4js3PGdsb2JhbACBRpo2AQEBATe+TYI0ggIE X-IronPort-AV: E=Sophos;i="4.49,311,1262559600"; d="scan'208";a="28075647" 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; 20 Jan 2010 18:43:48 +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 o0KHhkq0075230; Wed, 20 Jan 2010 18:43:46 +0100 (CET) (envelope-from pp@pp.dyndns.biz) Message-ID: <4B5740D2.9030809@pp.dyndns.biz> Date: Wed, 20 Jan 2010 18:43:46 +0100 From: pp@pp.dyndns.biz User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: Michael Powell References: <4B561717.9090309@pp.dyndns.biz> <4B561A81.6010400@pp.dyndns.biz> <4B5620E9.6040902@pp.dyndns.biz> <4B56C2EC.4070609@pp.dyndns.biz> <4B5721B5.50302@pp.dyndns.biz> In-Reply-To: <4B5721B5.50302@pp.dyndns.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Missing all ttyv* device nodes after upgrade 7.0 -> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 17:43:50 -0000 Morgan Wesström wrote: > Michael Powell wrote: >>> agp0: on hostb0 >>> agp0: allocating GATT for aperture of size 128M >>> vgapci0: mem >>> 0xf8000000-0xf8ffffff,0xe0000000-0xefffffff,0xf9000000-0xf9ffffff irq 3 >>> at device 0.0 on pci1 >> This is an odd IRQ for a video card to come up on, as this is usually >> reserved for one of the COMM ports. Maybe an IRQ conflict here. > > I noticed that too :-) > >> Below is a snippet from mine. You didn't remove device vga from the kernel >> by any chance? Switching back to GENERIC for a test is probably a good idea >> as it may remove a variable from the problem. > > No, all of syscons dependencies (according to the man page) are still there. > >> Funny thing is it worked in 7.0 previously? At first glance this smells like >> BIOS PnP probing problems, but I think if it were it would have showed >> itself before. Try GENERIC and see what happens. If it goes away you know >> where to look. > Turned out the graphics adapter had died when he got to the computer. Case closed and kudos to FreeBSD for still running all other services without complaining. :-) /Morgan From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 20:12: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 97E21106566B for ; Wed, 20 Jan 2010 20:12:03 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 51FA58FC14 for ; Wed, 20 Jan 2010 20:12:03 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id 1AED4E044E; Thu, 21 Jan 2010 09:11:59 +1300 (NZDT) Date: Thu, 21 Jan 2010 09:11:59 +1300 From: Jonathan Chen To: komyo gyi Message-ID: <20100120201159.GA11359@osiris.chen.org.nz> 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 Cc: freebsd-questions@FreeBSD.org Subject: Re: Please help me X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 20:12:03 -0000 On Wed, Jan 20, 2010 at 01:10:48PM +0630, komyo gyi wrote: > hi, > > > yesterday i have modify squid.conf file.i have use vi editior.but i > > cannot delete in text message. following error ^? appear.How to do it?. > > please help me. Looks like you're hitting the Delete key. That's not a valid vi command. You need to be in command mode and hit the 'x' key. -- Jonathan Chen ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 20:34: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 955681065676 for ; Wed, 20 Jan 2010 20:34:16 +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 5AFBB8FC26 for ; Wed, 20 Jan 2010 20:34:15 +0000 (UTC) Received: (from news@localhost) by news.enfer-du-nord.net (8.14.3/8.14.3/Submit) id o0KKYENF060534 for freebsd-questions@freebsd.org; Wed, 20 Jan 2010 21:34:14 +0100 (CET) (envelope-from news) To: freebsd-questions@freebsd.org Path: not-for-mail From: Michael Grimm Newsgroups: muc.lists.freebsd.questions Date: Wed, 20 Jan 2010 20:34:13 +0000 (UTC) Organization: ATK - Alternative Tierklinik links der Einfalt Lines: 18 Message-ID: References: <80f4f2b21001191418x731d5532s1400149c2f958432@mail.gmail.com> <11167f521001191441x6e8efc33m7af0144aaf15afbd@mail.gmail.com> X-Trace: de-l.enfer-du-nord.net eJwFwYEBACAEBMCVivcyjsj+I3Rnys1y0AgbG5ewW12zUo1XIIY8ogPekNSIw7Q1b+gbyNhpHnjUbN0P3idXye3Kxiv5ufgZ8A== (20 Jan 2010 20:34:13 GMT) X-Complaints-To: abuse@de-l.enfer-du-nord.net User-Agent: slrn/pre1.0.0-15/mm/ao (Darwin) Cancel-Lock: sha1:BSWvuAaT/tGNz3b9qtaMYe4hoZQ= Mail-Copies-To: nobody Subject: Re: dovecot/jail 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: Wed, 20 Jan 2010 20:34:16 -0000 Sam Fourman Jr. wrote: > On Tue, Jan 19, 2010 at 4:18 PM, Jim wrote: >> First, Thanks all for the help with my previous "sendmail" question. >> I rebuilt the jail without postfix and that at least seems happy. > > So does this mean that you can NOT run postfix in a FreeBSD 8 Jail? > > I didn't know this, I just assumed postfix in a Jail would work. if > possible could someone confirm this? I can confirm that Postfix, Dovecot, and Squirrelmail do run in jails, and I do assume that almost every mailing system will do as well. Regards, Michael -- to let From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 20:46:14 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 CF1BA1065676 for ; Wed, 20 Jan 2010 20:46:14 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id 892598FC0A for ; Wed, 20 Jan 2010 20:46:14 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=5-nTKeNrujAA:10 a=5oGaD+IacabtnYYqBVNCkQ==:17 a=L_1cJBfBgv8667o24sEA:9 a=MfC-zFcK7NjaphViosRYfrqaZaAA:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:56828] helo=haran.polands.org) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 9F/1A-05903-59B675B4; Wed, 20 Jan 2010 20:46:13 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0KKkCQt023202; Wed, 20 Jan 2010 14:46:12 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.34 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 20 Jan 2010 14:46:12 -0600 Message-ID: <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> In-Reply-To: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> References: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> Date: Wed, 20 Jan 2010 14:46:12 -0600 From: "Doug Poland" To: "Chuck Swiger" 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: Doug Poland , questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 20:46:14 -0000 On Tue, January 19, 2010 12:35, Chuck Swiger wrote: > Hi-- > > On Jan 19, 2010, at 10:04 AM, Doug Poland wrote: >> No joy. >> >> # sysctl kern.corefile=/var/crash/clamd.core >> # /usr/local/etc/rc.d/clamav-clamd start >> Starting clamav_clamd. >> Segmentation fault >> # ll /var/crash >> total 2 >> -rw-r--r-- 1 root wheel 5 Apr 10 2005 minfree > > Please see "man 5 core"; in particular, clamd changes userid: > > By default, a process that changes user or group credentials > whether real or effective will not create a corefile. This behaviour > can be changed to generate a core dump by setting the sysctl(8) > variable > kern.sugid_coredump to 1. > > ...so you will need to toggle that sysctl also. I'd suggest doing > something more like: > > mkdir /cores > chmod 1777 /cores > sysctl kern.sugid_coredump=1 > sysctl kern.corefile=/cores/%N.%P.core > > ...but adjust the path to be under /var or /usr if free diskspace > makes doing so necessary. > Thanks for the suggestion and the pointer to man 5 core. I implemented your suggestions but still get no core dump. Very strange... -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 21:05:11 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 1FD971065672 for ; Wed, 20 Jan 2010 21:05:11 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 076E28FC18 for ; Wed, 20 Jan 2010 21:05:10 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWK009LQD8LYY50@asmtp027.mac.com> for questions@freebsd.org; Wed, 20 Jan 2010 13:05:10 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001200187 From: Chuck Swiger X-Priority: 3 (Normal) In-reply-to: <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> Date: Wed, 20 Jan 2010 13:05:09 -0800 Message-id: References: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> To: Doug Poland X-Mailer: Apple Mail (2.1077) Cc: questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 21:05:11 -0000 Hi-- On Jan 20, 2010, at 12:46 PM, Doug Poland wrote: > Thanks for the suggestion and the pointer to man 5 core. I > implemented your suggestions but still get no core dump. Very > strange... Check your default resource limits (shell startup files & /etc/login.conf) and see whether coredumpsize is set to 0, maybe? If you build and run: % cat crash.c #include main() { char *bad = NULL; bad[0] = '1'; } % cc -o crash crash.c % ./crash [1] 16550 segmentation fault (core dumped) ./crash % ls /cores crash.16550.core ...do you get this trivial program to dump core? Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 21:24:54 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 359CE1065698 for ; Wed, 20 Jan 2010 21:24:54 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id C7B4C8FC1B for ; Wed, 20 Jan 2010 21:24:53 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=5-nTKeNrujAA:10 a=5oGaD+IacabtnYYqBVNCkQ==:17 a=eAAL1In8AAAA:8 a=35mfRM1VAkpEMBkUZX0A:9 a=8XlxPU3wZ9grGJKitPAA:7 a=nf_XOMXTH6_SB0g491AUWp40vq0A:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:65224] helo=haran.polands.org) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id BF/47-11553-4A4775B4; Wed, 20 Jan 2010 21:24:52 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0KLOpCg023313; Wed, 20 Jan 2010 15:24:51 -0600 (CST) (envelope-from doug@polands.org) Received: from 209.103.214.34 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 20 Jan 2010 15:24:51 -0600 Message-ID: <4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> In-Reply-To: References: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> Date: Wed, 20 Jan 2010 15:24:51 -0600 From: "Doug Poland" To: "Chuck Swiger" 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: questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 21:24:54 -0000 On Wed, January 20, 2010 15:05, Chuck Swiger wrote: > Hi-- > > On Jan 20, 2010, at 12:46 PM, Doug Poland wrote: >> Thanks for the suggestion and the pointer to man 5 core. I >> implemented your suggestions but still get no core dump. Very >> strange... > > Check your default resource limits (shell startup files & > /etc/login.conf) and see whether coredumpsize is set to 0, maybe? > Nope, nothin' % set | grep core | egrep -v grep % env | grep core | egrep -v grep % grep core /etc/login.c* | egrep -v # /etc/login.conf: :coredumpsize=unlimited:\ > If you build and run: > > % cat crash.c > #include > > main() > { > char *bad = NULL; > bad[0] = '1'; > } > % cc -o crash crash.c > % ./crash > [1] 16550 segmentation fault (core dumped) ./crash > % ls /cores > crash.16550.core > > ...do you get this trivial program to dump core? > No, not on the system in question. Just tried it on a plain-vanilla 8.0-RELEASE box I just built and I do get the the core dump there. % echo $SHELL /bin/tcsh % uname -a FreeBSD hostname.domain.com 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Sat Sep 12 11:15:05 CDT 2009 root@hostname.domain.com:/usr/obj/usr/src/sys/GENERIC-SERVER i386 % cat /sys/i386/conf/GENERIC-SERVER ident GENERIC-SERVER include GENERIC options INCLUDE_CONFIG_FILE # Include this file in kernel options QUOTA % sysctl -a | grep core kern.corefile: /var/coredumps/%U/%N.core kern.nodump_coredump: 0 kern.coredump: 1 kern.sugid_coredump: 1 debug.elf32_legacy_coredump: 1 % touch /var/coredumps/file % ll !$ ll /var/coredumps/file -rw-r--r-- 1 doug wheel 0 Jan 20 15:13 /var/coredumps/file -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 21:30:38 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 58B9810656A3 for ; Wed, 20 Jan 2010 21:30:38 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout028.mac.com (asmtpout028.mac.com [17.148.16.103]) by mx1.freebsd.org (Postfix) with ESMTP id 3ED3A8FC25 for ; Wed, 20 Jan 2010 21:30:38 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWK006AVEF15Y70@asmtp028.mac.com> for questions@freebsd.org; Wed, 20 Jan 2010 13:30:37 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001200192 From: Chuck Swiger X-Priority: 3 (Normal) In-reply-to: <4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> Date: Wed, 20 Jan 2010 13:30:37 -0800 Message-id: References: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> <4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> To: Doug Poland X-Mailer: Apple Mail (2.1077) Cc: questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 21:30:38 -0000 Hi-- On Jan 20, 2010, at 1:24 PM, Doug Poland wrote: > % sysctl -a | grep core > kern.corefile: /var/coredumps/%U/%N.core Does /var/coredumps/doug and/or /var/coredumps/clamav exist and have appropriate permissions (or be 1777 like /tmp to avoid a problem with that)...? -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Jan 20 23:11:08 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 31BB51065672 for ; Wed, 20 Jan 2010 23:11:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id E06FB8FC1C for ; Wed, 20 Jan 2010 23:11:07 +0000 (UTC) Received: from [85.175.178.243] (helo=izar) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1NXjhZ-000DRy-TY; Thu, 21 Jan 2010 02:11:05 +0300 From: Boris Samorodov To: "Doug Poland" References: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> <4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> Date: Thu, 21 Jan 2010 02:11:04 +0300 In-Reply-To: <4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> (Doug Poland's message of "Wed, 20 Jan 2010 15:24:51 -0600") Message-ID: <55285015@ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 23:11:08 -0000 On Wed, 20 Jan 2010 15:24:51 -0600 Doug Poland wrote: > % sysctl -a | grep core > kern.corefile: /var/coredumps/%U/%N.core As CORE(5) says %U is a UID... > % touch /var/coredumps/file > % ll !$ > ll /var/coredumps/file > -rw-r--r-- 1 doug wheel 0 Jan 20 15:13 /var/coredumps/file ... so you should have a directory /var/coredumps/ owned by (well, at least have permissions to write by) this UID. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 01:06: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 6461E106568F for ; Thu, 21 Jan 2010 01:06:20 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id C9B188FC1B for ; Thu, 21 Jan 2010 01:06:19 +0000 (UTC) Received: (qmail 65163 invoked by uid 89); 21 Jan 2010 01:06:58 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 21 Jan 2010 01:06:58 -0000 Message-ID: <4B57A887.2030801@ibctech.ca> Date: Wed, 20 Jan 2010 20:06:15 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org Questions -" X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: High availability SQL server setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 01:06:20 -0000 Hi all, For some time, I've been considering consolidating all/most of our SQL databases (all MySQL) onto a single dedicated cluster setup. I'm looking for feedback on the best way to do this. All of the options I've considered so far have both their drawbacks and benefits. From what I can tell, there's no one single way to be able to have everything that I want. Off the bat, I haven't found a way to create a cluster that can have more than one host in the cluster writable. My objective would be to start with two very high end boxes. One would sit in my primary location, the other a few blocks away over a gi fibre link. I would want the remote box to pick up immediately if the master server fails. I figure I could achieve this using network trickery for IP failover, CARP or the like and span a couple of vlans across the fibre. I would want each SQL server connected to separate edge routers to ensure both server and network resilience. Each box has two GigE NICs, so off the bat, I'd have each box doing VRRP to two separate edge gear at each location. My concern is, is that I can't envision how both boxes could possibly stay in a continuous state that would allow such fail-over, and fail-back. (fail-back is less of a concern...if it comes to it, I'd rebuild by hand if necessary). I've considered ZFS replication, but there could be several minutes worth of snapshot missing if the primary fails. I already have MySQL replication in many spots, but that's only one write master and read-only slaves. Can you provide any details or new ideas that I'm missing in order to have the holy grail of SQL redundancy? Cheers, Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 01:18:31 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 7173A106566B for ; Thu, 21 Jan 2010 01:18:31 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id B4A1D8FC18 for ; Thu, 21 Jan 2010 01:18:30 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=5-nTKeNrujAA:10 a=DaHBKn5nWyNBExISUyQA:9 a=d8_SRxSdhU12ubnUiCAA:7 a=103vKYf2idarS_rC1hDjinwLQkcA:4 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:51819] helo=haran.polands.org) by hrndva-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id DA/F6-11553-46BA75B4; Thu, 21 Jan 2010 01:18:29 +0000 Received: from [172.16.1.37] (sichem-wifi.polands.org [172.16.1.37]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id o0L1IRUi023925; Wed, 20 Jan 2010 19:18:27 -0600 (CST) (envelope-from doug@polands.org) Message-ID: <4B57AB63.6080306@polands.org> Date: Wed, 20 Jan 2010 19:18:27 -0600 From: Doug Poland User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Boris Samorodov References: <6C738BD4-71EE-4F34-8DB5-ABDB45A06C89@mac.com> <0cc4c74334a73d21b31ad06d41e3779a.squirrel@email.polands.org> <4d9fc381279cee4bebd4b6c745150eef.squirrel@email.polands.org> <55285015@ipt.ru> In-Reply-To: <55285015@ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions Questions Subject: Re: Trouble getting a core dump from clamd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 01:18:31 -0000 On 2010-01-20 17:11, Boris Samorodov wrote: > On Wed, 20 Jan 2010 15:24:51 -0600 Doug Poland wrote: > >> % sysctl -a | grep core >> kern.corefile: /var/coredumps/%U/%N.core > > As CORE(5) says %U is a UID... > >> % touch /var/coredumps/file >> % ll !$ >> ll /var/coredumps/file >> -rw-r--r-- 1 doug wheel 0 Jan 20 15:13 /var/coredumps/file > > ... so you should have a directory /var/coredumps/ owned by > (well, at least have permissions to write by) this UID. > That was it, thanks for the keen vision! -- Regards, Doug From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 03:49: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 4944D106566B for ; Thu, 21 Jan 2010 03:49:16 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 01E688FC0C for ; Thu, 21 Jan 2010 03:49:15 +0000 (UTC) Received: by yxe1 with SMTP id 1so2030487yxe.3 for ; Wed, 20 Jan 2010 19:49:15 -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:references:in-reply-to :content-type:content-transfer-encoding; bh=odPSEeip1naeJbPx1r2sR3URndUWNJcrXi0IbBgwMAk=; b=Dlm+UoXRL+WfBkaU7IIVPD6Zo6JAKHSo/rGI1lEBDVY26cKtT8LG3agBZSkH1fA96Z /9h0gsoDCeNP8tBNK2JTUzS6FpozOc3YUvs6bHfTpG0Ey11zq8uBCJLvDlIE31JPI4sH Vy4vWMtOl/DO1fHy/oXTKHDcBBJMufZxgDjwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=tTrfViXfM8oU/LWQPAbiTm3MNy7npwoF4MMmn46jFAQZRBo2L8Uye8CAJDuErDZy79 U8jkd4aJtrmVs6OD/qYtwr6Ed1XDJAwP0nHfNd2CTAyrhHn9Xn+zBiUJWL0mrSyLrQzw J8H345jw90J0+HoHIYTH3+tzP0x+TnnG4YMNk= Received: by 10.101.148.5 with SMTP id a5mr1161584ano.190.1264045749888; Wed, 20 Jan 2010 19:49:09 -0800 (PST) Received: from aryeh-desktop.istudentunion.com (ool-44c0cd7a.dyn.optonline.net [68.192.205.122]) by mx.google.com with ESMTPS id 9sm261060ywf.20.2010.01.20.19.49.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 19:49:08 -0800 (PST) Message-ID: <4B57CEB5.2050001@gmail.com> Date: Wed, 20 Jan 2010 22:49:09 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.23 (X11/20100120) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B57CE44.9060404@gmail.com> In-Reply-To: <4B57CE44.9060404@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ssh to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 03:49:16 -0000 I need to set up a machine so that I can type "ssh [host]" as root from some other host and I get a prompt with super user privs... I already have set this up for user@host for root and ssh host for normal users... but root still asks for a password after I set the authorized_keys file in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what option (if any) does this... if anyone is coruious the final goal here is to set up a sysutils/fusefs-ssh for this host (already installed and working for normal users but want to make it so it is done as root) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 04:02: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 C50641065672 for ; Thu, 21 Jan 2010 04:02:54 +0000 (UTC) (envelope-from glen.j.barber@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 7C9B08FC08 for ; Thu, 21 Jan 2010 04:02:54 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so1340948qwd.7 for ; Wed, 20 Jan 2010 20:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=DEBaQKXj6Bwyow507aiCIRExFwcsdCLWDLN+GAWF6mQ=; b=scn5ALvWHWUqtKFgO0QGZho3hIqPPV1cE12Yka0u+VJfrX+L3+/xsKbiO8LropOFfm 23SxKmsYscmRLysYPLKLqgZbDNJ6ambtc24ZP7rOClSTqE0GY50j7kkdQQft+/R1eyqH g+XHTtqtH5/RAVzSz++93CRT84y9/PxkpMCtw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=UocNjgrezJzAfWRtQ0am6NFvxxlSvktqCp/i0CtBj04zQ3F7+IejCwQo6qidbBGQfs F1636qW5vVAV2sXPyst4lsYhLHECAz8zmh6tLN3gI+b5HXtraSyXpJadt68aoV46zw6q Cie6inPVdsmGdLg3Dll0W2hK0Nv8LMAS15FUI= Received: by 10.224.17.225 with SMTP id t33mr631408qaa.150.1264046573930; Wed, 20 Jan 2010 20:02:53 -0800 (PST) Received: from orion.hsd1.pa.comcast.net (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id 20sm462553qyk.13.2010.01.20.20.02.51 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 20:02:51 -0800 (PST) Date: Wed, 20 Jan 2010 22:59:32 -0500 From: Glen Barber To: "Aryeh M. Friedman" Message-ID: <20100121035932.GA12539@orion.hsd1.pa.comcast.net> References: <4B57CE44.9060404@gmail.com> <4B57CEB5.2050001@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B57CEB5.2050001@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: ssh to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 04:02:54 -0000 Hi, Aryeh M. Friedman wrote: > I need to set up a machine so that I can type "ssh [host]" as root from > some other host and I get a prompt with super user privs... I already > have set this up for user@host for root and ssh host for normal users... > but root still asks for a password after I set the authorized_keys file > in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what > option (if any) does this PermitRootLogin is set to 'no' by default in /etc/ssh/sshd_config. It isn't advisable disabling this extra layer of security. Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 04:09:22 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 6958D106566C for ; Thu, 21 Jan 2010 04:09:22 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id E64698FC12 for ; Thu, 21 Jan 2010 04:09:21 +0000 (UTC) Received: (qmail 69786 invoked by uid 89); 21 Jan 2010 04:09:57 -0000 Received: from unknown (HELO ?192.168.1.114?) (steve@ibctech.ca@::ffff:208.70.104.100) by ::ffff:208.70.104.210 with ESMTPA; 21 Jan 2010 04:09:57 -0000 Message-ID: <4B57D36A.3010303@ibctech.ca> Date: Wed, 20 Jan 2010 23:09:14 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <4B57CE44.9060404@gmail.com> <4B57CEB5.2050001@gmail.com> In-Reply-To: <4B57CEB5.2050001@gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ssh to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 04:09:22 -0000 Aryeh M. Friedman wrote: > I need to set up a machine so that I can type "ssh [host]" as root from > some other host and I get a prompt with super user privs... I already > have set this up for user@host for root and ssh host for normal users... > but root still asks for a password after I set the authorized_keys file > in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what > option (if any) does this... if anyone is coruious the final goal here > is to set up a sysutils/fusefs-ssh for this host (already installed and > working for normal users but want to make it so it is done as root) Don't do it. *never* permit root-level access directly to *any* of your equipment. You want to provide as many levels of escalation to root level as you can, no matter what protocol you are using. Auth in as a normal user (as you stated is already working), and then use sudo(8) to escalate yourself. If you can already "ssh [host]" as a normal user, then you already have the concept of keys. You can automate the escalation after you've authenticated, and then do what you want to do. Seriously... ...don't do it. Steve ps. # pkg_add -r sudo # rehash # man sudo Then, when/if you have problems with specific functions that need root privileges, ask those questions here instead. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 04:10:12 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 BF9D3106568F for ; Thu, 21 Jan 2010 04:10:12 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-yw0-f194.google.com (mail-yw0-f194.google.com [209.85.211.194]) by mx1.freebsd.org (Postfix) with ESMTP id 7935E8FC2A for ; Thu, 21 Jan 2010 04:10:12 +0000 (UTC) Received: by ywh32 with SMTP id 32so4845752ywh.14 for ; Wed, 20 Jan 2010 20:10:11 -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=CqUiqSZcwFwns+yRm+Q/vTXBfnFBseNGm09BrteSNFw=; b=eF+wZ/85BWIf2I2aQDeEjJ4xNkzu29toVnizb9P6GpbjAcCGruV70y5q5sDE5zZEU6 0V7En8wQ7uAK1850GKIh0fBERZzkIs/ZEmAImv5Zq03M5eNTlN0m9ziFXJVtDndN8mh/ bQs3z3yqj0cIpZAYvd9iJHNPwnGrTNq4Ry5yo= 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=WEqWjdqSF3or86KAnmvvdmAVQn/SjYKfuxNqhYuzLDbH5VyNV9eGStx8+YBLjwzevG qXB1CnZ7X/4QG5xoKksxndTPmwlBXYaDm0gF72FKSz5acqwBDwJkSI5hQmtSARt2tvDP xshe+7aUfauf0ggrvhO1plDXuxa4prLX996KE= Received: by 10.150.125.24 with SMTP id x24mr1386929ybc.5.1264045636260; Wed, 20 Jan 2010 19:47:16 -0800 (PST) Received: from aryeh-desktop.istudentunion.com (ool-44c0cd7a.dyn.optonline.net [68.192.205.122]) by mx.google.com with ESMTPS id 8sm261050ywg.4.2010.01.20.19.47.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 19:47:15 -0800 (PST) Message-ID: <4B57CE44.9060404@gmail.com> Date: Wed, 20 Jan 2010 22:47:16 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.23 (X11/20100120) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ssh to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 04:10:12 -0000 I need to set up a machine so that I can type "ssh [host]" as root from some other host and I get a prompt with super user privs... I already have set this up for user@host for root and ssh host for normal users... but root still asks for a password after I set the authorized_keys file in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what option (if any) does this... if anyone is coruious the final goal here is to set up a sysutils/fusefs-ssh for this host (already installed and working for normal users but want to make it so it is done as root) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 03:08: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 732AD106566B for ; Thu, 21 Jan 2010 03:08:24 +0000 (UTC) (envelope-from vbac@foster.com.vn) Received: from mail.foster.com.vn (mailv2.foster.com.vn [203.210.225.172]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5468FC17 for ; Thu, 21 Jan 2010 03:08:21 +0000 (UTC) Received: from FV2DPC0146 ([10.20.2.211] RDNS failed) by mail.foster.com.vn with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 09:56:24 +0700 From: "Truong Thu Bac" To: Date: Thu, 21 Jan 2010 09:56:22 +0700 Message-ID: <00bf01ca9a45$51a26aa0$f4e73fe0$@com.vn> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcqaRVAWjkoyk1LCSXK73G+L6woQ/Q== Content-Language: en-us X-OriginalArrivalTime: 21 Jan 2010 02:56:24.0650 (UTC) FILETIME=[51A26AA0:01CA9A45] X-Mailman-Approved-At: Thu, 21 Jan 2010 04:41:23 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Receive email from Exchange 2003 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 03:08:24 -0000 Dear Mr/Ms, =20 I want to build a Internal Email System between a PC with FreeBSD OS and Exchange 2003 (Email Server) =20 Current, I got a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I installed Sendemail Software and Qpopper Software. I tried to send and receive emai, this blow is result: =20 Send Email: From 10.20.1.10 to Email Exchange 2003 = System =E0 YES From 10.20.1.10 to 10.20.1.10 =E0 = YES Receive Email: From Email Exchange 2003 System to = 10.20.1.10 =E0 NO From 10.20.1.10 to 10.20.1.10 =E0 = YES Could you please kindly give a Solution for this ? If you have any question, please contact with me. =20 Thank you very much . =20 Regards, VBAC =20 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 05:10: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 AFB3D10656CC for ; Thu, 21 Jan 2010 05:10:20 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id 661A08FC23 for ; Thu, 21 Jan 2010 05:10:19 +0000 (UTC) Received: by qyk28 with SMTP id 28so3667410qyk.28 for ; Wed, 20 Jan 2010 21:10:19 -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=C9fUm06x6xbWbjnzdNJveCMGxxfvhvxYKZTRtbno86c=; b=jBRk9RYjBMapF1UdAxW4b4b8ZEWtBcqXNOH2oTj9btpQGkf2GtAYiuJGeTfQWPZKUM 6+/fkM8Vy8Qohp2/5Xb0jmcX75loMYaMH8/W1wse55ohqoL+W97YUylbOTog451eVmd2 En6tgVDmdCHCd36Kbv1VAV2av3Jj1MliPCoFs= 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=N5+TXGI5S4ZWgjGgHEcc3qINJAX0PPpF10UVGRZxp6iY6lXS51N+bDodCaaqrVziDb 7EYi9Da1Dmb290TBpt41NxKLNgY2qOppijSMEBJkre3mGS3Qz1pNaI46lMPC8QydKbKi o7nNyc3fzmuLF6mSVQm2lC/D3CoYwoWkv6YE8= Received: by 10.224.79.3 with SMTP id n3mr660115qak.207.1264050619531; Wed, 20 Jan 2010 21:10:19 -0800 (PST) Received: from aryeh-desktop.istudentunion.com (ool-44c0cd7a.dyn.optonline.net [68.192.205.122]) by mx.google.com with ESMTPS id 22sm510044qyk.6.2010.01.20.21.10.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 21:10:18 -0800 (PST) Message-ID: <4B57E1BC.9060708@gmail.com> Date: Thu, 21 Jan 2010 00:10:20 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.23 (X11/20100120) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: simulating dnsdomain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 05:10:20 -0000 I have an application that needs to reliably get the fully qualified dns name for the localhost (3rd party app so I don't want to change it unless I have to).... currrently it calls dnsdomainname which is in linux is an alias for hostname --fqdn but FreeBSD does not have that option set... how can I simulate this? From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 05:17:42 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 069141065679 for ; Thu, 21 Jan 2010 05:17:42 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by mx1.freebsd.org (Postfix) with ESMTP id C1EC68FC16 for ; Thu, 21 Jan 2010 05:17:41 +0000 (UTC) X-Authority-Analysis: v=1.0 c=1 a=pGLkceISAAAA:8 a=tC9jyREGAabDcMw2_M4A:9 a=_6XnWUlBpNvWmQ_G92EA:7 a=a-XSXi469vI_Pb9PDizLbE0JlqQA:4 a=MSl-tDqOz04A:10 X-Cloudmark-Score: 0 X-Originating-IP: 76.184.157.127 Received: from [76.184.157.127] ([76.184.157.127:63735] helo=[10.0.0.3]) by cdptpa-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 55/DE-01403-573E75B4; Thu, 21 Jan 2010 05:17:41 +0000 Date: Wed, 20 Jan 2010 23:17:40 -0600 From: Paul Schmehl To: "Aryeh M. Friedman" , freebsd-questions@freebsd.org Message-ID: <0AD343F8101783C0841D7508@Macintosh-2.local> In-Reply-To: <4B57E1BC.9060708@gmail.com> References: <4B57E1BC.9060708@gmail.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: simulating dnsdomain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 05:17:42 -0000 --On January 21, 2010 12:10:20 AM -0500 "Aryeh M. Friedman" wrote: > I have an application that needs to reliably get the fully qualified dns > name for the localhost (3rd party app so I don't want to change it > unless I have to).... currrently it calls dnsdomainname which is in > linux is an alias for hostname --fqdn but FreeBSD does not have that > option set... how can I simulate this? ln -s /bin/hostname /bin/dnsdomainname Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 05:22: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 3D126106568B for ; Thu, 21 Jan 2010 05:22:35 +0000 (UTC) (envelope-from tajudd@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 1454B8FC1A for ; Thu, 21 Jan 2010 05:22:34 +0000 (UTC) Received: by pwi15 with SMTP id 15so3966257pwi.3 for ; Wed, 20 Jan 2010 21:22:34 -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=57dCZn76lAPd15aE33dMqo05CH2dMw33k7ntc+rPYSE=; b=Qw7r8NLIDmzS/sa1yW9MB3cK9Z1xHtYBr3of4E2hM2qcckwhsIFedeWmWu+A2dU7o1 T/hy2+3rTdiwaoUUSnnzznYdXcj5ckMabZNKcPeEcICtdJaQWfuX50q3OiDN+fmxNhD+ qrLigllmFPgsa355DFKRCb0ooKZpOi91zhCFA= 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=nLOtIJ4Xnx++DNG9IgXsb1sRy3sYKkfT3eLTef9lwUX+gfQxGnJKync5GCJ9Ntwv0f AOtszz0809qLApHA21YQQUe8fGeSCaoOrXdMeyLvrBCcEX1Z3gnLVBTZW2UjdEO9fDHW P/D2pn1L29WavoO2NMnQWjtAPPAZADRyYvZVM= MIME-Version: 1.0 Received: by 10.115.134.18 with SMTP id l18mr680973wan.128.1264051354525; Wed, 20 Jan 2010 21:22:34 -0800 (PST) In-Reply-To: <00bf01ca9a45$51a26aa0$f4e73fe0$@com.vn> References: <00bf01ca9a45$51a26aa0$f4e73fe0$@com.vn> Date: Wed, 20 Jan 2010 22:22:34 -0700 Message-ID: From: Tim Judd To: Truong Thu Bac Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Receive email from Exchange 2003 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 05:22:35 -0000 On 1/20/10, Truong Thu Bac wrote: > Dear Mr/Ms, > > > > I want to build a Internal Email System between a PC with FreeBSD OS and > Exchange 2003 (Email Server) > > > > Current, I got a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I > installed Sendemail Software and Qpopper Software. > > I tried to send and receive emai, this blow is result: > > > > Send Email: From 10.20.1.10 to Email Exchange 2003 Syst= em > =E0 YES > > From 10.20.1.10 to 10.20.1.10 =E0 YES > > Receive Email: From Email Exchange 2003 System to 10.20.1.1= 0 > =E0 NO > > From 10.20.1.10 to 10.20.1.10 =E0 Y= ES > > Could you please kindly give a Solution for this ? > > If you have any question, please contact with me. > > > > Thank you very much . > > > > Regards, > > VBAC It's probably due to how Exchange or the Internet at large has MX records in DNS setup. Check that. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 05:25: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 D24731065676 for ; Thu, 21 Jan 2010 05:25:10 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by mx1.freebsd.org (Postfix) with ESMTP id A9CAA8FC12 for ; Thu, 21 Jan 2010 05:25:10 +0000 (UTC) Received: by pzk1 with SMTP id 1so3124517pzk.28 for ; Wed, 20 Jan 2010 21:25:10 -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:content-transfer-encoding; bh=gxMNCelT8cuta0Bw1CGNIFRnm4BmiE3a2Z5rsm+0A4A=; b=dDpF6dg5z91cpXofqoWBK75+HIuHHWUvoppqIbW9YTIHC+3xBcowcytZJVBZiIcds+ 5tEIyPKBXcCu+9dSQHdDVAizrz2bTLUy4Wo/yDO4tRk9unK+bLd0eG0wjlAAtaYf8hrM qMMCWJ8y+g6kFyd2rpzVEtH8VQSrdvk2ww6yE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=xNAG3Ibt8juIK0Zz2eeDUWlpnQqPoG2gGIgwG1TYphb9d/6qCxYBzcUZM6J3/Eo5ox /EL1YRKhxLFzfAE2MiLz7WV3eFZEFYieFfJJRpbYuUNeeJY0UtIDerjx28aliQg2IEmo Gcv2J7sE/hljoAQtMHSRK3KCewNn2b5qgj0Rc= MIME-Version: 1.0 Received: by 10.115.134.18 with SMTP id l18mr682623wan.128.1264051510083; Wed, 20 Jan 2010 21:25:10 -0800 (PST) Date: Wed, 20 Jan 2010 22:25:09 -0700 Message-ID: From: Tim Judd To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Fwd: DSN (was: Re: Receive email from Exchange 2003) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 05:25:11 -0000 Truong Thu Bac, The DNS/MX to foster.com.vn is possibly misconfigured too, it's blocking mail from gmail. ---------- Forwarded message ---------- From: Mail Delivery Subsystem Date: Thu, 21 Jan 2010 05:22:38 +0000 Subject: Delivery Status Notification (Failure) To: tajudd@gmail.com Delivery to the following recipient failed permanently: vbac@foster.com.vn Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 Blocked (state 14). ----- Original message ----- MIME-Version: 1.0 Received: by 10.115.134.18 with SMTP id l18mr680973wan.128.1264051354525; W= ed, 20 Jan 2010 21:22:34 -0800 (PST) In-Reply-To: <00bf01ca9a45$51a26aa0$f4e73fe0$@com.vn> References: <00bf01ca9a45$51a26aa0$f4e73fe0$@com.vn> Date: Wed, 20 Jan 2010 22:22:34 -0700 Message-ID: Subject: Re: Receive email from Exchange 2003 From: Tim Judd To: Truong Thu Bac Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=3DISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/20/10, Truong Thu Bac wrote: > Dear Mr/Ms, > > > > I want to build a Internal Email System between a PC with FreeBSD OS and > Exchange 2003 (Email Server) > > > > Current, I got a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I > installed Sendemail Software and Qpopper Software. > > I tried to send and receive emai, this blow is result: > > > > Send Email: From 10.20.1.10 to Email Exchange 2003 Syst= em > =E0 YES > > From 10.20.1.10 to 10.20.1.10 =E0 YES > > Receive Email: From Email Exchange 2003 System to 10.20.1.1= 0 > =E0 NO > > From 10.20.1.10 to 10.20.1.10 =E0 Y= ES > > Could you please kindly give a Solution for this ? > > If you have any question, please contact with me. > > > > Thank you very much . > > > > Regards, > > VBAC It's probably due to how Exchange or the Internet at large has MX records in DNS setup. Check that. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 06:06: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 47A3D1065670 for ; Thu, 21 Jan 2010 06:06:10 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id F17E88FC17 for ; Thu, 21 Jan 2010 06:06:08 +0000 (UTC) Received: by qyk28 with SMTP id 28so3685398qyk.28 for ; Wed, 20 Jan 2010 22:06:08 -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=j3HAhxxnreOQO2e0F5yGHeyf4PQnUwhfwN1MJH1KiRA=; b=VjijIe5TOer0ldV3Mzb6UE8raLMKEFFLVWd3LicCFgDxskMrQZrdZ9o9lDfcY/ILse gpTusJ9qXtSdTySvVY2oRewFGCFrOKNQprvtyCX5FBB/srs8yYHNWMEd7F65ivlDrf0k UjYQSC28XnBHHC3tigykjjW+UTR9u8K49moHY= 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=Rd9ysdbdFNoan9YM3+OfzMxxPoMaYmkxXCbGutUFcqzDR0sbGw+/lkGwYOFfmAADNj Cl+bztUmA1dtmwv8BB/9rjdWxpNZhT6d9QPwLzjLJYG4qXBw6QnuS+BpVwJPkgKwwX/D t4pOa8zQxHJ66ZjDdYLkIJO44nSd0p89pAzU0= Received: by 10.224.91.17 with SMTP id k17mr698886qam.113.1264053968393; Wed, 20 Jan 2010 22:06:08 -0800 (PST) Received: from aryeh-desktop.istudentunion.com (ool-44c0cd7a.dyn.optonline.net [68.192.205.122]) by mx.google.com with ESMTPS id 20sm538356qyk.1.2010.01.20.22.06.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 22:06:07 -0800 (PST) Message-ID: <4B57EED1.9050800@gmail.com> Date: Thu, 21 Jan 2010 01:06:09 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.23 (X11/20100120) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: NIS oops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 06:06:10 -0000 I set up and tested NIS on our new master server then rebooted and it failed to come up... it is not possible for me to get physical access (or anyone else for that matter) until tommorow afternoon... is there any way to use an other machine on the net to kick start it (NFS mount attempts to it also hang) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 06:19: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 A67861065695 for ; Thu, 21 Jan 2010 06:19:21 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF058FC26 for ; Thu, 21 Jan 2010 06:19:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 617163A382C; Thu, 21 Jan 2010 13:19:19 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1264054759; x= 1265869159; bh=VZHL0V2zCGvaZzm77P44DMKEdqpBMTKRh/f1+z6rZHk=; b=M Cltrqo3Ov9hwfU/eTCu6YcdP90Pky+3pLlM6IFGxZi31SovOw8CM1OrKyZokeHOZ mwcZbo8iZnDZ62flcT50Ds+hGaA5+L+y8oZwO/Tcm3Sc9UvhSrlC/b1hsdvngOin iMpwzKU0rwbRYsHYkdxczJiu9wadEJnG3cQrziEuDo= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id c45fBz6BloBG; Thu, 21 Jan 2010 13:19:19 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 7E61D3A381D; Thu, 21 Jan 2010 13:19:18 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o0L6JFg2092380; Thu, 21 Jan 2010 13:19:15 +0700 (ICT) (envelope-from on) Date: Thu, 21 Jan 2010 13:19:15 +0700 (ICT) Message-Id: <201001210619.o0L6JFg2092380@banyan.cs.ait.ac.th> From: Olivier Nicole To: aryeh.friedman@gmail.com In-reply-to: <4B57EED1.9050800@gmail.com> (aryeh.friedman@gmail.com) References: <4B57EED1.9050800@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: NIS oops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 06:19:21 -0000 > is there any way to use an other machine on the net to kick start it Unless you have an account on that master server that is not depending on NIS, I see no way. Bests, Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 06:23: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 0FCB71065694 for ; Thu, 21 Jan 2010 06:23:14 +0000 (UTC) (envelope-from aryeh.friedman@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 BA8EF8FC1B for ; Thu, 21 Jan 2010 06:23:13 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so1362577qwd.7 for ; Wed, 20 Jan 2010 22:23:13 -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:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=oRLhsJOVBrDAqCbQQuSoEqUaHYLdEqT4eY5WSCfyG2Y=; b=tLEICa5NWhg+BB6PHJWpEtKZnm/VsaXU/xXPkYfxDPTARtN//QHerk7ZvEkhSMctz3 tyZqyXODAqugHxHTqYlKENLdqUw8H3iMCaL8j1zpijjuOrYbf5Uc2H+xrP/P29hfx9d8 sCcK5+QjTzAp471+Uq6/NAzduComtsAv75B0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=wmtJMGkNbJ5vgvO0UkJvhj373UZ4cJBGfx48gssxBC9m+fqD3C+WT/PWkO+VNyH+MS tF3XyrzAoy+kwbsqDYcDZLxeKqy/cSzwTiPi8pEM+tILs+o0BDSMEnURKksPRjB99VRv +3zKTYQEH9B8hxMFgRXDPA5UlSQnqqOZ7Wn6c= Received: by 10.229.14.23 with SMTP id e23mr622990qca.102.1264054993020; Wed, 20 Jan 2010 22:23:13 -0800 (PST) Received: from aryeh-desktop.istudentunion.com (ool-44c0cd7a.dyn.optonline.net [68.192.205.122]) by mx.google.com with ESMTPS id 20sm545281qyk.9.2010.01.20.22.23.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 22:23:12 -0800 (PST) Message-ID: <4B57F2D1.4090108@gmail.com> Date: Thu, 21 Jan 2010 01:23:13 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.23 (X11/20100120) MIME-Version: 1.0 To: Olivier Nicole References: <4B57EED1.9050800@gmail.com> <201001210619.o0L6JFg2092380@banyan.cs.ait.ac.th> In-Reply-To: <201001210619.o0L6JFg2092380@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: NIS oops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 06:23:14 -0000 Olivier Nicole wrote: >> is there any way to use an other machine on the net to kick start it >> > > Unless you have an account on that master server that is not depending > on NIS, I see no way. > > Bests, > > Olivier > > and thats the one error I made in setting it up likely... (I saw that note after rebooting in the handbook) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 07:12: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 CB664106566B for ; Thu, 21 Jan 2010 07:12:01 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by mx1.freebsd.org (Postfix) with ESMTP id 6CA048FC08 for ; Thu, 21 Jan 2010 07:12:00 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,315,1262563200"; d="scan'208";a="165560765" Received: from unknown (HELO glynthebearded) ([82.152.120.109]) by smtpout.karoo.kcom.com with ESMTP; 21 Jan 2010 07:11:59 +0000 Received: by glynthebearded (Postfix, from userid 1000) id 7D2F624D3B; Thu, 21 Jan 2010 07:11:53 +0000 (GMT) From: Glyn Millington MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19287.65081.250316.239094@millingtons.org> Date: Thu, 21 Jan 2010 07:11:53 +0000 To: freebsd-questions@freebsd.org X-Mailer: VM 8.0.12 under 23.1.1 (i486-pc-linux-gnu) Subject: VirtualBox - does it work for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 07:12:01 -0000 Good Morning :-) A quick question for anyone running VirtualBox on a FreeBSD _host_ machine, with Linux or Windows as a _guest_ OS. Does it work? That is, do the guest additions work fully for those guests, or are there limitations such those I experience currently when running FreeBSD 8 as the guest? (eg no access to USB, no fullscreen mode). Any major problems with a FreeBSDS host and Windows/Linux guest? atb Glyn From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 07:27: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 3F4631065670 for ; Thu, 21 Jan 2010 07:27:43 +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 C09E88FC18 for ; Thu, 21 Jan 2010 07:27:42 +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 o0L7RaxJ022326; Thu, 21 Jan 2010 08:27:36 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.2/Submit) id o0L7RZWO022325; Thu, 21 Jan 2010 08:27:35 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Thu, 21 Jan 2010 08:27:35 +0100 From: Ruben de Groot To: Steve Bertrand Message-ID: <20100121072735.GA22231@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Steve Bertrand , "freebsd-questions@freebsd.org Questions -" References: <4B57A887.2030801@ibctech.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B57A887.2030801@ibctech.ca> 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]); Thu, 21 Jan 2010 08:27:41 +0100 (CET) Cc: "freebsd-questions@freebsd.org Questions -" Subject: Re: High availability SQL server setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 07:27:43 -0000 Here's an article about multi-master replication on MySQL: http://onlamp.com/onlamp/2006/04/20/advanced-mysql-replication.html It's not rocket science ;) Ruben On Wed, Jan 20, 2010 at 08:06:15PM -0500, Steve Bertrand typed: > Hi all, > > For some time, I've been considering consolidating all/most of our SQL > databases (all MySQL) onto a single dedicated cluster setup. > > I'm looking for feedback on the best way to do this. > > All of the options I've considered so far have both their drawbacks and > benefits. From what I can tell, there's no one single way to be able to > have everything that I want. > > Off the bat, I haven't found a way to create a cluster that can have > more than one host in the cluster writable. > > My objective would be to start with two very high end boxes. One would > sit in my primary location, the other a few blocks away over a gi fibre > link. > > I would want the remote box to pick up immediately if the master server > fails. I figure I could achieve this using network trickery for IP > failover, CARP or the like and span a couple of vlans across the fibre. > > I would want each SQL server connected to separate edge routers to > ensure both server and network resilience. Each box has two GigE NICs, > so off the bat, I'd have each box doing VRRP to two separate edge gear > at each location. > > My concern is, is that I can't envision how both boxes could possibly > stay in a continuous state that would allow such fail-over, and > fail-back. (fail-back is less of a concern...if it comes to it, I'd > rebuild by hand if necessary). > > I've considered ZFS replication, but there could be several minutes > worth of snapshot missing if the primary fails. > > I already have MySQL replication in many spots, but that's only one > write master and read-only slaves. > > Can you provide any details or new ideas that I'm missing in order to > have the holy grail of SQL redundancy? > > Cheers, > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 07:44: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 CF795106566C for ; Thu, 21 Jan 2010 07:44:32 +0000 (UTC) (envelope-from uchti@i-age.net) Received: from mail.i-age.net (hurricane.i-age.net [74.54.134.194]) by mx1.freebsd.org (Postfix) with ESMTP id 9ED178FC0A for ; Thu, 21 Jan 2010 07:44:32 +0000 (UTC) Received: from [192.168.200.238] by mail.i-age.net (Crystal.Ice.Mind) with ASMTP (SSL) id UKI44575 for ; Thu, 21 Jan 2010 02:32:09 -0500 Message-ID: <4B5802F7.8030104@i-age.net> Date: Thu, 21 Jan 2010 10:32:07 +0300 From: Denis Chumachenko User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091215 Shredder/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: very low upload speed to any FTP daemons X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 07:44:32 -0000 I've tried pure-ftpd and vsftpd and got very low upload speed (~200kb/s) per a connection. but when I download on the server using wget speed is 2Mb/s on the ftpclient from which I do upload if to increase the param I/O buffer size till 1Mb upload speed increases to ~2Mb/s when I use these ftp demons on the Linux server there is no such kind of problem and I do not need to correct I/O buffer size it seems it is identified automatically on Linux. how should I set up FreeBSD to increase default I/O buffer or identify it automatically for ftp incoming connections. please advise if you are able. thanks a lot! From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 07:46: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 5435E1065676 for ; Thu, 21 Jan 2010 07:46:24 +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 BA06E8FC0C for ; Thu, 21 Jan 2010 07:46:23 +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 o0L7kJr1022412; Thu, 21 Jan 2010 08:46:19 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.2/Submit) id o0L7kJC9022411; Thu, 21 Jan 2010 08:46:19 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Thu, 21 Jan 2010 08:46:18 +0100 From: Ruben de Groot To: Steve Bertrand Message-ID: <20100121074618.GB22231@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Steve Bertrand , "Aryeh M. Friedman" , freebsd-questions@freebsd.org References: <4B57CE44.9060404@gmail.com> <4B57CEB5.2050001@gmail.com> <4B57D36A.3010303@ibctech.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B57D36A.3010303@ibctech.ca> 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]); Thu, 21 Jan 2010 08:46:22 +0100 (CET) Cc: "Aryeh M. Friedman" , freebsd-questions@freebsd.org Subject: Re: ssh to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 07:46:24 -0000 On Wed, Jan 20, 2010 at 11:09:14PM -0500, Steve Bertrand typed: > Aryeh M. Friedman wrote: > > I need to set up a machine so that I can type "ssh [host]" as root from > > some other host and I get a prompt with super user privs... I already > > have set this up for user@host for root and ssh host for normal users... > > but root still asks for a password after I set the authorized_keys file > > in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what > > option (if any) does this... if anyone is coruious the final goal here > > is to set up a sysutils/fusefs-ssh for this host (already installed and > > working for normal users but want to make it so it is done as root) > > Don't do it. > > *never* permit root-level access directly to *any* of your equipment. This is not very helpfull. In a private LAN these security mantras become a lot less obvious. You defend the LAN, not necessarily the individual systems. To Aryen: you might want to set PermitRootLogin to 'without-password' in /etc/ssh/sshd_config. That way, password authentications for root are still disabled and only users from machines with the correct private keys are allowed. Ruben > You want to provide as many levels of escalation to root level as you > can, no matter what protocol you are using. > > Auth in as a normal user (as you stated is already working), and then > use sudo(8) to escalate yourself. > > If you can already "ssh [host]" as a normal user, then you already have > the concept of keys. > > You can automate the escalation after you've authenticated, and then do > what you want to do. > > Seriously... > > ...don't do it. > > Steve > > ps. > > # pkg_add -r sudo > # rehash > # man sudo > > Then, when/if you have problems with specific functions that need root > privileges, ask those questions here instead. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 08:11:42 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 84D1D106568B for ; Thu, 21 Jan 2010 08:11:42 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id 2ACF78FC1D for ; Thu, 21 Jan 2010 08:11:41 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0L7lxI03856 for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 01:47:59 -0600 (CST) (envelope-from john) Date: Thu, 21 Jan 2010 01:47:59 -0600 From: John To: freebsd-questions@freebsd.org Message-ID: <20100121014759.B3377@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 08:11:42 -0000 I've tried the "modern BIOS" geometry and the "255 head" geometry. I've ensured that the first slice (boot slice) is smaller than 1.5 Gb. I've tried to figure out what the BIOS thinks the geometry is, but it doesn't seem to want to tell me. At least, I can't find it in the BIOS menu anywhere. When I boot from the CD-ROM with the 255 head geometry, though, it complains about the disk geometry, saying 16h,63s != 255h,63s or something like that - it flies by pretty fast (is there a way to go back and see that from the CD-ROM "boot only" boot?). I'm using the "Standard" boot manager, and the entire disk is devoted to FreeBSD. System BIOS version PT84510A.86A.2004.P05 Processor Type: Intel Pentium 4 Processor speed: 2.20Ghz Memory: 512Mb Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) Primary IDE Slave: IOMega ZIP 250 Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) Secondary IDE Slave: DVD-ROM DDU1621 Boot sequence: 1) ATAPI CD-ROM 2) Hard Drive 3) "Removable Dev." "Modern BIOS" geometry: 155061/16/63 for ad0 "calculated" geometry: 9729/255/63 for ad0 ad0s1 start=63, size=2875572 ad0s2 start=2875635, size=10217340 ad0s3 start=13092975, size=143203410 unus start=156296384, size=5103 ad0s1a / 384Mb ad0s1d /usr 1Gb ad0s2b SWAP 1Gb ad0s2d /tmp 384Mb ad0s2e /var 512Mb ad0s2f /var/mail 2Gb ad0s2g /usr/ports 1Gb ad0s3d /home/mysql 4Gb ad0s3e /home 50Gb ad0s3f /usr/src 3Gb ad0s3g /usr/obj 3Gb ad0s3h /extra 8483Mb Suggestions, please? I'm making zero headway right now. :( -- John Lind john@starfire.MN.ORG The inherent vice of capitalism is the unequal sharing of blessings; the inherent virtue of socialism is the equal sharing of miseries. - Winston Churchill From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 08:18: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 A97A9106566B for ; Thu, 21 Jan 2010 08:18:19 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 529E28FC13 for ; Thu, 21 Jan 2010 08:18:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 0B1593A382C; Thu, 21 Jan 2010 15:18:16 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1264061896; x= 1265876296; bh=O1Hvv0SMFu7kWJo1lo0LCYIKcMlyk7nUmpIl+V7a05Q=; b=l nZyIjva0DOs2BuVFAt/hxLni7Vb11BUgG4IDa54kjree3TkVmaBmOhWvd7J5Qn5I d5bByBuT0eCB59gu1EKuObgOOv4Xji0ZYpqhOZigQyB/pPm0tIrPDvHShvviJ1Ea 7Hv3w8N7XakAU8xYyfwTPwrVrpThuhGjsLjbeXRDYo= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vJscqVyzbWJU; Thu, 21 Jan 2010 15:18:16 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 29F883A381D; Thu, 21 Jan 2010 15:18:16 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o0L8IF4n093781; Thu, 21 Jan 2010 15:18:15 +0700 (ICT) (envelope-from on) Date: Thu, 21 Jan 2010 15:18:15 +0700 (ICT) Message-Id: <201001210818.o0L8IF4n093781@banyan.cs.ait.ac.th> From: Olivier Nicole To: aryeh.friedman@gmail.com In-reply-to: <4B57F2D1.4090108@gmail.com> (aryeh.friedman@gmail.com) References: <4B57EED1.9050800@gmail.com> <201001210619.o0L6JFg2092380@banyan.cs.ait.ac.th> <4B57F2D1.4090108@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: NIS oops X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 08:18:19 -0000 > and thats the one error I made in setting it up likely... (I saw that > note after rebooting in the handbook) I have been there, I have done that. Luckily my server is next door :) Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 08:29:27 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 AE9B91065672 for ; Thu, 21 Jan 2010 08:29:27 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 00C528FC13 for ; Thu, 21 Jan 2010 08:29:26 +0000 (UTC) Received: (qmail invoked by alias); 21 Jan 2010 08:29:25 -0000 Received: from pD952CFDE.dip0.t-ipconnect.de (EHLO core2duo.local) [217.82.207.222] by mail.gmx.net (mp045) with SMTP; 21 Jan 2010 09:29:25 +0100 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX1+iBbtJSOuiGRPnYdYsdwtjkZL7uWDXF0S4IfggQ+ LiewBxOp3G/03R Date: Thu, 21 Jan 2010 09:29:21 +0100 From: Andreas Rudisch To: John Message-Id: <20100121092921.5ebbf275.cyb.@gmx.net> In-Reply-To: <20100121014759.B3377@starfire.mn.org> References: <20100121014759.B3377@starfire.mn.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__21_Jan_2010_09_29_21_+0100_JUZYSuPZwbEEkwhQ" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.73999999999999999 Cc: freebsd-questions@freebsd.org Subject: Re: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 08:29:27 -0000 --Signature=_Thu__21_Jan_2010_09_29_21_+0100_JUZYSuPZwbEEkwhQ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 21 Jan 2010 01:47:59 -0600 John wrote: > Suggestions, please? I'm making zero headway right now. :( Maybe it is just me, but somehow I am missing the problem / question. Andreas -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Thu__21_Jan_2010_09_29_21_+0100_JUZYSuPZwbEEkwhQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktYEGQACgkQ8P3NNypXNWVtywCfcMlbDWuTeepVJ5M2ZWQn1+JR L0kAn1oBUX1kCBsxXMMEBG2XdiQ+xig3 =K8Rb -----END PGP SIGNATURE----- --Signature=_Thu__21_Jan_2010_09_29_21_+0100_JUZYSuPZwbEEkwhQ-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 08:38: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 120AE106566B for ; Thu, 21 Jan 2010 08:38:32 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id F2C8E8FC18 for ; Thu, 21 Jan 2010 08:38:31 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 00:38:31 -0800 Message-ID: <4B58127E.9000106@a1poweruser.com> Date: Thu, 21 Jan 2010 16:38:22 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: John References: <20100121014759.B3377@starfire.mn.org> In-Reply-To: <20100121014759.B3377@starfire.mn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Jan 2010 08:38:31.0930 (UTC) FILETIME=[1CD8C5A0:01CA9A75] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 08:38:32 -0000 John wrote: > I've tried the "modern BIOS" geometry and the "255 head" geometry. > I've ensured that the first slice (boot slice) is smaller than 1.5 > Gb. I've tried to figure out what the BIOS thinks the geometry > is, but it doesn't seem to want to tell me. At least, I can't find > it in the BIOS menu anywhere. When I boot from the CD-ROM with > the 255 head geometry, though, it complains about the disk geometry, > saying 16h,63s != 255h,63s or something like that - it flies by > pretty fast (is there a way to go back and see that from the CD-ROM > "boot only" boot?). > > I'm using the "Standard" boot manager, and the entire disk is devoted > to FreeBSD. > > System > BIOS version PT84510A.86A.2004.P05 > Processor Type: Intel Pentium 4 > Processor speed: 2.20Ghz > > Memory: 512Mb > > Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) > Primary IDE Slave: IOMega ZIP 250 > Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) > Secondary IDE Slave: DVD-ROM DDU1621 > > Boot sequence: > 1) ATAPI CD-ROM > 2) Hard Drive > 3) "Removable Dev." > > "Modern BIOS" geometry: 155061/16/63 for ad0 > "calculated" geometry: 9729/255/63 for ad0 > > ad0s1 start=63, size=2875572 > ad0s2 start=2875635, size=10217340 > ad0s3 start=13092975, size=143203410 > unus start=156296384, size=5103 > > ad0s1a / 384Mb > ad0s1d /usr 1Gb > ad0s2b SWAP 1Gb > ad0s2d /tmp 384Mb > ad0s2e /var 512Mb > ad0s2f /var/mail 2Gb > ad0s2g /usr/ports 1Gb > ad0s3d /home/mysql 4Gb > ad0s3e /home 50Gb > ad0s3f /usr/src 3Gb > ad0s3g /usr/obj 3Gb > ad0s3h /extra 8483Mb > > Suggestions, please? I'm making zero headway right now. :( What version of FreeBSD are you running???? From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 08:50:27 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 2B7191065692 for ; Thu, 21 Jan 2010 08:50:27 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id E180F8FC21 for ; Thu, 21 Jan 2010 08:50:26 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 6825C28CEC for ; Thu, 21 Jan 2010 09:50:41 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id c8pxxZxOTZfa for ; Thu, 21 Jan 2010 09:50:41 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 312E128C02 for ; Thu, 21 Jan 2010 09:50:41 +0100 (CET) From: bsd Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Thu, 21 Jan 2010 09:50:25 +0100 Message-Id: <12630C1D-E24C-4376-8B79-C0ED898755FF@todoo.biz> To: Liste FreeBSD Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Subject: [URGENT] Problem with OpenSSL openssl-0.9.8l_3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 08:50:27 -0000 I have a serious problem after an upgrade of openssl !=20 /libexec/ld-elf.so.1: Shared object "libcrypto.so.5" not found, required = by "sshd" =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing = this e-mail" From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 09:34: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 5B20A106566B for ; Thu, 21 Jan 2010 09:34:49 +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 D76258FC18 for ; Thu, 21 Jan 2010 09:34:48 +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 o0L9Yhv7083028; Thu, 21 Jan 2010 09:34:44 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0L9Yhv7083028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1264066484; bh=s6ZsbFlxOXXLjlYk1IQlGTb7ZWFaW7UPTdxoggP9y4Y=; 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<4B581FAE.1000200@infracaninophile.co.uk>|Date:=20T hu,=2021=20Jan=202010=2009:34:38=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:=20bsd=20|CC:=20Liste=20FreeBSD=20|Subject:=20Re:=20[URGENT]=20Problem=2 0with=20OpenSSL=20openssl-0.9.8l_3|References:=20<12630C1D-E24C-43 76-8B79-C0ED898755FF@todoo.biz>|In-Reply-To:=20<12630C1D-E24C-4376 -8B79-C0ED898755FF@todoo.biz>|X-Enigmail-Version:=200.95.6|Content -Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20prot ocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-------- ----enigA5212459A7B2CB90068A5AEC"; b=cCShAMqlIjSZvq5AKIJU+QjyfHD2IuLf6FuGKMoxjrEBfx5vISMuX1OChSGxcf/7W Ti94kD4/W81FmmoN2652oGR8qOpdt6A5PKb2MCW9XotWAK4gxOlrYQPA8C15+k3KWX Zzik1lLqVHuixxqnS66ROIlw9OwtqX3NbhdC+BAY= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B581FAE.1000200@infracaninophile.co.uk> Date: Thu, 21 Jan 2010 09:34:38 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: bsd References: <12630C1D-E24C-4376-8B79-C0ED898755FF@todoo.biz> In-Reply-To: <12630C1D-E24C-4376-8B79-C0ED898755FF@todoo.biz> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigA5212459A7B2CB90068A5AEC" 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: Liste FreeBSD Subject: Re: [URGENT] Problem with OpenSSL openssl-0.9.8l_3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 09:34:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA5212459A7B2CB90068A5AEC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable bsd wrote: > I have a serious problem after an upgrade of openssl !=20 >=20 > /libexec/ld-elf.so.1: Shared object "libcrypto.so.5" not found, require= d by "sshd" Yes. The ABI version on the shlibs from the openssl port was incremented= =2E You need to recompile everything that links against them: # portupgrade -fr openssl-0.9.8l_3 There should probably be a warning in /usr/ports/UPDATING to that effect.= 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 --------------enigA5212459A7B2CB90068A5AEC 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 iEYEAREIAAYFAktYH7MACgkQ8Mjk52CukIwdlQCfRu7sifyvWVFGN5ia4FeL/LlK xLMAn0p1NuRSoI3uXMXA3CyCXc/iAJOO =abY2 -----END PGP SIGNATURE----- --------------enigA5212459A7B2CB90068A5AEC-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 10:03: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 A9B9D106566C for ; Thu, 21 Jan 2010 10:03: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 44FD48FC18 for ; Thu, 21 Jan 2010 10:03: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 6751553 for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 11:02:52 +0100 Message-ID: <4B581838.8010107@kukulies.org> Date: Thu, 21 Jan 2010 10:02:48 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 10:03:06 -0000 I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my Desktop PC and install 8.0 from it. Now I plugged the same stick into my Dell Inspiron 9400 and the USB stick (2GB) is not even listed in the F12 Bios boot menu. Any clues? -- Christoph From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 10:18: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 CE17C1065676 for ; Thu, 21 Jan 2010 10:18:34 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 8C0028FC15 for ; Thu, 21 Jan 2010 10:18:34 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 1526628E37 for ; Thu, 21 Jan 2010 11:18:48 +0100 (CET) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ldjFEo5lazfW for ; Thu, 21 Jan 2010 11:18:46 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 377B128DD2 for ; Thu, 21 Jan 2010 10:03:13 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1077) From: bsd In-Reply-To: <12630C1D-E24C-4376-8B79-C0ED898755FF@todoo.biz> Date: Thu, 21 Jan 2010 10:02:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <12630C1D-E24C-4376-8B79-C0ED898755FF@todoo.biz> To: Liste FreeBSD X-Mailer: Apple Mail (2.1077) Subject: Re: [URGENT] Problem with OpenSSL openssl-0.9.8l_3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 10:18:34 -0000 I have downgraded to openssl-0.9.8l_1 and It has solved my problem=85=20 openssl-0.9.8l_3 is obviously boggus !=20 Le 21 janv. 2010 =E0 09:50, bsd a =E9crit : > I have a serious problem after an upgrade of openssl !=20 >=20 > /libexec/ld-elf.so.1: Shared object "libcrypto.so.5" not found, = required by "sshd" >=20 >=20 >=20 >=20 > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF >=20 > P "Please consider your environmental responsibility before printing = this e-mail" >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing = this e-mail" From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 10:37:23 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 DD3ED1065695 for ; Thu, 21 Jan 2010 10:37:23 +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 4CDB68FC2E for ; Thu, 21 Jan 2010 10:37:22 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXuPf-0002OC-7C for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 11:37:19 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2010 11:37:19 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2010 11:37:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 21 Jan 2010 11:37:03 +0100 Lines: 23 Message-ID: References: <19287.65081.250316.239094@millingtons.org> 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: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20100118 Thunderbird/3.0 In-Reply-To: <19287.65081.250316.239094@millingtons.org> Sender: news Subject: Re: VirtualBox - does it work for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 10:37:27 -0000 On 01/21/10 08:11, Glyn Millington wrote: > > Good Morning :-) > > A quick question for anyone running VirtualBox on a FreeBSD _host_ > machine, with Linux or Windows as a _guest_ OS. > > > Does it work? Yes. > at is, do the guest additions work fully for those guests, or are > there limitations such those I experience currently when running > FreeBSD 8 as the guest? (eg no access to USB, no fullscreen mode). You are right about USB and probably about fullscreen mode. "seamless" mode works at least for Windows. > Any major problems with a FreeBSDS host and Windows/Linux guest? You might have problems with using virtual SMP. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 10:47: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 27562106566C for ; Thu, 21 Jan 2010 10:47:43 +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 D64C38FC14 for ; Thu, 21 Jan 2010 10:47:42 +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 1NXuZI-0007KA-4W; Thu, 21 Jan 2010 11:47:20 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0LAlJYL002079; Thu, 21 Jan 2010 11:47:19 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0LAlJTL002078; Thu, 21 Jan 2010 11:47:19 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 21 Jan 2010 11:47:18 +0100 From: Matthias Apitz To: Bas Smeelen Message-ID: <20100121104718.GA2032@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: Thu, 21 Jan 2010 10:47:43 -0000 El día Thursday, January 14, 2010 a las 01:40:26PM +0100, Bas Smeelen escribió: > > > >> I use Freecom hard drive XS 1.5TB USB2.0 on our fallback servers as > >> back-up disks. > >> These are always connected to the servers for over half a year now. > >> I have not had any problems with them and the price was ok. > >> da1 at umass-sim0 bus 0 target 0 lun 0 > >> da1: Fixed Direct Access SCSI-2 device > >> da1: 40.000MB/s transfers > >> da1: 1430799MB (2930277168 512 byte sectors: 255H 63S/T 182401C) > >> /dev/da1s1d on /usr/home/www/backup (ufs, local, soft-updates) > >> This is on FreeBSD 7.2-RELEASE-p6 > >> > > I have had two hard locks of the kernel until now using this drive; the 1st while running the dump(1M) (a second dump went fine); the 2nd while uncompressing the 88 GByte file of such a dump; this is with FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 09:55:14 CET 2010 guru@current.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 the 8-CURRENT is from CVS from May, 2009. Are there any know issues with USB drives on havy load? Thx 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 Thu Jan 21 10:55: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 B51BB106566B for ; Thu, 21 Jan 2010 10:55:19 +0000 (UTC) (envelope-from dcdowse@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 09C988FC0C for ; Thu, 21 Jan 2010 10:55:18 +0000 (UTC) Received: (qmail invoked by alias); 21 Jan 2010 10:55:17 -0000 Received: from p4FD4EE69.dip.t-dialin.net (EHLO bytebox) [79.212.238.105] by mail.gmx.net (mp010) with SMTP; 21 Jan 2010 11:55:17 +0100 X-Authenticated: #30106961 X-Provags-ID: V01U2FsdGVkX19GAFcDOFdG5NkaKfSyu8G3cGfP2mgjnh9C2wRV4/ piTzL/x8MkacR1 Date: Thu, 21 Jan 2010 11:55:16 +0100 From: "Daniel C. Dowse" To: freebsd-questions@freebsd.org Message-Id: <20100121115516.299c841d.dcdowse@gmx.net> In-Reply-To: <19287.65081.250316.239094@millingtons.org> References: <19287.65081.250316.239094@millingtons.org> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.11; i386-unknown-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64000000000000001 Subject: Re: VirtualBox - does it work for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 10:55:19 -0000 On Thu, 21 Jan 2010 07:11:53 +0000 at Glyn Millington wrote: > >Good Morning :-) > >A quick question for anyone running VirtualBox on a FreeBSD _host_ >machine, with Linux or Windows as a _guest_ OS. > > >Does it work? > > >That is, do the guest additions work fully for those guests, or are >there limitations such those I experience currently when running >FreeBSD 8 as the guest? (eg no access to USB, no fullscreen mode). >Any major problems with a FreeBSDS host and Windows/Linux guest? > >atb for Guest OS Windows XP Pro SP2 : I used to mount usb & disc drives, outside of VB and access the Volumes as a SMB Network Share. Fullscreen Works after installing the Host Utilities for Windows. best regards Daniel -- \\|// (o o) -----------ooO-(_)-Ooo---------------------------- - Unix is a computer virus with a user interface - -------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 12:06: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 B5DB81065670 for ; Thu, 21 Jan 2010 12:06:30 +0000 (UTC) (envelope-from abalour@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4C78FC18 for ; Thu, 21 Jan 2010 12:06:29 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so706354eyd.9 for ; Thu, 21 Jan 2010 04:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=gFR7qkPZBvEwjAM8TafT8MhoYffwq/1tqZp5XyxVlRg=; b=JbT9dU+fgUsKHD9VTU43nxIiCcFlyh02E4ibi7hSEz76baN8bCs8kSjtKH+aK5FBxN 8+Ya5cFodIAWBFeCk/RrlHDeBT2RsC+OTMtXJ65qU/4y4OR2sFFF9CQQSHkUH6++5h7l h3zVFxU6R0TpTSjZNCl/wfkO8OBUiI9/NqtVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=kmkbd780nRf4xM+WPuCFowivDAwLedppZ+xivPH7N6ufl8ohFiPHFlgki8puPv2B/1 /oUA6uFYutEqCivDwFC55bPlzwGJsym1SY+6CJrSVmuRhpu7f3aIyN4tYUZbWZL5PqNt GDXpxs0nRVM7ZoUhDsjmI9x/F/IvQEe7g8CtU= MIME-Version: 1.0 Received: by 10.213.73.204 with SMTP id r12mr1249528ebj.72.1264075589178; Thu, 21 Jan 2010 04:06:29 -0800 (PST) In-Reply-To: <00bf01ca9a45$51a26aa0$f4e73fe0$@com.vn> References: <00bf01ca9a45$51a26aa0$f4e73fe0$@com.vn> From: Ross Cameron Date: Thu, 21 Jan 2010 14:06:09 +0200 Message-ID: <35f70db11001210406j52212ea0w6040a38aa38ecc4d@mail.gmail.com> To: Truong Thu Bac Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Receive email from Exchange 2003 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ross.cameron@linuxpro.co.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 12:06:30 -0000 On Thu, Jan 21, 2010 at 4:56 AM, Truong Thu Bac wrote: > Dear Mr/Ms, > > > > I want to build a Internal Email System between a PC with FreeBSD OS and > Exchange 2003 (Email Server) > > > > Current, I got =C2=A0a Proxy Server (IP:10.20.1.10) within FreeBSD OS. I > installed Sendemail Software and Qpopper Software. > > I tried to send and receive emai, this blow is result: > > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Send Email: =C2=A0 =C2=A0 =C2=A0= >From 10.20.1.10 =C2=A0to Email Exchange 2003 System > =C3=A0 YES > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0From 10.20.1.10 to 10.2= 0.1.10 =C3=A0 YES > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Receive Email: =C2=A0 From Email= Exchange 2003 System to 10.20.1.10 > =C3=A0 NO > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 From 10.20.1.10 to 10.= 20.1.10 =C2=A0=C3=A0 YES > > Could you please kindly give a Solution for this ? > > If you have any question, please contact with me. > > > > Thank you very much . > > > > Regards, > > VBAC Just use Novell Evolution, no need for proxying of data at all. --=20 "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 12:38: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 A060B106566B for ; Thu, 21 Jan 2010 12:38:34 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 3D6258FC17 for ; Thu, 21 Jan 2010 12:38:33 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl; Thu, 21 Jan 2010 13:37:54 +0100 Message-ID: <4B584AA3.1010403@ose.nl> Date: Thu, 21 Jan 2010 13:37:55 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Matthias Apitz 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> <20100121104718.GA2032@current.Sisis.de> In-Reply-To: <20100121104718.GA2032@current.Sisis.de> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 12:38:34 -0000 Matthias Apitz wrote=3A =3E El d=ED=61=20Thursday=2C January 14=2C 2010 a las 01=3A40=3A26PM +0100= =2C Bas Smeelen escribi=F3=3A=0D=0A=3E =3E =20 =3E=3E=3E=3E I use Freecom hard drive XS 1=2E5TB USB2=2E0 on our fallback s= ervers as =3E=3E=3E=3E back-up disks=2E =3E=3E=3E=3E These are always connected to the servers for over half a year= now=2E =3E=3E=3E=3E I have not had any problems with them and the price was ok=2E= =3E=3E=3E=3E da1 at umass-sim0 bus 0 target 0 lun 0 =3E=3E=3E=3E da1=3A =3CFreecom Hard Drive XS 1=2E00=3E Fixed Direct Access= SCSI-2 device =3E=3E=3E=3E da1=3A 40=2E000MB/s transfers =3E=3E=3E=3E da1=3A 1430799MB =282930277168 512 byte sectors=3A 255H 63S/T= 182401C=29 =3E=3E=3E=3E /dev/da1s1d on /usr/home/www/backup =28ufs=2C local=2C soft-up= dates=29 =3E=3E=3E=3E This is on FreeBSD 7=2E2-RELEASE-p6 =3E=3E=3E=3E =20 =3E=3E=3E=3E =20 =3E =3E I have had two hard locks of the kernel until now using this drive=3B= =3E =3E the 1st while running the dump=281M=29 =28a second dump went fine=29=3B= =3E the 2nd while uncompressing the 88 GByte file of such a dump=3B =3E =3E this is with =3E FreeBSD current=2ESisis=2Ede 8=2E0-CURRENT FreeBSD 8=2E0-CURRENT =235= =3A Sun Jan 10 09=3A55=3A14 CET 2010 guru=40current=2ESisis=2Ede=3A/usr= /obj/usr/src/sys/GENERIC i386 =3E =3E the 8-CURRENT is from CVS from May=2C 2009=2E Are there any know issues= with =3E USB drives on havy load=3F =3E =20 I have been tarring=2C gzipping and untarring files on the usb disk and don=27t run into any trouble=2E I also used dump to backup /usr to this disk without any problems But this is on FreeBSD 7=2E2-RELEASE-p6 Are there any messages in /var/log/messages=3F DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you have received it by mistake please let us know by reply and then del= ete it from your system=2E From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 06:24: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 427EE1065672 for ; Thu, 21 Jan 2010 06:24:32 +0000 (UTC) (envelope-from rajesh_comp09@ymail.com) Received: from web95309.mail.in2.yahoo.com (web95309.mail.in2.yahoo.com [203.104.18.209]) by mx1.freebsd.org (Postfix) with SMTP id 3DDE28FC0C for ; Thu, 21 Jan 2010 06:24:30 +0000 (UTC) Received: (qmail 38406 invoked by uid 60001); 21 Jan 2010 05:57:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1264053468; bh=q2YMyFvjbL9iP2/iOuTIulO8iUWzL2ccUGwWNgxtVfU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=FaoVmVsI5edi16N1hETzXavq3MDOSS8xKyQWJA9+Fb1JXfxJGNnKLYq7QCrRZ7/Uxp7moqhlSFL0l75litGC3zcx91/H8UlzduIpl0jw/lkfnvm8JAVQLVSCUnBATs1Q96SowyrBWR8rIP6cMUv7eIQksd5VlTGeJZFqpfHvUIk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=xqcYIH8Q1MuhaIY7zyT21LaY9os7GZniWli2M7D9p6Rk2kBz72QaKTl3IyNs/8kSJq6oAJJkdSKVkzTG/kjmNxIZ2dzYJFUldzv8GMIhkWjgTd6TvrRwgsoXdDdsdYYoh9OTNSGAYjSmRjAR1lzN2sYuSI1Ep10DbcCi2H/9C98=; Message-ID: <826729.38008.qm@web95309.mail.in2.yahoo.com> X-YMail-OSG: FLBN1ggVM1lkRcvXUQ_B0hOWLAtfn67RKAImlxMmaDMnSfmyOHtclFQZ7PV6.lSZtTK23JKVKNG8tvjC86P7gdJkuXqwg5qwhKK1gCOC.R1ytYv_0pFaeswUpQF.Ephe3p3DjhsaNw.53Hu2qVED.JAm6hnHCGeTWRa2Pvb1mdLn8zLVhQbgttoO3_jXqcdKFbOGQPTB8.8q.QpKGRbRz7uR7cGis4UDqjnVW3_WIAw9PPMBa5m.Zjt94MewVVOi0SshqQ8U Received: from [117.254.8.86] by web95309.mail.in2.yahoo.com via HTTP; Thu, 21 Jan 2010 11:27:48 IST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 Date: Thu, 21 Jan 2010 11:27:48 +0530 (IST) From: Rajesh Makwana To: "freebsd-questions@FreeBSD.org" MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 21 Jan 2010 12:39:29 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Request for a free CD of Free BSD software through POST(for FREE OF COST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 06:24:32 -0000 Respected Sir, =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 My= self Rajesh D Makwana from ahmedabad, india, a computer engineer,kindly req= uest you for a free cd of free bsd software to install it on my computer. I= f your firm provide a free of cost service to provide this open source soft= ware to people round the world just like UBUNTU does, than please reply me = how can i be able to get this software. Kindly please reply me and solve my= query regarding for the same. =A0 =A0 Thanking You =A0 Rajesh=0A=0A=0A The INTERNET now has a personality. YOURS! See your Ya= hoo! Homepage. http://in.yahoo.com/ From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 12:52:08 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 D6033106566B for ; Thu, 21 Jan 2010 12:52:08 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id 90B8C8FC12 for ; Thu, 21 Jan 2010 12:52:08 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0LCq6E08642; Thu, 21 Jan 2010 06:52:06 -0600 (CST) (envelope-from john) Date: Thu, 21 Jan 2010 06:52:06 -0600 From: John To: Fbsd1 Message-ID: <20100121065206.B8574@starfire.mn.org> References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <4B58127E.9000106@a1poweruser.com>; from fbsd1@a1poweruser.com on Thu, Jan 21, 2010 at 04:38:22PM +0800 Cc: freebsd-questions@freebsd.org Subject: Re: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 12:52:08 -0000 On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: > John wrote: > > I've tried the "modern BIOS" geometry and the "255 head" geometry. > > I've ensured that the first slice (boot slice) is smaller than 1.5 > > Gb. I've tried to figure out what the BIOS thinks the geometry > > is, but it doesn't seem to want to tell me. At least, I can't find > > it in the BIOS menu anywhere. When I boot from the CD-ROM with > > the 255 head geometry, though, it complains about the disk geometry, > > saying 16h,63s != 255h,63s or something like that - it flies by > > pretty fast (is there a way to go back and see that from the CD-ROM > > "boot only" boot?). > > > > I'm using the "Standard" boot manager, and the entire disk is devoted > > to FreeBSD. > > > > System > > BIOS version PT84510A.86A.2004.P05 > > Processor Type: Intel Pentium 4 > > Processor speed: 2.20Ghz > > > > Memory: 512Mb > > > > Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) > > Primary IDE Slave: IOMega ZIP 250 > > Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) > > Secondary IDE Slave: DVD-ROM DDU1621 > > > > Boot sequence: > > 1) ATAPI CD-ROM > > 2) Hard Drive > > 3) "Removable Dev." > > > > "Modern BIOS" geometry: 155061/16/63 for ad0 > > "calculated" geometry: 9729/255/63 for ad0 > > > > ad0s1 start=63, size=2875572 > > ad0s2 start=2875635, size=10217340 > > ad0s3 start=13092975, size=143203410 > > unus start=156296384, size=5103 > > > > ad0s1a / 384Mb > > ad0s1d /usr 1Gb > > ad0s2b SWAP 1Gb > > ad0s2d /tmp 384Mb > > ad0s2e /var 512Mb > > ad0s2f /var/mail 2Gb > > ad0s2g /usr/ports 1Gb > > ad0s3d /home/mysql 4Gb > > ad0s3e /home 50Gb > > ad0s3f /usr/src 3Gb > > ad0s3g /usr/obj 3Gb > > ad0s3h /extra 8483Mb > > > > Suggestions, please? I'm making zero headway right now. :( > > What version of FreeBSD are you running???? Well, yes, I suppose that would be a good bit of information! What I'm *TRYING* to run is 8.0. It seems to install successfully (of course - after doing all that), but then when I try to boot from the hard drive, I see an otherwise-blank screen that says: Invalid partition table and that's as far as it goes! > _______________________________________________ > 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" -- John Lind john@starfire.MN.ORG The inherent vice of capitalism is the unequal sharing of blessings; the inherent virtue of socialism is the equal sharing of miseries. - Winston Churchill From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 13:02: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 2477D106566C for ; Thu, 21 Jan 2010 13:02:37 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id BA9FB8FC17 for ; Thu, 21 Jan 2010 13:02:36 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 14:02:35 +0100 Message-ID: <4B58506C.1080901@ose.nl> Date: Thu, 21 Jan 2010 14:02:36 +0100 From: Bas Smeelen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <826729.38008.qm@web95309.mail.in2.yahoo.com> In-Reply-To: <826729.38008.qm@web95309.mail.in2.yahoo.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Request for a free CD of Free BSD software through POST(for FREE OF COST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 13:02:37 -0000 Rajesh Makwana wrote=3A =3E Respected Sir=2C =3E Myself Rajesh D Makwana from ahmedabad=2C indi= a=2C a computer engineer=2Ckindly request you for a free cd of free bsd sof= tware to install it on my computer=2E If your firm provide a free of cost s= ervice to provide this open source software to people round the world just= like UBUNTU does=2C than please reply me how can i be able to get this sof= tware=2E Kindly please reply me and solve my query regarding for the same= I am not aware of the internet connectivity in your situation=2C but maybe= you are able to download the iso files and burn them to cd=3F Here=27s a list of the mirror sites=3A http=3A//www=2Efreebsd=2Eorg/doc/en=5FUS=2EISO8859-1/books/handbook/mirrors= -ftp=2Ehtml You can then go to the ISO-IMAGES-* subdirectories on a mirror site and download the appropriate files=2E I would also suggest to take a look at the handbook=3A http=3A//www=2Efreebsd=2Eorg/doc/en=5FUS=2EISO8859-1/books/handbook/index= =2Ehtml DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Access=2C disclosure=2C copying=2C distribution or reliance on any of it by= anyone else is prohibited=2E If you have received it by mistake please let us know by reply and then del= ete it from your system=2E From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 13:07: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 80365106566B for ; Thu, 21 Jan 2010 13:07:52 +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 122F98FC17 for ; Thu, 21 Jan 2010 13:07:51 +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 1NXwlD-0000rM-Vu; Thu, 21 Jan 2010 14:07:47 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o0LD7hPG003009; Thu, 21 Jan 2010 14:07:43 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o0LD7hZY003008; Thu, 21 Jan 2010 14:07:43 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Thu, 21 Jan 2010 14:07:43 +0100 From: Matthias Apitz To: Bas Smeelen Message-ID: <20100121130743.GA2976@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> <20100121104718.GA2032@current.Sisis.de> <4B584AA3.1010403@ose.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B584AA3.1010403@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: Thu, 21 Jan 2010 13:07:52 -0000 El día Thursday, January 21, 2010 a las 01:37:55PM +0100, Bas Smeelen escribió: > > I have had two hard locks of the kernel until now using this drive; > > > > the 1st while running the dump(1M) (a second dump went fine); > > the 2nd while uncompressing the 88 GByte file of such a dump; > > > > this is with > > FreeBSD current.Sisis.de 8.0-CURRENT FreeBSD 8.0-CURRENT #5: Sun Jan 10 09:55:14 CET 2010 guru@current.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 > > > > the 8-CURRENT is from CVS from May, 2009. Are there any know issues with > > USB drives on havy load? > > > I have been tarring, gzipping and untarring files on the usb disk and > don't run into any trouble. > I also used dump to backup /usr to this disk without any problems > But this is on FreeBSD 7.2-RELEASE-p6 > > Are there any messages in /var/log/messages? There is nothing in the messages; 1st lock: Jan 19 10:18:21 current wpa_supplicant[433]: WPA: Group rekeying completed with 00:23:69:2f:04:9c [GTK=TKIP] Jan 19 10:21:16 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS Jan 19 10:51:59 current syslogd: kernel boot file is /boot/kernel/kernel Jan 19 10:51:59 current kernel: Copyright (c) 1992-2009 The FreeBSD Project. 2nd lock: Jan 21 10:59:35 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS Jan 21 11:01:50 current kernel: pid 2919 (soffice.bin), uid 1001: exited on signal 11 Jan 21 11:04:37 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS Jan 21 11:09:40 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS Jan 21 11:14:43 current wpa_supplicant[433]: CTRL-EVENT-SCAN-RESULTS Jan 21 11:22:25 current syslogd: kernel boot file is /boot/kernel/kernel Jan 21 11:22:25 current kernel: Copyright (c) 1992-2009 The FreeBSD Project. -- 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 Thu Jan 21 14:14: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 A41A2106566B for ; Thu, 21 Jan 2010 14:14:39 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 8D74D8FC0C for ; Thu, 21 Jan 2010 14:14:39 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 06:14:37 -0800 Message-ID: <4B586142.3020404@a1poweruser.com> Date: Thu, 21 Jan 2010 22:14:26 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Christoph Kukulies References: <4B581838.8010107@kukulies.org> In-Reply-To: <4B581838.8010107@kukulies.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Jan 2010 14:14:38.0936 (UTC) FILETIME=[1151AD80:01CA9AA4] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 14:14:39 -0000 Christoph Kukulies wrote: > I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my > Desktop PC and install 8.0 > from it. > > Now I plugged the same stick into my Dell Inspiron 9400 and the USB > stick (2GB) is not even listed in the F12 Bios boot menu. > > Any clues? > > -- > 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" > > Older pc's have bios which do not have option to boot from USB stick. I think that is so in your case. Check mfg website for bios update. If not you are SOL. (shit outof luck) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 14:26: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 7578E1065672 for ; Thu, 21 Jan 2010 14:26:30 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 318428FC08 for ; Thu, 21 Jan 2010 14:26:29 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0LE9L7Q016988; Thu, 21 Jan 2010 09:09:21 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o0LE9L30016987; Thu, 21 Jan 2010 09:09:21 -0500 (EST) (envelope-from jerrymc) Date: Thu, 21 Jan 2010 09:09:21 -0500 From: Jerry McAllister To: "Aryeh M. Friedman" Message-ID: <20100121140921.GB16927@gizmo.acns.msu.edu> References: <4B57CE44.9060404@gmail.com> <4B57CEB5.2050001@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B57CEB5.2050001@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: ssh to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 14:26:30 -0000 On Wed, Jan 20, 2010 at 10:49:09PM -0500, Aryeh M. Friedman wrote: > I need to set up a machine so that I can type "ssh [host]" as root from > some other host and I get a prompt with super user privs... I already > have set this up for user@host for root and ssh host for normal users... > but root still asks for a password after I set the authorized_keys file > in ~root/.ssh.. I have looked at ssh_config(5) but can't tell what > option (if any) does this... if anyone is coruious the final goal here > is to set up a sysutils/fusefs-ssh for this host (already installed and > working for normal users but want to make it so it is done as root) If you can stand to do it in two steps, put your non-root id in the wheel group (in /ec/group). Then ssh and log as the non-root user and then su(1) to root. As some have said, do not directly log in as root over the net if you can possibly avoid it. ////jerry > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 15:17:26 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 EADC01065679 for ; Thu, 21 Jan 2010 15:17:26 +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 849658FC1A for ; Thu, 21 Jan 2010 15:17:26 +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 6751782; Thu, 21 Jan 2010 16:17:19 +0100 Message-ID: <4B5861E1.7030800@kukulies.org> Date: Thu, 21 Jan 2010 15:17:05 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Fbsd1 References: <4B581838.8010107@kukulies.org> <4B586142.3020404@a1poweruser.com> In-Reply-To: <4B586142.3020404@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 15:17:27 -0000 Fbsd1 schrieb: > Christoph Kukulies wrote: >> I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my >> Desktop PC and install 8.0 >> from it. >> >> Now I plugged the same stick into my Dell Inspiron 9400 and the USB >> stick (2GB) is not even listed in the F12 Bios boot menu. >> >> Any clues? >> >> -- >> 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" >> >> > Older pc's have bios which do not have option to boot from USB stick. > I think that is so in your case. Check mfg website for bios update. > If not you are SOL. (shit outof luck) I can boot USB sticks in general from that notebook/BIOS. That Dell 9400 isn't that old. Today I tried an another USB stick (16GB) an Ubuntu 9.04 boot image and it worked fine. I saw the boot device under F12 in the bootable device menu. It's definitely not the BIOS. Could be some partition problem (active partition?). Why is it part #4 btw, that FreeBSD resides in and not part #1 ? I followed some FreeBSD howto, if I'm not wrong, to bring the ISO to the USB stick. Think it was a tool from HP to write it to the stick. -- Christoph From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 15:32: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 7F78B106566C for ; Thu, 21 Jan 2010 15:32:03 +0000 (UTC) (envelope-from henry.olyer@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 188628FC1A for ; Thu, 21 Jan 2010 15:32:02 +0000 (UTC) Received: by fxm10 with SMTP id 10so96172fxm.34 for ; Thu, 21 Jan 2010 07:32:01 -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=gFm32vc0WCamZdtlvHeXzGkR4inMxy6SRWF3us1ERew=; b=c4sRF4abB4vZL6XPndPisPHl/0Cwbe5g1fdVTGXCbFY5CTwsRw0OjoblYhEQ4PWRpg zVJJ1KO2YhcXDrgo/fBp1ILHNqfCpx3kA0yjuzggRgEf5r9G56cZp+CCNEnPMk8SLU+U 6Vy2Dt7V9ON+EILe6N+XZ94NLs5vOhKxxIEa0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QSM8q1ChInGAShN6CakOREO2BpITvH81ximrS6rBNw/02o4P93q9PAmBwGM2InKGM5 iF9DYHyt4RaU/k4i1FegPvWiZYw96fMVD3KoOfdvSppG43YzrW3zBwZuAdfSm+jKm+7A hfbu1X4oO+Q5SdEyLNmJat3LKSV1apQBJtKEY= MIME-Version: 1.0 Received: by 10.223.143.70 with SMTP id t6mr1544873fau.101.1264087921778; Thu, 21 Jan 2010 07:32:01 -0800 (PST) Date: Thu, 21 Jan 2010 10:32:01 -0500 Message-ID: <1d7089c41001210732t233bdf46pbbc2ab5be1fdd360@mail.gmail.com> From: Henry Olyer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hardening FreeBSD, already using GBDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 15:32:03 -0000 For example, the editor I use normally writes to /tmp -- I changed that, making it slower, but in the event that someone takes my laptop I want to sleep at night. I've no problem letting some poor person make a windoz machine out of my laptop -- but I don't want to share my work, my intellectual property. (I do research.) So, I'm looking for a list of changes to make, hacks really, that will further tighten up security. Can you point me to such a list of to-do's, please. Just send mail to henry.olyer@gmail.com --jg From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 15:51: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 8A942106566B for ; Thu, 21 Jan 2010 15:51:55 +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 472E38FC12 for ; Thu, 21 Jan 2010 15:51:55 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NXzK4-00054X-6w for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 16:51:52 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2010 16:51:52 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jan 2010 16:51:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 21 Jan 2010 16:51:37 +0100 Lines: 20 Message-ID: References: <1d7089c41001210732t233bdf46pbbc2ab5be1fdd360@mail.gmail.com> 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: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20100118 Thunderbird/3.0 In-Reply-To: <1d7089c41001210732t233bdf46pbbc2ab5be1fdd360@mail.gmail.com> Sender: news Subject: Re: hardening FreeBSD, already using GBDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 15:51:55 -0000 On 01/21/10 16:32, Henry Olyer wrote: > For example, the editor I use normally writes to /tmp -- I changed that, > making it slower, but in the event that someone takes my laptop I want to > sleep at night. If you use a swap-backed memory drive (see http://man.freebsd.org/mdconfig) for /tmp and use geli to encrypt the swap, there would be no chance of recovery of your temporary files. > I've no problem letting some poor person make a windoz machine out of my > laptop -- but I don't want to share my work, my intellectual property. (I > do research.) > > So, I'm looking for a list of changes to make, hacks really, that will > further tighten up security. You did not specify anything really exact. You already encrypt your on-disk data. Do you always use encrypted network protocols like ssh and https? Strong passwords? Adequate physical security? Up-to-date software? From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 16:26:05 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 A64C0106566B for ; Thu, 21 Jan 2010 16:26:05 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 5F4518FC08 for ; Thu, 21 Jan 2010 16:26:05 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0LGPLIk017500; Thu, 21 Jan 2010 11:25:21 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o0LGPLIr017499; Thu, 21 Jan 2010 11:25:21 -0500 (EST) (envelope-from jerrymc) Date: Thu, 21 Jan 2010 11:25:21 -0500 From: Jerry McAllister To: Henry Olyer Message-ID: <20100121162521.GA17337@gizmo.acns.msu.edu> References: <1d7089c41001210732t233bdf46pbbc2ab5be1fdd360@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d7089c41001210732t233bdf46pbbc2ab5be1fdd360@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: hardening FreeBSD, already using GBDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 16:26:05 -0000 On Thu, Jan 21, 2010 at 10:32:01AM -0500, Henry Olyer wrote: > For example, the editor I use normally writes to /tmp -- I changed that, > making it slower, but in the event that someone takes my laptop I want to > sleep at night. > > I've no problem letting some poor person make a windoz machine out of my > laptop -- but I don't want to share my work, my intellectual property. (I > do research.) > > So, I'm looking for a list of changes to make, hacks really, that will > further tighten up security. > > Can you point me to such a list of to-do's, please. Just send mail to > henry.olyer@gmail.com If you encrypt everything on disk and make sure the machine is powered off any time you leave it, there is not much else you can do to protect it from physical access. That is, if someone can get their grubby little fingers on it, there is little you can do to absolutely prevent them from getting to the data. If they have physical access, they have the same tools you do. There are things such as putting on a BIOS password and encrypting everything and powering it off when it is not in your hands that can make it more difficult, but nothing that totally prevents seeing your stuff. You could remove the hard disk and take it with you everywhere. The only complete security is never to store your data anywhere - on a computer, on paper, even in your head -- you might talk in your sleep. So, make a good effort to make it difficult and then just resign yourself to living in the real world. ////jerry > > --jg > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 16:28: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 BCC2C106568B for ; Thu, 21 Jan 2010 16:28:37 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 828A58FC1C for ; Thu, 21 Jan 2010 16:28:37 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id B03E9136BE4 for ; Thu, 21 Jan 2010 17:28:36 +0100 (CET) Received: from mail (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 95CE31054420 for ; Thu, 21 Jan 2010 17:28:36 +0100 (CET) Received: from lisa.esiee.fr (lisa [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 85BF1105441D for ; Thu, 21 Jan 2010 17:28:36 +0100 (CET) Message-ID: <4B5880B4.2070900@esiee.fr> Date: Thu, 21 Jan 2010 17:28:36 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091216 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to activate French locale ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 16:28:37 -0000 Hello The question is in the subject :-) Thanks a lot From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 16:33: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 A44551065670 for ; Thu, 21 Jan 2010 16:33:40 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 66F3B8FC0C for ; Thu, 21 Jan 2010 16:33:39 +0000 (UTC) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id 5EF9010EE01; Thu, 21 Jan 2010 17:35:04 +0100 (CET) Message-ID: <4B5881EE.7000808@eskk.nu> Date: Thu, 21 Jan 2010 17:33:50 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: Frank Bonnet References: <4B5880B4.2070900@esiee.fr> In-Reply-To: <4B5880B4.2070900@esiee.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Troback-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 5EF9010EE01.AB89E X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-From: leslie@eskk.nu X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: How to activate French locale ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 16:33:40 -0000 01/21/10 17:28, Frank Bonnet skrev: > Hello > > The question is in the subject :-) > > Thanks a lot > _______________________________________________ > 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" http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/lang-setup.html /Leslie From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 16:40: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 1F1D310656A7 for ; Thu, 21 Jan 2010 16:40:06 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id CEB8C8FC18 for ; Thu, 21 Jan 2010 16:40:05 +0000 (UTC) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 27383145594DB; Thu, 21 Jan 2010 17:40:04 +0100 (CET) Received: from [77.176.222.126] (helo=grissom.einundvierzig.org) by smtp06.web.de with asmtp (WEB.DE 4.110 #314) id 1NY04i-0006LO-00; Thu, 21 Jan 2010 17:40:04 +0100 Message-ID: <4B58838B.8060300@web.de> Date: Thu, 21 Jan 2010 17:40:43 +0100 From: =?ISO-8859-1?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.23 (X11/20091214) MIME-Version: 1.0 To: Frank Bonnet References: <4B5880B4.2070900@esiee.fr> In-Reply-To: <4B5880B4.2070900@esiee.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: frank.wissmann41@web.de X-Sender: frank.wissmann41@web.de X-Provags-ID: V01U2FsdGVkX1/r9dGgOGh5H/nu4DD4IcT+FMcu026jQkUKTbPE x9suRgYB4ik8H5ovstoX2jgkZN3ivuJR0yp1tpVmDAevb0NoQs O/CFU5jtSLkP11ZwVx9A== Cc: freebsd-questions@freebsd.org Subject: Re: How to activate French locale ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank.wissmann41@web.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 16:40:06 -0000 Frank Bonnet schrieb: > Hello > > The question is in the subject :-) > > Thanks a lot > _______________________________________________ Hi! You may want to set setenv LANG fr_FR.ISO8859-15 in your .cshrc. Greetings Frank -- GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? When pack meets pack in the jungle and no one will move from the trail wait till the leaders have spoken it may be fair words shall prevail (Rudyard Kipling) From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 17:03: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 97554106566B for ; Thu, 21 Jan 2010 17:03:00 +0000 (UTC) (envelope-from cronfy@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 2FA0E8FC12 for ; Thu, 21 Jan 2010 17:02:59 +0000 (UTC) Received: by fxm10 with SMTP id 10so208117fxm.34 for ; Thu, 21 Jan 2010 09:02:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=45phmp60J40d+Sa2z8lRJ8+DZdZs1RTezl9oiQk7xOE=; b=nKifgxawmlcg3LVSJy7y/G/dYpaV9JP4xygE/9HOmo1C5pncUHXn7lKNOYHZhxs2I5 LLnbU0HAv+S3YbAtdXYN5v+idsfRg2FVPx6vN4smaq5AuYQC4HwOovBGRGzrN5ddi5lh vV5KOq6pvK2igjItuOOX/mQJ7dpGcYqNg4naA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=AFT5CwzXnKmpbZWBGgZh4ZYcU3chMJsyO9FpEJOV5nxfaPmIuQ/ADZQ/dq5+XGuy89 71sLjvMZUGfACgbcTO2pxbMQnd7SFrWWfwRWBREgFyxp+aIAqyydzpce48PPCnIf1+Pg ZUMfcI23ghUsz76iyx3YWvRjaUMaOEIiCkGgo= MIME-Version: 1.0 Received: by 10.223.4.216 with SMTP id 24mr1685208fas.67.1264093379198; Thu, 21 Jan 2010 09:02:59 -0800 (PST) From: cronfy Date: Thu, 21 Jan 2010 20:02:39 +0300 Message-ID: To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Unique id of a process (not pid) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 17:03:00 -0000 Hello, Is there any unique identifier of a process in FreeBSD (not PID)? I am trying to get list of processes and watch for changes with kvm_getprocs(). I want to catch every process start and exit (except those processes that were started and finished between calls to kvm_getprocs()). But between calls to this function one process may exit and be replaced with another process with the same pid and same command name. The only difference is a start time of processes. Looks like this is a solution, but process start time may change if system time was shifted (i. e. with ntpdate). I can track these shifts too, but it looks to be too complex. Is there any simpler way to identify a process? Thanks in advance. -- // cronfy From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 17:19:42 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 66B901065670 for ; Thu, 21 Jan 2010 17:19:42 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by mx1.freebsd.org (Postfix) with ESMTP id 0432C8FC0C for ; Thu, 21 Jan 2010 17:19:41 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,318,1262563200"; d="scan'208";a="158888075" Received: from unknown (HELO glynthebearded) ([82.152.120.109]) by smtpout.karoo.kcom.com with ESMTP; 21 Jan 2010 17:19:39 +0000 Received: by glynthebearded (Postfix, from userid 1000) id 3444424D3F; Thu, 21 Jan 2010 17:19:39 +0000 (GMT) From: Glyn Millington MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19288.36010.940215.887078@millingtons.org> Date: Thu, 21 Jan 2010 17:19:38 +0000 To: "Daniel C. Dowse" In-Reply-To: <20100121115516.299c841d.dcdowse@gmx.net> References: <19287.65081.250316.239094@millingtons.org> <20100121115516.299c841d.dcdowse@gmx.net> X-Mailer: VM 8.0.12 under 23.1.1 (i486-pc-linux-gnu) Cc: freebsd-questions@freebsd.org Subject: Re: VirtualBox - does it work for FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 17:19:42 -0000 Daniel C. Dowse writes: > On Thu, 21 Jan 2010 07:11:53 +0000 at > Glyn Millington wrote: > > > > >Good Morning :-) > > > >A quick question for anyone running VirtualBox on a FreeBSD _host_ > >machine, with Linux or Windows as a _guest_ OS. > > > > > >Does it work? > > > > > >That is, do the guest additions work fully for those guests, or are > >there limitations such those I experience currently when running > >FreeBSD 8 as the guest? (eg no access to USB, no fullscreen mode). > >Any major problems with a FreeBSDS host and Windows/Linux guest? > > > >atb > > for Guest OS Windows XP Pro SP2 : > > I used to mount usb & disc drives, outside of VB and access the > Volumes as a SMB Network Share. Fullscreen Works after installing the > Host Utilities for Windows. Thanks to Ivan and yourself -that's just the info I need! atb Glyn From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 17:27:22 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 49E4E106566B for ; Thu, 21 Jan 2010 17:27:22 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp2.tls.net (smtp2.tls.net [65.124.104.105]) by mx1.freebsd.org (Postfix) with ESMTP id E2F618FC08 for ; Thu, 21 Jan 2010 17:27:21 +0000 (UTC) Received: (qmail 99738 invoked from network); 21 Jan 2010 17:27:20 -0000 Received: by simscan 1.2.3 ppid: 99689, pid: 99735, t: 0.1139s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp-2.tls.net X-Spam-Level: * X-Spam-Status: No, score=1.6 required=7.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-8-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.8.201) by ssl-smtp2.tls.net with ESMTPA; 21 Jan 2010 17:27:20 -0000 Message-ID: <4B588E62.7020604@pixelhammer.com> Date: Thu, 21 Jan 2010 12:26:58 -0500 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: 'User Questions' X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: cgiwrap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 17:27:22 -0000 Anyone using cgiwrap? I am unable to get it to work. It continues to claim it is not set uid root, but it is. -rwsr-xr-x 2 root nogroup 92396 Jan 21 11:33 cgiwrap I ask here first because I had the exact same problem with sbox. I am thinking now that it might be something FreeBSD. Thanks, DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Adams http://appleseedinfo.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 17:27: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 9B5C61065679 for ; Thu, 21 Jan 2010 17:27:58 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id 40D3A8FC16 for ; Thu, 21 Jan 2010 17:27:57 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0LHRvB12221 for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 11:27:57 -0600 (CST) (envelope-from john) Date: Thu, 21 Jan 2010 11:27:57 -0600 From: John To: freebsd-questions@freebsd.org Message-ID: <20100121112757.A11858@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 17:27:58 -0000 This used to be a hot topic long ago, but now seems to have become rather dormant. Does that mean that all NICs are pretty much commodity with all the good features (unaligned scatter/gather, etc), or does it just mean that machine performance has grown to the point where we don't care anymore? The hardware.html page tells me what may owrk, but not what may work WELL. The on-board NIC uses the fxp driver. Should I look for another card that uses the same driver? Are those good, or are both good and "bad" cards supproted by the same driver? The list doesn't give any of the featuers which used to be assocaited with "good" or "bad" cards - just the names. Thanks! -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 18:12: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 A5BD61065676 for ; Thu, 21 Jan 2010 18:12:45 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 906018FC14 for ; Thu, 21 Jan 2010 18:12:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWL00LKUZWT8E80@asmtp030.mac.com> for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 10:12:30 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001210150 From: Chuck Swiger In-reply-to: <20100121112757.A11858@starfire.mn.org> Date: Thu, 21 Jan 2010 10:12:29 -0800 Message-id: <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> References: <20100121112757.A11858@starfire.mn.org> To: John X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 18:12:45 -0000 Hi-- On Jan 21, 2010, at 9:27 AM, John wrote: > This used to be a hot topic long ago, but now seems to have become > rather dormant. Does that mean that all NICs are pretty much > commodity with all the good features (unaligned scatter/gather, > etc), or does it just mean that machine performance has grown to > the point where we don't care anymore? The hardware.html page > tells me what may owrk, but not what may work WELL. The on-board > NIC uses the fxp driver. Should I look for another card that uses > the same driver? Intel (fxp, em) and Broadcom (bce, bge) make fine NICs, and the older DEC/Intel 21x4x Tulip series (dc/de) was quite good as well. The Marvel Yukon (msk) and nVidia MCP (nfe/nve) seem to be OK (although older nVidia hardware had bugs); the Realtek (re/rl) and VIA (vr/vge) are at the bottom of the heap, especially the older pre-gigabit hardware. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 18:20: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 17C44106566B for ; Thu, 21 Jan 2010 18:20:37 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id AC9C68FC14 for ; Thu, 21 Jan 2010 18:20:36 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0LIKYm13120; Thu, 21 Jan 2010 12:20:34 -0600 (CST) (envelope-from john) Date: Thu, 21 Jan 2010 12:20:34 -0600 From: John To: Chuck Swiger Message-ID: <20100121122034.A13042@starfire.mn.org> References: <20100121112757.A11858@starfire.mn.org> <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com>; from cswiger@mac.com on Thu, Jan 21, 2010 at 10:12:29AM -0800 Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 18:20:37 -0000 On Thu, Jan 21, 2010 at 10:12:29AM -0800, Chuck Swiger wrote: > Hi-- > > On Jan 21, 2010, at 9:27 AM, John wrote: > > This used to be a hot topic long ago, but now seems to have become > > rather dormant. Does that mean that all NICs are pretty much > > commodity with all the good features (unaligned scatter/gather, > > etc), or does it just mean that machine performance has grown to > > the point where we don't care anymore? The hardware.html page > > tells me what may owrk, but not what may work WELL. The on-board > > NIC uses the fxp driver. Should I look for another card that uses > > the same driver? > > Intel (fxp, em) and Broadcom (bce, bge) make fine NICs, and the older DEC/Intel 21x4x Tulip series (dc/de) was quite good as well. The Marvel Yukon (msk) and nVidia MCP (nfe/nve) seem to be OK (although older nVidia hardware had bugs); the Realtek (re/rl) and VIA (vr/vge) are at the bottom of the heap, especially the older pre-gigabit hardware. Thanks! That's perfect. I have a chance to buy a few Intel Pro 10/100 (fxp) cards. I guess I'll take it! Just curious, though - you don't mention 3Com cards one way or the other, yet there's a lot of them out there. Any comment on those? > Regards, > -- > -Chuck > > _______________________________________________ > 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" -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 18:33: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 7961F1065679 for ; Thu, 21 Jan 2010 18:33:44 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 2C2C98FC1E for ; Thu, 21 Jan 2010 18:33:43 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 21 Jan 2010 13:33:42 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id QLH50416; Thu, 21 Jan 2010 13:33:43 -0500 (EST) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 21 Jan 2010 13:33:42 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19288.40452.585100.493173@jerusalem.litteratus.org> Date: Thu, 21 Jan 2010 13:33:40 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> References: <20100121112757.A11858@starfire.mn.org> <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 18:33:44 -0000 Chuck Swiger writes: > > This used to be a hot topic long ago, but now seems to have become > > rather dormant. > > Intel (fxp, em) and Broadcom (bce, bge) make fine NICs, and the > older DEC/Intel 21x4x Tulip series (dc/de) was quite good as > well. Let me add my vote for Intel: I have a dual-port Pro/1000, and the thing is a rock: huff@jerusalem>> uptime 1:28PM up 3 days, 20:56, 7 users, load averages: 2.47, 2.32, 2.28 huff@jerusalem>> netstat -i Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll em0 1500 00:0e:0c:a8:a7:e8 7814719 0 5448800 0 354923 em0 1500 fe80:1::20e:c fe80:1::20e:cff:f 0 - 3 - - em0 1500 209.6.88.0/21 209.6.91.204 4586806 - 5448773 - - em1 1500 00:0e:0c:a8:a7:e9 23378 0 1104 0 0 em1 1500 10.0.0.0 jerusalem.scallop 825417 - 1096 - - em1 1500 fe80:2::20e:c fe80:2::20e:cff:f 0 - 4 - - The other nifty thing? The driver. Written by Intel , with superlative turn-around on problems or documentation questions, and open source. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 18:46: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 AB0AB106566B for ; Thu, 21 Jan 2010 18:46:49 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 93F508FC08 for ; Thu, 21 Jan 2010 18:46:49 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KWM009QP1HE2E50@asmtp023.mac.com> for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 10:46:27 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001210157 From: Chuck Swiger In-reply-to: <20100121122034.A13042@starfire.mn.org> Date: Thu, 21 Jan 2010 10:46:26 -0800 Message-id: References: <20100121112757.A11858@starfire.mn.org> <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> <20100121122034.A13042@starfire.mn.org> To: John X-Mailer: Apple Mail (2.1077) Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 18:46:49 -0000 On Jan 21, 2010, at 10:20 AM, John wrote: [ ... ] > Thanks! That's perfect. I have a chance to buy a few Intel Pro > 10/100 (fxp) cards. I guess I'll take it! If you don't need gigabit, the fxp cards are great-- very reliable and some even support interrupt mitigation in firmware (which generally wasn't around until gigabit). > Just curious, though - you don't mention 3Com cards one way or the other, > yet there's a lot of them out there. Any comment on those? The older 3com NICs used by ed/vx (including 3c5xx & NE2000 clones) tended to be flaky and had issues with buffer memory causing corrupted packet data, and they generally couldn't do bus-mastering DMA. The later 3com 9xx models used by xl are much better, but they aren't on the same level as fxp or dc-- I wouldn't bother with anything prior to a 3c905. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 18:51:46 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 3BDB9106568D for ; Thu, 21 Jan 2010 18:51:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id F13368FC14 for ; Thu, 21 Jan 2010 18:51:45 +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 AE6343DBC1; Thu, 21 Jan 2010 19:51:43 +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 o0LIphIN001952; Thu, 21 Jan 2010 19:51:43 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 21 Jan 2010 19:51:43 +0100 From: Polytropon To: DAve Message-Id: <20100121195143.b079dc4b.freebsd@edvax.de> In-Reply-To: <4B588E62.7020604@pixelhammer.com> References: <4B588E62.7020604@pixelhammer.com> 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: 'User Questions' Subject: Re: cgiwrap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 18:51:46 -0000 On Thu, 21 Jan 2010 12:26:58 -0500, DAve wrote: > Anyone using cgiwrap? No, so I may just give a quite generic advice, erm, guess. :-) > I am unable to get it to work. It continues to > claim it is not set uid root, but it is. > > -rwsr-xr-x 2 root nogroup 92396 Jan 21 11:33 cgiwrap ^^^^^^^ Is "nogroup" intended? Check % ls -lno cgiwrap for anything untypical for a SUID executable. Furthermore, it would be helpful to know the full error message (if any). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 18:52: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 58B581065679 for ; Thu, 21 Jan 2010 18:52:34 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC888FC0A for ; Thu, 21 Jan 2010 18:52:32 +0000 (UTC) Received: (qmail 29542 invoked by uid 0); 21 Jan 2010 18:52:27 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (24.42.224.110) by smtp7.knology.net with SMTP; 21 Jan 2010 18:52:27 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 1054928435; Thu, 21 Jan 2010 12:52:27 -0600 (CST) Date: Thu, 21 Jan 2010 12:52:27 -0600 From: David Kelly To: John Message-ID: <20100121185227.GA37534@Grumpy.DynDNS.org> References: <20100121112757.A11858@starfire.mn.org> <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> <20100121122034.A13042@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100121122034.A13042@starfire.mn.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 18:52:34 -0000 On Thu, Jan 21, 2010 at 12:20:34PM -0600, John wrote: > On Thu, Jan 21, 2010 at 10:12:29AM -0800, Chuck Swiger wrote: > > > > Intel (fxp, em) and Broadcom (bce, bge) make fine NICs, and the > > older DEC/Intel 21x4x Tulip series (dc/de) was quite good as well. > > The Marvel Yukon (msk) and nVidia MCP (nfe/nve) seem to be OK > > (although older nVidia hardware had bugs); the Realtek (re/rl) and > > VIA (vr/vge) are at the bottom of the heap, especially the older > > pre-gigabit hardware. > > Thanks! That's perfect. I have a chance to buy a few Intel Pro > 10/100 (fxp) cards. I guess I'll take it! Snag 'em! My favorite "no worry NIC." In recent years one could pick them up surplus for $2 to $5. Then "they just work." And if one is forced to use Windows the Intel driver (not the one Windows ships) adds a lot of useful stuff which is missing, such as the ability to *see* (without leaving the application) what IP address the card is using. Oh, and not only that but the Intel cards work (without need to install drivers) on MacOS X PCI machines. > Just curious, though - you don't mention 3Com cards one way or the > other, yet there's a lot of them out there. Any comment on those? 3com's downfall has been due to their mixed bag of sometimes great, sometimes disappointing. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 19:07: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 BE3AD1065670 for ; Thu, 21 Jan 2010 19:07:24 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.223.171]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC518FC20 for ; Thu, 21 Jan 2010 19:07:24 +0000 (UTC) Received: by iwn1 with SMTP id 1so292135iwn.28 for ; Thu, 21 Jan 2010 11:07:24 -0800 (PST) MIME-Version: 1.0 Sender: nvidican@m2.vidican.com Received: by 10.231.148.16 with SMTP id n16mr658761ibv.37.1264099520889; Thu, 21 Jan 2010 10:45:20 -0800 (PST) X-Originating-IP: [136.2.1.101] In-Reply-To: <20100121112757.A11858@starfire.mn.org> References: <20100121112757.A11858@starfire.mn.org> Date: Thu, 21 Jan 2010 13:45:20 -0500 X-Google-Sender-Auth: 6e509689e4d54554 Message-ID: <795fc2b81001211045s1c5de08fr416adfc8206e7d47@mail.gmail.com> From: Nathan Vidican To: John Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 19:07:24 -0000 Personally, I've had the best success with fxp and em cards (Intel), and the worst with broadcom-based on-board nics, but have tried and worked with many different cards over the years on FreeBSD. Hands-down though, I prefer Intel's NIC offerings. IIRC - Intel contributed to the development and supports the fxp driver too, so I've always tried to send my business to the vendor which supports my specific use of their product rather than the one which expects me or requires me to rely solely on the reverse-engineering and support of the open-source community to figure it out themselves. To me, I feel a whole lot 'safer' with the knowledge that the hardware manufacturer knows and understands my application better than the next guy (cough* insert plug for Apple anyone?). Just my opinion and experience though - I offer no technical merit as I've honestly not bothered to try anything else in recent years (habitually stick with what works I guess). -- Nathan Vidican nathan@vidican.com On Thu, Jan 21, 2010 at 12:27 PM, John wrote: > This used to be a hot topic long ago, but now seems to have become > rather dormant. Does that mean that all NICs are pretty much > commodity with all the good features (unaligned scatter/gather, > etc), or does it just mean that machine performance has grown to > the point where we don't care anymore? The hardware.html page > tells me what may owrk, but not what may work WELL. The on-board > NIC uses the fxp driver. Should I look for another card that uses > the same driver? Are those good, or are both good and "bad" cards > supproted by the same driver? The list doesn't give any of the > featuers which used to be assocaited with "good" or "bad" cards - > just the names. > > Thanks! > -- > > John Lind > john@starfire.MN.ORG > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 19:25: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 2F056106566C for ; Thu, 21 Jan 2010 19:25:55 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp1.tls.net (smtp1.tls.net [65.124.104.104]) by mx1.freebsd.org (Postfix) with ESMTP id DE42E8FC12 for ; Thu, 21 Jan 2010 19:25:54 +0000 (UTC) Received: (qmail 11145 invoked from network); 21 Jan 2010 19:25:53 -0000 Received: by simscan 1.2.3 ppid: 11124, pid: 11142, t: 0.6541s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp1.tls.net X-Spam-Level: * X-Spam-Status: No, score=1.6 required=7.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-8-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.8.201) by ssl-smtp1.tls.net with ESMTPA; 21 Jan 2010 19:25:52 -0000 Message-ID: <4B58AA2A.3010904@pixelhammer.com> Date: Thu, 21 Jan 2010 14:25:30 -0500 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: 'User Questions' References: <4B588E62.7020604@pixelhammer.com> <20100121195143.b079dc4b.freebsd@edvax.de> In-Reply-To: <20100121195143.b079dc4b.freebsd@edvax.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: cgiwrap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 19:25:55 -0000 Polytropon wrote: > On Thu, 21 Jan 2010 12:26:58 -0500, DAve wrote: >> Anyone using cgiwrap? > > No, so I may just give a quite generic advice, erm, guess. :-) > >> I am unable to get it to work. It continues to >> claim it is not set uid root, but it is. >> >> -rwsr-xr-x 2 root nogroup 92396 Jan 21 11:33 cgiwrap > ^^^^^^^ > Is "nogroup" intended? Check Yes, my apache runs as nobody:nogroup on this server. I had changed it to root:bin as it was set with sbox, and left it as root:root (as set by the makefile), no difference. > > % ls -lno cgiwrap -rwsr-xr-x 2 0 65533 - 92396 Jan 21 11:33 cgiwrap > > for anything untypical for a SUID executable. > > Furthermore, it would be helpful to know the full error > message (if any). Sure, "The cgiwrap executable(s) were not made setuid-root. This is required for it to function properly. (SetUID root is needed in order to change the uid to that of the script owner. This is an installation error please make the executable setuid root, or use the 'make install' method of installing the executables. " Which I tried second. First I used the port cgiwrap with the above result, then I built it myself and got the same error. Stumped... DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Adams http://appleseedinfo.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 19:46: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 83C2E106568F for ; Thu, 21 Jan 2010 19:46:10 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp1.tls.net (smtp1.tls.net [65.124.104.104]) by mx1.freebsd.org (Postfix) with ESMTP id 3EA848FC16 for ; Thu, 21 Jan 2010 19:46:09 +0000 (UTC) Received: (qmail 13167 invoked from network); 21 Jan 2010 19:46:09 -0000 Received: by simscan 1.2.3 ppid: 13133, pid: 13164, t: 0.1888s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp1.tls.net X-Spam-Level: * X-Spam-Status: No, score=1.6 required=7.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-8-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.8.201) by ssl-smtp1.tls.net with ESMTPA; 21 Jan 2010 19:46:09 -0000 Message-ID: <4B58AEEB.2010303@pixelhammer.com> Date: Thu, 21 Jan 2010 14:45:47 -0500 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: 'User Questions' References: <4B588E62.7020604@pixelhammer.com> <20100121195143.b079dc4b.freebsd@edvax.de> <4B58AA2A.3010904@pixelhammer.com> In-Reply-To: <4B58AA2A.3010904@pixelhammer.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: cgiwrap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 19:46:10 -0000 DAve wrote: > Polytropon wrote: >> On Thu, 21 Jan 2010 12:26:58 -0500, DAve wrote: >>> Anyone using cgiwrap? >> No, so I may just give a quite generic advice, erm, guess. :-) >> >>> I am unable to get it to work. It continues to >>> claim it is not set uid root, but it is. >>> >>> -rwsr-xr-x 2 root nogroup 92396 Jan 21 11:33 cgiwrap >> ^^^^^^^ >> Is "nogroup" intended? Check > > Yes, my apache runs as nobody:nogroup on this server. I had changed it > to root:bin as it was set with sbox, and left it as root:root (as set by > the makefile), no difference. > >> % ls -lno cgiwrap > > -rwsr-xr-x 2 0 65533 - 92396 Jan 21 11:33 cgiwrap > >> for anything untypical for a SUID executable. >> >> Furthermore, it would be helpful to know the full error >> message (if any). > > Sure, "The cgiwrap executable(s) were not made setuid-root. This is > required for it to function properly. (SetUID root is needed in order to > change the uid to that of the script owner. This is an installation > error please make the executable setuid root, or use the 'make install' > method of installing the executables. " > > Which I tried second. First I used the port cgiwrap with the above > result, then I built it myself and got the same error. > > Stumped... > > DAve > > /dev/da1s1d on /data (ufs, local, nosuid, soft-updates) Duh! I did that on purpose when the server was built too. Thanks to Karl for pointing out the obvious to me. My mind is elsewhere today, it is our 24th wedding anniversary. DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Adams http://appleseedinfo.org From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 19:02: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 1F5CD106568F for ; Thu, 21 Jan 2010 19:02:04 +0000 (UTC) (envelope-from alain.aubord@sourire.ch) Received: from 212-98-41-64.static.adslpremium.ch (212-98-41-64.static.adslpremium.ch [212.98.41.64]) by mx1.freebsd.org (Postfix) with ESMTP id 7EEA28FC1A for ; Thu, 21 Jan 2010 19:02:02 +0000 (UTC) Received: from biollaz.local.sourire.ch (localhost [127.0.0.1]) by 212-98-41-64.static.adslpremium.ch (8.14.3+Sun/8.14.3) with ESMTP id o0LIsjso004226 for ; Thu, 21 Jan 2010 19:54:45 +0100 (CET) Received: (from alain@localhost) by biollaz.local.sourire.ch (8.14.3+Sun/8.14.3/Submit) id o0LIsfbL004225 for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 19:54:41 +0100 (CET) Date: Thu, 21 Jan 2010 19:54:41 +0100 From: rhino64@postmail.ch To: freebsd-questions@freebsd.org Message-ID: <20100121185441.GB4125@biollaz.local.sourire.ch> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Mailman-Approved-At: Thu, 21 Jan 2010 19:55:24 +0000 Subject: xdm and xdmcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 19:02:04 -0000 Hi All, Is-it possible to run xdm with remote access through XDMCP protocol on freebsd 8 ? I have tried almost anything: commenting line about port 0 in xdm-config, modifying Xaccess, starting xdm with parameter "udpPort 177". The command "netstat -a" never indicates that a process is listening on that port. With wdm, the listening is possible but I cannot start the X server even if the server alone is perfectly working and if it is correctly started by xdm. I don't want to use kdm or gdm since they are too heavy (almost all kde and gnome should be installed with them). Any ideas would greatly appreciated, Thanks, -- Alain Aubord From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 20:50: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 F2E93106566C for ; Thu, 21 Jan 2010 20:50:34 +0000 (UTC) (envelope-from sbremal@hotmail.com) Received: from snt0-omc4-s24.snt0.hotmail.com (snt0-omc4-s24.snt0.hotmail.com [65.55.90.227]) by mx1.freebsd.org (Postfix) with ESMTP id C162C8FC15 for ; Thu, 21 Jan 2010 20:50:34 +0000 (UTC) Received: from SNT127-W36 ([65.55.90.200]) by snt0-omc4-s24.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 12:50:34 -0800 Message-ID: X-Originating-IP: [92.230.245.55] From: CC: Date: Thu, 21 Jan 2010 20:50:34 +0000 Importance: Normal In-Reply-To: References: , , , , , , <3E40B1C3-6A65-417D-8489-E3156F8BDC11@mac.com>, Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-OriginalArrivalTime: 21 Jan 2010 20:50:34.0462 (UTC) FILETIME=[60B747E0:01CA9ADB] Subject: RE: NFS exporting mounted msdosfs subdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 20:50:35 -0000 Hello, Found another supporting argument that an MSDOSFS path should be able to be exported through NFS is that -- beside UFS -- CDFS is also working fine. Whom would be the right forum / person to address the below error to? Checked the man for nfsd and no contact is mentioned there. 22:47:45.184593 IP 10.0.0.4.1973235244> 10.0.0.2.nfs: 116 readdir [|nfs] 22:47:45.184707 IP 10.0.0.2.nfs> 10.0.0.4.1973235244: reply ok 608 readdir 22:47:45.186389 IP 10.0.0.4.1973235245> 10.0.0.2.nfs: 120 readdirplus [|nfs] 22:47:45.186499 IP 10.0.0.2.nfs> 10.0.0.4.1973235245: reply ok 116 readdirplus ERROR: Operation not supported Thanks, Balazs > From: sbremal@hotmail.com > CC: freebsd-questions@freebsd.org > Date: Thu, 14 Jan 2010 18:46:45 +0000 > Subject: RE: NFS exporting mounted msdosfs subdir > > > Hi, > > A quick search on the internet shows that people use msdosfs with NFS, at least on NetBSD (sorry): > > http://arkiv.netbsd.se/?ml=dfbsd-bugs&a=2004-04&t=104901 > > My FreeBSD mount also shows that the msdosfs mount point is NFS exported. So, from the side of whether nfsd supports msdosfs, I am convinced. > > Any further idea for this error: > > 22:47:45.184593 IP 10.0.0.4.1973235244> 10.0.0.2.nfs: 116 readdir [|nfs] > 22:47:45.184707 IP 10.0.0.2.nfs> 10.0.0.4.1973235244: reply ok 608 readdir > 22:47:45.186389 IP 10.0.0.4.1973235245> 10.0.0.2.nfs: 120 readdirplus [|nfs] > 22:47:45.186499 IP 10.0.0.2.nfs> 10.0.0.4.1973235245: reply ok 116 readdirplus ERROR: Operation not supported > > ? > > -Balazs > >> From: cswiger@mac.com >> Date: Wed, 13 Jan 2010 14:24:55 -0800 >> To: sbremal@hotmail.com >> CC: freebsd-questions@freebsd.org >> Subject: Re: NFS exporting mounted msdosfs subdir >> >> Hi-- >> >> On Jan 13, 2010, at 1:52 PM, sbremal@hotmail.com wrote: >>> Anyone has got an idea how this can be resolved? Thanks. >> >> Does FreeBSD even support NFS-exporting a locally mounted MS-DOS filesystem? Traditionally, NFS was implemented over the default UFS filesystem and it was common for other filesystem typess to not be exportable.... >> >> -- >> -Chuck >> >> _______________________________________________ >> 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" > _________________________________________________________________ > Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. > http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010 > _______________________________________________ > 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" _________________________________________________________________ Windows Live: Keep your friends up to date with what you do online. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 21:07:05 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 605BD106568B for ; Thu, 21 Jan 2010 21:07:05 +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 BE57B8FC12 for ; Thu, 21 Jan 2010 21:07:04 +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 o0LL71IE057891 for ; Thu, 21 Jan 2010 13:07:01 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 21 Jan 2010 13:07:01 -0800 (PST) Date: Thu, 21 Jan 2010 13:07:00 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100121210658.GA10757@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=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_21 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: Subject: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 21:07:05 -0000 guys, after days and weeks of portupgrading firefox35 is one of the two that still fail to build. both get wedged on /usr/local/lib/libspr4.so; can anybody tell me how to resolve this? gmake[3]: Entering directory `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src' c++ -o js -I/usr/local/include -I/usr/local/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe -DNDEBUG -DTRIMMED -Os -fstrict-aliasing js.o jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o prmjtime.o jstracer.o Assembler.o Fragmento.o LIR.o RegAlloc.o avmplus.o Nativei386.o jsbuiltins.o -pthread -Wl,-rpath-link,/bin -Wl,-rpath-link,/usr/local/lib -L./../../dist/bin -L./../../dist/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lm -pthread -lm -pthread -pthread -L/usr/local/lib -liconv -lm -pthread -lc /usr/local/lib/libnspr4.so: undefined reference to `shmctl@FBSD_1.1' /usr/local/lib/libplds4.so: undefined reference to `semctl@FBSD_1.1' gmake[3]: *** [js] Error 1 gmake[3]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src' gmake[2]: *** [libs_tier_js] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1' gmake[1]: *** [tier_js] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1' gmake: *** [default] Error 2 *** Error code 1 Stop in /usr/ports/www/firefox35. root@tao:/usr/ports/www/firefox35# I have looked for this library to rebuild it; can't find. Anybody know what's going on? 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 Thu Jan 21 21:19: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 327951065670 for ; Thu, 21 Jan 2010 21:19:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id E84498FC12 for ; Thu, 21 Jan 2010 21:19:32 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id 0F9811DBDB; Thu, 21 Jan 2010 22:19:30 +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 o0LLJT1f002723; Thu, 21 Jan 2010 22:19:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 21 Jan 2010 22:19:29 +0100 From: Polytropon To: Gary Kline Message-Id: <20100121221929.6ceaba00.freebsd@edvax.de> In-Reply-To: <20100121210658.GA10757@thought.org> References: <20100121210658.GA10757@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: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 21:19:33 -0000 On Thu, 21 Jan 2010 13:07:00 -0800, Gary Kline wrote: > I have looked for this library to rebuild it; can't find. Anybody know > what's going on? Port: nspr-4.6.7 Path: /usr/ports/devel/nspr Info: A platform-neutral API for system level and libc like function This port installs libnspr. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 21:30: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 C1F4C1065670 for ; Thu, 21 Jan 2010 21:30:38 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 9C7688FC1B for ; Thu, 21 Jan 2010 21:30:38 +0000 (UTC) Received: (qmail 13048 invoked from network); 21 Jan 2010 21:30:38 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Jan 2010 21:30:37 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E0DDF5082B; Thu, 21 Jan 2010 16:30:36 -0500 (EST) From: Lowell Gilbert To: Gary Kline References: <20100121210658.GA10757@thought.org> Date: Thu, 21 Jan 2010 16:30:36 -0500 In-Reply-To: <20100121210658.GA10757@thought.org> (Gary Kline's message of "Thu, 21 Jan 2010 13:07:00 -0800") Message-ID: <44tyuf5eo3.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 21:30:38 -0000 Gary Kline writes: > guys, > > after days and weeks of portupgrading firefox35 is one of the two that > still fail to build. both get wedged on > /usr/local/lib/libspr4.so; can anybody tell me how to resolve this? > > > > gmake[3]: Entering directory > `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src' > c++ -o js -I/usr/local/include -I/usr/local/include -fno-rtti -fno-exceptions > -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy > -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2 > -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe > -DNDEBUG -DTRIMMED -Os -fstrict-aliasing js.o jsapi.o jsarena.o jsarray.o > jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o > jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o > jslog2.o jsmath.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsprf.o > jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o > prmjtime.o jstracer.o Assembler.o Fragmento.o LIR.o RegAlloc.o avmplus.o > Nativei386.o jsbuiltins.o -pthread -Wl,-rpath-link,/bin > -Wl,-rpath-link,/usr/local/lib -L./../../dist/bin -L./../../dist/lib > -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lm -pthread -lm -pthread > -pthread -L/usr/local/lib -liconv -lm -pthread -lc > /usr/local/lib/libnspr4.so: undefined reference to `shmctl@FBSD_1.1' Right there is the path. You spelled it wrong in your paragraph at the top of the message; perhaps that's the problem? If so, you should try cut and paste instead of retyping the paths. > /usr/local/lib/libplds4.so: undefined reference to `semctl@FBSD_1.1' > gmake[3]: *** [js] Error 1 > gmake[3]: Leaving directory > `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src' > gmake[2]: *** [libs_tier_js] Error 2 > gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1' > gmake[1]: *** [tier_js] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1' > gmake: *** [default] Error 2 > *** Error code 1 > > Stop in /usr/ports/www/firefox35. > root@tao:/usr/ports/www/firefox35# > > I have looked for this library to rebuild it; can't find. Anybody know > what's going on? [1001] (dhcptest) ~> ls -l /usr/local/lib/libnspr* -rw-r--r-- 1 root wheel 330246 Jan 14 14:52 /usr/local/lib/libnspr4.a lrwxr-xr-x 1 root wheel 13 Jan 14 14:52 /usr/local/lib/libnspr4.so@ -> libnspr4.so.1 -r-xr-xr-x 1 root wheel 197348 Jan 14 14:52 /usr/local/lib/libnspr4.so.1* [1002] (dhcptest) ~> pkg_info -W /usr/local/lib/libnspr4.so.1 /usr/local/lib/libnspr4.so.1 was installed by package nspr-4.8.2 [1003] (dhcptest) ~> But if you really rebuilt everything, that should've already been rebuilt by now. On most desktops, other things will use it too. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 21:30: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 C587F1065696 for ; Thu, 21 Jan 2010 21:30:50 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 3423F8FC25 for ; Thu, 21 Jan 2010 21:30:49 +0000 (UTC) Received: from pulstar.local (athedsl-4552469.home.otenet.gr [94.70.67.29]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id o0LLUmho003999 for ; Thu, 21 Jan 2010 23:30:48 +0200 Message-ID: <4B58C787.9040800@otenet.gr> Date: Thu, 21 Jan 2010 23:30:47 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100121185441.GB4125@biollaz.local.sourire.ch> In-Reply-To: <20100121185441.GB4125@biollaz.local.sourire.ch> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: xdm and xdmcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 21:30:50 -0000 On 21/01/2010 8:54 μ.μ., rhino64@postmail.ch wrote: > Hi All, > Is-it possible to run xdm with remote access through XDMCP protocol on freebsd 8 ? > Yes. I have an entire lab working this way :) > I have tried almost anything: commenting line about port 0 in xdm-config, > This is needed. > modifying Xaccess, starting xdm with parameter "udpPort 177". > > The command "netstat -a" never indicates that a process is listening on that port. > The notes in Xaccess seem to indicate that when a LISTEN line is not present, it works like LISTEN * I found this to be false. Please insert a LISTEN line with your IP address, i.e. LISTEN 10.14.28.10 > With wdm, the listening is possible but I cannot start the X server even if the server alone > is perfectly working and if it is correctly started by xdm. > > I don't want to use kdm or gdm since they are too heavy (almost all kde and gnome should be > installed with them). > > Same here, I use XDM for login - I don't need anything fancy. About 15 terminals running XFCE through a core2quad machine. From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 23:14: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 ECF1A106566C for ; Thu, 21 Jan 2010 23:14:06 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 868698FC18 for ; Thu, 21 Jan 2010 23:14:06 +0000 (UTC) Received: by ewy3 with SMTP id 3so637444ewy.33 for ; Thu, 21 Jan 2010 15:14:05 -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=MnZxJOC1hQ+Ui9GMBkkAChUp6cR4Quy+4jFcEtsb3aU=; b=Ffr+/XA60pBSTFkPgpHxHH+uHZLEYLJKMnIMULkShHtafMKcYDFkKejGNaV4nrgia8 tboHYdK4hB93JWajW84IEDTPb7ypquFymUbk3LCTa8QXDC/EcCTKf1pRwSRZUqHEv7HF AnCV+CGnMBtya8YkNTMv6xVjwJFVgb4Dlxo0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Pq+wK+uMHk7pStzjFgsuAh9u3QxfB5cjKoYuWZQH8bIhSDLk+xnj7+7d2/5I1M293w GIbpARsWls6pBLbjmxsZp1coZlZqcAQkpGt/uzSg4s1X05xe6l+fH+v4snDmZR14FIaO wNJoZYXSL1F0MSmtGmj8MePqMnkaXHSTe2xkw= MIME-Version: 1.0 Received: by 10.216.93.18 with SMTP id k18mr825824wef.218.1264115645182; Thu, 21 Jan 2010 15:14:05 -0800 (PST) Date: Thu, 21 Jan 2010 18:14:05 -0500 Message-ID: From: Aryeh Friedman To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: /var/yp/securenets X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 23:14:07 -0000 Does the netmask in /var/yp/securenets have to match the one listed in ifconfig if both machines are on the same subnet.... specifically we get 5 static IP's from our ISP who also puts other customers in the same subnet (the mask if 255.0.0.0) and if possible I want to make an entry like this: 123.45.67.89 255.255.255.254 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 23:34:21 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 E55971065679 for ; Thu, 21 Jan 2010 23:34:21 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-158.bluehost.com (outbound-mail-158.bluehost.com [67.222.39.38]) by mx1.freebsd.org (Postfix) with SMTP id B73328FC0C for ; Thu, 21 Jan 2010 23:34:21 +0000 (UTC) Received: (qmail 23092 invoked by uid 0); 21 Jan 2010 23:34:21 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by outboundproxy5.bluehost.com with SMTP; 21 Jan 2010 23:34:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=EiynZT8fVVa/vPRN0mVegrETR9eq1boTOur9XWWj5452WjNlYHW4R8eLI2P7tb/4mtccOqbu/Zy/GBXGQlKIssarT+P6j7UvFvFdFMu2o8ZCz+xMaREH4nIXYu49HEH7; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NY6Xb-0005v3-Tk for questions@freebsd.org; Thu, 21 Jan 2010 16:34:21 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Thu, 21 Jan 2010 16:26:16 -0700 Date: Thu, 21 Jan 2010 16:26:16 -0700 From: Chad Perrin To: questions@freebsd.org Message-ID: <20100121232616.GB6999@guilt.hydra> Mail-Followup-To: questions@freebsd.org References: <4B56BE1F.4090800@gddsn.org.cn> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: <4B56BE1F.4090800@gddsn.org.cn> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: pidgin 2.6.5 login QQ failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 23:34:22 -0000 --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 20, 2010 at 04:26:07PM +0800, wsk wrote: > hi, > upgrade all software after upgrade to 8.0. and now found that > pidgin login qq failed. any ideas? If you're talking about AIM or ICQ, it seems that AOL has changed the way servers handle logins so that the previous method doesn't exactly work properly any longer. There's a work-around that involves opening up the Edit Account dialog for the AIM or ICQ account in question, clicking on the Advanced tab in that dialog, and unchecking the "Use clientLogin" checkbox there. The potential security implications of this work-around are still being explored, and the Pidgin people are apparently trying to get AOL to clarify its "best practices" recommendation for how to handle logins, but in the meantime this work-around might help solve the problem you're having with logins. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktY4pgACgkQ9mn/Pj01uKWe+gCg9XIRcm+3VdxUO8v/rC4kSImQ ZOMAnAhHnbBIuMyc+aIJJivlttD30y+P =V3Du -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB-- From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 23:35: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 BFE861065697 for ; Thu, 21 Jan 2010 23:35:15 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 9892B8FC17 for ; Thu, 21 Jan 2010 23:35:15 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0LNZ4bB023370 for ; Thu, 21 Jan 2010 17:35:04 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001212335.o0LNZ4bB023370@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Thu, 21 Jan 2010 17:35:04 -0600 From: Martin McCormick Subject: mfsbsd Makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 23:35:15 -0000 I would like to enable a serial tty login when running the mfsbsd suite. I thought I could just copy /etc/ttys in to mfsbsd-1.0-beta3/conf but the etc/ttys file shows ttyu0 as "dialup off secure" My ttys file has it "vt100 on insecure" I probably should make that secure since one does log in directly as root. The Makefile has the following line pertaining to ttys: @${SED} -I -E 's/\(ttyv[2-7].*\)on /\1off/g' ${WRKDIR}/mfs/etc/ttys This looks like it should not even effect ttyu0. Any ideas as to how to get ttyu0 to come out the way I am trying to set it. Everything else seems to work correctly. I am getting the configured interfaces and can ssh in to the root account so it is almost the way I want it. Thanks for any suggestions. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 23:40:09 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 67C8410656E5 for ; Thu, 21 Jan 2010 23:40:09 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 26C998FC19 for ; Thu, 21 Jan 2010 23:40:09 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NY6d6-00053p-OV for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 23:40:08 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NY6d6-0001Nq-1r for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 23:40:00 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0LNdxPS056328 for ; Thu, 21 Jan 2010 23:39:59 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0LNdxgi056327 for freebsd-questions@freebsd.org; Thu, 21 Jan 2010 23:39:59 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 21 Jan 2010 23:39:59 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100121233959.GA56312@mech-cluster241.men.bris.ac.uk> References: <20100121185441.GB4125@biollaz.local.sourire.ch> <4B58C787.9040800@otenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B58C787.9040800@otenet.gr> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.4 X-Spam-Level: - Subject: Re: xdm and xdmcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 23:40:09 -0000 On Thu, Jan 21, 2010 at 11:30:47PM +0200, Manolis Kiagias wrote: > On 21/01/2010 8:54 ??.??., rhino64@postmail.ch wrote: > > Hi All, > > Is-it possible to run xdm with remote access through XDMCP protocol on freebsd 8 ? > > > > Yes. I have an entire lab working this way :) > > > I have tried almost anything: commenting line about port 0 in xdm-config, > > > > This is needed. > > > modifying Xaccess, starting xdm with parameter "udpPort 177". > > > > The command "netstat -a" never indicates that a process is listening on that port. > > > > The notes in Xaccess seem to indicate that when a LISTEN line is not > present, it works like LISTEN * > I found this to be false. Please insert a LISTEN line with your IP > address, i.e. > > LISTEN 10.14.28.10 > > With wdm, the listening is possible but I cannot start the X server even if the server alone > > is perfectly working and if it is correctly started by xdm. > > > > I don't want to use kdm or gdm since they are too heavy (almost all kde and gnome should be > > installed with them). > > > > > > Same here, I use XDM for login - I don't need anything fancy. About 15 > terminals running XFCE through a core2quad machine. I'm running xdm on ia64 and connecting from sparc64, both 9.0-current, works fine. I could probably share my xdm config files, if this is useful. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 21 23:50: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 954041065670 for ; Thu, 21 Jan 2010 23:50:29 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 57D798FC1B for ; Thu, 21 Jan 2010 23:50:29 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NY6n6-0005Mu-Km; Thu, 21 Jan 2010 23:50:28 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NY6n5-0001ZW-S4; Thu, 21 Jan 2010 23:50:20 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id o0LNoJ2t056362; Thu, 21 Jan 2010 23:50:19 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id o0LNoJoS056361; Thu, 21 Jan 2010 23:50:19 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 21 Jan 2010 23:50:19 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org, onemda@gmail.com, wblock@wonkity.com Message-ID: <20100121235019.GA56334@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.4 X-Spam-Level: - Cc: Subject: SOLVED: WAS: wireless ath - unable to get scan results X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 23:50:29 -0000 Warren, Paul, many thanks. I somehow missed your emails, just found your replies in on-line archives a hour ago. I got it all working now: HAMOR> ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 00:27:19:e1:b7:d9 inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 regdomain 32924 country CN indoor ecm authmode WPA privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL HAMOR> One more question if you please: In a firewall (ipfilter in my case) do I also use wlan0 as an interface, and not ath0? many thanks for your help and support as always anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 00:14: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 2480F106566B for ; Fri, 22 Jan 2010 00:14:38 +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 D8D2F8FC1B for ; Fri, 22 Jan 2010 00:14:37 +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 o0M0EUZM059048; Thu, 21 Jan 2010 16:14:30 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 21 Jan 2010 16:14:30 -0800 (PST) Date: Thu, 21 Jan 2010 16:14:30 -0800 From: Gary Kline To: Polytropon Message-ID: <20100122001430.GC10775@thought.org> References: <20100121210658.GA10757@thought.org> <20100121221929.6ceaba00.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100121221929.6ceaba00.freebsd@edvax.de> 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 Mailing List Subject: Re: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 00:14:38 -0000 On Thu, Jan 21, 2010 at 10:19:29PM +0100, Polytropon wrote: > On Thu, 21 Jan 2010 13:07:00 -0800, Gary Kline wrote: > > I have looked for this library to rebuild it; can't find. Anybody know > > what's going on? > > Port: nspr-4.6.7 > Path: /usr/ports/devel/nspr > Info: A platform-neutral API for system level and libc like function > > This port installs libnspr. > Thanks muchly. I'd like to know which pkg_* utility you used to find which port builds what. if there is one! Another question is: Are there any other brosers that offer use of the festival tts app? Konqueror is the only one i know of, altho there are some plugins that are alledged to work ... on linux. I'll stop there:_) gary ps: ff3.5 is rebuilding... . > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- 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 Fri Jan 22 00:30: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 E7B241065679 for ; Fri, 22 Jan 2010 00:30:35 +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 9E40D8FC15 for ; Fri, 22 Jan 2010 00:30: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 o0M0UOCV059129; Thu, 21 Jan 2010 16:30:24 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 21 Jan 2010 16:30:24 -0800 (PST) Date: Thu, 21 Jan 2010 16:30:24 -0800 From: Gary Kline To: Lowell Gilbert Message-ID: <20100122003024.GD10775@thought.org> References: <20100121210658.GA10757@thought.org> <44tyuf5eo3.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44tyuf5eo3.fsf@be-well.ilk.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=-0.6 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,J_CHICKENPOX_21 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 00:30:36 -0000 On Thu, Jan 21, 2010 at 04:30:36PM -0500, Lowell Gilbert wrote: > Gary Kline writes: > > > guys, > > > > after days and weeks of portupgrading firefox35 is one of the two that > > still fail to build. both get wedged on > > /usr/local/lib/libspr4.so; can anybody tell me how to resolve this? > > > > > > > > gmake[3]: Entering directory > > `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src' > > c++ -o js -I/usr/local/include -I/usr/local/include -fno-rtti -fno-exceptions > > -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy > > -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2 > > -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe > > -DNDEBUG -DTRIMMED -Os -fstrict-aliasing js.o jsapi.o jsarena.o jsarray.o > > jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o > > jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o > > jslog2.o jsmath.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsprf.o > > jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o > > prmjtime.o jstracer.o Assembler.o Fragmento.o LIR.o RegAlloc.o avmplus.o > > Nativei386.o jsbuiltins.o -pthread -Wl,-rpath-link,/bin > > -Wl,-rpath-link,/usr/local/lib -L./../../dist/bin -L./../../dist/lib > > -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lm -pthread -lm -pthread > > -pthread -L/usr/local/lib -liconv -lm -pthread -lc > > /usr/local/lib/libnspr4.so: undefined reference to `shmctl@FBSD_1.1' > > Right there is the path. You spelled it wrong in your paragraph at the > top of the message; perhaps that's the problem? If so, you should try > cut and paste instead of retyping the paths. > > > /usr/local/lib/libplds4.so: undefined reference to `semctl@FBSD_1.1' > > gmake[3]: *** [js] Error 1 > > gmake[3]: Leaving directory > > `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src' > > gmake[2]: *** [libs_tier_js] Error 2 > > gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1' > > gmake[1]: *** [tier_js] Error 2 > > gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1' > > gmake: *** [default] Error 2 > > *** Error code 1 > > > > Stop in /usr/ports/www/firefox35. > > root@tao:/usr/ports/www/firefox35# > > > > I have looked for this library to rebuild it; can't find. Anybody know > > what's going on? > > [1001] (dhcptest) ~> ls -l /usr/local/lib/libnspr* > -rw-r--r-- 1 root wheel 330246 Jan 14 14:52 /usr/local/lib/libnspr4.a > lrwxr-xr-x 1 root wheel 13 Jan 14 14:52 > /usr/local/lib/libnspr4.so@ -> libnspr4.so.1 > -r-xr-xr-x 1 root wheel 197348 Jan 14 14:52 > /usr/local/lib/libnspr4.so.1* > [1002] (dhcptest) ~> pkg_info -W /usr/local/lib/libnspr4.so.1 > /usr/local/lib/libnspr4.so.1 was installed by package nspr-4.8.2 > [1003] (dhcptest) ~> > > But if you really rebuilt everything, that should've already been > rebuilt by now. On most desktops, other things will use it too. i do have other uses of pkg_info, but not -W; thanks for the datapoint. yes, for a name of path this long i woulf have eventually moused and cut and pasted. this time i was particularly careful. Still, bzzzzzt. win some, lose more, :) gary ps: i did several portupgrades and as many pkgdb -Fv ... for some reason there were consistently two that failed. ff35 was one. > > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ -- 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 Fri Jan 22 00:47:08 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 E44001065676 for ; Fri, 22 Jan 2010 00:47:08 +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 6A7338FC0C for ; Fri, 22 Jan 2010 00:47:07 +0000 (UTC) Received: from nox-laptop.student.utwente.nl (nox-laptop.student.utwente.nl [130.89.160.140]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id o0M0kvdU003997; Fri, 22 Jan 2010 01:46:57 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Fri, 22 Jan 2010 01:46:57 +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: <201001220146.57496.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: cronfy Subject: Re: Unique id of a process (not pid) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 00:47:09 -0000 On Thursday 21 January 2010 18:02:39 cronfy wrote: > Hello, > > Is there any unique identifier of a process in FreeBSD (not PID)? > > I am trying to get list of processes and watch for changes > with kvm_getprocs(). I want to catch every process start and exit (except > those processes that were started and finished between calls to > kvm_getprocs()). > > But between calls to this function one process may exit and be replaced > with another process with the same pid and same command name. The only > difference is a start time of processes. Looks like this is a solution, but > process start time may change if system time was shifted (i. e. with > ntpdate). I can track these shifts too, but it looks to be too complex. > > Is there any simpler way to identify a process? Thanks in advance. I honestly don't know if there is such a unique identifier, but lacking that, perhaps you can achieve your goal using kqueue(2)'s EVFILT_PROC. It should do what you want and a lot more. You could also try asking freebsd-hackers@. -- Pieter de Goeje From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 01:16: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 4F8431065670 for ; Fri, 22 Jan 2010 01:16:00 +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 112FF8FC16 for ; Fri, 22 Jan 2010 01:15:59 +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 EF8423DE7A; Fri, 22 Jan 2010 02:15:57 +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 o0M1FvMC003748; Fri, 22 Jan 2010 02:15:57 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 22 Jan 2010 02:15:57 +0100 From: Polytropon To: Gary Kline Message-Id: <20100122021557.f52bc107.freebsd@edvax.de> In-Reply-To: <20100122001430.GC10775@thought.org> References: <20100121210658.GA10757@thought.org> <20100121221929.6ceaba00.freebsd@edvax.de> <20100122001430.GC10775@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: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 01:16:00 -0000 On Thu, 21 Jan 2010 16:14:30 -0800, Gary Kline wrote: > Thanks muchly. I'd like to know which pkg_* utility you used to find > which port builds what. if there is one! There is, but I did it the old-fahioned way, shame on me. :-) % cd /usr/ports % make search name=nspr It doesn't work in all imaginable cases, of course, but here, it did. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 02:25:42 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 BE55D106566C for ; Fri, 22 Jan 2010 02:25:42 +0000 (UTC) (envelope-from hiyorin@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 74DC48FC19 for ; Fri, 22 Jan 2010 02:25:42 +0000 (UTC) Received: by yxe1 with SMTP id 1so598071yxe.3 for ; Thu, 21 Jan 2010 18:25:41 -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:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Vq8vQkGkLLlzr4UYgGWdQwRv5W8F7jp0cbkk3T4qGs8=; b=Fg/Do9t++zX9VGbnMgV6EVEGUuFK9oFfuQNILCLfRERGhZl0goGL5XZs8Ct4db6wbZ 60XN9e2axKppEWIEXr7cqiEuut8hkFa1y7t5k4xy86fZx/gG/Y/IjvZTEY4lDUaysjjf fSk70L46EsippuMnfNrfo62FgYZopaIH4mbxk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=OiQ8tkIS0bKfDJWwcOrYwvQkJCv+gS0IKAn2KLqaWs91ostbqoZAt73/EhZYvqH4p/ SN59KhfhQJBzld9aAkteZAF0t5TC0ppV8dH+Gbpt2P32YAj/1BvJr67q6gAJ+zSL2tto OUUh1r+CX0Zh4jDHqL2x72DS1rvZ+InwpQTn8= Received: by 10.100.246.17 with SMTP id t17mr3071523anh.131.1264125754100; Thu, 21 Jan 2010 18:02:34 -0800 (PST) Received: from ?10.130.10.181? ([202.82.159.125]) by mx.google.com with ESMTPS id 23sm622483ywh.18.2010.01.21.18.02.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 Jan 2010 18:02:32 -0800 (PST) Message-ID: <4B590731.1000307@gmail.com> Date: Fri, 22 Jan 2010 10:02:25 +0800 From: "C. C. Tang" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Robert Huff References: <20100121112757.A11858@starfire.mn.org> <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> <19288.40452.585100.493173@jerusalem.litteratus.org> In-Reply-To: <19288.40452.585100.493173@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 02:25:42 -0000 > Let me add my vote for Intel: I have a dual-port Pro/1000, and > the thing is a rock: I am planning to get a Pro/1000 MT dual port card, do you know that will it works well in 32bit PCI slot on FreeBSD? Thanks, C.C. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 03:33: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 66D63106566B for ; Fri, 22 Jan 2010 03:33: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 263038FC0A for ; Fri, 22 Jan 2010 03:33:16 +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 o0M3X9A4060115; Thu, 21 Jan 2010 19:33:09 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 21 Jan 2010 19:33:09 -0800 (PST) Date: Thu, 21 Jan 2010 19:33:09 -0800 From: Gary Kline To: Polytropon Message-ID: <20100122033309.GF10775@thought.org> References: <20100121210658.GA10757@thought.org> <20100121221929.6ceaba00.freebsd@edvax.de> <20100122001430.GC10775@thought.org> <20100122021557.f52bc107.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100122021557.f52bc107.freebsd@edvax.de> 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 Mailing List Subject: Re: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 03:33:17 -0000 On Fri, Jan 22, 2010 at 02:15:57AM +0100, Polytropon wrote: > On Thu, 21 Jan 2010 16:14:30 -0800, Gary Kline wrote: > > Thanks muchly. I'd like to know which pkg_* utility you used to find > > which port builds what. if there is one! > > There is, but I did it the old-fahioned way, shame on me. :-) > > % cd /usr/ports > % make search name=nspr > > It doesn't work in all imaginable cases, of course, but > here, it did. > i hope i NEVER forget this: pkg_info -W <> surprised how many things depend on that nspr... wow. > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- 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 Fri Jan 22 03:57: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 59831106566B; Fri, 22 Jan 2010 03:57:24 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yw0-f194.google.com (mail-yw0-f194.google.com [209.85.211.194]) by mx1.freebsd.org (Postfix) with ESMTP id 068FF8FC14; Fri, 22 Jan 2010 03:57:23 +0000 (UTC) Received: by ywh32 with SMTP id 32so676973ywh.14 for ; Thu, 21 Jan 2010 19:57:23 -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=IbSzMq+ZGDcROzUbveKlhcUwAxsGGTFw5WScPJr5UYo=; b=BhLht2RpBEnwCqK1QS09Kn2++5e4jUmodYUhTTViDZXN9mwTHuNFBmaW7ExawRpXyM hRXNPsmR6dKJ43OuvbLWefzhX0scRa+lLzV710eJZOC8t4Y63IJRo5i0d7k9UsiPuLGo Q/GN5Zv40L05n1PjIGjzURjzColERBXJVlp7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nwM+BEBO1NLvFG0tGLU4BYTn1Dzn2aEnIg9ytXPgLOORsRd8UHf6nPPpky2AS5iqZ+ u0c17INow/erG8OkIZLpAmkWr+Z8M51B0jCt34DFXFIvxGVRyGPlNiCc20cuhu/nVoqb D3YuuzHmfeqe1lC3DQl9bHhIYUp5o4t11Yr28= MIME-Version: 1.0 Received: by 10.101.34.8 with SMTP id m8mr3119683anj.211.1264132643379; Thu, 21 Jan 2010 19:57:23 -0800 (PST) Date: Fri, 22 Jan 2010 05:57:23 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org, FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Loader, MBR and the boot process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 03:57:24 -0000 I recently found a nifty "FreeBSD ZFS root installation script" and been reworking it a bit to suit my needs better, including changing it from GPT to MBR partitioning. However, I was stumped, even though I had done everything right (or so I thought), the system would get stuck at Loader and refuse to go anywhere. After trying over a dozen different things, it downed on me to change the partition order inside the slice, I had 1) swap 2) freebsd-zfs and for the test, I got rid of swap altogether and gave the entire slice to the freebsd-zfs partition. Suddenly, my problem went away and the system booted just fine. So it seems that Loader requires that the partition containing the files vital to the boot is the first partition on the slice and that "swap first, then the rest" doesn't work. The thing is, I am absolutely positive that in the past, I've had sysinstall created installs using MBR partitioning and that I had swap as my first partition inside the slice and that it all worked dandy. Has this changed at some point? Oh, and for the curious the installation script is here: http://jago.pp.fi/zfsmbrv1-works.sh - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 04:12: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 441C1106568B for ; Fri, 22 Jan 2010 04:12:50 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id 02BB28FC0A for ; Fri, 22 Jan 2010 04:12:49 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id A85E01D33B0; Fri, 22 Jan 2010 05:12:37 +0100 (CET) Date: Fri, 22 Jan 2010 05:12:37 +0100 From: "Thomas K." To: Dan Naumov Message-ID: <20100122041237.GA22312@gothschlampen.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org Subject: Re: Loader, MBR and the boot process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 04:12:50 -0000 On Fri, Jan 22, 2010 at 05:57:23AM +0200, Dan Naumov wrote: Hi, > I recently found a nifty "FreeBSD ZFS root installation script" and > been reworking it a bit to suit my needs better, including changing it > from GPT to MBR partitioning. However, I was stumped, even though I > had done everything right (or so I thought), the system would get > stuck at Loader and refuse to go anywhere. After trying over a dozen probably this line is the cause: dd if=/mnt2/boot/zfsboot of=/dev/"${TARGETDISK}"s1a skip=1 seek=1024 Unless by "swap first" you meant the on-disk location, and not the partition letter. If swap is partition "a", you're writing the loader into swapspace. Regards, Thomas From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 04:16: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 32D2E106566B for ; Fri, 22 Jan 2010 04:16:04 +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 E87488FC0C for ; Fri, 22 Jan 2010 04:16:03 +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 o0M4G0jt060433 for ; Thu, 21 Jan 2010 20:16:00 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 21 Jan 2010 20:16:00 -0800 (PST) Date: Thu, 21 Jan 2010 20:16:00 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100122041558.GA28751@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: broswers that can use festival?? and other A/V things? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 04:16:04 -0000 is Konqueror the only browser that has "festival capability"? by which i mean, the browsers can use kttsd? one of my favorite browsers is links -G [GRaphical mode]. i know there are ways to add many, many things; i don't think it knows how to do streaming video, but then that is more involved that the ktts daemon. by default, i cannot get Konqueror to do NPR's or BBC's builtin streaming audio.... same with PBS and its video streams. can anybody help me to find one browser to do everything? tia, 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 Fri Jan 22 04:30: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 D3674106566C for ; Fri, 22 Jan 2010 04:30:28 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 856088FC1C for ; Fri, 22 Jan 2010 04:30:27 +0000 (UTC) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 21 Jan 2010 23:30:26 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id LJH63785; Thu, 21 Jan 2010 23:29:26 -0500 (EST) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 21 Jan 2010 23:29:27 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19289.10662.584411.704025@jerusalem.litteratus.org> Date: Thu, 21 Jan 2010 23:29:26 -0500 To: freebsd-questions@freebsd.org In-Reply-To: <4B590731.1000307@gmail.com> References: <20100121112757.A11858@starfire.mn.org> <9F075D36-72FF-4B40-B9AD-918808369D3D@mac.com> <19288.40452.585100.493173@jerusalem.litteratus.org> <4B590731.1000307@gmail.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 04:30:28 -0000 C. C. Tang writes: > > Let me add my vote for Intel: I have a dual-port Pro/1000, and > > the thing is a rock: > > I am planning to get a Pro/1000 MT dual port card, do you know > that will it works well in 32bit PCI slot on FreeBSD? I have one of these: Pro/1000 GT Dual Port Gigabit Ethernet Controller (82546EB) It has worked perfectly, with one tertiary exception that happened due to a (non-FreeBSD related) driver change: for some reason, DHCP tries to send packets before the driver decides it's ready to accept them. This causes a 30-60 second delay during startup, but afterwards everything is fine. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 04:49: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 47A7B106566B; Fri, 22 Jan 2010 04:49:40 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-gx0-f214.google.com (mail-gx0-f214.google.com [209.85.217.214]) by mx1.freebsd.org (Postfix) with ESMTP id E52D68FC1A; Fri, 22 Jan 2010 04:49:39 +0000 (UTC) Received: by gxk6 with SMTP id 6so770609gxk.13 for ; Thu, 21 Jan 2010 20:49:39 -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=+C20RlyeKWN9L9zforGnj2NIKCtrfi5b9oXjzXlykRk=; b=AjQuVEjejnEgRhyyyUX3OtfUWBFG2IbO38CtBafmuPYzQHxznY14uOqxnMfjs13tuc 5A9HZob5xMKB5gJO00eFZzMGJ2AxL4e2FwSsAUrSbUgCtcxFIwLRrgbpD4X3/4VuDG8h QFBCOO5fu33cGSX8QxECy9xR2ujP+b+drwbRA= 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=MBme+mMvKHgQEGb/8ARcjD3km+0xcoQy+TtLDHteghMYPzx14BCdDmAjzVJ7w+jFh/ il4kaN55CgM58MmLD0bXlhN3mWWsKcUBd836nk45BGOzgqNVQjIB4IjufRlEBdE8B9pc aIjys+MztlU690lD9EjF/LnkACQoUgv0T6e34= MIME-Version: 1.0 Received: by 10.101.6.22 with SMTP id j22mr3159040ani.224.1264135778989; Thu, 21 Jan 2010 20:49:38 -0800 (PST) In-Reply-To: <20100122041237.GA22312@gothschlampen.com> References: <20100122041237.GA22312@gothschlampen.com> Date: Fri, 22 Jan 2010 06:49:38 +0200 Message-ID: From: Dan Naumov To: "Thomas K." Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org Subject: Re: Loader, MBR and the boot process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 04:49:40 -0000 On Fri, Jan 22, 2010 at 6:12 AM, Thomas K. wrote: > On Fri, Jan 22, 2010 at 05:57:23AM +0200, Dan Naumov wrote: > > Hi, > >> I recently found a nifty "FreeBSD ZFS root installation script" and >> been reworking it a bit to suit my needs better, including changing it >> from GPT to MBR partitioning. However, I was stumped, even though I >> had done everything right (or so I thought), the system would get >> stuck at Loader and refuse to go anywhere. After trying over a dozen > > probably this line is the cause: > > dd if=/mnt2/boot/zfsboot of=/dev/"${TARGETDISK}"s1a skip=1 seek=1024 > > Unless by "swap first" you meant the on-disk location, and not the > partition letter. If swap is partition "a", you're writing the loader > into swapspace. > > > Regards, > Thomas At first you made me feel silly, but then I decided to double-check, I uncommented the swap line in the partitioning part again, ensured I was writing the bootloader to "${TARGETDISK}"s1b and ran the script. Same problem, hangs at loader. Again, if I comment out the swap, giving the entire slice to ZFS and then write the bootloader to "${TARGETDISK}"s1a, run the script, everything works. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 05:02: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 EA06A106566B; Fri, 22 Jan 2010 05:02:54 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 923C58FC17; Fri, 22 Jan 2010 05:02:54 +0000 (UTC) Received: by yxe1 with SMTP id 1so677206yxe.3 for ; Thu, 21 Jan 2010 21:02: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=A2GhY+Mbos8pkVtiDeoMQCNYdQE2+Fu1KhfPkWs1/YQ=; b=I3lH1VyVFy5QD8ZE1o5xBjmPYCkmieKL2Pc5gDx5g1CZuy3D7P8f9cldyIv2SnAY8r oi/lJH+TfYoX5AyVjQKhwj6K0DN5aQoB6PhpBVJDBwbt8fyYdkkVPNL34rIXymglSLbw yDL35E6PEao9hu+zynKtDioeluoAxoaWzM/Ec= 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=XnK2ZB3gPfI0Kpd/T7KbZ94dUN51KNuaR85agk4xMXfGmo+Xo251/OTpD55+ibGVJx Dsn4+wqJlNwokRdevR4GodzI/1VkUVkDKzYUL21O4kikILfzsejPYIIon5QMqdlGsNuA pwAFUXzTilZl5RM/HjQwgfhTHOS5RlczwTYQ8= MIME-Version: 1.0 Received: by 10.101.10.24 with SMTP id n24mr3278061ani.78.1264136573668; Thu, 21 Jan 2010 21:02:53 -0800 (PST) In-Reply-To: References: <20100122041237.GA22312@gothschlampen.com> Date: Fri, 22 Jan 2010 07:02:53 +0200 Message-ID: From: Dan Naumov To: "Thomas K." Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD-STABLE Mailing List , freebsd-questions@freebsd.org Subject: Re: Loader, MBR and the boot process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 05:02:55 -0000 On Fri, Jan 22, 2010 at 6:49 AM, Dan Naumov wrote: > On Fri, Jan 22, 2010 at 6:12 AM, Thomas K. wrote: >> On Fri, Jan 22, 2010 at 05:57:23AM +0200, Dan Naumov wrote: >> >> Hi, >> >>> I recently found a nifty "FreeBSD ZFS root installation script" and >>> been reworking it a bit to suit my needs better, including changing it >>> from GPT to MBR partitioning. However, I was stumped, even though I >>> had done everything right (or so I thought), the system would get >>> stuck at Loader and refuse to go anywhere. After trying over a dozen >> >> probably this line is the cause: >> >> dd if=/mnt2/boot/zfsboot of=/dev/"${TARGETDISK}"s1a skip=1 seek=1024 >> >> Unless by "swap first" you meant the on-disk location, and not the >> partition letter. If swap is partition "a", you're writing the loader >> into swapspace. >> >> >> Regards, >> Thomas > > At first you made me feel silly, but then I decided to double-check, I > uncommented the swap line in the partitioning part again, ensured I > was writing the bootloader to "${TARGETDISK}"s1b and ran the script. > Same problem, hangs at loader. Again, if I comment out the swap, > giving the entire slice to ZFS and then write the bootloader to > "${TARGETDISK}"s1a, run the script, everything works. I have also just tested creating 2 slices, like this: gpart create -s mbr "${TARGETDISK}" gpart add -s 3G -t freebsd "${TARGETDISK}" gpart create -s BSD "${TARGETDISK}"s1 gpart add -t freebsd-swap "${TARGETDISK}"s1 gpart add -t freebsd "${TARGETDISK}" gpart create -s BSD "${TARGETDISK}"s2 gpart add -t freebsd-zfs "${TARGETDISK}"s2 gpart set -a active -i 2 "${TARGETDISK}" gpart bootcode -b /mnt2/boot/boot0 "${TARGETDISK}" and later: dd if=/mnt2/boot/zfsboot of=/dev/"${TARGETDISK}"s2 count=1 dd if=/mnt2/boot/zfsboot of=/dev/"${TARGETDISK}"s2a skip=1 seek=1024 Putting the swap into it's own slice and then putting FreeBSD into it's own slice worked fine. So why the hell can't they both coexist in 1 slice if the swap comes first? - Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 06:58: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 E9185106566C for ; Fri, 22 Jan 2010 06:58:12 +0000 (UTC) (envelope-from ndhertbsd@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 C1FA68FC16 for ; Fri, 22 Jan 2010 06:58:12 +0000 (UTC) Received: by pwi15 with SMTP id 15so619507pwi.3 for ; Thu, 21 Jan 2010 22:58:12 -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=7TQwLqHajP33NbU9ocrtSmzx4Nk6whvbM3Hmc5DoSgE=; b=XNF4fRTlXuTr5chTE4dZzp4A67WH9efFAqJA6iQR63waoEv+SpTVdzEln51CkMz5Gn 3o1gLXlVA2pCDW04iGFEjnFqu7XM9hItbhkFsrL7155TVYNtgEABjA9E6dSVjn8Q1iib yYgNXCpZK8jBa1pJGuht0Uq68/pSe+Vc99iwQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=i2tgIpOUaSxcrkf6TCPqEo8bPXvIVTtkfhake68VcbDSeL4bjUiaZTSFVBbtOTYN9v 5Ulu93P5EGAoaONLdkAthvtYd+4o2813q2Pccbo754nOFEorhqGVQfXb319iBYBTslaC wHai1LUisNGWtwmWK7Ein5/Y0T87Vfbg5RvXs= MIME-Version: 1.0 Received: by 10.142.1.35 with SMTP id 35mr1703822wfa.330.1264142099732; Thu, 21 Jan 2010 22:34:59 -0800 (PST) Date: Fri, 22 Jan 2010 07:34:59 +0100 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: portupgrade fail qt4-rcc-4.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: Fri, 22 Jan 2010 06:58:13 -0000 Today there were about 7 portupgrades to qt4 packages. Upgrading 'qt4-rcc-4.5.3' to 'qt4-rcc-4.6.1' (devel/qt4-rcc) failed: ... c++ -c -O2 -fno-strict-aliasing -pipe -O2 -fPIC -Wall -W -DQT_BOOTSTRAPPED -DQT_ LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_N O_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -D QT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_ NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/ qt4/mkspecs/freebsd-g++ -I. -I../../../include -I../../../include/QtCore -I../.. /../include/QtXml -I/usr/local/include -o .obj/release-static/qfsfileengine_unix .o ../../corelib/io/qfsfileengine_unix.cpp ../../corelib/io/qfsfileengine_unix.cpp: In member function 'uchar* QFSFileEngin ePrivate::map(qint64, qint64, QFile::MemoryMapFlags)': ../../corelib/io/qfsfileengine_unix.cpp:1273: warning: comparaison between signed and unsigned integer expressions ../../corelib/io/qfsfileengine_unix.cpp:1293: error: 'QT_MMAP' was not declared in this scope *** Error code 1 Stop in /usr/ports/devel/qt4-rcc/work/qt-everywhere-opensource-src-4.6.1/src/too ls/bootstrap. *** Error code 1 Stop in /usr/ports/devel/qt4-rcc. ---> Build of devel/qt4-rcc ended at: Fri, 22 Jan 2010 07:09:07 +0100 (consumed 00:01:47) ---> Upgrade of devel/qt4-rcc ended at: Fri, 22 Jan 2010 07:09:07 +0100 (consum ed 00:01:47) Waht's wrong and how to remedy? From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 07:12: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 6FBBC106566B for ; Fri, 22 Jan 2010 07:12:01 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [74.1.12.120]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7AD8FC0C for ; Fri, 22 Jan 2010 07:12:00 +0000 (UTC) Received: (qmail 90994 invoked by uid 1008); 22 Jan 2010 08:27:53 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@24.193.246.51) by mail.el.net with ESMTPA; 22 Jan 2010 08:27:53 -0000 Message-ID: <4B594FC0.3010200@el.net> Date: Fri, 22 Jan 2010 02:12:00 -0500 From: kalin m User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 07:12:01 -0000 hi all... doing testing with pf... how is it possible that if i have these rules below in pf.conf if i do: telnet that.host.org 25 i get: Trying xx.xx.xx.xx... Connected to that.host.org. Escape character is '^]'. ........... etc ....... pf.conf contetns: tcp_in = "{ www, https }" ftp_in = "{ ftp }" udp = "{ domain, ntp }" ping = "echoreq" set skip on lo scrub in antispoof for eth0 inet block in all pass out all keep state pass proto udp to any port $udp pass inet proto icmp all icmp-type $ping keep state pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state pass proto tcp to any port ssh thanks... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 08:52:08 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 704F610656BD for ; Fri, 22 Jan 2010 08:52:08 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30805.mail.mud.yahoo.com (web30805.mail.mud.yahoo.com [68.142.200.148]) by mx1.freebsd.org (Postfix) with SMTP id 3067B8FC16 for ; Fri, 22 Jan 2010 08:52:07 +0000 (UTC) Received: (qmail 61479 invoked by uid 60001); 22 Jan 2010 08:52:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1264150327; bh=wgYbIrNoOzDIKumG5NsQUmDCYb8SXaDYgREhPu8e6dc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=a8u5+76l3k5ryYMxOR50ooOtPmk8I7VZVN9ZaEauu9k8wOeGH4i1LvDPL8+HI015y4V6DXni1IkSpFd5s1BAT5tJ8OQSoEIlWhseNmJzdI5hUMrxAmq+yzLaxyZG1hmEvw5x45PJGyLwiNaq01c7AuWaY632K9EdcQlxKBANI3I= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=cuHtzhbo7KmofVH21oLnIPWY7GEvNFDJ1oFDZImVPPpVh99mptgnxD5oISY/qN6XSr7mnIByd/eddrrj9PUAQlGAvkjjv6NLooduCUy3lQQ3E1axuJP1CgZsR36WAigMJr5arelWS+dZEmxlgI5BprvYjUT5dFdePIJ601fk0Uk=; Message-ID: <318148.59632.qm@web30805.mail.mud.yahoo.com> X-YMail-OSG: bJch3UQVM1nhh5wNbC4GP1WqDFafxs9f5RaxvHtrozBtbA0NGNJDV9vWDvrCujVdFWLyedLw3b8o5W1TdCXk11bpYsWsedRQ53bY0z6TFjX2xFgqSsHUr.mq8dOuFkjUk7NFd5NOyqRdaz7saTK1NR.LmHLOaylSHE4mnX8gN.xEGNbv5LDiAWf01o7JI3sk.bxOjh8bcbt5N.k7y1bYuHFxdbRR9hptRKTvpVo2NwkzaBT.slxknqRXSJY5NCif1NssJArf0ljxhEdGFuw4SlVk_nZGuH8i0DKW_51FjbvFw.ljAdSQTT9BvyOvsMlgm4OYOwDkIYc9LAC1eGrxoNd2uW96bqFUvAlOfvR649oqdD3yRV.XW6LI1ZQvYLJtng.lNZWA0TI- Received: from [94.21.228.238] by web30805.mail.mud.yahoo.com via HTTP; Fri, 22 Jan 2010 00:52:06 PST X-Mailer: YahooMailRC/272.7 YahooMailWebService/0.8.100.260964 References: <4B594FC0.3010200@el.net> Date: Fri, 22 Jan 2010 00:52:06 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: kalin m , freebsd-questions@freebsd.org In-Reply-To: <4B594FC0.3010200@el.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 08:52:08 -0000 hi kalin,=0A=0Amy question is: are you telnet-ing to/from/through this mach= ine with the specified pf rules?=0A=0A=0A=0A_______________________________= _=0AFrom: kalin m =0ATo: freebsd-questions@freebsd.org=0ASent= : Fri, January 22, 2010 8:12:00 AM=0ASubject: pf rules=0A=0A=0Ahi all...=0A= =0Adoing testing with pf...=0A=0Ahow is it possible that if i have these ru= les below in pf.conf if i do:=0Atelnet that.host.org 25=0A=0Ai get:=0ATryin= g xx.xx.xx.xx...=0AConnected to that.host.org.=0AEscape character is '^]'.= =0A........... etc .......=0A=0A=0Apf.conf contetns:=0A=0Atcp_in =3D "{ www= , https }"=0Aftp_in =3D "{ ftp }"=0Audp =3D "{ domain, ntp }"=0Aping =3D "e= choreq"=0A=0Aset skip on lo=0Ascrub in=0A=0Aantispoof for eth0 inet=0A=0Abl= ock in all=0Apass out all keep state=0Apass proto udp to any port $udp=0Apa= ss inet proto icmp all icmp-type $ping keep state=0Apass in inet proto tcp = to any port $tcp_in flags S/SAF synproxy state=0Apass proto tcp to any port= ssh=0A=0A=0A=0A=0Athanks...=0A=0A_________________________________________= ______=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lists.freebsd.= org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send any mail to "= freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 09:08: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 B2FE71065670 for ; Fri, 22 Jan 2010 09:08:50 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 908678FC08 for ; Fri, 22 Jan 2010 09:08:50 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id o0M980Ie017426; Fri, 22 Jan 2010 03:08:00 -0600 (CST) Date: Fri, 22 Jan 2010 03:08:00 -0600 (CST) From: Scott Bennett Message-Id: <201001220908.o0M980UG017425@mp.cs.niu.edu> To: rsmith@xs4all.nl Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 09:08:50 -0000 On Sat, 16 Jan 2010 10:31:22 +0100 Roland Smith wrote: >On Sat, Jan 16, 2010 at 12:38:14AM -0600, Scott Bennett wrote: >> >2) Create the geli device /dev/daXsYP.eli, and then create a label on th= >at, >> > yielding /dev/label/bar. [not sure what the utility of this is, since= > the >> > label will only appear after the geil provider has been attached] >> > >> The important point here is that one of the above methods must be us= >ed >> *before* the file system is created and the data loaded into it. Attempt= >ing >> either method *after* data are loaded will result in loss of the data. > >Maybe not immediately, but since both the filesystem and geom can use the l= >ast >sector, there will be trouble. :-) The examples in the glabel manpage should >how to set up a label correctly. > >> Perhaps this provides a possible recovery method. As you read it, >> would it be possible to build an altered version of geli(8) that would si= >mply >> use the existing key file without generating a new one to do a "geli init" >> operation? If so, it would certainly be worth my trouble to do that. > >In theory it is possible, I guess. But the salt is 512 bytes long. So it can >have 2^512 different values. That is 1.340=C3=9710^154 different values, an= >d you'd >have to test them all. And by testing I mean use the modified 'geli init' to Why is that stored in the last sector of the device, rather than in the key file? What is the purpose of the key file if not to hold that type of information? >generate a key, and then try if the key works, i.e. check if the relevant >sector decrypted with that key yields a valid UFS2 superblock. Suppose you >wrote a program capable of testing 10^9 keys every second, which sounds like >quite alot to me. It would still be running for 2^512/1e9/(3600*24*365) =3D >4.25=C3=9710^137 years! So in practice, this is a hopeless task. > >> >And I think that the proper way to nest geoms is too obvious (at least f= >or =3D >> >the >> >developers/maintainers) to explicitly list in the handbook. If you know = >that >> >geoms store metadata in their last sector, the proper way to nest them i= >s to >> >use the different devices for each geom "stage", so that each has their = >own >> >metadata sector. >>=20 >> Well, it wasn't at all obvious to me, and reading the parts that men= >tion >> metadata being written to the last sector suggests, if anything, that lab= >eling >> and encryption are incompatible because both write to the "last sector", = >i.e., >> to the *same* sector. The idea of the "last sector" being different for = >the >> two operations is not at all apparent. > >Well, it should be different, otherwise they overwrite the same sector. Ipso >facto you should nest providers... ...unless, of course, the two had been designed to use different parts of the "last sector" for their own purposes, but also to avoid damaging the other's data when altering their own. > >Say you want to have a labeled, encrypted device on /dev/da0s1d. First, you >create the label; > > glabel label =E2=80=90v foo /dev/da0s1d > >A device /dev/label/foo now appears. This device is one sector smaller than >/dev/da0s1d, because the last sector of /dev/da0s1d is used for the glabel >metadata. Now we want to create an encrypted device, so we do: > > geli init -l 256 /dev/label/foo > geli attach /dev/label/foo > >This will create /dev/label/foo.eli. Again, /dev/label/foo.eli is one sector >smaller than /dev/label/foo, because the last sector of /dev/label/foo >contains the geli metadata. > >If one uses > > geli init -l 256 /dev/da0s1d > geli attach /dev/da0s1d > >this will create and attach /dev/da0s1d.eli, but /dev/label/foo will be des= >troyed, >because 'geli init' overwrites glabel's metadata! > >Below I've tried to sketch the last sectors of the device, with the extents= > of >the geom-ed devices and the location of the metadata below. > >-------------------------------------------------- /dev/da0s1d > ... N-5 N-4 N-3 N-2 N-1 N >| | | | | | geli |glabel| >------------------------------------------ /dev/label/foo >----------------------------------- /dev/label/foo.eli > >Nested geom devices are the only way to keep the metadata safe. > Thanks for the explanation. However, if the key information is stored in the "last sector" rather than in the key file, then I guess I'm totally confused about how GELI works. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 09:45: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 B77CA1065670 for ; Fri, 22 Jan 2010 09:45:20 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 6F15A8FC1A for ; Fri, 22 Jan 2010 09:45:19 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 1C7B01C1A67; Fri, 22 Jan 2010 10:45:18 +0100 (CET) Message-ID: <4B5973AD.8070603@locolomo.org> Date: Fri, 22 Jan 2010 10:45:17 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: kalin m References: <4B594FC0.3010200@el.net> In-Reply-To: <4B594FC0.3010200@el.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 09:45:20 -0000 kalin m wrote: > tcp_in = "{ www, https }" > ftp_in = "{ ftp }" > udp = "{ domain, ntp }" > ping = "echoreq" > > set skip on lo > scrub in > > antispoof for eth0 inet > > block in all > pass out all keep state > pass proto udp to any port $udp > pass inet proto icmp all icmp-type $ping keep state > pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state > pass proto tcp to any port ssh To debug pf rules: - always add direction to the rule, pass or block, add interface to all rules except default policy, keep state on all pass rules - group your rules per direction, then per interface - add log to all rules and watch pflog to see which rule blocks or passes traffic. - use keyword quick for any decisive rule - check the parsing of your ruleset, pfctl -sr then come back and ask for help. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 10:23:46 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 DEC351065679 for ; Fri, 22 Jan 2010 10:23:46 +0000 (UTC) (envelope-from utisoft@googlemail.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 6BC408FC19 for ; Fri, 22 Jan 2010 10:23:46 +0000 (UTC) Received: by bwz5 with SMTP id 5so969502bwz.3 for ; Fri, 22 Jan 2010 02:23:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=7h3ls2/TJS7dn1WMjUv879PY1DKvueuFg5WlOr38QwU=; b=lGDta7VlT9uNsSWatBvDFgrX69Xr+X1SR5R+KqcgakyTF/Fx95BgtTpO3l/TvZ4d5+ T4/B4gYeF++f7JRkyrXuopndKFqX8imHzWi4A2PQQTnJXgyz5Q373X08vG3WifgIB+ms PTj1eGC1nAb0nLOyBzHD2CR0PSXw090jW0JXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=mTjirLgyFhF6PAXtAoXUIWtOvaQo0smDBUk0tM9ZCjjjq1cyWiS12HEOLVIGdljOuz kN2a53JL2npIxBQ6ssOe6Tl3v43i2JlWKaEaPLNu5dyMw69ArA3CW3buHLwxqKoFj+1p i40EBH1+V34IokSITOi890IH3ynZlDnPbAvpI= MIME-Version: 1.0 Received: by 10.204.13.203 with SMTP id d11mr1404552bka.186.1264155825151; Fri, 22 Jan 2010 02:23:45 -0800 (PST) In-Reply-To: <20100122001430.GC10775@thought.org> References: <20100121210658.GA10757@thought.org> <20100121221929.6ceaba00.freebsd@edvax.de> <20100122001430.GC10775@thought.org> From: Chris Rees Date: Fri, 22 Jan 2010 10:23:25 +0000 Message-ID: To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Polytropon , FreeBSD Mailing List Subject: Re: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 10:23:46 -0000 2010/1/22 Gary Kline : > On Thu, Jan 21, 2010 at 10:19:29PM +0100, Polytropon wrote: >> On Thu, 21 Jan 2010 13:07:00 -0800, Gary Kline wrote= : >> > =A0 =A0 I have looked for this library to rebuild it; can't find. =A0A= nybody know >> > =A0 =A0 what's going on? >> >> Port: =A0 nspr-4.6.7 >> Path: =A0 /usr/ports/devel/nspr >> Info: =A0 A platform-neutral API for system level and libc like function >> >> This port installs libnspr. >> > > =A0 =A0 =A0 =A0Thanks muchly. =A0 I'd like to know which pkg_* =A0utility= you used to find > =A0 =A0 =A0 =A0which port builds what. =A0if there is one! > > =A0 =A0 =A0 =A0Another question is: Are there any other brosers that offe= r use of the > =A0 =A0 =A0 =A0festival tts app? =A0Konqueror is the only one i know of, = altho there are > =A0 =A0 =A0 =A0some plugins that are alledged to work ... on linux. > > =A0 =A0 =A0 =A0I'll stop there:_) > > =A0 =A0 =A0 =A0gary > > =A0 =A0 =A0 =A0ps: ff3.5 is rebuilding... . pkg_which works for installed ports... If the port isn't installed, then try this: [chris@amnesiac]~% echo /usr/ports/*/pkg-plist /usr/ports/*/Makefile | xargs grep libnspr4.so Obviously we need to search the Makefile too because some ports use PLIST_FILES instead of pkg-plist. Unfortunately this doesn't work if the plist is dynamically created... HTH Chris From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 10:31:59 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 90C8B106566C for ; Fri, 22 Jan 2010 10:31:59 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 7CE068FC0C for ; Fri, 22 Jan 2010 10:31:59 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 02:31:57 -0800 Message-ID: <4B597E97.7060807@a1poweruser.com> Date: Fri, 22 Jan 2010 18:31:51 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions References: <4B594FC0.3010200@el.net> <4B5973AD.8070603@locolomo.org> In-Reply-To: <4B5973AD.8070603@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jan 2010 10:31:59.0205 (UTC) FILETIME=[20B64150:01CA9B4E] X-Sender: fbsd1@a1poweruser.com Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 10:31:59 -0000 Erik Norgaard wrote: > kalin m wrote: >> tcp_in = "{ www, https }" >> ftp_in = "{ ftp }" >> udp = "{ domain, ntp }" >> ping = "echoreq" >> >> set skip on lo >> scrub in >> >> antispoof for eth0 inet >> >> block in all >> pass out all keep state >> pass proto udp to any port $udp >> pass inet proto icmp all icmp-type $ping keep state >> pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state >> pass proto tcp to any port ssh > > To debug pf rules: > > - always add direction to the rule, pass or block, add interface to all > rules except default policy, keep state on all pass rules > - group your rules per direction, then per interface > - add log to all rules and watch pflog to see which rule blocks or > passes traffic. > - use keyword quick for any decisive rule > - check the parsing of your ruleset, pfctl -sr > > then come back and ask for help. > > BR, Erik > > See sample pf firewall rules in manual From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 10:34: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 9DCC3106566C for ; Fri, 22 Jan 2010 10:34:41 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.ORG [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id 805C18FC08 for ; Fri, 22 Jan 2010 10:34:40 +0000 (UTC) Received: from [10.0.1.4] (pool-71-109-144-133.lsanca.dsl-w.verizon.net [71.109.144.133]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id o0MAYcqW029979 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Jan 2010 02:34:39 -0800 (PST) (envelope-from bc979@lafn.org) References: <4B594FC0.3010200@el.net> <4B5973AD.8070603@locolomo.org> In-Reply-To: <4B5973AD.8070603@locolomo.org> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: <772FAD6A-C534-4217-9AA7-274561879E86@lafn.org> Content-Transfer-Encoding: 7bit From: Doug Hardie Date: Fri, 22 Jan 2010 02:34:38 -0800 To: Erik Norgaard X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: clamav-milter 0.95.3 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions - Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 10:34:41 -0000 On 22 January 2010, at 01:45, Erik Norgaard wrote: > To debug pf rules: > > - always add direction to the rule, pass or block, add interface to all > rules except default policy, keep state on all pass rules > - group your rules per direction, then per interface > - add log to all rules and watch pflog to see which rule blocks or > passes traffic. > - use keyword quick for any decisive rule > - check the parsing of your ruleset, pfctl -sr > > then come back and ask for help. Where do you find the rule information in the pflog output from tcpdump? From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 10:49:31 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 D3295106566B for ; Fri, 22 Jan 2010 10:49:31 +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 586FD8FC1A for ; Fri, 22 Jan 2010 10:49:31 +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 o0MAnLcO005506 for ; Fri, 22 Jan 2010 10:49:22 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0MAnLcO005506 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1264157362; bh=cdDN4Is4hD4sCneYJvJtrbTBlGtPFk3ttqjErFx4YAo=; h=Message-ID:Date:From:MIME-Version:To: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<4B5982AC.3020107@infracaninophile.co.uk>|Date:=20F ri,=2022=20Jan=202010=2010:49:16=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:=20questions@freebsd.org|Subject:=20Re:=20pidgin=202 .6.5=20login=20QQ=20failed|References:=20<4B56BE1F.4090800@gddsn.o rg.cn>=20<20100121232616.GB6999@guilt.hydra>|In-Reply-To:=20<20100 121232616.GB6999@guilt.hydra>|X-Enigmail-Version:=200.95.6|Content -Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20prot ocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-------- ----enig4DCEA2A260619CAF83F9E262"; b=APZf7PfIRGt1xtQDZFwuwScAsk4TPaML03bYEWQl3svC4VOgjD/R4ZinoBVlAHTKt dzakHwWgCDL3Ccg0anO43lQ303h/cPgCZpa8+mZLZpuUor8KXlFijCrwZpTvN+mMF2 To2tlt1fvVAZj1Dux2gZUgge1dK+ufC9aCqzHeIw= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B5982AC.3020107@infracaninophile.co.uk> Date: Fri, 22 Jan 2010 10:49:16 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: questions@freebsd.org References: <4B56BE1F.4090800@gddsn.org.cn> <20100121232616.GB6999@guilt.hydra> In-Reply-To: <20100121232616.GB6999@guilt.hydra> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig4DCEA2A260619CAF83F9E262" 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: Subject: Re: pidgin 2.6.5 login QQ failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 10:49:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4DCEA2A260619CAF83F9E262 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Chad Perrin wrote: > On Wed, Jan 20, 2010 at 04:26:07PM +0800, wsk wrote: >> hi, >> upgrade all software after upgrade to 8.0. and now found that >> pidgin login qq failed. any ideas? >=20 > If you're talking about AIM or ICQ, it seems that AOL has changed the w= ay > servers handle logins so that the previous method doesn't exactly work > properly any longer. There's a work-around that involves opening up th= e > Edit Account dialog for the AIM or ICQ account in question, clicking on= > the Advanced tab in that dialog, and unchecking the "Use clientLogin" > checkbox there. The potential security implications of this work-aroun= d > are still being explored, and the Pidgin people are apparently trying t= o > get AOL to clarify its "best practices" recommendation for how to handl= e > logins, but in the meantime this work-around might help solve the probl= em > you're having with logins. >=20 qq.com is a social networking site and a messaging application that's very big in China. Which means it's basically the biggest in the world... It has it's own chat / IM protocol, nothing to do with AOL. As the OP is installing pidgin 2.6.5 it should work -- there were problem= s with qq.com making arbitrary protocol changes that affected 2.6.4. Proba= bly best to try asking on a Chinese language mailing list or forum (if you sp= eak the language) as that's where you're most likely to find other users. Th= is one, perhaps: http://www.freebsdchina.org/forum/ 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 --------------enig4DCEA2A260619CAF83F9E262 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 iEYEAREIAAYFAktZgrEACgkQ8Mjk52CukIySHgCdFYl4K3l5WTyZvg762kT3+QOo Cq0An0uIOArUas7/0nKeiFr1WQ1YCWDE =JJm0 -----END PGP SIGNATURE----- --------------enig4DCEA2A260619CAF83F9E262-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 10:55:12 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 951EE1065679 for ; Fri, 22 Jan 2010 10:55:12 +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 1C2498FC1C for ; Fri, 22 Jan 2010 10:55:11 +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 o0MAt1an005590; Fri, 22 Jan 2010 10:55:02 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0MAt1an005590 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1264157702; bh=T6ELsxfDKb4y72kipXme13nP7DoPfSZW9cSoTGmZvdQ=; 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<4B598405.4060507@infracaninophile.co.uk>|Date:=20F ri,=2022=20Jan=202010=2010:55:01=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:=20Anton=20Shterenlikht=20|CC:= 20freebsd-questions@freebsd.org,=20onemda@gmail.com,=20wblock@wonk ity.com|Subject:=20Re:=20SOLVED:=20WAS:=20wireless=20ath=20-=20una ble=20to=20get=20scan=20results|References:=20<20100121235019.GA56 334@mech-cluster241.men.bris.ac.uk>|In-Reply-To:=20<20100121235019 .GA56334@mech-cluster241.men.bris.ac.uk>|X-Enigmail-Version:=200.9 5.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0 D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary= 3D"------------enig8FFA473869F527DC691E395B"; b=UiTL85DPPloBC0BghmIcofrQ8nws8XMbBsaUklAjnEAXuNYg/zU1CTxghbUQyPuL7 3lODv1lfBnOVGK83yiZLu5cHUTVldcN08LgX3lCZijMJAKUdfPJ/plsxtbh8BO62K5 NNbcUU96XFFQ7yHOBAI9lVOX8RdK3g0Q/d2NU7PA= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B598405.4060507@infracaninophile.co.uk> Date: Fri, 22 Jan 2010 10:55:01 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: Anton Shterenlikht References: <20100121235019.GA56334@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20100121235019.GA56334@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8FFA473869F527DC691E395B" 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: onemda@gmail.com, freebsd-questions@freebsd.org Subject: Re: SOLVED: WAS: wireless ath - unable to get scan results X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 10:55:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8FFA473869F527DC691E395B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Anton Shterenlikht wrote: > In a firewall (ipfilter in my case) do I also use wlan0 as > an interface, and not ath0? Yes. Same goes for pf -- when matching an interface, it should be one of the list returned by 'ifconfig -l'. You can say, for example 'em' as an interface name on OpenBSD to match all NICs that use em(4), but I'm no= t sure that works on FreeBSD. 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 --------------enig8FFA473869F527DC691E395B 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 iEYEAREIAAYFAktZhAUACgkQ8Mjk52CukIwdAgCeIIPinuJnK3qlSyRd1etk21j/ lmAAn3zlqps2QSwLPw1RK9+0FRytCWbY =zyj3 -----END PGP SIGNATURE----- --------------enig8FFA473869F527DC691E395B-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 11:14:08 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 994421065672 for ; Fri, 22 Jan 2010 11:14:08 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 480658FC19 for ; Fri, 22 Jan 2010 11:14:08 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id CCBBF1C1A67; Fri, 22 Jan 2010 12:14:06 +0100 (CET) Message-ID: <4B59887E.30301@locolomo.org> Date: Fri, 22 Jan 2010 12:14:06 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Doug Hardie References: <4B594FC0.3010200@el.net> <4B5973AD.8070603@locolomo.org> <772FAD6A-C534-4217-9AA7-274561879E86@lafn.org> In-Reply-To: <772FAD6A-C534-4217-9AA7-274561879E86@lafn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions - Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 11:14:08 -0000 Doug Hardie wrote: > On 22 January 2010, at 01:45, Erik Norgaard wrote: > >> To debug pf rules: >> >> - always add direction to the rule, pass or block, add interface to all >> rules except default policy, keep state on all pass rules >> - group your rules per direction, then per interface >> - add log to all rules and watch pflog to see which rule blocks or >> passes traffic. >> - use keyword quick for any decisive rule >> - check the parsing of your ruleset, pfctl -sr >> >> then come back and ask for help. > > Where do you find the rule information in the pflog output from tcpdump? a snip: alpha# tcpdump -n -e -i pflog0 tcpdump: WARNING: pflog0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on pflog0, link-type PFLOG (OpenBSD pflog file), capture size 96 bytes 11:55:20.910140 rule 81/0(match): block in on vr1: 172.16.1.127.52444 > 172.16.0.1.23: tcp 44 [bad hdr length 0 - too short, < 20] rule 81 blocks. Now, problem is that your rules may be more compact, you'll find the rule with pfctl -sr. Now admittedly, I got: pass in quick on vr1 inet proto udp from 172.16.0.0/23 to port = secret_service keep state ofcourse, that rule didn't block. But two lines down I found: block return in log quick on vr1 inet from 172.16.0.0/23 to This makes sence, so why the offset 2? The first line of the output from pfctl -sr is scrub all fragment reassemble that shouldn't count as a rule. And then, if pflog starts counting with 0 while vi counts from 1 that explains it. Yet another reason to check the rules as parsed using pfctl -sr. Anyway, not trying to cut corners is the first step, then add log so you can see whats going on, use quick to avoid some packet fall through and being matched by a different rule than intended, organizes your rules so you can easily separate things out. My rules are grouped together like this: # default policy block all block in log pass in quick some packets keep state block in log quick block out log pass out quick some packets keep state block out log quick # Default policy catch all should never apply block log all the conditions for the pass rules should match those of the first block and then be more specific, say, only apply to one port. Doing so, the pf rule parser will optimize the ruleset. Even if I know that a given rule can only match packets on the vr0 interface, I explicitly state the interface. It makes it clear what's going on. Once the ruleset is debugged and working you can remove the log statements. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 12:17:27 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 D74201065672 for ; Fri, 22 Jan 2010 12:17:27 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id C0DAE8FC1A for ; Fri, 22 Jan 2010 12:17:27 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 04:17:27 -0800 Message-ID: <4B59973B.8040203@a1poweruser.com> Date: Fri, 22 Jan 2010 20:16:59 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: John References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> In-Reply-To: <20100121180336.B17543@starfire.mn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jan 2010 12:17:27.0308 (UTC) FILETIME=[DC8E24C0:01CA9B5C] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 12:17:28 -0000 John wrote: > On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: >> John wrote: >>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: >>>> John wrote: >>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. >>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 >>>>> Gb. I've tried to figure out what the BIOS thinks the geometry >>>>> is, but it doesn't seem to want to tell me. At least, I can't find >>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with >>>>> the 255 head geometry, though, it complains about the disk geometry, >>>>> saying 16h,63s != 255h,63s or something like that - it flies by >>>>> pretty fast (is there a way to go back and see that from the CD-ROM >>>>> "boot only" boot?). >>>>> >>>>> I'm using the "Standard" boot manager, and the entire disk is devoted >>>>> to FreeBSD. >>>>> >>>>> System >>>>> BIOS version PT84510A.86A.2004.P05 >>>>> Processor Type: Intel Pentium 4 >>>>> Processor speed: 2.20Ghz >>>>> >>>>> Memory: 512Mb >>>>> >>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) >>>>> Primary IDE Slave: IOMega ZIP 250 >>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) >>>>> Secondary IDE Slave: DVD-ROM DDU1621 >>>>> >>>>> Boot sequence: >>>>> 1) ATAPI CD-ROM >>>>> 2) Hard Drive >>>>> 3) "Removable Dev." >>>>> >>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 >>>>> "calculated" geometry: 9729/255/63 for ad0 >>>>> >>>>> ad0s1 start=63, size=2875572 >>>>> ad0s2 start=2875635, size=10217340 >>>>> ad0s3 start=13092975, size=143203410 >>>>> unus start=156296384, size=5103 >>>>> >>>>> ad0s1a / 384Mb >>>>> ad0s1d /usr 1Gb >>>>> ad0s2b SWAP 1Gb >>>>> ad0s2d /tmp 384Mb >>>>> ad0s2e /var 512Mb >>>>> ad0s2f /var/mail 2Gb >>>>> ad0s2g /usr/ports 1Gb >>>>> ad0s3d /home/mysql 4Gb >>>>> ad0s3e /home 50Gb >>>>> ad0s3f /usr/src 3Gb >>>>> ad0s3g /usr/obj 3Gb >>>>> ad0s3h /extra 8483Mb >>>>> >>>>> Suggestions, please? I'm making zero headway right now. :( >>>> What version of FreeBSD are you running???? >>> Well, yes, I suppose that would be a good bit of information! >>> >>> What I'm *TRYING* to run is 8.0. It seems to install successfully >>> (of course - after doing all that), but then when I try to boot >>> from the hard drive, I see an otherwise-blank screen that says: >>> >>> >>> Invalid partition table >>> >>> >>> and that's as far as it goes! >>> >>>> _______________________________________________ >>>> 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" >> There are reports of this sort of thing caused by 8.0 fdisk when doing a >> install from scratch over a hard drive that all ready has an older >> version of Freebsd installed on it. >> >> The solution is to force the scratching of the MBR on the disk first >> before running sysinstall fdisk. >> >> Boot a LiveFS CD, then at a root prompt do: >> >> sysctl kern.geom.debugflags=16 and: >> >> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 >> >> where x equals your drive number. > > OK. I did exactly that. I confirmed that the second 512 bytes were zero > by doing a dd if/dev/ad0 bs=512 count=2 | od -c > and everything from 001000 through 002000 was zero. > > But I still got "Invalid partition table" after the installation. > > I guess I should set up one of my other systems as a local mirror. > I've done the installation so many time already, and it looks like > I'm not done yet! On the 8.0 fdisk/MBR subject. Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the solution from another post to the list with subject 'SunFire X2100 fails'. Here is another post that gives more details http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ www/db/text/2009/freebsd-questions/20091227.freebsd-questions It seems in 8.0 gpart was introduced and a change was made to fdisk to support its sector o mbr format. 8.0 fdisk and disklabel are now broken. Searching the list archives may shed more light on your problem. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 08:29: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 745751065692 for ; Fri, 22 Jan 2010 08:29:06 +0000 (UTC) (envelope-from alain.aubord@sourire.ch) Received: from 212-98-41-64.static.adslpremium.ch (212-98-41-64.static.adslpremium.ch [212.98.41.64]) by mx1.freebsd.org (Postfix) with ESMTP id E819D8FC16 for ; Fri, 22 Jan 2010 08:29:05 +0000 (UTC) Received: from biollaz.local.sourire.ch (localhost [127.0.0.1]) by 212-98-41-64.static.adslpremium.ch (8.14.3+Sun/8.14.3) with ESMTP id o0M8LewN001095; Fri, 22 Jan 2010 09:21:40 +0100 (CET) Received: (from alain@localhost) by biollaz.local.sourire.ch (8.14.3+Sun/8.14.3/Submit) id o0M8LLqu001094; Fri, 22 Jan 2010 09:21:21 +0100 (CET) Date: Fri, 22 Jan 2010 09:21:21 +0100 From: rhino64@postmail.ch To: Manolis Kiagias Message-ID: <20100122082121.GA1051@biollaz.local.sourire.ch> Mail-Followup-To: Manolis Kiagias , freebsd-questions@freebsd.org References: <20100121185441.GB4125@biollaz.local.sourire.ch> <4B58C787.9040800@otenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B58C787.9040800@otenet.gr> User-Agent: Mutt/1.5.19 (2009-01-05) X-Mailman-Approved-At: Fri, 22 Jan 2010 12:49:46 +0000 Cc: freebsd-questions@freebsd.org Subject: Re: Re: xdm and xdmcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 08:29:06 -0000 On Thu, Jan 21, 2010 at 11:30:47PM +0200, Manolis Kiagias wrote: > On 21/01/2010 8:54 μ.μ., rhino64@postmail.ch wrote: > > modifying Xaccess, starting xdm with parameter "udpPort 177". > > > > The command "netstat -a" never indicates that a process is listening on that port. > > > > The notes in Xaccess seem to indicate that when a LISTEN line is not > present, it works like LISTEN * > I found this to be false. Please insert a LISTEN line with your IP > address, i.e. > > LISTEN 10.14.28.10 > > With wdm, the listening is possible but I cannot start the X server even if the server alone > > is perfectly working and if it is correctly started by xdm. > > > > I don't want to use kdm or gdm since they are too heavy (almost all kde and gnome should be > > installed with them). > > > > Thanks, this was the correct point. I have added the "LISTEN 0.0.0.0" directive in Xaccess file and it works. xdm is perfect for me, I have just tried wdm since I was not able to make xdm work like I wanted. Thanks for the help. Alain Aubord From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:10:12 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 AAB0D106568F for ; Fri, 22 Jan 2010 13:10:12 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 6EAD68FC16 for ; Fri, 22 Jan 2010 13:10:12 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id 7C752136CE1 for ; Fri, 22 Jan 2010 14:10:11 +0100 (CET) Received: from mail (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 608AE1054419 for ; Fri, 22 Jan 2010 14:10:11 +0100 (CET) Received: from lisa.esiee.fr (lisa [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 5004E1054418 for ; Fri, 22 Jan 2010 14:10:11 +0100 (CET) Message-ID: <4B59A3B3.6050602@esiee.fr> Date: Fri, 22 Jan 2010 14:10:11 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091216 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B5880B4.2070900@esiee.fr> <4B58838B.8060300@web.de> In-Reply-To: <4B58838B.8060300@web.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: How to activate French locale ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:10:12 -0000 On 01/21/10 17:40, Frank Wi=DFmann wrote: > Frank Bonnet schrieb: >> Hello >> >> The question is in the subject :-) >> >> Thanks a lot >> _______________________________________________ > > Hi! > You may want to set > setenv LANG fr_FR.ISO8859-15 > in your .cshrc. > > Greetings Frank > Hello Thanks for the answer , but I want to do this at server level this machine is an email server used by French clients ( mostly windows=20 and Linux Debian ) thanks From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:11:42 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 1C8691065693 for ; Fri, 22 Jan 2010 13:11:42 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id BEC328FC16 for ; Fri, 22 Jan 2010 13:11:41 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0MCaEJ27898; Fri, 22 Jan 2010 06:36:14 -0600 (CST) (envelope-from john) Date: Fri, 22 Jan 2010 06:36:14 -0600 From: John To: Fbsd1 Message-ID: <20100122063614.A27734@starfire.mn.org> References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <4B59973B.8040203@a1poweruser.com>; from fbsd1@a1poweruser.com on Fri, Jan 22, 2010 at 08:16:59PM +0800 Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:11:42 -0000 On Fri, Jan 22, 2010 at 08:16:59PM +0800, Fbsd1 wrote: > John wrote: > > On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: > >> John wrote: > >>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: > >>>> John wrote: > >>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. > >>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 > >>>>> Gb. I've tried to figure out what the BIOS thinks the geometry > >>>>> is, but it doesn't seem to want to tell me. At least, I can't find > >>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with > >>>>> the 255 head geometry, though, it complains about the disk geometry, > >>>>> saying 16h,63s != 255h,63s or something like that - it flies by > >>>>> pretty fast (is there a way to go back and see that from the CD-ROM > >>>>> "boot only" boot?). > >>>>> > >>>>> I'm using the "Standard" boot manager, and the entire disk is devoted > >>>>> to FreeBSD. > >>>>> > >>>>> System > >>>>> BIOS version PT84510A.86A.2004.P05 > >>>>> Processor Type: Intel Pentium 4 > >>>>> Processor speed: 2.20Ghz > >>>>> > >>>>> Memory: 512Mb > >>>>> > >>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) > >>>>> Primary IDE Slave: IOMega ZIP 250 > >>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) > >>>>> Secondary IDE Slave: DVD-ROM DDU1621 > >>>>> > >>>>> Boot sequence: > >>>>> 1) ATAPI CD-ROM > >>>>> 2) Hard Drive > >>>>> 3) "Removable Dev." > >>>>> > >>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 > >>>>> "calculated" geometry: 9729/255/63 for ad0 > >>>>> > >>>>> ad0s1 start=63, size=2875572 > >>>>> ad0s2 start=2875635, size=10217340 > >>>>> ad0s3 start=13092975, size=143203410 > >>>>> unus start=156296384, size=5103 > >>>>> > >>>>> ad0s1a / 384Mb > >>>>> ad0s1d /usr 1Gb > >>>>> ad0s2b SWAP 1Gb > >>>>> ad0s2d /tmp 384Mb > >>>>> ad0s2e /var 512Mb > >>>>> ad0s2f /var/mail 2Gb > >>>>> ad0s2g /usr/ports 1Gb > >>>>> ad0s3d /home/mysql 4Gb > >>>>> ad0s3e /home 50Gb > >>>>> ad0s3f /usr/src 3Gb > >>>>> ad0s3g /usr/obj 3Gb > >>>>> ad0s3h /extra 8483Mb > >>>>> > >>>>> Suggestions, please? I'm making zero headway right now. :( > >>>> What version of FreeBSD are you running???? > >>> Well, yes, I suppose that would be a good bit of information! > >>> > >>> What I'm *TRYING* to run is 8.0. It seems to install successfully > >>> (of course - after doing all that), but then when I try to boot > >>> from the hard drive, I see an otherwise-blank screen that says: > >>> > >>> > >>> Invalid partition table > >>> > >>> > >>> and that's as far as it goes! > >>> > >>>> _______________________________________________ > >>>> 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" > >> There are reports of this sort of thing caused by 8.0 fdisk when doing a > >> install from scratch over a hard drive that all ready has an older > >> version of Freebsd installed on it. > >> > >> The solution is to force the scratching of the MBR on the disk first > >> before running sysinstall fdisk. > >> > >> Boot a LiveFS CD, then at a root prompt do: > >> > >> sysctl kern.geom.debugflags=16 and: > >> > >> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 > >> > >> where x equals your drive number. > > > > OK. I did exactly that. I confirmed that the second 512 bytes were zero > > by doing a dd if/dev/ad0 bs=512 count=2 | od -c > > and everything from 001000 through 002000 was zero. > > > > But I still got "Invalid partition table" after the installation. > > > > I guess I should set up one of my other systems as a local mirror. > > I've done the installation so many time already, and it looks like > > I'm not done yet! > > On the 8.0 fdisk/MBR subject. > Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the > solution from another post to the list with subject 'SunFire X2100 > fails'. Here is another post that gives more details > http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ > www/db/text/2009/freebsd-questions/20091227.freebsd-questions > > It seems in 8.0 gpart was introduced and a change was made to fdisk to > support its sector o mbr format. 8.0 fdisk and disklabel are now broken. > > Searching the list archives may shed more light on your problem. Hmmm. This seems to describe a case where fdisk fails to change the slice table. That is definitely not my case. The changes certainly get made. The next time I go to retry the installation, it has the information I gave it the previous time. I suppose it is possible that it is putting it (and reading it) in the wrong location, which is why the MBR throws up. The problem is that I have a finite (and smallish) amount of time in which to solve this. It seems like the most expedient route forward at this point may be to try to install 7.2 and see how that goes. -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:13: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 B6747106568D for ; Fri, 22 Jan 2010 13:13:58 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4B18FC16 for ; Fri, 22 Jan 2010 13:13:57 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id D7DEC136CC5 for ; Fri, 22 Jan 2010 14:13:56 +0100 (CET) Received: from mail (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id BD06A1054419 for ; Fri, 22 Jan 2010 14:13:56 +0100 (CET) Received: from lisa.esiee.fr (lisa [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id AB2391054418 for ; Fri, 22 Jan 2010 14:13:56 +0100 (CET) Message-ID: <4B59A494.1070507@esiee.fr> Date: Fri, 22 Jan 2010 14:13:56 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20091216 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B5880B4.2070900@esiee.fr> <4B58838B.8060300@web.de> <4B59A3B3.6050602@esiee.fr> In-Reply-To: <4B59A3B3.6050602@esiee.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: How to activate French locale ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:13:58 -0000 On 01/22/10 14:10, Frank Bonnet wrote: > On 01/21/10 17:40, Frank Wi=DFmann wrote: >> Frank Bonnet schrieb: >>> Hello >>> >>> The question is in the subject :-) >>> >>> Thanks a lot >>> _______________________________________________ >> >> Hi! >> You may want to set >> setenv LANG fr_FR.ISO8859-15 >> in your .cshrc. >> >> Greetings Frank >> > > Hello > > Thanks for the answer , but I want to do this at server level > this machine is an email server used by French clients ( mostly windows > and Linux Debian ) > > thanks The server is accessed thru imap ou pop3 protocols, nobody has local server access. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:22:56 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 B02AB106568D for ; Fri, 22 Jan 2010 13:22:56 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAC58FC0A for ; Fri, 22 Jan 2010 13:22:56 +0000 (UTC) Received: by pxi28 with SMTP id 28so838340pxi.7 for ; Fri, 22 Jan 2010 05:22:56 -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=nOIDWhj23GLlXPTMguJyrCgO7IfTNWc6o7PovXjfP3g=; b=xrFISLfJ9zR1yKXKE3r0Jpnjl+6t8NEJDirJ+ZM7dEAmyiaGp5HG7tOKG1xK7EYL60 PCZWbI7yj4vvUrKO8fVTstzC+TblXgNN9NRPvPaoVJ4A2N5AehpmGLPehr/P00D8z4eL 6qzd7Vg0o/i06gNWq2ROeznM279Ya9Wv0R5bo= 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=c2N2n6WyC7aaMv1eR7WuLbK3fKD4PC0OZC5qeTDIq+m+mIunmpjGY8vqNxOovZb0EH wCOQGMrOyAtmmP19SWzXq+VSGRGMCXbUg5yfp0wymBb0sEWw0TKzVyTzuOL2hGbB9wn1 ZXrWPnkX54iBeXNn+BnCizk7vOJ8txI69myiY= MIME-Version: 1.0 Received: by 10.115.39.26 with SMTP id r26mr2005424waj.29.1264166575999; Fri, 22 Jan 2010 05:22:55 -0800 (PST) In-Reply-To: <4B594FC0.3010200@el.net> References: <4B594FC0.3010200@el.net> Date: Fri, 22 Jan 2010 06:22:55 -0700 Message-ID: From: Tim Judd To: kalin m Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:22:56 -0000 On 1/22/10, kalin m wrote: > > hi all... > > doing testing with pf... > > how is it possible that if i have these rules below in pf.conf if i do: > telnet that.host.org 25 > > i get: > Trying xx.xx.xx.xx... > Connected to that.host.org. > Escape character is '^]'. > ........... etc ....... > > > pf.conf contetns: > > tcp_in = "{ www, https }" > ftp_in = "{ ftp }" > udp = "{ domain, ntp }" > ping = "echoreq" > > set skip on lo > scrub in > > antispoof for eth0 inet > > block in all > pass out all keep state > pass proto udp to any port $udp > pass inet proto icmp all icmp-type $ping keep state > pass in inet proto tcp to any port $tcp_in flags S/SAF synproxy state > pass proto tcp to any port ssh > > pfctl -s info Look for the fact it says "Enabled" (near the top of the screen) and you're blocking inbound all, but since you're passing out all, telnetting out will work. You aren't very clear on which side you have the pf loaded on, the email indicates it's the client-side you have pf enabled. Please clarify. --TJ From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:27:58 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 5196510657EA for ; Fri, 22 Jan 2010 13:27:58 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id 186278FC1E for ; Fri, 22 Jan 2010 13:27:57 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0MDRug28985; Fri, 22 Jan 2010 07:27:56 -0600 (CST) (envelope-from john) Date: Fri, 22 Jan 2010 07:27:56 -0600 From: John To: Fbsd1 Message-ID: <20100122072756.A28958@starfire.mn.org> References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> <20100122063614.A27734@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20100122063614.A27734@starfire.mn.org>; from john@starfire.mn.org on Fri, Jan 22, 2010 at 06:36:14AM -0600 Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:27:58 -0000 On Fri, Jan 22, 2010 at 06:36:14AM -0600, John wrote: > On Fri, Jan 22, 2010 at 08:16:59PM +0800, Fbsd1 wrote: > > John wrote: > > > On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: > > >> John wrote: > > >>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: > > >>>> John wrote: > > >>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. > > >>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 > > >>>>> Gb. I've tried to figure out what the BIOS thinks the geometry > > >>>>> is, but it doesn't seem to want to tell me. At least, I can't find > > >>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with > > >>>>> the 255 head geometry, though, it complains about the disk geometry, > > >>>>> saying 16h,63s != 255h,63s or something like that - it flies by > > >>>>> pretty fast (is there a way to go back and see that from the CD-ROM > > >>>>> "boot only" boot?). > > >>>>> > > >>>>> I'm using the "Standard" boot manager, and the entire disk is devoted > > >>>>> to FreeBSD. > > >>>>> > > >>>>> System > > >>>>> BIOS version PT84510A.86A.2004.P05 > > >>>>> Processor Type: Intel Pentium 4 > > >>>>> Processor speed: 2.20Ghz > > >>>>> > > >>>>> Memory: 512Mb > > >>>>> > > >>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) > > >>>>> Primary IDE Slave: IOMega ZIP 250 > > >>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) > > >>>>> Secondary IDE Slave: DVD-ROM DDU1621 > > >>>>> > > >>>>> Boot sequence: > > >>>>> 1) ATAPI CD-ROM > > >>>>> 2) Hard Drive > > >>>>> 3) "Removable Dev." > > >>>>> > > >>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 > > >>>>> "calculated" geometry: 9729/255/63 for ad0 > > >>>>> > > >>>>> ad0s1 start=63, size=2875572 > > >>>>> ad0s2 start=2875635, size=10217340 > > >>>>> ad0s3 start=13092975, size=143203410 > > >>>>> unus start=156296384, size=5103 > > >>>>> > > >>>>> ad0s1a / 384Mb > > >>>>> ad0s1d /usr 1Gb > > >>>>> ad0s2b SWAP 1Gb > > >>>>> ad0s2d /tmp 384Mb > > >>>>> ad0s2e /var 512Mb > > >>>>> ad0s2f /var/mail 2Gb > > >>>>> ad0s2g /usr/ports 1Gb > > >>>>> ad0s3d /home/mysql 4Gb > > >>>>> ad0s3e /home 50Gb > > >>>>> ad0s3f /usr/src 3Gb > > >>>>> ad0s3g /usr/obj 3Gb > > >>>>> ad0s3h /extra 8483Mb > > >>>>> > > >>>>> Suggestions, please? I'm making zero headway right now. :( > > >>>> What version of FreeBSD are you running???? > > >>> Well, yes, I suppose that would be a good bit of information! > > >>> > > >>> What I'm *TRYING* to run is 8.0. It seems to install successfully > > >>> (of course - after doing all that), but then when I try to boot > > >>> from the hard drive, I see an otherwise-blank screen that says: > > >>> > > >>> > > >>> Invalid partition table > > >>> > > >>> > > >>> and that's as far as it goes! > > >>> > > >>>> _______________________________________________ > > >>>> 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" > > >> There are reports of this sort of thing caused by 8.0 fdisk when doing a > > >> install from scratch over a hard drive that all ready has an older > > >> version of Freebsd installed on it. > > >> > > >> The solution is to force the scratching of the MBR on the disk first > > >> before running sysinstall fdisk. > > >> > > >> Boot a LiveFS CD, then at a root prompt do: > > >> > > >> sysctl kern.geom.debugflags=16 and: > > >> > > >> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 > > >> > > >> where x equals your drive number. > > > > > > OK. I did exactly that. I confirmed that the second 512 bytes were zero > > > by doing a dd if/dev/ad0 bs=512 count=2 | od -c > > > and everything from 001000 through 002000 was zero. > > > > > > But I still got "Invalid partition table" after the installation. > > > > > > I guess I should set up one of my other systems as a local mirror. > > > I've done the installation so many time already, and it looks like > > > I'm not done yet! > > > > On the 8.0 fdisk/MBR subject. > > Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the > > solution from another post to the list with subject 'SunFire X2100 > > fails'. Here is another post that gives more details > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ > > www/db/text/2009/freebsd-questions/20091227.freebsd-questions > > > > It seems in 8.0 gpart was introduced and a change was made to fdisk to > > support its sector o mbr format. 8.0 fdisk and disklabel are now broken. > > > > Searching the list archives may shed more light on your problem. > > Hmmm. This seems to describe a case where fdisk fails to change > the slice table. That is definitely not my case. The changes > certainly get made. The next time I go to retry the installation, > it has the information I gave it the previous time. I suppose it is > possible that it is putting it (and reading it) in the wrong location, > which is why the MBR throws up. > > The problem is that I have a finite (and smallish) amount of time > in which to solve this. It seems like the most expedient route > forward at this point may be to try to install 7.2 and see how > that goes. OK - well, I just tried with 7.2. I got exactly the same results. After what seems like a successful installation, I try to boot from the hard disk and get "Invalid partition table." Should I try Boot Manager? Could that make a difference? Is it possible that this combination of BIOS, processor, disk drive, etc., just isn't going to to do for me? I can't just keep throwing hours at this problem. -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:40: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 C69231065679 for ; Fri, 22 Jan 2010 13:40:16 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id AC4618FC08 for ; Fri, 22 Jan 2010 13:40:16 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 05:40:16 -0800 Message-ID: <4B59AABA.6030301@a1poweruser.com> Date: Fri, 22 Jan 2010 21:40:10 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Christoph Kukulies References: <4B581838.8010107@kukulies.org> <4B586142.3020404@a1poweruser.com> <4B5861E1.7030800@kukulies.org> In-Reply-To: <4B5861E1.7030800@kukulies.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jan 2010 13:40:16.0894 (UTC) FILETIME=[6EA8C9E0:01CA9B68] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:40:16 -0000 Christoph Kukulies wrote: > Fbsd1 schrieb: >> Christoph Kukulies wrote: >>> I installed FreeBSD 8.0 on an USB-stick and was able to boot it on my >>> Desktop PC and install 8.0 >>> from it. DO YOU MEAN YOU INSTALLED THE 8.0 ISO ON A USB STICK. BOOTED FROM IT AS INSTALL SOURCE AND INSTALLED 8.0 ON A DESKTOP PC TO THE MOTHERBOARD CABLED HARD DRIVE??? OR DO YOU MEAN YOU INSTALLED 8.0 ON A DESKTOP PC TO ANOTHER USB STICK??? >>> >>> Now I plugged the same stick into my Dell Inspiron 9400 and the USB >>> stick (2GB) is not even listed in the F12 Bios boot menu. YOU MEAN YOU PLUGGED THE STICK WITH THE ISO INSTALLED ON IT THAT THE DESKTOP BOOTED FROM??? >>> >>> Any clues? >>> >>> -- >>> Christoph >>> >>> >> Older pc's have bios which do not have option to boot from USB stick. >> I think that is so in your case. Check mfg website for bios update. >> If not you are SOL. (shit outof luck) > > I can boot USB sticks in general from that notebook/BIOS. That Dell 9400 > isn't that old. Today I tried an another USB stick (16GB) an Ubuntu 9.04 > boot image and it worked fine. I saw the boot device under F12 in the > bootable device menu. > It's definitely not the BIOS. Could be some partition problem (active > partition?). > Why is it part #4 btw, that FreeBSD resides in and not part #1 ? LETS NOT GET CONFUSED WITH MSDOS /FREEBSD TERMS. IN FREEBSD A SLICE IS WHAT MSDOS CALLS A PARTITION. IN FREEBSD A PARTITION IS A FILE SYSTEM SUCH AS /, /USR, /VAR WITH IN THE SLICE. A SLICE IS MARKED AS ACTIVE MEANING ITS BOOTABLE. THE MBR (MASTER BOOT RECORD)PARTITION TABLE IS REALLY FREEBSD SLICE TABLE. FROM YOUR STATEMENT ABOVE YOU HAVE A MOTHERBOARD CABLED HARD DRIVE WITH 4 PARTITIONS/SLICES DEFINED IN THE MBR PARTITION TABLE. THE FIRST 3 PARTITIONS COULD BE HOLDING OTHER OPERATING SYSTEMS THAT YOU MAY WANT TO BOOT FROM. IS THIS CORRECT? > I followed some FreeBSD howto, if I'm not wrong, to bring the ISO > to the USB stick. Think it was a tool from HP to write it to the stick. > > -- > Christoph > > Here is some thing for you to check. When you plug your USB stick into a running freebsd system a bunch of messages are printed on the root console. One of those messages contain the Revision level of the 2.0 standard used by the micro code in the usb stick. I have found through testing different non-branded and branded sticks that the Revision level makes a very large difference in whether you can boot from the stick. Sticks that show Rev 2.00/0.00 or 2.00/1.00 will never boot. Only sticks that show Rev 2.00/2.00 are bootable. Now since only one of my 4 pc's is new enough to have bios option to boot from usb stick I do not know if these results are dependent on my particular Acer TravelMate 4220 pc bios. Please let me know what usb stick Revision levels you can boot from on both your desktop and laptop. I would think if the stick is bootable on desktop it should also boot on the laptop. Here is the script I use to put the disc-1 iso on usb stick so I can use the stick as source media to install from. When booting from usb stick as install source and installing onto another usb stack as the target you have to have both sticks plugged in before booting. When you are in sysinstall fdisk check the stick size to verify you have chosen the correct da stick as target. You can find yourself fdisking your source stick by mistake. If you don't get prompt to chose da0 or da1 before fdisk starts then you have to tell sysinstall to re-probe devices by using options rescan (*) off the main menu, move highlight bar by using arrow keys and hit space bar to rescan. Then you should get prompt containing both da devices before fdisk. I have used this command to to write zeros to the usb stick MBR dd if=/dev/zero of=/dev/da0 count=1 and this command to display the MBR dd if=/dev/da0 count=1 | od -c I also notice that fdisk does not allocate space on usb sticks as i would expect. It always allocates a free space before and after the full stick single slice. It also never get the size of the stick correct. A 2GB stick is shown as 1.7GB and 4GB stick is shown as 3.7GB. Do you see the same thing happening with your usb sticks? #!/bin/sh #Purpose = Use to transfer the FreeBSD install cd1 to # a bootable 1GB USB flash drive so it can be used to install from. # First fetch the FreeBSD 7.1-RELEASE-i386-disc1.iso to your # hard drive /usr. Then execute this script from the command line # fbsd2usb /usr/7.1-RELEASE-i386-disc1.iso /usr/7.1-RELEASE-i386-disc1.img # Change system bios to boot from USB-dd and away you go. # NOTE: This script has to be run from root and your 1GB USB flash drive # has to be plugged in before running this script. # On the command line enter fbsd2usb iso-path img-path # You can set some variables here. Edit them to fit your needs. # Set serial variable to 0 if you don't want serial console at all, # 1 if you want comconsole and 2 if you want comconsole and vidconsole serial=0 set -u if [ $# -lt 2 ]; then echo "Usage: $0 source-iso-path output-img-path" exit 1 fi isoimage=$1; shift imgoutfile=$1; shift # Temp directory to be used later #export tmpdir=$(mktemp -d -t fbsdmount) export tmpdir=$(mktemp -d /usr/fbsdmount) export isodev=$(mdconfig -a -t vnode -f ${isoimage}) ISOSIZE=$(du -k ${isoimage} | awk '{print $1}') SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4)) #SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2)) echo " " echo "### Initializing image File started ###" echo "### This will take about 1 minute ###" date dd if=/dev/zero of=${imgoutfile} count=${SECTS} echo "### Initializing image File completed ###" date echo " " ls -l ${imgoutfile} export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile}) bsdlabel -w -B ${imgdev} newfs -O1 /dev/${imgdev}a mkdir -p ${tmpdir}/iso ${tmpdir}/img mount -t cd9660 /dev/${isodev} ${tmpdir}/iso mount /dev/${imgdev}a ${tmpdir}/img echo " " echo "### Started Copying files to the image now ###" echo "### This will take about 6 minutes ###" date ( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img ) echo "### Completed Copying files to the image ###" date if [ ${serial} -eq 2 ]; then echo "-D" > ${tmpdir}/img/boot.config echo 'console="comconsole, vidconsole"' >> ${tmpdir}/img/boot/loader.conf elif [ ${serial} -eq 1 ]; then echo "-h" > ${tmpdir}/img/boot.config echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf fi echo " " echo "### Started writing image to flash drive now ###" echo "### This will take about 16 minutes ###" date dd if=${imgoutfile} of=/dev/da0 bs=1m echo "### Completed writing image to flash drive at ###" date cleanup() { umount ${tmpdir}/iso mdconfig -d -u ${isodev} umount ${tmpdir}/img mdconfig -d -u ${imgdev} rm -rf ${tmpdir} } cleanup ls -lh ${imgoutfile} echo "### Script finished ###" From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:56:53 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 0BF1F106566B for ; Fri, 22 Jan 2010 13:56:53 +0000 (UTC) (envelope-from cristiano.deana@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 9A76B8FC19 for ; Fri, 22 Jan 2010 13:56:52 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so13709fga.13 for ; Fri, 22 Jan 2010 05:56:51 -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:content-type; bh=de0FoazSbJSd+NN0Bb98lWkuTjghfErJWh47sZeJKes=; b=g3a9EfSxw4liV4c2MiM+dCmm5Od9t2gHw03mljf3KKln/Qxs7CsQnImU98YqE3o/Bb 45yQAHGa/VfiIrAe6VIrfuhQKrc+CuZsaaEtTKCiSuVrkwCuDu1/5KoIaykBXDbm+Ikd IyuUBlD9jNea54oBV/GoYPWEcXlWmuGWrDRr0= 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 :content-type; b=QIYrpAhduBNTK0i9yl0WDLZB3873sEus9YX/SHRMt2LO9CGzXapGAwdj6dPQ6kBgNr 1B8cWqxt61+i5mkDFLN9EcyaSkRgX4Q1DMvnE8iMqoQ6gXmh/BJgNmOKtu4PITVj+/4B o//48TyChXmeeyAlQU9pWsZ3T1vs/Nb9mdRJU= MIME-Version: 1.0 Received: by 10.239.131.10 with SMTP id 10mr390040hbl.68.1264168609893; Fri, 22 Jan 2010 05:56:49 -0800 (PST) In-Reply-To: <4B594FC0.3010200@el.net> References: <4B594FC0.3010200@el.net> Date: Fri, 22 Jan 2010 14:56:49 +0100 Message-ID: From: Cristiano Deana To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:56:53 -0000 On Fri, Jan 22, 2010 at 8:12 AM, kalin m wrote: > how is it possible that if i have these rules below in pf.conf if i do: > telnet that.host.org 25 > > i get: > Trying xx.xx.xx.xx... > Connected to that.host.org. > Escape character is '^]'. you probably don't load pf. pfctl -sa | grep Status echo 'pf_enable="YES"' >> etc/rc.conf && /etc/rc.d/pf restart -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 13:56:53 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 B77961065670 for ; Fri, 22 Jan 2010 13:56:53 +0000 (UTC) (envelope-from b.dejoly@gers.net) Received: from smtpfb1-g21.free.fr (smtpfb1-g21.free.fr [212.27.42.9]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6AB8FC0A for ; Fri, 22 Jan 2010 13:56:51 +0000 (UTC) Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by smtpfb1-g21.free.fr (Postfix) with ESMTP id 6776677C852 for ; Fri, 22 Jan 2010 14:40:02 +0100 (CET) Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id B6BBBE08054 for ; Fri, 22 Jan 2010 14:39:56 +0100 (CET) Received: from ns2.gers.net (ns3.gers.net [62.147.205.205]) by smtp6-g21.free.fr (Postfix) with ESMTP id D3008E080E5 for ; Fri, 22 Jan 2010 14:39:53 +0100 (CET) Received: from [192.168.2.18] (ns.gers.net [81.56.213.251]) by ns2.gers.net (Postfix) with ESMTP id D632320C2 for ; Fri, 22 Jan 2010 14:45:04 +0100 (CET) Message-Id: <145B5F80-8BBE-46E9-9BBF-C2E593507EE7@gers.net> From: Bernard de Joly To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 22 Jan 2010 14:39:52 +0100 X-Mailer: Apple Mail (2.936) Cc: Subject: Where is portsnap ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 13:56:53 -0000 Hello, I use freebsd for several years and I appreciate portsnap but it =20 doesn't seem to be on the current port tree anymore =85 Can you tell me what is happening with him? Anyway thank you for your so useful work. Best regards, Bernard de Joly Lasserre d'Amour 32250 Montr=E9al du Gers T=E9l=E9phone 09 53 79 84 21 http://www.gers.net/b.dejoly/ From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 14:00: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 BE5B31065696 for ; Fri, 22 Jan 2010 14:00:19 +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 2936A8FC12 for ; Fri, 22 Jan 2010 14:00:17 +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)); Fri, 22 Jan 2010 09:00:10 -0500 References: <145B5F80-8BBE-46E9-9BBF-C2E593507EE7@gers.net> Message-Id: <647D44BD-C783-4F7D-9936-631384086C0A@olivent.com> From: mikel king To: Bernard de Joly In-Reply-To: <145B5F80-8BBE-46E9-9BBF-C2E593507EE7@gers.net> Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 22 Jan 2010 09:00:09 -0500 X-Mailer: Apple Mail (2.936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@FreeBSD.org Subject: Re: Where is portsnap ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 14:00:19 -0000 On Jan 22, 2010, at 8:39 AM, Bernard de Joly wrote: > Hello, > > I use freebsd for several years and I appreciate portsnap but it =20 > doesn't seem to be on the current port tree anymore =85 > Can you tell me what is happening with him? > > Anyway thank you for your so useful work. > > Best regards, > > Bernard de Joly > Lasserre d'Amour > 32250 Montr=E9al du Gers > T=E9l=E9phone 09 53 79 84 21 > http://www.gers.net/b.dejoly/ > > ___________________________________________ It is part of the base. As of 6.3, I think. 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 Fri Jan 22 14:03:27 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 3DD69106568F for ; Fri, 22 Jan 2010 14:03:27 +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 07F7E8FC20 for ; Fri, 22 Jan 2010 14:03:25 +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)) for freebsd-questions@FreeBSD.org; Fri, 22 Jan 2010 09:03:24 -0500 Message-Id: From: mikel king To: FreeBSD Questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Fri, 22 Jan 2010 09:03:23 -0500 X-Mailer: Apple Mail (2.936) Cc: Subject: make delete-old && make delete-old-libs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 14:03:27 -0000 I had a system that was royally borked after upgrading and completing these steps a few years ago. Ever since I have always skipped these steps. Has anyone else experienced any issues with these two steps? Cheers, Mikel From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 14:06:28 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 01422106566B for ; Fri, 22 Jan 2010 14:06:28 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id DD6978FC1D for ; Fri, 22 Jan 2010 14:06:27 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 06:06:26 -0800 Message-ID: <4B59B0DB.3010705@a1poweruser.com> Date: Fri, 22 Jan 2010 22:06:19 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: John References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> <20100122063614.A27734@starfire.mn.org> <20100122072756.A28958@starfire.mn.org> In-Reply-To: <20100122072756.A28958@starfire.mn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Jan 2010 14:06:27.0284 (UTC) FILETIME=[16AF4940:01CA9B6C] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 14:06:28 -0000 John wrote: > On Fri, Jan 22, 2010 at 06:36:14AM -0600, John wrote: >> On Fri, Jan 22, 2010 at 08:16:59PM +0800, Fbsd1 wrote: >>> John wrote: >>>> On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: >>>>> John wrote: >>>>>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: >>>>>>> John wrote: >>>>>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. >>>>>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 >>>>>>>> Gb. I've tried to figure out what the BIOS thinks the geometry >>>>>>>> is, but it doesn't seem to want to tell me. At least, I can't find >>>>>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with >>>>>>>> the 255 head geometry, though, it complains about the disk geometry, >>>>>>>> saying 16h,63s != 255h,63s or something like that - it flies by >>>>>>>> pretty fast (is there a way to go back and see that from the CD-ROM >>>>>>>> "boot only" boot?). >>>>>>>> >>>>>>>> I'm using the "Standard" boot manager, and the entire disk is devoted >>>>>>>> to FreeBSD. >>>>>>>> >>>>>>>> System >>>>>>>> BIOS version PT84510A.86A.2004.P05 >>>>>>>> Processor Type: Intel Pentium 4 >>>>>>>> Processor speed: 2.20Ghz >>>>>>>> >>>>>>>> Memory: 512Mb >>>>>>>> >>>>>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) >>>>>>>> Primary IDE Slave: IOMega ZIP 250 >>>>>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) >>>>>>>> Secondary IDE Slave: DVD-ROM DDU1621 >>>>>>>> >>>>>>>> Boot sequence: >>>>>>>> 1) ATAPI CD-ROM >>>>>>>> 2) Hard Drive >>>>>>>> 3) "Removable Dev." >>>>>>>> >>>>>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 >>>>>>>> "calculated" geometry: 9729/255/63 for ad0 >>>>>>>> >>>>>>>> ad0s1 start=63, size=2875572 >>>>>>>> ad0s2 start=2875635, size=10217340 >>>>>>>> ad0s3 start=13092975, size=143203410 >>>>>>>> unus start=156296384, size=5103 >>>>>>>> >>>>>>>> ad0s1a / 384Mb >>>>>>>> ad0s1d /usr 1Gb >>>>>>>> ad0s2b SWAP 1Gb >>>>>>>> ad0s2d /tmp 384Mb >>>>>>>> ad0s2e /var 512Mb >>>>>>>> ad0s2f /var/mail 2Gb >>>>>>>> ad0s2g /usr/ports 1Gb >>>>>>>> ad0s3d /home/mysql 4Gb >>>>>>>> ad0s3e /home 50Gb >>>>>>>> ad0s3f /usr/src 3Gb >>>>>>>> ad0s3g /usr/obj 3Gb >>>>>>>> ad0s3h /extra 8483Mb >>>>>>>> >>>>>>>> Suggestions, please? I'm making zero headway right now. :( >>>>>>> What version of FreeBSD are you running???? >>>>>> Well, yes, I suppose that would be a good bit of information! >>>>>> >>>>>> What I'm *TRYING* to run is 8.0. It seems to install successfully >>>>>> (of course - after doing all that), but then when I try to boot >>>>>> from the hard drive, I see an otherwise-blank screen that says: >>>>>> >>>>>> >>>>>> Invalid partition table >>>>>> >>>>>> >>>>>> and that's as far as it goes! >>>>>> >>>>>>> _______________________________________________ >>>>>>> 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" >>>>> There are reports of this sort of thing caused by 8.0 fdisk when doing a >>>>> install from scratch over a hard drive that all ready has an older >>>>> version of Freebsd installed on it. >>>>> >>>>> The solution is to force the scratching of the MBR on the disk first >>>>> before running sysinstall fdisk. >>>>> >>>>> Boot a LiveFS CD, then at a root prompt do: >>>>> >>>>> sysctl kern.geom.debugflags=16 and: >>>>> >>>>> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 >>>>> >>>>> where x equals your drive number. >>>> OK. I did exactly that. I confirmed that the second 512 bytes were zero >>>> by doing a dd if/dev/ad0 bs=512 count=2 | od -c >>>> and everything from 001000 through 002000 was zero. >>>> >>>> But I still got "Invalid partition table" after the installation. >>>> >>>> I guess I should set up one of my other systems as a local mirror. >>>> I've done the installation so many time already, and it looks like >>>> I'm not done yet! >>> On the 8.0 fdisk/MBR subject. >>> Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the >>> solution from another post to the list with subject 'SunFire X2100 >>> fails'. Here is another post that gives more details >>> http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ >>> www/db/text/2009/freebsd-questions/20091227.freebsd-questions >>> >>> It seems in 8.0 gpart was introduced and a change was made to fdisk to >>> support its sector o mbr format. 8.0 fdisk and disklabel are now broken. >>> >>> Searching the list archives may shed more light on your problem. >> Hmmm. This seems to describe a case where fdisk fails to change >> the slice table. That is definitely not my case. The changes >> certainly get made. The next time I go to retry the installation, >> it has the information I gave it the previous time. I suppose it is >> possible that it is putting it (and reading it) in the wrong location, >> which is why the MBR throws up. >> >> The problem is that I have a finite (and smallish) amount of time >> in which to solve this. It seems like the most expedient route >> forward at this point may be to try to install 7.2 and see how >> that goes. > > OK - well, I just tried with 7.2. I got exactly the same results. > After what seems like a successful installation, I try to boot from > the hard disk and get "Invalid partition table." Should I try Boot > Manager? Could that make a difference? Is it possible that this > combination of BIOS, processor, disk drive, etc., just isn't going > to to do for me? I can't just keep throwing hours at this problem. Something is wrong with the MBR. Do dd if=/dev/zero of=/dev/ad0 count=1 to blank out the MBR THEN Do you have a bootable win98 cd or floppy that contains the msdos fdisk pgm. If so boot that and fdisk the hard drive. If not do you have a XP install cd? Boot that and select fdisk and format. After format completes the xp install will auto reboot. Pull the xp cd, power off and try the 7.2 install again. If you have another desktop running xp. Open the box and cable that hard drive to the motherboard, power up and use windows explorer to select that hard drive. you will get prompt that drive is unformated. answer yes to format. Bottom line is use some other system to fdisk that hard drive before trying 7.2 again. One last thing to ask. Before you tried to install 8.0 on that hard drive was it running some other operating system. Can the hard drive be dead and you not know it?? From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 14:09:54 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 0CF881065676 for ; Fri, 22 Jan 2010 14:09:54 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id B05FE8FC1C for ; Fri, 22 Jan 2010 14:09:53 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0ME9o129555; Fri, 22 Jan 2010 08:09:50 -0600 (CST) (envelope-from john) Date: Fri, 22 Jan 2010 08:09:50 -0600 From: John To: Fbsd1 Message-ID: <20100122080950.B28958@starfire.mn.org> References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> <20100122063614.A27734@starfire.mn.org> <20100122072756.A28958@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20100122072756.A28958@starfire.mn.org>; from john@starfire.mn.org on Fri, Jan 22, 2010 at 07:27:56AM -0600 Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation (GOOD NEWS!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 14:09:54 -0000 On Fri, Jan 22, 2010 at 07:27:56AM -0600, John wrote: > On Fri, Jan 22, 2010 at 06:36:14AM -0600, John wrote: > > On Fri, Jan 22, 2010 at 08:16:59PM +0800, Fbsd1 wrote: > > > John wrote: > > > > On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: > > > >> John wrote: > > > >>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: > > > >>>> John wrote: > > > >>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. > > > >>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 > > > >>>>> Gb. I've tried to figure out what the BIOS thinks the geometry > > > >>>>> is, but it doesn't seem to want to tell me. At least, I can't find > > > >>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with > > > >>>>> the 255 head geometry, though, it complains about the disk geometry, > > > >>>>> saying 16h,63s != 255h,63s or something like that - it flies by > > > >>>>> pretty fast (is there a way to go back and see that from the CD-ROM > > > >>>>> "boot only" boot?). > > > >>>>> > > > >>>>> I'm using the "Standard" boot manager, and the entire disk is devoted > > > >>>>> to FreeBSD. > > > >>>>> > > > >>>>> System > > > >>>>> BIOS version PT84510A.86A.2004.P05 > > > >>>>> Processor Type: Intel Pentium 4 > > > >>>>> Processor speed: 2.20Ghz > > > >>>>> > > > >>>>> Memory: 512Mb > > > >>>>> > > > >>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) > > > >>>>> Primary IDE Slave: IOMega ZIP 250 > > > >>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) > > > >>>>> Secondary IDE Slave: DVD-ROM DDU1621 > > > >>>>> > > > >>>>> Boot sequence: > > > >>>>> 1) ATAPI CD-ROM > > > >>>>> 2) Hard Drive > > > >>>>> 3) "Removable Dev." > > > >>>>> > > > >>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 > > > >>>>> "calculated" geometry: 9729/255/63 for ad0 > > > >>>>> > > > >>>>> ad0s1 start=63, size=2875572 > > > >>>>> ad0s2 start=2875635, size=10217340 > > > >>>>> ad0s3 start=13092975, size=143203410 > > > >>>>> unus start=156296384, size=5103 > > > >>>>> > > > >>>>> ad0s1a / 384Mb > > > >>>>> ad0s1d /usr 1Gb > > > >>>>> ad0s2b SWAP 1Gb > > > >>>>> ad0s2d /tmp 384Mb > > > >>>>> ad0s2e /var 512Mb > > > >>>>> ad0s2f /var/mail 2Gb > > > >>>>> ad0s2g /usr/ports 1Gb > > > >>>>> ad0s3d /home/mysql 4Gb > > > >>>>> ad0s3e /home 50Gb > > > >>>>> ad0s3f /usr/src 3Gb > > > >>>>> ad0s3g /usr/obj 3Gb > > > >>>>> ad0s3h /extra 8483Mb > > > >>>>> > > > >>>>> Suggestions, please? I'm making zero headway right now. :( > > > >>>> What version of FreeBSD are you running???? > > > >>> Well, yes, I suppose that would be a good bit of information! > > > >>> > > > >>> What I'm *TRYING* to run is 8.0. It seems to install successfully > > > >>> (of course - after doing all that), but then when I try to boot > > > >>> from the hard drive, I see an otherwise-blank screen that says: > > > >>> > > > >>> > > > >>> Invalid partition table > > > >>> > > > >>> > > > >>> and that's as far as it goes! > > > >>> > > > >>>> _______________________________________________ > > > >>>> 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" > > > >> There are reports of this sort of thing caused by 8.0 fdisk when doing a > > > >> install from scratch over a hard drive that all ready has an older > > > >> version of Freebsd installed on it. > > > >> > > > >> The solution is to force the scratching of the MBR on the disk first > > > >> before running sysinstall fdisk. > > > >> > > > >> Boot a LiveFS CD, then at a root prompt do: > > > >> > > > >> sysctl kern.geom.debugflags=16 and: > > > >> > > > >> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 > > > >> > > > >> where x equals your drive number. > > > > > > > > OK. I did exactly that. I confirmed that the second 512 bytes were zero > > > > by doing a dd if/dev/ad0 bs=512 count=2 | od -c > > > > and everything from 001000 through 002000 was zero. > > > > > > > > But I still got "Invalid partition table" after the installation. > > > > > > > > I guess I should set up one of my other systems as a local mirror. > > > > I've done the installation so many time already, and it looks like > > > > I'm not done yet! > > > > > > On the 8.0 fdisk/MBR subject. > > > Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the > > > solution from another post to the list with subject 'SunFire X2100 > > > fails'. Here is another post that gives more details > > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ > > > www/db/text/2009/freebsd-questions/20091227.freebsd-questions > > > > > > It seems in 8.0 gpart was introduced and a change was made to fdisk to > > > support its sector o mbr format. 8.0 fdisk and disklabel are now broken. > > > > > > Searching the list archives may shed more light on your problem. > > > > Hmmm. This seems to describe a case where fdisk fails to change > > the slice table. That is definitely not my case. The changes > > certainly get made. The next time I go to retry the installation, > > it has the information I gave it the previous time. I suppose it is > > possible that it is putting it (and reading it) in the wrong location, > > which is why the MBR throws up. > > > > The problem is that I have a finite (and smallish) amount of time > > in which to solve this. It seems like the most expedient route > > forward at this point may be to try to install 7.2 and see how > > that goes. > > OK - well, I just tried with 7.2. I got exactly the same results. > After what seems like a successful installation, I try to boot from > the hard disk and get "Invalid partition table." Should I try Boot > Manager? Could that make a difference? Is it possible that this > combination of BIOS, processor, disk drive, etc., just isn't going > to to do for me? I can't just keep throwing hours at this problem. > -- > OK! Well! Good news! After a sort. I switched to BootMgr, and it came right up with 8.0! Slight downside - extra prompt during boot, and of course, it offers me all three slices, when I only need to boot from one. Is that's what's wrong with "Standard" MBR? Are all three FSD partitions (type 165) marked bootable and that's upsetting it? Can I change it so only one of them is marked bootable? Anyway, it appears that there is a problem with the "Standard" MBR boot. I don't think I was doing anything that unnatural - I wanted quite a few file systems, so I used multiple slices, both to keep the boot slice below 1.5Gb and to be able to support all the file systems I wanted, and maybe that's what upset it. I don't know. All I know is that Standard MBR didn't work, and BootMgr does. I'm willing to spend SOME time trying to debug / fix this for the good of the community and the next poor sucker who comes along behind me, but I need to move somewhat quickly. I actually plan to use this machine! -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 14:55:57 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 A4B5B1065676 for ; Fri, 22 Jan 2010 14:55:57 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp2.tls.net (smtp2.tls.net [65.124.104.105]) by mx1.freebsd.org (Postfix) with ESMTP id 4A8C38FC1A for ; Fri, 22 Jan 2010 14:55:57 +0000 (UTC) Received: (qmail 70812 invoked from network); 22 Jan 2010 14:55:56 -0000 Received: by simscan 1.2.3 ppid: 70760, pid: 70809, t: 0.1197s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp-2.tls.net X-Spam-Level: * X-Spam-Status: No, score=1.6 required=7.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-8-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.8.201) by ssl-smtp2.tls.net with ESMTPA; 22 Jan 2010 14:55:56 -0000 Message-ID: <4B59BC65.3040905@pixelhammer.com> Date: Fri, 22 Jan 2010 09:55:33 -0500 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: 'User Questions' X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Securing cgi scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 14:55:57 -0000 Good morning all, I have been working on an issue here where I am being asked if we can support letting clients install and run their own CGI scripts on a shared vhost. I have tried sbox and cgiwrap, both which worked, but they cannot stop the one test of reading the /etc/passwd file. Forgive my ignorance here, but I thought CGIs were gone long ago and have not messed with them in over ten years. If a client really needs a specfic CGI script hosted, I check it out thoroughly and install it where they cannot reach it. Those instances are very very rare. It looks to me like the only way to keep a client contained is to run their CGIs chrooted. Would this be correct? DAve -- "Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it." John Adams http://appleseedinfo.org From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 15:44: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 B5E591065672; Fri, 22 Jan 2010 15:44:00 +0000 (UTC) (envelope-from ohartman@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 45CF08FC1A; Fri, 22 Jan 2010 15:44:00 +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 <1NYLfz-0003QY-15>; Fri, 22 Jan 2010 16:43:59 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1NYLfy-0005kw-VP>; Fri, 22 Jan 2010 16:43:59 +0100 Message-ID: <4B59C80F.8050204@zedat.fu-berlin.de> Date: Fri, 22 Jan 2010 15:45:19 +0000 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: polkit-0.95_3: update fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 15:44:00 -0000 I try to update ports via 'portmaster -av' on a regular basis and ran into a sticky problem with poolkit and docbook I'm incapable to solve. Error message follows. Does anybody has any hint or tip? Please email me in CC. Regards, Oliver ===>>> Starting build for for ports that need updating <<<=== ===>>> Launching child to update polkit-0.95_3 ===>>> Port directory: /usr/ports/sysutils/polkit ===>>> Starting check for build dependencies ===>>> Gathering dependency list for sysutils/polkit from ports ===>>> Starting dependency check ===>>> Checking dependency: devel/eggdbus ===>>> Checking dependency: devel/gettext ===>>> Checking dependency: devel/glib20 ===>>> Checking dependency: devel/gmake ===>>> Checking dependency: devel/gobject-introspection ===>>> Checking dependency: devel/pkg-config ===>>> Checking dependency: textproc/docbook-410 ===>>> Launching child to update textproc/docbook-410 polkit-0.95_3 >> textproc/docbook-410 ===>>> Port directory: /usr/ports/textproc/docbook-410 ===>>> Starting check for build dependencies ===>>> Gathering dependency list for textproc/docbook-410 from ports ===>>> Starting dependency check ===>>> Checking dependency: archivers/unzip ===>>> Dependency check complete for textproc/docbook-410 polkit-0.95_3 >> textproc/docbook-410 ===> Cleaning for docbook-4.1_3 ===> Vulnerability check disabled, database not found ===> Extracting for docbook-4.1_3 => MD5 Checksum OK for docbk41.zip. => SHA256 Checksum OK for docbk41.zip. ===> docbook-4.1_3 depends on file: /usr/local/bin/unzip - found ===> Patching for docbook-4.1_3 ===> Configuring for docbook-4.1_3 ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for textproc/docbook-410 from ports ===>>> Starting dependency check ===>>> Checking dependency: textproc/iso8879 ===>>> Launching child to update textproc/iso8879 polkit-0.95_3 >> textproc/docbook-410 >> textproc/iso8879 ===>>> Port directory: /usr/ports/textproc/iso8879 ===>>> Starting check for build dependencies ===>>> Gathering dependency list for textproc/iso8879 from ports ===>>> Starting dependency check ===>>> Checking dependency: archivers/unzip ===>>> Dependency check complete for textproc/iso8879 polkit-0.95_3 >> textproc/docbook-410 >> textproc/iso8879 ===> Cleaning for iso8879-1986_2 ===> Vulnerability check disabled, database not found ===> Extracting for iso8879-1986_2 => MD5 Checksum OK for isoENTS.zip. => SHA256 Checksum OK for isoENTS.zip. ===> Patching for iso8879-1986_2 ===> iso8879-1986_2 depends on executable: unzip - found ===> Configuring for iso8879-1986_2 ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for textproc/iso8879 from ports ===>>> Starting dependency check ===>>> Checking dependency: textproc/xmlcatmgr ===>>> Dependency check complete for textproc/iso8879 polkit-0.95_3 >> textproc/docbook-410 >> textproc/iso8879 ===> Installing for iso8879-1986_2 ===> Generating temporary packing list xmlcatmgr: entry already exists for `iso8879/catalog' of type `CATALOG' *** Error code 1 Stop in /usr/ports/textproc/iso8879. ===>>> Installation of iso8879-1986_2 (textproc/iso8879) failed ===>>> Aborting update ===>>> Update for textproc/iso8879 failed ===>>> Aborting update ===>>> Update for textproc/docbook-410 failed ===>>> Aborting update ===>>> Update for polkit-0.95_3 failed ===>>> Aborting update From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 16:38: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 821C01065692 for ; Fri, 22 Jan 2010 16:38:58 +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 E1A588FC1B for ; Fri, 22 Jan 2010 16:38:57 +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 6752654; Fri, 22 Jan 2010 17:38:38 +0100 Message-ID: <4B59D47C.1090203@kukulies.org> Date: Fri, 22 Jan 2010 17:38:20 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Fbsd1 References: <4B581838.8010107@kukulies.org> <4B586142.3020404@a1poweruser.com> <4B5861E1.7030800@kukulies.org> <4B59AABA.6030301@a1poweruser.com> In-Reply-To: <4B59AABA.6030301@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 16:38:58 -0000 I don't know why you shout. (?) Fbsd1 schrieb: > Christoph Kukulies wrote: >> Fbsd1 schrieb: >>> Christoph Kukulies wrote: >>>> I installed FreeBSD 8.0 on an USB-stick and was able to boot it on >>>> my Desktop PC and install 8.0 >>>> from it. > > DO YOU MEAN YOU INSTALLED THE 8.0 ISO ON A USB STICK. BOOTED FROM IT > AS INSTALL SOURCE AND INSTALLED 8.0 ON A DESKTOP PC TO THE MOTHERBOARD > CABLED HARD DRIVE??? OR DO YOU MEAN YOU INSTALLED 8.0 ON A DESKTOP PC > TO ANOTHER USB STICK??? The former, I copied the 8.0 iso image to an USB stick, booted it and installed it to the desktop PCs hard drive. That was one story. The other point is, that I now wanted to plug this USB stick into my Dell inspiron and install FreeBSD in the same manner to a free partition on my notebooks hard drive. > > >>>> >>>> Now I plugged the same stick into my Dell Inspiron 9400 and the USB >>>> stick (2GB) is not even listed in the F12 Bios boot menu. > > YOU MEAN YOU PLUGGED THE STICK WITH THE ISO INSTALLED ON IT THAT THE > DESKTOP BOOTED FROM??? Yes, that same stick booted the desktop but is not recognized in the F12 menu of my notebook. > >>>> >>>> Any clues? >>>> >>>> -- >>>> Christoph >>>> >>>> >>> Older pc's have bios which do not have option to boot from USB stick. >>> I think that is so in your case. Check mfg website for bios update. >>> If not you are SOL. (shit outof luck) >> >> I can boot USB sticks in general from that notebook/BIOS. That Dell >> 9400 isn't that old. Today I tried an another USB stick (16GB) an >> Ubuntu 9.04 boot image and it worked fine. I saw the boot device >> under F12 in the bootable device menu. >> It's definitely not the BIOS. Could be some partition problem (active >> partition?). > > Why is it part #4 btw, that FreeBSD resides in and not part #1 ? > > LETS NOT GET CONFUSED WITH MSDOS /FREEBSD TERMS. IN FREEBSD A SLICE IS > WHAT MSDOS CALLS A PARTITION. IN FREEBSD A PARTITION IS A FILE SYSTEM > SUCH AS /, /USR, /VAR WITH IN THE SLICE. A SLICE IS MARKED AS ACTIVE > MEANING ITS BOOTABLE. THE MBR The FreeBSD fdisk program names it "partition". > (MASTER BOOT RECORD)PARTITION TABLE IS REALLY FREEBSD SLICE TABLE. > FROM YOUR STATEMENT ABOVE YOU HAVE A MOTHERBOARD CABLED HARD DRIVE > WITH 4 PARTITIONS/SLICES DEFINED IN THE MBR PARTITION TABLE. THE FIRST > 3 PARTITIONS COULD BE HOLDING OTHER OPERATING SYSTEMS THAT YOU MAY > WANT TO BOOT FROM. IS THIS CORRECT? Actually, I thought the USB stick had been blanked out before, but I'm nit sure and will look at it again. > > > I followed some FreeBSD howto, if I'm not wrong, to bring the ISO >> to the USB stick. Think it was a tool from HP to write it to the stick. >> >> -- >> Christoph >> >> > I will come back with the results of the check below later. -- Christoph Build of devel/qt4-rcc ended at: Fri, 22 Jan 2010 07:09:07 > +0100 (consumed > 00:01:47) > ---> Upgrade of devel/qt4-rcc ended at: Fri, 22 Jan 2010 07:09:07 > +0100 (consum > ed 00:01:47) > > Waht's wrong and how to remedy? I found that portugrade was trying to upgrade qt4-rcc or moc on my machines before it upgraded their only dependency, qt4-qmake. I updated that and then everything worked just fine. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 21:31: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 693CE10656A6 for ; Fri, 22 Jan 2010 21:31:49 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id 1ECC98FC20 for ; Fri, 22 Jan 2010 21:31:48 +0000 (UTC) Received: by gxk10 with SMTP id 10so1394398gxk.3 for ; Fri, 22 Jan 2010 13:31:48 -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=V8sJNM3VWkvdu3s/+DZYYDcCxfXoBShlDcrX1lAo+Gg=; b=xwdRMbhEW6ZD95Wqb58txsEVo8noyQi0enZhsBXa3FYSG50YN7fY5Z8fEUu6Jgd4DK 4n2x4WF6wARC/LcmOwUVybKxI96lS/Tg6zxt90OqYtY5ykK3cs/1v98h5D3Q0Luh0WIL ss+lV5Ysedgvnkiw0KHhmF8CdpMP4tKYKfzi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nH5ujf64tvCBK6CvoP5jbCd/xi2WN/ClsyQExbif3fWS2hDmv6XPHvVf6BR7TEsSzR b3F+3sKSgYTng79IHfCgXi6YBcs65vc9nTdJhE1Hggr1UvkuvbE1IpdE+QIPAFSN6xVl flVEZ1UDUxMBt/6E/kB5v+Hu0rF0DBIB3lGtg= MIME-Version: 1.0 Received: by 10.100.208.1 with SMTP id f1mr4706559ang.108.1264195908310; Fri, 22 Jan 2010 13:31:48 -0800 (PST) Date: Fri, 22 Jan 2010 23:31:48 +0200 Message-ID: From: Dan Naumov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: RE: Drive errors in raidz array X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 21:31:49 -0000 >> I have a system with 24 drives in raidz2. Congrats, you answered your own question within the first sentance :) ANSWER: As per the ZFS documentation, don't do raidz/raidz2 vdev groups bigger than 9 vdevs per group or bad things (tm) will happen. Google will tell you more. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 22:04:22 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 03E5C10656DE for ; Fri, 22 Jan 2010 22:04:22 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id DA8158FC1F for ; Fri, 22 Jan 2010 22:04:21 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NYRc5-0001b7-8I for freebsd-questions@freebsd.org; Fri, 22 Jan 2010 14:04:21 -0800 Message-ID: <27280687.post@talk.nabble.com> Date: Fri, 22 Jan 2010 14:04:21 -0800 (PST) From: fpineda To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fpineda@live.com.mx X-Mailman-Approved-At: Fri, 22 Jan 2010 22:09:52 +0000 Subject: Periodic maintenaince X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 22:04:22 -0000 Hi! I like to know how can I optimize the execution about periodic daily. I know periodic execute is a set of scripts, but I have some problems with a sepecific script: 450.status-security. When this script is running by periodic_daily on cron, take some time to end and many times cause network errors like lost packets or timeouts. When the script is executing I saw with top command that generate a procces called "find" and it take all CPU resources while 450.status-security is executing. How can I optimize this script? -- View this message in context: http://old.nabble.com/Periodic-maintenaince-tp27280687p27280687.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 22:10: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 AF7BC1065694 for ; Fri, 22 Jan 2010 22:10:30 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC5B8FC1F for ; Fri, 22 Jan 2010 22:10:30 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0MMAFfn002795 for ; Fri, 22 Jan 2010 16:10:15 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001222210.o0MMAFfn002795@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2793.1264198215.1@dc.cis.okstate.edu> Date: Fri, 22 Jan 2010 16:10:15 -0600 From: Martin McCormick Subject: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 22:10:30 -0000 If one logs in to a FreeBSD system from a Linux platform, the terminal type is set to linux which is compatible with a vt100. As soon as I run sysinstall, things go to the dogs very fast. It is as if there was no terminal emulation in effect at all. Other things such as the shell and vi work. If you run sysinstall from the installation CDROM, it works well. What should I be doing to get proper terminal behavior in sysinstall? I did try setting the $TERM variable to vt100 and a read of the environment showed this did take effect, but the display filled with garbage along with blocks of text as soon as I ran sysinstall. Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 22:16:53 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 19DC0106566B for ; Fri, 22 Jan 2010 22:16:53 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id D2F628FC13 for ; Fri, 22 Jan 2010 22:16:52 +0000 (UTC) Received: by iwn36 with SMTP id 36so1394203iwn.3 for ; Fri, 22 Jan 2010 14:16:52 -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=FdcmVQ1hxLSTpWqC953bN3IAAfe9TsvC0xijQPXdEkw=; b=id1u3h8ztk7HR7soPvV9x4YqWGE3Sf5qJUvoY7wypNSrA+oSdGXF/GpYxKehlxTojz TMVEFzD+VEbT+7ENrL2C0UUovjYYhmCAO26zOQWn2c9fqInBzD7dZTEahr1PeX9PtoTO 6S6nHg/W5w9o5FtAfqCQAvrGZzQbNF/i1M6ug= 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=g/IuMakVhKvuXz+wykymjkqiT4O2DIibpGG0X7tatqyj+sr9BnjUIhwsnOeGzwvdzp tJYOtToHvzwP4YsaZUEalwLXJrMrsmXGvGAcm5pHyj/T/WGEAasnvSNskWJAy8lXpX+F xOleUa8SSqjdiUYjJka441qPnbcmkQbmF3y1Q= Received: by 10.231.40.216 with SMTP id l24mr202280ibe.40.1264198611660; Fri, 22 Jan 2010 14:16:51 -0800 (PST) Received: from ?192.168.1.144? ([131.230.191.188]) by mx.google.com with ESMTPS id 20sm2049078iwn.5.2010.01.22.14.16.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Jan 2010 14:16:50 -0800 (PST) Message-ID: <4B5A23D5.9070002@gmail.com> Date: Fri, 22 Jan 2010 16:16:53 -0600 From: LoH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Upgrade from i386-8.0 to amd64-8.0 possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 22:16:53 -0000 I've got a system currently running FreeBSD-i386-8.0, and was wondering whether or not it's possible to move the system to FreeBSD-amd64-8.0 without bringing it down for more than a reboot or two (and avoid reinstalling all of the client software on the box itself). The box itself will be undergoing a hardware change from a dual xeon (P4, not 64bit) to a dual opteron. I think I can boot i386, set up a amd64 cross-compile, then compile a new kernel with it, or do a binary change to the new arch and then reboot. --Joseph Lenox From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 22:30: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 794B0106566C for ; Fri, 22 Jan 2010 22:30:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3710A8FC15 for ; Fri, 22 Jan 2010 22:30:18 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id 72BD01E12C; Fri, 22 Jan 2010 23:30:17 +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 o0MMUGKd001839; Fri, 22 Jan 2010 23:30:16 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 22 Jan 2010 23:30:16 +0100 From: Polytropon To: Martin McCormick Message-Id: <20100122233016.ae8def51.freebsd@edvax.de> In-Reply-To: <201001222210.o0MMAFfn002795@dc.cis.okstate.edu> References: <201001222210.o0MMAFfn002795@dc.cis.okstate.edu> 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-questions@freebsd.org Subject: Re: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 22:30:19 -0000 On Fri, 22 Jan 2010 16:10:15 -0600, Martin McCormick wrote: > If one logs in to a FreeBSD system from a Linux > platform, the terminal type is set to linux which is compatible > with a vt100. What about using $TERM = xterm or cons25 (or cons25l1)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 22:35: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 E28A71065692 for ; Fri, 22 Jan 2010 22:35:19 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.ORG [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id BA3F08FC16 for ; Fri, 22 Jan 2010 22:35:19 +0000 (UTC) Received: from [10.0.1.4] (pool-71-109-144-133.lsanca.dsl-w.verizon.net [71.109.144.133]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id o0MMZIpJ049658 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Jan 2010 14:35:19 -0800 (PST) (envelope-from bc979@lafn.org) References: <4B594FC0.3010200@el.net> <4B5973AD.8070603@locolomo.org> <772FAD6A-C534-4217-9AA7-274561879E86@lafn.org> <4B59887E.30301@locolomo.org> In-Reply-To: <4B59887E.30301@locolomo.org> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: Content-Transfer-Encoding: quoted-printable From: Doug Hardie Date: Fri, 22 Jan 2010 14:35:17 -0800 To: Erik Norgaard X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: clamav-milter 0.95.3 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions - Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 22:35:20 -0000 On 22 January 2010, at 03:14, Erik Norgaard wrote: > Doug Hardie wrote: >> On 22 January 2010, at 01:45, Erik Norgaard wrote: >>> To debug pf rules: >>>=20 >>> - always add direction to the rule, pass or block, add interface to = all >>> rules except default policy, keep state on all pass rules >>> - group your rules per direction, then per interface >>> - add log to all rules and watch pflog to see which rule blocks or >>> passes traffic. >>> - use keyword quick for any decisive rule >>> - check the parsing of your ruleset, pfctl -sr >>>=20 >>> then come back and ask for help. >> Where do you find the rule information in the pflog output from = tcpdump? =20 >=20 > a snip: >=20 > alpha# tcpdump -n -e -i pflog0 > tcpdump: WARNING: pflog0: no IPv4 address assigned > tcpdump: verbose output suppressed, use -v or -vv for full protocol = decode > listening on pflog0, link-type PFLOG (OpenBSD pflog file), capture = size 96 bytes > 11:55:20.910140 rule 81/0(match): block in on vr1: 172.16.1.127.52444 = > 172.16.0.1.23: tcp 44 [bad hdr length 0 - too short, < 20] >=20 > rule 81 blocks. Now, problem is that your rules may be more compact, = you'll find the rule with pfctl -sr. Now admittedly, I got: >=20 > pass in quick on vr1 inet proto udp from 172.16.0.0/23 to = port =3D secret_service keep state >=20 > ofcourse, that rule didn't block. But two lines down I found: >=20 > block return in log quick on vr1 inet from 172.16.0.0/23 to >=20 > This makes sence, so why the offset 2? The first line of the output = from pfctl -sr is >=20 > scrub all fragment reassemble >=20 > that shouldn't count as a rule. And then, if pflog starts counting = with 0 while vi counts from 1 that explains it. >=20 > Yet another reason to check the rules as parsed using pfctl -sr. >=20 > Anyway, not trying to cut corners is the first step, then add log so = you can see whats going on, use quick to avoid some packet fall through = and being matched by a different rule than intended, organizes your = rules so you can easily separate things out. >=20 > My rules are grouped together like this: >=20 > # default policy > block all >=20 > block in log > pass in quick some packets keep state > block in log quick >=20 > block out log > pass out quick some packets keep state > block out log quick >=20 > # Default policy catch all should never apply > block log all >=20 > the conditions for the pass rules should match those of the first = block and then be more specific, say, only apply to one port. Doing so, = the pf rule parser will optimize the ruleset. >=20 > Even if I know that a given rule can only match packets on the vr0 = interface, I explicitly state the interface. It makes it clear what's = going on. >=20 > Once the ruleset is debugged and working you can remove the log = statements. Thanks. That is really helpful. The key is that the rule information = is in the link layer. I never guessed that. Now I see it just fine. = This approach sure beats monitoring the statistics and the input and = trying to correlate them. That was the approach I was using. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 22:35:23 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 E11A51065692 for ; Fri, 22 Jan 2010 22:35:23 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id 9532D8FC1F for ; Fri, 22 Jan 2010 22:35:23 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0MMZL638116; Fri, 22 Jan 2010 16:35:21 -0600 (CST) (envelope-from john) Date: Fri, 22 Jan 2010 16:35:21 -0600 From: John To: Fbsd1 Message-ID: <20100122163521.A37927@starfire.mn.org> References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> <20100122063614.A27734@starfire.mn.org> <20100122072756.A28958@starfire.mn.org> <20100122080950.B28958@starfire.mn.org> <20100122110102.A31702@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20100122110102.A31702@starfire.mn.org>; from john@starfire.mn.org on Fri, Jan 22, 2010 at 11:01:02AM -0600 Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation (GOOD NEWS!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 22:35:24 -0000 On Fri, Jan 22, 2010 at 11:01:02AM -0600, John wrote: > On Fri, Jan 22, 2010 at 08:09:50AM -0600, John wrote: > > On Fri, Jan 22, 2010 at 07:27:56AM -0600, John wrote: > > > On Fri, Jan 22, 2010 at 06:36:14AM -0600, John wrote: > > > > On Fri, Jan 22, 2010 at 08:16:59PM +0800, Fbsd1 wrote: > > > > > John wrote: > > > > > > On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: > > > > > >> John wrote: > > > > > >>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: > > > > > >>>> John wrote: > > > > > >>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. > > > > > >>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 > > > > > >>>>> Gb. I've tried to figure out what the BIOS thinks the geometry > > > > > >>>>> is, but it doesn't seem to want to tell me. At least, I can't find > > > > > >>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with > > > > > >>>>> the 255 head geometry, though, it complains about the disk geometry, > > > > > >>>>> saying 16h,63s != 255h,63s or something like that - it flies by > > > > > >>>>> pretty fast (is there a way to go back and see that from the CD-ROM > > > > > >>>>> "boot only" boot?). > > > > > >>>>> > > > > > >>>>> I'm using the "Standard" boot manager, and the entire disk is devoted > > > > > >>>>> to FreeBSD. > > > > > >>>>> > > > > > >>>>> System > > > > > >>>>> BIOS version PT84510A.86A.2004.P05 > > > > > >>>>> Processor Type: Intel Pentium 4 > > > > > >>>>> Processor speed: 2.20Ghz > > > > > >>>>> > > > > > >>>>> Memory: 512Mb > > > > > >>>>> > > > > > >>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) > > > > > >>>>> Primary IDE Slave: IOMega ZIP 250 > > > > > >>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) > > > > > >>>>> Secondary IDE Slave: DVD-ROM DDU1621 > > > > > >>>>> > > > > > >>>>> Boot sequence: > > > > > >>>>> 1) ATAPI CD-ROM > > > > > >>>>> 2) Hard Drive > > > > > >>>>> 3) "Removable Dev." > > > > > >>>>> > > > > > >>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 > > > > > >>>>> "calculated" geometry: 9729/255/63 for ad0 > > > > > >>>>> > > > > > >>>>> ad0s1 start=63, size=2875572 > > > > > >>>>> ad0s2 start=2875635, size=10217340 > > > > > >>>>> ad0s3 start=13092975, size=143203410 > > > > > >>>>> unus start=156296384, size=5103 > > > > > >>>>> > > > > > >>>>> ad0s1a / 384Mb > > > > > >>>>> ad0s1d /usr 1Gb > > > > > >>>>> ad0s2b SWAP 1Gb > > > > > >>>>> ad0s2d /tmp 384Mb > > > > > >>>>> ad0s2e /var 512Mb > > > > > >>>>> ad0s2f /var/mail 2Gb > > > > > >>>>> ad0s2g /usr/ports 1Gb > > > > > >>>>> ad0s3d /home/mysql 4Gb > > > > > >>>>> ad0s3e /home 50Gb > > > > > >>>>> ad0s3f /usr/src 3Gb > > > > > >>>>> ad0s3g /usr/obj 3Gb > > > > > >>>>> ad0s3h /extra 8483Mb > > > > > >>>>> > > > > > >>>>> Suggestions, please? I'm making zero headway right now. :( > > > > > >>>> What version of FreeBSD are you running???? > > > > > >>> Well, yes, I suppose that would be a good bit of information! > > > > > >>> > > > > > >>> What I'm *TRYING* to run is 8.0. It seems to install successfully > > > > > >>> (of course - after doing all that), but then when I try to boot > > > > > >>> from the hard drive, I see an otherwise-blank screen that says: > > > > > >>> > > > > > >>> > > > > > >>> Invalid partition table > > > > > >>> > > > > > >>> > > > > > >>> and that's as far as it goes! > > > > > >>> > > > > > >>>> _______________________________________________ > > > > > >>>> 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" > > > > > >> There are reports of this sort of thing caused by 8.0 fdisk when doing a > > > > > >> install from scratch over a hard drive that all ready has an older > > > > > >> version of Freebsd installed on it. > > > > > >> > > > > > >> The solution is to force the scratching of the MBR on the disk first > > > > > >> before running sysinstall fdisk. > > > > > >> > > > > > >> Boot a LiveFS CD, then at a root prompt do: > > > > > >> > > > > > >> sysctl kern.geom.debugflags=16 and: > > > > > >> > > > > > >> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 > > > > > >> > > > > > >> where x equals your drive number. > > > > > > > > > > > > OK. I did exactly that. I confirmed that the second 512 bytes were zero > > > > > > by doing a dd if/dev/ad0 bs=512 count=2 | od -c > > > > > > and everything from 001000 through 002000 was zero. > > > > > > > > > > > > But I still got "Invalid partition table" after the installation. > > > > > > > > > > > > I guess I should set up one of my other systems as a local mirror. > > > > > > I've done the installation so many time already, and it looks like > > > > > > I'm not done yet! > > > > > > > > > > On the 8.0 fdisk/MBR subject. > > > > > Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the > > > > > solution from another post to the list with subject 'SunFire X2100 > > > > > fails'. Here is another post that gives more details > > > > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ > > > > > www/db/text/2009/freebsd-questions/20091227.freebsd-questions > > > > > > > > > > It seems in 8.0 gpart was introduced and a change was made to fdisk to > > > > > support its sector o mbr format. 8.0 fdisk and disklabel are now broken. > > > > > > > > > > Searching the list archives may shed more light on your problem. > > > > > > > > Hmmm. This seems to describe a case where fdisk fails to change > > > > the slice table. That is definitely not my case. The changes > > > > certainly get made. The next time I go to retry the installation, > > > > it has the information I gave it the previous time. I suppose it is > > > > possible that it is putting it (and reading it) in the wrong location, > > > > which is why the MBR throws up. > > > > > > > > The problem is that I have a finite (and smallish) amount of time > > > > in which to solve this. It seems like the most expedient route > > > > forward at this point may be to try to install 7.2 and see how > > > > that goes. > > > > > > OK - well, I just tried with 7.2. I got exactly the same results. > > > After what seems like a successful installation, I try to boot from > > > the hard disk and get "Invalid partition table." Should I try Boot > > > Manager? Could that make a difference? Is it possible that this > > > combination of BIOS, processor, disk drive, etc., just isn't going > > > to to do for me? I can't just keep throwing hours at this problem. > > > -- > > > > > > > OK! Well! Good news! After a sort. > > > > I switched to BootMgr, and it came right up with 8.0! > > > > Slight downside - extra prompt during boot, and of course, it > > offers me all three slices, when I only need to boot from > > one. > > > > Is that's what's wrong with "Standard" MBR? Are all three FSD > > partitions (type 165) marked bootable and that's upsetting it? > > Can I change it so only one of them is marked bootable? > > > > Anyway, it appears that there is a problem with the "Standard" MBR > > boot. I don't think I was doing anything that unnatural - I wanted > > quite a few file systems, so I used multiple slices, both to keep > > the boot slice below 1.5Gb and to be able to support all the file > > systems I wanted, and maybe that's what upset it. I don't know. > > All I know is that Standard MBR didn't work, and BootMgr does. > > > > I'm willing to spend SOME time trying to debug / fix this for the > > good of the community and the next poor sucker who comes along > > behind me, but I need to move somewhat quickly. I actually plan > > to use this machine! > > OK - my current best theory is that if the Standard boot manager > is faced with anything other than exactly 1 bootable slice (partition > to it), it defaults to "Invalid partition table." I'll bet anyone > lunch that this is true. Any takers? > > I'll test my theory tonight and let you all know how it turns out. > If this is true, then we should at least post some warnings, if not > actually fix the installation process so that if you choose "Standard," > it helps ensure that you have one and only one bootable slice/partition! > > Whaddaya think? > > Well, better it happen to me than someone from another community who is > trying us out for the first time... OK, so here's the update so far. It was, indeed, the case that all three slices (partitions) were marked as active (bootable), to wit: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 2883825 (1408 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 2883888, size 10224144 (4992 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 13108032, size 143193456 (69918 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 4 is: So - I used dd to make a copy of the MBR, and wrote a C program to interpret it and clear the other two flags. Once I was satisfied with that, I used the sysctl from earlier in the thread (which I assume allows me to actually change things) and dd to put the modifed mbr back in place on sector 0. Now fdisk reports The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 2883825 (1408 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 15/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 2883888, size 10224144 (4992 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 13108032, size 143193456 (69918 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 15/ sector 63 The data for partition 4 is: So - there's only ONE active partition, but it still has bootmgr. I have used dd and cat to manufacture a new boot record from /boot/mbr and the parition (slide) table I've modified, and I'm tempted to put THAT in place over this one, but I'm afraid of what that might mean - are there other changes to the structure of the disk that I need to make to switch from BootMgr to the "Standard" MBR? Even if my synthesized MBR is correct, is it going to run into trouble at the next step? Does it need a different "level 1" boot code? Or should I just use "fdisk -b /boot/mbr" rather than my synthesized mbr? Will that take care of all the linkages (if any)? I still think that the ultimate solution is to CHANGE THE INSTALLATION PROCESS so that there is ONE and ONLY ONE active partition when the "Standard" mbr is used. Well, I'll make that an even more general statement - let's change the installation process so that ONLY THE FREEBSD PARTITION(s) CONTAINING /boot GET THE ACTIVE FLAG SET. There's nothing to boot otherwise, anyway, right? I'm not 100% sure how best to do this, but I have some ideas. I think it starts with having fdisk leave the flag off by default, and only turn it on for slices where it has loaded boot code, but maybe it's not that simple. My concern is that it sounds like someone is already working on fdisk / diskpart with an eye to replacing it, so maybe I'm working on a "zombie" problem that's already "walking dead." I have no interest in putting time and effort into that in such a case, but I'm very willing to help in this area if it will have some value. Open to suggestions here, folks - what do you say? -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 22:39: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 AAC5F106566B for ; Fri, 22 Jan 2010 22:39:01 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.ORG [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id 725698FC1D for ; Fri, 22 Jan 2010 22:39:01 +0000 (UTC) Received: from [10.0.1.4] (pool-71-109-144-133.lsanca.dsl-w.verizon.net [71.109.144.133]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id o0MMd0LO049739 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Jan 2010 14:39:01 -0800 (PST) (envelope-from bc979@lafn.org) References: <20100122111219.A31898@starfire.mn.org> In-Reply-To: <20100122111219.A31898@starfire.mn.org> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: <993C8624-96F8-4C22-9678-F4DD60ACE876@lafn.org> Content-Transfer-Encoding: quoted-printable From: Doug Hardie Date: Fri, 22 Jan 2010 14:39:00 -0800 To: John X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: clamav-milter 0.95.3 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: Migration planning - old system to new X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 22:39:01 -0000 On 22 January 2010, at 09:12, John wrote: > Now that I've actually gotten the new system to boot, I need to figure > out how I'm going to migrate everything - users, data, MySQL, NAT, > firewall, apache, DHCP, gateway services BIND, Sendmail, etc., etc > from > FreeBSD 4.3-RELEASE #0: Thu Jan 22 19:44:16 CST 2004 > to > FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 >=20 > Bit of a challenge, eh? >=20 > Not only that, but I'd like to update my UID scheme from a = pre-standard > version (most of the UIDs are down in the 100s) to the new convention > so that I'm more in-line with the rest of the world. >=20 > My rough idea: >=20 > 1) Create a "migrate" account in Wheel with home as /var/migrate > so that I can do a dump/restore on "home" without messing things > up > 2) Start putting together all the pieces - trying to find update / = conversion > scripts whenever possible. > 3) once things get close, do the dump/retore of home, and a tar/untar > of /var/mail (since I'm moving it from a part of the /var filesystem > to a filesystem of its own - doing a dump/restore on /var is not > a practical migration strategy in any case) > 4) Let people move in, try it out, see how things are > 5) Fix everything found in #4 > 6) Try a cut-over and make sure all the network services work in the > middle of the night sometime, then switch back > 7) Nuke /home and /var/mail and migrate them again to get the latest = version > 8) Do the real switch > 9) spend a couple of weeks fixing all the things that weren't so = disastrous > that they got picked up in #4. >=20 > Ideas / scripts / project plans / outlines - whatever? Maybe I should > write a chapter for The Complete FreeBSD after surviving this... I presume you can't bring down the old system for a few weeks to make = the conversion. Thus I would suggest you get the new system configured the way you want without the = user data and back it up so that you can restore it to that = configuration easily. Then once you have your approach established do a = test conversion. Leave the old system in production and check out the = results of the conversion. You may want to tweak your conversion = approach a few times. Then when it works fine, restore the new system = and do the conversion for real.= From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:05:42 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 54617106566B for ; Fri, 22 Jan 2010 23:05:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 12B838FC0C for ; Fri, 22 Jan 2010 23:05:41 +0000 (UTC) Received: from r55.edvax.de (port-92-195-164-220.dynamic.qsc.de [92.195.164.220]) by mx02.qsc.de (Postfix) with ESMTP id DE6CA1DB0F; Sat, 23 Jan 2010 00:05:40 +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 o0MN5dSq001956; Sat, 23 Jan 2010 00:05:40 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 23 Jan 2010 00:05:39 +0100 From: Polytropon To: Gary Kline Message-Id: <20100123000539.821635f9.freebsd@edvax.de> In-Reply-To: <20100122033309.GF10775@thought.org> References: <20100121210658.GA10757@thought.org> <20100121221929.6ceaba00.freebsd@edvax.de> <20100122001430.GC10775@thought.org> <20100122021557.f52bc107.freebsd@edvax.de> <20100122033309.GF10775@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: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:05:42 -0000 On Thu, 21 Jan 2010 19:33:09 -0800, Gary Kline wrote: > surprised how many things depend on that nspr... wow. It seems to be because many other things depend on Netscape (or the corresponding HTML renderer or who knows what); from the port's description: Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions. The API is used in the Mozilla client, many of Netscape/AOL/iPlanet's and other software offerings. So why port software complicatedly to FreeBSD when all the OS-specific stuff can be abstracted by another port? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:20:09 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 9B85D1065696 for ; Fri, 22 Jan 2010 23:20:09 +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 581C98FC1C for ; Fri, 22 Jan 2010 23:20:09 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NYSnO-0000wX-39 for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 00:20:06 +0100 Received: from 93-138-99-190.adsl.net.t-com.hr ([93.138.99.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 00:20:06 +0100 Received: from ivoras by 93-138-99-190.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 00:20:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sat, 23 Jan 2010 00:17:21 +0100 Lines: 12 Message-ID: References: <20100122200138.GA19469@cabstand.com> 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-99-190.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: <20100122200138.GA19469@cabstand.com> Sender: news Subject: Re: ISO simple non-forking TCP connection forward/balance tool X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:20:09 -0000 Chris Peiffer wrote: > > I'm looking for a simple program I can use to forward incoming TCP > connections to several other addr:port pairs. (including one on the > machine itself.) Holding the connections open and passing the data > back and forth until both parties close their ends. > > I need a solution that doesn't fork. One way to do it is just fork > ad-hoc netcat pipes with inetd, but I'm trying to avoid the process > overhead. See net/bsdproxy. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:24: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 8D9051065672 for ; Fri, 22 Jan 2010 23:24:19 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB308FC14 for ; Fri, 22 Jan 2010 23:24:19 +0000 (UTC) Received: by qyk4 with SMTP id 4so931402qyk.7 for ; Fri, 22 Jan 2010 15:24:18 -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=8Fw38KwybqAeF3KwPOlJjqF/jLbLmp5AX2x2O8luoyY=; b=KcnGTQlQCmzNOv+v5ujU9oTMaU8wLJYzh/77NvsIG6Ri3TIkg40FkTAu6vlXcKQhr4 TlCLoDYTonJcyLJ+9ZOY4uE/lvzORL84hQzLBxdJ2OoRfqGSLtiOy5vZkXyktTF+cnfb ThTnfaVou65H9/Dmb535iu2whUghbJtGSUMEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JfvMg3XX8+Qpd0o7XHGz/p2sJfZ6S5tGPnmpy3Y0Pk2x8B5zHBslVWpSBb5yBYCsS7 9vlkEU40Z//u6wMHF8bQx/Mmhj494JMHY6giPs2s2odwsQUNb8Mo1MMsp93CdetUbzT0 mUfzi/8jVZsEHZzm0unpp3NfunhzThcfZ/NA0= MIME-Version: 1.0 Received: by 10.229.131.39 with SMTP id v39mr2239731qcs.66.1264202658724; Fri, 22 Jan 2010 15:24:18 -0800 (PST) Date: Fri, 22 Jan 2010 15:24:18 -0800 Message-ID: <560f92641001221524n1290e70fi51d766e8e0f488bf@mail.gmail.com> From: Nerius Landys To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: FreeBSD 8.0 amd64 on Nehelem Xeon? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:24:19 -0000 I'm in the process of purchasing a small Nehelem-based server (Xeon L5506 CPU to be exact). I will be installing some flavor of FreeBSD 8.0 (either i386 32 bit or amd64 64 bit, to be exact). I have no immediate need for a 64 bit server, as none of the processes that I will be running in the forseeable future will require more than 3 gigs of memory. My primary use for the server (which will be in a data center) will be to run video games servers; the exact game I'll be running is based on the ioquake3 open source engine, which compiles and runs fine on FreeBSD, at least 32 bit (have not tried 64 bit FreeBSD yet, but will get around to that). My two concerns when making a decision between 32 bit and 64 bit are: 1. Performance. Will there be any difference in performance between a 64 bit OS and 32 bit on my Nehelem? 2. Availability of software. Will some software run only on 32 bit? Only on 64 bit? Please help me in making this decision. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:25: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 E2B561065670 for ; Fri, 22 Jan 2010 23:25:10 +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 9B8878FC1F for ; Fri, 22 Jan 2010 23:25:10 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NYSsD-0002y8-Iv for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 00:25:05 +0100 Received: from 93-138-99-190.adsl.net.t-com.hr ([93.138.99.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 00:25:05 +0100 Received: from ivoras by 93-138-99-190.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 00:25:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sat, 23 Jan 2010 00:06:25 +0100 Lines: 22 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-99-190.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: Sender: news Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: posting coding bounties, appropriate money amounts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:25:11 -0000 Dan Naumov wrote: > Hello > > I am curious about posting some coding bounties, my current interest > revolves around improving the ZVOL functionality in FreeBSD: fixing > the known ZVOL SWAP reliability/stability problems as well as making > ZVOLs work as a dumpon device (as is already the case in OpenSolaris) > for crash dumps. I am a private individual and not some huge Fortune > 100 and while I am not exactly rich, I am willing to put some of my > personal money towards this. I am curious though, what would be the > best way to approach this: directly approaching committer(s) with the > know-how-and-why of the areas involved or through the FreeBSD > Foundation? And how would one go about calculating the appropriate > amount of money for such a thing? Hi, This idea (bounties) appear approximately every 6 months and it appears there is no better way than contacting the developers directly. AFAIK all attempts to conglomerate such an effort have failed. One important conclusion is that it cannot go through the Foundation since they cannot accept targeted donations. From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:34: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 B545F106566B for ; Fri, 22 Jan 2010 23:34:50 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.ORG [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id 937388FC08 for ; Fri, 22 Jan 2010 23:34:50 +0000 (UTC) Received: from [10.0.1.4] (pool-71-109-144-133.lsanca.dsl-w.verizon.net [71.109.144.133]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id o0MNYndi051193 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Jan 2010 15:34:49 -0800 (PST) (envelope-from bc979@lafn.org) References: <4B594FC0.3010200@el.net> <4B5973AD.8070603@locolomo.org> <772FAD6A-C534-4217-9AA7-274561879E86@lafn.org> <4B59887E.30301@locolomo.org> In-Reply-To: <4B59887E.30301@locolomo.org> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: <4D14E7C8-DFFD-4580-8CD0-99BB3C4EB051@lafn.org> Content-Transfer-Encoding: quoted-printable From: Doug Hardie Date: Fri, 22 Jan 2010 15:34:48 -0800 To: Erik Norgaard X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: clamav-milter 0.95.3 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions - Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:34:50 -0000 On 22 January 2010, at 03:14, Erik Norgaard wrote: > Doug Hardie wrote: >> On 22 January 2010, at 01:45, Erik Norgaard wrote: >>> To debug pf rules: >>>=20 >>> - always add direction to the rule, pass or block, add interface to = all >>> rules except default policy, keep state on all pass rules >>> - group your rules per direction, then per interface >>> - add log to all rules and watch pflog to see which rule blocks or >>> passes traffic. >>> - use keyword quick for any decisive rule >>> - check the parsing of your ruleset, pfctl -sr >>>=20 >>> then come back and ask for help. >> Where do you find the rule information in the pflog output from = tcpdump? =20 >=20 > a snip: >=20 > alpha# tcpdump -n -e -i pflog0 > tcpdump: WARNING: pflog0: no IPv4 address assigned > tcpdump: verbose output suppressed, use -v or -vv for full protocol = decode > listening on pflog0, link-type PFLOG (OpenBSD pflog file), capture = size 96 bytes > 11:55:20.910140 rule 81/0(match): block in on vr1: 172.16.1.127.52444 = > 172.16.0.1.23: tcp 44 [bad hdr length 0 - too short, < 20] >=20 > rule 81 blocks. Now, problem is that your rules may be more compact, = you'll find the rule with pfctl -sr. Now admittedly, I got: >=20 > pass in quick on vr1 inet proto udp from 172.16.0.0/23 to = port =3D secret_service keep state >=20 > ofcourse, that rule didn't block. But two lines down I found: >=20 > block return in log quick on vr1 inet from 172.16.0.0/23 to >=20 > This makes sence, so why the offset 2? The first line of the output = from pfctl -sr is >=20 > scrub all fragment reassemble >=20 > that shouldn't count as a rule. And then, if pflog starts counting = with 0 while vi counts from 1 that explains it. >=20 > Yet another reason to check the rules as parsed using pfctl -sr. >=20 > Anyway, not trying to cut corners is the first step, then add log so = you can see whats going on, use quick to avoid some packet fall through = and being matched by a different rule than intended, organizes your = rules so you can easily separate things out. >=20 > My rules are grouped together like this: >=20 > # default policy > block all >=20 > block in log > pass in quick some packets keep state > block in log quick >=20 > block out log > pass out quick some packets keep state > block out log quick >=20 > # Default policy catch all should never apply > block log all >=20 > the conditions for the pass rules should match those of the first = block and then be more specific, say, only apply to one port. Doing so, = the pf rule parser will optimize the ruleset. >=20 > Even if I know that a given rule can only match packets on the vr0 = interface, I explicitly state the interface. It makes it clear what's = going on. >=20 > Once the ruleset is debugged and working you can remove the log = statements. >=20 > BR, Erik > --=20 This is quite interesting. I can't figure out the rules on my system. = Here is the pf.conf file with all comments removed: table persist file "/etc/blackhole" table persist table persist table persist file "/etc/mail/whitelist" MAILHOSTS =3D "{zool.lafn.org}" no rdr on { lo0, lo1 } from any to any no rdr inet proto tcp from to any port smtp no rdr inet proto tcp from to any port smtp rdr pass log inet proto tcp from any to any port smtp -> 127.0.0.1 port = spamd pass in log inet proto tcp to $MAILHOSTS port smtp keep state pass in log on sis0 reply-to (sis0 192.168.25.1) proto tcp from any to = any port 75 keep state block in quick log on $ext_if from to any Note: the blackhole file is empty as is the whitelist file. There is = an entry for 216.54.240.150 in spamd database. This is a test system. Here is the output of tcpdump where I have only taken one entry for each = rule. I have listed the rule number at the front of each line: Rule 0: 14:01:27.133320 rule 0/0(match): pass in on dc0: = 216.54.240.150.55782 > 206.117.18.7.25: S 2501333595:2501333595(0) win = 65535 Rule 1: 02:26:44.755650 rule 1/0(match): pass in on sis0: = 71.109.144.133.40864 > 192.168.25.7.75: S 3941268770:3941268770(0) win = 65535 Rule 2: 10:44:45.037918 rule 2/0(match): block in on dc0: = 71.109.162.173.39529 > 206.117.18.7.75: . ack 145 win 65535 = Rule 4: 13:51:16.022700 rule 4/0(match): rdr in on dc0: = 216.54.240.150.49821 > 127.0.0.1.8025: S 2371633783:2371633783(0) win = 65535 I found no entries for rule 3. There is virtually no traffic on this = system other than from me. As I look at pf.conf and tie the rules to the entries I get (rule number = at beginning of line): no rdr on { lo0, lo1 } from any to any no rdr inet proto tcp from to any port smtp 0 - no rdr inet proto tcp from to any port smtp 4 - rdr pass log inet proto tcp from any to any port smtp -> 127.0.0.1 = port spamd pass in log inet proto tcp to $MAILHOSTS port smtp keep state 1 - pass in log on sis0 reply-to (sis0 192.168.25.1) proto tcp from any = to any port 75 keep state block in quick log on $ext_if from to any I have no clue which one is rule 2. The only block is the last entry = but that should never be used because the blackhole file is empty. = pfctl shows the table is empty also. The ordering seems to make no sense either. I also note that the man = page for pf.conf indicates in the BNF grammar for pf.conf that log is a = valid entry for no rdr. However, that always generates a syntax error. = Apparently there is no way to log the use of no rdr rules.= From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:42: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 EF3251065694 for ; Fri, 22 Jan 2010 23:42:11 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id BDF188FC0A for ; Fri, 22 Jan 2010 23:42:11 +0000 (UTC) Received: from pd5mr2no-ssvc.prod.shaw.ca ([10.0.153.213]) by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 22 Jan 2010 16:42:11 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=_vsugkQ11QcNSJI-yigA:9 a=Dg2AeodFye3PSjNRFXk-dARo4KAA:4 a=RtrFXEYFXVFUBCmCwxgA:9 a=RH9mT7z9-4fmFUUCdhWjeFxI1ZIA:4 Received: from unknown (HELO pd6ms3no.prod.shaw.ca) ([10.0.153.22]) by pd5mr2no-svcs.prod.shaw.ca with ESMTP; 22 Jan 2010 16:42:04 -0700 Received: from shaw.ca (pd6ms3no-con [10.0.145.194]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0KWO004HW9U4D500@l-daemon> for freebsd-questions@freebsd.org; Fri, 22 Jan 2010 16:42:04 -0700 (MST) Received: from [10.0.144.233] (Forwarded-For: [10.0.146.233]) by pd6ims2.prod.shaw.ca (mshttpd); Fri, 22 Jan 2010 16:42:04 -0700 Date: Fri, 22 Jan 2010 16:42:04 -0700 From: Dale Scott In-reply-to: <201001222210.o0MMAFfn002795@dc.cis.okstate.edu> To: Martin McCormick Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.2-7.05 (built Sep 5 2006) Content-language: en X-Accept-Language: en Priority: normal References: <201001222210.o0MMAFfn002795@dc.cis.okstate.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:42:12 -0000 > If one logs in to a FreeBSD system from a Linux > platform, the terminal type is set to linux which is compatible > with a vt100. As soon as I run sysinstall, things go to the dogs > very fast. It is as if there was no terminal emulation in effect I don't have a solution but can report I regularily login to my fbsd 7 and 8 boxes from an Ubuntu laptop using ssh in Terminal and run sysinstall. I've never encountered this problem though. -- Dale Scott Calgary, AB, Canada From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:46: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 D1643106566C for ; Fri, 22 Jan 2010 23:46:55 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-313.bluehost.com (outbound-mail-313.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 5ACA48FC15 for ; Fri, 22 Jan 2010 23:46:55 +0000 (UTC) Received: (qmail 20588 invoked by uid 0); 22 Jan 2010 23:46:55 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by outboundproxy6.bluehost.com with SMTP; 22 Jan 2010 23:46:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=G1YNRA+iw3kQjOq7e2tJcFW+Xq5S9ObUthyW09fp2m2r9I8XqvJOo2vYFwgj15Rh6G3s9wqL2IgECNq2trzhaoyi+T1jD7d9dhbwPsBi8wiLKcHHtklO3opJj5pbPYvU; Received: from [206.74.86.236] (helo=[192.168.1.51]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NYTDK-0007FC-Gd for freebsd-questions@freebsd.org; Fri, 22 Jan 2010 16:46:54 -0700 Message-ID: <4B5A38E9.2020802@joseph-a-nagy-jr.us> Date: Fri, 22 Jan 2010 17:46:49 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD Questions References: <4B42EA80.70005@joseph-a-nagy-jr.us> In-Reply-To: <4B42EA80.70005@joseph-a-nagy-jr.us> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9773C647CBD6E2693F2EFEEB" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: Failed to Load Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:46:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9773C647CBD6E2693F2EFEEB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/5/2010 1:30 AM, Programmer In Training wrote: > The message I'm getting (wish I could just screen cap and put it up on > the web): >=20 > FreeBSD/i386 bootstrap loader, Revision 1.1 > (root@almeida.cse.buffalo.edu, Sat Nov 21 14:05:36 UTC 2009) > Loading /boot/defaults/loader.conf > /boot/kernel/kernel text=3D0x88d680 > readin failed >=20 > elf32_loadimage: read failed > Unable to lad a kernel! > / > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > can't load 'kernel' OK, update time. Swapped out all optical drives for one older, plain jane CD-ROM. Still fail. Swapped out 6GB Western Digital drive for 41GB Maxtor. Still fail. Swapped out IDE cable going to optical drive. Still fail. When I get to the line where it tells me to hit enter to boot or type in a command etc. I type ? get a list of commands. I try (OK is the prompt) OK boot can't load 'kernel' no bootable kernel OK boot-conf /boot/kernel/kernel text=3D0x88d680 readin failed elf32_loadimage: read failed can't find 'kernel' OK Yet, as I've said before. Loads up fine on my mom's laptop. I get to the main installation screen (the one with all the initial options). I'm thinking of swapping out the IDE cable for the hdd but I'm fairly certain that won't change anything. I'm ~6h away from having 7.2 to burn to disc and try that way. If anyone has any suggestions (short of actual voodoo), please please please let me know. --=20 PIT Emails are not formal business letters, whatever businesses may want. --------------enig9773C647CBD6E2693F2EFEEB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLWjjvAAoJEENZQ8DH7rW0DGQH/j1bUP+aI4vYdOVYX6dVYiBk +ZF5Odo9JyKovY2BQUJbpak2Hho2ULCKV3n97FJDEiEciAOZ+r1PuFCxquDLzHcc i7bQ9Cu5iSk6uPQJNY9VuHNL/EiH7t9YqIxGQJPBKTONH1rbXj+KdjDC684dfXMG hJrc7qUpvQMW4o+1T2Wu7PlDnttpFtUJ8zM69PcXYjualF1FANQC+BstBpTJE1sF zuYhIGxZOoKKJobJ3+xJ6yEWOgq9lcoAK4erUD4Hi9H2BvDL7n9xKqyl3Ra/7WPq sxQ2oQuVb5PhXSkP6NZjaQ+QECQTmW8onk+nbF2R7XGusFkMDa1MgvJmLys80Io= =Fa8q -----END PGP SIGNATURE----- --------------enig9773C647CBD6E2693F2EFEEB-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:54:08 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 6075610656A4 for ; Fri, 22 Jan 2010 23:54:08 +0000 (UTC) (envelope-from jhelfman@e-e.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC7A8FC2D for ; Fri, 22 Jan 2010 23:54:08 +0000 (UTC) Received: from eggman.experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with ESMTP id CFCE64AB49C3; Fri, 22 Jan 2010 12:28:51 -0800 (PST) Received: by eggman.experts-exchange.com (sSMTP sendmail emulation); Fri, 22 Jan 2010 12:28:52 -0800 Date: Fri, 22 Jan 2010 12:28:52 -0800 From: Jason To: Bernard de Joly Message-ID: <20100122202848.GA56177@eggman.experts-exchange.com> References: <145B5F80-8BBE-46E9-9BBF-C2E593507EE7@gers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <145B5F80-8BBE-46E9-9BBF-C2E593507EE7@gers.net> X-Operating-System: FreeBSD 7.2-RELEASE-p4 X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@FreeBSD.org Subject: Re: Where is portsnap ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:54:08 -0000 Portsnap is part of the base, now. Well, I am running 7.2 /usr/sbin/portsnap On Fri, Jan 22, 2010 at 02:39:52PM +0100, Bernard de Joly thus spake: >Hello, > >I use freebsd for several years and I appreciate portsnap but it >doesn't seem to be on the current port tree anymore ? >Can you tell me what is happening with him? > >Anyway thank you for your so useful work. > >Best regards, > >Bernard de Joly >Lasserre d'Amour >32250 Montr?al du Gers >T?l?phone 09 53 79 84 21 >http://www.gers.net/b.dejoly/ > >_______________________________________________ >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" > -- Jason Helfman From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:54: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 EDFA51065693 for ; Fri, 22 Jan 2010 23:54:35 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 6C2248FC12 for ; Fri, 22 Jan 2010 23:54:34 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0MNsXGX011458; Sat, 23 Jan 2010 00:54:33 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 2F5E8BA98; Sat, 23 Jan 2010 00:54:33 +0100 (CET) Date: Sat, 23 Jan 2010 00:54:33 +0100 From: Roland Smith To: fpineda Message-ID: <20100122235433.GA35458@slackbox.xs4all.nl> References: <27280687.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <27280687.post@talk.nabble.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Periodic maintenaince X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:54:36 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 22, 2010 at 02:04:21PM -0800, fpineda wrote: >=20 > Hi! >=20 > I like to know how can I optimize the execution about periodic daily. I k= now > periodic execute is a set of scripts, but I have some problems with a > sepecific script: 450.status-security. >=20 > When this script is running by periodic_daily on cron, take some time to = end > and many times cause network errors like lost packets or timeouts. When t= he > script is executing I saw with top command that generate a procces called > "find" and it take all CPU resources while 450.status-security is executi= ng. >=20 > How can I optimize this script? This scripts calls /usr/sbin/periodic, which then executes all the scripts = in /etc/periodic/security.=20 With the command 'grep find /etc/periodic/security/*', you'll find that thr= ee scripts contain a find command; - /etc/periodic/security/100.chksetuid - /etc/periodic/security/800.loginfail - /etc/periodic/security/900.tcpwrap What you could do is prepend the find(1) commands with the nice(1) command,= to give the find commands lower priority. E.g. 'find -bla' then becomes '/usr/bin/nice -n 19 find -bla'.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktaOrkACgkQEnfvsMMhpyW1zACgiRkiK5P3PTXjB7ztTvQJZSkn t2sAnRyJGM6Cvp9eQEcOInfYjgfDQmGs =OM7N -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 23:55: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 3EB47106568D for ; Fri, 22 Jan 2010 23:55:28 +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 C115A8FC26 for ; Fri, 22 Jan 2010 23:55:27 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NYTLZ-0008Pa-3t for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 00:55:25 +0100 Received: from 93-138-99-190.adsl.net.t-com.hr ([93.138.99.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 00:55:25 +0100 Received: from ivoras by 93-138-99-190.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 00:55:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sat, 23 Jan 2010 00:54:58 +0100 Lines: 40 Message-ID: References: <560f92641001221524n1290e70fi51d766e8e0f488bf@mail.gmail.com> 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-99-190.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: <560f92641001221524n1290e70fi51d766e8e0f488bf@mail.gmail.com> Sender: news Subject: Re: FreeBSD 8.0 amd64 on Nehelem Xeon? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 23:55:28 -0000 Nerius Landys wrote: > I'm in the process of purchasing a small Nehelem-based server (Xeon > L5506 CPU to be exact). I will be installing some flavor of FreeBSD > 8.0 (either i386 32 bit or amd64 64 bit, to be exact). I have no > immediate need for a 64 bit server, as none of the processes that I > will be running in the forseeable future will require more than 3 gigs > of memory. My primary use for the server (which will be in a data > center) will be to run video games servers; the exact game I'll be > running is based on the ioquake3 open source engine, which compiles > and runs fine on FreeBSD, at least 32 bit (have not tried 64 bit > FreeBSD yet, but will get around to that). > > My two concerns when making a decision between 32 bit and 64 bit are: > > 1. Performance. Will there be any difference in performance between a > 64 bit OS and 32 bit on my Nehelem? Probably not so much that you would notice (i.e. not something the users would immediately feel) - for general loads we're talking about low percentages in either direction. But installing a 64-bit OS is more like planning for the future. Maybe you will need more RAM for some application and then you will be stuck with a 32-bit OS. > 2. Availability of software. Will some software run only on 32 bit? > Only on 64 bit? There probably are some. If you are only interested in FreeBSD ports, you can make a list of which ports you need and then inspect their Makefiles to see if there's a flag disabling them on the amd64 architecture. Another option is that you bring up a 32-bit-only jail and run your 32-bit applications from it. Additional information for Nehalems is that you should stick to the more widely available models - the 4 core+HTT ones. Some of the more exotic ones (6 core) might have problems with ULE and topology guesswork. http://suckit.blog.hu/2009/10/05/freebsd_8_is_it_worth_to_upgrade From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 00:05: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 948A61065679; Sat, 23 Jan 2010 00:05:18 +0000 (UTC) (envelope-from mattjeet@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 559208FC13; Sat, 23 Jan 2010 00:05:18 +0000 (UTC) Received: by pwi15 with SMTP id 15so1223946pwi.3 for ; Fri, 22 Jan 2010 16:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=Ac3+p2e1Yd2SwWueZbPmWpim4uv5eetnfcarYxribXo=; b=XJMqVNadz3jtoXAd/Akacl1q1DCDC6jDI6GLtNUhEBRr1TpNYThD+wkPolyHflTbMU RYe9ut62fNXz+UbSJUfPddJkSHYKEd2aYuyqMBzZiKkWbtfnjEOE5XJBFt7E2CS5yNci tbqBfSk0n7fcnJxDDrOMiFD3i5tyhs3q2Th+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=vL5ULOW3kpK44/VHPRf2pKFuuGYgKyS966HIq8DHhVTIcVVpeoJgBAU1aif7F91c3v ab6VrbFjMuX5zZcXZomj2Ep0bmQ32KBszQhX/A5pRoNMi6fqw9ZEhHKndmZ6JsVIL3S2 f4yoM69Hk7wiYA3p7rVeXmZiyzul5wN34fcVk= MIME-Version: 1.0 Sender: mattjeet@gmail.com Received: by 10.142.1.20 with SMTP id 20mr2460947wfa.73.1264203320891; Fri, 22 Jan 2010 15:35:20 -0800 (PST) In-Reply-To: References: Date: Fri, 22 Jan 2010 15:35:20 -0800 X-Google-Sender-Auth: f0816e0fa82657ee Message-ID: <9740caf1001221535l1fcb45f0pa189c84517640314@mail.gmail.com> From: Matt Olander To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: posting coding bounties, appropriate money amounts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matt@ixsystems.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 00:05:18 -0000 On Fri, Jan 22, 2010 at 3:06 PM, Ivan Voras wrote: > Dan Naumov wrote: >> >> Hello >> >> I am curious about posting some coding bounties, my current interest >> revolves around improving the ZVOL functionality in FreeBSD: fixing >> the known ZVOL SWAP reliability/stability problems as well as making >> ZVOLs work as a dumpon device (as is already the case in OpenSolaris) >> for crash dumps. I am a private individual and not some huge Fortune >> 100 and while I am not exactly rich, I am willing to put some of my >> personal money towards this. I am curious though, what would be the >> best way to approach this: directly approaching committer(s) with the >> know-how-and-why of the areas involved or through the FreeBSD >> Foundation? And how would one go about calculating the appropriate >> amount of money for such a thing? > > Hi, > > This idea (bounties) appear approximately every 6 months and it appears > there is no better way than contacting the developers directly. AFAIK all > attempts to conglomerate such an effort have failed. One important > conclusion is that it cannot go through the Foundation since they cannot > accept targeted donations. Awhile back, we built a simple app for posting bounties, getting devs and sponsors on board, posting the committed code in a browser viewable format, and then handle final payout upon completion. iXsystems is more than willing to handle financial details and I would gladly be the first to sponsor this project on the site. http://www.sponsorbsd.org We would need a team leader *cough* Ivan *cough* that could make sure developing contributors are actually involved so that the final payoff can be shared accordingly. It's a cakephp app and I'm sure it needs a bit more polish but we could do it on the fly and it shouldn't be to hard :) Any cakephp or php devs interested in helping testing and launch, let me know. I just haven't had much time to spend on launching it although I still think it's a great idea. If somebody would like to spearhead this effort, that would be great. For companies wishing to sponsor non-community code, it also has the option of hiding the community committed code. best, -matt From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 00:12: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 5565010656A4 for ; Sat, 23 Jan 2010 00:12:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id C729B8FC22 for ; Sat, 23 Jan 2010 00:12:17 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0N0CGKp084412; Sat, 23 Jan 2010 01:12:16 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 138AABA98; Sat, 23 Jan 2010 01:12:16 +0100 (CET) Date: Sat, 23 Jan 2010 01:12:16 +0100 From: Roland Smith To: LoH Message-ID: <20100123001216.GB35458@slackbox.xs4all.nl> References: <4B5A23D5.9070002@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline In-Reply-To: <4B5A23D5.9070002@gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Upgrade from i386-8.0 to amd64-8.0 possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 00:12:18 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 22, 2010 at 04:16:53PM -0600, LoH wrote: > I've got a system currently running FreeBSD-i386-8.0, and was wondering= =20 > whether or not it's possible to move the system to FreeBSD-amd64-8.0=20 > without bringing it down for more than a reboot or two=20 It is possible, but not recommended. First of all, you'll need a free (root) partition to install the new amd64 kernel and world into. And you ne= ed to rebuild not only the kernel, but the userland binaries ("world") as well. > (and avoid reinstalling all of the client software on the box itself). Realize that if you _ever_ want to update a port (which is still a i386 bin= ary), those ports will be rebuilt as amd64 binaries, and linking (to libraries that are still i386) will fail. Likewise, is you update a library, all i386 binaries that depend on it will stop working because the library becomes amd64. Unless you copy the old library to a lib32 directory which you then have to tell ldconfig how to fi= nd. > The box itself will be undergoing a hardware change from a dual xeon=20 > (P4, not 64bit) to a dual opteron. I think I can boot i386, set up a=20 > amd64 cross-compile, then compile a new kernel with it, or do a binary=20 > change to the new arch and then reboot. Do yourself a big favor. Back up your data, configuration files and a list = of your ports, en delete all ports. Then install amd64 cleanly on the new machine. Restore your data. Re-build your ports from scratch, or install pa= ckages. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktaPuAACgkQEnfvsMMhpyU7vwCfZOZEijgg4aechSVTYYl5Dl9J 3QkAn3rEhdysYgocn9GBretxcW1+OUV6 =YTMn -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 00:14:59 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 7EFDE106568D for ; Sat, 23 Jan 2010 00:14:59 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id 3A77A8FC16 for ; Sat, 23 Jan 2010 00:14:58 +0000 (UTC) Received: by qyk4 with SMTP id 4so950118qyk.7 for ; Fri, 22 Jan 2010 16:14:58 -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=DRLMjQBrrBqLv05fJ9QBcz3YzDLPKKyOuOKQFyQW7tE=; b=TwFuC3R5yiZn3S2+Hhenck7hW3ii2d2Wqa19B+Uni8iBEjMhbT/4zxhvQblhzHsIaS LiBx5J3lc4IVBD2AYtiKwt+n+Fm1JPMOroN4HgJuTOHaZKReCD1cSsOImA+coHaVmNN/ Zc8zvobusJmf2RSXrNcMTwrDKsGsMVG4fQLNQ= 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=aJdME8M6coUd3X27IA21CMOYahSeu/iPhGCyeRSW1VZ1DiUHdWvwPAoSesIVJ5W4MY img49O6CESSD5iQBp1/KXTSIjswfUpCGRtd/pKpeg8GslzxC3Ci88KFWVsT7imBF6xAs 0TdEmZSBcTtzq5LPFhjgBy6lGjq5K1xf8j/Js= MIME-Version: 1.0 Received: by 10.229.131.39 with SMTP id v39mr2266197qcs.66.1264205698359; Fri, 22 Jan 2010 16:14:58 -0800 (PST) In-Reply-To: References: <560f92641001221524n1290e70fi51d766e8e0f488bf@mail.gmail.com> Date: Fri, 22 Jan 2010 16:14:58 -0800 Message-ID: <560f92641001221614s1ccb6fcbg3407dd8445bfa1d5@mail.gmail.com> From: Nerius Landys To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8.0 amd64 on Nehelem Xeon? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 00:14:59 -0000 > There probably are some. If you are only interested in FreeBSD ports, you > can make a list of which ports you need and then inspect their Makefiles to > see if there's a flag disabling them on the amd64 architecture. OK thanks. Could you give me an example of a port that is disabled on 64 bit and tell me what I will find in the Makefile, so I can look for it on other ports? > Additional information for Nehalems is that you should stick to the more > widely available models - the 4 core+HTT ones. Some of the more exotic ones > (6 core) might have problems with ULE and topology guesswork. The L5506 is a 4 core model without Turbo Boost and without Hyper Threading. It's a power-efficient model. Think that'll be OK? http://ark.intel.com/Product.aspx?id=40712 From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 00: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 CA3EC106566C for ; Sat, 23 Jan 2010 00:41:50 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4AC8FC12 for ; Sat, 23 Jan 2010 00:41:49 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so155906fgg.13 for ; Fri, 22 Jan 2010 16:41:49 -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=vopJPRghp/R+VtEvrNh12YkEY5BdbUw3SVH74zlgCtU=; b=sT4M7TqucRa/uJnT3VdecJBDrT4DH/Nl5zouQwdCt5AmNtJpG+PvCdiIU/t9lyoRJy 2mzBYk1YbJVSvMPtEcjoIacaOaEpm/nty8hnWXJ5Dlc2F4Bs20U8SQaVasX8hLSTqP64 hjPS95l8f2BOcJRFZZMlY/BaKo7bu4+w4ITD4= 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=OoZvhFS9TKK+zh2rgGGEId0i9o7dzqiOxQPIB+y+zX/bgtCHu8FqvgBCDu4i90TzdQ syCs+DuqLa5HJ4laSv0abvdldiu5/x89CDrjKYBJVIfn4jl0yRZeVKqWrCdwSxBJrxxf 0vxJmd/k3tRyfx6mnZkSK3SUpu9/0LWB2D9K0= Received: by 10.87.55.18 with SMTP id h18mr4329370fgk.65.1264207309237; Fri, 22 Jan 2010 16:41:49 -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 d6sm1407360fga.29.2010.01.22.16.41.48 (version=SSLv3 cipher=RC4-MD5); Fri, 22 Jan 2010 16:41:48 -0800 (PST) Date: Sat, 23 Jan 2010 00:41:46 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100123004146.50bc607b@gumby.homeunix.com> In-Reply-To: <4B5A23D5.9070002@gmail.com> References: <4B5A23D5.9070002@gmail.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Upgrade from i386-8.0 to amd64-8.0 possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 00:41:50 -0000 On Fri, 22 Jan 2010 16:16:53 -0600 LoH wrote: > I've got a system currently running FreeBSD-i386-8.0, and was > wondering whether or not it's possible to move the system to > FreeBSD-amd64-8.0 without bringing it down for more than a reboot or > two (and avoid reinstalling all of the client software on the box > itself). Just in case you're not aware of it, I find this site very useful: http://www.google.com From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 00:47: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 8825A1065697 for ; Sat, 23 Jan 2010 00:47:11 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 722028FC16 for ; Sat, 23 Jan 2010 00:47:11 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 16:47:11 -0800 Message-ID: <4B5A4709.3040901@a1poweruser.com> Date: Sat, 23 Jan 2010 08:47:05 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Christoph Kukulies References: <4B581838.8010107@kukulies.org> <4B586142.3020404@a1poweruser.com> <4B5861E1.7030800@kukulies.org> <4B59AABA.6030301@a1poweruser.com> <4B59D47C.1090203@kukulies.org> In-Reply-To: <4B59D47C.1090203@kukulies.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jan 2010 00:47:11.0320 (UTC) FILETIME=[991DA580:01CA9BC5] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 00:47:11 -0000 Christoph Kukulies wrote: > I don't know why you shout. (?) Not shouting, just making my inserted comments visible within the old post as in different from bottom or top posting. > > Fbsd1 schrieb: >> Christoph Kukulies wrote: >>> Fbsd1 schrieb: >>>> Christoph Kukulies wrote: >>>>> I installed FreeBSD 8.0 on an USB-stick and was able to boot it on >>>>> my Desktop PC and install 8.0 >>>>> from it. >> >> DO YOU MEAN YOU INSTALLED THE 8.0 ISO ON A USB STICK. BOOTED FROM IT >> AS INSTALL SOURCE AND INSTALLED 8.0 ON A DESKTOP PC TO THE MOTHERBOARD >> CABLED HARD DRIVE??? OR DO YOU MEAN YOU INSTALLED 8.0 ON A DESKTOP PC >> TO ANOTHER USB STICK??? > > The former, I copied the 8.0 iso image to an USB stick, booted it and > installed it to the desktop PCs hard drive. > That was one story. The other point is, that I now wanted to plug this > USB stick into my Dell inspiron and install FreeBSD in the same manner > to a free partition on my notebooks hard drive. > >> >> >>>>> >>>>> Now I plugged the same stick into my Dell Inspiron 9400 and the USB >>>>> stick (2GB) is not even listed in the F12 Bios boot menu. >> >> YOU MEAN YOU PLUGGED THE STICK WITH THE ISO INSTALLED ON IT THAT THE >> DESKTOP BOOTED FROM??? > > Yes, that same stick booted the desktop but is not recognized in the F12 > menu of my notebook. > >> >>>>> >>>>> Any clues? >>>>> >>>>> -- >>>>> Christoph >>>>> >>>>> >>>> Older pc's have bios which do not have option to boot from USB stick. >>>> I think that is so in your case. Check mfg website for bios update. >>>> If not you are SOL. (shit outof luck) >>> >>> I can boot USB sticks in general from that notebook/BIOS. That Dell >>> 9400 isn't that old. Today I tried an another USB stick (16GB) an >>> Ubuntu 9.04 boot image and it worked fine. I saw the boot device >>> under F12 in the bootable device menu. >>> It's definitely not the BIOS. Could be some partition problem (active >>> partition?). >> > Why is it part #4 btw, that FreeBSD resides in and not part #1 ? >> >> LETS NOT GET CONFUSED WITH MSDOS /FREEBSD TERMS. IN FREEBSD A SLICE IS >> WHAT MSDOS CALLS A PARTITION. IN FREEBSD A PARTITION IS A FILE SYSTEM >> SUCH AS /, /USR, /VAR WITH IN THE SLICE. A SLICE IS MARKED AS ACTIVE >> MEANING ITS BOOTABLE. THE MBR > > The FreeBSD fdisk program names it "partition". > >> (MASTER BOOT RECORD)PARTITION TABLE IS REALLY FREEBSD SLICE TABLE. >> FROM YOUR STATEMENT ABOVE YOU HAVE A MOTHERBOARD CABLED HARD DRIVE >> WITH 4 PARTITIONS/SLICES DEFINED IN THE MBR PARTITION TABLE. THE FIRST >> 3 PARTITIONS COULD BE HOLDING OTHER OPERATING SYSTEMS THAT YOU MAY >> WANT TO BOOT FROM. IS THIS CORRECT? > > Actually, I thought the USB stick had been blanked out before, but I'm > nit sure and will look at it again. > From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 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 168ED1065676 for ; Sat, 23 Jan 2010 01:06:25 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 00A228FC12 for ; Sat, 23 Jan 2010 01:06:24 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 17:06:24 -0800 Message-ID: <4B5A4B8B.3030205@a1poweruser.com> Date: Sat, 23 Jan 2010 09:06:19 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Christoph Kukulies References: <4B581838.8010107@kukulies.org> <4B586142.3020404@a1poweruser.com> <4B5861E1.7030800@kukulies.org> <4B59AABA.6030301@a1poweruser.com> <4B59E764.40906@kukulies.org> In-Reply-To: <4B59E764.40906@kukulies.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jan 2010 01:06:25.0438 (UTC) FILETIME=[490613E0:01CA9BC8] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 01:06:25 -0000 Christoph Kukulies wrote: > Here is some more info: > > The file I copied to the USB stick was > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/8.0-RELEASE-i386-memstick.img > > > Actually, I don't remember how I got the image to the USB stick. I > believe I used a free tool from HP > from within Windows XP. > > I will try out your method below now. > > > kernel messages at the time usb stick is inserted: > ugen4.3: at usbus4 > umass0: on usbus4 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:1:0:-1: Attached to scbus1 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 > (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have > changed > (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 1921MB (3935000 512 byte sectors: 255H 63S/T 244C) > GEOM: da0: media size does not match label. > # > # > # fdisk /dev/da0 > ******* Working on device /dev/da0 ******* > parameters extracted from in-core disklabel are: > cylinders=244 heads=255 sectors/track=63 (16065 blks/cyl) > > /tmp/l12: unmodified, readonly: line 1 > kernel messages at the time usb stick is inserted: > ugen4.3: at usbus4 > umass0: on usbus4 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:1:0:-1: Attached to scbus1 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 > (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have > changed > (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 1921MB (3935000 512 byte sectors: 255H 63S/T 244C) > GEOM: da0: media size does not match label. > # > # > # fdisk /dev/da0 > ******* Working on device /dev/da0 ******* > parameters extracted from in-core disklabel are: > cylinders=244 heads=255 sectors/track=63 (16065 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=244 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: > > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 0, size 50000 (24 Meg), flag 80 (active) > beg: cyl 0/ head 0/ sector 1; > end: cyl 1023/ head 254/ sector 63 > # > -- > Christoph > The dd command is what is used to copy the memstick.img to USB stick. The memstick.img is created with the dd command so no compression done. It has fixit included and is 3 times larger than the disc-1 iso file. Thats why I download the disc-1 iso and run the script to build the img on USB stick. So much faster this way. So I see that both usb sticks you are using are revision rev 2.00/1.10. But the stick that boots on your desktop will not boot on the laptop. And the stick that boots on the laptop will not boot on the desktop. Very strange indeed. This indicates that the pc bios are playing a big part in which USB stick it recognizes as bootable. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 01:19: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 6F8C11065676 for ; Sat, 23 Jan 2010 01:19:03 +0000 (UTC) (envelope-from efinley.lists@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 44FB98FC0A for ; Sat, 23 Jan 2010 01:19:03 +0000 (UTC) Received: by pwi15 with SMTP id 15so1255382pwi.3 for ; Fri, 22 Jan 2010 17:19:03 -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=2xCDLb8Pr/e5ngSbuzCBgu4O2NvuYkG9JUMzhc8PeuY=; b=PZwbBEal2/DOQQ0d/oSfSz8fDkP1W5/Oo+v1xMU+BiKnLKJ5y1/LSjvI7mNhq/ekGH Y0Mx4MDE2uL7HwgrxQlPA4WXPUv3vehAerit2mTdi1GKNJQMWeTzVAdYV3T0Yx7ZjvqG B/2NehKlk1Vl3UNYwpENwjiWB+yQ+rZRb/KDo= 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=jzGdT8MEWPysrse+B+2yZBFM8T57TkrFXqn2KhmFwBHLhD6MN4dwpyeRcWt9Bo47AC qWhJ+V4ZTIKn8iIXZhLSQaDgFM67U0XVlPQnklGNFL20bvn4NitJY9AcBxNbRy6ic1ds 9NyeJgKgxX4EegEo6upVW/ZBzf8coWZbHqnwI= MIME-Version: 1.0 Received: by 10.143.85.8 with SMTP id n8mr2484865wfl.212.1264209542542; Fri, 22 Jan 2010 17:19:02 -0800 (PST) In-Reply-To: <20100121112757.A11858@starfire.mn.org> References: <20100121112757.A11858@starfire.mn.org> Date: Fri, 22 Jan 2010 18:19:02 -0700 Message-ID: <54e63c321001221719n363a0676ga18a82e8cbc8029a@mail.gmail.com> From: Elliot Finley To: John Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Recommendations for NICs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 01:19:03 -0000 In recent testing with 8-Stable, we couldn't get our Intel cards to push more than 450Mbps. We put some Broadcom cards in and we can get 980Mbps. On Thu, Jan 21, 2010 at 10:27 AM, John wrote: > This used to be a hot topic long ago, but now seems to have become > rather dormant. Does that mean that all NICs are pretty much > commodity with all the good features (unaligned scatter/gather, > etc), or does it just mean that machine performance has grown to > the point where we don't care anymore? The hardware.html page > tells me what may owrk, but not what may work WELL. The on-board > NIC uses the fxp driver. Should I look for another card that uses > the same driver? Are those good, or are both good and "bad" cards > supproted by the same driver? The list doesn't give any of the > featuers which used to be assocaited with "good" or "bad" cards - > just the names. > > Thanks! > -- > > John Lind > john@starfire.MN.ORG > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 01:34: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 2AD70106566B for ; Sat, 23 Jan 2010 01:34:41 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id B2A068FC16 for ; Sat, 23 Jan 2010 01:34:40 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0N1YV5U061715; Sat, 23 Jan 2010 02:34:32 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id AB17ABA98; Sat, 23 Jan 2010 02:34:31 +0100 (CET) Date: Sat, 23 Jan 2010 02:34:31 +0100 From: Roland Smith To: Scott Bennett Message-ID: <20100123013431.GC35458@slackbox.xs4all.nl> References: <201001220908.o0M980UG017425@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline In-Reply-To: <201001220908.o0M980UG017425@mp.cs.niu.edu> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 01:34:41 -0000 --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 22, 2010 at 03:08:00AM -0600, Scott Bennett wrote: > > Why is that stored in the last sector of the device, rather than in = the > key file? What is the purpose of the key file if not to hold that type of > information? All geom(4) providers use their last sector to store metadata; it's a design decision. Probably because the first sector(s) are used for boot blocks or filesystem metadata etc. It would have been possible to store the generated key in the user-provided keyfile. But since it is not mandatory to have a keyfile (you can also use just a passphrase), it makes more sense to use the already provided metadata space in the last sector. > >Well, it should be different, otherwise they overwrite the same sector. = Ipso > >facto you should nest providers... >=20 > ...unless, of course, the two had been designed to use different par= ts > of the "last sector" for their own purposes, but also to avoid damaging t= he > other's data when altering their own. The geom framework was designed to be _extensible_. It was designed so that= it would be possible to combine (nest) different types of geom providers, even= if those classes (types of providers) didn't even exist when the framework was designed. Trying to shoehorn all metadata for any combination of geom providers into on 512-byte sector would have severely limited the usability= of the geom system. In my opinion the solition of using nested providers each using their own l= ast sector for metadata is simple and elegant and avoids that problem rather ni= cely.=20 As I've been trying to explain, the 'nesting' of geoms is _precisely_ what avoids the whole issue of damaging each others data. I've got the feeling that you do not 'get' that concept, which lead to your= problem. Unfortunately, I don't know how to explain it more clearly.=20 > Thanks for the explanation. However, if the key information is stor= ed > in the "last sector" rather than in the key file, then I guess I'm totally > confused about how GELI works. The encryption key is _not_ stored in the last sector. That would be unsafe, like locking your front door and leaving the key in the lock. But a part of= the information necessary to create the encryption key is. Your keyfile is just one component of the en- / decryption key to unlock the data. They are not the same. You can use one or more keyfile(s), a passphra= se or both. You can also have more than one key; a user key and a 'company' or system key. And geli uses a random component when the encryption key is initially created. The metadata sector is the natural place to store some of that info. This is safe because it is in itself not sufficient to create the en- / decryption key. One also need the keyfile and/or passphase. Personally, I would never use only a keyfile; it is not really secure, especially if you leave that key on another unencrypted partition of the sa= me drive! So-called two-factor authentication (something you have [keyfile] and something you know [passphrase]) is much safer. If you really want to know how geli works, as always with free software, the source code is the ultimate reference. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --TiqCXmo5T1hvSQQg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktaUicACgkQEnfvsMMhpyXfNACgiuthg9JlCIU07S34N4RiL/mq 1SgAn0cjMpvQjl6WshqipTMg3AlLP7NJ =KLtS -----END PGP SIGNATURE----- --TiqCXmo5T1hvSQQg-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 01:40:42 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 87EE31065715 for ; Sat, 23 Jan 2010 01:40:41 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 0B22D8FC0A for ; Sat, 23 Jan 2010 01:40:40 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so168249fgg.13 for ; Fri, 22 Jan 2010 17:40:39 -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=vSNoDRqkA8DqZoInPM+i5MBR8eIoNTbpaSyAElwC0QM=; b=J6jnSOodwzU4IQEKg2hzLsNccQzvNVhxoC1QnRJPqKUmSb2L5L5qbwaUY526vLSCYg fWnKPxOc/lrdvIq95zgm/YGTE+yTDJSiC2Mgbmc0WBRyzo2O0vUw76vpEdpvDyXDvZCO FgEopDb/JrY0HHd4qciGRFur+BVxiNTWM6spU= 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=pesN2Nwau/sBHdmfGrCIU00XEC0UWxqTY76RK/QEUqLjksLiFnVeGi8+gRwBXNYxzA gvpMavPH3De7ojrf4LyL+87qOlobx1nOLekB4QSN6ChIa6ARtFJoUxSbYLT5WCxy4qn8 LS2rrYi/YRWf4OkBJ4dksrq4SzLZMi73rpgDs= Received: by 10.87.50.38 with SMTP id c38mr4570875fgk.9.1264210839770; Fri, 22 Jan 2010 17:40:39 -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 l12sm9482941fgb.10.2010.01.22.17.40.38 (version=SSLv3 cipher=RC4-MD5); Fri, 22 Jan 2010 17:40:39 -0800 (PST) Date: Sat, 23 Jan 2010 01:40:37 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100123014037.3daaae97@gumby.homeunix.com> In-Reply-To: <20100122235433.GA35458@slackbox.xs4all.nl> References: <27280687.post@talk.nabble.com> <20100122235433.GA35458@slackbox.xs4all.nl> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Periodic maintenaince X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 01:40:42 -0000 On Sat, 23 Jan 2010 00:54:33 +0100 Roland Smith wrote: > What you could do is prepend the find(1) commands with the nice(1) > command, to give the find commands lower priority. E.g. 'find -bla' > then becomes '/usr/bin/nice -n 19 find -bla'. Unless there's something under periodic that really needs normal priority, it's easier to modify /etc/crontab so that all periodic tasks run under nice. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 01:54: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 17E52106566B for ; Sat, 23 Jan 2010 01:54:55 +0000 (UTC) (envelope-from tajudd@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 E300B8FC13 for ; Sat, 23 Jan 2010 01:54:54 +0000 (UTC) Received: by pzk40 with SMTP id 40so265680pzk.7 for ; Fri, 22 Jan 2010 17:54:54 -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=szZtTmW1fbtISOjTGVckY6hB87GKINu+kQ3u42f70zg=; b=st5TbaD2Iz62+MCqePrby3PFG8EUA1FD3i4JMfJlcKLMRTAK3wJEBDVc67QaPH3UTD 1BbLYC/7bnz3U1oO7DMj0Y+NTKaG918Iu38FLNIJJGxh1ggC1HHPgN+/ndiCM4imxRGk wyuzHh59kdqwC6mOhHw1Py1/Hygbc/I0hzTFE= 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=O4/Av31eVpDVSCW3Bk/PWKCmdA/33mDCtbOYjPJXQuL9lU4UXRr2K0qSAhsm8dUsXf Le6g/qtAvo+zgJMXf/4VmW5RPGVIkC+/E7jYKOJKf4hX7pk68xfcbMXkcqy1DfvlGzDw Lmw6f5lvJsimoCCtGiQupxhy2SH71jr14xOIo= MIME-Version: 1.0 Received: by 10.115.116.7 with SMTP id t7mr2468402wam.132.1264211694454; Fri, 22 Jan 2010 17:54:54 -0800 (PST) In-Reply-To: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> References: <201001140731.o0E7VtQ0018243@mp.cs.niu.edu> Date: Fri, 22 Jan 2010 18:54:53 -0700 Message-ID: From: Tim Judd To: Scott Bennett Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 01:54:55 -0000 On 1/14/10, Scott Bennett wrote: > I used "glabel label" to label each of the file systems I have on > external > disk drives. Unfortunately, afterward I am now unable to "geli attach" any > of > the GELI-encrypted file systems. The system is FreeBSD 7.2-STABLE. Is > there > a way to get this to work? Or have I just lost everything in the encrypted > file systems? > > hellas# geli attach -k work.key /dev/label/work > geli: Cannot read metadata from /dev/label/work: Invalid argument. > hellas# ls -lgF /dev/label/ > total 0 > crw-r----- 1 root operator 0, 192 Jan 14 00:47 archives > crw-r----- 1 root operator 0, 191 Jan 14 00:47 backupsi > crw-r----- 1 root operator 0, 182 Jan 14 00:47 backupsl > crw-r----- 1 root operator 0, 166 Jan 14 00:47 backupss > crw-r----- 1 root operator 0, 179 Jan 14 00:47 sec > crw-r----- 1 root operator 0, 161 Jan 14 00:47 usrobj > crw-r----- 1 root operator 0, 184 Jan 14 00:47 usrports > crw-r----- 1 root operator 0, 186 Jan 14 00:47 vboxdisk > crw-r----- 1 root operator 0, 181 Jan 14 00:47 work > hellas# > > Any help in recovering the lost data would be deeply appreciated. If > that cannot be done, then at least knowing that would keep me from wasting > further time on it. Thanks much. Are you aware that tunefs -L will label a device? It is stored as part of the filesystem, instead as a GEOM metadata. So you should be able to get both labeling (/dev/ufs/labelname) and GELI as you are asking for. As for recovering your data, I see other helpful posts in this thread, as I have no additional helpful information to recommend. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 02:05:05 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 36F041065670 for ; Sat, 23 Jan 2010 02:05:05 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id C50338FC12 for ; Sat, 23 Jan 2010 02:05:04 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0N252840682; Fri, 22 Jan 2010 20:05:02 -0600 (CST) (envelope-from john) Date: Fri, 22 Jan 2010 20:05:02 -0600 From: John To: Fbsd1 Message-ID: <20100122200502.A40432@starfire.mn.org> References: <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> <20100122063614.A27734@starfire.mn.org> <20100122072756.A28958@starfire.mn.org> <20100122080950.B28958@starfire.mn.org> <20100122110102.A31702@starfire.mn.org> <20100122163521.A37927@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20100122163521.A37927@starfire.mn.org>; from john@starfire.mn.org on Fri, Jan 22, 2010 at 04:35:21PM -0600 Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation (GOOD NEWS!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 02:05:05 -0000 On Fri, Jan 22, 2010 at 04:35:21PM -0600, John wrote: > On Fri, Jan 22, 2010 at 11:01:02AM -0600, John wrote: > > On Fri, Jan 22, 2010 at 08:09:50AM -0600, John wrote: > > > On Fri, Jan 22, 2010 at 07:27:56AM -0600, John wrote: > > > > On Fri, Jan 22, 2010 at 06:36:14AM -0600, John wrote: > > > > > On Fri, Jan 22, 2010 at 08:16:59PM +0800, Fbsd1 wrote: > > > > > > John wrote: > > > > > > > On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: > > > > > > >> John wrote: > > > > > > >>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: > > > > > > >>>> John wrote: > > > > > > >>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. > > > > > > >>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 > > > > > > >>>>> Gb. I've tried to figure out what the BIOS thinks the geometry > > > > > > >>>>> is, but it doesn't seem to want to tell me. At least, I can't find > > > > > > >>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with > > > > > > >>>>> the 255 head geometry, though, it complains about the disk geometry, > > > > > > >>>>> saying 16h,63s != 255h,63s or something like that - it flies by > > > > > > >>>>> pretty fast (is there a way to go back and see that from the CD-ROM > > > > > > >>>>> "boot only" boot?). > > > > > > >>>>> > > > > > > >>>>> I'm using the "Standard" boot manager, and the entire disk is devoted > > > > > > >>>>> to FreeBSD. > > > > > > >>>>> > > > > > > >>>>> System > > > > > > >>>>> BIOS version PT84510A.86A.2004.P05 > > > > > > >>>>> Processor Type: Intel Pentium 4 > > > > > > >>>>> Processor speed: 2.20Ghz > > > > > > >>>>> > > > > > > >>>>> Memory: 512Mb > > > > > > >>>>> > > > > > > >>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) > > > > > > >>>>> Primary IDE Slave: IOMega ZIP 250 > > > > > > >>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) > > > > > > >>>>> Secondary IDE Slave: DVD-ROM DDU1621 > > > > > > >>>>> > > > > > > >>>>> Boot sequence: > > > > > > >>>>> 1) ATAPI CD-ROM > > > > > > >>>>> 2) Hard Drive > > > > > > >>>>> 3) "Removable Dev." > > > > > > >>>>> > > > > > > >>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 > > > > > > >>>>> "calculated" geometry: 9729/255/63 for ad0 > > > > > > >>>>> > > > > > > >>>>> ad0s1 start=63, size=2875572 > > > > > > >>>>> ad0s2 start=2875635, size=10217340 > > > > > > >>>>> ad0s3 start=13092975, size=143203410 > > > > > > >>>>> unus start=156296384, size=5103 > > > > > > >>>>> > > > > > > >>>>> ad0s1a / 384Mb > > > > > > >>>>> ad0s1d /usr 1Gb > > > > > > >>>>> ad0s2b SWAP 1Gb > > > > > > >>>>> ad0s2d /tmp 384Mb > > > > > > >>>>> ad0s2e /var 512Mb > > > > > > >>>>> ad0s2f /var/mail 2Gb > > > > > > >>>>> ad0s2g /usr/ports 1Gb > > > > > > >>>>> ad0s3d /home/mysql 4Gb > > > > > > >>>>> ad0s3e /home 50Gb > > > > > > >>>>> ad0s3f /usr/src 3Gb > > > > > > >>>>> ad0s3g /usr/obj 3Gb > > > > > > >>>>> ad0s3h /extra 8483Mb > > > > > > >>>>> > > > > > > >>>>> Suggestions, please? I'm making zero headway right now. :( > > > > > > >>>> What version of FreeBSD are you running???? > > > > > > >>> Well, yes, I suppose that would be a good bit of information! > > > > > > >>> > > > > > > >>> What I'm *TRYING* to run is 8.0. It seems to install successfully > > > > > > >>> (of course - after doing all that), but then when I try to boot > > > > > > >>> from the hard drive, I see an otherwise-blank screen that says: > > > > > > >>> > > > > > > >>> > > > > > > >>> Invalid partition table > > > > > > >>> > > > > > > >>> > > > > > > >>> and that's as far as it goes! > > > > > > >>> > > > > > > >>>> _______________________________________________ > > > > > > >>>> 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" > > > > > > >> There are reports of this sort of thing caused by 8.0 fdisk when doing a > > > > > > >> install from scratch over a hard drive that all ready has an older > > > > > > >> version of Freebsd installed on it. > > > > > > >> > > > > > > >> The solution is to force the scratching of the MBR on the disk first > > > > > > >> before running sysinstall fdisk. > > > > > > >> > > > > > > >> Boot a LiveFS CD, then at a root prompt do: > > > > > > >> > > > > > > >> sysctl kern.geom.debugflags=16 and: > > > > > > >> > > > > > > >> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 > > > > > > >> > > > > > > >> where x equals your drive number. > > > > > > > > > > > > > > OK. I did exactly that. I confirmed that the second 512 bytes were zero > > > > > > > by doing a dd if/dev/ad0 bs=512 count=2 | od -c > > > > > > > and everything from 001000 through 002000 was zero. > > > > > > > > > > > > > > But I still got "Invalid partition table" after the installation. > > > > > > > > > > > > > > I guess I should set up one of my other systems as a local mirror. > > > > > > > I've done the installation so many time already, and it looks like > > > > > > > I'm not done yet! > > > > > > > > > > > > On the 8.0 fdisk/MBR subject. > > > > > > Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the > > > > > > solution from another post to the list with subject 'SunFire X2100 > > > > > > fails'. Here is another post that gives more details > > > > > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ > > > > > > www/db/text/2009/freebsd-questions/20091227.freebsd-questions > > > > > > > > > > > > It seems in 8.0 gpart was introduced and a change was made to fdisk to > > > > > > support its sector o mbr format. 8.0 fdisk and disklabel are now broken. > > > > > > > > > > > > Searching the list archives may shed more light on your problem. > > > > > > > > > > Hmmm. This seems to describe a case where fdisk fails to change > > > > > the slice table. That is definitely not my case. The changes > > > > > certainly get made. The next time I go to retry the installation, > > > > > it has the information I gave it the previous time. I suppose it is > > > > > possible that it is putting it (and reading it) in the wrong location, > > > > > which is why the MBR throws up. > > > > > > > > > > The problem is that I have a finite (and smallish) amount of time > > > > > in which to solve this. It seems like the most expedient route > > > > > forward at this point may be to try to install 7.2 and see how > > > > > that goes. > > > > > > > > OK - well, I just tried with 7.2. I got exactly the same results. > > > > After what seems like a successful installation, I try to boot from > > > > the hard disk and get "Invalid partition table." Should I try Boot > > > > Manager? Could that make a difference? Is it possible that this > > > > combination of BIOS, processor, disk drive, etc., just isn't going > > > > to to do for me? I can't just keep throwing hours at this problem. > > > > -- > > > > > > > > > > OK! Well! Good news! After a sort. > > > > > > I switched to BootMgr, and it came right up with 8.0! > > > > > > Slight downside - extra prompt during boot, and of course, it > > > offers me all three slices, when I only need to boot from > > > one. > > > > > > Is that's what's wrong with "Standard" MBR? Are all three FSD > > > partitions (type 165) marked bootable and that's upsetting it? > > > Can I change it so only one of them is marked bootable? > > > > > > Anyway, it appears that there is a problem with the "Standard" MBR > > > boot. I don't think I was doing anything that unnatural - I wanted > > > quite a few file systems, so I used multiple slices, both to keep > > > the boot slice below 1.5Gb and to be able to support all the file > > > systems I wanted, and maybe that's what upset it. I don't know. > > > All I know is that Standard MBR didn't work, and BootMgr does. > > > > > > I'm willing to spend SOME time trying to debug / fix this for the > > > good of the community and the next poor sucker who comes along > > > behind me, but I need to move somewhat quickly. I actually plan > > > to use this machine! > > > > OK - my current best theory is that if the Standard boot manager > > is faced with anything other than exactly 1 bootable slice (partition > > to it), it defaults to "Invalid partition table." I'll bet anyone > > lunch that this is true. Any takers? > > > > I'll test my theory tonight and let you all know how it turns out. > > If this is true, then we should at least post some warnings, if not > > actually fix the installation process so that if you choose "Standard," > > it helps ensure that you have one and only one bootable slice/partition! > > > > Whaddaya think? > > > > Well, better it happen to me than someone from another community who is > > trying us out for the first time... > > OK, so here's the update so far. It was, indeed, the case that > all three slices (partitions) were marked as active (bootable), to wit: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 2883825 (1408 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 15/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 2883888, size 10224144 (4992 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 3 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 13108032, size 143193456 (69918 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 4 is: > > > So - I used dd to make a copy of the MBR, and wrote a C program to > interpret it and clear the other two flags. Once I was satisfied > with that, I used the sysctl from earlier in the thread (which I > assume allows me to actually change things) and dd to put the > modifed mbr back in place on sector 0. Now fdisk reports > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 2883825 (1408 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 15/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 2883888, size 10224144 (4992 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 3 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 13108032, size 143193456 (69918 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 4 is: > > > So - there's only ONE active partition, but it still has bootmgr. > > I have used dd and cat to manufacture a new boot record from > /boot/mbr and the parition (slide) table I've modified, > and I'm tempted to put THAT in place over this one, but I'm > afraid of what that might mean - are there other changes > to the structure of the disk that I need to make to switch from > BootMgr to the "Standard" MBR? Even if my synthesized MBR > is correct, is it going to run into trouble at the next step? > Does it need a different "level 1" boot code? Or should I just > use "fdisk -b /boot/mbr" rather than my synthesized mbr? > Will that take care of all the linkages (if any)? > > I still think that the ultimate solution is to CHANGE THE > INSTALLATION PROCESS so that there is ONE and ONLY ONE > active partition when the "Standard" mbr is used. Well, I'll > make that an even more general statement - let's change the > installation process so that ONLY THE FREEBSD PARTITION(s) > CONTAINING /boot GET THE ACTIVE FLAG SET. There's nothing > to boot otherwise, anyway, right? > > I'm not 100% sure how best to do this, but I have some ideas. I > think it starts with having fdisk leave the flag off by default, > and only turn it on for slices where it has loaded boot code, but > maybe it's not that simple. > > My concern is that it sounds like someone is already working on > fdisk / diskpart with an eye to replacing it, so maybe I'm > working on a "zombie" problem that's already "walking dead." > I have no interest in putting time and effort into that in > such a case, but I'm very willing to help in this area if it > will have some value. > > Open to suggestions here, folks - what do you say? Having not heard anything, I proceeded first with my BootMgr modifed partition table which had only the first partition marked active. It worked. So - then - since I had nothing invested in the system other than an installation (one of many), so I decided to try my synthesized "Standard" boot record (now with just one active slice/partition). It worked! No more "Invalid partition table". So - I believe that my theory is correct. 1) The FreeBSD-supplied "Standard" boot manager will report "Invalid partition table" and stop if there is not exactly 1 slice/partition marked "Active" (bootable). 2) The 7.2 and 8.0 installation processes with mark all FreeBSD processes mark all FreeBSD slices/partitions as "Active" (bootable), rendering the system unbootable with the "Standard" boot manager if there is more than one FreeBSD slice / partition. I have also discovered that BootMgr will boot a partition whether or not it is marked as active, so it wouldn't be necessary to mark ANY of them active for BootMgr's sake. It may even be that BootMgr uses that flag to indicate the last one booted, but that's only supposition on my part. I believe that there is room for improvement here. -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 02:09: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 44C96106566C for ; Sat, 23 Jan 2010 02:09:19 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id C73F98FC08 for ; Sat, 23 Jan 2010 02:09:18 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so236784fgg.13 for ; Fri, 22 Jan 2010 18:09:17 -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=skUZ85RgDG268yBiG6CgwdexNZfryyvlUULEhOVSDig=; b=EDJBp9WgcET5rJ/9gJC0QzV8vwiiemweWf0lMCRsqBtyUGWh+bPvtiYEqmUoe2YL6R l5B9QoiwAo6WEfQ5JJ18xSbtqAIDDOmOFcS5BRxD2LyO5VQNJGhzrCIZLQ3mUI9Rg2nX S4KNfG4JwfN+TgDm/na7ZHwPMLookDpPMvI0U= 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=WmU84jccroWo9SRtg7qjG6hYxxBRPRX02HTwCN9aQuFlhdxtlgrnIXOQA+hMyVYCro i52TwopV7jP6IAp2siemFcUJg9KFRm36O6Gbvk8Atbf/jq/DNCHdr7ywgrk1Cu/TDvB2 Pl6obdak9EXhbYU7kSQ19d9HlSPCRUKUfSYtM= Received: by 10.87.40.26 with SMTP id s26mr5919482fgj.72.1264212557716; Fri, 22 Jan 2010 18:09:17 -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 12sm1637550fgg.17.2010.01.22.18.09.16 (version=SSLv3 cipher=RC4-MD5); Fri, 22 Jan 2010 18:09:17 -0800 (PST) Date: Sat, 23 Jan 2010 02:09:14 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100123020914.250a1aee@gumby.homeunix.com> In-Reply-To: <20100123013431.GC35458@slackbox.xs4all.nl> References: <201001220908.o0M980UG017425@mp.cs.niu.edu> <20100123013431.GC35458@slackbox.xs4all.nl> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.18.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: GELI file systems unusable after "glabel label" operations X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 02:09:19 -0000 On Sat, 23 Jan 2010 02:34:31 +0100 Roland Smith wrote: > On Fri, Jan 22, 2010 at 03:08:00AM -0600, Scott Bennett wrote: > > > > Why is that stored in the last sector of the device, rather > > than in the key file? What is the purpose of the key file if not > > to hold that type of information? The keyfile is user generated, usually just some bytes from /dev/random > All geom(4) providers use their last sector to store metadata; it's a > design decision. Probably because the first sector(s) are used for > boot blocks or filesystem metadata etc. > > It would have been possible to store the generated key in the > user-provided keyfile. But since it is not mandatory to have a > keyfile (you can also use just a passphrase), it makes more sense to > use the already provided metadata space in the last sector. Having it on the last sector allows the auto-detection of geli partitions. It would be nice to have the option of having the metadata in a separate metadata file instead of the last sector, to allow geli partitions to be indistinguishable from securely erased partitions. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 02:15: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 567B31065670 for ; Sat, 23 Jan 2010 02:15:32 +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 3C8748FC16 for ; Sat, 23 Jan 2010 02:15:31 +0000 (UTC) Received: from [192.168.0.110] ([180.129.8.166]) (authenticated bits=0) by nomoremozzie.com (8.13.1/8.13.1) with ESMTP id o0N2FSP1031959; Fri, 22 Jan 2010 19:15:30 -0700 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Sat, 23 Jan 2010 10:15:19 +0800 User-Agent: KMail/1.9.10 References: <20100122111219.A31898@starfire.mn.org> In-Reply-To: <20100122111219.A31898@starfire.mn.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001231015.22934.oceanare@pacific.net.sg> Cc: John Subject: Re: Migration planning - old system to new X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 02:15:32 -0000 Hi, On 23 January 2010 am 01:12:19 John wrote: > Now that I've actually gotten the new system to boot, I need to > figure out how I'm going to migrate everything - users, data, > MySQL, NAT, firewall, apache, DHCP, gateway services BIND, > Sendmail, etc., etc from > FreeBSD 4.3-RELEASE #0: Thu Jan 22 19:44:16 CST 2004 > to > FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 this is real jump. > > Bit of a challenge, eh? I have heard that somebody actually landed on the moon? Was it you? > > Not only that, but I'd like to update my UID scheme from a > pre-standard version (most of the UIDs are down in the 100s) to > the new convention so that I'm more in-line with the rest of > the world. Ok, I cannot imagine how you will do this with the access rights of the files? > > My rough idea: > > 1) Create a "migrate" account in Wheel with home as > /var/migrate so that I can do a dump/restore on "home" without > messing things up Are you sure? Use /usr to make sure you will have enough space. > 2) Start putting together all the pieces - trying to find > update / conversion scripts whenever possible. I think, this would only help if you would go the long way 5.x, 6.x, 7x and finally 8. Setup the new machine, install the applications you need, configure them as close as possible to the original configuration and see what happens. > 4) Let people move in, try it out, see how things are > 5) Fix everything found in #4 > 6) Try a cut-over and make sure all the network services work > in the middle of the night sometime, then switch back Oh, it is a life system in use while you migrate. Are you able to set the new thing up in parallel? It might be easier for you to run both machines and move first the simple things over. > 7) Nuke /home and /var/mail and migrate them again to get the > latest version 8) Do the real switch > 9) spend a couple of weeks fixing all the things that weren't > so disastrous that they got picked up in #4. I think, if you do it service by service, you have a better chance to avoid this. > > Ideas / scripts / project plans / outlines - whatever? Maybe I > should write a chapter for The Complete FreeBSD after surviving > this... Yes. It is a Le Must. Erich From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 02:34:49 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 8ABCA106568B for ; Sat, 23 Jan 2010 02:34:49 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pz0-f183.google.com (mail-pz0-f183.google.com [209.85.222.183]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE8E8FC1D for ; Sat, 23 Jan 2010 02:34:48 +0000 (UTC) Received: by pzk13 with SMTP id 13so569583pzk.29 for ; Fri, 22 Jan 2010 18:34: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; bh=iQhahdLWL1pTG/BtRPn7p/bXixW9XIMg1d+cSmxfxn8=; b=oDtSlBP5zz3AfCnm/ht8VFm4SXuo1C1ybuy2EcL8tzBjHf+8IRgh1DEFG+nHA9524R ztTvkbUsgyGTXOFMId4wdg/9RbAa+nI+8AtI6+Ta8qF4MJM3ZWp2DlZ6kofjdbtRC5NQ 6NKPedWAIectxlHFLYUzGIRFLWhceEU9SnVhc= 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=uy47Zurznw3b32vh7FPZmwihHEmBz6mm1iOq3MzvtMZkIQDxPWm79vype0W3BtpZSz 4UXZMUvBzI0JR0OzRe1dFZVHFQltPN6U7dgzTi1uzPKz8KoPPlpIAbO6k5ZK5W1i0Qc7 eEzYkduHwq1yhEYmIv8Ztp4hYDgEe+QX/38LU= MIME-Version: 1.0 Received: by 10.115.27.14 with SMTP id e14mr2526239waj.116.1264214088272; Fri, 22 Jan 2010 18:34:48 -0800 (PST) In-Reply-To: <20100122110102.A31702@starfire.mn.org> References: <20100121014759.B3377@starfire.mn.org> <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> <20100122063614.A27734@starfire.mn.org> <20100122072756.A28958@starfire.mn.org> <20100122080950.B28958@starfire.mn.org> <20100122110102.A31702@starfire.mn.org> Date: Fri, 22 Jan 2010 19:34:48 -0700 Message-ID: From: Tim Judd To: John Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions , Fbsd1 Subject: Re: "Invalid partition table" after installation (GOOD NEWS!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 02:34:49 -0000 > OK - my current best theory is that if the Standard boot manager > is faced with anything other than exactly 1 bootable slice (partition > to it), it defaults to "Invalid partition table." I'll bet anyone > lunch that this is true. Any takers? I've read before: the standard bootloader looks for the first freebsd slice, and runs it. If there's no bsdlabel partition 'a' then it will have trouble booting. I haven't followed this thread in detail. I briefly saw you had 3 slices defined, is by chance the first slice a system disk? > I'll test my theory tonight and let you all know how it turns out. > If this is true, then we should at least post some warnings, if not > actually fix the installation process so that if you choose "Standard," > it helps ensure that you have one and only one bootable slice/partition! > > Whaddaya think? > > Well, better it happen to me than someone from another community who is > trying us out for the first time... > -- > > John Lind > john@starfire.MN.ORG > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 02:58:21 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 E32381065672 for ; Sat, 23 Jan 2010 02:58:21 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id C75A78FC1E for ; Sat, 23 Jan 2010 02:58:21 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 18:58:18 -0800 Message-ID: <4B5A65C5.1070008@a1poweruser.com> Date: Sat, 23 Jan 2010 10:58:13 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: John References: <4B58127E.9000106@a1poweruser.com> <20100121065206.B8574@starfire.mn.org> <4B5863D6.2000800@a1poweruser.com> <20100121180336.B17543@starfire.mn.org> <4B59973B.8040203@a1poweruser.com> <20100122063614.A27734@starfire.mn.org> <20100122072756.A28958@starfire.mn.org> <20100122080950.B28958@starfire.mn.org> <20100122110102.A31702@starfire.mn.org> <20100122163521.A37927@starfire.mn.org> <20100122200502.A40432@starfire.mn.org> In-Reply-To: <20100122200502.A40432@starfire.mn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jan 2010 02:58:19.0041 (UTC) FILETIME=[EAA49910:01CA9BD7] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions Subject: Re: "Invalid partition table" after installation (GOOD NEWS!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 02:58:22 -0000 John wrote: > On Fri, Jan 22, 2010 at 04:35:21PM -0600, John wrote: >> On Fri, Jan 22, 2010 at 11:01:02AM -0600, John wrote: >>> On Fri, Jan 22, 2010 at 08:09:50AM -0600, John wrote: >>>> On Fri, Jan 22, 2010 at 07:27:56AM -0600, John wrote: >>>>> On Fri, Jan 22, 2010 at 06:36:14AM -0600, John wrote: >>>>>> On Fri, Jan 22, 2010 at 08:16:59PM +0800, Fbsd1 wrote: >>>>>>> John wrote: >>>>>>>> On Thu, Jan 21, 2010 at 10:25:26PM +0800, Fbsd1 wrote: >>>>>>>>> John wrote: >>>>>>>>>> On Thu, Jan 21, 2010 at 04:38:22PM +0800, Fbsd1 wrote: >>>>>>>>>>> John wrote: >>>>>>>>>>>> I've tried the "modern BIOS" geometry and the "255 head" geometry. >>>>>>>>>>>> I've ensured that the first slice (boot slice) is smaller than 1.5 >>>>>>>>>>>> Gb. I've tried to figure out what the BIOS thinks the geometry >>>>>>>>>>>> is, but it doesn't seem to want to tell me. At least, I can't find >>>>>>>>>>>> it in the BIOS menu anywhere. When I boot from the CD-ROM with >>>>>>>>>>>> the 255 head geometry, though, it complains about the disk geometry, >>>>>>>>>>>> saying 16h,63s != 255h,63s or something like that - it flies by >>>>>>>>>>>> pretty fast (is there a way to go back and see that from the CD-ROM >>>>>>>>>>>> "boot only" boot?). >>>>>>>>>>>> >>>>>>>>>>>> I'm using the "Standard" boot manager, and the entire disk is devoted >>>>>>>>>>>> to FreeBSD. >>>>>>>>>>>> >>>>>>>>>>>> System >>>>>>>>>>>> BIOS version PT84510A.86A.2004.P05 >>>>>>>>>>>> Processor Type: Intel Pentium 4 >>>>>>>>>>>> Processor speed: 2.20Ghz >>>>>>>>>>>> >>>>>>>>>>>> Memory: 512Mb >>>>>>>>>>>> >>>>>>>>>>>> Disk: Primary IDE Master ST380021A (Seagate Barracuda ATA IV 80Gb) >>>>>>>>>>>> Primary IDE Slave: IOMega ZIP 250 >>>>>>>>>>>> Secondary IDE Master: Sony CD-RW CRX19 (what I boot from to install) >>>>>>>>>>>> Secondary IDE Slave: DVD-ROM DDU1621 >>>>>>>>>>>> >>>>>>>>>>>> Boot sequence: >>>>>>>>>>>> 1) ATAPI CD-ROM >>>>>>>>>>>> 2) Hard Drive >>>>>>>>>>>> 3) "Removable Dev." >>>>>>>>>>>> >>>>>>>>>>>> "Modern BIOS" geometry: 155061/16/63 for ad0 >>>>>>>>>>>> "calculated" geometry: 9729/255/63 for ad0 >>>>>>>>>>>> >>>>>>>>>>>> ad0s1 start=63, size=2875572 >>>>>>>>>>>> ad0s2 start=2875635, size=10217340 >>>>>>>>>>>> ad0s3 start=13092975, size=143203410 >>>>>>>>>>>> unus start=156296384, size=5103 >>>>>>>>>>>> >>>>>>>>>>>> ad0s1a / 384Mb >>>>>>>>>>>> ad0s1d /usr 1Gb >>>>>>>>>>>> ad0s2b SWAP 1Gb >>>>>>>>>>>> ad0s2d /tmp 384Mb >>>>>>>>>>>> ad0s2e /var 512Mb >>>>>>>>>>>> ad0s2f /var/mail 2Gb >>>>>>>>>>>> ad0s2g /usr/ports 1Gb >>>>>>>>>>>> ad0s3d /home/mysql 4Gb >>>>>>>>>>>> ad0s3e /home 50Gb >>>>>>>>>>>> ad0s3f /usr/src 3Gb >>>>>>>>>>>> ad0s3g /usr/obj 3Gb >>>>>>>>>>>> ad0s3h /extra 8483Mb >>>>>>>>>>>> >>>>>>>>>>>> Suggestions, please? I'm making zero headway right now. :( >>>>>>>>>>> What version of FreeBSD are you running???? >>>>>>>>>> Well, yes, I suppose that would be a good bit of information! >>>>>>>>>> >>>>>>>>>> What I'm *TRYING* to run is 8.0. It seems to install successfully >>>>>>>>>> (of course - after doing all that), but then when I try to boot >>>>>>>>>> from the hard drive, I see an otherwise-blank screen that says: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Invalid partition table >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> and that's as far as it goes! >>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> 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" >>>>>>>>> There are reports of this sort of thing caused by 8.0 fdisk when doing a >>>>>>>>> install from scratch over a hard drive that all ready has an older >>>>>>>>> version of Freebsd installed on it. >>>>>>>>> >>>>>>>>> The solution is to force the scratching of the MBR on the disk first >>>>>>>>> before running sysinstall fdisk. >>>>>>>>> >>>>>>>>> Boot a LiveFS CD, then at a root prompt do: >>>>>>>>> >>>>>>>>> sysctl kern.geom.debugflags=16 and: >>>>>>>>> >>>>>>>>> dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 >>>>>>>>> >>>>>>>>> where x equals your drive number. >>>>>>>> OK. I did exactly that. I confirmed that the second 512 bytes were zero >>>>>>>> by doing a dd if/dev/ad0 bs=512 count=2 | od -c >>>>>>>> and everything from 001000 through 002000 was zero. >>>>>>>> >>>>>>>> But I still got "Invalid partition table" after the installation. >>>>>>>> >>>>>>>> I guess I should set up one of my other systems as a local mirror. >>>>>>>> I've done the installation so many time already, and it looks like >>>>>>>> I'm not done yet! >>>>>>> On the 8.0 fdisk/MBR subject. >>>>>>> Doing dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1 was the >>>>>>> solution from another post to the list with subject 'SunFire X2100 >>>>>>> fails'. Here is another post that gives more details >>>>>>> http://www.freebsd.org/cgi/getmsg.cgi?fetch=322687+326879+/usr/local/ >>>>>>> www/db/text/2009/freebsd-questions/20091227.freebsd-questions >>>>>>> >>>>>>> It seems in 8.0 gpart was introduced and a change was made to fdisk to >>>>>>> support its sector o mbr format. 8.0 fdisk and disklabel are now broken. >>>>>>> >>>>>>> Searching the list archives may shed more light on your problem. >>>>>> Hmmm. This seems to describe a case where fdisk fails to change >>>>>> the slice table. That is definitely not my case. The changes >>>>>> certainly get made. The next time I go to retry the installation, >>>>>> it has the information I gave it the previous time. I suppose it is >>>>>> possible that it is putting it (and reading it) in the wrong location, >>>>>> which is why the MBR throws up. >>>>>> >>>>>> The problem is that I have a finite (and smallish) amount of time >>>>>> in which to solve this. It seems like the most expedient route >>>>>> forward at this point may be to try to install 7.2 and see how >>>>>> that goes. >>>>> OK - well, I just tried with 7.2. I got exactly the same results. >>>>> After what seems like a successful installation, I try to boot from >>>>> the hard disk and get "Invalid partition table." Should I try Boot >>>>> Manager? Could that make a difference? Is it possible that this >>>>> combination of BIOS, processor, disk drive, etc., just isn't going >>>>> to to do for me? I can't just keep throwing hours at this problem. >>>>> -- >>>>> >>>> OK! Well! Good news! After a sort. >>>> >>>> I switched to BootMgr, and it came right up with 8.0! >>>> >>>> Slight downside - extra prompt during boot, and of course, it >>>> offers me all three slices, when I only need to boot from >>>> one. >>>> >>>> Is that's what's wrong with "Standard" MBR? Are all three FSD >>>> partitions (type 165) marked bootable and that's upsetting it? >>>> Can I change it so only one of them is marked bootable? >>>> >>>> Anyway, it appears that there is a problem with the "Standard" MBR >>>> boot. I don't think I was doing anything that unnatural - I wanted >>>> quite a few file systems, so I used multiple slices, both to keep >>>> the boot slice below 1.5Gb and to be able to support all the file >>>> systems I wanted, and maybe that's what upset it. I don't know. >>>> All I know is that Standard MBR didn't work, and BootMgr does. >>>> >>>> I'm willing to spend SOME time trying to debug / fix this for the >>>> good of the community and the next poor sucker who comes along >>>> behind me, but I need to move somewhat quickly. I actually plan >>>> to use this machine! >>> OK - my current best theory is that if the Standard boot manager >>> is faced with anything other than exactly 1 bootable slice (partition >>> to it), it defaults to "Invalid partition table." I'll bet anyone >>> lunch that this is true. Any takers? >>> >>> I'll test my theory tonight and let you all know how it turns out. >>> If this is true, then we should at least post some warnings, if not >>> actually fix the installation process so that if you choose "Standard," >>> it helps ensure that you have one and only one bootable slice/partition! >>> >>> Whaddaya think? >>> >>> Well, better it happen to me than someone from another community who is >>> trying us out for the first time... >> OK, so here's the update so far. It was, indeed, the case that >> all three slices (partitions) were marked as active (bootable), to wit: >> The data for partition 1 is: >> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) >> start 63, size 2883825 (1408 Meg), flag 80 (active) >> beg: cyl 0/ head 1/ sector 1; >> end: cyl 1023/ head 15/ sector 63 >> The data for partition 2 is: >> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) >> start 2883888, size 10224144 (4992 Meg), flag 80 (active) >> beg: cyl 1023/ head 255/ sector 63; >> end: cyl 1023/ head 15/ sector 63 >> The data for partition 3 is: >> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) >> start 13108032, size 143193456 (69918 Meg), flag 80 (active) >> beg: cyl 1023/ head 255/ sector 63; >> end: cyl 1023/ head 15/ sector 63 >> The data for partition 4 is: >> >> >> So - I used dd to make a copy of the MBR, and wrote a C program to >> interpret it and clear the other two flags. Once I was satisfied >> with that, I used the sysctl from earlier in the thread (which I >> assume allows me to actually change things) and dd to put the >> modifed mbr back in place on sector 0. Now fdisk reports >> The data for partition 1 is: >> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) >> start 63, size 2883825 (1408 Meg), flag 80 (active) >> beg: cyl 0/ head 1/ sector 1; >> end: cyl 1023/ head 15/ sector 63 >> The data for partition 2 is: >> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) >> start 2883888, size 10224144 (4992 Meg), flag 0 >> beg: cyl 1023/ head 255/ sector 63; >> end: cyl 1023/ head 15/ sector 63 >> The data for partition 3 is: >> sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) >> start 13108032, size 143193456 (69918 Meg), flag 0 >> beg: cyl 1023/ head 255/ sector 63; >> end: cyl 1023/ head 15/ sector 63 >> The data for partition 4 is: >> >> >> So - there's only ONE active partition, but it still has bootmgr. >> >> I have used dd and cat to manufacture a new boot record from >> /boot/mbr and the parition (slide) table I've modified, >> and I'm tempted to put THAT in place over this one, but I'm >> afraid of what that might mean - are there other changes >> to the structure of the disk that I need to make to switch from >> BootMgr to the "Standard" MBR? Even if my synthesized MBR >> is correct, is it going to run into trouble at the next step? >> Does it need a different "level 1" boot code? Or should I just >> use "fdisk -b /boot/mbr" rather than my synthesized mbr? >> Will that take care of all the linkages (if any)? >> >> I still think that the ultimate solution is to CHANGE THE >> INSTALLATION PROCESS so that there is ONE and ONLY ONE >> active partition when the "Standard" mbr is used. Well, I'll >> make that an even more general statement - let's change the >> installation process so that ONLY THE FREEBSD PARTITION(s) >> CONTAINING /boot GET THE ACTIVE FLAG SET. There's nothing >> to boot otherwise, anyway, right? >> >> I'm not 100% sure how best to do this, but I have some ideas. I >> think it starts with having fdisk leave the flag off by default, >> and only turn it on for slices where it has loaded boot code, but >> maybe it's not that simple. >> >> My concern is that it sounds like someone is already working on >> fdisk / diskpart with an eye to replacing it, so maybe I'm >> working on a "zombie" problem that's already "walking dead." >> I have no interest in putting time and effort into that in >> such a case, but I'm very willing to help in this area if it >> will have some value. >> >> Open to suggestions here, folks - what do you say? > > Having not heard anything, I proceeded first with my BootMgr modifed > partition table which had only the first partition marked active. > > It worked. > > So - then - since I had nothing invested in the system other than > an installation (one of many), so I decided to try my synthesized > "Standard" boot record (now with just one active slice/partition). > > It worked! > > No more "Invalid partition table". > > So - I believe that my theory is correct. > > 1) The FreeBSD-supplied "Standard" boot manager will report > "Invalid partition table" and stop if there is not exactly > 1 slice/partition marked "Active" (bootable). > 2) The 7.2 and 8.0 installation processes (sysinstall fdisk) > will mark all FreeBSD slices/partitions as "Active" (bootable), > rendering the system unbootable with the "Standard" boot manager > if there is more than one FreeBSD slice / partition. > > I have also discovered that BootMgr will boot a partition whether or not > it is marked as active, so it wouldn't be necessary to mark ANY > of them active for BootMgr's sake. It may even be that BootMgr uses > that flag to indicate the last one booted, but that's only supposition > on my part. > > I believe that there is room for improvement here. What you have described it how things are designed to work. Your problem is the way you configured your slices. I think your understanding of freebsd slices/partitions verses msdos partitions is where the problem is. Your stated you have this configuration ad0s1a / 384Mb ad0s1d /usr 1Gb ad0s2b SWAP 1Gb ad0s2d /tmp 384Mb ad0s2e /var 512Mb ad0s2f /var/mail 2Gb ad0s2g /usr/ports 1Gb ad0s3d /home/mysql 4Gb ad0s3e /home 50Gb ad0s3f /usr/src 3Gb ad0s3g /usr/obj 3Gb ad0s3h /extra 8483Mb This is not how Freebsd is designed to work. This is incorrect architecture. The disklabel pgm of sysinstall is used to allocate file systems within the slice. The correct layout to achieve your desired structure. ad0s1a / 384Mb ad0s1b SWAP 1Gb ad0s1d /var 512Mb ad0s1e /tmp 384Mb ad0s1f /usr 1Gb ad0s1g /mail 2Gb ad0s1h /ports 1Gb ad0s1i /mysql 4Gb ad0s1j /home 50Gb ad0s1k /src 3Gb ad0s1l /obj 3Gb ad0s1m /extra 8483Mb The problem with this layout is all the sub-directories under /user are coded in the make port compile process and in sendmail, and mysql. You are creating a can of worms changing the default directory tree layout. What goal are you trying to achieve by doing this? If you continue with port install you will see what i mean? From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 03:11: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 2AFB01065670 for ; Sat, 23 Jan 2010 03:11:32 +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 D9A898FC13 for ; Sat, 23 Jan 2010 03:11:31 +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 o0N3BN5Z069913; Fri, 22 Jan 2010 19:11:24 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 22 Jan 2010 19:11:24 -0800 (PST) Date: Fri, 22 Jan 2010 19:11:23 -0800 From: Gary Kline To: Polytropon Message-ID: <20100123031123.GA26910@thought.org> References: <20100121210658.GA10757@thought.org> <20100121221929.6ceaba00.freebsd@edvax.de> <20100122001430.GC10775@thought.org> <20100122021557.f52bc107.freebsd@edvax.de> <20100122033309.GF10775@thought.org> <20100123000539.821635f9.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100123000539.821635f9.freebsd@edvax.de> 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=-0.1 required=3.6 tests=ALL_TRUSTED,BAYES_00, FH_DATE_PAST_20XX,URIBL_RHS_DOB autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ethic.thought.org Cc: FreeBSD Mailing List Subject: Re: need help with the last-two-ports! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 03:11:32 -0000 On Sat, Jan 23, 2010 at 12:05:39AM +0100, Polytropon wrote: > On Thu, 21 Jan 2010 19:33:09 -0800, Gary Kline wrote: > > surprised how many things depend on that nspr... wow. > > It seems to be because many other things depend on Netscape > (or the corresponding HTML renderer or who knows what); from > the port's description: > > Netscape Portable Runtime (NSPR) provides a > platform-neutral API for system level and > libc like functions. The API is used in the > Mozilla client, many of Netscape/AOL/iPlanet's > and other software offerings. > > So why port software complicatedly to FreeBSD when all > the OS-specific stuff can be abstracted by another port? :-) > It wasn't until I checked into the tests that I started to get a clue; and since i never checked into the code, I can't say that much. But if these functions were to be a kind of libc that compiled and ran Everywhere, these guys deserve five gold stars. > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- 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 Sat Jan 23 03:35: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 E81E2106566C for ; Sat, 23 Jan 2010 03:35:01 +0000 (UTC) (envelope-from JPG@mythic-beasts.com) Received: from haggis.mythic-beasts.com (haggis.mythic-beasts.com [93.93.131.52]) by mx1.freebsd.org (Postfix) with ESMTP id A63C28FC13 for ; Sat, 23 Jan 2010 03:35:01 +0000 (UTC) Received: from [93.93.130.49] (helo=sphinx.mythic-beasts.com) by haggis.mythic-beasts.com with esmtp (Exim 4.69) (envelope-from ) id 1NYVxj-0007xZ-2m for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 02:42:59 +0000 Received: from host86-183-92-168.range86-183.btcentralplus.com ([86.183.92.168] helo=freebsd.home) by sphinx.mythic-beasts.com with esmtpa (Exim 4.62) (envelope-from ) id 1NYVxi-0004VZ-EZ for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 02:42:58 +0000 Date: Sat, 23 Jan 2010 02:42:47 +0000 (GMT) From: Jamie Griffin X-X-Sender: jg@freebsd.home.network To: Freebsd Questions Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Mythic-Sender-Verify: + host 93.93.131.52 accepted RCPT TO with '250 Accepted' X-Spam-Status: No, score=-1.4 X-BlackCat-Spam-Score: -13 Received-SPF: none (sphinx.mythic-beasts.com: domain of JPG@mythic-beasts.com does not designate permitted sender hosts) client-ip=86.183.92.168 envelope-from=JPG@mythic-beasts.com helo=freebsd.home Subject: libpthread.so.0 not found ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 03:35:02 -0000 Hi I'm using 8.0-p2 with the linux f10 flashplugin used with firefox 35. I did a fresh install a few days ago. So far, ive not noticed any problems when viewing flash sites, the only thing Im unsure about is the following error message i get in my ~/.xsession-errors file (or on the console when not in x): LoadPlugin: failed to initialize shared library /usr/local/lib/npapilinux-f10-flashplugin/libflashplayer.so [Shared object "libpthread.so.0" not found, required by "libflashplayer.so"] This library is on my system, in /usr/compat/linux/lib/libpthread.so.0. Its simlinked to libpthread-2.9.so. So, I wondered, as this library is on my system what could the cause of the error, and how can I fix it? Jamie From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 03:57: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 5B14E106566B for ; Sat, 23 Jan 2010 03:57:38 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ew0-f223.google.com (mail-ew0-f223.google.com [209.85.219.223]) by mx1.freebsd.org (Postfix) with ESMTP id E818E8FC12 for ; Sat, 23 Jan 2010 03:57:37 +0000 (UTC) Received: by ewy23 with SMTP id 23so2170267ewy.4 for ; Fri, 22 Jan 2010 19:57: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=PBkfHWr45QblBRduYFFJrfE/IOqja7DWtqeONovQRgg=; b=v3b4An3st3/+BcZyXUsbENI3GSnBdqhI5QmiXqt6KTpWnoaiqQXUelvk/26mir8rhW ECMRfsLEX7jSUaA4810DVJicCFLSBiFXwayCNJHVMRj4UnOnaAuNhRWlsA7rYVAZPOg6 qwz5JkYw/+SJRMWavNBfEaPsMdqdKb5F4xP8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=flS/cnr9wUF2GW9iAUyZTR///uALSDZJELPHmD5lEfbTSnR77VhxDEMvqc/alEp5b1 b78IlYZNvCVP4tLp/+qlKwKRxM2oHRDoI7fPEavPRQvT7ZRLsAp3FyJB/Y77wovTr8Va FPt8U7VWpIQsZ02ohbevJK98ql7DVM3jrZqSI= MIME-Version: 1.0 Received: by 10.216.89.206 with SMTP id c56mr1463508wef.123.1264219056771; Fri, 22 Jan 2010 19:57:36 -0800 (PST) Date: Fri, 22 Jan 2010 22:57:36 -0500 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: make delete-old && make delete-old-libs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 03:57:38 -0000 Matthew Seaman wrote: >mikel king wrote: >> I had a system that was royally borked after upgrading and completing >> these steps a few years ago. Ever since I have always skipped these >> steps. Has anyone else experienced any issues with these two steps? > What do you mean by "borked"? If you mean that you had to temporarily take it out of service while you rebuilt ports and other software, and adjusted configuration files, well, that is probably to be expected during a major upgrade. >make delete-old-libs can cause you much wailing and gnashing of teeth >if you do it too soon, but usually only when you're doing a major version >upgrade. In those circumstances, unless you're careful, all or large >parts of your software installed from ports will cease to work. Delete >the old libraries only once you've finished reinstalling all of your ported software. Major >version upgrades are one of the few times when there will >be old shlibs to consider deleting, so this is a rare event. On the whole, I think it is better to remove all of the old files, libraries, and ports first, and only then rebuild in a clean sandbox, rather than run the risk of including an old header or linking to an old base system library that will soon be discarded. In any event, if you must keep old ports around, at least temporarily, in most cases you can still use them if you have the appropriate COMPAT_FREEBSD? options in your kernel, and the corresponding misc/compat?x ports installed. And for other cases you can use libmap.conf(5). So you may as well run make delete-old-libs before rebuilding ports. > >make delete-old can theoretically cause you grief if you overwrite bits >of the base system from ports and set corresponding WITHOUT_FOO flags in >/etc/src.conf. On the whole, having ports overwrite base is something to >be avoided unless you have very good reason to do it. > Indeed. >Whether this will sting you or not is an interesting question: it depends >on developers adding files and directories to the list of old items >conditionally on defining WITHOUT_FOO type flags in /etc/src.conf. While >this has the intuitively attractive behaviour that doing a buildworld cycle removes the >unwanted programs or libraries, unfortunately it doesn't stop >there. It will remove your carefully installed ported software the following >time you do a buildworld cycle. For this reason, settings in src.conf >do not generally affect the list of old files and directories nowadays. This is wrong: they often do. To see if the files you have may be affected by options in src.conf, look at /usr/src/tools/build/mk/OptionalObsoleteFiles.inc, or run 'make check-old'. And if you are using -CURRENT, be aware that this file is now being updated. In any event, make-delete-old-[libs] is interactive, if you have not defined BATCH_DELETE_OLD_FILES, and you can choose to prevent some files from being removed on the command-line. And of course, you are not obliged to run these targets, but you are probably better off doing so, or cleaning your base system by other means, to avoid pollution. If you've files or links in directories normally reserved for the base system that you want to preserve, you could just write a script to use find(1) to look for files, directories, or links that are older than your freshly-installed files in these directories, ignore those you want to keep, and delete the rest. Some parts of the base system, particularly some header files, are installed with old timestamps, but you can just run make installworld again after running your script, and your base system will be then be clean and up-to-date. b. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 04:31: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 3AF77106566B for ; Sat, 23 Jan 2010 04:31:39 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 0EF748FC08 for ; Sat, 23 Jan 2010 04:31:38 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0N4VOOh084975 for ; Fri, 22 Jan 2010 22:31:24 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001230431.o0N4VOOh084975@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <84972.1264221084.1@dc.cis.okstate.edu> Date: Fri, 22 Jan 2010 22:31:24 -0600 From: Martin McCormick Subject: Re: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 04:31:39 -0000 Polytropon writes: > What about using $TERM = xterm or cons25 (or cons25l1)? Thank you! I tried cons25 first and it worked very well. Since I am still actually receiving via the linux terminal definition, I was surprised it worked as well as it does. The cons25 must use many of the same escape sequences that vt100 style terminals do. The arrows appeared to work and the screen seemed to be formatted well enough. I left $TERM set to cons25 and tried vi on a file. It started out okay but some of the escape sequences are not compatible as things soon got messy. Even so, it is nice to know that sysinstall can be remotely run without too much strangeness. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 04:35: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 DF2E4106566B for ; Sat, 23 Jan 2010 04:35:02 +0000 (UTC) (envelope-from insecurity@malandrines.net) Received: from webmail-srv2.servage.net (webmail-srv2.servage.net [77.232.66.250]) by mx1.freebsd.org (Postfix) with ESMTP id A19D58FC12 for ; Sat, 23 Jan 2010 04:35:02 +0000 (UTC) Received: by webmail-srv2.servage.net (Postfix, from userid 65534) id 6125CF781EB; Sat, 23 Jan 2010 04:21:20 +0000 (UTC) Received: from customer-CLN-209-248.megared.net.mx (customer-CLN-209-248.megared.net.mx [201.164.209.248]) by webmail-srv2.servage.net (Horde Framework) with HTTP; Sat, 23 Jan 2010 04:21:20 +0000 Message-ID: <20100123042120.89902oyvgkbxvxog@webmail-srv2.servage.net> Date: Sat, 23 Jan 2010 04:21:20 +0000 From: insecurity@malandrines.net To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.5) X-Horde-Sender: insecurity@malandrines.net X-Mailman-Approved-At: Sat, 23 Jan 2010 04:54:49 +0000 Subject: Unable to find device node for /dev/ad0s1b in /dev! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 04:35:02 -0000 Unable to find device node for /dev/ad0s1b in /dev! help me please From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 05:12: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 02C16106566B for ; Sat, 23 Jan 2010 05:12:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 21FF28FC08 for ; Sat, 23 Jan 2010 05:12:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o0N5CdcQ087675; Sat, 23 Jan 2010 16:12:40 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 23 Jan 2010 16:12:39 +1100 (EST) From: Ian Smith To: Christoph Kukulies In-Reply-To: <20100122235448.A229410656EE@hub.freebsd.org> Message-ID: <20100123150802.F14027@sola.nimnet.asn.au> References: <20100122235448.A229410656EE@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 05:12:44 -0000 In freebsd-questions Digest, Vol 294, Issue 12, Message 1 On Fri, 22 Jan 2010 18:59:00 +0100 Christoph Kukulies wrote: > Here is some more info: > > The file I copied to the USB stick was > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.0/8.0-RELEASE-i386-memstick.img > > Actually, I don't remember how I got the image to the USB stick. I > believe I used a free tool from HP > from within Windows XP. This is likely your problem. As on the release page referring to this image (but substituting i386 for amd64) it should have been made using: # dd if=8.0-RELEASE-i386-memstick.img of=/dev/da0 bs=10240 conv=sync This works; I've no idea what a HP windows tool might do instead, though your fdisk below may offer clues; certainly the cylinders/heads/sectors arrangement seems wrong for a disk made from this image by dd as above. > kernel messages at the time usb stick is inserted: > ugen4.3: at usbus4 > umass0: on usbus4 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:1:0:-1: Attached to scbus1 > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 > (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have > changed > (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 1921MB (3935000 512 byte sectors: 255H 63S/T 244C) > GEOM: da0: media size does not match label. While mine is only a 1GB stick, it shows an entirely different geometry, with 1MB per cylinder. da0: 967MB (1981440 512 byte sectors: 64H 32S/T 967C) > # fdisk /dev/da0 > ******* Working on device /dev/da0 ******* > parameters extracted from in-core disklabel are: > cylinders=244 heads=255 sectors/track=63 (16065 blks/cyl) Here instead fdisk /dev/da0 sees: cylinders=967 heads=64 sectors/track=32 (2048 blks/cyl) > # fdisk /dev/da0 > ******* Working on device /dev/da0 ******* > parameters extracted from in-core disklabel are: > cylinders=244 heads=255 sectors/track=63 (16065 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=244 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: > > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 0, size 50000 (24 Meg), flag 80 (active) > beg: cyl 0/ head 0/ sector 1; > end: cyl 1023/ head 254/ sector 63 The reason fdisk (bogusly) shows this as slice 4 is that this image is so-called 'dangerously dedicated' to FreeBSD, ie it is an unsliced disk, and needs to be mounted as /dev/da0a (not da0s1a or da0s4a). It contains a bsdlabel allocating 16 sectors for boot code (/boot/boot1 and /boot/boot2) with partition 'a' beginning at offset 16 (8KB). It boots just fine (though slowly as a 4x CDROM :) on my 2002 IBM Thinkpad T23 with only USB 1.0, after having promoted it in the BIOS boot order. I suggest remaking the image using dd exactly as above and trying that. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 05:25:27 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 159CF1065694 for ; Sat, 23 Jan 2010 05:25:27 +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 A34B88FC18 for ; Sat, 23 Jan 2010 05:25:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o0N5PPpp015828; Fri, 22 Jan 2010 23:25:25 -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 AM7OtmTjxpFO; Fri, 22 Jan 2010 23:25:23 -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 o0N5PLTs015824; Fri, 22 Jan 2010 23:25:23 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <4B5A8841.7000906@daleco.biz> Date: Fri, 22 Jan 2010 23:25:21 -0600 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.23 (X11/20090929) MIME-Version: 1.0 To: insecurity@malandrines.net References: <20100123042120.89902oyvgkbxvxog@webmail-srv2.servage.net> In-Reply-To: <20100123042120.89902oyvgkbxvxog@webmail-srv2.servage.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Unable to find device node for /dev/ad0s1b in /dev! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 05:25:27 -0000 insecurity@malandrines.net wrote: > Unable to find device node for /dev/ad0s1b in /dev! > > help me please $ grep ad /var/run/dmesg.boot Is /dev/ad0 there? /dev/ad0s1b ? Do you have SCSI disks instead? A RAID? Kevin Kinsey From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 06:33: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 7E1DA1065670 for ; Sat, 23 Jan 2010 06:33:48 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-01.bluehost.com (outbound-mail-01.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 4D7168FC2B for ; Sat, 23 Jan 2010 06:33:48 +0000 (UTC) Received: (qmail 5578 invoked by uid 0); 23 Jan 2010 06:33:47 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by outboundproxy4.bluehost.com with SMTP; 23 Jan 2010 06:33:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=CAb+oHhPGvEflBcqO4FaHs6KsR0FzxqXgKTfHtSDlcV2ZvDz7Cq+FA9k0KK5SKjaehnCligaSKV6A6AUyS8s59K1vI+2YJVwm0MwVqfm7iM0UbFqRAuAl8BQM13yhzeP; Received: from [206.74.86.236] (helo=[192.168.1.51]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NYZZ5-0004WC-C4 for freebsd-questions@freebsd.org; Fri, 22 Jan 2010 23:33:47 -0700 Message-ID: <4B5A9845.1000506@joseph-a-nagy-jr.us> Date: Sat, 23 Jan 2010 00:33:41 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: FreeBSD Questions References: <4B42EA80.70005@joseph-a-nagy-jr.us> In-Reply-To: <4B42EA80.70005@joseph-a-nagy-jr.us> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0FDFA469D0A57BA806664B3F" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: Re: Failed to Load Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 06:33:48 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0FDFA469D0A57BA806664B3F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The issue was in my BIOS, of all places. I was going to see if I could do install from a Gentoo LiveCD from April 2k8, and it kept on hanging near the beginning and lighting up all the lights on my keyboard (caps, num and scroll lock). So I went into the BIOS, loaded optimized defaults, changed a few things I really needed (usb keyboard on startup, for one) and viola! I was able to install. Now I'm getting the same irksome message as the other gentleman about an invalid partition. Going to delete all the partitions I created, recreate and install bootmgr instead of just a normal MBR. Thanks for all the help. (: --=20 PIT Emails are not formal business letters, whatever businesses may want. --------------enig0FDFA469D0A57BA806664B3F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLWphMAAoJEENZQ8DH7rW0IjkH/1wYs1It/cKp5+chj7RSpfRx yaLCeNHAdC/r1N+GSK5Psunvpf10Eo1weO0I88ipkCWJkgRIIzZzOzFGb+4h/z/N ZSIgzvrhXVGU2idzeUoYtAUz8tKxUDYUgielk8+pZY8NSNfZCi86EmTIibMoGszF ve8lQygPvnCQwvC4/gw4Nj5vCJB0H5UIkaLvHGaC1BW6sVzGmMEHjej8miiw2ww4 DZ80O8zZRN7PoDkZzrFEkZm6uFHyLrPhi0+6obJqje2EJXr2aiQv6QeM+gJFnxOH fwVFS2hpD0EeAA301NBRqRg8LYSbRD8GaxvpNrX2/yqRTWIKDX3RurQ544uV07w= =tGjt -----END PGP SIGNATURE----- --------------enig0FDFA469D0A57BA806664B3F-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 06:34: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 55DCF10656B3; Sat, 23 Jan 2010 06:34:13 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 851938FC32; Sat, 23 Jan 2010 06:34:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o0N6YAso091487; Sat, 23 Jan 2010 17:34:11 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 23 Jan 2010 17:34:10 +1100 (EST) From: Ian Smith To: John In-Reply-To: <20100122235448.A229410656EE@hub.freebsd.org> Message-ID: <20100123161628.I14027@sola.nimnet.asn.au> References: <20100122235448.A229410656EE@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, Randi Harper Subject: Re: "Invalid partition table" after installation (GOOD NEWS!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 06:34:13 -0000 In freebsd-questions Digest, Vol 294, Issue 12, Message 19 On Fri, 22 Jan 2010 16:35:21 -0600 John wrote: [..] > > > OK! Well! Good news! After a sort. > > > > > > I switched to BootMgr, and it came right up with 8.0! > > > > > > Slight downside - extra prompt during boot, and of course, it > > > offers me all three slices, when I only need to boot from > > > one. See boot0cfg(8); you can specify which slice/s are offered by the boot menu, from none to four, and you can specify the delay in ticks (~1/18 second). I'm not sure if 0 is a valid delay, but 1 is not very long. > > > Is that's what's wrong with "Standard" MBR? Are all three FSD > > > partitions (type 165) marked bootable and that's upsetting it? > > > Can I change it so only one of them is marked bootable? See fdisk(8) -a switch. I expect this would clear other active flags. > > > Anyway, it appears that there is a problem with the "Standard" MBR > > > boot. I don't think I was doing anything that unnatural - I wanted > > > quite a few file systems, so I used multiple slices, both to keep > > > the boot slice below 1.5Gb and to be able to support all the file > > > systems I wanted, and maybe that's what upset it. I don't know. > > > All I know is that Standard MBR didn't work, and BootMgr does. > > > > > > I'm willing to spend SOME time trying to debug / fix this for the > > > good of the community and the next poor sucker who comes along > > > behind me, but I need to move somewhat quickly. I actually plan > > > to use this machine! > > > > OK - my current best theory is that if the Standard boot manager > > is faced with anything other than exactly 1 bootable slice (partition > > to it), it defaults to "Invalid partition table." I'll bet anyone > > lunch that this is true. Any takers? Perhaps. Certainly only one should be set active at boot time, either statically or by being chosen by a boot menu. > > I'll test my theory tonight and let you all know how it turns out. > > If this is true, then we should at least post some warnings, if not > > actually fix the installation process so that if you choose "Standard," > > it helps ensure that you have one and only one bootable slice/partition! > > > > Whaddaya think? sysinstall (fdisk) lets you toggle the active flag while slicing the disk. You're supposed to have set one (and only one) active there, and you've already chosen which slice you want to install to, though I agree that selecting Standard boot sector might check for one active slice. > > Well, better it happen to me than someone from another community who is > > trying us out for the first time... All good grist for the achives .. > OK, so here's the update so far. It was, indeed, the case that > all three slices (partitions) were marked as active (bootable), to wit: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 2883825 (1408 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 15/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 2883888, size 10224144 (4992 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 3 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 13108032, size 143193456 (69918 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 4 is: > > > So - I used dd to make a copy of the MBR, and wrote a C program to > interpret it and clear the other two flags. Once I was satisfied > with that, I used the sysctl from earlier in the thread (which I > assume allows me to actually change things) and dd to put the > modifed mbr back in place on sector 0. Now fdisk reports > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 63, size 2883825 (1408 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 15/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 2883888, size 10224144 (4992 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 3 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 13108032, size 143193456 (69918 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 15/ sector 63 > The data for partition 4 is: > > > So - there's only ONE active partition, but it still has bootmgr. Well I'm sure it was fun writing a program, but fdisk -a should do :) > I have used dd and cat to manufacture a new boot record from > /boot/mbr and the parition (slide) table I've modified, > and I'm tempted to put THAT in place over this one, but I'm > afraid of what that might mean - are there other changes > to the structure of the disk that I need to make to switch from > BootMgr to the "Standard" MBR? Even if my synthesized MBR > is correct, is it going to run into trouble at the next step? > Does it need a different "level 1" boot code? Or should I just > use "fdisk -b /boot/mbr" rather than my synthesized mbr? > Will that take care of all the linkages (if any)? fdisk -b /boot/mbr should work .. it doesn't mess with the slice table, so now you have it how you want it, that should be fine. OTOH, perhaps boot0cfg with zero slices offered would come to the same thing? boot0cfg -f will save your current boot sector, in case of accidents. > I still think that the ultimate solution is to CHANGE THE > INSTALLATION PROCESS so that there is ONE and ONLY ONE > active partition when the "Standard" mbr is used. Well, I'll > make that an even more general statement - let's change the > installation process so that ONLY THE FREEBSD PARTITION(s) > CONTAINING /boot GET THE ACTIVE FLAG SET. There's nothing > to boot otherwise, anyway, right? Yes, but consider systems having two or more versions of FreeBSD, using a boot menu to choose which to boot. I know of one running 6-STABLE, 7-STABLE, 8-STABLE and 9-CURRENT on one laptop, but I'm only running 7-STABLE and 8.0-RELEASE on mine. All contain a /boot dir of course. > I'm not 100% sure how best to do this, but I have some ideas. I > think it starts with having fdisk leave the flag off by default, > and only turn it on for slices where it has loaded boot code, but > maybe it's not that simple. Unless you choose to, fdisk (as run by sysinstall) doesn't mess with slices other than the one you're working with. Whether it should is another matter, I can't imagine all usage cases, but you'd want to run suggested changes to fdisk by the right lists (maybe -hackers and -fs?) > My concern is that it sounds like someone is already working on > fdisk / diskpart with an eye to replacing it, so maybe I'm > working on a "zombie" problem that's already "walking dead." > I have no interest in putting time and effort into that in > such a case, but I'm very willing to help in this area if it > will have some value. > > Open to suggestions here, folks - what do you say? > > John Lind > john@starfire.MN.ORG Not wishing to sound unkind, but you might explore a bit more deeply what fdisk and boot0cfg already offer. We hear something about ongoing work on sysinstall and its potential replacement, and conversion to the GEOM framework is underway, but you'd need to hunt out the right lists and be running -CURRENT to be participating in the process, I expect. cc'ing Randi Harper, who's been working on sysinstall lately (and to whom I still owe some mail about related matters) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 06:42: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 16FFF106568D for ; Sat, 23 Jan 2010 06:42:36 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id D154D8FC1A for ; Sat, 23 Jan 2010 06:42:35 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0N6gQ643723; Sat, 23 Jan 2010 00:42:26 -0600 (CST) (envelope-from john) Date: Sat, 23 Jan 2010 00:42:26 -0600 From: John To: Ian Smith Message-ID: <20100123004226.C42331@starfire.mn.org> References: <20100122235448.A229410656EE@hub.freebsd.org> <20100123161628.I14027@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20100123161628.I14027@sola.nimnet.asn.au>; from smithi@nimnet.asn.au on Sat, Jan 23, 2010 at 05:34:10PM +1100 Cc: freebsd-questions@freebsd.org, Randi Harper Subject: Re: "Invalid partition table" after installation (GOOD NEWS!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 06:42:36 -0000 On Sat, Jan 23, 2010 at 05:34:10PM +1100, Ian Smith wrote: > In freebsd-questions Digest, Vol 294, Issue 12, Message 19 > On Fri, 22 Jan 2010 16:35:21 -0600 John wrote: > [..] > > > > OK! Well! Good news! After a sort. > > > > > > > > I switched to BootMgr, and it came right up with 8.0! > > > > > > > > Slight downside - extra prompt during boot, and of course, it > > > > offers me all three slices, when I only need to boot from > > > > one. > > See boot0cfg(8); you can specify which slice/s are offered by the boot > menu, from none to four, and you can specify the delay in ticks (~1/18 > second). I'm not sure if 0 is a valid delay, but 1 is not very long. > > > > > Is that's what's wrong with "Standard" MBR? Are all three FSD > > > > partitions (type 165) marked bootable and that's upsetting it? > > > > Can I change it so only one of them is marked bootable? > > See fdisk(8) -a switch. I expect this would clear other active flags. > > > > > Anyway, it appears that there is a problem with the "Standard" MBR > > > > boot. I don't think I was doing anything that unnatural - I wanted > > > > quite a few file systems, so I used multiple slices, both to keep > > > > the boot slice below 1.5Gb and to be able to support all the file > > > > systems I wanted, and maybe that's what upset it. I don't know. > > > > All I know is that Standard MBR didn't work, and BootMgr does. > > > > > > > > I'm willing to spend SOME time trying to debug / fix this for the > > > > good of the community and the next poor sucker who comes along > > > > behind me, but I need to move somewhat quickly. I actually plan > > > > to use this machine! > > > > > > OK - my current best theory is that if the Standard boot manager > > > is faced with anything other than exactly 1 bootable slice (partition > > > to it), it defaults to "Invalid partition table." I'll bet anyone > > > lunch that this is true. Any takers? > > Perhaps. Certainly only one should be set active at boot time, either > statically or by being chosen by a boot menu. > > > > I'll test my theory tonight and let you all know how it turns out. > > > If this is true, then we should at least post some warnings, if not > > > actually fix the installation process so that if you choose "Standard," > > > it helps ensure that you have one and only one bootable slice/partition! > > > > > > Whaddaya think? > > sysinstall (fdisk) lets you toggle the active flag while slicing the > disk. You're supposed to have set one (and only one) active there, and > you've already chosen which slice you want to install to, though I agree > that selecting Standard boot sector might check for one active slice. > > > > Well, better it happen to me than someone from another community who is > > > trying us out for the first time... > > All good grist for the achives .. > > > OK, so here's the update so far. It was, indeed, the case that > > all three slices (partitions) were marked as active (bootable), to wit: > > The data for partition 1 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 63, size 2883825 (1408 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 1; > > end: cyl 1023/ head 15/ sector 63 > > The data for partition 2 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 2883888, size 10224144 (4992 Meg), flag 80 (active) > > beg: cyl 1023/ head 255/ sector 63; > > end: cyl 1023/ head 15/ sector 63 > > The data for partition 3 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 13108032, size 143193456 (69918 Meg), flag 80 (active) > > beg: cyl 1023/ head 255/ sector 63; > > end: cyl 1023/ head 15/ sector 63 > > The data for partition 4 is: > > > > > > So - I used dd to make a copy of the MBR, and wrote a C program to > > interpret it and clear the other two flags. Once I was satisfied > > with that, I used the sysctl from earlier in the thread (which I > > assume allows me to actually change things) and dd to put the > > modifed mbr back in place on sector 0. Now fdisk reports > > The data for partition 1 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 63, size 2883825 (1408 Meg), flag 80 (active) > > beg: cyl 0/ head 1/ sector 1; > > end: cyl 1023/ head 15/ sector 63 > > The data for partition 2 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 2883888, size 10224144 (4992 Meg), flag 0 > > beg: cyl 1023/ head 255/ sector 63; > > end: cyl 1023/ head 15/ sector 63 > > The data for partition 3 is: > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > > start 13108032, size 143193456 (69918 Meg), flag 0 > > beg: cyl 1023/ head 255/ sector 63; > > end: cyl 1023/ head 15/ sector 63 > > The data for partition 4 is: > > > > > > So - there's only ONE active partition, but it still has bootmgr. > > Well I'm sure it was fun writing a program, but fdisk -a should do :) > > > I have used dd and cat to manufacture a new boot record from > > /boot/mbr and the parition (slide) table I've modified, > > and I'm tempted to put THAT in place over this one, but I'm > > afraid of what that might mean - are there other changes > > to the structure of the disk that I need to make to switch from > > BootMgr to the "Standard" MBR? Even if my synthesized MBR > > is correct, is it going to run into trouble at the next step? > > Does it need a different "level 1" boot code? Or should I just > > use "fdisk -b /boot/mbr" rather than my synthesized mbr? > > Will that take care of all the linkages (if any)? > > fdisk -b /boot/mbr should work .. it doesn't mess with the slice table, > so now you have it how you want it, that should be fine. OTOH, perhaps > boot0cfg with zero slices offered would come to the same thing? > > boot0cfg -f will save your current boot sector, in case of accidents. > > > I still think that the ultimate solution is to CHANGE THE > > INSTALLATION PROCESS so that there is ONE and ONLY ONE > > active partition when the "Standard" mbr is used. Well, I'll > > make that an even more general statement - let's change the > > installation process so that ONLY THE FREEBSD PARTITION(s) > > CONTAINING /boot GET THE ACTIVE FLAG SET. There's nothing > > to boot otherwise, anyway, right? > > Yes, but consider systems having two or more versions of FreeBSD, using > a boot menu to choose which to boot. I know of one running 6-STABLE, > 7-STABLE, 8-STABLE and 9-CURRENT on one laptop, but I'm only running > 7-STABLE and 8.0-RELEASE on mine. All contain a /boot dir of course. > > > I'm not 100% sure how best to do this, but I have some ideas. I > > think it starts with having fdisk leave the flag off by default, > > and only turn it on for slices where it has loaded boot code, but > > maybe it's not that simple. > > Unless you choose to, fdisk (as run by sysinstall) doesn't mess with > slices other than the one you're working with. Whether it should is > another matter, I can't imagine all usage cases, but you'd want to run > suggested changes to fdisk by the right lists (maybe -hackers and -fs?) > > > My concern is that it sounds like someone is already working on > > fdisk / diskpart with an eye to replacing it, so maybe I'm > > working on a "zombie" problem that's already "walking dead." > > I have no interest in putting time and effort into that in > > such a case, but I'm very willing to help in this area if it > > will have some value. > > > > Open to suggestions here, folks - what do you say? > > > > John Lind > > john@starfire.MN.ORG > > Not wishing to sound unkind, but you might explore a bit more deeply > what fdisk and boot0cfg already offer. We hear something about ongoing > work on sysinstall and its potential replacement, and conversion to the > GEOM framework is underway, but you'd need to hunt out the right lists > and be running -CURRENT to be participating in the process, I expect. > > cc'ing Randi Harper, who's been working on sysinstall lately (and to > whom I still owe some mail about related matters) > > cheers, Ian Thanks, Ian! I'm very paranoid about fdisk, because I don't seem to be able to make it work on a file - it insists on messing with the disk. Quoting from above... > sysinstall (fdisk) lets you toggle the active flag while slicing the > disk. You're supposed to have set one (and only one) active there, and > you've already chosen which slice you want to install to, though I agree > that selecting Standard boot sector might check for one active slice. I didn't explicity tell it to set ANY of the slices/partitions to active/bootable. It did that all on its own. I would be happy to work with someone working on sysinstall. -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 06:49: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 8583F106566B for ; Sat, 23 Jan 2010 06:49:00 +0000 (UTC) (envelope-from billy@nlcc.us) Received: from toaster.abovetec.com (toaster.abovetec.com [208.75.177.126]) by mx1.freebsd.org (Postfix) with ESMTP id 590FD8FC12 for ; Sat, 23 Jan 2010 06:48:59 +0000 (UTC) Received: (qmail 88936 invoked by uid 89); 23 Jan 2010 06:48:57 -0000 Received: from unknown (HELO ibm.nlcc.us) (67.54.213.138) by 127.0.0.21 with SMTP; 23 Jan 2010 06:48:57 -0000 Received: (qmail 15054 invoked by uid 89); 23 Jan 2010 06:48:51 -0000 Received: from unknown (HELO ?192.168.0.46?) (billy@192.168.0.46) by ibm.nlcc.us with ESMTPA; 23 Jan 2010 06:48:51 -0000 Message-ID: <4B5A9BB9.2070801@nlcc.us> Date: Sat, 23 Jan 2010 00:48:25 -0600 From: Billy Newsom User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B59E61B.3090504@nlcc.us> <795fc2b81001221030n321c994cv9fd3c76b981fead0@mail.gmail.com> In-Reply-To: <795fc2b81001221030n321c994cv9fd3c76b981fead0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: How to troubleshoot a frozen boot sequence X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 06:49:00 -0000 Nathan Vidican wrote: > To me, it sounds like you have two issues to deal with here: > > #1 - booting off of the twed0 disk, what is your systems' BIOS currently > set to boot from, from the way you describe it's almost as if the system > is booting from ad0 - in which case yes, you will have to put a valid > boot config onto twed0 I feel that I have run across a common and old "SCSI v IDE" battle (The FreeBSD Handbook still talks about it). Even though I make the drive controller (the twe = 3Ware SATA controller) as my first boot drive in BIOS (effectively 0x80 as I understand it), FreeBSD does not ever pay attention to the BIOS's numerical order. (See my reason below*) It wants to find stuff on ad0 and boot that drive if it exists. My supposition is that since I had twe0 and ad0 running during my 7.2 install, that the correct drive partition and MBR stuff were applied to get it to boot AS-IS, but... When it is not as it is now, It freezes at the boot loader, attempting to find ad0. It is either a. Finding ad0 in fstab and really wishing it was there or b. The boot strap code is physically on ad0 and not twed0 because the Sysinstall process never wrote it there. I think it is b. If b, the boot process may be: Stage 1: BIOS picks twe0 to be the first drive to attempt a boot. Stage 2: MBR (boot 0) -- located on twe0 Stage 3: boot1 -- located on twed0 (BTX Boot Loader?) Stage 4: boot2 -- located on ad0 (FreeBSD/i386 bootstrap loader 1.1?) Stage 5: Boot Loader -- shows menu on twed0s1a Stage 6: Kernel boots up on twed0s1a And so when I remove ad0 to simulate a backup drive failure, the stage 4 tries to run a missing bootstrap loader from twed0. Stage 4: boot2 -- missing on twed0, system hangs. I think this is happening because it is the BTX loader which may find and concatenate the BIOS drives, getting confused, and switching the boot to ad0 for just the one stage that finishes the bootstrap. I think one solution is to (next time) not install my backup drive until after Sysinstall is long done! I think it's a sysinstall bug, some of this. * My Reason for saying that is my guess that the sysinstall program saw the ad0 as something important, and included it in the chain of the boot. For example, when I was done SLICING my drives in Sysinstall, the silly thing then got the "w" write command and went out there and made some (wrong) decisions under the assumption that ad0 would NATURALLY (via BIOS) be part of the boot process. So the right code never got written to twe0 in the right places. Sure, it got all the kernel and I told it to put a standard FreeBSD MBR, but it must be missing something on track 0. > #2 - you could add the flag 'noauto' to ad0 from within fstab - this > will allow the system to boot without mounting the disk (alleviating the > dreaded single-user-mode). Use a startup script in /usr/local/etc/rc.d > to then mount the disk if available on bootup. I've done similar setups > to this before where we were using external USB drives for backup and > weren't 100% sure they'd always be connected in the case a server might > be rebooted - worst case, you'll end up with it not mounted, but the > system will still be up at least. I will give it a try. I need to do something to correct this second issue for certain. My ad0 is a good spare, but it's old. > -- > Nathan Vidican > nathan@vidican.com > > > On Fri, Jan 22, 2010 at 12:53 PM, Billy Newsom > wrote: > > I am doing a test run on a production server. It has 2 hard drives. > > ad0 (mounted on /disk250 in a single slice plus SWAP) > twed0 (mounted on / /var /usr and a SWAP) > > The twed0 is a hardware mirror and my main drive. > ad0 is just for backups. > > What the issue is, and you probably know where I'm heading. The boot > process freezes if I remove the ad0 (to test a drive failure condition) > > It freezes after saying: > BTX boot loader.... etc. > > FreeBSD/i386 bootstrap loader 1.1 > It spins for a second, then stops... unless I have ad0 in the computer. > /boot/kernel/kernel text=0x7b03a0 data=0xcdee0 / > > And it never gets to the boot menu. > > So: > > 1. Should I put a new boot0config on the twed0 drive? If so do I > boot from a CD to do that? > > I need to potentially do something also to my disk labels and my > fstab so that I don't boot to single user mode if drive ad0 fails. I > haven't done this exact type of thing before, so I am looking for a > little help. > > my fstab: > /dev/ad0s1b none swap sw 0 > 0 > /dev/twed0s1b none swap sw 0 > 0 > /dev/twed0s1a / ufs rw 1 > 1 > /dev/ad0s1d /disk250 ufs rw 2 > 2 > /dev/twed0s1e /tmp ufs rw 2 > 2 > /dev/twed0s1f /usr ufs rw 2 > 2 > /dev/twed0s1d /var ufs rw 2 > 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 > 0 > > > I tried to read the MBR from the twed0 drive, and the program > couldn't read it. The one from the ad0 drive is readable and I saved > a copy of it. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 08:21: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 A6E23106566C for ; Sat, 23 Jan 2010 08:21:13 +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 3E5608FC18 for ; Sat, 23 Jan 2010 08:21:12 +0000 (UTC) Received: from [87.79.34.228] (account kuku@kukulies.org HELO [172.27.4.214]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6753174; Sat, 23 Jan 2010 09:20:54 +0100 Message-ID: <4B5AB157.4060609@kukulies.org> Date: Sat, 23 Jan 2010 09:20:39 +0100 From: Christoph Kukulies User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Fbsd1 References: <4B581838.8010107@kukulies.org> <4B586142.3020404@a1poweruser.com> <4B5861E1.7030800@kukulies.org> <4B59AABA.6030301@a1poweruser.com> <4B59D47C.1090203@kukulies.org> <4B5A4709.3040901@a1poweruser.com> In-Reply-To: <4B5A4709.3040901@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cannot boot FreeBSD (8.0) from USB stick (Dell Inspiron 9400) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 08:21:13 -0000 Fbsd1 schrieb: > Christoph Kukulies wrote: >> I don't know why you shout. (?) > > Not shouting, just making my inserted comments visible within the old > post as in different from bottom or top posting. Ok, writing in capitals is normally treated as shouting (see "netiquette") or only allowed when someone is disabled by eyes. Just write your comments inbetween. I and others will know how to read :) -- Christoph From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 09:22: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 4A240106568D for ; Sat, 23 Jan 2010 09:22:25 +0000 (UTC) (envelope-from list@sheringeorge.co.cc) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3033F8FC15 for ; Sat, 23 Jan 2010 09:22:24 +0000 (UTC) Received: by pwi15 with SMTP id 15so1420035pwi.3 for ; Sat, 23 Jan 2010 01:22:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.141.2.21 with SMTP id e21mr1325492rvi.53.1264238543749; Sat, 23 Jan 2010 01:22:23 -0800 (PST) Date: Sat, 23 Jan 2010 14:52:23 +0530 Message-ID: <7f14551c1001230122q155fadadscf1575f9795fa871@mail.gmail.com> From: Sherin George To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Strange network issue in freebsd 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 09:22:25 -0000 Hello, i am facing some sort of strange network issue in a freebsd server occasionally. OS: FreeBSD 8.0-RELEASE - amd64 The servers loses network connection once in a few days. I logged into console and verified that network is up. I even restarted network service using following command. /etc/rc.d/netif restart Still, it didn't fix. I checked /var/log/messages, but I am not getting any clue. ============== Jan 19 12:10:20 myserver kernel: GEOM_MIRROR: Device gm0: rebuilding provider ad0 finished. Jan 19 20:20:23 myserver nfsd[732]: select failed: Interrupted system call Jan 19 20:21:07 myserver nfsd[732]: select failed: Interrupted system call Jan 23 02:14:33 myserver login: ROOT LOGIN (root) ON ttyv0 Jan 23 02:19:51 myserver kernel: ifa_del_loopback_route: deletion failed Jan 23 02:19:57 myserver kernel: em0: link state changed to DOWN Jan 23 02:20:02 myserver kernel: em0: link state changed to UP Jan 23 02:29:58 myserver reboot: rebooted by root Jan 23 02:29:58 myserver syslogd: exiting on signal 15 Jan 23 02:31:31 myserver syslogd: kernel boot file is /boot/kernel/kernel Jan 23 02:31:31 myserver kernel: Copyright (c) 1992-2009 The FreeBSD Project. Jan 23 02:31:31 myserver kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 23 02:31:31 myserver kernel: The Regents of the University of California. All rights reserved. Jan 23 02:31:31 myserver kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jan 23 02:31:31 myserver kernel: FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 Jan 23 02:31:31 myserver kernel: root@mason.cse.buffalo.edu: /usr/obj/usr/src/sys/GENERIC Jan 23 02:31:31 myserver kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 ============== Network, TCP stack all were up. It was pinging gateway even. But, traceroute was not going beyond gateway. I believe the issue is not related to anything outside server since a reboot always fixes the issue. I will be grateful for any advise that can help me in troubleshooting this problem. -- Best Regards, Sherin From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 09:52: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 88CE6106566C for ; Sat, 23 Jan 2010 09:52:17 +0000 (UTC) (envelope-from lalev.angelin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 2621F8FC08 for ; Sat, 23 Jan 2010 09:52:16 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so230867fgg.13 for ; Sat, 23 Jan 2010 01:52:16 -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=sFiqToR1x6yM7ESQXunLLKsmkKHFNAtdIbGCTGGXDyw=; b=FD/31t5WMhCeG3b9YiRNhhwzVUMNNeKasdelr9SvQcAfPWEK2Z7X5eTlKHnfllg8c7 FnLl4wZLXC1btG78izf6CYFl/0GcbDQ5sjoqlGCRZuV1GJ8P5B48l1WYZngkb6d3Y6lP XNTR+cN3JkIVecTRNDOALa2y/HRnBFLY+mDzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TRwSjOVVgk2Zhz9aupX33isJlwP+u42l7nUq/nqCMlMr+Foush97WFhSRwdHhpNAu9 q/RQOSKQ/JFY/VnqERk4tyRk/LREPI49qPu24NZBatTsoGZxHZS8KB5rtq9glTy5MGjY uXInq/BS0RldVatqkfXiDX5U+Fk11tr8R6EJ8= MIME-Version: 1.0 Received: by 10.239.193.134 with SMTP id j6mr491992hbi.26.1264240335779; Sat, 23 Jan 2010 01:52:15 -0800 (PST) Date: Sat, 23 Jan 2010 09:52:15 +0000 Message-ID: <532b03711001230152v5cf1958eg232805aec8d62b61@mail.gmail.com> From: Angelin Lalev To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: portsnap - broken metadata X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 09:52:17 -0000 Greetings, I believe I have broken the metainformation folders of portsnap. How to fix them? ironholm# rm -rf /var/db/portsnap/ ironholm# mkdir /var/db/portsnap ironholm# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from portsnap2.FreeBSD.org... done. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Fetching snapshot generated at Sat Jan 23 01:17:43 UTC 2010: 8161b7b0a3b6b42453659f19197bfcc324b0a54b57dc29100% of 61 MB 249 kBps 00m00s Extracting snapshot... done. Verifying snapshot integrity... done. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Sat Jan 23 01:17:43 UTC 2010 to Sat Jan 23 08:00:35 UTC 2010. Fetching 4 metadata patches. done. Applying metadata patches... done. Fetching 4 metadata files... /usr/sbin/portsnap: cannot open bd5906dc86367765516942be65b56170d979598ac1325709aa83e67efec39d6d.gz: No such file or directory metadata is corrupt. ironholm# From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 11:20: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 157B31065692 for ; Sat, 23 Jan 2010 11:20:01 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id B31748FC19 for ; Sat, 23 Jan 2010 11:20:00 +0000 (UTC) Received: (qmail 84509 invoked from network); 23 Jan 2010 11:20:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=Nfj7VhBAsHdrV4nm8H3ZjfH1ynPvycOCddw3rC6044LbX6Uj76ApsmttwXE5Hq9ttr0GZENUbFQ1J3E7b1pBtbDzoew4w95EPYAESe0A02XDwQHwNyVyFickOmxRAPxOjx2/GDYr3uK8ybrhvgGLAHBH0Vb0DJVggIwlLh13r20= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 23 Jan 2010 03:19:59 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: vPOvPU8VM1nA9k.vjHNXd2JrLUYTlK4vGrCiKt8ghOkFnBo_AgsQ47vMU5132RH2D0R7p6ingH8r2ly97IKlEMteGsXmjgyKAGHNl_4xblo5qTVXkW_wj9lSCBfmHBYwM4XEO.Z46aVaJBGUHWZ5ppiah_BtoznXLPcnFWwivtEdW43CDynjoxbdy3.QbU..TuR4X96swnGugJ6yuln9tDR.cRD8Zp3MVWEoUb7op3lF97DRQm4cSXnD0owCSYRAjP1azkj523LukjvqiVMakKtMJCeICp0yc3Zx86ewqzuGUhdH9g5iGunSAkO7QNGwRVWImD8ZY_L1B1plmOVc3MlqLRNw9WrvRUY2Q3Ct4aUKCYxzkVZ9LOoOjhlBpf2ZEYiOqs8koTr4fgMHkH2b7C8- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id CB38C2285B for ; Sat, 23 Jan 2010 06:19:58 -0500 (EST) Date: Sat, 23 Jan 2010 06:19:58 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100123061958.73f3bc31@scorpio.seibercom.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problem with GnuPG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 11:20:01 -0000 I posted this recently on the GnuPG forum; however, no one had ever seen it before. FreeBSD-7.2 gpg (GnuPG) 2.0.14 libgcrypt 1.4.4 gpa 0.9.0 I honestly have no idea what the problem is here. I recently installed GnuPG on my system. Everything appeared to go fine. For some reason, I have numerous keys listed that I have no knowledge of. This URL shows the keys: http://seibercom.net/gnupg/KeyListing.png These are not OpenPGP keys, but x.509 certificates. I have no idea why they are showing up in the listing, nor can I delete them. GnuPG no longer works with my MUA either.I have tried deleting GnuPG in its entirety and the "~/.gnupg" directory. That did not alleviate the problem. Once I reinstalled them, the problem resurfaced. Other than dumping the whole system, reformatting and re-installing the OS, has anyone ever heard of this happening before; and if so, how to correct it? -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Lunatic Asylum, n.: The place where optimism most flourishes. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 11:44: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 A3BC610656A8 for ; Sat, 23 Jan 2010 11:44:30 +0000 (UTC) (envelope-from reklama@tiscali.it) Received: from zucker.argus-systems.com (zucker.argus-systems.com [66.209.209.168]) by mx1.freebsd.org (Postfix) with ESMTP id 8346B8FC13 for ; Sat, 23 Jan 2010 11:44:30 +0000 (UTC) Received: from 66-182-43-130.atgi.net (66-182-43-130.atgi.net [66.182.43.130]) by zucker.argus-systems.com (Postfix) with SMTP id 13E5412907 for ; Sat, 23 Jan 2010 05:13:50 -0600 (CST) From: "Tiscali Ads" To: "" Sender: "Tiscali Ads" Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Sat, 23 Jan 2010 11:15:52 GMT Message-ID: <0290634B9.11752956.reklama@tiscali.it> Organization: Subject: WARNING 1-61 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tiscali Ads List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 11:44:30 -0000 X-MSMail-Priority: Normal X-Spam-Flag: NO X-Spam-Score: 0.4 (-------) X-Spam-Report: detection software, running on Tiscali servers 0.0 MISSING_MIMEOLE Message has X-MSMail-Priority, but no X-MimeOLE 0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS x_Report:freebsd-questions@freebsd.org From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 12:16: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 B9DEE106566B for ; Sat, 23 Jan 2010 12:16:20 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4CDC98FC15 for ; Sat, 23 Jan 2010 12:16:19 +0000 (UTC) Received: by ewy3 with SMTP id 3so690581ewy.13 for ; Sat, 23 Jan 2010 04:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=/A6Z9wOtDbxDHbJXKmQulX4S0JbuHwN3cGr/823OXn4=; b=DD2ML3YYLWSRpH+kWr+g/cvAw9teW38tpbrW3w7Mwzhzb3O16Q/KNj9TlqTz50wPs4 6sxc38jID+Y90oXloHBtXPwB5kjq1nub8p5sb8f+++CrTt6pDhVAm9dWKOkRYL7M1VTw nqRGKlgeCfnX0v6oHhvEQNdSRgs/vNCJgQw/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=jEah/+1RcMp3Wy075/9p0gjxUWaLJTyCyattRr+RjWqzcnobSm4VDRaYvbbmjTj0zJ s9fe63zmoGfYAqul2XMYZbJvn5WzCuYmnoAfCllGpivENw6prSioQ9UKjkgUQRTCCov/ xw2c4vo9IYUaqm8qZdveOseBnv/p3qXIJf1Ic= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.216.89.137 with SMTP id c9mr1584486wef.228.1264248978243; Sat, 23 Jan 2010 04:16:18 -0800 (PST) In-Reply-To: <560f92641001221614s1ccb6fcbg3407dd8445bfa1d5@mail.gmail.com> References: <560f92641001221524n1290e70fi51d766e8e0f488bf@mail.gmail.com> <560f92641001221614s1ccb6fcbg3407dd8445bfa1d5@mail.gmail.com> From: Ivan Voras Date: Sat, 23 Jan 2010 13:15:57 +0100 X-Google-Sender-Auth: 113a826fb06ac7c2 Message-ID: <9bbcef731001230415j4ddff25ahbc33ecb1c50998dc@mail.gmail.com> To: Nerius Landys Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8.0 amd64 on Nehelem Xeon? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 12:16:20 -0000 On 23 January 2010 01:14, Nerius Landys wrote: >> There probably are some. If you are only interested in FreeBSD ports, yo= u >> can make a list of which ports you need and then inspect their Makefiles= to >> see if there's a flag disabling them on the amd64 architecture. > > OK thanks. =C2=A0Could you give me an example of a port that is disabled = on > 64 bit and tell me what I will find in the Makefile, so I can look for > it on other ports? emulators/wine: ONLY_FOR_ARCHS=3D i386 >> Additional information for Nehalems is that you should stick to the more >> widely available models - the 4 core+HTT ones. Some of the more exotic o= nes >> (6 core) might have problems with ULE and topology guesswork. > > The L5506 is a 4 core model without Turbo Boost and without Hyper > Threading. =C2=A0It's a power-efficient model. =C2=A0Think that'll be OK? > http://ark.intel.com/Product.aspx?id=3D40712 Yes. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 12:18: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 210D1106566C for ; Sat, 23 Jan 2010 12:18:06 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 831578FC12 for ; Sat, 23 Jan 2010 12:18:05 +0000 (UTC) Received: from beta.1-16-172-dyn.locolomo.org (unknown [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id 072E01C1A67; Sat, 23 Jan 2010 13:18:04 +0100 (CET) Message-ID: <4B5AE8FB.1030901@locolomo.org> Date: Sat, 23 Jan 2010 13:18:03 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Doug Hardie References: <4B594FC0.3010200@el.net> <4B5973AD.8070603@locolomo.org> <772FAD6A-C534-4217-9AA7-274561879E86@lafn.org> <4B59887E.30301@locolomo.org> <4D14E7C8-DFFD-4580-8CD0-99BB3C4EB051@lafn.org> In-Reply-To: <4D14E7C8-DFFD-4580-8CD0-99BB3C4EB051@lafn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions - Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 12:18:06 -0000 Doug Hardie wrote: > This is quite interesting. I can't figure out the rules on my system. Maybe try to simplify, clean up and structure your rules :) > Here is the pf.conf file with all comments removed: > > table persist file "/etc/blackhole" > table persist > table persist > table persist file "/etc/mail/whitelist" > MAILHOSTS = "{zool.lafn.org}" > > no rdr on { lo0, lo1 } from any to any > no rdr inet proto tcp from to any port smtp > no rdr inet proto tcp from to any port smtp > rdr pass log inet proto tcp from any to any port smtp -> 127.0.0.1 port spamd > pass in log inet proto tcp to $MAILHOSTS port smtp keep state > pass in log on sis0 reply-to (sis0 192.168.25.1) proto tcp from any to any port 75 keep state > block in quick log on $ext_if from to any 1. pf allows short cuts, but these also makes it more difficult to debug. I'd separate NAT from filtering, that is never use "rdr pass" even though pf allows it. You also need to understand when rdr takes place to write your filtering rules. 2. you can deploy one of two policies: Default block with a whitelist or default pass with a black list. Mixing these is a bad idea. 3. $ext_if = dc0? 4. rdr needs an interface, I'm surprised that pf will parse the above, and have no idea what it does with it. pfctl -sn should show you the nat rules. 5. Organize your rules as scetched in last mail, grouping rules for each interface, it really helps locating where things go wrong. I have log statements and catch all rules to ensure that if these are triggered there is something in my ruleset I haven't taken into account. I avoid using "any" except in default rules. > Note: the blackhole file is empty as is the whitelist file. There is an entry for 216.54.240.150 in spamd database. This is a test system. > > Here is the output of tcpdump where I have only taken one entry for each rule. I have listed the rule number at the front of each line: > > Rule 0: 14:01:27.133320 rule 0/0(match): pass in on dc0: 216.54.240.150.55782 > 206.117.18.7.25: S 2501333595:2501333595(0) win 65535 > Rule 1: 02:26:44.755650 rule 1/0(match): pass in on sis0: 71.109.144.133.40864 > 192.168.25.7.75: S 3941268770:3941268770(0) win 65535 > Rule 2: 10:44:45.037918 rule 2/0(match): block in on dc0: 71.109.162.173.39529 > 206.117.18.7.75: . ack 145 win 65535 > Rule 4: 13:51:16.022700 rule 4/0(match): rdr in on dc0: 216.54.240.150.49821 > 127.0.0.1.8025: S 2371633783:2371633783(0) win 65535 > > I found no entries for rule 3. There is virtually no traffic on this system other than from me. > > As I look at pf.conf and tie the rules to the entries I get (rule number at beginning of line): > > no rdr on { lo0, lo1 } from any to any > no rdr inet proto tcp from to any port smtp > 0 - no rdr inet proto tcp from to any port smtp > 4 - rdr pass log inet proto tcp from any to any port smtp -> 127.0.0.1 port spamd > pass in log inet proto tcp to $MAILHOSTS port smtp keep state > 1 - pass in log on sis0 reply-to (sis0 192.168.25.1) proto tcp from any to any port 75 keep state > block in quick log on $ext_if from to any > > I have no clue which one is rule 2. The only block is the last entry but that should never be used because the blackhole file is empty. pfctl shows the table is empty also. > > The ordering seems to make no sense either. I also note that the man page for pf.conf indicates in the BNF grammar for pf.conf that log is a valid entry for no rdr. However, that always generates a syntax error. Apparently there is no way to log the use of no rdr rules. see, things seems to have been swapped around somehow, that rule 4 rdr is really rule 0 again only now matches for the rdr action, in rule 0 it matches pass action. or so it appears. anyway, to interpret the output of pflog, you need the output from pfctl -sr and pfctl -sn rather than your config file. So, to solve your problem, separate first NAT and filtering. Things becomes so much more clear. Regards, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 12:55:10 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 24D10106566B for ; Sat, 23 Jan 2010 12:55:10 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id BAEF08FC08 for ; Sat, 23 Jan 2010 12:55:09 +0000 (UTC) Received: from eco.config (93.97.24.219) by april.london.02.net (8.5.016.1) id 4A23ECF8076F2131 for questions@freebsd.org; Sat, 23 Jan 2010 12:55:08 +0000 Message-ID: <4B5AF1AC.8090409@onetel.com> Date: Sat, 23 Jan 2010 12:55:08 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: What sort of file system is this and how to mount it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 12:55:10 -0000 Hi I have a 120gb SATA disk with the following> eco# fdisk ad4 ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=232581 heads=16 sectors/track=63 (1008 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 238 (0xee),(EFI GPT) start 1, size 234441647 (114473 Meg), flag 0 beg: cyl 1023/ head 254/ sector 63; 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: eco# gpart show ad4 => 34 234441581 ad4 GPT (112G) 34 6 - free - (3.0K) 40 409600 1 efi (200M) 409640 233769824 2 !48465300-0000-11aa-aa11-00306543ecac (111G) 234179464 262151 - free - (128M) eco# ls /dev/ad4* /dev/ad4 /dev/ad4p1 /dev/ad4p2 eco# mount_msdosfs /dev/ad4p1 /mnt eco# find /mnt /mnt /mnt/EFI /mnt/EFI/APPLE /mnt/EFI/APPLE/EXTENSIONS /mnt/EFI/APPLE/EXTENSIONS/Firmware.scap eco# umount /mnt That makes me think ad4p2 is HFS or HFS+ so I installed hfsexplorer (http://hem.bredband.net/catacombae/hfsx.html) and it tells me ad4p2 is an invalid HFS type. So try a few other things eco# mount /dev/ad4p2 /mnt mount: /dev/ad4p2 : Invalid argument eco# mount_msdosfs /dev/ad4p2 /mnt mount_msdosfs: /dev/ad4p2: Invalid argument eco# mount -t ext2fs /dev/ad4p2 /mnt mount: /dev/ad4p2 : Invalid argument Any ideas? FreeBSD eco.config 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Fri Dec 11 14:40:08 GMT 2009 root@eco.config:/usr/obj/usr/src/sys/GENERIC i386 thanks Chris From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 13:45:27 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 E8279106566B for ; Sat, 23 Jan 2010 13:45:26 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7C95C8FC14 for ; Sat, 23 Jan 2010 13:45:26 +0000 (UTC) Received: by fxm26 with SMTP id 26so2047444fxm.13 for ; Sat, 23 Jan 2010 05:45:25 -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=Wr3eTQ+V0PF99nt/9aR29J/10CvwS7SEiSy2kv3CnH8=; b=DLyOLKRvKLBBM2LN+B9vCVFLZ+a5jEQxT13y9Q+1IkaQd0M6MC6M4iBedg17MJVxNu +Lm/y9Ac46aqHeI82GbHWsqWDO2cY4VZIe/AuCWJzXksJk62Hxc1TlVzWmJFkonQt/QF qR0IsJ/mg62vA/nmPg1Und5DVGiQoOvFugTx8= 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=NOde+rM3R0cQMexDT698tLRkHZ+veF6UZFsiK/csty6h5k+eswVDaxNX69zSb6NPSY oR9U3YPk6qzMznvRabEUI1o39gNswDS4BqOXZxt1OymBhTRdWRDT/nP9Wt9M2790LUeP 1oPQBdK5sgm7eODhW5t3OsaHQgg+tr3a+2yMw= MIME-Version: 1.0 Received: by 10.239.167.129 with SMTP id g1mr453247hbe.177.1264254325298; Sat, 23 Jan 2010 05:45:25 -0800 (PST) In-Reply-To: References: Date: Sat, 23 Jan 2010 13:45:25 +0000 Message-ID: From: krad To: Dan Naumov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Drive errors in raidz array X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 13:45:27 -0000 On 22 January 2010 21:31, Dan Naumov wrote: > >> I have a system with 24 drives in raidz2. > > Congrats, you answered your own question within the first sentance :) > > ANSWER: As per the ZFS documentation, don't do raidz/raidz2 vdev > groups bigger than 9 vdevs per group or bad things (tm) will happen. > Google will tell you more. > > - Sincerely, > Dan Naumov > _______________________________________________ > 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" > he didnt actually say that you have inferred it. However you are correct about the vdev size. The best configuration would probably be x2 raidz2 vdevs of 12 drives or 3x of 8. You could also go for 3x raidz of 7 drives with 3 hot spares. It really depends on what redundancy/capacity ratio you want. Having said all this im not convinced the errors you are seeing are definitely due to having 24 drives in a vdev. I would expect some write performance issues and slow rebuild times but not device errors From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 14: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 51711106566C for ; Sat, 23 Jan 2010 14:01:49 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 259C38FC1B for ; Sat, 23 Jan 2010 14:01:48 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id o0NE1f9j034930 for ; Sat, 23 Jan 2010 08:01:41 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201001231401.o0NE1f9j034930@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <34928.1264255301.1@dc.cis.okstate.edu> Date: Sat, 23 Jan 2010 08:01:41 -0600 From: Martin McCormick Subject: Re: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 14:01:49 -0000 Dale Scott writes: > I don't have a solution but can report I regularily login to my fbsd 7 > and 8 boxes from an Ubuntu laptop using ssh in > Terminal and run sysinstall. I've never encountered this problem though. Thank you for responding. If you type echo $TERM or just the command env Is TERM = "linux" or something else? As I write this message, I have cons25l1 as the environment variable for TERM and sysinstall came up with no issues at all. I could make that my default terminal except for the fact that a few of the escape codes for formatting the screen quit working for applications like vi. In vi, for instance, one can join two lines together by typing a J in command mode. That works under a linux or VT100 terminal but it doesn't work when using cons25. It may end up being one of those things I just remember to do when necessary. One interesting thing I notice is that when in "linux" or "VT100" emulation, I always lost the Bell that rings during vi when you hit Escape more than once or try to move the cursor past the end of the text. The bell works in cons25. The formatting issues are more of an issue than the bell so I will need to go back to a more VT100-like terminal. What we may be dealing with is the fact that some programs do their own emulation based on what they think the terminal should be. There is something called "raw" mode and "cooked" mode. The shell and a lot of applications use "cooked" mode and rely on the shell to do the addressing. Other full-screen programs like vi turn off the shell's processing and use their own. This is only bad if it isn't what works with your display device. What is even more interesting is that vi under Linux, itself, has all the bells, so to speak. I am getting in to an area in which I know less than I should so I will stop here. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 14:31:57 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 A1BA51065694 for ; Sat, 23 Jan 2010 14:31:57 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id 890AB8FC13 for ; Sat, 23 Jan 2010 14:31:57 +0000 (UTC) Received: by pxi13 with SMTP id 13so1495146pxi.3 for ; Sat, 23 Jan 2010 06:31:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.115.29.12 with SMTP id g12mr2918912waj.43.1264255454555; Sat, 23 Jan 2010 06:04:14 -0800 (PST) Date: Sat, 23 Jan 2010 19:34:14 +0530 Message-ID: From: Gautham Ganapathy To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: FreeBSD 8-STABLE - wpi monitor mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 14:31:57 -0000 Hi After I bring all n/w interfaces down (/etc/rc.d/netif stop) and then create an virtual interface over wpi0 in monitor mode (ifconfig wlan0 create wlandev wpi0 wlanmode monitor), the system crashes. Is there any error in the command I am using? This system was updated to 8-STABLE a couple of weeks back. Additionally, the wpi man page mentions that it only permits one virtual interface at a time. Is this a h/w limitation? If not, will support for multiple interfaces be added? Regards Gautham Ganapathy From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 14:54:09 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 D9A7210656A3 for ; Sat, 23 Jan 2010 14:54:09 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by mx1.freebsd.org (Postfix) with ESMTP id 9D7E28FC25 for ; Sat, 23 Jan 2010 14:54:09 +0000 (UTC) Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mail.gelita.se (Postfix) with ESMTP id 92DF610E50E for ; Sat, 23 Jan 2010 15:55:36 +0100 (CET) Message-ID: <4B5B0DA6.1020702@eskk.nu> Date: Sat, 23 Jan 2010 15:54:30 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Troback-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 92DF610E50E.AC538 X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-From: leslie@eskk.nu X-Spam-Status: No Subject: Thunderbird language should be Swedish but it's not! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 14:54:09 -0000 When I install Thunderbird3 thunderbird-3.0.1 thunderbird-dictionaries-20060220_4 thunderbird3-i18n-3.0.1 It does not adapt to what I have in /etc/make.conf # Firefox-i18n FIREFOX_I18N=sv-SE # Thunderbird-i18n THUNDERBIRD_I18N=sv-SE Firefox instals xpi-quick-locale-switcher-1.7 set to Swedish. It can be disabled and Firefox keeps the swedish setting. Any suggestions on how to get Thunderbird to display Swedish? Thanks From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 14:55: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 B92D7106568B for ; Sat, 23 Jan 2010 14:55:15 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 768278FC15 for ; Sat, 23 Jan 2010 14:55:15 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o0NEtAV4028071; Sat, 23 Jan 2010 09:55:10 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o0NEtAUG028070; Sat, 23 Jan 2010 09:55:10 -0500 (EST) Date: Sat, 23 Jan 2010 09:55:10 -0500 From: Thomas Dickey To: freebsd-questions@freebsd.org Message-ID: <20100123145510.GA27441@saltmine.radix.net> References: <201001231401.o0NE1f9j034930@dc.cis.okstate.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <201001231401.o0NE1f9j034930@dc.cis.okstate.edu> User-Agent: Mutt/1.3.27i Cc: Martin McCormick Subject: Re: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 14:55:15 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 23, 2010 at 08:01:41AM -0600, Martin McCormick wrote: > Dale Scott writes: > > I don't have a solution but can report I regularily login to my fbsd 7= =20 > > and 8 boxes from an Ubuntu laptop using ssh in > > Terminal and run sysinstall. I've never encountered this problem though. >=20 > Thank you for responding. >=20 > If you type >=20 > echo $TERM=20 >=20 > or just the command=20 >=20 > env >=20 > Is TERM =3D "linux" or something else? "Terminal" would probably be one of the programs using VTE, which differs from "linux". --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFLWw3ItIqByHxlDocRAsuAAKCwFW4RYxYgynAWQwH1MDaQrKzg+wCfd83T KekRs1up9rbGdSHR8by6Sb0= =VL3a -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 15:00:07 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 11DEF106568D for ; Sat, 23 Jan 2010 15:00:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 8A96F8FC14 for ; Sat, 23 Jan 2010 15:00:06 +0000 (UTC) Received: by mail-ew0-f211.google.com with SMTP id 3so788111ewy.13 for ; Sat, 23 Jan 2010 07:00:06 -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=SB9JV/+k31Aw/97f/txM6qvF0ZIukPVzxQ0IPDWhYbM=; b=ZNnj50hNk1A0Y7wUQJkK6cC6VCXKsB/lXxNLAdbQ1G5KHNT31y8LZ07JRLAAfLlaOT QhjcbaEVnP14313KW36AF+hHeyaKlEWoy40iFnCSstLBYcHwJKJ+U0F3k/ZtxvtCHWed lbGusZ0XBG8v8kUxOn3BPMeI8gzWcnOFfWELg= 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=QXdOKVkZqPRLxFlwxkZgF0M6YSQXNsYxK6pwVfM3Q7IJEEYGuge/eZhoXNhhFRAuM/ yPkbPl0ZjlGTwKFH76XuoDIyjgzfv3GT0zamg02d/NNQ1Nlid7zTEU+FGWabI/T3eVqA pO+UZl3kBxrAuJD43QtL97z0mfYKhnPap6PpM= MIME-Version: 1.0 Received: by 10.213.96.206 with SMTP id i14mr4184913ebn.74.1264258806184; Sat, 23 Jan 2010 07:00:06 -0800 (PST) In-Reply-To: References: From: Paul B Mahol Date: Sat, 23 Jan 2010 14:59:46 +0000 Message-ID: <3a142e751001230659t6c52eb2ame0b4ad65436ff0ff@mail.gmail.com> To: Gautham Ganapathy Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org Subject: Re: FreeBSD 8-STABLE - wpi monitor mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 15:00:07 -0000 On Sat, Jan 23, 2010 at 2:04 PM, Gautham Ganapathy wrote: > Hi > > After I bring all n/w interfaces down (/etc/rc.d/netif stop) and then > create an virtual interface over wpi0 in monitor mode (ifconfig wlan0 > create wlandev wpi0 wlanmode monitor), the system crashes. Is there > any error in the command I am using? This system was updated to > 8-STABLE a couple of weeks back. The system should never crash in that situation, fill PR, that is driver bug. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 15:25:00 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 B3B91106566C for ; Sat, 23 Jan 2010 15:25:00 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6DC688FC1A for ; Sat, 23 Jan 2010 15:24:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o0NFOxck014785; Sat, 23 Jan 2010 08:24:59 -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 o0NFOxAv014782; Sat, 23 Jan 2010 08:24:59 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 23 Jan 2010 08:24:59 -0700 (MST) From: Warren Block To: Chris Whitehouse In-Reply-To: <4B5AF1AC.8090409@onetel.com> Message-ID: References: <4B5AF1AC.8090409@onetel.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Sat, 23 Jan 2010 08:24:59 -0700 (MST) Cc: FreeBSD Questions Subject: Re: What sort of file system is this and how to mount it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 15:25:00 -0000 On Sat, 23 Jan 2010, Chris Whitehouse wrote: ... > That makes me think ad4p2 is HFS or HFS+ so I installed hfsexplorer > (http://hem.bredband.net/catacombae/hfsx.html) and it tells me ad4p2 is an > invalid HFS type. > > So try a few other things > eco# mount /dev/ad4p2 /mnt > mount: /dev/ad4p2 : Invalid argument > eco# mount_msdosfs /dev/ad4p2 /mnt > mount_msdosfs: /dev/ad4p2: Invalid argument > eco# mount -t ext2fs /dev/ad4p2 /mnt > mount: /dev/ad4p2 : Invalid argument > > Any ideas? file -s /dev/ad4p2 may be able to identify it. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 16:02: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 44BA81065676 for ; Sat, 23 Jan 2010 16:02:16 +0000 (UTC) (envelope-from ironwindow2001@yahoo.com) Received: from web38308.mail.mud.yahoo.com (web38308.mail.mud.yahoo.com [209.191.125.24]) by mx1.freebsd.org (Postfix) with SMTP id E2A618FC12 for ; Sat, 23 Jan 2010 16:02:15 +0000 (UTC) Received: (qmail 84278 invoked by uid 60001); 23 Jan 2010 15:35:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1264260934; bh=fSOExbmtUl1qSxMAjrGruTm74K1QhXTxLJgqPF05Lzc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=CXEZNI/Aj5QMm/+tXdL3h6jtV2c26HyptjEtrrH0xVAN0dcCuZ9dtjPtnykHX6d3aM2Kh8G/irdtkQe8zNuP8kgTbmLWqASQh6W76ZyuOKogYSfEBiUmxwvV1yDWM5XNBlRYaizsEY2DRcaSLqoC8mPaOJ8WYwMTfx9v0r9lmZI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Hg93jWKjC6V6FJ0tfPRIx+Vr3HLaGPISOV+MykbLjRqAShWwUuIoVBJ1gtcnbm9nGcKmfw46uFCKcbNppcS60w0R0u8FtRW9ROMQjUzgavSnHrs2voNix2k99yqmn/czrtotKmQkglzUs/ck3UJhXh5x8rlI6rIEoH4+6x4Czp4=; Message-ID: <122100.82791.qm@web38308.mail.mud.yahoo.com> X-YMail-OSG: 2nbplxYVM1mDTIpZYV5hHOYMSNAwBofeeB4uovRzLPG4YeHXKVcw0vMGvf946eyOF3hp.C4z9WLkzQ_w39NL9XFwdKR.Lcm6hPtfVrREqN_sKyVVkjElCoCOoIunoVm5wsyyDd01mqMKIa_IwfsgWlQRa1ILt788oc8FAsydmx8AdJAG72B2ea8PgMOwfN0uwRmem6vUKJZfm2ORzGJdCjZcLiWemTfPNuZXdN.bAAXD90jZcsr58Ev8bTq67NkZbAh_K8E2j3PxfjTdvTPiV4Y7OII8sLakcukEVwQy0JKCrl1F.WElsIovMcveRTHRfwI- Received: from [190.140.40.32] by web38308.mail.mud.yahoo.com via HTTP; Sat, 23 Jan 2010 07:35:34 PST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 Date: Sat, 23 Jan 2010 07:35:34 -0800 (PST) From: macondo To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Error after booting for second time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 16:02:16 -0000 I installed fbsd8 and after booting for the second time, got this error message: "acd1: FAILURE-unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 asq=0x00" It won't allow me to continue booting... Any ideas? Thanks. From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 16:20:26 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 11C5510656A5 for ; Sat, 23 Jan 2010 16:20:26 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D72B28FC1F for ; Sat, 23 Jan 2010 16:20:25 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0NGJZGQ027313; Sat, 23 Jan 2010 11:19:35 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o0NGJYg1027312; Sat, 23 Jan 2010 11:19:34 -0500 (EST) (envelope-from jerrymc) Date: Sat, 23 Jan 2010 11:19:34 -0500 From: Jerry McAllister To: Erich Dollansky Message-ID: <20100123161934.GA27277@gizmo.acns.msu.edu> References: <20100122111219.A31898@starfire.mn.org> <201001231015.22934.oceanare@pacific.net.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001231015.22934.oceanare@pacific.net.sg> User-Agent: Mutt/1.4.2.2i Cc: John , freebsd-questions@freebsd.org Subject: Re: Migration planning - old system to new X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 16:20:26 -0000 On Sat, Jan 23, 2010 at 10:15:19AM +0800, Erich Dollansky wrote: > Hi, > > On 23 January 2010 am 01:12:19 John wrote: > > Now that I've actually gotten the new system to boot, I need to > > figure out how I'm going to migrate everything - users, data, > > MySQL, NAT, firewall, apache, DHCP, gateway services BIND, > > Sendmail, etc., etc from > > FreeBSD 4.3-RELEASE #0: Thu Jan 22 19:44:16 CST 2004 > > to > > FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 > > this is real jump. > > > > Bit of a challenge, eh? > > I have heard that somebody actually landed on the moon? Was it > you? > > > > Not only that, but I'd like to update my UID scheme from a > > pre-standard version (most of the UIDs are down in the 100s) to > > the new convention so that I'm more in-line with the rest of > > the world. > > Ok, I cannot imagine how you will do this with the access rights > of the files? > > > > My rough idea: > > > > 1) Create a "migrate" account in Wheel with home as > > /var/migrate so that I can do a dump/restore on "home" without > > messing things up > > Are you sure? Use /usr to make sure you will have enough space. You are making the rash and probably incorrect assumption that /usr is the largest partition/filesystem. Many people, including I, make /home or another partition be the large one. The OP may also have done that. > > > 2) Start putting together all the pieces - trying to find > > update / conversion scripts whenever possible. > > I think, this would only help if you would go the long way 5.x, > 6.x, 7x and finally 8. > > Setup the new machine, install the applications you need, > configure them as close as possible to the original configuration > and see what happens. > > > 4) Let people move in, try it out, see how things are > > 5) Fix everything found in #4 > > 6) Try a cut-over and make sure all the network services work > > in the middle of the night sometime, then switch back > > Oh, it is a life system in use while you migrate. > > Are you able to set the new thing up in parallel? > > It might be easier for you to run both machines and move first the > simple things over. > > > 7) Nuke /home and /var/mail and migrate them again to get the > > latest version 8) Do the real switch Move/migrate them first. Don't make assumptions about what the OP has on /home. But, I agree, if possible, use a second machine with V 8.0 installed and migrate to it. Otherwise, make full backups, check them for readability. Then do a new install of FreeBSD V8. Add a large disk and pull stuff out of your dump to it and then migrate that stuff piece by piece back to the machine main filesystems. ////jerry > > 9) spend a couple of weeks fixing all the things that weren't > > so disastrous that they got picked up in #4. > > I think, if you do it service by service, you have a better chance > to avoid this. > > > > Ideas / scripts / project plans / outlines - whatever? Maybe I > > should write a chapter for The Complete FreeBSD after surviving > > this... > > Yes. It is a Le Must. > > Erich > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 17:08: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 4497D1065670 for ; Sat, 23 Jan 2010 17:08:44 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id 0B9C08FC0A for ; Sat, 23 Jan 2010 17:08:43 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0NH8RH54974; Sat, 23 Jan 2010 11:08:27 -0600 (CST) (envelope-from john) Date: Sat, 23 Jan 2010 11:08:27 -0600 From: John To: Jerry McAllister Message-ID: <20100123110827.A54749@starfire.mn.org> References: <20100122111219.A31898@starfire.mn.org> <201001231015.22934.oceanare@pacific.net.sg> <20100123161934.GA27277@gizmo.acns.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20100123161934.GA27277@gizmo.acns.msu.edu>; from jerrymc@msu.edu on Sat, Jan 23, 2010 at 11:19:34AM -0500 Cc: Erich Dollansky , freebsd-questions@freebsd.org Subject: Re: Migration planning - old system to new X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 17:08:44 -0000 On Sat, Jan 23, 2010 at 11:19:34AM -0500, Jerry McAllister wrote: > On Sat, Jan 23, 2010 at 10:15:19AM +0800, Erich Dollansky wrote: > > > Hi, > > > > On 23 January 2010 am 01:12:19 John wrote: > > > Now that I've actually gotten the new system to boot, I need to > > > figure out how I'm going to migrate everything - users, data, > > > MySQL, NAT, firewall, apache, DHCP, gateway services BIND, > > > Sendmail, etc., etc from > > > FreeBSD 4.3-RELEASE #0: Thu Jan 22 19:44:16 CST 2004 > > > to > > > FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 > > > > this is real jump. > > > > > > Bit of a challenge, eh? > > > > I have heard that somebody actually landed on the moon? Was it > > you? > > > > > > Not only that, but I'd like to update my UID scheme from a > > > pre-standard version (most of the UIDs are down in the 100s) to > > > the new convention so that I'm more in-line with the rest of > > > the world. > > > > Ok, I cannot imagine how you will do this with the access rights > > of the files? > > > > > > My rough idea: > > > > > > 1) Create a "migrate" account in Wheel with home as > > > /var/migrate so that I can do a dump/restore on "home" without > > > messing things up > > > > Are you sure? Use /usr to make sure you will have enough space. > > You are making the rash and probably incorrect assumption that /usr is > the largest partition/filesystem. Many people, including I, make /home > or another partition be the large one. The OP may also have done that. > > > > > > 2) Start putting together all the pieces - trying to find > > > update / conversion scripts whenever possible. > > > > I think, this would only help if you would go the long way 5.x, > > 6.x, 7x and finally 8. > > > > Setup the new machine, install the applications you need, > > configure them as close as possible to the original configuration > > and see what happens. > > > > > 4) Let people move in, try it out, see how things are > > > 5) Fix everything found in #4 > > > 6) Try a cut-over and make sure all the network services work > > > in the middle of the night sometime, then switch back > > > > Oh, it is a life system in use while you migrate. > > > > Are you able to set the new thing up in parallel? > > > > It might be easier for you to run both machines and move first the > > simple things over. > > > > > 7) Nuke /home and /var/mail and migrate them again to get the > > > latest version 8) Do the real switch > > Move/migrate them first. Don't make assumptions about what the OP has > on /home. > > But, I agree, if possible, use a second machine with V 8.0 installed > and migrate to it. > > Otherwise, make full backups, check them for readability. Then do a new > install of FreeBSD V8. Add a large disk and pull stuff out of your dump > to it and then migrate that stuff piece by piece back to the machine > main filesystems. > > ////jerry > > > > > 9) spend a couple of weeks fixing all the things that weren't > > > so disastrous that they got picked up in #4. > > > > I think, if you do it service by service, you have a better chance > > to avoid this. > > > > > > Ideas / scripts / project plans / outlines - whatever? Maybe I > > > should write a chapter for The Complete FreeBSD after surviving > > > this... > > > > Yes. It is a Le Must. > > > > Erich Sorry, gang - I should have been more clear! I am DEFINITELY doing this on a new machine! And I don't need any "migration" storage, because, well, gosh - it's tcp, people! ;) I just did the first transfer of home, and it went swell: On elwood (the new, 8.0 system): cd / umount /home newfs /dev/ad0s3e mount /home cd /home rsh dexter "dump 0uf - /home" | restore rvf - That preserves all the file modification times, too, even on directories. All you young'uns out there - don't forget dump/restore! tar and cpio are nice, but sometimes, you just gotta take it all... ("dexter" is the old machine - the FreeBSD 4.3 system) Oh, BTW, just for giggles: 10:56AM up 492 days, 13:57, 2 users, load averages: 0.02, 0.03, 0.00 That's right! Nearly 500 days! And it was well over a two hundred days before that, but we had a power outage that outlasted the UPS. Gotta love this stuff! Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll rl0 1500 00:40:f4:8e:37:c7 384602213 1 585428419 0 0 rl0 1500 192.168.1 gateway 56160554 - 40918536 - - rl0 1500 dexter/32 dexter 246146 - 0 - - ed0 1500 52:54:40:21:f8:a8 609350703 376495 380734152 0 15678720 ed0 1500 XXmaskedXX xxMASKEDx x 63482137 - 380606442 - - lo0 16384 27069210 0 27069210 0 0 lo0 16384 127 localhost 27069192 - 27069192 - - 987522505 cpu context switches 2590296969 device interrupts 342786031 software interrupts 1096125243 traps 1217705867 system calls 4 kernel threads created 12006286 fork() calls 429899 vfork() calls 0 rfork() calls 954 swap pager pageins 1156 swap pager pages paged in 456 swap pager pageouts 774 swap pager pages paged out 7135 vnode pager pageins 32897 vnode pager pages paged in 1 vnode pager pageouts 1 vnode pager pages paged out 1502 page daemon wakeups 2926806 pages examined by the page daemon 7262 pages reactivated 507170456 copy-on-write faults 0 copy-on-write optimized faults 175434998 zero fill pages zeroed 127442529 zero fill pages prezeroed 1028 intransit blocking page faults 1020317711 total VM faults taken 0 pages affected by kernel thread creation 1300974057 pages affected by fork() 49625615 pages affected by vfork() 0 pages affected by rfork() 808730759 pages freed 4 pages freed by daemon 578473126 pages freed by exiting processes 10408 pages active 41102 pages inactive 2502 pages in VM cache 7573 pages wired down 2148 pages free 4096 bytes per page 637017826 total name lookups cache hits (69% pos + 4% neg) system 6% per-directory deletions 0%, falsehits 0%, toolong 0% -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 17:12: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 54E29106566C for ; Sat, 23 Jan 2010 17:12:16 +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 0F7018FC13 for ; Sat, 23 Jan 2010 17:12:15 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NYjWu-0006wi-2r for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 18:12:12 +0100 Received: from pool-71-166-131-253.washdc.east.verizon.net ([71.166.131.253]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 18:12:12 +0100 Received: from nightrecon by pool-71-166-131-253.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jan 2010 18:12:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 23 Jan 2010 12:11:43 -0500 Lines: 11 Message-ID: References: <20100123042120.89902oyvgkbxvxog@webmail-srv2.servage.net> 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-71-166-131-253.washdc.east.verizon.net User-Agent: KNode/4.3.4 Sender: news Subject: Re: Unable to find device node for /dev/ad0s1b in /dev! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 17:12:16 -0000 insecurity@malandrines.net wrote: > Unable to find device node for /dev/ad0s1b in /dev! > > help me please See my reply to message: "SunFire x2100 fails" -Mike From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 19:14: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 DA6FE1065762 for ; Sat, 23 Jan 2010 19:14:02 +0000 (UTC) (envelope-from john@dexter.starfire.mn.org) Received: from dexter.starfire.mn.org (starfire.skypoint.net [173.8.102.29]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7668FC08 for ; Sat, 23 Jan 2010 19:14:02 +0000 (UTC) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id o0NJE1D56586 for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 13:14:01 -0600 (CST) (envelope-from john) Date: Sat, 23 Jan 2010 13:14:01 -0600 From: John To: freebsd-questions@freebsd.org Message-ID: <20100123131347.A56510@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: Backward compatibility libraries? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 19:14:02 -0000 The GENERIC 8.0 kernel and the kernel I built for my new FreeBSD 8.0 system both contain options COMPAT_FREEBSD4 # Compatible with FreeBSD4 yet, when I try to run a program compiled on the FreeBSD 4.3 system on the new system, I get /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by "pipetype" So - there must be some compatibility libraries somewhere. I've looked in Packages and in Distributions, and didn't see what I'm looking for (probably looking right at it). What am I missing? Thanks! -- John Lind john@starfire.MN.ORG From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 19:24: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 368E8106568B for ; Sat, 23 Jan 2010 19:24:50 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id E2FFA8FC19 for ; Sat, 23 Jan 2010 19:24:49 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy2.bredband.net (7.3.140.3) id 4AD3E1BC0296B825 for freebsd-questions@freebsd.org; Sat, 23 Jan 2010 20:24:48 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuhHABfcWktV4js3PGdsb2JhbACBRppPAQEBATe5QoQ7BA X-IronPort-AV: E=Sophos;i="4.49,330,1262559600"; d="scan'208";a="28791044" 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; 23 Jan 2010 20:24:48 +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 o0NJOkDT027953; Sat, 23 Jan 2010 20:24:46 +0100 (CET) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4B5B4CFD.9050905@pp.dyndns.biz> Date: Sat, 23 Jan 2010 20:24:45 +0100 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20091010) MIME-Version: 1.0 To: John References: <20100123131347.A56510@starfire.mn.org> In-Reply-To: <20100123131347.A56510@starfire.mn.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Backward compatibility libraries? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 19:24:50 -0000 John wrote: > The GENERIC 8.0 kernel and the kernel I built for my new FreeBSD 8.0 > system both contain > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > > yet, when I try to run a program compiled on the FreeBSD 4.3 system on > the new system, I get > /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by "pipetype" > > So - there must be some compatibility libraries somewhere. I've > looked in Packages and in Distributions, and didn't see what I'm > looking for (probably looking right at it). > > What am I missing? > > Thanks! misc/compat4x From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 19:25: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 75FF11065679 for ; Sat, 23 Jan 2010 19:25:10 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 0CBAB8FC1A for ; Sat, 23 Jan 2010 19:25:09 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id o0NJP2Z8002016; Sat, 23 Jan 2010 20:25:03 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 947A4BA8E; Sat, 23 Jan 2010 20:25:02 +0100 (CET) Date: Sat, 23 Jan 2010 20:25:02 +0100 From: Roland Smith To: John Message-ID: <20100123192502.GA85810@slackbox.xs4all.nl> References: <20100123131347.A56510@starfire.mn.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20100123131347.A56510@starfire.mn.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Backward compatibility libraries? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 19:25:10 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 23, 2010 at 01:14:01PM -0600, John wrote: > The GENERIC 8.0 kernel and the kernel I built for my new FreeBSD 8.0 > system both contain > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 >=20 > yet, when I try to run a program compiled on the FreeBSD 4.3 system on > the new system, I get > /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required b= y "pipetype" >=20 > So - there must be some compatibility libraries somewhere. I've > looked in Packages and in Distributions, and didn't see what I'm > looking for (probably looking right at it). =20 It's in ports, misc/compat4x.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktbTQ4ACgkQEnfvsMMhpyX0bgCfa/4vyra4Z6LeJSeZf3NIdhAG QfoAoIHNZnvEOenxIr+pWOMkUKGgA5Io =AwpH -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 19:48: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 2B0841065672 for ; Sat, 23 Jan 2010 19:48:32 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 030878FC1A for ; Sat, 23 Jan 2010 19:48:31 +0000 (UTC) Received: from pd5ml2no-ssvc.prod.shaw.ca ([10.0.153.164]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 23 Jan 2010 12:48:30 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=tDpkF8CQAtL7H52t/fGp9w==:17 a=6I5d2MoRAAAA:8 a=8tcuhBzweJG54YiPjMYA:9 a=diVrd-Kszn-G6oVOV7TvyHcrjCEA:4 a=SV7veod9ZcQA:10 Received: from unknown (HELO DaleHPLaptop) ([68.144.196.5]) by pd5ml2no-dmz.prod.shaw.ca with ESMTP; 23 Jan 2010 12:48:30 -0700 From: "Dale Scott" To: "'Martin McCormick'" , References: <201001231401.o0NE1f9j034930@dc.cis.okstate.edu> In-Reply-To: <201001231401.o0NE1f9j034930@dc.cis.okstate.edu> Date: Sat, 23 Jan 2010 12:48:32 -0700 Message-ID: <005301ca9c65$0b42af30$21c80d90$@ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-ca Thread-index: AcqcNKEwcdNQFU0ETcS8iZFa4xjHugAME2FQ Cc: Subject: RE: sysinstall and the Right Terminal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 19:48:32 -0000 Using Ubuntu 9.10 (Karmic Koala) and GNOME Terminal 2.28.1, $TERM is Xterm. $ echo $TERM Xterm $ The only thing I'd change about the mapping is that I'd rather flash the screen instead of ringing the bell. > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Martin McCormick > Sent: January-23-10 7:02 AM > To: freebsd-questions@freebsd.org > Subject: Re: sysinstall and the Right Terminal > ... > Is TERM = "linux" or something else? > From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 21:08: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 1B3DE106566C for ; Sat, 23 Jan 2010 21:08:24 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [206.117.18.8]) by mx1.freebsd.org (Postfix) with ESMTP id EE9BE8FC12 for ; Sat, 23 Jan 2010 21:08:23 +0000 (UTC) Received: from [10.0.1.4] (pool-71-109-144-133.lsanca.dsl-w.verizon.net [71.109.144.133]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id o0NL8M7A083380 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 23 Jan 2010 13:08:23 -0800 (PST) (envelope-from bc979@lafn.org) References: <4B594FC0.3010200@el.net> <4B5973AD.8070603@locolomo.org> <772FAD6A-C534-4217-9AA7-274561879E86@lafn.org> <4B59887E.30301@locolomo.org> <4D14E7C8-DFFD-4580-8CD0-99BB3C4EB051@lafn.org> <4B5AE8FB.1030901@locolomo.org> In-Reply-To: <4B5AE8FB.1030901@locolomo.org> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 Message-Id: <9E94EB55-A094-4E65-9820-C74EAF44E3EA@lafn.org> Content-Transfer-Encoding: quoted-printable From: Doug Hardie Date: Sat, 23 Jan 2010 13:08:21 -0800 To: Erik Norgaard X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: clamav-milter 0.95.3 at zoom.lafn.org X-Virus-Status: Clean Cc: freebsd-questions - Subject: Re: pf rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 21:08:24 -0000 On 23 January 2010, at 04:18, Erik Norgaard wrote: > Doug Hardie wrote: >=20 >> This is quite interesting. I can't figure out the rules on my = system.=20 >=20 > Maybe try to simplify, clean up and structure your rules :) >=20 >> Here is the pf.conf file with all comments removed: >> table persist file "/etc/blackhole" >> table persist >> table persist >> table persist file "/etc/mail/whitelist" >> MAILHOSTS =3D "{zool.lafn.org}" >> no rdr on { lo0, lo1 } from any to any >> no rdr inet proto tcp from to any port smtp >> no rdr inet proto tcp from to any port smtp >> rdr pass log inet proto tcp from any to any port smtp -> 127.0.0.1 = port spamd >> pass in log inet proto tcp to $MAILHOSTS port smtp keep state >> pass in log on sis0 reply-to (sis0 192.168.25.1) proto tcp from any = to any port 75 keep state >> block in quick log on $ext_if from to any >=20 > 1. pf allows short cuts, but these also makes it more difficult to = debug. I'd separate NAT from filtering, Ok. I guess you want some white space between them? Here it is with = the white space and comments: ext_if=3D"dc0" =20 table persist file "/etc/blackhole" table persist table persist table persist file "/etc/mail/whitelist" MAILHOSTS =3D "{zool.lafn.org}" # NAT/RDR Rules no rdr on { lo0, lo1 } from any to any no rdr inet proto tcp from to any port smtp no rdr inet proto tcp from to any port smtp rdr pass log inet proto tcp from any to any port smtp -> 127.0.0.1 port = spamd # Filter Rules pass in log inet proto tcp to $MAILHOSTS port smtp keep state pass in log on sis0 reply-to (sis0 192.168.25.1) proto tcp from any to = any port 75 keep state block in quick log on $ext_if from to any Other than the comments I don't see the difference. > that is never use "rdr pass" even though pf allows it. You also need = to understand when rdr takes place to write your filtering rules. That would be really helpful if that information were available = somewhere it could be found. I have not been able to find that = anywhere. =20 >=20 > 2. you can deploy one of two policies: Default block with a whitelist = or default pass with a black list. Mixing these is a bad idea. >=20 > 3. $ext_if =3D dc0? I added that back in above. Somehow it got deleted with the comments. > 4. rdr needs an interface, I'm surprised that pf will parse the above, = and have no idea what it does with it. pfctl -sn should show you the nat = rules. zool# pfctl -sn No ALTQ support in kernel ALTQ related functions disabled no rdr on lo0 all no rdr on lo1 all no rdr inet proto tcp from to any port =3D smtp no rdr inet proto tcp from to any port =3D smtp rdr pass log inet proto tcp from any to any port =3D smtp -> 127.0.0.1 = port 8025 It seems to understand it just fine and it works properly. See man = spamd: The following pf.conf(5) example is suggested: table persist rdr pass inet proto tcp from ! to any \ port smtp -> 127.0.0.1 port spamd > 5. Organize your rules as scetched in last mail, grouping rules for = each interface, it really helps locating where things go wrong. =20 Other than the whitespace and comments they are. >=20 > I have log statements and catch all rules to ensure that if these are = triggered there is something in my ruleset I haven't taken into account. = I avoid using "any" except in default rules. >=20 >> Note: the blackhole file is empty as is the whitelist file. There = is an entry for 216.54.240.150 in spamd database. This is a test = system. >> Here is the output of tcpdump where I have only taken one entry for = each rule. I have listed the rule number at the front of each line: >> Rule 0: 14:01:27.133320 rule 0/0(match): pass in on dc0: = 216.54.240.150.55782 > 206.117.18.7.25: S 2501333595:2501333595(0) win = 65535 >> Rule 1: 02:26:44.755650 rule 1/0(match): pass in on sis0: = 71.109.144.133.40864 > 192.168.25.7.75: S 3941268770:3941268770(0) win = 65535 >> Rule 2: 10:44:45.037918 rule 2/0(match): block in on dc0: = 71.109.162.173.39529 > 206.117.18.7.75: . ack 145 win 65535 = >> Rule 4: 13:51:16.022700 rule 4/0(match): rdr in on dc0: = 216.54.240.150.49821 > 127.0.0.1.8025: S 2371633783:2371633783(0) win = 65535 >>=20 >> I found no entries for rule 3. There is virtually no traffic on this = system other than from me. >> As I look at pf.conf and tie the rules to the entries I get (rule = number at beginning of line): >> no rdr on { lo0, lo1 } from any to any >> no rdr inet proto tcp from to any port smtp >> 0 - no rdr inet proto tcp from to any port smtp >> 4 - rdr pass log inet proto tcp from any to any port smtp -> = 127.0.0.1 port spamd >> pass in log inet proto tcp to $MAILHOSTS port smtp keep state >> 1 - pass in log on sis0 reply-to (sis0 192.168.25.1) proto tcp from = any to any port 75 keep state >> block in quick log on $ext_if from to any >> I have no clue which one is rule 2. The only block is the last entry = but that should never be used because the blackhole file is empty. = pfctl shows the table is empty also. >> The ordering seems to make no sense either. I also note that the man = page for pf.conf indicates in the BNF grammar for pf.conf that log is a = valid entry for no rdr. However, that always generates a syntax error. = Apparently there is no way to log the use of no rdr rules. >=20 > see, things seems to have been swapped around somehow, that rule 4 rdr = is really rule 0 again only now matches for the rdr action, in rule 0 it = matches pass action. or so it appears. >=20 > anyway, to interpret the output of pflog, you need the output from = pfctl -sr and pfctl -sn rather than your config file. zool# pfctl -sr No ALTQ support in kernel ALTQ related functions disabled pass in log inet proto tcp from any to 206.117.18.7 port =3D smtp flags = S/SA keep state pass in log on sis0 reply-to (sis0 192.168.25.1) inet proto tcp from any = to any port =3D 75 flags S/SA keep state block drop in log quick on dc0 from to any zool# pfctl -sn No ALTQ support in kernel ALTQ related functions disabled no rdr on lo0 all no rdr on lo1 all no rdr inet proto tcp from to any port =3D smtp no rdr inet proto tcp from to any port =3D smtp rdr pass log inet proto tcp from any to any port =3D smtp -> 127.0.0.1 = port 8025 >=20 > So, to solve your problem, separate first NAT and filtering. Things = becomes so much more clear. >=20 > Regards, Erik >=20 > --=20 > Erik N=F8rgaard > Ph: +34.666334818/+34.915211157 = http://www.locolomo.org >=20 From owner-freebsd-questions@FreeBSD.ORG Sat Jan 23 22:58: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 08092106566C for ; Sat, 23 Jan 2010 22:58:47 +0000 (UTC) (envelope-from djr@pdconsec.net) Received: from ipmail03.adl2.internode.on.net (ipmail03.adl2.internode.on.net [203.16.214.135]) by mx1.freebsd.org (Postfix) with ESMTP id 885128FC0A for ; Sat, 23 Jan 2010 22:58:46 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEABINW0uWZcBC/2dsb2JhbADWD4Q7BA Received: from goliath.pdconsec.net (HELO smtp.pdconsec.net) ([150.101.192.66]) by ipmail03.adl2.internode.on.net with SMTP; 24 Jan 2010 09:28:44 +1030 Received: from mail1.pdconsec.net ([192.168.1.41] helo=mail1.pdconsec.net) with IPv4:25 by smtp.pdconsec.net; 24 Jan 2010 09:58:42 +1100 Received: from smtp.pdconsec.net ([192.168.1.32] RDNS failed) by mail1.pdconsec.net with Microsoft SMTPSVC(6.0.3790.3959); Sun, 24 Jan 2010 09:58:02 +1100 Received: from [10.14.6.41] ([150.101.192.69] helo=[10.14.6.41]) with IPv4:25 by smtp.pdconsec.net; 24 Jan 2010 09:58:42 +1100 Message-ID: <4B5B7EFA.3090501@pdconsec.net> Date: Sun, 24 Jan 2010 09:58:02 +1100 From: David Rawling User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <122100.82791.qm@web38308.mail.mud.yahoo.com> In-Reply-To: <122100.82791.qm@web38308.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Jan 2010 22:58:02.0245 (UTC) FILETIME=[83F9DB50:01CA9C7F] Subject: Re: Error after booting for second time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 22:58:47 -0000 On 24/01/2010 2:35 AM, macondo wrote: > I installed fbsd8 and after booting for the second time, got this error message: > > "acd1: FAILURE-unknown CMD (0x03) ILLEGAL REQUEST asc=0x20 asq=0x00" > > It won't allow me to continue booting... > > Any ideas? Thanks. > > I see that message or similar messages if I boot [many|most] of my FreeBSD systems with the FreeBSD disc in the drive still. Try pulling the DVD from the drive before you reboot. Dave. -- David Rawling PD Consulting And Security Mob: +61 412 135 513 Email: djr@pdconsec.net