Re: Installing FreeBSD on a USB stick.

2010-02-16 Thread Christer Solskogen
On Mon, Feb 15, 2010 at 6:26 PM, Tim Judd taj...@gmail.com wrote:

 And I agree with this 'Fbsd1' user (I wish 'Fbsd1' would update his
 MTA with a real name) that since Christer is who uses the product, he
 should look into it.

I'm probably a bit paranoid, but when someone who is not using their
real name, post a email saying something like CLIK ON DIS LINK PLZ
/and/ Websense kicks in, my paranoia takes over :)

-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update - Automatic merge

2010-02-16 Thread Peter Kirk
Updating freebsd 7.2 to 8 and fan the following command 

freebsd-update upgrade -r 8.0-RELEASE

Everything goes through fine but then it gets to a point and its says 

The following file could not be merged automatically: /etc/amd.map
Press Enter to edit this file in vi and resolve the conflicts
manually...

It goes through hundreds of files, and it wants me to do the editing all
myself, is there not automatic way to do this or just a simple yes no
like mergemaster would ask?  This would take forever on our production
servers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd-update server

2010-02-16 Thread Andreas Nilsson
Hello,

I have a need to ship updates to a customized freebsd install, and thought
that freebsd-update could serve me. However
http://www.freebsd.org/cgi/cvsweb.cgi/projects/freebsd-update-server/ is
rather old and misses amd64 builds. There must be newer code around since
freebsd-update can be used to update to latest 8.0-RELEASE on amd64. Where
can I find it?

Best regards
Andreas Nilsson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: booting off a ZFS pool consisting of multiple striped mirror vdevs

2010-02-16 Thread Dan Naumov
 I don't know, but I plan to test that scenario in a few days.

 Matt

Please share the results when you're done, I am really curious :)


 It *should* work... I made changes a while back that allow for multiple
 vdevs to attach to the root.  In this case you should have 3 mirror
 vdevs attached to the root, so as long as the BIOS can enumerate all of
 the drives, we should find all of the vdevs and build the tree
 correctly.  It should be simple enough to test in qemu, except that the
 BIOS in qemu is a little broken and might not id all of the drives.

 robert.

If booting of a stripe of 3 mirrors should work assuming no BIOS bugs,
can you explain why is booting off simple stripes (of any number of
disks) currently unsupported? I haven't tested that myself, but
everywhere I look seems to indicate that booting off a simple stripe
doesn't work or is that everywhere also out of date after your
changes? :)


- 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-unsubscr...@freebsd.org


freebsd-update - Automatic merge

2010-02-16 Thread Peter Kirk
Updating freebsd 7.2 to 8 and fan the following command 

freebsd-update upgrade -r 8.0-RELEASE

Everything goes through fine but then it gets to a point and its says 

The following file could not be merged automatically: /etc/amd.map
Press Enter to edit this file in vi and resolve the conflicts
manually...

It goes through hundreds of files, and it wants me to do the editing all
myself, is there not automatic way to do this or just a simple yes no
like mergemaster would ask?  This would take forever on our production
servers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing FreeBSD on a USB stick.

2010-02-16 Thread Fbsd1

Christer Solskogen wrote:

On Mon, Feb 15, 2010 at 6:26 PM, Tim Judd taj...@gmail.com wrote:


And I agree with this 'Fbsd1' user (I wish 'Fbsd1' would update his
MTA with a real name) that since Christer is who uses the product, he
should look into it.


I'm probably a bit paranoid, but when someone who is not using their
real name, post a email saying something like CLIK ON DIS LINK PLZ
/and/ Websense kicks in, my paranoia takes over :)

Yea like Christer Solskogen is your real name. Are you that naive that 
you believe a name used on a email address has any truth in who really 
is using it. If you have nothing to say about the article you should 
have kept your paranoia to your self instead of questioning the 
integrity of the writer. There was no reason to make your first reply. 
And even after being told your websence software is in error you still 
continue mouthing nonsense.


Once again YOU SHOULD BE ASKING YOUR WEBSENSE SOFTWARE VENDOR WHAT ARE 
THE EXACT REASONS THEY FLAGGED THIS SITE. OTHER POSTERS HAVE ALL READY 
TOLD YOU THAT FALSE POSITIVES ARE COMMON FROM VENDORS OF SUCH SCAM 
SERVICES AS WEBSENSE. NOBODY HAS A GUN TO YOUR HEAD TO CLICK ON A LINK. 
THAT IS YOUR CHOOSE OR NOT AND NOBODY HERE ON THE LIST HAS THE LEAST 
INTEREST IN WHAT YOU CHOOSE TO CLICK ON SO KEPT IT TO YOUR SELF.


Any reply from this point on just marks you as a flamer.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FTP troubles with Roundcube vacation plugin

2010-02-16 Thread Frank Bonnet

Hello

I'm in trouble with vacation plugin which perform an FTP session at 
localhost , for an obscure PAM/FreeBSD reason the FTP session is not 
always working ...


The machine runs FreeBSD 7.2-R with Dovecot 1.2.10 imap server

Any clarification welcome !
Thank you.

Sometimes it works well

connection from localhost (127.0.0.1)
Feb 16 13:21:10 mail ftpd[46479]: FTP LOGIN FROM localhost as bonj
Feb 16 13:21:10 mail ftpd[46480]: FTP LOGIN FROM localhost as bonj
Feb 16 13:21:29 mail ftpd[46541]: connection from localhost (127.0.0.1)
Feb 16 13:21:29 mail ftpd[46541]: FTP LOGIN FROM localhost as bonj
Feb 16 13:21:29 mail ftpd[46542]: connection from localhost (127.0.0.1)


then suddenly it stops working

Feb 16 13:23:19 mail ftpd[46782]: connection from localhost (127.0.0.1)
Feb 16 13:23:19 mail ftpd[46782]: pam_acct_mgmt: new authentication 
token required

Feb 16 13:23:19 mail ftpd[46782]: FTP LOGIN FAILED FROM localhost
Feb 16 13:35:55 mail ftpd[48202]: connection from localhost (127.0.0.1)
Feb 16 13:35:55 mail ftpd[48202]: pam_acct_mgmt: new authentication 
token required

Feb 16 13:35:55 mail ftpd[48202]: FTP LOGIN FAILED FROM localhost
Feb 16 13:35:55 mail ftpd[48203]: connection from localhost (127.0.0.1)
Feb 16 13:35:55 mail ftpd[48203]: pam_acct_mgmt: new authentication 
token required



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing FreeBSD on a USB stick.

2010-02-16 Thread Christer Solskogen
On Tue, Feb 16, 2010 at 2:33 PM, Fbsd1 fb...@a1poweruser.com wrote:
 Christer Solskogen wrote:

 On Mon, Feb 15, 2010 at 6:26 PM, Tim Judd taj...@gmail.com wrote:

 And I agree with this 'Fbsd1' user (I wish 'Fbsd1' would update his
 MTA with a real name) that since Christer is who uses the product, he
 should look into it.

 I'm probably a bit paranoid, but when someone who is not using their
 real name, post a email saying something like CLIK ON DIS LINK PLZ
 /and/ Websense kicks in, my paranoia takes over :)

 Yea like Christer Solskogen is your real name.

It is.

 Are you that naive that you
 believe a name used on a email address has any truth in who really is using
 it.

What the hell makes you belive that?

 If you have nothing to say about the article you should have kept your
 paranoia to your self instead of questioning the integrity of the writer.
 There was no reason to make your first reply. And even after being told your
 websence software is in error you still continue mouthing nonsense.


So you don't see the problem here, do you? You post anonymously on the
mailing list, post a link where the hostname pretty much looks like
some place where you get your computer full of virus, and websense
kicks in. If you don't see that as reason to be a bit more aware of
what you have to offer you are retarded.

 Once again YOU SHOULD BE ASKING YOUR WEBSENSE SOFTWARE VENDOR WHAT ARE THE
 EXACT REASONS THEY FLAGGED THIS SITE. OTHER POSTERS HAVE ALL READY TOLD YOU
 THAT FALSE POSITIVES ARE COMMON FROM VENDORS OF SUCH SCAM SERVICES AS
 WEBSENSE. NOBODY HAS A GUN TO YOUR HEAD TO CLICK ON A LINK. THAT IS YOUR
 CHOOSE OR NOT AND NOBODY HERE ON THE LIST HAS THE LEAST INTEREST IN WHAT YOU
 CHOOSE TO CLICK ON SO KEPT IT TO YOUR SELF.


And when you tell me that Websense is a scam it must be because your
site is full of evil stuff. Go away!


 Any reply from this point on just marks you as a flamer.


And your post don't make you one? You're not even able to keep calm
when people asks you a simple question. Still wonder why I think your
intentions are not legit?

-- 
chs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: iso license

2010-02-16 Thread Ross Cameron
On Mon, Feb 15, 2010 at 10:43 PM, tristan tristan@hotmail.com wrote:
 the 8.0-RELEASE-i386-dvd1.iso.gz  is under some compilation copyright. what 
 does this mean, and can i freely edit the iso, rename it, and sell it?
 can i get a copy of the license for the 8.0-RELEASE-i386-dvd1.iso.gz? i want 
 to do what Apple did with FreeBSD - edit, rename, and sell, can i do that
 with the iso?

To be honest considering that you can't understand the extraordinarily
simple BSD license I doubt you'll get anywhere far.

Secondly Apple didn't take FreeBSD and rebrand it, OS X is a far more
complex beast than that.
Their kernel is a Mach based microkernel and the BSD layer is
merely one of the thread stacks that plug into it.

What are you actually trying to accomplish?
As I suspect that you are very likely to be asking for assistance
on a non-stop basis.




-- 
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NOW what?

2010-02-16 Thread Gary Kline
On Tue, Feb 16, 2010 at 11:32:29AM +0900, Byung-Hee HWANG wrote:
 Gary Kline kl...@thought.org writes:
 
  [...]
  If you look is /usr/ports/audio you will find the festival
  ports.  
2 drwxr-xr-x  3 root  wheel512 Jan 25 20:13 festival
2 drwxr-xr-x  2 root  wheel512 Jan 27 03:07 festival-freebsoft-utils
 2 drwxr-xr-x  2 root  wheel512 Apr  8  2009 festlex-cmu
 
  are some of them.  When you use the Konqueror browser and
  have festival correctly installed, you can mouse-swipe a
  bunch of text and click on the Tools drop-down and have the
  text read aloud to you.
 
  It is fairly difficult to get a computer produce human
  speech.  I found out just some of the problems recently when
  I began looking at some of the code.  Much of festival is
  written in C++; that I understand somewhat.  Other parts are
  written in some kind of LISP; I do not understand LISP very
  well. 
 
 LISP is from Tao. That's why it is not easy to people. 
 
Anyway, the point here is that when I find a long,
  long essay on some philosopher and have to read it, having is
  spoken to me is *MUCH* easier than making my eyes struggle
  thru the essay.  
 
  So far, there are plug-ins to firefox-3 that attempt to read
  text to you, but nothing I can get to work.  Gnome probably
  does have speech apps by now, but they probably rely on
  festival as a back-end.
 
 Well i cannot produce the problem on my desktop -- FreeBSD
 8.0-RELEASE. And for now, actually i can't launch firefox because my
 memory is so low (256M). Instead i use epiphany, which play well under
 low memory system. Then your -RELEASE version and default GUI
 environment(eg., KDE, GNOME)? 
 
 Or i'd like to say that you should take to report as bug by send-pr. 
  


My environment is primarily KDE, with some Gnome apps.  I'm
running 7.1 right now but will soon upgrade to 7.3.  It is
not a bug that Konqueror is the only browser to offer the
festival speech uyilities;  but it would be nice if other
browsers had the same option.

gary


 Sincerely,
 
 -- 
 ? ?(?) | .. ?? 15??..
 
 My voice is out of shape. And honestly, I'm sick of hearing myself sing.
   -- Johnny Fontane, Chapter 12, page 155
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update server

2010-02-16 Thread Jason

I have not built on 8.0, however the update code should work just fine on a
custom kernel. The article I wrote is for amd64.

I am doing that myself, and I have written an article on it. It is also
pending a commit to the FreeBSD Documentation Project.

http://www.experts-exchange.com/articles/OS/Unix/BSD/FreeBSD/Build-Your-Own-FreeBSD-Update-Server.html

Hope this is helpful,
Jason

On Tue, Feb 16, 2010 at 11:46:38AM +0100, Andreas Nilsson thus spake:

Hello,

I have a need to ship updates to a customized freebsd install, and thought
that freebsd-update could serve me. However
http://www.freebsd.org/cgi/cvsweb.cgi/projects/freebsd-update-server/ is
rather old and misses amd64 builds. There must be newer code around since
freebsd-update can be used to update to latest 8.0-RELEASE on amd64. Where
can I find it?

Best regards
Andreas Nilsson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update - Automatic merge

2010-02-16 Thread Steve Franks
Search the list archives for emails pertaining to mergemaster.rc - it
worked wonders for me!

Steve


On Tue, Feb 16, 2010 at 3:55 AM, Peter Kirk pete...@korbitec.com wrote:
 Updating freebsd 7.2 to 8 and fan the following command

 freebsd-update upgrade -r 8.0-RELEASE

 Everything goes through fine but then it gets to a point and its says

 The following file could not be merged automatically: /etc/amd.map
 Press Enter to edit this file in vi and resolve the conflicts
 manually...

 It goes through hundreds of files, and it wants me to do the editing all
 myself, is there not automatic way to do this or just a simple yes no
 like mergemaster would ask?  This would take forever on our production
 servers
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: simple (and stupid) shell scripting question

2010-02-16 Thread Christian Weisgerber
Nerius Landys nlan...@gmail.com wrote:

 Is there a function, or command line utility, to escape a string,
 making it suitable to be input on the command line?  For example, this
 escape utility would take a input of te st and create an output of
 te\ st.  Other things such as quotes and single quotes would be
 handled as well.

You can use something like this:  sed 's/[^A-Za-z_0-9]/\\/'

Perl has a quotemeta() function and \Q escape sequence for this
purpose, e.g.:

$ perl -e '$_=te st; print \Q$_\E\n'
te\ st

-- 
Christian naddy Weisgerber  na...@mips.inka.de

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Fn key events in Devd

2010-02-16 Thread Anselm Strauss
Thank you, that did it.

Anselm


On Feb 16, 2010, at 03:18 , David Horn wrote:

 On Mon, Feb 15, 2010 at 3:42 PM, Anselm Strauss amsiba...@gmail.com wrote:
 Hi,
 
 is there a way to see all events going through devd?
 
 cat /var/run/devd.pipe
 
 should work for what you need too see from devd.
 
 See the documentation for more details:
 man 8 devd
 
 I have loaded the acpi_asus module, but the default devd rules in 
 /etc/devd/asus.conf don't seem to match for my Fn keys. How can I find out 
 what Fn key produces which event in devd?
 
 Good Luck.
 
 --_Dave

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


'gmirror clear' error

2010-02-16 Thread James Smallacombe


After using gmirror on a 7.2-STABLE server for 6 months, a hardware 
failure followed by a corrupted file system (wouldn't boot cleanly) 
required that I bring up a new server and copy over some of the file 
systems to the new server. I use only one slice, but with the following 
BSD partitions:


/ (incl /usr) clean install 7.2-RELEASE
/usr/local copied from one of the old mirror disks
/var clean install with some files and dirs copied over
/tmp clean
/home (customer data) copied from old disk

Once getting this up and running (production server) on /dev/ad0, I then 
followed the excellent instructions on the wiki here:


http://www.freebsdwiki.net/index.php...,_How_to_setup

in single user mode to set up mirroring on /dev/ad0 and /dev/ad2. One of 
the old disks is still on /dev/ad3 in case we need any old files we might 
have missed.


The only glitch that I ran into following the instructions was when I 
tried to clear out the old gmirror meta data doing a gmirror clear as 
prescribed. I was in a hurry to get the server back up, so I unfortunately 
don't have the exact error, but it basically was telling me the argument 
was not valid, even though the dev names were correct and worked for every 
other step.


The server is up and running fine with it's mirror and the third, old disk 
as you would expect:


Code:

/dev/mirror/gm0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/mirror/gm0s1g on /home (ufs, local, soft-updates)
/dev/mirror/gm0s1d on /tmp (ufs, local, soft-updates)
/dev/mirror/gm0s1e on /usr/local (ufs, local, soft-updates)
/dev/mirror/gm0s1f on /var (ufs, local, soft-updates)
/dev/ad3s1a on /mnt/OLD (ufs, local)
/dev/ad3s1d on /mnt/OLD/tmp (ufs, local, soft-updates)
/dev/ad3s1e on /mnt/OLD/usr/local (ufs, local, soft-updates)
/dev/ad3s1f on /mnt/OLD/var (ufs, local, soft-updates)
/dev/ad3s1g on /mnt/OLD/home (ufs, local, soft-updates)
devfs on /var/named/dev (devfs, local)

However, I am concerned about old meta data causing problems. The wiki 
states:


Make ABSOLUTELY CERTAIN that you don't have any pre-existing GEOM module 
labels written to either of your drives - because if you do (for instance 
from having futzed about with this before finding this article, or trying 
the article once and then trying it again) it will prevent other things 
from working. So, clean off any preexisting metadata from each drive:


Code:

# gmirror clear /dev/ad0
# gmirror clear /dev/ad2

As I noted, the above produced an error (that I can't recall, 
unfortunately) with both devices.


On boot, I got the following:

Code:

+ad0: 476940MB WDC WD5000AAKS-00D2B0 12.01C02 at ata0-master SATA150
+GEOM_MIRROR: Device mirror/gm0 launched (1/1).
+acd0: DVDR HL-DT-STDVD-RAM GH22LS30/1.02 at ata0-slave SATA150
+ad2: 476940MB WDC WD5000AAKS-00D2B0 12.01C02 at ata1-master SATA150
+ad3: 476940MB WDC WD5000AAKS-00A7B2 01.03B01 at ata1-slave SATA150
+SMP: AP CPU #1 Launched!
+GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install.
+GEOM_LABEL: Label for provider mirror/gm0s1a is ufsid/4b70da022dd1047b.
+GEOM_LABEL: Label for provider mirror/gm0s1d is ufsid/4b70da0d55f96d5b.
+GEOM_LABEL: Label for provider mirror/gm0s1e is ufsid/4b70da0e19c93161.
+GEOM_LABEL: Label for provider mirror/gm0s1f is ufsid/4b70da0e20e9242f.
+GEOM_LABEL: Label for provider mirror/gm0s1g is ufsid/4b70da02f80cbfe5.
+GEOM_MIRROR: Device gm0 already configured.
+GEOM_LABEL: Label for provider ad3s1a is ufsid/4a3ae4de0a56c8cb.
+GEOM_LABEL: Label for provider ad3s1d is ufsid/4a3ae4eb9b4cf2fe.
+GEOM_LABEL: Label for provider ad3s1e is ufsid/4a3ae4ec717e3bed.
+GEOM_LABEL: Label for provider ad3s1f is ufsid/4a3ae4ec312ebf3b.
+GEOM_LABEL: Label for provider ad3s1g is ufsid/4a3ae4dfa451f7f0.
+Trying to mount root from ufs:/dev/mirror/gm0s1a
+GEOM_LABEL: Label ufsid/4b70da022dd1047b removed.
+GEOM_LABEL: Label for provider mirror/gm0s1a is ufsid/4b70da022dd1047b.
+GEOM_LABEL: Label ufsid/4b70da02f80cbfe5 removed.
+GEOM_LABEL: Label ufsid/4a3ae4de0a56c8cb removed.
+GEOM_LABEL: Label for provider mirror/gm0s1g is ufsid/4b70da02f80cbfe5.
+GEOM_MIRROR: Device gm0 already configured.
+GEOM_LABEL: Label for provider ad3s1a is ufsid/4a3ae4de0a56c8cb.
+GEOM_LABEL: Label ufsid/4b70da0d55f96d5b removed.
+GEOM_LABEL: Label for provider mirror/gm0s1d is ufsid/4b70da0d55f96d5b.
+GEOM_LABEL: Label ufsid/4a3ae4eb9b4cf2fe removed.
+GEOM_MIRROR: Device gm0 already configured.
+GEOM_LABEL: Label for provider ad3s1d is ufsid/4a3ae4eb9b4cf2fe.
+GEOM_LABEL: Label ufsid/4b70da0e19c93161 removed.
+GEOM_LABEL: Label for provider mirror/gm0s1e is ufsid/4b70da0e19c93161.
+GEOM_LABEL: Label ufsid/4a3ae4ec717e3bed removed.
+GEOM_MIRROR: Device gm0 already configured.
+GEOM_LABEL: Label for provider ad3s1e is ufsid/4a3ae4ec717e3bed.
+GEOM_LABEL: Label ufsid/4b70da0e20e9242f removed.
+GEOM_LABEL: Label for provider mirror/gm0s1f is ufsid/4b70da0e20e9242f.
+GEOM_LABEL: Label ufsid/4a3ae4ec312ebf3b removed.
+GEOM_MIRROR: Device gm0 already configured.
+GEOM_LABEL: Label 

Re: cannot build GIMP 2.6.8-1 on 8.0-STABLE

2010-02-16 Thread William Bulley
According to Warren Block wbl...@wonkity.com on Mon, 02/15/10 at 16:39:
 
 webkit-gtk2 wants gnome-config to build gstreamer to support video. 
 You can disable the VIDEO option in the webkit-gtk2 config settings, or 
 just disable HELPBROWSER in the graphics/gimp-app port.  Last I looked, 
 the help was very outdated anyway.
 
 Don't know why the webkit-gtk2 build dies, though.

Thanks.  That suggestion allowed me to build the GIMP successfully.

Although I still don't know why the GIMP depends on gnome-keyring...  :-(

Regards,

web...

--
William Bulley Email: w...@umich.edu

72 characters width template -|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/usr/src/UPDATING

2010-02-16 Thread Jamie Griffin

I have a really simple question about updating my system. Does 
/usr/src/UPDATING say when I need to update the kernel and world (obviously 
after updating the sources using csup/cvsup). I've been assuming it does but 
i'm not sure i'm following it correctly. Or, does it just have information 
about 'issues' that may affect the update/upgrade process. The last update on 
freebsd 8.0-RELEASE i've got currently is 8.0-RELEASE-p2. Not sure if there has 
been another since that.

-- 
 
 Jamie

http://www.mythic-beasts.com/~jpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


netcat (/usr/bin/nc) buffer size too small - alternate utilities?

2010-02-16 Thread Nerius Landys
I'm communicating with a server that uses UDP packets.  The server
receives a UDP packet, and responds with a UDP packet by sending one
to the initial sender.  The request packets are always very small in
size, but the response UDP packets can be up to 9216 bytes in size.

I am using netcat like so:

echo $REQUEST_BODY | /usr/bin/nc -w 1 -u $PLAYERDB_HOST $PLAYERDB_PORT

The response always gets truncated to 1024 bytes using netcat.

I wrote my own silly version of netcat specifically suited to my needs
over UDP, in Java. I then call it like so:

echo $REQUEST_BODY | /usr/local/bin/java SendUDP $PLAYERDB_HOST
$PLAYERDB_PORT

(Source code at the end of this message.)

With my Java program, I'm able to get up to 9216 bytes in my UDP
response packet; the response won't be truncated to 1024 bytes like in
netcat.

Now I've read the netcat manpage and it says nothing about any buffer
size or ways to increase it.  I don't really want to use my Java
program because starting up a JVM for each server query is very
expensive.  Any ideas of any other tools like netcat that will enable
me to receive UDP packets up to 9216 bytes in size?

Here's the source code for my SendUDP.java code in case you want to see it:


import java.io.*;
import java.net.*;

public class SendUDP {

  private final static int BUFF_SIZE = 9216;

  public static void main(String[] args) throws IOException
  {
if (args.length != 2) {
  throw new IllegalArgumentException
(\nUsage:\n +
   java SendUDP send-host send-port\n +
 Sends standard input.);
}
if (!(System.in.available()  0)) {
  throw new IllegalStateException(expected system input to send);
}
final InetAddress sendHost = InetAddress.getByName(args[0]);
final int sendPort = Integer.parseInt(args[1]);
final byte[] buff = new byte[BUFF_SIZE];
int read;
int len = 0;
while ((read = System.in.read()) = 0) {
  if (len = buff.length)
throw new IllegalStateException(too much input, won't fit);
  buff[len++] = (byte) read;
}
DatagramPacket pack = new DatagramPacket(buff, len);
pack.setLength(len);
final DatagramSocket sock = new DatagramSocket();
sock.connect(sendHost, sendPort);
sock.send(pack);
pack = new DatagramPacket(buff, buff.length);
sock.receive(pack);
System.out.write(buff, 0, pack.getLength());
  }

}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: netcat (/usr/bin/nc) buffer size too small - alternate utilities?

2010-02-16 Thread Adam Vande More
On Tue, Feb 16, 2010 at 1:42 PM, Nerius Landys nlan...@gmail.com wrote:

 I'm communicating with a server that uses UDP packets.  The server
 receives a UDP packet, and responds with a UDP packet by sending one
 to the initial sender.  The request packets are always very small in
 size, but the response UDP packets can be up to 9216 bytes in size.

 I am using netcat like so:

 echo $REQUEST_BODY | /usr/bin/nc -w 1 -u $PLAYERDB_HOST
 $PLAYERDB_PORT

 The response always gets truncated to 1024 bytes using netcat.

 I wrote my own silly version of netcat specifically suited to my needs
 over UDP, in Java. I then call it like so:

 echo $REQUEST_BODY | /usr/local/bin/java SendUDP $PLAYERDB_HOST
 $PLAYERDB_PORT

 (Source code at the end of this message.)

 With my Java program, I'm able to get up to 9216 bytes in my UDP
 response packet; the response won't be truncated to 1024 bytes like in
 netcat.

 Now I've read the netcat manpage and it says nothing about any buffer
 size or ways to increase it.  I don't really want to use my Java
 program because starting up a JVM for each server query is very
 expensive.  Any ideas of any other tools like netcat that will enable
 me to receive UDP packets up to 9216 bytes in size?


You can try raising OS's UDP buff size:

sysctl kern.ipc.maxsockbuf=8388608

or write an equivalent app in python...

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RTL8192SE WLAN

2010-02-16 Thread Anselm Strauss
Hey,

anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a Asus 
1201N laptop. I successfully compiled the Windows XP driver with ndisgen(8). 
The driver loads and the device is there. On the FreeBSD EeePC wiki it says 
it's a 8191 chip, but when I look at the driver download from Asus and dmesg 
it's reported as 8192. The driver seems to work at least in some way since I'm 
able to scan for networks and get a list. But I cannot connect to a WPA2 
network. Association with the network always fails in wpa_supplicant(8).

Anyone has some experience?

Cheers,
Anselm Strauss___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/src/UPDATING

2010-02-16 Thread RW
On Tue, 16 Feb 2010 18:35:27 +
Jamie Griffin j...@mythic-beasts.com wrote:

 
 I have a really simple question about updating my system.
 Does /usr/src/UPDATING say when I need to update the kernel and world
 (obviously after updating the sources using csup/cvsup). I've been
 assuming it does but i'm not sure i'm following it correctly. Or,
 does it just have information about 'issues' that may affect the
 update/upgrade process. 

It describes updates to the branch  and gives any special instructions.

Since you are using a security branch all the the updates are security
related or severe bugs. So look at the most recent update, currently p2
and compare it with the end of your version string.

You don't have to download the source BTW, you can get the UPDATING file
from here:

http://svn.freebsd.org/base/releng/8.0/UPDATING
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RTL8192SE WLAN

2010-02-16 Thread Paul B Mahol
On 2/16/10, Anselm Strauss amsiba...@gmail.com wrote:
 Hey,

 anybody got the RTL8192SE wireless chip to work with FreeBSD? I bought a
 Asus 1201N laptop. I successfully compiled the Windows XP driver with
 ndisgen(8). The driver loads and the device is there. On the FreeBSD EeePC
 wiki it says it's a 8191 chip, but when I look at the driver download from
 Asus and dmesg it's reported as 8192. The driver seems to work at least in
 some way since I'm able to scan for networks and get a list. But I cannot
 connect to a WPA2 network. Association with the network always fails in
 wpa_supplicant(8).

Maybe there is some kind of timeout, I could send you small patch to test it.
Just post full verbose debug output from wpa_supplicant(8)

Anyway, feel free to test http://www.gitorious.org/NDISulator

 Anyone has some experience?

You are using wpa_supplicant with -D ndis flag, right?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/src/UPDATING

2010-02-16 Thread Jamie Griffin
 It describes updates to the branch  and gives any special instructions.
 
 Since you are using a security branch all the the updates are security 
 related or severe bugs. So look at the most recent update, currently p2 
 and compare it with the end of your version string.
 
 You don't have to download the source BTW, you can get the UPDATING file 
 from here:
 
 http://svn.freebsd.org/base/releng/8.0/UPDATING 

That's a great help, thanks for the information. 

Jamie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD 7.3 RC1 - gmirror - changed devices name

2010-02-16 Thread Gabriel Lavoie
Hello everyone,
 I just upgraded my system to 7.3 RC1, from 7.1, to test it. I had
a lot of trouble with my gmirror setup as none of my providers were
recognized. It happened that the HARDCODED flag was set on both my
providers and my hard disk drives device nodes changed name from 7.1
to 7.3RC1. Removing the HARDCODED flag from a FixIt live CD and
rebooting solved the problem. How comes device nodes can change name
from a release to another? Both my hard disk drives went from ad8 and
ad10 to ad4 and ad6...

Thank you,

Gabriel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/src/UPDATING

2010-02-16 Thread Leslie Jensen



2010-02-16 19:35, Jamie Griffin skrev:


I have a really simple question about updating my system. Does 
/usr/src/UPDATING say when I need to update the kernel and world (obviously 
after updating the sources using csup/cvsup). I've been assuming it does but 
i'm not sure i'm following it correctly. Or, does it just have information 
about 'issues' that may affect the update/upgrade process. The last update on 
freebsd 8.0-RELEASE i've got currently is 8.0-RELEASE-p2. Not sure if there has 
been another since that.



I've put this into /etc/crontab
@daily rootfreebsd-update cron

If any updates are availible I get a mail and all I have to do is run 
freebsd-update install and then reboot.


Very conveinient for me :-)

/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org