Re: freebsd-update upgrade -r 7.4-RELEASE-p12
On Tue, 8 Oct 2013 21:32:39 -0600 (MDT) Mike Brown m...@skew.org wrote: alexus wrote: ok, I just did fetch install and got bumped from p5 to p9 # uname -a FreeBSD XX.X.org 7.4-RELEASE-p9 FreeBSD 7.4-RELEASE-p9 #0: Mon Jun 11 19:47:58 UTC 2012 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # can I take it all the way to -p12? -p10 through -p12 probably didn't involve any kernel changes. Bumping the reported patchlevel isn't considered important enough to warrant building a new kernel. That there's no kernel changes doesn't mean that uname -a info is not updated. If you update the system from p5 to current (p12), and it shows p9 instead p12 the first thing you think is that something on the system update went wrong, not that everything was fine except the update of the file that uname -a reads. If release info patch is p12, it must update the whole system to p12. If you update an app from 2.24.1 to 2.24.2 and doing 'app -v' shows 2.24.1 it means something went wrong, not that update only modified config files and not the binary. If your sources are in /usr/src, do this: grep -v # /usr/src/sys/conf/newvers.sh | head -4 No, uname -a should give the correct answer. Has uname other utility than show information about the operating system implementation? No, and it must be accurate. --- --- Eduardo Morras emorr...@yahoo.es ___ 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: this 48-core box...
On Sat, 21 Sep 2013 12:53:36 -0700 Adrian Chadd adr...@freebsd.org wrote: .. just as a data point - there was a thread a while ago about numeric processing performance on linux vs bsd. It all boiled down to how jemalloc versus the linux allocator(s) allocate blocks. jemalloc will page align things after a certain size. Linux didn't. So when doing numeric processing, there was a lot of cache aliasing going on leading to inefficient cache usage and redundant memory operations. When the same workload on Linux was run on FreeBSD but with the Linux library/allocators, the performance was identical. No-one followed through. I think I may have to write a blog post about it. There's no MALLOC_OPTIONS flag to set/unset this, but adding a new flag to disable a feature is easier (or should be) than implementing new one. The only problem I see to this is if the cache align happens at sbrk/mmap level. -adrian ___ 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 --- --- Eduardo Morras emorr...@yahoo.es ___ 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: e2fsprogs fails to build/compile in FreeBSD 9.1
On Fri, 20 Sep 2013 12:25:12 -0500 Antonio Olivares olivares14...@gmail.com wrote: /usr/local/lib/libintl.a(dcigettext.o): In function `_nl_find_msg': dcigettext.c:(.text+0x94b): undefined reference to `libiconv_open' dcigettext.c:(.text+0x9fa): undefined reference to `libiconv' dcigettext.c:(.text+0xbaf): undefined reference to `libiconv_open' /usr/local/lib/libintl.a(relocatable.o): In function `libintl_set_relocation_prefix': relocatable.c:(.text+0x14b): undefined reference to `libiconv_set_relocation_prefix' Ideas, advice, suggestions, will be greatly appreciated. Perhaps libiconv.so you have installed is newer or older than e2fsprogs need. I remember some moths ago that libiconv was updated and had a similar issuse with fuse msdosfs. Don't know how I fixed it sorry. You can try a portmaster -w libiconv Best Regards, Antonio --- --- Eduardo Morras emorr...@yahoo.es ___ 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: Support
Hi Armando On Tue, 03 Sep 2013 12:01:15 -0500 sopo...@promonitor.com.mx wrote: Hello, i have a Server whith the screen information like attach Server.jpg, assumed that are to save the record of IP cameras like network folder (see network.jpg), but another IP cameras need a FTP folder and other that folder don't have blank spaces. This list eliminates attachments except pgp signatures, smime and vcard, your jpeg images went to /dev/null If possible make this (FTP and other folder network) in the server whit freeBSD, the person what config and install the machine isn't more available so any have the information by they work in this plataform or make changes, so i need makes this adds at they exist. The configuration depends on what ftp server you are running Or have phone number in Mexico how can give me this support Perhaps you may be more comfortable to ask in spanish list? free...@es.freebsd.org Don't remember if it needs subscription to post, but I can forward your mail there (in spanish and without attachments). Tanks for your time. Armando Mayorga Monterrey, Nuevo Leon, Mexico Tel +52 81 8998-0070 --- --- Eduardo Morras emorr...@yahoo.es ___ 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: TLS Range on current thread
On Thu, 29 Aug 2013 22:31:43 +1000 Sumit Raja sumitr...@gmail.com wrote: Hi, I want to add support to the LDC D compiler for FreeBSD, the current version of D has moved to TLS by default. The__tls_get_addr method links correctly but this crashes at runtime on garbage collection as the address range could wrong. What is the best way to determine the address range for the TLS segment for the current thread? I don't know the answer, sorry. But if you don't get any answer from this list, you can try at freebsd-hackers list, there is where developers, gurus and other kinds of monsters reside. Thanks Sumit --- --- Eduardo Morras emorr...@yahoo.es ___ 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: New to Free-BSD with questions.
On Sat, 10 Aug 2013 09:58:07 GMT r_oliva...@juno.com r_oliva...@juno.com wrote: New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System boots from DVD to command line mode. Questions are: A.) Is Xwindows, (X11) included on the DVD copy? Yes, included. B.) If included, what command is used to start it? It's included, but not installed. After boot under command line mode, login as root and type '#pkg_add -r xorg' (without quotes). When install ends, you can use startx or xinit to enter X mode. The default wm is a bit rude, install the one you want, f.ex. '#pkg_add -r kde4', '#pkg_add -r gnome2', '#pkg_add -r xfce4'. After install use '#rehash ' and/or '#hash -r'. Start each wm using proper command, startkde4, startxfluxbox, check docs or sail the web for that. C.) What shell is installed as the standard shell in command line mode? Plain sh. Minimal, standard, works, rocks. D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? The handbook has single html mode. Thank you for your assistance. Ms. R. Olivarez (E-mail: r_oliva...@juno.com HTH --- --- Eduardo Morras emorr...@yahoo.es ___ 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: how to make mkinstalldirs
On Sun, 04 Aug 2013 12:24:46 -0600 Gary Aitken vagab...@blackfoot.net wrote: Can anyone give me some hints on how to manually (or automagically) create mkinstalldirs for a port? ports/graphics/ufraw fails to build due to install: /usr/local/share/glib-2.0/gettext/mkinstalldirs: No such file or directory It's not supposed to be needed if automake is = 1.9, but automake in the ports tree is 1.4. Today I updated my system (9.1) and automake updated from 1.12.6 to 1.14 Perhaps you forget to update the ports tree first Gary --- --- Eduardo Morras emorr...@yahoo.es ___ 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
Does geom_raid1e support raid10e?
Hello, I want to know if geom_raid1e support raid10e level too. The difference between them is that 1e duplicates the 32-64-128-whatever block data size in all n disks in the raid1e but raid10e only between n/2 and n (a try to show it below), making raid10e bigger and more flexible than plains raid1/raid1e or raid10 respectively. In raid1e: Disk D1 D2 D3 D4 D5 Block a1 a1 a1 a1 a1 Block a2 a2 a2 a2 a2 Block a3 a3 a3 a3 a3 In raid10e: Disk D1 D2 D3 D4 D5 Block a1 a1 a1 a2 a2 Block a2 a3 a3 a3 a4 Block a4 a4 a5 a5 a5 In these examples, with block size of 128KB, raid1e will survive to fail of 4 disks and stores 128*3 = 384 KB; raid10e will survive to fail of 2 disks and stores 128*5 = 640 KB. In some literature, raid10e duplicates between 2 and n disks. --- --- Eduardo Morras emorr...@yahoo.es ___ 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 software installation problems
On Wed, 17 Jul 2013 00:32:28 +0800 (CST) chenjunbing1234 chenjunbing1...@126.com wrote: questi...@freebsd.org Iknowvery littleEnglish, and Iwant to learnfreebsd,I was underftp://ftp.freebsd.org/pub/FreeBSD/doc/zh_CN.GB2312/books/handbook/above tutorialto installand preparation, andmeta lot of problems,Imade athreehttp://bbs.chinaunix.net/forum-5-1.htmlforumpostingsentitled:novicestep by stepinstallFreeBSD-9.0-RELEASE,not many peopleto helpMymainproblemis the softwareinstalled,I hopeto get your help. What problems did you met? I don't understand chinese, sorry. What do you try to install? The page http://bbs.chinaunix.net/forum-5-1.htmlforumpostingsentitled:novice doesn't exist. Perhaps PC-BSD may help you to install it. --- --- Eduardo Morras emorr...@yahoo.es ___ 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: [Bulk] FreeBSD upgrade woes (8.3 - 8.4)
On Thu, 11 Jul 2013 04:40:38 -0500 David Noel david.i.n...@gmail.com wrote: I didn't include the make buildworld or make buildkernel for the sake of brevity but yes, I executed them prior to installworld and installkernel. Perhaps make buildkernel was compiled with -j 1, it's known to create a buggy kernel. Check your make configuration. Adding a -B, like make -B -j N buildkernel may work and is fast if -j is set to number or processors, but it's safer do a make -j 1 buildkernel, same for buildworld. HTH --- --- Eduardo Morras emorr...@yahoo.es ___ 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: How do I launch Calligra?
On Thu, 20 Jun 2013 09:02:42 -0700 Ed Flecko edfle...@gmail.com wrote: I've installed Calligra Suite from package, but I'm struggling to figure out how to launch any of its programs??? These are my entries in the handwritten Fluxbox Menu: /usr/local/kde4/bin/kexi /usr/local/kde4/bin/calligrawords HTH Ed --- --- Eduardo Morras emorr...@yahoo.es ___ 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 maximum password length
On Mon, 17 Jun 2013 17:49:56 +0330 takCoder tak.offic...@gmail.com wrote: I need to moderate the input password in my system's user interface. And I believe i have tested longer passwords than that, about 1000 characters long, and there was no limitations, via using this command in a /bin/sh test shell script : echo PASSWORD | pw user mod USER -h 0. If I remember well, any password longer than default size is truncated, so passwords a) 'AhN12Njufsn8794432kjfvsnkkJHNDSMNDKh844mNJKnhjhu8u8424' b) 'AhN12Njufsn8794432kj' have the same salt hash value and both validate the user. Thank you :) --- --- Eduardo Morras emorr...@yahoo.es ___ 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: kldload mrouting.ko
On Mon, 03 Jun 2013 08:41:40 -0400 Fbsd8 fb...@a1poweruser.com wrote: kldload mrouting.ko command gives not found message. How do I load mrouting beside compiling the kernel with option MROUTING in kernel source? There's no mrouting.ko. Perhaps you want ip_mroute.ko ? #kldload ip_mroute.ko --- --- Eduardo Morras emorr...@yahoo.es ___ 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
Clang cannot finds standard system lib libssl.a
Hi, I'm trying to compile a single big file project written in C. It compiled fine, without problems in my develop machine (FreeBSD 9.1 STABLE, Clang3.2) but not on the server (FreeBSD 9.1 Release#0, Clang 3.1). The app uses openssl dtls and links to system ssl libs. Am I missing something? For compile I do: %clang gog_server.c -o gog_server -v -I /usr/include/openssl but I get a lot of undefined references to whole openssl lib functions, structs etc in Link phase: ... gog_server.c:(.text+0x9): undefined reference to `CRYPTO_num_locks' gog_server.c:(.text+0x50): undefined reference to `CRYPTO_num_locks' ... I have manually checked that: a) /usr/lib/libssl.a /usr/lib/libssl.so exist b) The linker has /usr/lib path %clang -print-search-dirs programs: =/usr/bin libraries: =/usr/bin/../lib/clang/3.1:/usr/lib c) Add -Xlinker -L /usr/lib d) Add -Xlinker -l /usr/lib/libssl.a, get this from linker: /usr/bin/ld --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 -o gog_server /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib /tmp/gog_server-8bAHxn.o -l /usr/lib/libssl.a -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o /usr/bin/ld: cannot find -l /usr/lib/libssl.a e) Tried c) and d) without , but get the same answers /usr/bin/ld: cannont find ... Finally, this is the relevant output of last try: % clang gog_server.c -o gog_server -v -I /usr/include/openssl -Xlinker /usr/lib/libssl.a 2err FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0 Thread model: posix /usr/bin/clang -cc1 -triple x86_64-unknown-freebsd9.0 -emit-obj -mrelax-all -disable-free -main-file-name gog_server.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -v -resource-dir /usr/bin/../lib/clang/3.1 -I /usr/include/openssl -fmodule-cache-path /var/tmp/clang-module-cache -fdebug-compilation-dir /home/gowen/clang/Gog -ferror-limit 19 -fmessage-length 0 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-dispatch-method=non-legacy -fdiagnostics-show-option -o /tmp/gog_server-mK51RB.o -x c gog_server.c clang -cc1 version 3.1 based upon LLVM 3.1 default target x86_64-unknown-freebsd9.0 ignoring nonexistent directory /usr/bin/../lib/clang/3.1/include #include ... search starts here: #include ... search starts here: /usr/include/openssl /usr/include/clang/3.1 /usr/include End of search list. /usr/bin/ld --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 -o gog_server /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib /tmp/gog_server-mK51RB.o /usr/lib/libssl.a -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o /tmp/gog_server-mK51RB.o: In function `THREAD_setup': gog_server.c:(.text+0x9): undefined reference to `CRYPTO_num_locks' . and a lot of similar lines. So, Am I missing something? Thanks in advance. --- --- Eduardo Morras emorr...@yahoo.es ___ 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: Clang cannot finds standard system lib libssl.a
On Fri, 31 May 2013 16:12:24 +0200 Tijl Coosemans t...@coosemans.org wrote: CRYPTO_num_locks is in libcrypto so try linking with that in addition to libssl. Now i works, thanks a lot!! Forgot to add -Xlinker /usr/lib/libcrypto.a and -Xlinker /usr/lib/libpthread.a Now everything works as expected. Bytes bite bitter when abuse caffeine... --- --- Eduardo Morras emorr...@yahoo.es ___ 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: freebsd8.2 with /etc mount point can't run correctly
On Tue, 28 May 2013 12:57:41 +0430 s m sam.gh1...@gmail.com wrote: hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. No, starting in single user mode mount / only and will fail to start. I, and others for sure, use single user mode for recovery faulty systems. But as always, they are your feet ;) What's wrong with /usr/local/etc ? It can be wherever you want and have whatever you need. SAM ___ 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 --- --- Eduardo Morras emorr...@yahoo.es ___ 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: swap partition leads to instability?
On Sun, 26 May 2013 01:58:32 -0700 (PDT) M. V. bored_to_deat...@yahoo.com wrote: hi everyone, I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a long time now. But recently I heard from a FreeBSD expert that I shouldn't have swap partition for my server, and having swap partition could make my server unstable. this was so strange for me, and I searched a lot but couldn't find a reason for this claim. so my question is simple: - could having a swap partition, be a bad thing for my FreeBSD server? and if so, why and in what conditions? I never had a problem with swap partitions, but perhaps the FreeBSD expert may refer to one of this three issues I can think about problems with swap, none of them are unstability issues: a) Swap partitions may store info from previous boot, you can use swap encryption for that. b) When using swap files (mounting a swap in a file), at shutdown sometimes there's a race condition and swap is unmounted before it's empty. c) If your system needs to use swap, network apps may show/throw timeouts when swap i/o is heavy. Sometimes b) kicks me but it's my fault because i don't shutdown process properly. Cheers! L --- --- Eduardo Morras emorr...@yahoo.es ___ 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: X11 screen grabber from cmd line
On Thu, 9 May 2013 20:41:45 +0200 Matthias Apitz g...@unixarea.de wrote: Hello, Do we have something in the ports which could do a screen shoot of $DISPLAY, but from the cmd line of an alpha console, and save it as PNG or JPEG? graphics/scrot, it's exports to png, jpeg and can select a zone interactivitly. The command i use is: scrot -s '%Y-%m-%d_%H-%M-%S.png' Thx matthias --- --- Eduardo Morras emorr...@yahoo.es ___ 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: with ACPI=on, 9.1-RELEASE shutdown automatically
On Fri, 10 May 2013 12:34:14 +0200 Xavier xavierfreebsdquesti...@gmail.com wrote: Hi to all, About this email subject, on acer Aspire 5634WLMi machine and 9.1-RELEASE OS, FreeBSD shutdown the machine automatically in few minuts. In freebsd-es a similar problem was reported some months ago. The cause is fan switch off after startup menu and rising temperature. It looks like ec controller problem (Acer doesn't provide documentation about Embedded Controller, all is done by try and error and can damage the laptop) How can I debug the reason of the problem ? A not so good wokaround is down the temperature where cpu Hz is adjusted: #sysctl hw.acpi.thermal.user_override=1 #sysctl hw.acpi.thermal.tz0._PSV=65C #sysctl hw.acpi.thermal.user_override=0 Or downgrade to 8.x Thanks, see you ! ___ 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 --- --- Eduardo Morras emorr...@yahoo.es ___ 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: Diskless question
On Wed, 24 Apr 2013 12:55:08 +0200 Bernt Hansson b...@bananmonarki.se wrote: 2013-04-24 12:30, Arthur Chance skrev: On 04/24/13 09:18, Bernt Hansson wrote: Hello list! I have set up a diskless machine with 8.3-stable and i as a user can log in, but when I try to log in as root it won't work. How to resolv that issue. I have tried with and without password but the computer said no. How did it say no? What does the entry for root in /etc/passwd say? $su Sorry Some shoots in the dark, shield your feet. a)$su - b)exist /root ? c)can you boot in single user mode ? d)exist /bin/csh ? root:*:0:0:Charlie :/root:/bin/csh --- --- Eduardo Morras emorr...@yahoo.es ___ 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: CPU clock rate
On Sat, 20 Apr 2013 13:13:08 +0200 Matthias Apitz g...@unixarea.de wrote: Hello, Do we have something in FreeBSD or its ports to measure the actual CPU clock rate? Thanks matthias Just check sysctl, %sysctl dev.cpu.0.freq From ports I use conky, that shows that info and a lot other under X11. --- --- Eduardo Morras emorr...@yahoo.es ___ 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: Debian/kFreeBSD vs linux jail?
On Thu, 04 Apr 2013 19:50:40 -0500 Joshua Isom jri...@gmail.com wrote: Considering Debian's ported the standard Linux userland to the FreeBSD kernel, I'm wondering if it's possible/practical to use Debian inside of a jail instead of a Linux CentOS jail, which has been documented. I know some applications are linux specific, but are they really linux specific or gnu specific? I'm going to retry getting a printer driver working with cups that had issues with FreeBSD in the past, but I don't know if it's FreeBSD userland or FreeBSD kernel that caused the quirks. Has anyone tried using Debian's kFreeBSD userland inside a jail? Is it just pointless on a FreeBSD system? A bit old tutorial (2011) about this topic http://blog.vx.sk/archives/22-Updated-Tutorial-Debian-GNUkFreeBSD-in-a-FreeBSD-jail.html --- --- Eduardo Morras emorr...@yahoo.es ___ 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: Recipie for CPU souffle'
On Mon, 01 Apr 2013 20:02:02 -0700 Ronald F. Guilmette r...@tristatelogic.com wrote: I really wish that one or the other of those tools allowed setting a threshold CPU temp, beyond which the tool would emit an ear piercing alarm via the motherboard speaker... you know.. in case the regular external stereo speakers are turned off. question What *is* the best way to achieve the above effect, i.e. to arrange for the machine to scream for help in case it is getting too hot? I don't want it to just die, like it is doing now. I want it to scream so that I can rush over and at least try to do an orderly shutdown. /question Among other startup scritps in my laptop, I use this for setup the temperature threshold: root@camibar:/root # cat .setcooling.sh #!/bin/sh sysctl hw.acpi.thermal.user_override=1 sysctl hw.acpi.thermal.tz0._PSV=65C sysctl hw.acpi.thermal.user_override=0 Default value is 101C, which I think is excessive optimistic value. --- --- Eduardo Morras emorr...@yahoo.es ___ 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: Leaking disk space
On Wed, 20 Mar 2013 16:55:34 + Dan Thomas godd...@gmail.com wrote: a) Where do you have the wal files? pg_xlog is symlinked to /usr/local/pglog/pg_xlog (ie, out of the partition mounted as /usr/local/pgsql which is exhibiting this behaviour). As Matthew Seaman says in other answer, this is the problem. Check http://lists.freebsd.org/pipermail/freebsd-fs/2013-March/016702.html and next thread messages. It seems that writing file follow the symlink but makes a shadow/ghost file entry in original directory/disk. I see that you don't have trim enabled on the postgres fs, tunefs -p /usr/local/pgsql/ shows option t disabled. Is trim enabled on the fs where the symlink points? (Show the output of tunefs -p /dev/_don't_know_the_dev_entry_name) b) Are you sure that unused/old wal files are erased? As above, but yes they seem to be being deleted properly c) Do you have any postgres log level activated (like the ones used for long queries)? Yes we have slow query logging enabled. pg_log is symlinked out of that partition to /usr/local/pglog/pg_log as well. d) Does your queries have GROUP BY on very big data sets? Those create big temporal data files. Yes we do a lot of that! However there are definitely no unlinked files, and the problem doesn't go away when pg is shut down. However a reboot does fix it. Those questions were only to check and be sure is not a normal temp files problem. What does dmesg show about filesystem check? Does it mark dirty filesystem? # WARNING!! Make a backup first!!! If you stop postgres, and shoot #fsck_ffs -E /dev/mfid1s1d , does the problem solve? # END WARNING!! Please post the output of the fsck_ffs. If the fsck_ffs doesn't solve the problem, check if there exist a lost+found directory on /usr/local/pgsql/ and it's content. e) With question a) and b), do you use streaming replication? Yes we do. This problem is not present on the warm standby servers that are being streamed to. We have failed over to the warm standbys previously (we're currently doing this regularly to work around the problem without too much downtime). Once we switch the warm standby to primary, it begins leaking space. It may store oldall wal files, but it seems a bug at filesystem level. Trim support in ufs was added to 9.0 and backported to 8 and may be a candidate to watch. --- --- Eduardo Morras emorr...@yahoo.es ___ 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: Leaking disk space
On Wed, 20 Mar 2013 15:23:18 + Dan Thomas godd...@gmail.com wrote: Hi Guys, We're seeing a problem with some of our FreeBSD/PostgreSQL servers leaking quite significant amounts of disk space: df -h /usr/local/pgsql/ Filesystem SizeUsed Avail Capacity Mounted on /dev/mfid1s1d1.1T772G222G78%/usr/local/pgsql du -sh /usr/local/pgsql/ 741G/usr/local/pgsql/ Stopping Postgres doesn't fix it, but rebooting does which points at the OS rather than PG to me. However, the leak is only apparent in the dedicated pgsql partition, and only on our database servers, so PostgreSQL seems to at least be involved. The partition itself is a relatively standard UFS partition: grep /usr/local/pgsql /etc/fstab /dev/mfid1s1d /usr/local/pgsqlufs rw 2 2 tunefs -p /usr/local/pgsql/ tunefs: POSIX.1e ACLs: (-a)disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f)16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) LSOF isn't showing any open files: lsof +L /usr/local/pgsql/ | awk '{ print $8 }' | grep 0 | wc -l 0 We're not creating filesystem snapshots: find /usr/local/pgsql/ -flags snapshot Not all of our servers are leaking space, it's only the more recently-installed systems. Here's a quick breakdown of versions: FreeBSD PostgreSQL Leaking? 8.0 8.4.4no 8.2 9.0.4no 8.3 9.1.4yes 8.3 9.2.3yes 9.1 9.2.3yes Any ideas what's going on here, or where we could start debugging? Somethings to check: a) Where do you have the wal files? b) Are you sure that unused/old wal files are erased? c) Do you have any postgres log level activated (like the ones used for long queries)? d) Does your queries have GROUP BY on very big data sets? Those create big temporal data files. e) With question a) and b), do you use streaming replication? Thanks, Dan --- --- Eduardo Morras emorr...@yahoo.es ___ 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 9 and Windows XP
On Sat, 9 Mar 2013 12:07:41 -0800 (PST) leeoliveshackelf...@surewest.net wrote: Good afternoon, FreeBSD enthusiasts. Can FreeBSD 9.1 be installed on a computer on which Windows XP currently resides? If so, how can this installation be done? In particular, is there a way to install 9.1 so that it can be booted from the traditional master boot record? It is important that, when I am done, I can still boot to Windows XP, as I must run some applications not available on FreeBSD. If the idea I am proposing is not feasible with version 9.1, will it work with 8.3? Any comments are appreciated. If this question has already been asked many times before, please just let me know where to look to find the answer. Thanks. Newbie502 As an addon to other answers, you can install VirtualBox, create a minimal hard disk with MBR boot menu that points to the WindowsXP partition. This way you don't need to restart in WinXP. The same can be done from WinXP side, a minimal hd with MBR boot menu to startup the FreeBSD. --- --- Eduardo Morras emorr...@yahoo.es ___ 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 9 and Windows XP
On Mon, 11 Mar 2013 14:14:05 +0100 Ralf Mardorf ralf.mard...@rocketmail.com wrote: On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote: As an addon to other answers, you can install VirtualBox, create a minimal hard disk with MBR boot menu that points to the WindowsXP partition. This way you don't need to restart in WinXP. The same can be done from WinXP side, a minimal hd with MBR boot menu to startup the FreeBSD. This does work? I followed the instructions (only once) from this page http://geekery.amhill.net/2010/01/27/virtualbox-with-existing-windows-partition/ and it works under FreeBSD 8.3 and WinXP. I've got XP as VBox's vdi and just a folder to share content with *nix. It would be possible to install XP bootable without VBox to a ntfs partition, to boot it directly and if wanted, to use it also as guest in VBox? I use it that way, my set up is 2 primary mbr partitions, one with XP ntfs, the other with FreeBSD ufs2+su. VBox installed on both. I only use VBox to get applications for an iPad and to copy PDFs to an iPad, since ad-hoc networks until now never worked for me, but I also would like to test hardware sometimes, impossible with VBox, so sometimes it would be nice to have a real Windows install. If this should work, will it become impossible to use snapshots made by VBox? Will there be no confusion regarding to different drivers for the XP booted as VBox guest and booted directly? Don't know if VBox snapshots are usable, never tried. There's no confusion, WinXP access directly to the XP partition and FreeBSD to FreeBSD partition. If you don't play with VBox internal commands you are safe. I got a dirty fs on FreeBSD when WinXP crashed once. HTH Regards, Ralf --- --- Eduardo Morras emorr...@yahoo.es ___ 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: What is your favorite board for a micro system?
On Sat, 09 Mar 2013 00:53:27 +0100 Erik Nørgaard norga...@locolomo.org wrote: Hi! What is your favorite mini/micro/nano/pico-itx platform for home projects? I currently run a home server on an Intel mini-itx board but was looking around for something fun to play with with the following specs: - mini-itx or smaller, low profile - fanless - low power 12V external PSU - 1 LAN, preferably 2 - 2 USB2/3 - Flash bootable, but with option for hdd boot - GPIO would be fun - hdmi out would be nice I have tried VIA boards but found they were flacky... Any suggestion regarding ARM vs Intel based? I'm playing now with GK802, an arm based one. Freebsd don't run on it :( and LAN is wifi b/g/n + bluetooth https://www.miniand.com/products/GK802%20Android%20Mini%20PC The advantage over similar ones is that internal flash memory is a micro sd card, so you can build your os on other machine plug it in Thanks, Erik -- M: +34 666 334 818 T: +34 915 211 157 ___ 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 --- --- Eduardo Morras emorr...@yahoo.es ___ 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
pkg_add problems after upgrading to 9.1-RELEASE and a fix
Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, while recompiling the ports and packages i get a lot off errors trying to get 9.1-RELESASE packages and all recompiled from ports. The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.org server. I solved it after changing the path to fetch from 9-STABLE instead. A better fix i think it's to add that directory or make a ln to stable. The url where add the fault directory is: ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/ the fault directoy is : ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/ An example of the error is: root@camibar:/usr/ports/www # pkg_add -r zen-cart Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz' by URL I made the recompilation of ports with portmaster as noted in 'man portmaster' with this options (from memory, it's not a cp) #portmaster -P -R -D `cat /root/installed_ports_list` Thanks In Advance --- --- Eduardo Morras emorr...@yahoo.es ___ 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: AMD Radeon CUDA under FreeBSD?
At 20:00 24/06/2012, Dennis Glatting wrote: I found useful blogs regarding NVIDIA but nothing useful how to get CUDA installed for the AMD Radeon series chips under FreeBSD, native or Linux. Would someone please point me to a clue? Google wasn't helpful. AFAIK AMD has no official driver for freebsd. Most of the AMD GPGPU tools only work for Windows, some on Linux. You must know that AMD doesn't have a CUDA licence, only an OpenCL, so you can't use CUDA code on AMDs gpus. HTH ___ 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: backup tools
At 02:37 23/06/2012, Chad Perrin wrote: On Fri, Jun 22, 2012 at 08:47:40PM +0200, Roland Smith wrote: On Fri, Jun 22, 2012 at 10:09:03AM -0600, Chad Perrin wrote: I'm setting up a new backup server using FreeBSD. It will be used for backing up laptops, which will not be connected to the network by any kind of schedule, so backups will be initiated manually rather than by cron or other scheduled procedures. What are the laptops running? FreeBSD, Debian, and/or Ubuntu. There's at least one of each. I apologize for not mentioning that sooner. I had a feeling I'd overlook something. If it must work with all OS and you have no restrictions on network you can: a) activate PXE/WOL on bios b) start the laptop via PXE using a freebsd/linux/whatever_os_you_want_to_use c) use dd piped to rsync to make the backups This way you don't need to install anything on your freebsd ubuntu debian. ___ 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: No surround sound with Creative SB Live! card
At 21:07 15/06/2012, Edward M wrote: What do you mean by a decoder is needed? A decorder is either a special plugin/codex that gets installed into the OS ( codex called a52dec) and decoding happens internally. or a hardware device like a stereo receiver that is able to understand Dolby Digital signals from the DVD through S/PDIF connector from the sound card to decorder. however, it only appears you are only missing a52dec? Have you installed a52dec from ports/audio/gstreamer-plugins-a52dec/ ? Perhaps ffmpeg was compiled without some codecs. If you check GPL codecs off, a52 and others are not compiled. Deinstall ffmepeg, do a manual compilation with cd /usr/ports/multimedia/ffmpeg make config install clean, checking the options you want. ___ 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: Is ZFS production ready?
At 16:13 21/06/2012, you wrote: On 6/21/2012 4:22 PM, Wojciech Puchar wrote: stick with UFS. It JUST WORKS(R), and is trusty. And it works fast. What options are there for 2TB file systems with UFS? With UFS2 you can use file systems up to 2^73 (8 ZB). The problem is not UFS, but the old tools used to format the disk like fdisk and bsdlabel. For big file systems you must use gpart. The problem with file system recovery times when the worst thing happens(tm) is soluted/mitigated with su+j on FreeBSD9. HTH ___ 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: Performance and mouse problems
Can you disable the touchpad? In my laptop (Asus K5) if i press Fn+F9 the touchpad is disabled via ACPI and not detected by HAL nor Xorg. ___ 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: Lots of lagging after upgrade of xorg.
At 13:57 23/04/2012, you wrote: Hello list. I'm experiencing a lot of lagging after I've upgraded xorg. I use XFCE and just changing from one desktop to another now feels really slow. If I click on a button in an application I have to move the mouse pointer before there's a reaction to the click. In a terminal window I also have to move the pointer outside before the input from the keyboard is registered. Maybe it's a mouse problem. Anyway I need some help if it's a setting that has to be changed. My system, 8.2-RELEASE-p6, worked well before the upgrade of xorg. Thanks Have you reinstalled the graphic card drivers? /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
Re: Kind OFF Topic. FreeBSD for Blocking URLS? Nanny?
At 05:27 10/04/2012, you wrote: Hello all. Thanks in advance for your time and comments. Perhaps this app may help you: http://sourceforge.net/projects/teachercp/ There are commercial apps too that do the same and more. HTH Jorge Biquez ___ 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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash
At 16:03 29/03/2012, you wrote: Alright, new data. It happened to crash about 10 minutes after I came in this morning and I ran some stuff in the DDB. I have no idea what information is useful, but perhaps someone will see something out of the ordinary? http://feld.me/freebsd/esx_crash/ Don't know about ESXi but on others VM Managers i can change the chipset emulation from ICH10 to ICH4. Can you change it to an older chipset too? Thanks... ___ 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: Unable to upgrade packages on FreeBSD
At 19:16 01/02/2012, David Jackson wrote: They seem to have failed because they couldn't find the package on the download site. Other errors I got were that the package it had downloaded had an unrecognized format. I did not save them, there is really no way to save a copy of them unless I copy them by hand. I will have to rerun the commands to get the error messages and then transfer them by hand. In my first mail i didn't think about this, but: In your OP you don't say the version of FreeBSD you're running. Show a uname -a please. Is it a RELEASE, like 8.2-RELEASEpx? If it's a RELEASE perhaps you don't know that the packages are frozen but all are known to work without problems. Switch to -STABLE if you want access newer packages but perhaps there will be problems with them from time to time. Check -stable maillist. HTH ___ 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: Unable to upgrade packages on FreeBSD
At 11:42 31/01/2012, you wrote: While your offer is made with the best of intentions, I doubt the project would feel able take you up on it. The problem is simply one of security -- while crowd-sourcing package compilation would be a pretty sweet technical solution to much of the scaling and resource cost problems, it offers far too much opportunity for people up-to-no-good to be able to introduce trojans, spyware and so forth. No no, i didn't said i will make them manually, i wanted to said that i can add one server amd64 to the pool of automate servers that make the packages, i think it works automatically and distribute workload like boinc or other similar net. About the people which introduce trojans, rootkits etc... i didn't think on that issue and is really a very important stopper. With the rest of your mail, i agree with you, my idea was completly halfthinked (is it the correct word?). Mental Note to remember: Beside daemons, there are devils. L ___ 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: Unable to upgrade packages on FreeBSD
At 00:45 31/01/2012, RW wrote: Making it work like Ubuntu would need a lot more hardware and a lot more work from port maintainers to support branching the ports tree. At the moment there aren't really enough to maintain one tree. Making a resume/summary of the thread; more hardware, time and people are needed to maintain a package system up-to-date. I have a free server (amd64 freebsd8.2p6), if i built all packages with their standard options, that's without make config, Can i upload them to the official package ftp? Should i make my own un-official ftp package server to allow others download them? Perhaps it's not clear, this answer has ironic mode off, joking mode off and i want to collaborate making the standard packages. When i needed the package system? When i don't want a downtime if a server must be reinstalled. Compiling everything takes too much time for non critical ports (bash, gcc4.6, ...), even at first i pkg_add important apps, when everything is working, i update them by ports. L ___ 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: Old Bug or not?
At 13:48 26/01/2012, you wrote: There seems to be an old BUG, http://osdir.com/ml/freebsd-bugs/2006-04/msg00309.html that has recently been noted on the Postfix forums. Was this bug ever actually addressed? In other words, is this an actual bug or is it working as intended? If it is a bug, and since it is apparently nearly 5 years old, will anyone actually ever look at it? The bug PR is at http://www.freebsd.org/cgi/query-pr.cgi?pr=95559cat=kern, it's marked as open. Have you checked your firewall? Perhaps the fix for pf works in yours. IMO it looks like Xing LI found how to solution this issue and forgot to say how. -- Jerry â ___ 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 9
At 10:05 19/01/2012, you wrote: Allan McKinnon mckinnon at live.com writes: ... I really enjoyed the old installer because then I had complete control over how I tweaked my computer during and after the install. I agree. The new installer got rid of dependencies and is scriptable - very good ! But the new installer looks primitive now. There were e.g. error messages that were incomprehensive, or did not return user to the beginning of a particular step or allow to continue, instead just interrupted the installation - a sign of untested software. That's not good for an introduction to OS which every installer is to a user. I think that a full/complete update of the old installer to add it support GEOM, ZFS, scripting and more newer features will consume more manpower and resources than create a new one from scratch, where the devs aren't chained by old code, backwards compatibility, old restrictions and old point of views. This way, is easier correct bugs, new features, simplify the installation and even automate it to this new installer than try to add them to the old one. As always, i suppose that any ideas and help are welcome. Perhaps the dev should take a look at PC-BSD installer for an inspiration. Please make changes soon, for 9.1 release if possible. Or 8.3 ;) inquiz ___ 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 server limits question
At 20:12 02/01/2012, Muhammet S. AYDIN wrote: Hello everyone. My first post here and I'd like to thank everyone who's involved within the FreeBSD project. We are using FreeBSD on our web servers and we are very happy with it. We have an online messaging application that is using mongodb. Our members send messages to the voice show's (turkish version) contestants. Our two mongodb instances ended up in two centos6 servers. We have failed. So hard. There were announcements and calls made live on tv. We had +30K/sec visitors to the app. When I looked at the mongodb errors, I had thousands of these: http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why I'm telling you about centos. Well, we are making the switch from centos to freebsd FreeBSD. I would like to know what are our limits? How we can set it up so our FreeBSD servers can handle min 20K connections (mongodb's connection limit)? Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open to suggestions. Please help me out here so we don't fail deadly, again. ps. this question was asked in the forums as well however as someone suggested in the forums, i am posting it here too. Is your app limited by cpu or by i/o? What do vmstat/iostat says about your hd usage? Perhaps mongodb fails to read/write fast enough and making process thread pool bigger only will make problem worse, there will be more threads trying to read/write. Have you already tuned mongodb? Post more info please, several lines (not the first one) of iostat and vmstat may be a start. Your hd configuration, raid, etc... too. L ___ 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: Port, Packages, and Patching, Upgrading
At 07:19 20/12/2011, you wrote: Hi, I've been trying to find info about this, so I'm Hoping someone here will know about this; I use FreeBSD 8.2-RELEASE, and basically, the normal way I do things, is like this: I grab the CD, boot, and install the Base System. Once I've booted, I'll then use one of the two: pkg_add -r bunch of packages or sysinstall Configure Packages Then I go through the menus, and select what software I want, and, eventually, I'll tell it to start installing. Now, I've been reading about Ports more and more, and thought about maybe just using those instead, but even with upgrade_pkg from bsdaminscripts, I just can NOT seem to upgrade anything. I'd like to have my system fully patched, but most of the data I find, is about how to keep ports up to date, and has very little on Packages / Binaries. I don't think it matters much why I choose Binary Packages over Ports, I'm just looking to make sure the emails I get every once in a while on the root account will FINALLY not have a huge list of stuff that I need to either delete / uninstall, or upgrade and have no idea how. I mainly used Linux, so I AM a little more used to everything being patched at once, like Slackware, where you can type one command and install patches and stuff to everything you have installed, be it the Kernel, or an Xterm, or X itself, or Pidgin. Any of you that use pkg_add and Sysinstall to install packages, can you maybe describe what you do to install updates, Patches, or just in general, keep your system patched? I'd really appreciate that. I know other had answered but... here are my 0.2 cents about installing a fresh machine (with Internet connection): a) Install base, no packages, no ports. b) Configure network c) update freebsd: #freebsd-update fetch #freebsd-update install #reboot d) get ports tree: #portsnap fetch portsnap install e) install X: #pkg_add -r xorg i don't configure xorg.conf, it's easier for me f) install nvidia/ati/intel/whatever graphic card driver in other computer get the url and install in this one. g) install KDE, Gnome, Fluxbox... #pkg_add -r kde3/gnome2/fluxbox h) install the apps you will use If you need add a special feature to one app use ports, if not, use packages. And read the handbook ;) -Allen HTH ___ 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: -Stable periodic updates
At 11:39 05/11/2011, you wrote: Am 05.11.2011, 07:23 Uhr, schrieb Conrad J. Sabatier conr...@cox.net: Again, go back and read the Handbook sections on using csup, updating your src and ports trees, etc. No one is interested in repeating information that is already available in a complete and detailed form. Available if you are proficient in English. The spanish translation is lacking the parts he asks about, and then some. He's already asking about it in freebsd-es list. But, if he can read/write in english to this and others mail lists, i doubt he has any problem reading the english handbook. I think he don't want to read the handbook, he wants answers to Frequently Answered Questions. Zantgo, please, read the handbook, reread the relevants parts, you are asking the same things one time, and another, and another... And please, don't think i want to PLONK! you Regards, Michael ___ 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: Upgrading libxul, dependency on Firefox 3
At 02:54 22/10/2011, Joe Altman wrote: Greetings... I was running portupgrade on libxul and noticed it depends on Firefox 3.x. I cancelled the upgrade, because I thought FF3.x was insecure and therefore deprecated while FF7 was recommended and secure. My questions: 1) is the dependency libxul has for FF3 a security problem? 2) is the dependency on FF3 a bug in libxul? If it is a bug, who should receive a report: gecko@ or the Mozilla project? FYI: I'm pretty sure it was portsclean -D (and not me) that deleted FF3...yet libxul tried to pull it in during the portupgrade. As far as i know, the libxul port is inside ff3. Installing libxul doesn't install ff3, only libxul. Perhaps it's an old libxul and the newr one is inside ff7, so libxul port should point there, don't know that. Best regards, Joe ___ 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: Very large swap
At 07:08 14/10/2011, Dennis Glatting wrote: This is kind of stupid question but at a minimum I thought it would be interesting to know. What is the limitations in terms of swap devices under RELENG_8 (or 9)? A single swap dev appears to be limited to 32GB (there are truncation messages on boot). I am looking at a possible need of 2-20TB (probably more) with as much main memory that is affordable. I used 40 GB swap in 8.2. I wanted to test if caching files/data on memory swap were faster than an ordinary, always the same, standard approach of read/write from/to disk when need. It was faster, not a lot faster but mesurable. Of course when app exits files/data is lost. I am working with large data sets and there are various ways of solving the problem sets but simply letting the processors swap as they work through a given problem is a possible technique. Processors, memory, storage, and other hardware are open issues but for the minute I'm doing things on the cheap, which, admittedly, has a certain intellectual amusement factor. TIA ___ 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: Pci express ZFS card?
At 22:27 23/09/2011, Outback Dingo wrote: On Fri, Sep 23, 2011 at 2:10 PM, Joseph Lenox lenox.jos...@gmail.com wrote: I would posit that it is only for use as on a PCI Express backplane; I don't even see how it would fit in a standard PCI Express slot (seeing as the backplane connector is physically longer than the PCI Express connector). Moreover, the card itself looks like a system-on-a-board (a complete computer system on a single mainboard). This is definatley a backplane SBC designed system, and will not work in a standard motherboard, seems to me what he really wants is like an OCZ revo drive, or Fusion IO card I'm playing with the card, and it has a PCIe x4. I haven't tried to put it on a server, but FreeBSD 8.2 runs perfectly (for now) on it with 3 disks and connect by ethernet interfaces. I don' want to try connect this card to a server PCIe x4 slot before know that it's 120% safe. The card has 2 connectors on basement, a PCI one and a PCIe x4 but don't explain if it's host only or host-slave or slave only. I want a raid card with zfs instead closed source hardware raid. If raid card brokes i will need exactly the same card with the same firmware and other minor requierements for recover the raid. Using a zfs raidz i simply need to connect the disks to a freebsd server and recover it. I'll try to contact vendor again to get more info on this topic. Thanks to both. ___ 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
Pci express ZFS card?
Hi, i have this used pci express industrial card (PCIe 2.0 x4) with 1GB: http://www.ieiworld.com/product_groups/industrial/content.aspx?gid=1101cid=08141333914287007902id=0A263601401161285688 I want to install a NanoBSD with ZFS and 3 Sata disks. Unfortunately i know nothing about this topic. Does anynone know if this type of cards can be connected to a server? Can i access the zfs raidz on it througth the pci express interface? The card documentation says nothing about its use on normal pc as expansion card, only on pci express backplanes. TIA ___ 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: Please secure your FTP access
At 21:43 13/09/2011, Sarang. wrote: H! there, I have seen your site and also got ftp access.. Please secure your ftp acces otherwise anyone can delete your data Why anyone? even I am also interested in it.. please move your ass otherwise it will cost you. If you are not going to fix this problem then I will delete all the files tommorrow... Take care.. You log in as anonymous user but the user whom owns the ftp is another one (perhaps ftp). The permises you get are r-x (thh last ones) not rwx. HTH Ethical but Bad Hacker... ___ 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: Need an audio multicasting solution
At 08:21 09/09/2011, Victor Sudakov wrote: Colleagues, I need a solution to read sound from a soundcard (/dev/dsp) and multicast it into the network, for the multicast audio stream to be played on FreeBSD, Linux and Windows workstations. No sophisticated codecs needed, plain PCM would do. Can you advise something? I know that in theory there are many ways to implement this, but I am especially interested in personal first-hand experience, success stories or good white papers. Please no lmgtfu-type replies. Thanks very much in advance. You can use videolan / vlc. It allows you to multicast video too. In September 2011 BSD Magazine you have some examples about that. HTH ___ 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: Identifying disk activity
At 07:30 28/08/2011, Polytropon wrote: Since I have installed my new system (FreeBSD/i386 8.2-STABLE), I have found some kind of disk activity I've never had before on my home system. As this PC is a very cheap product, it doesn't have a HDD LED. Instead I have to listen to the disk. This is the strange sound: four groups of short bt sounds within a second, with a short pause between them. #-#-#-#- = 1 s This can be heared over several seconds, then silence. From time to time, a brrrt sound appears for 3 seconds in one long rush. Your disk is thinking or trying to do something. In morse code -- is 'm' so -- -- -- -- is mmm. When you hear the 'h' (four dots) or 'ph' (.--.) it's finishing thinking. A typical sesion will be: mmhhh or p. Similar sounds are made by lot of people in the bathroom while poping, you may want to investigate perhaps beastie is poping there. HTH Couldn't resist ;D ___ 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
X10 language in FreeBSD?
Hi, i want to know if some one uses x10 language under FreeBSD. I have googled about it but found nothing. I'm not talking about the X10 home automation but the x10-lang.org one. TIA ___ 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: em0 NIC slow on 8.2-p1 amd64?
At 17:12 21/07/2011, Michael W. Lucas wrote: On Thu, Jul 21, 2011 at 05:01:57PM +0200, Eduardo Morras wrote: Have you tried other protocols? Http, rsync... It maybe a problem at client side, some ftp clients can set a maximun ftp transfer, like filezilla, winscp, FTP and NFSv3 both have similar results. ==ml Perhaps you have reached the maximum disk speed. Sorry not more ideas, but it doesn't look like a nic problem. Put the file in cache before sending it. If it's faster the problem is a bottleneck on hard disk or sata/ata/usb bus. HTH ___ 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: em0 NIC slow on 8.2-p1 amd64?
Have you tried other protocols? Http, rsync... It maybe a problem at client side, some ftp clients can set a maximun ftp transfer, like filezilla, winscp, ___ 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: em0 NIC slow on 8.2-p1 amd64?
At 18:04 20/07/2011, Michael W. Lucas wrote: Hi, I'm running FreeNAS 8.0/amd64, with an 8.2-p1 kernel. When using FTP or SCP, performance maxes out around 30MB/s. This is on a gigabit network, no errors showing. It looks a lot like kern/152828, but it seems that nobody's looking at that. Don't know about that, but perhaps the nic is not working at full gigabit. Can you post the output of ifconfig? #ifconfig em0 If it's not connected at 1 gigabit or not full duplex you can force it with ifconfig. If there are too much errors check the cable. As per suggestions from the archives, I've tried disabling TSO. No change. Anyone else experiencing this, or have any suggestions? At the moment, the boss is complaining that his Windows Home Server is doing better than this machine, and that's a technological direction I really don't want to go in. Thanks, ==ml ___ 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: em0 NIC slow on 8.2-p1 amd64?
At 21:16 20/07/2011, Michael W. Lucas wrote: It's at gigabit: em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC ether 00:15:17:31:c8:fe inet xxx media: Ethernet autoselect (1000baseT full-duplex) status: active All seems to be ok, try a netstat -I em0 -d (it's a capital 'i') to get statistics. If too much packets are dropped recheck cables. Other options: a) 30 MB/s looks very strange, do you have pf or similar with a filter rule? b) Have you checked your disk i/o performance? c) If you generate the data dinamically, may be your producer app is the problem. About the em specific problem under 8.2 you cite, others can guide better than me. HTH Thanks, ==ml ___ 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: Lennart Poettering: BSD Isn't Relevant Anymore
At 11:20 19/07/2011, Jerome Herman wrote: A FreeBSD distro with LDAP, ACL and MAC management would be nice though. You could create a port that brings all this functionality in one rush. Remember that the ports collection is more than just about installing software - it can be used to even bring such features to the system and configure them. A port that would reboot in single user, use tunefs to activate ACL here and there, activate MAC and move most users to an LDAP auth ? I don't think so. Actually I would be scared if such a port was accepted in the port tree. Perhaps a jail based distribution, the port creates a jail, sets acl and mac on a new dedicated disk/slice/partition/mount point/whatever and moves users to the ldap. Currently FreeNAS, pfsense, nor monowall don't allow installation in a jail, it could be great. ___ 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: Dual Boot 8.2 and Windows 7
At 09:08 24/06/2011, you wrote: On 24 Jun 2011, at 06:24, d...@safeport.com wrote: I installed 8.2 from the DVD ISO. This install overwrote the MBR even though I selected not to write a boot record. Using the repair disk and/or bootrec does not work. The answer is found in http://www.sevenforums.com/tutorials/105541-startup-repair-run-3-separate-times.html. Basically you use diskpart to make sure that only the windows partition is marked active and then run the Startup Repair process 3 times. This is the only option that worked for me. I can swear you chose to install a blank (empty) mbr as opposed to leaving the current one untouched. No, i had the same problem on my laptop. It's a known issue in sysinstall since 6.x version that on some systems, no matter what you select, it always erase the mbr. For doug, you can use Hiren's Boot to start Windows. In fact, you can use it as a hidden partition system, without it, it won't startup. HTH ___ 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: Dual Boot 8.2 and Windows 7
At 16:36 24/06/2011, d...@safeport.com wrote: Well for me it all worked well for all versions of FreeBSD until Windows 7. My main purpose was to document the link given to me by a friend who does user support for a local college. Before Vista the boot process was pretty simple, the MBR was one sector on sector 0, track 0 and it read the first sector of the target partition who took it from there. My experience with FreeBSD 7.0 to present has been that the install does not work with Windows 7. It appears that the MBR can still only have 4 entries. Windows 7 gets more by using extended partitions. Dell, the there can be only one and let it be Windows company, uses two small partitions for something. It may be that some of that underlying stuff is not needed but I had enough trouble without without making changes at that level. In Vista the way that Windows start changed. The MBR points to a file inside the Windows partition that have the partition scheme. It's called BCD. You can install EasyBCD in windows (it's freeware with commercial licence) that permits you to start Windows and other OS inside other partitions. I use it in my trial? Win7/FreeBSD8.2/OpenBSD4.9 server and dual Win7/FreeBSD8.2 laptop. http://neosmart.net/dl.php?id=1 If FreeBSD can be installed in an extended partition, that would be a very useful howto. Don't know about it, perhaps using easybcd you can do that HTH ___ 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: How to change Fluxbox resolution?
At 15:08 25/05/2011, Ed Flecko wrote: Hi folks, I've installed FBSD 8.2 and Fluxbox. Fluxbox works just fine, but I can't figure out how to change my resolution to 1024x768 (my monitor is a 19 - but the square format, not widescreen format). When Fluxbox runs...it's too wide for my monitor. Here's what I've done: snip I've edited xorg.conf and added a 1024x768 entry, but apparently something's not right. Comments? Suggestions? I added this line to my fluxbox start file before the 'fluxbox ' line 'xrandr -s 1152x864 ' You can add it in startx script or .xinitrc at your home too, but i haven't tried this way, but should work. Thank you, Ed HTH ___ 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: fpc on FreeBSD?
At 15:35 29/12/2009, you wrote: Hi to .. any old Turbo Pascal hackers out there, who've used fpc on FreeBSD. I have some astronomy and sound related code from last century that I want to resume working on. Mostly lots of float number-crunching and file processing, no gui stuff till the underlying processing all goes. I've tried some other languages, but can only really think straight into Pascal, to fully declare my disability - please don't try to cure me :) Is fpc's IDE usable, like good ol' TP6 and 7, never mind Delphi? Docs seem vast, I'm wondering if there's a simple guide to basic compilation, but basically I'd just like to hear that it's working ok for someone and is worth the learning curve? Yes, it is usable, but there are other ides. You can try Lazarus, f.ex. Also, you can ask at the fpc lists, where there are better chances of help. cheers, Ian -- Usefule Acronyms: EMFE = Excuse My For English ___ 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: bsd vs gpl
At 16:09 11/03/2009, Wojciech Puchar wrote: That's why the GPL is often called a viral license. As GPL is a communist licence. No, even communist are more generous ... --- Useful Acronyms: GPL = Greedy Pengüin Licence ___ 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: Battery powered, SBC that can run BSD
At 14:53 05/03/2009, you wrote: Hope this isn't too off topic... And I'm not sure of my terminology... I'm looking for a small, single board computer that can run for a week or two on batteries (so very low power drain), topped up by solar cells when the sun is out, and that can run some sort of unix... preferably one of the BSDs. No hard drive, obviously, or any other power draining peripherals. The user interface would be a low powered LCD display plus some buttons. The application is for a custom measuring instrument that would run in a marine environment. I've been Googling for it for the last hour, but can't find what I'm looking for. Any ideas much appreciated. pcengines.ch I've got an ALIX2d3 working as router for the Internet connection and no problems. HTH -- John - Useful Acronyms: GPL = Greedy Pengüin Licence ___ 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 and OpenCL
Hello: Is there any plan to implement/use the new OpenCL standard in FreeBSD? What's needed to use/implement it? Better nvidia/ati/intel/other gpu drivers? I don't want to switch my data crunching apps from FreeBSD to linux/windows due to this technology is already working there. http://www.khronos.org/opencl/ ___ 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: what is your programming language on freebsd?
At 17:10 06/11/2008, you wrote: Hi there, Earlier I was asking for some help getting XSP/ mod_mono on FreeBSD. I may be asking in the wrong mailing list, but my impression is that mono on FreeBSD is generally not a popular idea. To pose my questions to the developers in the FreeBSD community: 1. What programming language(s) do you deploy on FreeBSD? Pascal and ObjectPascal with FreePascal Compiler and Lazarus for my programs. C with GCC for play with FreeBSD source code. 2. Is FreeBSD more optimised in performance for any particular language? Don't know. 3. Is FreeBSD even a popular choice as a development platform, or is it better suited as a special-purpose OS (eg. mail server, DNS server)? Depends. For me it's THE development platform. Thanks. L --- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
At 15:21 28/08/2008, RW wrote: On Thu, 28 Aug 2008 10:13:40 +0200 Eduardo Morras [EMAIL PROTECTED] wrote: No, if you check a NTFS disk after some work, it's heavily fragmented. As you fill it and work with it, it becomes more and more fragmented. How did you measure it? AFAIK the percentage fragmentation figures given by windows tools and fsck, aren't measured on the same basis. I run jkdefrag. I outs an image of fragmented files. In practice work, when i defrag the data disks i get 30-40 (even 50) MB/s when copying files using a Gigabit ethernet and ftp. This copy speed drops to 9-10 MB/s after some days of work. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defrag
At 06:56 28/08/2008, you wrote: On Wed, 27 Aug 2008 22:08:47 -0400 Mike Jeays [EMAIL PROTECTED] wrote: That's true about FAT. What I have never understood is why Microsoft didn't fix the problem when they designed NTFS. UFS and EXT2 both existed at that time, and neither needs periodic defragmentation. I think they probably did, NTFS took a lot from UNIX filesystems, and at the time it was released they said that NTFS didn't need any defragmentation at all. No, if you check a NTFS disk after some work, it's heavily fragmented. As you fill it and work with it, it becomes more and more fragmented. I suspect that it's mostly a matter of attitude. Windows users have an irrational obsessive-compulsive attitude to fragmentation, so they end-up with good reliable defragmenters, and so less reason not to use them. We don't really care, so we end-up with no, or poor, defragmenters, which reinforces our don't care attitude. The best way to defragment a NTFS drive is make a backup to other device, format the original and recover the backup. It take less time and device don't suffer. I do it monthly with the data disks and performance grows espectacularly (near x4 on sustained file read). --- Este documento muestra mis ideas. Son originales mias. Queda prohibido pensar lo mismo que yo sin pago previo. Si estas de acuerdo conmigo PAGAME Cuidado con mi abogado MUERDE!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkgsrc vs ports
At 09:38 18/07/2008, you wrote: At 2008-07-18T01:15:10-04:00, Ansar Mohammed wrote: Is there some definitive comparison between the ports collection and netbsd's pkgsrc? Perhaps this could be a starter: FreeBSD and NetBSD's pkgsrc: A strategic synergy for awesomeness, http://lists.freebsd.org/pipermail/freebsd-ports/2007-April/039802.html Ejem, it's the 1st April joke Enjoy, Raghavendra. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: News in Spanish
At 13:44 24/05/2008, you wrote: Hello. I'm FreeBSD user. Very days ago, I verified that the news (what's new) in spanish is not up to date (the last is 1999!!) Why? Link: [1]http://www.freebsd.org/es/news/press.html#story200802:02 Very thanks. Pd:If is possible, please, reply in spanish. Good Morning Mustela. I see no one has answered you. There is a maillist at [EMAIL PROTECTED] where you can ask. You can do it at the main Spanish maillist too. In both list you must be a member to post. You can sign up at: (see links below) Muy Buenas Mustela. Veo que nadie te ha respondido. Hay una lista de correo en [EMAIL PROTECTED] donde puedes preguntar. Tambien puedes hacerlo en la lista de correo de FreeBsd en castellano. Ambas listas necesitan que estes apuntado/a para poder mandar mensajes. Puedes darte de alta en https://listas.es.freebsd.org/mailman/listinfo/freebsd o mandando un mensaje a mailto:[EMAIL PROTECTED] para freebsd en castellano mailto:[EMAIL PROTECTED] para la lista de documentacion. HTH One reason that life is complex is that it has a real part and an imaginary part -Andrew Koenig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Converting from tcpdump to netflow
Hello everybody: I'm capturing packets from our network using tcpdump. Only 96 bytes for each packet. Now the sysmaster says that he wants analyze the network with netflow graphics. Is there any app that can convert from tcpdump/pcap to netflow? We have no router with netflow capabilities. Should i restart the packet capture with fprobe or similar app? Can be fprobe and tcpdump work in parallel? Thanks In Advance Useful Acronyms : UPnP = Universal Plug and Pray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install port without man page
At 18:07 15/04/2008, Ashant Chalasani wrote: Hello All, Is there a way to install a port without the man-pages. I'm trying to install a dhcp server onto a Tinybsd image and end up buying myself a bunch of files in /man, as seen at http://code.google.com/p/tinybsdap/wiki/InstallingPorts (hope the linking is not minded). Just a hack but you can create (as root) a ln from man directory to /dev/null and install. If you want preserve the man pages move them to other directory. When all is installed move again to original man or update the ln to the dir where you move them. Thanks HTH --- Que seas paranoico no significa que no te persigan. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Install port without man page
At 18:07 15/04/2008, Ashant Chalasani wrote: Hello All, Is there a way to install a port without the man-pages. I'm trying to install a dhcp server onto a Tinybsd image and end up buying myself a bunch of files in /man, as seen at http://code.google.com/p/tinybsdap/wiki/InstallingPorts (hope the linking is not minded). Just a hack but you can create (as root) a ln from man directory to /dev/null and install. If you want preserve the man pages move them to other directory. When all is installed move again to original man or update the ln to the dir where you move them. Thanks HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg ATi/Radeon drivers on 7.0-STABLE?
At 19:35 25/03/2008, C Verboom wrote: Hi All, Just new here, so if this has been dealt with before, pls excuse me. I've seen only a few posts dealing w/ ATi drivers (ati and radeon) on v7.0-STABLE and Xorg, and together with my own experience I'm inclined to suspect there's something wrong with this combo. Or wrong... it may need special attention, but I lack the knowledge to prove or find a definitive answer, and you ppl here might. For a while I've been running 6.2-STABLE w/ Xorg on a Dell Latitude C610. Worked nicely @ 1400x1050, no problems. A few days ago I've performed a fresh install of 7.0-STABLE. The install was done for User/X-User, nothing (cvs, ports, etc) has been added or modified apart from network settings to be able to ssh/scp. The problem: there's no way that I can get a decent graphics resolution like I was used to. The only one xorg.conf setting that resulted in stable graphics was 'Driver vga' and 'Mode 640x480'. For the last 2 days (with the help of numerous Ati and Xorg-related posts on the net and c/p from my old xorg.conf) I've been trying to apply any reasonable setting using the ati and radeon drivers, only to see a blurred screen: HorizSync and/or VertSync way off, flickering and scrolling bars. No visible diff in the blurr w/ modified sync numbers, but no hang-ups as others seem to have stumbled upon: I can always kill the server w/ C-A-BS. Sometimes something seemed to happen (KDE starting? I never waited long before I killed the server...) as I did see a partial light-colored change in the blurr. Comparing the log of my old setup (I've put the image back twice over to check), there's a few -in my little experience- important differences with output of drivers and modules, or at least the way things such as capacities and capabilities are displayed, so under the hood there's so much changes that I cannot reasonably grasp what exactly is different and in what way... for which I apologize, but I'm bold enough to suspect.. So: is the problem with me or with the new ... (drivers, modules, ???) I had similar problems with non-standard monitor sizes. My monitor supports 1440x900 and have those strange flckers when try that mode. All works fine when i switch on the DDC option and disabled the Horiz and Vertical Sync Hz. HTH -- Greetings, biped! (c)ory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OT: Downloading file by sending email
At 06:30 30/01/2008, you wrote: Hi, An off-topic question. I run FreeBSD 6.2/i386 with Postfix and Maildrop (for filtering and delivery). I want to setup a service such that sending a mail to say [EMAIL PROTECTED] with a list of links per line results in my machine downloading the files at these links replying with all these files attached. Is there any port which provides a functionality like this? Or is it possible to put together such a setup in place? I tried a Google search but didn't manage to frame this question concisely enough to get hits ... Also, many many years ago I remember using similar services on the Internet. I can't for the life of me remember their names now. Any one here recollects/ has used such services? Thanks, Rakhesh There is an email2cvs in ports, don't know the exact name, but i allows you to do cvs commits, updates, etc via mail; perhaps it can help you For security, add in the mail with the file request a login/password. Check the From (only tyour email account) and the l/p. Also there is a gnu.org project for a p2p using mail. HTH - Useful Acronyms: GPL = Greedy Pengüin Licence ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to be *nix programmer
At 12:03 17/01/2008, you wrote: Radheshyam Bhatt wrote: Hello People, How's it going?I am interested in to developing drivers for FreeBSD. How do I go about start learning program for that? What books resources I should look in to. I know C, and I am learning about processes, and system calls. Also where would I take my questions to if I don't get something and need help for something in system's programming... Please email me back.. I would recommend reading: The Design and Implementation of the FreeBSD Operating System by by Marshall Kirk McKusick (Author), George V. Neville-Neil (Author) The questions go where they are appropriate (scsi driver? perhaps freebsd-scsi@ or freebsd-hackers@ ?). But there is no maillist for general programming FreeBSD, only specific ones. Perhaps a list for newbies FreeBSD programmers can fill the gap. - Useful Acronyms : FAQ = Frecuently Answered Questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
memory pool, rfc
Hello: I have some free time and want to do an memory pool. The idea is to have a memory zone of N KB (or several MB) compressed in memory. I have fast compression algorithms now that can release under BSD licence that are faster than hd i/o, so it take less compress/decompress a memory zone than read/write it to disk. I don't know if it already exist for FreeBSD, so if it's already done i'll try to improve it. - Each memory chunk is compressed separately, so i can decompress and use one without decompress anyother one. - In 4KB chunks of text i get 50-60 % compression (avg 2 - 1.6 KB result) - In 4KB chunks of binary (application code) i get 30-40 % compression (avg 2.8 - 2.4 KB result) - In both cases, results may vary depending on data type and chunk size, greater implies better compression - Speed once implemented will be very fast. Current speed hogs a PATA 133 disk. For what can be used? - Memory pools in applications (like malloc) - Ram disks - Disk Cache (permit bigger disk cache) - 'On the fly' filesystem compression (and it takes less read/write compressed data than non-compressed) - Perhaps add it as Virtual Memory swap cache? - Other Don't point me to zlib or libbzip2, they are on another league and are much slower than my code. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory pool, rfc
At 00:38 01/11/2007, you wrote: Ouch! ...you are not trying to sell anything are you? It may be in your best interest if you proceed to the hackers list, to initiate conversation in a way that explains how your code will benefit a cause, not slam other people (and their work) that are already established! Steve No, i don't want to sell anything to anyone. I'm already on hackers list but has very low traffic (9 messages last 5 days) and this is a question list no ? ;-) I think that in this list are FreeBSD *gurus*/hacks too which could say a try it or a are you crazy? answer. If other developers thinks that they need my rfc i'll add my code to FreeBSD. The point to zlib / libbzip2 is because when i talk about compression *always* someone says Why don't use zlib? Short answer No, Medium Answer: deflate is 15 years old and there are better and faster algs now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory pool, rfc
At 01:38 01/11/2007, you wrote: This is a 'general' questions list, with a fairly high level of traffic. Many FreeBSD committers and team affiliates are subscribed, but there are still a lot of knowledgeable people who are respected team members, but are *not* subcribed here. Maybe in a more appropriate list you can get a greater amount of visibility with people who can help your contributions to be integrated with the main source code tree of FreeBSD. Understood I think that in this list are FreeBSD *gurus*/hacks too which could say a try it or a are you crazy? answer. If other developers thinks that they need my rfc i'll add my code to FreeBSD. It's hard to tell in advance, without actually *seeing* something in the form of a proposal, or at least an implementation. . testing process of the source integration, and so on. This means that the next reasonable step would be to make available at least a proposal or source patch, and post it to one of the developer lists of FreeBSD. The freebsd-hackers list would be nice. I can prepare a malloc-like pilot implementation and detailed paper. It doesn't sound like a productive use of everyone's time, unless we have a solid plan for a better zlib replacement in place :-) You can check http://www.maximumcompression.com/index.html and http://cs.fit.edu/~mmahoney/compression/text.html for the state of the art lossless compressors. Giorgos Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory pool, rfc
At 01:45 01/11/2007, you wrote: And is it better than bzip? Depends on your concept of better. It doesn't compress more, it compress/decompress faster, it's designed for memory to memory compression. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: memory pool, rfc
At 01:46 01/11/2007, you wrote: No, i don't want to sell anything to anyone. I'm already on hackers list but has very low traffic (9 messages last 5 days) and this is a question list no ? ;-) I think that in this list are FreeBSD *gurus*/hacks too which could say a try it or a are you crazy? Even though you might get a little critized for being slightly off topic (at least until you add your code) try -current I apologize if I came across as critical, I did not intend it that way. I asked because i want to ear critics and new points of view. Steve Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Equations
At 22:17 06/10/2007, Michel Talon wrote: Frank Jahnke wrote: I figured this was the case, and it makes a difference. This is OT, but .. accept submissions in TeX since they have minor editorial work to do -- Excuse me for the intromision, but i'm reading this thread, waiting for a tiny and easy app (no tex,troff,...) that can do equations as the first message said. Can i think that there is no such app? Thanks. -- This document represent my ideas. They are mine, so, if you agree me, PAY ME. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Binding application to one ethernet interface
Hello: I have a server with apache that serves pages to an intranet. Now we want to add another server application (cvs and pgsql) to another intranet. Of course we can buy a new server to do that, but i want to know if i can add a new ethernet card to the current server and force apache to serve to one intranet and cvs/pgsql to the other intranet. I think that by default, freebsd will balance the charge between both cards, is it true?? Thanks In Advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The worst error message in history belongs to... BIND9!
At 14:38 31/05/2007, Robert Huff wrote: =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes: It has to be the worst written error message in history. Not even close. I commend to you the Amiga's BSOD: Software Guru Meditation Number very long string of hex digits And the Need 0KB more memory to manage memory from MacOS system7? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another slightly OT q...
At 23:22 08/05/2007, you wrote: see: http://nl.wikipedia.org/wiki/Jan_Sloot about the Sloot Digital Coding System. great stuff. Danke. that seems to be German, in Dutch Bedankt would be appropiate. i appreciate the effort though. I found the english wkik entry so I could understand the piece. Since Sloot is dead, no way of knowing. actually there is. the Dutch wiki-article has much more detail about the case. this Sloot guy claimed he could compress any movie into 1kb ( 1024 bytes ). he stored this 1kb movies on smartcards, which he would feed into his magic machine to show the movies. in The Netherlands there was press-coverage about this, and he was able to attract investors and even a ( up to then ) reputable IT-guru assiocated with Philips to back him. they found silicon-valley investors who were interested. he died / killed himself / was murdered before his hoax could be uncovered. It's easily covered. Check usenet comp.compression faq. It's the Counting Theorem. For a sequence of n-bits there are 2^n possible files (f.e. there are 256 files of 8 bits). Unfortunately there are only (2^n)-1 possible files lesser than the original (f.e. there are 128 files of 7 bits, 64 of 6, 32 of 5, 16 of 4, 8 of 3, 4 of 2 and 2 of 1 bits, total, 255 files) so using an algorithm you can't compress all n-bits sequences. For this case, you can easily check that using this guy algorithm, you can have only 2^8192 movies. Perhaps you think they are a lot, but nearly all are white noise movies. There are 1-2 monthly of this claims on comp.compression. Normally they are beginners to Information Theory / Compression but others are simply cheaters. sounds a lot like the perpetuum mobile stories. In fact, it is. Information Theory uses entropy concept too and claims like this breaks the 2nd and 3rd principle. But this is the kind of leap forward that would save, oh, a few measley $Billions. And give millions of us faster and broader access. HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another slightly OT q...
At 19:05 08/05/2007, you wrote: Hey Guys, Does anybody have any websites where I can look up the latest in compression technology? I've got a very thin ISDL link so pulling streams over is like looking at postage-stamp images. Depends on what you are trying to compress. You can look these pages for lossless compression: www.maximumcompression.com prize.hutter1.net www.cs.fit.edu/~mmahoney/compression/text.html datacompression.info If you are looking for zip/deflate try www.7-zip.com , it has the best zip/deflate engine, you can get zip standard files smaller than based zlib ones. It's for windows, but there is a unix port inside the web pages. There were whispers about fractal-compression as being the golden goal, but I can't find much about this one. Anybody have any clues here? Depends on what you want to compress. Fractal compression for text can't work, text has no autosimetry. For images it is being developed, but results are bad. You can check citeseer for . Currently for video/image wavelets are the best (dirac, snow, jpeg2000 and more) codecs but there is no standard codec that uses them (no ISO-ITU, no mpeg consortium). For text, the best compressors are neural nets (paq family) or ppm. thanks up front, gary HTH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Video fileserver - Need some input
At 14:21 09/05/2007, you wrote: I'm planning a new fileserver for my post-production facility and need some input regarding filesystems and network setup. I've been a FreeBSD fan for almost 10 years now and will try to build this server based on the latest stable FreeBSD version, allthough most machines here run WinXP. We have an internal 1 Gigabit network here and in addition to this the video fileserver will have two direct NIC connections to two WinXP capture stations. I will most likely be using a Raid-0 or a Raid-5 setup with SATA drives. The system will have something like 4-8 TB of HDD space. I'm not so afraid of loosing data, but we need a system that is fast and will allow capture from two external Windows XP machines through direct Gigabit ethernet. The datarates are 8 bit @ 720 x 576 @ 25fps = 20 MB per/sec, or 70 GB per/hr. 10 bit @ 720 x 576 @ 25fps = 26 MB per/sec, or 93 GB per/hr. Are you sure? 8 bits per pixel is too low. For RGB i suggest you use a 8 bit per color (R,G and B) or 24 bit per pixel. Or if you work under YUV/YcrCb spaces a 12bit as minimum (YUV12 or 4:2:0 space). Final numbers for PAL RGB are 24 x 720 x 576 x 25 = 29'96 MB/sec (Your 8x720x576x25 are 9'88MB/sec, not 20) and for YUV12 14'98 MB/sec. You can use a lossless videocodec for capture, huffyuv is the faster/better and you have a native Windows VfW version. All current computers can compress with it on the fly (my 3-4 years old 2Ghz Athlon shows 70 fps) and can halve the data rate. In the freebsd you can use ffmpeg based apps for decode it (and encode), that's all apps. If you can work with lossy video codec use x264 on the Windows side, tuned for on the fly / live compression, if not you will lost frames. Again, ffmpeg can decode it on freebsd. You can get 1 MB/sec or less. Check dirac (don't know if a freebsd port works) and if you want to pay, try VP7, the big brother of macromedia flash codec. In addition to this 1-5 machines will have access to the fileserver through a shared Gigabit network connection for making DVDs and use the files as source for editing. In short: There will be two direct 1Gb network connections and one shared 1Gb connection. Will the server hold up? Depends on how many readers attacks the files. It's more a bus problem than a OS. If video data is compressed the disk will read/write less and you can serve faster. Any other recommendations are very welcome. Don't use RAID-0. If there is any problem everything become lost. Thanks! Regards, Andreas W. Andersen HTH N.B. huffyuv, x264 and dirac codecs are opensource. VP7 is On2 Tech. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CVS server setup
Hello: I'm trying to setup a cvs server. I have a vps jail account so i can't make a jail in the jail to run the cvs server. Has cvs server a /chroot/ mode? Where can i find documentation to do so? All doc, man and howto i readed shows how to do creating a jail. Is there other way to do so? Thanks - La copia casera esta matando los beneficios de las grandes compañias. Dejamos esta cara de la cinta en blanco para que ayudes Dead Kennedys, Cara B de /In God We Trust, Inc./ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]