Re: Why Clang
but not to be turned into closed source products. What a lying sonofabitch. That is not called freedom. That is called forcible, viral open source. I think we can all see the difference. Open your motherfucking eyes, communist goofball... Give him a break. His heart is in the right place, though his choice of GNU licence is nothing about freedom, it just says it is freedom. But what really is important for FreeBSD is if it can be used. IMHO nothing from GPLv3 prevents it, and it is no licence based reasons to use clang. ___ 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 vs GCC tests of fortran/f2c program
How about leaving politics and getting back to technical grounds? what is the problem as long as gcc is in the ports tree? what is a problem as clang is in the ports tree? the problem is that these compilers are not 100% compatible and soon if clang will be default it will be not just easy to build freebsd with gcc. ___ 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 vs GCC tests of fortran/f2c program
Yes, Clang in general produces slower binaries than gcc. Is that in dispute or something? Or is this just repetition in case we didn't hear you the first time? just yesterday i've heard lots of otherwise claim. Try thinking of the transition as a step back to take many steps forward. What exactly step forward it means? For now i see ONLY politics and aggression after pointing out facts. This doesn't look like serious behaviour of serious people. Or just change your compiler. Will i be able to compile FreeBSD base system with gcc after some time? not sure. ___ 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: Why Clang
Clang is consistently faster at compiling than GCC and it is very clean and modular -- not bloated. -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang well.. hope you just left the debugging symbols in and statically linked it? standard FreeBSD built, assumed freebsd build system do the right things. test done with SSD disk so I/O time are insignificant. /usr/bin/clang: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.0 (900506), stripped /usr/bin/clang: libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x802b58000) libm.so.5 = /lib/libm.so.5 (0x802e68000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x803089000) libc.so.7 = /lib/libc.so.7 (0x803296000) [wojtek@wojtek ~]$ ls -l /usr/libexec/cc1* -r-xr-xr-x 1 root wheel 6265360 12 cze 21:46 /usr/libexec/cc1 -r-xr-xr-x 1 root wheel 6813856 12 cze 21:46 /usr/libexec/cc1plus [wojtek@wojtek ~]$ file /usr/libexec/cc1* /usr/libexec/cc1: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 9.0 (900506), stripped /usr/libexec/cc1plus: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 9.0 (900506), stripped [wojtek@wojtek ~]$ ls -l /usr/bin/cc -r-xr-xr-x 2 root wheel 450184 12 cze 21:46 /usr/bin/cc [wojtek@wojtek ~]$ ls -l /usr/bin/cpp -r-xr-xr-x 2 root wheel 199304 12 cze 21:46 /usr/bin/cpp that's about bloat. now about speed: compiling time of my custom kernel (just kernel, no modules, -j 2) gcc: real2m2.880s user3m35.788s sys 0m23.799s makeoptions CC=clang : real2m8.511s user3m48.025s sys 0m22.602s resulting programs (gzip as example,stripped, dynamic link): -rwxr-xr-x 1 root wheel 36792 18 cze 14:53 gzip.cc -rwxr-xr-x 1 root wheel 36728 18 cze 14:53 gzip.clang speed test (compression -9 to /dev/null of 4GB file - windows XP image in virtualbox): gzip.clang: [root@wojtek ~/NOBACKUP]# time ./gzip.clang -9c /home/wojtek/NOBACKUP/Winda.part1 /dev/null real9m17.495s user8m59.466s sys 0m5.724s gzip.cc: [root@wojtek ~/NOBACKUP]# time ./gzip.cc -9c /home/wojtek/NOBACKUP/Winda.part1 /dev/null real9m26.206s user9m2.700s sys 0m7.551s clang is slightly slower (nearly comparable) to gcc, produced similar sized code, that executes in similar speed (0.5% difference in CPU time), while clang itself is 5 times bigger. sometimes spending just a few minutes to CHECK how things are is far better than following a hype. I would say not just sometimes, but always. Don't forget that gcc is result of much over 20 years of constant patching, modifying, adding and changing the same code which MUST result in bloat and inefficiency. Clang written recently with fresh look resulted in no faster, but far more bloated program. quite strange IMHO, think what will be within 5 years. ___ 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: openoffice doesn't work - any ideas?
all description i found is that deleting .openoffice* from $HOME fixes it. it doesn't. i even created new user with no leftover any config files and still same. Are your ports up to date? Also, did you apply any funky compile time flags? yes and no. But i found the answer. when i use xdm as login manager (my favourite) it happens. when gdm or kdm - it does not. ___ 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: Why Clang
Are you sure CLANG is the bloated project? already posted comparision. your seems like too much propaganda. I don't say clang is just bad, but i prefer real data over hype. ___ 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: Why Clang
I don't say clang is just bad, but i prefer real data over hype. This is the most memorable and impacting set of graphs that I remember. I haven't followed the data much since. http://clang.llvm.org/performance-2008-10-31.html Now imagine having to rebuild projects constantly during your dev cycle. The time savings is going to add up quick. still not read my mail where i actually compared it in real. or don't want? I really don't care about cool graphs but at facts for me as a USER (not developer) of C compiler. And the facts are: Lots of worktime were spent to make new C compiler from scratch and this resulted with thing 5 times larger, working at similar speed and producing similar code to GCC that is already considered bloat. Not something to be proud about. That's truth. and truth is the only thing i do care about. I leave hype and propaganda and cool graphic bars that shows a really not important part of C compiler performance - code parsing and generating unoptimized code (-O0). The truth is sad. Starting from fresh and not being able to beat 25-year old bloated gcc is just funny. That's my view - as a final consumer, not developer. My view is that bloatware is replaced by another bloatware, which - because of it's young age - have greater future potential of bloat than GCC. This tens or hundreds of thousands of work-hours could be spent far better by getting latest gcc available on GPLv2 licence and start from there, just improving it. GNU communist licence for C compiler is not bad at all (contrary to other software). ___ 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: Why Clang
We already have the latest available with GPLv2, which is very far behind and it requires GCC codebase experts to make any changes at all. This is equivalent to letting any random coder make major changes to OpenSSL -- you simply cannot afford to risk it. so not doing anything and just spent that time drinking beer seems to be better. Anyway far behind gcc is roughly as good as leading edge clang. Actually - lots of time spend and zero gain. ___ 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: Why Clang
pear-shaped. Clang is a great set of compiler tools. If you are only a user, as you suggest, as i suggested - i am a user of compiler. i do compile my own programs, as well as programs from ports. and i hate just telling something is white while it is at most grey. ___ 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: Why Clang
Please stop asking for instant gratification; you won't have it no matter how loud you yell. gratification Seems like you ask for it. The Clang decision is far-reaching and gives numerous advantages to the FreeBSD platform. for example what? ___ 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: Why Clang
gratification Seems like you ask for it. This might be to gratuitous for most on the list, but diversity is almost reason enough. And I don't mean this is some sort of fashion-way. I think llvm and clang are interesting and serious projects. never told otherwise. i just try to do what is really needed - something like mythbusters would help greatly here. clang is very good C compiler, but JUST NOT BETTER than gcc. overall it is comparable. at most. wouldn't it be better to say - well, clang is good and OK, and we are not dependent of GNU communist licence v3 which is important. But instead we here lies about incomparably better compiler. No it is not better. it is at the same class, in some respect actually worse.___ 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: Why Clang
bloated gcc is just funny. Another way of looking at it is after 25 years of optimization GCC is unable to beat a new compiler that's had almost none... none? so why it takes so much time to optimize? ___ 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: Why Clang
GPL runs contrary to the nature and intent of the BSD style license. Free and open software benefits us all. True. GPL is definitely not FREE software. Freedom doesn't have different types. Something is free or it is not free. GPL software is not free as i can not do whatever i want with it. Getting rid of GPL is a good thing, and well worth any (debatable) I fully agree. So why all this lies about much higher performance and others? I don't consider CLANG to be a great success. I consider it acceptable replacement of GCC. i just hate hype and lies. ALWAYS. ___ 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: Why Clang
That's interesting discussion. I hit some cases where clang produced binaries were clearly faster than those made with latest gcc. But it's far from rule. i did few more test on common unix tools, or my programs and results are that by average there are just as fast within 1% range. by average it is just like gcc both im compiling speed and execution speed. Where you have found statements that clang is always faster than gcc? from that mailing list - mostly from mark fedler. He even showed me some nice graphs to prove it - graphs showed speed of -O0 compilation. From my perspective, it's almost as good OR better than gcc, with potential for further improvement and nice license, errors etc. Fair enough. actually good licence is for me the only adventage over gcc. But yes - it is great adventage. ___ 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: Why Clang
scratch and this resulted with thing 5 times larger, *YOUR* measurement of sizes was faulty. grin be more exact. old bloated gcc is just funny. You _do_ understand that they could not use -any- of the technology implementations in GCC, that they had to redevelop everything from scratch, right? even stated this. I'm sure that you _also_ are aware that a larger program size does *NOT* necessarily mean 'bloat'. of course. really i can write programs. and really - i don't understand all this fuss about better error reporting. Really i don't have problems to read gcc error messages when i compile my programs. ___ 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: Why Clang
none? so why it takes so much time to optimize? I don't think you understand how compilers work or the concept that new programming methodologies have been developed over the last 25 years, so this conversation is going to get stuck in a loop. Right. You just behave as defender of CLANG people that will not be paid because of not really good work. but it is free project isn't it? ___ 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: Why Clang
be more exact. I believe Robert Bonomi (you didn't include attribution for the previous email, I notice) *was* more exact, in that the rest of his email explained what he thought of your glossing over the various factors that might contribute to binary size. I notice you ignored most of it in your response, too. or maybe missed. So please tell me finally what is wrong in measuring speed by measuring time of execution doing same things? What i should measure? time in heavens? I can generally puzzle out what caused various GCC warning and error messages when trying to compile my own code, given comparison of what's strange but i don't have a problem - and i always set -Wall when using gcc as 99% of warnings are actually errors. ___ 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: Why Clang
Sorry, my last header wrongly to Mark Felder, could give the wrong impression. I would like Wojciech Puchar (not Mark F.) to stop banging on about 'GNU communist licence' etc. because you don't like facts. Sorry but i like only facts. ___ 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: Error in latest KDE4 install attempt
At 12a Tuesday (6/19) I decided to try installing KDE4 again. When I tried to change directory to /x11/kde4 the directory did not exist. I decided to because it does not exist. /usr/ports/x11/kde4 exist. try to install from my FreeBSD 9 disk at this point. In about 10 sec the install told me that it was unable to install 'qt4-svg-4.7.4' what was a message? I then decided to update my ports collection with portsnap. When the fetch command was downloading the 4 updated metapackages I twice received this error [snapshot is corrupt gnuzip (stdin)] isn't something (ftp/http proxy) on route corrupting data? i NEVER got such a message. rm -rf /var/db/portsnap and portsnap fetch check if you will get corruption. if so - something must be wrong within your network enviromnent. ___ 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: UEFI Secure Boot Specs - And some sanity
Any server manufacturer who chooses to only support MS products is going to find they don't get much business from the academic market. such behaviour is even more stupid today as globally PC market is shrinking. ___ 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: Why Clang
Clang is consistently faster at compiling than GCC and it is very clean and modular -- not bloated. -r-xr-xr-x 3 root wheel 37025016 12 cze 21:46 /usr/bin/clang well.. ___ 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: dumping file system subtree (/var)
alternatively - use tar. What I was trying to achieve, which I haven't done yet, was a smallish dump of the core system. By that I mean system + ports, without distfiles, etc. Then a separate dump of user data, which is considerably larger. At this point I am thinking I should do this: make clean distclean ports to remove temporary stuff set /usr/home NODUMP dump /, /var, and /usr unset /usr/home NODUMP dump /usr/home really - use tar. dump is not for that, but to QUICKLY dump a filesystem. on SSD - both are faster than writing to backup target disk. ___ 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 this something we (as consumers of FreeBSD) need to be aware of?
UEFI considerations drive Fedora to pay MSFT to sign their kernel binaries http://cwonline.computerworld.com/t/8035515/1292406/565573/0/ This would seem to make compiling from source difficult. simply do not support it. As long as they are users of Fedora (as well as FreeBSD and other FREE software) there will be hardware available. Possibly the right time for non-wintel hardware to emerge. it isn't already better and cheaper only because of economy of scale - PCs are still produced by millions. But less and less, PC market is already falling. ___ 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: Why Clang
Has the discussion on why change to clang been made available? I would like to know the reasoning. CLANG isn't GNU licenced. Getting rid of communist licence is right, but still it should not be the prime reason for doing things, as having GNU licenced gcc doesn't really hurt. personally i don't see CLANG anyhow better for now. AFAIK it is even more bloated than gcc Or, is it simply a gratuitous change? Tom Dean ___ 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: Why Clang
Clearly an update was necessary. Unfortunately, later versions of gcc have switched to GPLv3, which is a viral license and unacceptable to the FreeBSD project. wasn't aware of that. Therefore clang was chosen from amongst a number of alternatives as the best replacement. That makes it sound as if clang is a second class option compared to recent gcc, but this is certainly not the case: results from clang are comparable to the latest gcc versions and the design of clang is such that further optimizations and improvements can be readily incorporated. and - at least for now - clang itself is very slow. But produces not worse (or better) code than gcc. ___ 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: dumping file system subtree (/var)
When I originally set up my SSD, the stuff I was following indicated there was no need to put anythng on a separate filesystem. I'm now trying to build a backup system on a usb drive and I want a separate /var and /tmp. I had originally set the nodump flag on /tmp and /var, so my snapshot is empty for those. I don't think there's any reason to preserve /tmp, but is there any good way to copy /var from the running system on the SSD to another filesystem (and still preserve everything, including flags)? My impression is both mksnap_ffs and dump should only be used on a complete filesystem, not a subtree. Or do I need to unset the nodump flag on /var, make a snapshot of /, take a dump :-), and then split the /var out upon restore? And would it be wise to repartition the SSD to put /var and /tmp on their own partitions? i really have no idea why you just don't dump it all? restore have -i option that allow you to partially restore files from a dump. I have SSD, single partition and i use dump to backup it to external hard disk. alternatively - use tar. ___ 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: openoffice doesn't work - any ideas?
___ 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 Google find many things with javaldx failed. Is a problem with java, but different solutions (wrong xml, home permission, java- version ...). Hope you find a solution. 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: ipfw subnetting
can anyone suggest what i'm doing wrong here. Desired:drop everything from 180.0.0.0 to 180.255.255.255 ipfw -q add 137 deny all from 180.0.0.0/8 to any nothing wrong. all is fine. ___ 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: bsdlabel geometry params
whats wrong in juz using bsdlabel ? On Tue, 5 Jun 2012, Gary Aitken wrote: On 06/04/12 15:25, Warren Block wrote: On Mon, 4 Jun 2012, Gary Aitken wrote: What part of the Handbook? I would suggest using gpart(8), it makes GPT partitions easy, and nasty old MBR partitions aren't any worse than with fdisk/bsdlabel. 19.3.2 That's the Storage chapter, section Command Line Utilities. That is yet another section that needs updating. In the meantime, here: I was making some notes as I went along about that. I did decide to switch, thanks. http://www.wonkity.com/~wblock/docs/html/disksetup.html The second half of that covers using gpart(8). I suggest using GPT partitions unless your configuration does not allow them (gmirror, for example). Probably should have read mail sooner... I found the wikipedia article http://en.wikipedia.org/wiki/GUID_Partition_Table exactly what I needed to make sense of gpart. Once you understand how the dang thing is laid out, the commands make sense. Without that, it's pretty difficult (for me, anyway) to figure out how it knows what it needs to know to get it done. 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 ___ 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: umount device busy
As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the No such file or directory mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. no NTFS driver for FreeBSD is really well done. fusefs based ntfs driver in my opinion is more usable (but not really good) try umount -f ___ 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: Building youtube-dl from Ports causes trouble?
I updated my ports this morning, built youtube-dl, and after finding definitely not related to youtube-dl. some software wouldn't work, rebooted. Now X doesn't start, and when I tried to start emacs, it seems that libpng, required by emacs, has vanished. So my current theory is that I should just rebuild all my ports? I'm amazed that this could happen, truthfully. unfortunately ports subsystem is far from being good. anyway making it good dealing with today modern software with enormous amount of dependencies is just very hard. ___ 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: Strange case of vanishing disk
I reckon as stated at the beginning that either the 180Watt PSU inside the system isn't enough or the controller is just really poor?? well i got through the same. changing PSU, forced a seller to replace my motherboard (got NEW, not the same - checked), checked all cables, even changing disks. used separate JMicron (as yours) based PCIe controllers, and builtin SATA ports on motherboard. things happened randomly. Checked if chipset isn't overheating on board - it wasn't. Then i just got worried and got some money to buy new (low end model) of Dell Poweredge. Things now works with onboard controller, with addon JMicron PCIe (yes the same cards), with any cables and all disks i tried before including those i considered faulty. What i think is that it is not controllers fault not disk faults or not even CPU/memory/chipset fault but bad motherboard electrical design of some motherboard. Possibly because of just different pattern of operation under windoze most clients don't have such a problem and motherboard are continued to be cheaply produced. As formerly failing JMicron controllers are working fine on Dell server proves that it isn't FreeBSD fault too. Could anyone suggest anything to look into, I'm sure I've covered all the bases but just incase there is something else I can do with this one?? Change the motherboard to DIFFERENT. ___ 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: Strange case of vanishing disk
I just offlined the system and took a look at the BIOS. The hard disk controller was set to ATA NATIVE, I attempted changing to AHCI and the system failed to boot thereafter. do you have ahci and ada drivers compiled in? Booting into my rescue CD of FreeSBIE, with AHCI enabled only showed ad4 (the troubled disk) to be registering. showing up some, but not all disks after rebooting is quite common to the problem i described. POWERING OFF (by disconnecting electricity, not by power button), waiting a minute, and powering on fixes the problem for some time. ___ 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: apache2 doesn't .flv in my server
But when i call at http://myweb/example.flv i only download this file. How can I solve this case ? AddHandler flv-stream .flv ? Yes there is that line in httpd.conf But flv doesn't work do you have video/x-flv flv in your mime table. browser mostly ignore extension but look at mime type to decide on action. ___ 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 subject)
and do you need this for a non-server? Adobe don't want us (FreeBSD users) to use their closed-source software. And i respect their will and don't use it. Which resulted in much easier browsing by the way :) Some, too many, web sites are difficult or impossible to access without Adobe Flash. true. but this is actually great filter that save your time. such sites doesn't have any real contents. Adobe may discontinue Linux version of Flash plugin except when bundled with Chrome browser. I personally would like to see HTML 5 wipe Adobe Flash off the face of the earth. true. Gnash is great on YouTube but seems to work nowhere else. i rarely run gnash. youtube is not a problem, use youtube-dl from ports and do download videos to disk drive, then watch instead of having movies in the internet, where they can disappear everytime youtube decide that you should's watch it. ___ 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: HP networked printer -- hp-setup won't use, hp-probe finds
ppd file are actually human readable, you get a fragment that tell you how to filter postscript to produce output. eg. my OfficeJet 8500 filter is based on it. On Sun, 3 Jun 2012, Thomas Mueller wrote: Polytropon, you mention ppd files (.ppd or .ppd.gz). Is this the binary plugin that hplip was unable to install for me? Or am I grasping at straws? Somehow I thought the binary plugin was much bigger than the .ppd.gz files found in /usr/local/share/ppd/HP/ Tom ___ 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 use an external USB3.0 drive with 4k sectors?
2. Replace the vendor installed NTFS with a UFS file system. $ newfs -U /dev/da1s1 (No, I didn't bother to create BSD partitions) but why still create msdos partition? ___ 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 on the ASUS P8H67-M LGA1155 H67 motherboard
2. It looses one of the HDDs during intensive read/write operations: Jun 2 00:55:33 vas kernel: ahcich1: Timeout on slot 4 port 0 Jun 2 00:55:33 vas kernel: ahcich1: is cs 00c0 ss 00f0 rs 00f0 tfd c0 serr cmd c617 Jun 2 00:56:48 vas kernel: ahcich1: Timeout on slot 0 port 0 Jun 2 00:56:48 vas kernel: ahcich1: is cs 0001 ss rs 0001 tfd c0 serr cmd c017 Jun 2 00:57:20 vas kernel: ahcich1: AHCI reset: device not ready after 31000ms (tfd = 0080) I shall of course check the HDD and cable, but they worked flawlessly on the previous system. well i've had such problems regularly with many motherboard. It happens often when you have many disks and put heavy load on them. And it is only result of poor hardware (not sure - poor controller, motherboard design, both?). i tried changing disks, ports, until i replaced this server with dell poweredge ;) if this is quite random, swapping ports change the behaviour but not solve it, swapping cables does not, yet there is no real rule when and why it happens you have same problem that i've had. 3. I had to run xorg in VESA mode, because xf86-video-intel-2.7.1_4 does not recognize the video chip on the motherboard on question. That is a tried this from ports? drwxr-xr-x 2 root wheel 512 18 maj 16:49 xf86-video-intel29 depends of hardware model. actually intel GFX is the only one i tolerate and it works. Eg the one in my lenovo G550 laptop needs 2.7 driver, the one builtin in Atom D525 processor needs 2.9 driver. Completely new intel GFX are not YET supported but that what i only heard as i don't have any of them. ___ 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: Anyone using freebsd ZFS for large storage servers?
When I say fast that's mean I already do some benchmarks with iozone. And do some graphs to see what the performance are. What I can say is it's go lot faster than H700+ 12 disk 600 15k/min. i asked if it is faster than properly made UFS/gmirror/gstripe mix on the same hardware. And I do those tests on FreeBSD with 12 disk, 24 disk, 36 disk and finaly 48 disk. would be nice. All I can say is ZFS go faster than 12 disk with H700 (and ext3) almost every time. if you compare to ext3 then maybe it is faster. compare to UFS. can be controlled by settings in loader.conf. Yes, but I think that's not a good idea to buy a server with 4 Go and make him manage 100To through ZFS as for file server i don't see a reason to buy more. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anyone using freebsd ZFS for large storage servers?
On the other hand, even on a single-disk pool, ZFS stores two copies of all metadata, so the chances of actually losing a directory block are extremely remote. On mirrored or RAIDZ pools, you have at least four copies of all metadata. i can only wish you to be lucky. sometimes lack of understanding make people happy. ___ 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: HP networked printer -- hp-setup won't use, hp-probe finds
seems you like to incredibly complicated things. It just happens that i configured that printer in one office and there is NO NEED for this windows-style crappy shit from HP. /usr/ports/print/hplip (make config and disable GUI trash) is enough. scanning works directly to SMB exported shares or mails - just connect by WWW browser to http://yourprinterip and configure it. printing works fine with this lpr filter #!/bin/sh export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin /usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \ -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD \ -sDeviceModel=deskjet 5600 -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 \ -dDEVICEHEIGHTPOINTS=842 -r600 \ -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2 \ -sOutputFile=/tmp/$$ - /dev/null cat /tmp/$$ rm /tmp/$$ that's all. Work for whole office without trash software installed on (windoze) workstation or unix server. ___ 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: Anyone using freebsd ZFS for large storage servers?
I have another storage server named bd3 that has a RAIDz2 array of 2.5T drives (11 of them, IIRC) but it is presently powered down for maintenance. seems you don't need performance at all if you use RAIDz1/2 and ZFS. unless performance for you means how fast 1GB file are read linearly. ___ 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: HP networked printer -- hp-setup won't use, hp-probe finds
that's all. Work for whole office without trash software installed on (windoze) workstation or unix server. ___ Your message is worth saving, gives me some new ideas on getting that recalcitrant printer (HP M1212nf MFP) to work. if you want mail my privately i have quite large practice in making modern printers to work normal way. i don't think there are HP printers that cannot be made to work normally. If not hplip or hpijs then /usr/ports/print/foo2zjs is your friend. Most probably this printer will need foo2... tools. And fortunately none of this solution requires CUPS, even if some ports are made so cups are installed (not a problem anyway) there is no need to use it. Normal (==ancient) way of using printers under unix is to use lpd and write a filter that will translate at least postscript to printer's format. If your machine is a network server for windoze computers then use samba and just add printing = bsd load printers = yes in [global] and all your printers in /etc/printcap are available. Install generic postscript driver in windows. Actually - Any Apple postscript printer driver in windows XP (their postscript is actually compatible with postscript). this way you gain independence - changing printer doesn't need fooling with windows drivers, and you print from anything. ___ 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 subject)
I suppose if it ain't broke, don't fix it. I have FreeBSD 8.2_RELEASE i386 on an old computer, pinched for disk space and only 256 MB RAM, won't try upgrading in place. On the new computer, after not being able to boot NetBSD most of the time and never getting to a graphical interface, FreeBSD 9.0-BETA1 was released, and I downloaded and installed that: a dream compared to NetBSD which didn't really like the new hardware. I used NetBSD after using linux and before FreeBSD. Since v 1.6 and definitely since 2.0 NetBSD turned into bloatware, as well as crashware and slowware. Exactly as i predicted when new company were created and started sponsoring NetBSD too much. It is useless now. FreeBSD fortunately doesn't go that route, every new release is actually better, and bloatware required to get enough sponsoring is clearly separated from the real part, having no effect on base system if you don't use it. I never used the old computer as a server. i do. Old computers for small scale server (small office, few users), New for larger. For a server, you don't need a lot of fancy stuff such as Adobe Flash and do you need this for a non-server? Adobe don't want us (FreeBSD users) to use their closed-source software. And i respect their will and don't use it. Which resulted in much easier browsing by the way :) and other multimedia functionality, nor do you need a lot of RAM. depends what you run. Add spamassassin, clamav, squid and 512MB is quite a minimum, 256MB bearable with max few users and quita a bit of paging. Anything NEW, like cheapest dell poweredge server you can buy, is enough for even large office unless you do stupid things, or use virtualbox heavily. ___ 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: 9.0 on SSD
filesystem which resides on the SSD. Is it good, bad or irrelevant for the SSD ? Mostly irrelevant, I think. I've been using just ordinary soft updates as there is bug fixing going on with SU+J. fsck on the SSD is very fast anyway, so SU+J is needed less. And there's a little less writing because there is no journal. But then, I've left atime on, too. ___ i have FreeBSD 9 and SSD (OCZ Agility 3 60GB) DO NOT use any kind of journalling - this increase writes and wear, while fsck takes 10 seconds for me. do use -t option for newfs. make sure your FS partition is aligned to 4 kilobytes. All these web advices about aligning to 1MB is classic pure nonsense (most often used NTFS aligns to 4kB anyway). run without swap or make pseudo-dynamic swap with mdconfig ;) My config: 1) no MSDOS partitions (slices). not needed no matter if it is SSD or not. unless you run windoze too. 2) single partition for FreeBSD, SSD are not huge and wasting space for partitions isn't smart. example: # /dev/ada0: 8 partitions: # size offsetfstype [fsize bsize bps/cpg] a: 117231408 04.2BSD0 0 0 c: 117231408 0unused0 0 # raw part, don't edit 3) newfs -m 0 -i 16384 -b 8192 -f 1024 -U -t /dev/ada0a or similar settings. maybe you can run with less inodes (in my case i've got 3.6M inodes). for rare case swapping i do in /etc/rc.local #!/bin/sh echo creating swapfile /bin/rm -f /swapfile.tmp dd if=/dev/zero of=/swapfile.tmp bs=8m seek=1k count=0 /sbin/mdconfig -a -t vnode -u 0 -f /swapfile.tmp || /bin/sh /bin/rm -f /swapfile.tmp /sbin/swapctl -a /dev/md0 and in /etc/rc.shutdown.local #!/bin/sh echo removing swapfile /sbin/swapctl -d /dev/md0 /sbin/mdconfig -d -u 0 this will allocate 8GB file with holes, space would be allocated when actually needed, and deallocated on shutdown. ___ 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 use an external USB3.0 drive with 4k sectors?
# mount -t ntfs -o ro /dev/da5s1 /mnt mount_ntfs: /dev/da5s1: Invalid argument ) your dmesg shows drive is properly detected. seems like ntfs driver doesn't work OR MBR is't properly handled. ___ 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: Anyone using freebsd ZFS for large storage servers?
48TB each, roughly. There would be a couple of units. The pizza boxes would be used for computational tasks, and nominally would have 8 cores and 96G+ RAM. Obvious questions are hardware compatibility and stability. I've set up small FreeBSD 9 machines with ZFS roots and simple mirrors for other tasks here, and those have been successful so far. Observations would be appreciated. you idea of using disks in JBOD style (no hardware RAID) is good, but of using ZFS is bad. i would recommend you to do some real performance testing of ZFS on any config under real load (workload doesn't fit cache, there are many different things done by many users/programs) and compare it to PROPERLY done UFS config on such config (with the help of gmirror/gstripe) if you will have better result you certainly didn't configure the latter case (UFS,Gmirror,gstripe) properly :) in spite of large scale hype and promotion of this free software (which by itself should be red alert for you), i strongly recommend to stay away from it. and definitely do not use it if you will not have regular backups of all data, as in case of failures (yes they do happen) you will just have no chance to repair it. There is NO fsck_zfs! And ZFS is promoted as it doesn't need it. Assuming that filesystem doesn't need offline filesystem check utility because it never crash is funny. In the other hand i never ever heard of UFS failsystem failure that was not a result of physical disk failure and resulted in bad damage. in worst case some files or one/few subdirectory landed in lost+found, and some recently (minutes at most) done things wasn't here. if you still like to use it, do not forget it uses many times more CPU power than UFS in handling filesystem, leaving much to computation you want to do. As of memory you may limit it's memory (ab)usage by adding proper statements to loader.conf but still it uses enormous amount of it. with 96GB it may not be a problem for you, or it may depends how much memory you need for computation. if you need help in properly configuring large storage with UFS and gmirror/gstripe tools then feel free to ask ___ 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: Anyone using freebsd ZFS for large storage servers?
I am also in charge of redesigning one of our virtual SAN's to a FreeBSD ZFS storage system which will run well how many JBOD's can you fit on the system?? Probably round ~100TB or so. quite a bit more without buying overpriced things ___ 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: Anyone using freebsd ZFS for large storage servers?
I'm not using as huge a dataset, but I was seeing this behavior as well when I first set my box up. What was happening was that ZFS was caching *lots* of writes, and then would dump them all to disk at once, during which time the computer was completely occupied with the disk I/O. The solution (suggested from http://wiki.freebsd.org/ZFSTuningGuide) for me was: vfs.zfs.txg.timeout=5 both problem, and solution is very close to linux style ext2/3/4 and it's behaviour. And one of the main reason to moving out from this s..t to FreeBSD. (the other was networking) UFS writes out complete MAXBSIZE sized chunks quickly. all of that behaviour or linux (and probably ZFS) are because it often gives better result in benchmark, and people love synthetic benchmarks. ___ 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: vpn speed loss
vpn connexion. I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and the max speed (according to various speedtests) is 5 to 6MB. 5-6MB = megabytes per second? megabytes per hour? per year? be more precise. Without the vpn I'm having 45-50 MB... My vpn service has servers in do not expect high performance with VPN and ESPECIALLY on this protocols. no idea really how openvpn works, but if you can choose between TCP based and UDP based VPN then try both. UDP is better in protocol point of view but it may be bad for OS overhead. TCP is better with OS overhead but may result in retransmit mess when there are packet loss (both native traffic is retransmitted and then virtual traffic) ___ 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 use an external USB3.0 drive with 4k sectors?
I have recompiled the kernel with device ada and put ahci_load=YES in /boot/loader.conf. you don't need ada driver for USB disk. anyway you need it for your SATA disk to make things fast. and mounting it works. Obviously, for the disk the device nodes aren't created... Is there something different between umass sticks and umass drives? lost of USB devices are not really standard compliant. ___ 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: Anyone using freebsd ZFS for large storage servers?
Assuming that filesystem doesn't need offline filesystem check utility because it never crash is funny. zfs scrub...??? when starting means crash quickly? Well.. no. Certainly with computers that never have hardware faults and assuming ZFS doesn't have any software bugs you may be right. But in real world you will be hardly punished some day ;) Additionally ZFS works directly at the block level of the HD meaning that it is slightly different to the 'normal' file systems in storing information and is also self healing.. doesn't other filesystem work on block level too? if no - then at what level? ___ 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: Anyone using freebsd ZFS for large storage servers?
level? It was my impression that ZFS doesn't actually format the disk as does any filesystem format a disk? disks are nowadays factory formatted. filesystem only write data and it's metadata on it. I really recommend you to get basic knowledge of how (any) filesystem works. THEN please discuss things. ___ 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: Anyone using freebsd ZFS for large storage servers?
and unbelievable narrow cases, when you don't have or can't access a backup (which you should have even when using ZFS), and you _need_ to do some forensic analysis on disks, ZFS seems to be a worse solution than UFS. On ZFS, you never can predict where the data will go. Add several disks to true. in UFS for example inodes are at known place, and flat structure instead of tree is used. even if some sectors are overwritten with garbage then fsck can scan over inodes and recover all that can be recovered. ZFS is somehow in that part similar to Amiga Fast File System. when you overwrite a directory block (by hardware fault for example), everything below that directory will disappear. You may not be even aware of it until you need that data Only separate software (that - contrary to ZFS - do exist) can recover things by linearly scanning whole disk. terribly slow but at least possible. EVEN FAT16/FAT32 IS MORE SAFE. ___ 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: Anyone using freebsd ZFS for large storage servers?
As for ZFS being dangerous, we have a score of drive-years with no loss of data. The lack of fsck is considered in this intelligently written piece you are just lucky. before i would start using anything new in such important part as filesystem, i do extreme test, ssimulate hardware faults, random overwrites etc. I did it for ZFS not once, and it fails miserably ending with unrecoverable filesystem that - at best - is without data in some subdirectory. at worst - that crashes at mount and are inaccessible forever. under FFS the worst thing i can get is loss of overwritten data only. overwritten inode - lost file. overwrite data blocks - overwritten files. nothing more! what i don't talk about is ZFS performance which is just terribly bad, except some few special cases when it is slightly faster than UFS+softupdates. It is even worse with RAID-5 style layout which ZFS do better with RAID-Z. Better=random read performance of single drive. ___ 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: removing /var/empty on a non-system disk
what ls -lod empty says? On Fri, 25 May 2012, Gary Aitken wrote: On 05/25/12 14:38, Wojciech Puchar wrote: chflags noschg is your friend. Not in this case. If you look at the commands attempted, that was already tried (line 282) Topmost login had to be as root. On Fri, 25 May 2012, Gary Aitken wrote: something I'm not seeing I've got a disk previously used as a sys disk I'm trying to clean up. What's the key to removing /var/empty? 280 /hd1/var#sysctl kern.securelevel kern.securelevel: -1 281 /hd1/var#ls -l total 4 dr-xr-xr-x 2 root wheel 512 Jan 3 00:55 empty 282 /hd1/var#chflags noschg empty 283 /hd1/var#chmod 777 empty chmod: empty: Operation not permitted 284 /hd1/var#rmdir empty rmdir: empty: Operation not permitted ___ 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: why I am upset
I am running KDE 4.8 from January on my Linux computer. Now is almost June and we got KDE 4.8 on FreeBSD too. 5 months testing and it works? No. The modern OS for the desktop computer doesn;t works. O.K. OS works but installatoon of 5 months testing of KDE doesn;t. so stop using trendy desktop and just start to do actual work and you will not be upset any more but happy. Desktop environments offer exactly zero value and do nothing. Just use fvwm2, maybe icewm, tune it to your needs and start working. use xterm as your start button by starting program you need from command like. configure fvwm2 to have multiple virtual desktop switchable by keystrokes so you will have something like standard text console just in X11 with ability to run X11 programs. in most cases - run one program on one virtual desktop. Multiple windows on screen is only fashionable but useless in practice. After a while you will end in removing every unneeded things that are only fashionable but just wastes time and monitor space. For example window frames and titles. Desktop environments are required so average winuser will not protest too much when i do X11 terminal based configuration. but i use gnome2 this case with gdm as it is far faster (==less slow) than KDE, and as well as KDE gives nothing but looks more windows-like. ___ 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: kldxref: /boot/kernel/kernel: too many sections
install -o root -g wheel -m 555 green_saver.ko /boot/kernel install -o root -g wheel -m 555 green_saver.ko.symbols /boot/kernel kldxref /boot/kernel kldxref: /boot/kernel/kernel: too many sections kldxref: error while reading /boot/kernel/kernel: Bad address su:/usr/src$ I tried to remove the /usr/obj and remake the kernel by make buildkernel again but the error remains. I use 8.2-STABLE with a freshly updated RELENG_8 src. I do not build all kernel modules so I have the following in my make.conf MODULES_OVERRIDE = nfsserver linux linprocfs geom/geom_bde syscons/green is it i386/amd64? strange didn't you set -j option to make when doing install? ___ 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: ports tree
Would it be stupid idea to have publicly available, mountable (nfs) partition, with full port tree(s)? I think it would be good for systems with low storage space. I know hd space is cheap, but I run over and over to this problem. read only or read write? public read write isn't smart. I don't know how easily it could be done, but some kind of session based temporary write permissions would be good too. To be able to make make install directly from mounted partition. man mount_unionfs I don't think very many people would need to have local personal copy of ports tree then. So, is this just stupid? no. ___ 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: ports tree
This was good to know. as others told there is smarter way to do this set WRKDIRPREFIX to somewhere else. no. Is there such environment variables that can be pointed to writeable partition? That sources download and compiles on different partition. Then there is no bandwidth problem since only Makefile kind of files get readed from the server. WRKDIRPREFIX solves work directory. if you properly regulate access rights and YOU administer that machines, i would do NFS mounted read-write /usr/ports/distfiles. ___ 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: Cloud software ?
I'm searching for a cloud software :-) look at clouds. More precisely we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices ... ( Personnal PC, Mac, smartphones and tablets ... etc ) if you first define what cloud is - then maybe i can help you. Now cloud is just marketdroid term meaning 100 different things, often contradictory. If for you cloud computing means using remote services, then all FreeBSD available software are cloud software - just log remotely to FreeBSD server, by text (telnet,ssh) or graphics (X11, vnc) which is what i actually do most of the time ___ 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: Cloud software ?
i think most people talking about cloud solutions have really CLOUDY idea of what they want. Far too much marketing, far too little (if any) description of the needs. On Fri, 25 May 2012, Matthew Seaman wrote: On 25/05/2012 10:11, Frank Bonnet wrote: a kind of private cloud Uh... Isn't 'private' essentially the antithesis of 'cloud'? Unless you have quite a lot of hardware to play with. I believe what you are looking for is what we old codgers would describe as a Web Site... Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ___ 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
question about milter software
Does anyone know milter software (or maybe anything else) to add to sendmail that can rewrite outgoing mail and add HTML footer automatically? Please do not tell me about how stupid HTML mail is at all - i know it, it is not my idea. 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: Cloud software ?
the antithesis of 'cloud'? I would never invest a dime or a single bit of data to a cloud venture. how one can invest of something that isn't even defined clearly. ___ 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: Cloud software ?
With apologies to Joni Mitchell: I've looked at clouds from both sides now, From up and down, and still somehow, It's cloud illusions I recall, I really don't know clouds, at all. Well, someone had to say it. :-) It summarises the marketing hype perfectly. fashion is quite often deciding factor not just in clothes. Actually it works just the same in IT. What is funny with cloud computing (new fashion trend) is that isn't defined at all. most probably marketing people found out that it is not needed to define anything to make people buyANYTHING. ___ 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: question about milter software
I think you'll find Postfix to be much more modern and easy to work with for that kind of message rewriting. you are actually wrong in that statement. In spite of hype that postscript started with, i am still using sendmail because it is actually easiest if you learn it. But what you're looking for is pretty complicated when you start having to deal with multipart messages; the messages have to be this is unfortunately true, because i could quickly do myself a filter that would trivially append footer, but it will not work. That's the reason of my question - IF such (quite complex) software is already written. ___ 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: Cloud software ?
Well ... My goal was NOT to start a flame war around the cloud term ... you didn't. You just started a flame of requests to be more precise and go down from the clouds to earth. So finally write down what you need, and we most probably can help you. But... if you want to just sell some solution, make anything and just promote it enough calling it cloud computing and it would probably sell ;) until this bubble (just like bubbles before) would crash ___ 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: Cloud software ?
Well ... in short I need to let our users ( students + profs ) access and share their data ( living in their UNIX home directories ) The access must be easy and possible from as much devices as possible. Am I clear enough ? ( sorry English is not my native language ...) yes NOW IT IS CLEAR. Couldn't you start that way. There are many solutions and it depends of what you need. On large scale maybe something like AFS? Or maybe far more trivial methods would be enough. It all depends. fell free to mail me privately. ___ 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: Cloud software ?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html 30.3 Network File System (NFS) Use NFS : Define each computer as both Server to serve to other users(s) and Client .to see the other server(s) . If there are Windows computers , you may also use SAMBA : http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html all are great and heavily used be me but i think it may not fit on distributed environment with where network is far slower than 100Mbit/s inbetween. ___ 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: Cloud software ?
The access must be easy and possible from as much devices as possible. Am I clear enough ? ( sorry English is not my native language ...) Well, this should reduce the cloud to an sftp-server or - if their stuff isn't security sensitive to an ftp-server. depends on connectivity. If you just want to access small files sometimes then right. or have high speed connections, then SAMBA and NFS is right tool. if you want 1000 users to have their home directories always on their computers but with copy kept centrally, then it would be best to keep it locally and run rsync (for unix users) or syncback under windoze to just synchronize it every day after work. If you need some shared directories but where one person changes data and other reads - then still that solution is great. But if you don't have fast links, operate on directories shared between users where more than one have to write, then something more complex is needed. ___ 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: Cloud software ?
As he said in his post, NFS is the first place to start. It's available on FreeBSD, Linux, Mac OS, other Unix derived systems, and Windows 7. The one thing to be careful of is that it works best when you have all home directories on central servers and all access is on client machines. It is i would strongly recommend serving windows clients with windows protocol (samba), it is just simple and works great For earlier ( 7) Windows boxes, one possibility is running Samba on the Unix servers. This would seem most natural to a Windows user as they merely have to browse the network to find the shared file systems. With windows 7 samba still is far better. And with NFS you will not be able to enforce security without making separate filesystem for each user. However, another possibility is running a WebDAV server that makes the home directories visible. Windows (= XP) can connect drive letters to WebDAV servers, and there are also Android and iPhone apps that can access WebDAV. if really someone needs HTTP based file access (IMHO stupid) because phones require this i would rather set it up parallel to SAMBA and/or NFS ___ 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: Cloud software ?
Am I clear enough ? ( sorry English is not my native language ...) Access is still a bit vague, but security/openvpn may be part of the answer: http://openvpn.net/index.php/open-source.html for windows users i would recommend mpd - it provides VPN in windows standard, just use windows add connection, select VPN connection to work and go on. Some months ago, I read about an in-browser implementation of VNC (if I remember correctly), but I didn't store the link. Maybe that is an inspiration? Simple solution for simple people: People love web browsers, and the web is everywhere. So why deal with OS-specific access methods when all they need is a web browser, which is a solution they'll prefer anyway? There are also SSH clients written in Java or JavaScript. if you can make people use unix-only software, this is fine. ___ 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: re0 take 100% CPU
broken device or motherboard, or conflict. check if irq is not shared. re0 are not great network cards but really not that bad. something is badly broken with hardware On Fri, 25 May 2012, Eugen Konkov wrote: How to look what re0 is doing?? And how to debug that? last pid: 74164; load averages: 17.97, 13.81, 14.40 up 47+09:31:54 21:50:58 110 processes: 9 running, 87 sleeping, 14 waiting CPU: 0.5% user, 0.0% nice, 1.6% system, 97.9% interrupt, 0.0% idle Mem: 194M Active, 449M Inact, 204M Wired, 20K Cache, 112M Buf, 1143M Free Swap: 512M Total, 512M Free PID USERNAME PRI NICE SIZERES STATETIME WCPU COMMAND 12 root -76- 0K 112K WAIT65.3H 100.00% {irq256: re0} 65795 root 390 13420K 5804K select 19:58 0.63% snmpd 2664 root 360 14608K 6812K RUN 75:49 0.54% bgpd 0 root -760 0K80K - 31.6H 0.44% {dummynet} 7758 bind 360 75268K 62880K RUN178:21 0.24% {named} 12 root -44- 0K 112K WAIT29.4H 0.10% {swi4: clock} # systat -v 2 usersLoad 13.61 12.24 13.96 May 24 21:49 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 2561006368 626872 8116 1171172 count All 3539609500 279281226356 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Flt 3 cow4404 total 12 32 2207 106 4216 4404 3983 48 28 zfod 1 ata0 14 ozfod 4119 hpet0 20 4.1%Sys 93.4%Intr 2.6%User 0.0%Nice 0.0%Idle%ozfod uhci0 ehci ||||||||||| daefr 284 re0 256 ==+++ 7 prcfr 40 dtbuf 44 totfr Namei Name-cache Dir-cache111725 desvn react Callshits %hits % 64097 numvn pdwak 31773177 100 27926 frevn pdpgs intrn Disks ad1 da0 pass0209000 wire KB/t 14.85 0.00 0.00198616 act tps 1 0 0459200 inact MB/s 0.01 0.00 0.0020 cache %busy 2 0 0 1169956 free # vmstat -i interrupt total rate irq14: ata0 5946124 1 irq20: hpet0 3979660990971 irq23: uhci0 ehci085 0 irq256: re0 3847013663939 Total 7832620862 1912 # uptime 9:44PM up 47 days, 9:25, 2 users, load averages: 9.05, 14.17, 15.61 #bwm-ng -I re0 bwm-ng v0.6 (probing every 0.500s), press 'h' for help input: getifaddrs type: rate - iface Rx TxTotal == re0: 13.32 Mb/s 12.42 Mb/s 25.74 Mb/s -- total: 14.95 Mb/s 13.94 Mb/s 28.89 Mb/s # vmstat -z ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP UMA Kegs: 128, 0, 92, 28, 92, 0, 0 UMA Zones: 224, 0, 92, 10, 92, 0, 0 UMA Slabs: 284, 0,1158, 4, 29780, 0, 0 UMA RCntSlabs: 544, 0, 919, 5, 919, 0, 0 UMA Hash: 128, 0, 2, 28, 3, 0, 0 16 Bucket: 76, 0, 36, 14, 36, 0, 0 32 Bucket: 140, 0, 43, 13, 44, 0, 0 64 Bucket: 268, 0, 59, 11, 67, 90, 0 128 Bucket: 524, 0, 895, 1, 27120, 585, 0 VM OBJECT: 136, 0, 37976, 130,40520105, 0, 0 MAP:140, 0, 7, 49, 7, 0, 0 KMAP ENTRY: 72, 57505, 32, 127, 79899, 0, 0 MAP ENTRY: 72, 0,2094,1192,100480394, 0, 0 DP fakepg: 72, 0, 0, 0, 0, 0, 0 SG fakepg: 72, 0, 0, 0, 0, 0, 0 mt_zone: 2060, 0, 268, 11, 268, 0, 0 16: 16, 0,5106, 375,251057215, 0, 0 32: 32, 0, 26924, 196,1931894354, 0, 0 64: 64, 0,6372, 413,172309547, 0, 0 128:128, 0,
Re: removing /var/empty on a non-system disk
chflags noschg is your friend. On Fri, 25 May 2012, Gary Aitken wrote: something I'm not seeing I've got a disk previously used as a sys disk I'm trying to clean up. What's the key to removing /var/empty? 280 /hd1/var#sysctl kern.securelevel kern.securelevel: -1 281 /hd1/var#ls -l total 4 dr-xr-xr-x 2 root wheel 512 Jan 3 00:55 empty 282 /hd1/var#chflags noschg empty 283 /hd1/var#chmod 777 empty chmod: empty: Operation not permitted 284 /hd1/var#rmdir empty rmdir: empty: Operation not permitted ___ 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: question about milter software
I guess it's pretty subjective, which is how I should have originally prefaced my statement. I used sendmail for a long time, and always hated working with m4 or direct sendmail configuration files. well i just used README file and sometimes google. For me, Postfix is so much easier, but to each his own. it's mostly personal preferences. both are rather configurable, just different way. ___ 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: Network Cards Compatibility
I would like to have a list of the free bsd compatible network cards . Is it compatible with realtek chipset drivers. That comes with most PC's? i think making list of incompatible network cards would be far easier. since a very long time i just never checked as everything have a driver in FreeBSD. actually i only once seen card that FreeBSD had no driver. fortunately ndisgen tool solved it. Of course using ndisgen and windows driver in anything else than home toy isn't good, but it was exactly home toyputer. ___ 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: PHP 5.3 + ZendGuard Support
Am I the only one of few people who needs to run PHP scripts on FreeBSD machine that were encoded with Zend Guard technology? trying to run linux version of probably not, no idea EXACTLY what zend guard is but i've seen other such standards of encoding==obfuscating PHP sources. I don't provide services like hosting for anyone, while i do support businesses and run their servers, and if anyone offer his/her software in such form i (which happened) i just say NO at least, preferably kicking ass. Don't believe in i use it because i don't my code i worked hard on it to be copied by others which actually mean I am simple thief and i copied almost everything and not even modified it much as i don't understand it at all, so i use encoder/obfuscator to hide it. Allowing any software without proper source and preferably documentation in any business always ends badly. So really - if you provide hosting service just run linux for that case, on VM, and probably charge a bit more for that, or leave such case to competition to handle. in every other case just say no. ___ 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: file permission template
I need a sort of file permission template. Under some particular directory (like ~/secret), I need all those files (including newly creating one) mode 700. Is there any template-trick? Or chmod -R 700 every time? umask when creating files there. ___ 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: file permission template
Thanks. But I need specific directory only. umask way seems to set mode not only under ~/secret but other directories like ~/public. Is there any elegant way? elegant way is just to chmod 700 ~/secret and do not do anything more, as files under ~/secret are already inaccessible too for others and group. ___ 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 does look strange
After a reinstall of winxp, yes I know but the games. I have a fat32 slice/partition/postcard whatever it's called. Mocking me with: testbox# fsck -y -t msdosfs /dev/ad4 ** /dev/ad4 Invalid signature in fsinfo block Fix? yes fsck: /dev/ad4: Floating point exception: 8 testbox# why ad4 not ad4s1 (or s2 etc...)? ___ 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 software can support that UPS ?
thanks for help. found it non-FreeBSD specific. just this model is not supported by available software. Thanks again On Mon, 14 May 2012, Robert Huff wrote: Wojciech Puchar writes: /usr/ports/sysutils/apcupsd ? ? - so what to give as device? /dev/ugen1.3? set UPSCABLE usb UPSTYPE usb My BackUPS RS 500 works fine using those and a empty DEVICE field. It is possible this is a new/redesigned model that Apcupsd does not handle correctly. (APC is famous for not having a consistant interface, even model lines.) If so, you should post to the apcupsd mailing list where these kind of things get prompt attention. Robert Huff ___ 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: AFS install
I am not sure how that plays in it. I am definitely not a make hacker. Anyway, is there a good tinker to get past this or do I have to wait until something gets updated in the port? 8.2 version should work just fine as 8.3 version. Some simple fixing of makefiles/other files or even symlinks should correct it. Or, did I just do something stupid? Probably not you but program authors by requiring to change source every time new FreeBSD version will go out. ___ 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: Maximum number of tun pseudo-devices
i would rather look at software that uses tun interfaces instead of FreeBSD which seems to support more than 128 tuns out of the box: this: # x=1;while [ $x -lt 2000 ];do ifconfig tun$x create;x=$[x+1];done worked fine. ifconfig shows 2000 tun interfaces # x=1;while [ $x -lt 2000 ];do ifconfig tun$x destroy;x=$[x+1];done worked fine too. what software do you use for tun interfaces? ___ 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: let's work together
Sorry for OT it is funny that such cheat-companies are so common in Poland, advertise a lot not even understanding what they are talking about. The funny part is that potential clients believe in this trash instead of simply use google and type webpage promotion, google rank etc.. etc.. or equivalent in polish. Anyone that can do it would at first promote him/herself. From my practice doing static webpage using standard HTML, filling keyworks, titles and description properly and using HTML tags like H1,H2 .. properly, and having only one URL to display single contents is just enough and result in best google rankings. Badly designed webpages cannot be promoted. My name is Brooke Black and I would really love to tell you how docs.freebsd.org can rank even better in Google. I'm a SEO expert working at Instant Traffic and while doing a research for some of my colleagues I found your email address and decided to contact you immediately. If you are interested I will be happy to send the additional information and all the details needed to make it happen. Thanks a lot, Brooke instantraffic.com ___ 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
what software can support that UPS ?
seems like it is very badly made USB interface, all class data is empty, ugen1.3: ECO Pro Series UPS EVER at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0101 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0008 idVendor = 0x0403 idProduct = 0xe520 bcdDevice = 0x0400 iManufacturer = 0x0001 EVER iProduct = 0x0002 ECO Pro Series UPS iSerialNumber = 0x0003 ECOPRO00 bNumConfigurations = 0x0001 FreeBSD gives only ugen interface. what (if any) software support that? ___ 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 software can support that UPS ?
/usr/ports/sysutils/apcupsd ? ? - so what to give as device? /dev/ugen1.3? set UPSCABLE usb UPSTYPE usb not set DEVICE as specified in comments for USB devices. can't find UPS. tried setting DEVICE to /dev/ugen1.3 - no avail. tried /usr/ports/sysutils/nut selected EVER driver, and set up /dev/ugen1.3 as port - driver fails. from what i found in linux groups it should work as USB HID device. but uhid doesn't attach. On 05/14/2012 14:06, Wojciech Puchar wrote: seems like it is very badly made USB interface, all class data is empty, ugen1.3: ECO Pro Series UPS EVER at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0101 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0008 idVendor = 0x0403 idProduct = 0xe520 bcdDevice = 0x0400 iManufacturer = 0x0001 EVER iProduct = 0x0002 ECO Pro Series UPS iSerialNumber = 0x0003 ECOPRO00 bNumConfigurations = 0x0001 FreeBSD gives only ugen interface. what (if any) software support that? ___ 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 -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ 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: Building FreeBSD to install or update in two DESTDIRs
I would like to build FreeBSD to install in two places: regular hard drive and also on a USB stick, probably 8 GB. USB stick install would be for backup, in case something goes awry with a later update, then I have something to fall back on; could also install tools such as gdisk to use on hard drive. I tried make installkernel and make installworld, but those didn't fully work right the second time, with DESTDIR=/mnt (USB stick main partition). REALLY can't help you without any info attached. As from your description it just have to work and you did all fine. anyway i usually just do installs to DESTDIR=/something, then tar.gz it up, and untar whenever i need (but separately tar.gz for /boot/kernel subdir) use --unlink option when untarring on live system. ___ 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: avrdude and arduino
This is the command I'm using: %sudo avrdude -F -v -v -v -v -c arduino -p ATMEGA328P -P /dev/cuaU0 -U flash:w:flash.hex This is what I use for Duemilanove sudo avrdude -V -F -c stk500v1 -p m168 -b 19200 -P /dev/cuaU0 -U flash:w:flash.hex (Arduino) maybe stupid question but why do you use sudo for it? can't you just set up devd.conf to set right owner to /dev/cuaU0, or even better make link like /dev/atmel - /dev/yourdevice - so no matter how many usb serial devices you connect it will always have same name? ___ 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 software can support that UPS ?
UPSCABLE usb UPSTYPE usb My BackUPS RS 500 works fine using those and a empty DEVICE field. how your UPS shows in dmesg? It is possible this is a new/redesigned model that Apcupsd does not handle correctly. (APC is famous for not having a consistant interface, even model lines.) If so, you should post to the apcupsd mailing list where these kind of things get prompt attention. Robert Huff ___ 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
maybe not truly freebsd related
by possibly someone can help. I want to use FreeBSD as timeshared server with some amount of X terminal (basically for free with old computers, netboot, running just Xorg -query and xdm on server). There is usable software that have the commonly required uselessness (called desktop environment) and yet works at tolerable speed and uses tolerable amount of resources - i mean gnome2 there are working and available programs for common needs like abiword, gnumeric, optionally openoffice, gimp, firefox etc.. etc.. But yet - what graphical mail program can you recommend that have such simple basic functionality of local mail support in Maildir format? Just running thunderbird to connect dovecot(imap) over localhost and having duplicated mail indexes (dovecot and thunderbird) isn't something that make sense. i use pine but people like pointclick. if there are none, is there a method to alter password setting in thunderbird using command line tool. just i don't like loggin on over X11 to change password in thunderbird after changing it with passwd. ___ 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: maybe not truly freebsd related
But yet - what graphical mail program can you recommend that have such simple basic functionality of local mail support in Maildir format? Did you try googling for 'X mail client FreeBSD'? A mere 14+ million hits. true. and none usable. all outdated etc. did YOU checked them before answering? add 'maildir' to the search, and you get over 1.6 million . Eliminate referenes to Apple, and there are still over 1.2 million hits. *LOTS* of options for you to investigate. ___ 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: firefox is marked as broken?
*** Error code 1 Stop in /usr/ports/www/firefox. is it just me or is firefox really broken currently? or maybe it finally got market as such ;) As well as many other browsers. ___ 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: UFS Crash and directories now missing
I somewhat agree, but it wasn't a person. I am the only administrator, the only one with root access. The jails were effectively moved to the /usr/local/etc/apache22 of the single that survived at the top level. I'm thinking something between mount, EzJail, the journal and the way MySQL created a great deal of head contention, so something must have gotten corrupted at the directory level like you state, but the strange part is no _data_ corruption as such, because I was able to physically archive the jails, move them to the correct directory and no matter what you do FreeBSD DOES NOT ramdomly move directories. if you are sure you didn't move it yourself then it must be machine hardware problem but still unlikely. ___ 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: Synchronising jails
/usr/ports/net/rsync On Fri, 27 Apr 2012, Frank Staals wrote: Hey Everyone, I'm looking for a way to synchronise two jails. More specifically, I would like to keep/maintain an exact copy of a given jail. As an example: Suppose I build a jail A on some system (in my particular case build with ezjail) , and I copy the jail into jail B on some other system (using tar, as is mentioned here: http://forums.freebsd.org/showthread.php?t=17813). Now stuff happens in Jail A, e.g. files change, new stuff is installed etc. I would like to propagate these changes to jail B, but since the transfer is over WAN I would like not to have to copy the entire jail again, just the stuff that has changed since the last backup. It is safe to assume nothing in Jail B changes: I basically want to maintain the exact copy so if something would happen to the system running Jail A I can immediately switch to jail B without much hassle. Normally I would say this a perfect use case for rsync. But as the aforementioned thread mentions ``scp or similar wont work to copy a jail'', and I consider rsync similar to scp, I am under the impression that rsync would not be usable in this situation. Can anyone shed some light on this, or suggest an alternative to synchronise the jails? Regards, -- - Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD vice OS X memory management
does OS X kernel share any code with FreeBSD kernel's memory management subsystem ? IMHO no. OSX is somehow-microkernel based, they did take things from FreeBSD but not this IMHO. anyway - who cares Something is deeply broken in OS X memory management http://workstuff.tumblr.com/post/20464780085/something-is-deeply-broken-in-os-x- memory-management One of the problems that caught my eyes was inactive memory reclamation. I remember some time ago there was a thread here with similar topic. http://lists.freebsd.org/pipermail/freebsd-questions/2012-March/239121.html jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD vice OS X memory management
most importantly networking but certainly not memory subsystem. On Wed, 25 Apr 2012, Chuck Swiger wrote: On Apr 25, 2012, at 5:31 AM, jb wrote: does OS X kernel share any code with FreeBSD kernel's memory management subsystem ? The simple answer is no. A more complex answer: % grep -ri freebsd xnu-1699.24.23 | wc -l 520 % grep -ril freebsd xnu-1699.24.23 | sort | uniq ___ 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 vice OS X memory management
2) Inactive memory (which is memory that has been recently used but is no longer) is supposed to be seamlessly reclaimed automatically by the OS when needed for new programs. In practice, I?ve found that this isn?t the case, and my system slows to a crawl and starts paging out to disk when free memory drops to zero, even as half of the available RAM (which is a lot) is marked as inactive. ... Well, this is not a case of a BSD is dying troll (you can safely ignore those). yes it is, just search a bit to know what inactive memory in FreeBSD is. ___ 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 vice OS X memory management
If you really are having a problem with FreeBSD you are going to have to do a lot better than this in terms of providing some data points which define the problem. I am in agreement with Adam here: either you can work the problem or you can troll. I don't see any indication yet of any real problem analysis, only a wild mix of stuff non-related to FreeBSD sprinkled with some magic 'memory management' dust. The fact that FreeBSD DOES NOT page excessively on the same workload relative to other OS (linux, netbsd) is one of most important thing i decided to use it. If his system is heavily paging then simply he have too large working set. ___ 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 vice OS X memory management
is relatively new. My guess is that if there is a problem it's ZFS specific. If it were a more general problem I think we'd see a lot more complaints, whereas ZFS already has a reputation for needing lots of memory. you may precisely set up a limits of memory that ZFS would use at most. or just don't use it which i do. ___ 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: UFS Crash and directories now missing
something. I unmounted the drive and ran fsck and reported no problems. df shows the data being use so where is the data?? your data is here as df shown usage and fsck see no errors. most probably root directory of that volume got corrupted and subdirs were found and put in lost+found ___ 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