Bill Paul's network drivers
Hi I'm considering learning how to build drivers, so I can make my Lenovo S400 wireless card get detected by FreeBSD. The Architecture Handbook cites these Bill Paul's network drivers. 9.5 Network Drivers: Drivers for network devices do not use device nodes in order to be accessed. Their selection is based on other decisions made inside the kernel and instead of calling open(), use of a network device is generally introduced by using the system call socket(2). For more information see ifnet(9), the source of the loopback device, and Bill Paul's network drivers. Where can I find those Bill Paul's network drivers? Cheers, Michel. ___ 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
Trouble with Virt-Manager 'client' on FreeBSD
(sorry for the multi-list send) Hi, I tried to use Virt-Manager on my freebsd Desktop. $ pkg info | grep virt-manager virt-manager-0.9.4_2 Toolkit to interact with virtualization capabilities All seem ok but when I tried to connect to remote kvm host I've got the following error. Unable to connect to libvirt. End of file while reading data: : Input/output error Verify that the 'libvirtd' daemon is running on the remote host. Libvirt URI is: qemu+ssh://root@myremotehost/system Traceback (most recent call last): File /usr/local/share/virt-manager/virtManager/connection.py, line 1027, in _open_thread self.vmm = self._try_open() File /usr/local/share/virt-manager/virtManager/connection.py, line 1009, in _try_open flags) File /usr/local/lib/python2.7/site-packages/libvirt.py, line 102, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: End of file while reading data: : Input/output error I'm sure that the 'libvirtd' daemon is running on the remote host. Because I can connect to the same host on an other Linux 'ubuntu' Desktop (virt-manager 0.901-1ubuntu5.1). Here is the detail of my connection setting : qemu+ssh://root@myremotehost/system Thanks -- Michel Le Cocq ___ 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: Home Server
Le 21/11/2012 18:23, Matthew Seaman a écrit : On 21/11/2012 17:02, Steve O'Hara-Smith wrote: In fact, if you're going to use ZFS at all, I'd suggest using it for all your filesystems on that machine. I've a personnal systeme quite similar with 6 drive. 2 - for systeme : mirror : with incremental snapshots 2 - for real data : mirror : with incremental snapshots 2 - for not so important data : mirror : no snapshot I use 3 couple of 2 drive because have : 2 : 75G 2 : 750G 2 : 1To For the future I must change 2 drive at the same time. -- M ___ 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: Warning - FreeBSD (*BSD) entanglement in Linux ecosystem
David Jackson said: In reference to the claims that systemd developers do not care about portability, this is deceptive and misleading. You should read the following interview of Lennart Poettering http://linuxfr.org/nodes/86687/comments/1249943 The amount of hubris and self confidence he deploys is really astounding. I will just quote two extracts: LinuxFr.org : Systemd use a lot of Linux only technologies (cgroups, udev, fanotify, timerfd, signalfd, etc). Do you really think the Linux API has been taking the role of the POSIX API and the other systems are irrelevant ? Lennart : Yes, I don't think BSD is really too relevant anymore, and I think that this implied requirement for compatibility with those systems when somebody hacks software for the free desktop or ecosystem is a burden, and holds us back for little benefit. and cherry on the cake LinuxFr.org : Why Linux desktop hasn't been adopted by the mainstream users ? Linus Torvalds seems to think it's mostly a social issue and not a technical one. Do you agree with him ? Lennart : I think we weren't innovative enough in the interface, and we didn't have a convincing message and clear platform. If you accept MacOS as benchmark for user interfaces, then we weren't really matching it, at best copying it. I think this is changing now, with GNOME 3 which is a big step forward as an interface for Linux and for the first time is something that has been strictly designed under UI design guidelines. -- Michel TALON ___ 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
Le 21 juin 2012 à 03:52, kpn...@pobox.com a écrit : All of this may seem stupid to a reasonable person outside of law. I'll agree that it probably does look stupid. But it is also the reality of the legal systems we must live with today. I can only praise kpneal for this very well argumented post. However some remarks. The whole argument revolves around FUD, fear, uncertainty and doubt. But there will never be any shortage of lawyers trying to spread FUD on any subject to please their clients, and if companies bend over instead of fighting FUD they will promptly be paralyzed. Last time a company tried to use such tactic against Linux, it did not turn out a bright idea. Second, FreeBSD is not a commercial company, and while this argument may have a merit for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. If FreeBSD appears as a subsidiary of some commercial company (say Juniper) i am not sure this will be good for its further development. This being said, i agree with you that the FreeBSD binaries will not see a big performance degradation through the use of clang, so, as long as gcc is in the ports to be used with performance critical stuff, it is no big deal. Anyways as a long time FreeBSD user i have seen clang presented as an experiment by two or three people, and then suddenly stuffed without any discussion in the base system, apparently for political reasons that i don't share (i mean this stupid obsession of GPL free system, which has replaced the previous focus on quality and performance). -- Michel Talon ta...@lpthe.jussieu.fr
Re: Why Clang
David Brodbeck said: 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... Unfortunately this affirmation is blatantly false, recent gcc produce code much faster than clang. I give here an example which i like, a monte carlo computation for a spin lattice. Everything runs on my macbook. lilas% clang -v Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.4.0 lilas% clang -O4 test.c -lf2c lilas% time ./a.out ... real0m2.359s user0m2.341s sys 0m0.003s lilas% /usr/local/bin/gcc -v … gcc version 4.6.1 (GCC) lilas% /usr/local/bin/gcc -O3 test.c -lf2c lilas% time ./a.out … real0m1.241s user0m1.234s sys 0m0.003s So gcc gives an executable running twice faster than clang, basically, when both compilers are run at maximal optimization. To show the effectiveness of the optimizer, here is the running time without any optimization: lilas% /usr/local/bin/gcc test.c -lf2c lilas% time ./a.out … real0m6.895s user0m6.889s sys 0m0.005s What this demonstrates is that for programs which do real computations, optimization is *very* important, and gcc is now very good (i have not shown the numbers but they match the Intel compiler) while clang is at the level gcc was ten years ago. So i fully agree with Wojciech Puchar, the move to clang is only driven by anti GPL propaganda which is frankly completely stupid, since in any events, gcc does not contaminate the binaries it produces (except when using contaminated accompanying libraries e.g. for C++). Of course, when compiling FreeBSD kernel or similar programs which do little computation there is no harm using clang. I suspect that the price is higher for programs like mencoder which require the highest efficiency. I will not comment on the better error messages coming from clang, this could be a more serious argument. -- Michel Talon ta...@lpthe.jussieu.fr
Re: Brother Printer
On Fri, 02 Mar 2012 22:40:21 +1000 Da Rock wrote: Are you sure its just a script? Any clue as to what shell it is using? Bash? I do believe there should be some binaries there somewhere as well. Yes im sure. I have a ppd File, they linked to /usr/local/libexec/brlpdwrapperMFC730 and thats a shell scipt. I just went to the Brother site and downloaded a cups driver from here. It is not exactly the same as yours, it is for the MFC7320 but for sure there is a shell script plus a binary. called brcupsconfig3, which is called in the shell script called cupswrapperMFC7320-2.0.2. The binary is niobe% file brcupsconfig3 brcupsconfig3: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped So at best you can hope to run it with Linux emulation. Personally i have an Epson dot printer and it is the same, the Linux driver contains binary blobs and cannot be run under FreeBSD. If you want to avoid such problems the only solution is to buy a printer with postscript or pdf support and direct network connection, that is an expensive one. Here at the lab we are very happy with Xerox sublimation models (i think it is an evolution of the old Tektronix phaser) for doing color prints. In particular the use costs are low, much lower than with color laser printers, in par with black and white laser printers. But if you want to produce nice photographic prints, unfortunately you have to rely on good epson dot printers or similar, which means FreeBSD is excluded, unfortunately. -- Michel Talon ta...@lpthe.jussieu.fr ___ 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
[Fwd: [HEADSUP][CFT] pkgng beta1 is out]
having a real sat solver for the dependency tree. Currently we have a really simple and minimalistic solver which works well but if we can to go to an even finer package management we would need a real solver. Please may you expand on what you really mean here? I was under the impression that the only problem was to provide a total order on ports compatible to the partial order fixed by dependency, and this is very easy. There is for example one routine to do that in portupgrade. Or do you have something more sophisticated in mind? -- Michel Talon ta...@lpthe.jussieu.fr ___ 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: [Fwd: [HEADSUP][CFT] pkgng beta1 is out]
Le 31 janv. 2012 à 13:22, Baptiste Daroussin a écrit : To more examples which are BSD LIcense: https://github.com/openSUSE/sat-solver https://github.com/openSUSE/libsolv OK, i am seeing what you have in mind looking at the SUSE program. For example the following comment in solver_run_sat /* * here's the main loop: * 1) propagate new decisions (only needed once) * 2) fulfill jobs * 3) try to keep installed packages * 4) fulfill all unresolved rules * 5) install recommended packages * 6) minimalize solution if we had choices * if we encounter a problem, we rewind to a safe level and restart * with step 1 */ gives an idea of the aim of this analysis. -- Michel Talon ta...@lpthe.jussieu.fr ___ 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: When I put up any version of FBSD I usually try to install Maxima ...
Roland Smith wrote: The default build of gnuplot is quite heavy, pulling in wxwidgets and teTeX. Personally, I would recommend the following settings: enable X11, GD, gridb ox, thinsplines and cairo, and disable the rest; pdflib didn't work last time I tried it. WXwidgets is overkill IMO, the standard X11 support works fine. And teTeX is deprecated upstream in favor of TeXLive. Gnuplot is the prototypical example of a port which is badly managed. There are far too many dependencies which are absolutely *non necessary* There is absolutely no necessity of having TeX (in any form whatsoever) to run Gnuplot. In fact Gnuplot can emit TeX instructions if asked to do it, but many people never use this feature, and those who care may very well include the graphs on another machine, run TeX elsewhere, etc. The only necessary features are to emit X11 plots and ps plots. The ps plots can be transformed to pdf by ps2pdf, which is a basic program on almost all machines. The more modern inclined may like svg plots if they have inkscape. But the cherry on the cake is that gnu plot requires pdflib, which is a non free library such that the FreeBSD project cannot ship a working gnuplot binary (that is gnuplot will not start without libpdf for which one needs to download source and compile). Hence one of the most useful tools on a computer doesn't work out of the box. Things such as that should never occur, a port maintainer should only include the *strict minimum* dependencies necessary to make the port work, it is not his job to include the whole kitchen sink of dependencies that could be useful in some cases. Of course there are correlated casualties to such misbehavior such as the above problem afflicting maxima. Once again, while doing plots is a useful feature of maxima, requiring gnuplot, it is not a central feature of maxima, the plots can be done with other tools than gnuplot. Similarly maxima has a TeX dependency which has absolutely no reason to be here. Of course maxima can output formulas in TeX notation, but there is no necessity to do that, and i am quite sure that many people only use the html rendering produced by wxmaxima. In the past people have chased deprecated ports in the FreeBSD ports system, and this has caused a lot of controversy (personaly i approve this operation). But chasing inappropriate dependencies would be far more useful if one wants to arrive at a situation where one can envision to use binary packages for most installations of FreeBSD (those which don't require fine tuning). At present, the gnuplot example shows that even most basic installations cannot be provided out of the box without compiling something - which implies in particular that no apt-get like tool can be devised. -- Michel Talon ta...@lpthe.jussieu.fr ___ 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: *caution* severely OT!!
Chad wrote: I really don't think I'd say that Common Lisp is syntactically very close to python [sic]. It's not fair to either Common Lisp or Python, On the contrary python is strikingly similar to a simplified version of lisp without parentesis. It is not an original opinion by far, see the following post of an eminent lisp hacker: http://norvig.com/python-lisp.html Of course lisp is considerably more complex if you begin to use more exotic features, but if you confine yourself to translating python code, it may be almost litteral translation, as explained in the link above. -- Michel TALON ___ 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: *caution* severely OT!!
C. P. Ghost cpgh...@cordula.ws wrote: On Tue, Sep 13, 2011 at 9:34 PM, Gary Kline kl...@thought.org wrote: guys, can anyone start me on the way of porting a python program to C? tia, Gary, if you experience a performance bottleneck somewhere, you may be better off performing some timings to determine the exact cause, and then to port the specific function(s) to a C module. Hints: ctypes, SWIG. Porting the whole program may not be necessary. Save yourself some quality time for other more pleasant tasks in life. ;-) But if you really must, I suggest to port the program to C++ instead of C, because there, you can make use of the excellent STL data types and containers, that match Python's somewhat. You may also consider using boost libraries, if the STL isn't enough. I concur with you. If you want just to resolve a bottleneck in python there are very low cost solutions such as using things like pyrex. You have a nice discussion here: http://www.scipy.org/PerformancePython Using pyrex is very similar to programming python but at a single stroke you get huge performance boost. If you want to rewrite the thing entirely, the problem is that python has many high level constructs, like dictionaries, etc. which are very convenient, but that you would need to simulate in C with huge programming cost. While C++ has such things in standard extensions, so, if you are not afraid by the syntactic difficulties of C++ it is a cheaper solution, otherwise it may be terrible. In the case of the example cited above, there was 0 performance benefit of using C++ over pyrex. There is a language which is syntactically very close to python and has the same facilities, but ends up in machine code, this could interest you, it is Common Lisp. Here the translation would be cheap and direct. It may be that the end result is very fast, C-like, or it may be that the end result is almost as slow as python, there is black magic here. -- Michel TALON ___ 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: returning to 8.2 from 9.0
Fbsd8 wrote: How do I fix the HD so 8.2 will install? man gpart, in particular the RECOVERING section. there are 2 copies of the GPT you have erased only one. See gpart recover and gpart destroy. By the way FreeBSD-8.2 has the gpart utility so i suppose installation on GPT is possible. And as far as i have seen, FreeBSD9 seems an extremely nice release, with tons of exciting new stuff. The new installer is *very* efficient, the system is fast, even with witness, I don't see many reasons to come back to 8.2. -- Michel TALON ___ 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: returning to 8.2 from 9.0
On Sat, Sep 10, 2011 at 03:19:30PM -0300, Rodolpho Henrique Orlovsky Eckhardt wrote: On 13:49 Sat 10 Sep , Fbsd8 wrote: After erasing the front of the HD nether 9.0 or 8.2 will install. Can I use livecd dd command to erase the second copy of the GPT? Where is it at? Try gpart destroy -F disk. You should be able to recreate a GPT or MBR scheme after that. If gpart destroy doesn't work, perhaps gpart recover followed by gpart destroy may work. If gpart is unavailable, reading man gpart shows that the second copy is at the end of the disk. -- Michel TALON ___ 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
NFS zfs serveur (hardware question)
Hi all, I'm planning to change my data NFS server. For 60 clients. I wanted to serv NFS for data over NFS and also for diskless host (http://projets.mathrice.org/faddef/cgi-bin/trac.cgi). Here is the harware I chose : a little proc : 1.6 Ghz Xeon 4 coeurs (mono) : It's seems that on a such server the proc is just Waiting for IO... !? a lot of Ram : 24 Go speedy disk : Sas 15K : to limit IO Wait What do you think of a such conf ? -- M ___ 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: HAL must die!
Chad wrote: Everybody who thinks it's a good idea (by way of analogy) to write command line utilities that default to not letting you specify any options at all, and if you use one option to do something non-default you have to specify *all* options even when the specification is exactly the same as the default -- raise your hands. In fact i am just now writing something which does that: either mostly automatic, or with full expert options if you know what you are doing. There is no real middle ground, in my opinion, and i just don't like the Unix style commands, with tons of options and unscrutable man pages. I think this Unix approach has not led to considerable adoption, generally. To come back to HAL, i have been usually happy with HAL. You just have to know that if you want to modify some simple X configuration (typically change the keyboard language) you have to do it in a HAL config file, not in xorg.conf. The only problem is that the HAL config files are in xml crap, not in usual form. In fact the main HAL problem is a documentation problem, like for many other softs. How many new features of FreeBSD are correctly documented presently? -- Michel TALON ___ 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 there any way of transfering my excellent PDF file into plain HTML
Gary Kline wrote: You might fare better by taking the TeX souce, run it though detex(1) and use markdown [http://daringfireball.net/projects/markdown/] do create HTML. What utility take a LaTeX file - HTML? ((Be nice to have both *strictly professional typeset* and then HTML. I can add indents for AE style paragraphing, and much more. Fix the hyphenation, etc. Next to the obvious textproc/latex2html? :-) Yeah, found it with locate! And found some very interesting results. Personnally i have not liked using latex2html, and have been more satisfied with hevea. However problems creep in when you have math symbols in your text. -- Michel TALON ___ 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: Cache Memory in top command
Bruce Cran said: The top(1) man page is clearly in error, at least on FreeBSD systems. Here is an answer to a similar question given by John Dyson the author of the FreeBSD VM system. http://groups.google.fr/group/comp.unix.bsd.freebsd.misc/browse_thread/thread/7d3d28b807640847/9c081931470adefb?hl=frq=jdyson+ctive,+Inact,+Wired,+Cache,+Buf#9c081931470adefb Lowell Gilbert wrote: Nospam nos...@no-nonsense.org writes: Here you see what I get to see when I use top (ofcourse it's at one certain time...). Why is there so much Inactive memory? Why isn't that memory Free? Is this correct, or is there some bad application? It's correct. There's a slogan that goes free memory is wasted memory. Alternatively, you could look at inactive memory as being free if that makes you happier. The memory stats are gathered, and a semi-layered state of the memory pages are presented. Inactive memory is quickly reusable, but is deemed to be statistically inactive. The wasted memory in the system is indeed the memory marked 'free.' Most of the other memory is used for other (caching) purposes. If you look at the latest version of 'top', Active, Inact, Wired and Cache memory are all memory that contain mostly usable data. Buf is sort of a subset of Wired, and Free is totally disused. Active memory is mapped into processes, Inact memory might be mapped into processes, and might be staged for being paged out. Wired memory is mapped into the kernel, and Cache memory is unmapped but still retains potentially interesting data. When a system is moderately heavily used, the Free memory is actually kept small in amount, and is indeed the 'wasted' memory in the system. One time, I wrote some code that estimated the 'free' memory in the system, and it isn't really very intuitive. Since FreeBSD has VM memory management, the amount of free real memory is tricky to calculate. The best thing to believe (if you can depend on paging), is that the system will try to maintain a proper balance of memory usage. And elsewhere he says: Cache are the pages that are available for quick reuse. Inact and Active are part of the staging algorithm, where Inact is use as a 2nd chance and staging for cleaning (writing changed data.) Free are also pages that are available for quick reuse, but have no data, and are available at interrupt time. The stats scheme includes some stats associatiated with active pages also. -- Michel TALON ___ 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: Which OS for notebook
Chad Perrin wrote: Another thing to consider is the ease of maintaining the software on the machine. My personal opinion is that Ubuntu (more generally Debian) is light years ahead of FreeBSD in this domain. How is it light years ahead of FreeBSD for the ease of maintaining the software on the machine? I'm curious about what you mean. I mean that the concept of maintaining a full set of binary packages which has been verified by the distribution maintainers and remain usable for an extended period of time, combined with an effective binary upgrader (apt-get, aptitude), is light years ahead, for ease of use and convenience, to a rolling release style bazar like FreeBSD ports, combined with tools like portupgrade, which sort of work only when you spend all your time running them daily, after having sacrificed a young virgin to the gods. I concede that the FreeBSD way allows to have very up to date ports, and to be in control of compilation options and so on. Personnally i don't have much use for these benefits. Of course i am aware that these assertions are quite heretic in this community, however i remark that the above considerations have found their way for the base system, since there exists definite releases, thoroughly verified by the developers, and suffering only security bug fixes, which moreover can be upgraded with binary tools. Even more, there are ports freezes, during the preparation of these releases, allowing to get a relatively coherent set of packages for the release. One may imagine this is the first step in a similar strategy for the ports as for the base system. But in this very thread, most competent ports folks explain us that the first thing to do is throw away the ports tree which has been used in the release and consequently the packages which have been compiled with it, and preferably indulge in the daily ritual of running csup, and invoking the manes of portupgrade or portmaster, of course after having carefully read UPDATING. Beleive it or not, i click on an icon of my Ubuntu laptop, and get the same result without any further interaction. -- Michel TALON ___ 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: LDAP Authentication from console
Kevin Mai wrote: Logins over ssh and sudo work great with ldap, but when I try to log in from console, it prompts me twice for the password. If I put a wrong password it prints out that it cannot bind to the ldap server, what means that I'm being able to bind to ldap, but cannot login for some reason. I went through that recently so i can share what i have done: . First don't forget to configure /usr/local/etc/nss_ldap.conf This was not mentioned in the doc i had found on the web, i had to run truss to discover why authentification was not working. . Second for some strange reason the certificates in cacertir have to be named in specific way. I have found this hint on the web, and it worked for me: ln -s someCA.pem `openssl x509 -in someCA.pem -noout -hash`.0 (of course i have tls_cacertdir /usr/local/etc/openldap/certs in the 3 ldap config files) When ldapsearch finally worked OK, i had to play with the pam files. The file login in /etc/pam.d in fact includes system which needs to be tuned. Now the following works but i don't pretend it is optimal or secure, i am not a pam expert. But it allows me to enter the console either as a local user or a ldap user and stops unauthenticated users. But something is not polished enough since changing passwds is not managed, apparently (the passwd section below). The order of the stuff is important, choosing between sufficient and required is important, the try_first_pass is important (it gets passwd from the previous ldap query for ldap users), etc. it is a big mess. For sshd i used what i have found in the web documentation, it works but seems quite complicated. niobe% cat system # # $FreeBSD: src/etc/pam.d/system,v 1.1.32.1.4.1 2010/06/14 02:09:06 # kensmith # Exp $ # # System-wide defaults # # auth authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass authsufficient /usr/local/lib/pam_ldap.so no_warn authsufficient pam_unix.so no_warn try_first_pass nullok # account #accountrequiredpam_krb5.so account requiredpam_login_access.so account sufficient /usr/local/lib/pam_ldap.so no_warn account sufficient pam_unix.so # session #sessionoptionalpam_ssh.so session requiredpam_lastlog.so no_fail # password #password sufficient pam_krb5.so no_warn try_first_pass passwordsufficient /usr/local/lib/pam_ldap.so no_warn passwordsufficient pam_unix.so no_warn try_first_pass -- Michel TALON ___ 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: Which OS for notebook
David Kelly wrote: On Mon, Oct 04, 2010 at 01:11:30AM -0300, Leandro F Silva wrote: Which OS are you using on your notebook, FreeBSD / Linux or MAC ? Also, can you tell us the hardware, Sony / HP etc.. MacOS X 10.6.4. Its solid, supported, and Unix. In general the Unix things that need to be treated differently between MacOS and FreeBSD are exactly the sort of things you need to be prepared for for jumping between any Unix (or Unix clone). Apple hardware is exceptionally good. Generally run 5 to 8 years before upgrading. Got my original MacBook Pro in January 2006 and its still Going strong on the original battery. Its biggest limitation today is its 2GB max memory, but the Intel Core Duo 1.83 GHz CPU is plenty good. Here i am using a Sony laptop under Ubuntu (Lucid Lynx). Everything works perfectly OK, i could not be happier. I have a partition with FreeBSD 8.1 on this laptop, wireless works but ACPI doesn't at all. On desktops i use FreeBSD because it generally works and i like it better. As for Apple hardware, the experience in our lab is that is is by far the worst quality of almost all the machines we have. No other brand (Dell, etc.) has such massive hardware problems (screen failing, cdroms failing, mobo failing etc.). Another thing to consider is the ease of maintaining the software on the machine. My personal opinion is that Ubuntu (more generally Debian) is light years ahead of FreeBSD in this domain. I am quite sure you will find vocal people to claim otherwise. -- Michel TALON ___ 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: Free BSD 8.1
Polytropon said: If you decide to upgrade your ports tree because you need newer versions or specific features, it *may* be possible that a certain point in time of -RELEASE is not sufficient, and this might force you to change your road to follow -STABLE. This can either be the case by installing from an updated ports tree or from Latest/ packages (instead of RELEASE one's). An other option is to download a specific port from (*) http://www.freebsd.org/cgi/cvsweb.cgi/ports/ and compiling it independently of the ports tree. In many cases it works perfectly OK and avoids to upgrade the ports tree itself and the destabilization which ensues. Of course you can also upgrade frequently the ports tree and run frequently portupgrade or portmaster, if you like tinkering with your machine. (*) in any given port you will find Download this directory in tarball -- Michel TALON ___ 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: ld(1) cannot find entry symbol _start;
Paul B Mahol said: On 9/28/10, Anton Shterenlikht me...@bristol.ac.uk wrote: I'm trying to learn the very basics of the compile - assemble - link process on FreeBSD. Please don't shoot me. Then I try to link the object file into an executable: % ld tmp.o You are missing something in above command. More precisely, if you run gcc -v on a C file you get someting like: /usr/bin/ld --eh-frame-hdr -V -dynamic-linker /libexec/ld-elf.so.1 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib -L/usr/lib /var/tmp//cco5EINk.o -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 where the object file produced by compilation and assembling is /var/tmp//cco5EINk.o That is adds several other object files to your own in order to get an executable. In particular the start symbol, at which execution begins is in /usr/lib/crt1.o as you can see from niobe% nm /usr/lib/crt1.o w _DYNAMIC D __progname U _fini U _init U _init_tls T _start 0020 t _start1 r abitag U atexit 0004 C environ U exit U main which shows that _start is defined here, (but not e.g. _init). On the other hand the function main() which is defined in your program is referred to but undefined here. -- Michel TALON ___ 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: Free BSD 8.1
Matthew Seaman said Be aware that installing the ports tree from the DVD images is not the ideal way to do it. If you have the connectivity on your newly installed system, it is better to use either csup(1) or portsnap(1) to grab an up-to-date copy of the ports directly from the net. I disagree with that. You are supposing that newer is better, which is far from proven (in fact blatantly false in many cases). Another option is to install the ports tree from the DVD,and install corresponding precompiled packages from the DVD or otherwise the web, and *not* updating the ports tree. There is a lot to be said for this option, and many users will be happier doing that, at least people who want to use their machine and not spend their time upgrading, compiling and fighting bugs. -- Michel TALON ___ 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 is probably a little touchy to ask...
Jerry said: It took years, literally, before FreeBSD matured enough to get 64-bit drivers for nVidia working correctly on its platform. The failure to get the latest version(s) of Java working correctly on FreeBSD and thereby, at least in my case, make the latest version of Firefox fully usable, rests with the FreeBSD developers. I would be happy to have a precise information on what is not working. On my machine, FreeBSD-8.1 x86, Java works. niobe% java -version java version 1.6.0_03-p4 Java(TM) SE Runtime Environment (build 1.6.0_03-p4-michel_30_jul_2010_15_01-b00) Java HotSpot(TM) Client VM (build 1.6.0_03-p4-michel_30_jul_2010_15_01-b00, mixed mode) As you can see, it is a recent java, and i have compiled it myself. If i remember well, the prebuilt diablo-jdk was not working. I have boostraped my compilation by using a prebuilt openjdk installed with pkg_add -r. Of course i modified the Makefile to be able to use it. The openjdk package did not include a mozilla plugin, but the above compilation produces a plugin. Now the real problem: firefox36 doesn't see the plugin, and even worse doesn't produce any message about the plugin when starting up. However i am able to use the plugin under seamonkey, so it is clearly a firefox problem, and not a Java problem or a FreeBSD problem. Strangely enough, Konqueror, which doesn't use the plugin, but a direct invocation of java, doesn't work either. Execution of an applet begins, something appears but the applet execution never appears on screen. This is the first time i see Java not working on Konqueror. Last point: some people say in this thread that nobody uses Java any more on the browser, hence it is of no importance that one cannot have a java enabled firefox. I have an example to the contrary, here in France you can submit your tax declaration online, and the application allowing to do that is a java applet running under the browser. Similarly i am using a printing service for my photographs which allows to download them and manage the order via a java applet. Hence, at least in my case i see immediately several important applications using a Java enabled browser. -- Michel TALON ___ 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 is probably a little touchy to ask...
Jerry said: Starting in Firefox 3.6, you also need the new Java plugin included in Java 6 Update 15 and above. OK, this explains why my plugin doesn't work. So the only solution is to use the port firefox35 hoping that other components (flash plugin support) also work in this case. FreeBSD does not supply, nor support as far as I can decipher, that version or any of the newer versions, the latest being version 6, update 21. Nor, as I stated previously, has anyone stated definitively why. It takes a long time for FreeBSD to support a new version of the jdk, because this is an extremely voluminous and complicated software, and the number of developers working on Java support is very small. -- Michel TALON ___ 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 KDE 4.4.5 on FreeBSD 8.1 this bad?
I wrote: Of course making X to run was an exercise in pain, i had to enable HAL and DBUS otherwise keyboard and mouse were not recognized, the data in the xorg.conf were not obeyed, etc. but this was to be expected. The only problem i have now is that i have seen no way to configure the kdm greeter so that the french keyboard is recognized as french, which is inconvenient to type the passwd. For reference the solution i have found is to modify some hald config file this way: cat /usr/local/share/hal/fdi/policy/10osvendor/10-x11-input.fdi ?xml version=1.0 encoding=ISO-8859-1? deviceinfo version=0.2 device !-- KVM emulates a USB graphics tablet which works in absolute coordinate mode -- match key=input.product contains=QEMU USB Tablet merge key=input.x11_driver type=stringevdev/merge /match match key=info.capabilities contains=input.tablet match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux merge key=input.x11_driver type=stringevdev/merge /match /match match key=info.capabilities contains=input.keyboard !-- If we're using Linux, we use evdev by default (falling back to keyboard otherwise). -- merge key=input.x11_driver type=stringkbd/merge match key=/org/freedesktop/Hal/devices/computer:system.kernel.name string=Linux merge key=input.x11_driver type=stringevdev/merge /match merge key=input.x11_options.XkbModel type=stringpc105/merge merge key=input.x11_options.XkbLayout type=stringfr/merge /match /device /deviceinfo The modification is to add the two lines with pc105 and fr at the end which provide a fall back for non Linux systems. Then X starts with a french keyboard and kdm sees it. By the way to start kdm automatically, the solution is in the FreeBSD KDE4 wiki, it is simply to add the following to /etc/rc.conf local_startup=${local_startup} /usr/local/kde4/etc/rc.d kdm4_enable=YES Hope this may help some poor fellow who has not followed the recent modifications to xorg configuration closely, modifications which can be summarized as: Why do it simple when one can do it complex?. -- Michel TALON ___ 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 KDE 4.4.5 on FreeBSD 8.1 this bad?
Unga complained: behaviour of KDE is surprisingly poor I have installed a fresh FreeBSD-8.1 and a fresh kde4 from the 8.1 cdrom, and i see none of your problems. For me KDE4 works perfectly OK, i am even surprised. Of course making X to run was an exercise in pain, i had to enable HAL and DBUS otherwise keyboard and mouse were not recognized, the data in the xorg.conf were not obeyed, etc. but this was to be expected. The only problem i have now is that i have seen no way to configure the kdm greeter so that the french keyboard is recognized as french, which is inconvenient to type the passwd. But as soon as kde itself starts, everything is OK. An other problem i have seen, diablo-jdk doesn't work for me, i have been obliged to recompile jdk-1.6 starting from an openjdk-1.6 bootstrap. Strangely firefox3 doesn't see the plugin, but seamonkey sees it fine and konqueror also works fine with java. Firefox3 also chokes on Google maps while seamonkey and konqueror work ok. There are obviously javascript problems. Finally i have installed flash10 with the pluginwrapper, and it works wonderfully fine in seamonkey and firefox3, including sound, fullscreen images, etc. But konqueror doesn't work with Flash, for an unknown reason. Hence seamonkey is the only browser which allows me to look at google maps with street view. To summarize, i am extremely happy with the performance of the machine under FreeBSD-8.1, and things which were big problems, like Flash, are now well controlled. Firefox3 is very crappy, only usable for most basic browsing. Seamonkey works perfectly fine for everything i have tried. Konqueror has regressions from KDE 3, but in general KDE4 is nicer than KDE3. Of course icons on the dektop work to launch programs. -- Michel TALON ___ 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 KDE 4.4.5 on FreeBSD 8.1 this bad?
Mike Clarke wrote: Are you by any chance using the flashblock extension with firefox? This extension has a problem with streetview and you need to add maps.google.com to the flashblock whitelist. I don't use any firefox extension, and all programs are freshly installed from FreeBSD-8.1-i386 dvd. I haven't recompiled the kernel, all is standard. I have followed the debugging hits given by google map, checked about:config, etc. without any result, maps don't load and javascript errors appear. Severall months ago, google maps worked for me on firefox, then it broke, and still doesn't work with this recent version. It may be related to locale effects, i don't know, but i don't have problems with konqueror and seamonkey. -- Michel TALON ___ 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: TexLive on FreeBSD 8.1
Anh Ky Huynh wrote: Antonio Olivares olivares14...@gmail.com wrote: Sorry to ask about this since this has been beaten to death many times, but I *wonder* why FreeBSD does not have TeXLive as default tex installation? As TeXLive 2009 doesn't have binaries for FreeBSD ;) You can try TeXLive 2008 instead. Maybe the problem is that TexLive is a monster (already teTex is a monster) that many long time TeX users don't want on their hard disk. Having TeXLive as a port would be nice, having it as the default TeX seems to me stupid. It means that installing any port which has a dependency on TeX would install this several hundred mega bytes monster for any one, even those who don't intend to use TeX in any way. Even most TeX users have no use for LuaTex and other niceties of TexLive. -- Michel TALON ___ 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: lang/cmucl broken on amd64?
Martin Cracauer wrote: Right now I think there's a general lack of people building CMUCL binaries, BTW. There are recent cmucl binaries built here: http://common-lisp.net/project/cmucl/downloads/snapshots/2009/01/ for freebsd 7 and freebsd 8. I think this is for x86, not x86-64 but they should work, it is not clear for me if cmucl makes use of 64 bits anyways (maxima doesn't). Unfortunately there are not more recent snapshots for freebsd 8 and no freebsd snapshots at all since 2010. In january 2010 there is the comment: The FreeBSD binaries I had uploaded for the snapshot were flawed: I just discovered that I accidentally built them without Unicode support. To avoid confusion, these binaries have been removed. -- Alex Goncharov, 2010-03-30 Being a maxima user i am very attached to cmucl which works very well with maxima (faster than sbcl), and i have in the past compiled cmucl using older cmucl versions, which works quite easily. Here i am afraid that Alex Goncharov has encountered some problem, and also that Darwin, Linux and NetBSD support were considered more important ... -- Michel TALON ___ 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: lang/cmucl broken on amd64?
Martin Cracauer wrote: Interesting you have lower performance in SBCL. Are you comparing a 64 bit SBCL with a 32 bit CMUCL? Is your SBCL binary (whichever bitcount) compiled with thread support? I have a 32 bits machine, and i was using the FreeBSD sbcl port without changing any compiling option. It is sufficient to run a number of maxima examples (*) to see that they run frequently faster with cmucl (gcl was also similarly speedy) than with sbcl (sometimes considerably faster). I think having seen similar assertions in maxima mailing list. (*) for example this computation is appropriate http://maxima.sourceforge.net/docs/manual/en/maxima_54.html#SEC233 batch(grobner.demo) Another thing to consider is that the cmucl compiler is now able to emit sse2 instructions, and this gives a quite substantial gain in numeric computations under maxima, an example being eigens_by_jacobi on a large matrix, which gets a considerable speed boost. -- Michel TALON ___ 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
Building for polkit-0.96_1 fails
Hello, I'm having difficulties updating polkit. I read the ports/updating and did portupgrade -f policykit first. unfortunatelly it didn't help. Would anyone have a tip to share. Thanks, Michel gmake[4]: Entering directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit' CC libpolkit_gobject_1_la-polkitenumtypes.lo CC libpolkit_gobject_1_la-polkitactiondescription.lo CC libpolkit_gobject_1_la-polkitauthorityfeatures.lo CC libpolkit_gobject_1_la-polkitdetails.lo CC libpolkit_gobject_1_la-polkitauthority.lo CC libpolkit_gobject_1_la-polkiterror.lo CC libpolkit_gobject_1_la-polkitsubject.lo CC libpolkit_gobject_1_la-polkitunixprocess.lo CC libpolkit_gobject_1_la-polkitunixsession.lo CC libpolkit_gobject_1_la-polkitsystembusname.lo CC libpolkit_gobject_1_la-polkitidentity.lo CC libpolkit_gobject_1_la-polkitunixuser.lo CC libpolkit_gobject_1_la-polkitunixgroup.lo CC libpolkit_gobject_1_la-polkitauthorizationresult.lo CC libpolkit_gobject_1_la-polkitcheckauthorizationflags.lo CC libpolkit_gobject_1_la-polkitimplicitauthorization.lo CC libpolkit_gobject_1_la-polkittemporaryauthorization.lo CC libpolkit_private_la-_polkitactiondescription.lo CC libpolkit_private_la-_polkitauthenticationagent.lo CC libpolkit_private_la-_polkitauthority.lo CC libpolkit_private_la-_polkitauthorizationresult.lo CC libpolkit_private_la-_polkitbindings.lo CC libpolkit_private_la-_polkitbindingsmarshal.lo CC libpolkit_private_la-_polkitcheckauthorizationflags.lo CC libpolkit_private_la-_polkiterror.lo CC libpolkit_private_la-_polkitidentity.lo CC libpolkit_private_la-_polkitimplicitauthorization.lo CC libpolkit_private_la-_polkitsubject.lo CC libpolkit_private_la-_polkittemporaryauthorization.lo CC libpolkit_private_la-_polkitauthorityfeatures.lo CCLD libpolkit-private.la CCLD libpolkit-gobject-1.la /usr/local/bin/g-ir-scanner -v \ --namespace Polkit \ --nsversion=1.0 \ --include=Gio-2.0 \ --library=polkit-gobject-1 \ --output Polkit-1.0.gir \ --pkg=glib-2.0 \ --pkg=gobject-2.0 \ --pkg=gio-2.0 \ --libtool=../../libtool \ -I/usr/local/include/eggdbus-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include \ -I../../src \ -D_POLKIT_COMPILATION \ -DEGG_DBUS_I_KNOW_API_IS_SUBJECT_TO_CHANGE \ ./polkit.h \ ./polkittypes.h \ ./polkitactiondescription.h \ ./polkitauthority.h \ ./polkitauthorizationresult.h \ ./polkitcheckauthorizationflags.h \ ./polkitdetails.h \ ./polkitenumtypes.h \ ./polkiterror.h \ ./polkitidentity.h \ ./polkitimplicitauthorization.h \ ./polkitsubject.h \ ./polkitsystembusname.h \ ./polkittemporaryauthorization.h\ ./polkitunixgroup.h \ ./polkitunixprocess.h \ ./polkitunixsession.h \ ./polkitunixuser.h \ gmake[4]: *** [Polkit-1.0.gir] Segmentation fault: 11 (core dumped) gmake[4]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src/polkit' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/polkit/work/polkit-0.96' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/sysutils/polkit. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100406-94674-18chul8-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=polkit-0.95_3 UPGRADE_PORT_VER=0.95_3 make ** Fix the problem and try again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr
rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum
I run rdiff-backup on my backup server: - FreeBSD 8.0-RELEASE AMD64 - rdiff-backup-1.2.8,1 - python25-2.5.4_3 - be pro quad - 4G Ram I try to rdiff a folder on a nfs ro mounted volume to an other volume. I obtain this error : OverflowError: signed integer is greater than maximum I have the same problem as Brad Beyenhof see here : http://www.mail-archive.com/rdiff-backup-us...@nongnu.org/msg03794.html I know it's a know problem due to a bug in Python. And have to upgrad Python to 2.5.4 or 2.6.1. But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I can't remove it for python26... What can I do to obtain my full backup ? Thanks -- Michel ___ 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: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum
Thanks for your help, I just follow the upgrade. I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 But I still have the same error : OverflowError: signed integer is greater than maximum I just did : # rdiff-backup /mnt/users/toto /backup/Lipn/users_backup/toto It work for 393 user folder and give this error on 3. I tried to remove the destination folder but it change nothing. I attach here the Traceback. -- Michel Mark Kane a écrit: On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote: I run rdiff-backup on my backup server: - FreeBSD 8.0-RELEASE AMD64 - rdiff-backup-1.2.8,1 - python25-2.5.4_3 - be pro quad - 4G Ram I try to rdiff a folder on a nfs ro mounted volume to an other volume. I obtain this error : OverflowError: signed integer is greater than maximum I have the same problem as Brad Beyenhof see here : http://www.mail-archive.com/rdiff-backup-us...@nongnu.org/msg03794.html I know it's a know problem due to a bug in Python. And have to upgrad Python to 2.5.4 or 2.6.1. But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I can't remove it for python26... What can I do to obtain my full backup ? Thanks Hi. I'm not familiar with the specific bug, but if you want to upgrade Python from 2.5 to 2.6 that can be done by following the 20090608 entry in /usr/ports/UPDATING. I also use rdiff-backup and can confirm that it works with Python 2.6. Hope that helps, -Mark Thanks for your help, I just follow the upgrade. I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 But I still have the same error : OverflowError: signed integer is greater than maximum I just did : # rm -rf /backup/users_backup/toto/rdiff-ba* # rdiff-backup --force /mnt/users/toto /backup/Lipn/users_backup/toto I attach here the Traceback. ___ 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: rdiff-backup-1.2.8 python2.5.4 : OverflowError: signed integer is greater than maximum
sorry, here is the right attachment. Michel Le Cocq a écrit: Thanks for your help, I just follow the upgrade. I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 But I still have the same error : OverflowError: signed integer is greater than maximum I just did : # rdiff-backup /mnt/users/toto /backup/Lipn/users_backup/toto It work for 393 user folder and give this error on 3. I tried to remove the destination folder but it change nothing. I attach here the Traceback. -- Michel Mark Kane a écrit: On Fri, Jan 15, 2010, at 14:51:14 +0100, Michel Le Cocq wrote: I run rdiff-backup on my backup server: - FreeBSD 8.0-RELEASE AMD64 - rdiff-backup-1.2.8,1 - python25-2.5.4_3 - be pro quad - 4G Ram I try to rdiff a folder on a nfs ro mounted volume to an other volume. I obtain this error : OverflowError: signed integer is greater than maximum I have the same problem as Brad Beyenhof see here : http://www.mail-archive.com/rdiff-backup-us...@nongnu.org/msg03794.html I know it's a know problem due to a bug in Python. And have to upgrad Python to 2.5.4 or 2.6.1. But I'm on python25-2.5.4_3 !!! and rdiff need python25 to run so I can't remove it for python26... What can I do to obtain my full backup ? Thanks Hi. I'm not familiar with the specific bug, but if you want to upgrade Python from 2.5 to 2.6 that can be done by following the 20090608 entry in /usr/ports/UPDATING. I also use rdiff-backup and can confirm that it works with Python 2.6. Hope that helps, -Mark Thanks for your help, I just follow the upgrade. I'm now on : python26-2.6.4, rdiff-backup-1.2.8,1 But I still have the same error : OverflowError: signed integer is greater than maximum I just did : # rm -rf /backup/users_backup/toto/rdiff-ba* # rdiff-backup --force /mnt/users/toto /backup/Lipn/users_backup/toto I attach here the Traceback. Traceback (most recent call last): File /usr/local/bin/rdiff-backup, line 30, in module rdiff_backup.Main.error_check_Main(sys.argv[1:]) File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 304, in error_check_Main try: Main(arglist) File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 324, in Main take_action(rps) File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 280, in take_action elif action == backup: Backup(rps[0], rps[1]) File /usr/local/lib/python2.6/site-packages/rdiff_backup/Main.py, line 346, in Backup backup.Mirror(rpin, rpout) File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 232, in patch ITR(diff.index, diff) File /usr/local/lib/python2.6/site-packages/rdiff_backup/rorpiter.py, line 281, in __call__ last_branch.fast_process(*args) File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 529, in fast_process if self.patch_to_temp(mirror_rp, diff_rorp, tf): File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 553, in patch_to_temp result = self.patch_snapshot_to_temp(diff_rorp, new) File /usr/local/lib/python2.6/site-packages/rdiff_backup/backup.py, line 578, in patch_snapshot_to_temp rpath.copy_attribs(diff_rorp, new) File /usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py, line 180, in copy_attribs rpout.chown(*rpout.conn.user_group.map_rpath(rpin)) File /usr/local/lib/python2.6/site-packages/rdiff_backup/rpath.py, line 973, in chown try: self.conn.C.lchown(self.path, uid, gid) OverflowError: signed integer is greater than maximum ___ 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 boot invalid partition
I just dump a real host and try to restore it on a virtual host under kvm. When booting under KVM i see this : Booting From hard Disk... Invalid partition Invalid partition No /boot/loader FreeBSD/i386/Boot Default: 0:ad(0,a)/boot/kernel/kernel boot : If i enter : boot : 0:ad(0,d) it's ok and then : Manual Root Filesystem Specification : Mountroot ufs:/dev/ad0s1d and it's finaly boot. [r...@vbsdio ~]# cat /etc/fstab # Device Mountpoint FStypeOptionsDump Pass# /dev/ad0s1b none swap sw0 0 /dev/ad0s1d / ufs rw1 1 /dev/ad0s1g /local ufs rw2 2 /dev/ad0s1e /usr ufs rw2 2 /dev/ad0s1f /var ufs rw2 2 /dev/acd0/cdrom cd9660ro,noauto 0 0 linproc /compat/linux/proc linprocfs rw0 0 [r...@vbsdio ~]# I need to change my master boot device or anything else. But don't know what to do exactly. Thanks. -- Michel ___ 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 boot invalid partition
Ruben de Groot a écrit: On Wed, Dec 23, 2009 at 09:51:39PM +0100, Michel Le Cocq typed: I just dump a real host and try to restore it on a virtual host under kvm. When booting under KVM i see this : Booting From hard Disk... Invalid partition Invalid partition No /boot/loader FreeBSD/i386/Boot Default: 0:ad(0,a)/boot/kernel/kernel boot : If i enter : boot : 0:ad(0,d) it's ok and then : Manual Root Filesystem Specification : Mountroot ufs:/dev/ad0s1d and it's finaly boot. [r...@vbsdio ~]# cat /etc/fstab # Device Mountpoint FStypeOptionsDump Pass# /dev/ad0s1b none swap sw0 0 /dev/ad0s1d / ufs rw1 1 /dev/ad0s1g /local ufs rw2 2 /dev/ad0s1e /usr ufs rw2 2 /dev/ad0s1f /var ufs rw2 2 /dev/acd0/cdrom cd9660ro,noauto 0 0 linproc /compat/linux/proc linprocfs rw0 0 [r...@vbsdio ~]# I need to change my master boot device or anything else. But don't know what to do exactly. Not sure, but I think boot0 only boots a partitions. So after you manually boot like above, go into bsdlabel and change ad0s1d into ad0s1a. Do the same in fstab. I boot under liveFS then : bsdlabel -e ad0s1 change 'd' label to 'a'. mount /dev/ad0s1a /mnt edit /mnt/etc/fstab and change mount point of / to a. It's now ok. Thanks a lot. -- Michel ___ 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: INN configuration
Tim Kellers said: -Has anyone set up a n INN server on freebsd, successfuly? Yes, no problem. Have you read the Inn install doc in /usr/local/share/doc/inn/INSTALL This is a step by step guide to the *long* configuration. Note that if you want to suck in news from another news server you also need some other software, the best one being newsx (in the ports). You also need to edit the active file to add newsgroups. -- Michel TALON ___ 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
FixIt CD Tool Availability
Drew Tomlinson wrote: The command 'gmirror label root ad8a ad6a' does not return an error but no device is created in /dev/mirror The command 'zpool create data raid1z ad14d ad12d ad8d ad6d' gives me an error about the ZFS library being unavailable. Are these tools supposed to work when using the Fix It CD? If not, does 7.2-RELEASE-amd64-disc1.iso have these tools? One can load kernel modules from the fixit cdrom, but as far as i remember this requires some manipulations. What i do is, from the fixit prompt: chroot /mnt2 to go to the full system available on the cdrom under /mnt2. But then required things are missing, so i do further: mount -t devfs devfs /dev because access to /dev is frequently required, and for commodity set -o emacs (to have shell history and editing) export PAGER=more (to be able to access man pages) After that one has a more or less standard environment. Sometimes one needs a writable filesystem, for example for accessing internet (dhclient, resolv.conf, etc.) mount -t tmpfs tmpfs /tmp does that. It would be nice to have a shell script on the fixit cdrom doing similar things automatically when one accesses fixit. In your case i suspect appropriate kernel modules were not loaded and commands failed silently. -- Michel TALON ___ 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: The FreeBSD Diary: 2009-06-20
Is it me or this is really annoying and dating? I don't know for you, but for me 2 Dec 2008 is not recent. Is it because there's no submitting or simply because it's broken? Thanks Michel On Sat, Jun 20, 2009 at 7:10 PM, Dan Langille d...@langille.org wrote: The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. RECENT ARTICLES: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ 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
Booting question
Hello! When I boot, it takes about 5 mins before being up and running. Since it's my first FreeBSD, I didn't thought there was an issue, but I think there's one ;) I have a P4 2.8 HT which is too bad computer and I really think the issue is in freeBSD and the Giant Locked and stuff like that. The computer stays in a waiting mode for about 3 minutes or something like that. It's unbearable, however, since I reboot like once in a month, it's not that bad ;) But I'm still wondering why it's so slow. I have compiled my own kernel, removed driver I don't use but I kept all usb drivers. Like I told you, it's really the USB part that seems to be long to load. It's like it's waiting for a stabilization mode that is never coming. Anyone had that kind of issue? I'm running 7.2 and it's been there since the installation with 7.1. Thanks and have a nice day Michel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Booting question
On Sun, May 10, 2009 at 9:52 PM, Glen Barber glen.j.bar...@gmail.comwrote: On Sun, May 10, 2009 at 8:31 PM, Michel Di Croci michel.dicr...@gmail.com wrote: Hello! When I boot, it takes about 5 mins before being up and running. Since it's my first FreeBSD, I didn't thought there was an issue, but I think there's one ;) I have a P4 2.8 HT which is too bad computer and I really think the issue is in freeBSD and the Giant Locked and stuff like that. The computer stays in a waiting mode for about 3 minutes or something like that. It's unbearable, however, since I reboot like once in a month, it's not that bad ;) But I'm still wondering why it's so slow. I have compiled my own kernel, removed driver I don't use but I kept all usb drivers. Like I told you, it's really the USB part that seems to be long to load. It's like it's waiting for a stabilization mode that is never coming. Anyone had that kind of issue? I'm running 7.2 and it's been there since the installation with 7.1. Did it hang with GENERIC? If not, do a diff on your config and the GENERIC config, and paste it for us. If I remember correctly, yes but I don,t remember. Can you tell me if I don't want to lose my actual kernel, how can I make a new kernel and install it not as principal one. (On a side note, is your machine's `hostname` in /etc/hosts? I've had a problem with sendmail hanging for some time because the hostname was not resolvable. Just a side-thought.) Yes it is in. And it's not the sendmail that is slow, it's the detection / kernel step... not the service steps. Michel -- Glen Barber ___ 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: Can I rebuild amd without rebuilding world?
Paul Schmehl wrote: The amd.ko.symbols file was created when I upgraded to 7.2 last Wednesday. What creates that file? And how do I update it? Could it be the cause of the problem? The amd.ko kernel module has nothing to do with the automounter. It is a device driver for some hardware (man 4 amd). As for your config file, it seems fine at first sight, but perhaps there are some invisible characters in it causing problems. The syntax is explained in man amd.conf -- Michel TALON ___ 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: Autofs howto
Paul Schmehl wrote: /home ldap //foobar.utdallas.edu/nismapname=auto_home,dc=utdallas,dc=edu nfsvers=3 proto=tcp According to the documentation of FreeBSD amd one can use ldap maps with it (i have no experience of that). The doc is in: /usr/src/contrib/amd/doc/am-utils.texi -- Michel TALON ___ 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: Autofs howto
Paul Schmehl wrote: I'm wondering if I can use autofs on FreeBSD. Last time I asked the question someone said I need amd, which I found rather cryptic. Indeed it is cryptic, let me gave an example which works: niobe% cat /etc/amd.conf [global] auto_dir= /.amd log_file= /var/log/amd.log log_options = error,fatal,user map_type= file search_path = /etc [/Cd] map_name= amd.cdrom # For nfs mounts [/Net] map_name= amd.net niobe% cat /etc/amd.cdrom cdrom type:=cdfs;opts:=ro,nosuid;dev:=/dev/acd0;fs:=${autodir}/cdrom niobe% cat /etc/amd.net /defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key} * opts:=rw,grpid,resvport,nosuid,nodev,soft Now some comments. I use amd without options so it just uses /etc/amd.conf to configure itself. When you try to access /Cd it uses the configuration in /etc/amd.cdrom, and if you try to access /Net it uses the configuration in /etc/amd.net. Finally if you try to access /Net/ada for example, the key is ada, and so is the remote host. It is queried for NFS mounts and everything is mounted. After niobe% cd /Net/ada i have: niobe% df ... ada:/ada36196652 26972064 735623279% /.amd/ada/ada ada:/ada1 287391356 246682696 2610999690% /.amd/ada/ada1 ada:/ada2 288362876 180649856 9306495666% /.amd/ada/ada2 ada:/ada3 99188500 80794628 1327396086% /.amd/ada/ada3 ada:/adm36204684 1682772 32653156 5% /.amd/ada/adm Note that autodir is /.amd and fs is ${autodir}/${rhost} as you can see. Getting out of /Net/ada those mounts are unmounted. I hope this helps explaining some of the mysteries of amd. -- Michel TALON ___ 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: LibSM: You should recreate aclocal.m4
michel wrote: Hello, I'm having problems upgrading LibSM.. I'm getting You should recreate aclocal.m4. I tried to run aclocal in work/libSM-1.1.0 but it didn't really help. Thanks for your help Michel FreeBSD 6.2-RELEASE-p12 i386 --- Upgrading 'libSM-1.1.0,1' to 'libSM-1.1.0_1,1' (x11/libSM) --- Building '/usr/ports/x11/libSM' === Cleaning for libSM-1.1.0_1,1 === Extracting for libSM-1.1.0_1,1 = MD5 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. = SHA256 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. === Patching for libSM-1.1.0_1,1 === Applying FreeBSD patches for libSM-1.1.0_1,1 === libSM-1.1.0_1,1 depends on file: /usr/local/share/aclocal/xorg-macros.m4 - found === libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xtrans.pc - found === libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found === libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found === libSM-1.1.0_1,1 depends on file: /usr/local/bin/automake-1.10 - found === libSM-1.1.0_1,1 depends on file: /usr/local/bin/autoconf-2.62 - found === libSM-1.1.0_1,1 depends on file: /usr/local/bin/libtool - found === libSM-1.1.0_1,1 depends on executable: pkg-config - found === Configuring for libSM-1.1.0_1,1 /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/local/share/aclocal/gtk.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal/gtk.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... /usr/local/share/aclocal/header.m4:12: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp /usr/local/share/aclocal/header.m4:58: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:11: your implementation of AM_INIT_AUTOMAKE comes from an configure.ac:11: old Automake version. You should recreate aclocal.m4 configure.ac:11: with aclocal and run automake again. /usr/local/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/local/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/local/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. *** Error code 63 Stop in /usr/ports/x11/libSM. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090316-95249-1itn24r-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libSM-1.1.0,1 UPGRADE_PORT_VER=1.1.0,1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11/libSM (libSM-1.1.0,1) (unknown build error) ___ 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 The problem has been solved thanks to SAITOU Toshihide. I had very old m4 files in my /usr/local/share/aclocal. I removed these that dated from last year or earlier and it worked like a charm. ___ 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 package system proposal
Nino wrote: I'd like to use this opportunity to generally support this and any other ideas taking direction of making binary installs and upgrades easier and more manageable. You may be interested to read http://www.lpthe.jussieu.fr/~talon/freebsdports.html and to consider playing with http://www.lpthe.jussieu.fr/~talon/pkgupgrade -- Michel TALON ___ 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
LibSM: You should recreate aclocal.m4
Hello, I'm having problems upgrading LibSM.. I'm getting You should recreate aclocal.m4. I tried to run aclocal in work/libSM-1.1.0 but it didn't really help. Thanks for your help Michel FreeBSD 6.2-RELEASE-p12 i386 --- Upgrading 'libSM-1.1.0,1' to 'libSM-1.1.0_1,1' (x11/libSM) --- Building '/usr/ports/x11/libSM' === Cleaning for libSM-1.1.0_1,1 === Extracting for libSM-1.1.0_1,1 = MD5 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. = SHA256 Checksum OK for xorg/lib/libSM-1.1.0.tar.bz2. === Patching for libSM-1.1.0_1,1 === Applying FreeBSD patches for libSM-1.1.0_1,1 === libSM-1.1.0_1,1 depends on file: /usr/local/share/aclocal/xorg-macros.m4 - found === libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xtrans.pc - found === libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found === libSM-1.1.0_1,1 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found === libSM-1.1.0_1,1 depends on file: /usr/local/bin/automake-1.10 - found === libSM-1.1.0_1,1 depends on file: /usr/local/bin/autoconf-2.62 - found === libSM-1.1.0_1,1 depends on file: /usr/local/bin/libtool - found === libSM-1.1.0_1,1 depends on executable: pkg-config - found === Configuring for libSM-1.1.0_1,1 /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/local/share/aclocal/gtk.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal/gtk.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... /usr/local/share/aclocal/header.m4:12: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp /usr/local/share/aclocal/header.m4:58: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:15: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:279: AM_CONFIG_HEADER is expanded from... configure.ac:15: the top level configure.ac:57: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:325: _AM_DIRNAME is expanded from... ../../lib/autoconf/status.m4:1578: _AC_OUTPUT_MAIN_LOOP is expanded from... configure.ac:57: the top level configure.ac:11: your implementation of AM_INIT_AUTOMAKE comes from an configure.ac:11: old Automake version. You should recreate aclocal.m4 configure.ac:11: with aclocal and run automake again. /usr/local/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/local/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/local/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. *** Error code 63 Stop in /usr/ports/x11/libSM. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090316-95249-1itn24r-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libSM-1.1.0,1 UPGRADE_PORT_VER=1.1.0,1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11/libSM (libSM-1.1.0,1) (unknown build error) ___ 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: Determining scancodes for obscure keyboard to modify keymap
Bill Campbell wrote: As somebody else pointed out, xev is your friend. I am attaching the .Xmodmap file I use on OS X to allow the numeric keypad on the Microsoft 4000 natural keybaord to do the Right Thing(tm) (e.g. send numbers when using python curses). Scancodes have nothing (*) to do with keycodes. Xev will be of absolutely no help for remapping if it doesn't see the key at all, which frequently occurs with exotic keys. As Patrick said, you need to dig into the OS keyboard driver to solve the problem when working on the console. On Linux it is easier there are commands to detect and remap scancodes. Getting those keys working under X is still another problem, it may be that you have to hack the keyboard controller of the X server to do that. In other words, it is extremely inconvenient. Windows works directly with scancodes and they can be remapped in the registry, with all the problems this entails. On the other hand one can find scancode documentation on Microsoft site. (*) more precisely there is a partial mapping of scancodes to keycodes. xmodmap manages a second mapping from keycodes to symbols, as recognized by your X applications. -- Michel TALON ___ 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: OCR...
Gary Kline wrote: well, i'm ashamed to admit that i've put at least a dozen hours in trying, then re-re-retrying to OCR a imaged pdf file with as many open source ocr packages as i can find. I have seen good results with tesseract which is in the ports and free. Otherwise with OmniPage for commercial software (it runs under wine). -- Michel TALON ___ 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: technical drawing program
Chuck Robey wrote: I never had a chance to look qcad over. Maybe someone else who has that experience with it could give a better critique of it, without sounding like a salesman or a booster. I have used xfig and qcad. Qcad is definitely more complicated to use, it is handled similarly to autocad, but, like autocad, it allows to do precise 2D drawings. Basically qcad is a simplified 2D autocad. I don't think, at least i am not able to do similar precise things with xfig, which, on the other hand is convenient to insert schematic drawings into Latex stuff. Since both are available for free, the OP can try both and see what he prefers for his job. -- Michel TALON ___ 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: technical drawing program
On Thu, Jan 22, 2009 at 12:37:34PM -0800, prad wrote: any recommendations? i've tried dia and inkscape. the former seems to be good for flowcharts and general diagrams while the latter is great for all sorts of things, but i'd like to be able to do accurate geometric diagrams and was wondering if something more appropriate is available. The most appropriate freely available program to do that is qcad, otherwise autocad if you want to pay money. See /usr/ports/cad/qcad -- Michel TALON ___ 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: zip files...
Gary Kline wrote: guys, i have three huge zip files, .zip, and z02, z01. how do i unzip these into the original? Note that FreeBSD tar now extracts zips (tarr xvfz zipfile) -- Michel TALON ___ 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 kernel Debugging tools for Virtual Memory Module
Mehul Chadha wrote: But I am working on a virtual mode freebsd project similar to what UML does in linux. Do you mean like vkernel in DragonFlyBSD? http://leaf.dragonflybsd.org/cgi/web-man/?command=vkernelsection=ANY -- Michel TALON ___ 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: Optimising NFS for system files
Bernard Dugas wrote: So you din't think that if all files are already in RAM on server, i will save the drive access time ? Or do you think the NFS network access is so much slow that the disk access time is just marginal ? Do you think i should use something more efficient than NFS ? The VM system in principle does a good job of keeping in memory files which are frequently accessed, so you should not have to do anything special, and moreover i don't think there exists something convenient to force some files in memory (and this would be detrimental to the globalthroughput of the server). As to NFS speed, you should experiment with NFS on TCP and run a large number of nfsd on the server (see nfs_server_flags in rc.conf). For example -n 6 or -n 8. Maybe also experiment with the readsize and writesize. Anyways, i don't think you can expect the same throughput via NFS (say 10 MB/s, or more on Gig ethernet) as on a local disk (40 MB/s or more). -- Michel TALON ___ 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: Dell 2850 use 32 or 64 bit?
Tim Kellers wrote: Thanks for the reply. I already know it is 64 bit capable. I 'm interested in finding out if their are measurable performance advantages to running it using 64 v 32 bit FreeBSD. For the type of use of the OP (databases, etc.) i don't know, but for scientific computations we observe a massive performance advantage running in 64 bits mode (by this i mean more than 20%, i have seen some Maple formal computations run 100% faster). The only problem with 64 bits mode is that some ports may have problems, but, as far as i know, these ports are more desktop oriented than server oriented. For a server i don't see a reason to run in 32 bits mode. Contrary to some frequent assertions the increase in size of binaries is extremely limited as can easily be checked. This is very largely compensated by the increase in the number of registers. The possibility of using more than 4 gigs memory is just one advantage of 64 bits mode, and by the way, very few of our machines have more than 4 gigs memory, and they don't lack it at all. -- Michel TALON ___ 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: socket: too many open file descriptors (Re: Python with many threads)
Ott Köstner wrote: In /var/log/messages: named[63198]: socket: too many open file descriptors See the sysctl variables: kern.maxfiles kern.maxfilesperproc Note that Google leads immediately to this: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2008-07/msg00251.html -- Michel TALON ___ 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: Python with many threads
Otto wrote: Exception in thread 30: Traceback (most recent call last): File /usr/local/lib/python2.5/threading.py, line 486, in __bootstrap_in= ner self.run() The number of errors increases rapidly with even bigger number of threads. Is there any way I can increase the maximum number of Python threads? Nothing limits the number of concurrent threads. Personnally i have checked i can run Grub Next Generation Python Client with 600 threads without any problem. niobe% uname -a FreeBSD niobe.lpthe.jussieu.fr 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jul 22 10:31:01 CEST 2008 niobe% python Python 2.5.2 (r252:60911, Jul 5 2008, 13:44:44) Recall that python threads are just native threads, but these threads are protected from trashing the python state by a single lock, the GIL, which is released when you do IO. This allows to effectively thread IO, but not python computation. The FreeBSD thread library has no particular limitations, you can run hundreds or thousands of threads without much problem, for example under Java. -- Michel TALON ___ 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: Centralized DB of system users
Lowell Gilbert wrote: NIS, which stands for Network Information Services, was developed by Sun Microsystems to centralize administration of UNIX (originally SunOS) systems. It has now essentially become an industry standard; all major UNIX like systems (Solaris, HP-UX, AIX(R), Linux, NetBSD, OpenBSD, FreeBSD, etc) support NIS. I work i am in a mostly Linux shop managed by NIS. However my machines are under FreeBSD and i have no problem getting the NIS info. The only gotcha is that, under Linux you have 2 files for passwds /etc/passwd and /etc/shadow, while under FreeBSD you have just one /etc/master.passwd. So you need to run NIS in compatibility mode on the Linux server, so that passwd and shadow are concatenated. Securitywise it is the same since in any case the shadow information flows on the wire, ready to be captured by a scannner. The main problem with NIS, in my opinion, is that, when the NIS server(s) are down (it always occur once or twice a year here), all the clients are completely frozen immediately, so if you want high availability, better copy the passwd files on each client directly and not use a network server like that. Our previous sysadm had written a couple of replication scripts which worked very well this way. The present one reverted to NIS with this small inconvenient. Replication requires that you only modify passwd files on the server, like with NIS, and then, as soon as a modification is detected, files are propagated on all clients. This is extremely easy to achieve, and *much* more efficient, networkwise than using a thing like NIS or LDAP, where each client is constantly polling the server to get information about home directories, tilde expansions,etc. -- Michel TALON ___ 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 FreeBSD not popular on hardware vendors
Glyn Millington wrote: But, we can _gently_ (it hasn't always been so gentle) teach newbies that the list is meant for something higher than just repeatedly ragging on why isn't FreeBSD more like MS or RHEL or whatever. Or even why isn't FreeBSD more like FreeBSD used to be back in the day? As you suggest, first, discussions about the direction FreeBSD should go are eminently FreeBSD related, and second, i think the passeists in the community, broadly speaking the sysadmins, not the programmers, are the worst enemies of FreeBSD progress. A number of obvious errors have crept in the thread, for example that Linux is crap - it has never been as good, and now outperforms FreeBSD in nearly everything - or that Gnome and Kde have nothing to do with FreeBSD, when there are dedicated FreeBSD teams working precisely on that. The idea that an OS has to be a server OS (translate, friendly to sysadmins) rather than a desktop OS leads directly to irrelevance (example Solaris), while the crappiest of the crappiest desktop OS succeeds in getting a foothold in server space, simply because people are used to it, and don't want to complicate their life. In general an OS gets hardware support proportional to the number of its users, so it is criminal to advocate concentrating on a niche use. Specifically for the question of nVidia 64 bits support, the nVidia engineers have clearly stated their intention of developing the driver as soon as appropriate kernel support is present, so as to be able to dothe same thing they are doing under Linux - a very understandable requirement. It happens that, for several years, no one has been able or willing to provide this kernel support. This is harming FreeBSD in an obvious way, but personally i could not care less, i use Intel video card. -- Michel TALON ___ 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 help with disklabel, expected rawoffset 0, found 32
Per olof Ljungmark wrote: I must admit I don't fully understand what is going on here ... The c partition should cover exactly the slice. For example, my ad0s1 is like that: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 81915372 (39997 Meg), flag 80 (active) Now let us look at the label on this slice: lilas# disklabel ad0s1 # /dev/ad0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD 2048 16384 8 b: 4126240 1048576 swap c: 819153720unused0 0 # raw part, don't edit d: 4159488 51748164.2BSD 2048 16384 28552 e: 72581068 93343044.2BSD 2048 16384 28552 You can see that the c) partition starts at offset 0 and has exactly the size 81915372 reported above. In your case you start at offset 63. Note that the first partition a) should start at offset 16 (see the offset entry in man bsdlabel) but this is not enforced in sysinstall. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: performance problem in regex
fulvio_esposito wrote: I've got some performance hit using regex in libc on freebsd 6.3 Knowing that this regex implementation uses an NFA algorithm, while a DFA algorithm should be preferred, this is no big surprise. You can read the following references on the subject: http://swtch.com/~rsc/regexp/regexp1.html http://www.dmst.aueb.gr/dds/pubs/jrnl/2007-SPANDE-FIRE/html/KS07.html In particular the second is written by a FreeBSD developer and states: The Spencer engine proved to have poor performance and was excluded from the graphs., where the Spencer engine is precisely the one in FreeBSD. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: adding a slice to gmirror instead of a whole disk, will it work?
Craig Butler wrote: Will adding a slice to a gmirror instead of a whole disk work? The slice is big enough to accommodate the old disk. It will work no problem. The only possible trouble is to have the last sector of the disk or slice free to be able to put the geom marker on it. For example i have a mirror with 2 slices: asmodee% gmirror list Geom name: gms1 State: COMPLETE Components: 2 Balance: load Slice: 4096 Flags: NONE GenID: 0 SyncID: 2 ID: 1193348252 Providers: 1. Name: mirror/gms1 Mediasize: 16776699904 (16G) Sectorsize: 512 Mode: r5w5e5 Consumers: 1. Name: ad0s1 Mediasize: 16776700416 (16G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 0 SyncID: 2 ID: 1158494643 2. Name: ad4s1 Mediasize: 16776700416 (16G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 0 SyncID: 2 ID: 2277636746 Note that in this case (one of the disks is slower than the other) i observed that the round-robin strategy was giving poor results (slower than the slowest of the two disks) while the load strategy gives performance like the faster disk. Consumers can be absolutely anything, this is the beauty of the GEOM idea. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lokking for a disk partition editor
I would like to find a disk partition (slice in FreeBSD nomenclature) editor that runs under FreeBSD that is able to deal properly with logical partition entries chained from an extended partition entry in the Master Boot Record. fdisk(8) appears to be too primitive to understand logical partitions. /usr/ports/sysutils/linuxfdisk will do the job no problem. This FreeBSD port provides fdisk, cfdisk and sfdisk fromLinux, ported to FreeBSD. In turn FreeBSD can make use of logical partitions. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File system corruption upon reboot with gmirror
Gunther Mayer wrote: Don't use reboot, use shutdown -r now. I also had the same problem once (had to get physical access to the box to fix it) and it was because of the reboot. Thanks. I guess I'll use shutdown -r now then in future. If it still happens then I'll post again... What's this stuff? shutdown -r is implemented using reboot. if (doreboot) { execle(_PATH_REBOOT, reboot, -l, nosync, ^^^ (char *)NULL, empty_environ); syslog(LOG_ERR, shutdown: can't exec %s: %m., _PATH_REBOOT); warn(_PATH_REBOOT); } -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File system corruption upon reboot with gmirror
Mike Bristow said: What's this stuff? shutdown -r is implemented using reboot. Only when you give it -o. Otherwise it sends a signal to init, and init manages the shutdown.The code you quote is only run if -o is given But the code is init implementing reboot is the same as in the commande reboot and uses the call reboot(2) /usr/src/sbin/init/init.c line 643 if (Reboot) { /* Instead of going single user, let's reboot the * machine */ sync(); alarm(2); pause(); reboot(howto); _exit(0); } Note the reboot(howto) which is exactly the same as in the command reboot. If there are differences it may be in the number of sync(), pause() and so on issued, i have not checked, but i would be surprised that there is any significative difference between the several ways of rebooting. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Still, no-joy with kdm......
Gary Kline wrote: Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? Hello, i had recently a problem with kdm myself. Running kdm-bin under ktrace i discovered it was a locking problem. Something changed about locks in FreeBSD-Stable, and this killed some programs (tin, mutt, kdm, etc.) who do locking. I recompiled tin,mutt, etc. but i did not want to recompile kdebase, so i took a kdebase package from FreBSD-7.0-RELEASE and extracted the kdm-bin out of here. It works on my FreeBSD-STABLE box without problem. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
Jason W Morgan wrote: Also, be sure to keep a backup of your modified GRUB config---it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. Yes, in general, in Debian or Ubuntu config files there are markers which delimitate what the system is allowed to mess with and the rest. For example, for grub, i have (but the same idea appears in xorg config file, etc. - in general it is a very good idea, which could be profitably used by FreeBSD): # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST title Ubuntu root(hd0,5) kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=3eda2f02-17f1-4993-b52e- dfe21bb480d5 ro locale=fr_FR vga=791 initrd /boot/initrd.img-2.6.20-16-generic savedefault boot title FreeBSD root(hd0,3) savedefault makeactive chainloader +1 title Windows XP Media Center Edition root(hd0,1) savedefault makeactive chainloader +1 # This is a divider, added to separate the menu items above from the # Debian # ones. ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs Here things will be upgraded automatically . title Ubuntu, memtest86+ root(hd0,5) kernel /boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST Here things are safe. Note that, as remarked by several people, contrary to the grub version in ports, the grub version coming with Ubuntu doesn't read the UFS2 filesystem, so one needs to load FreeBSD by chain booting instead of directly loading /boot/loader. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: geom_raid5
Wojciech Puchar wrote: (geom_raid5) is it planned? or maybe already exist but not in main tree? It exists, it is used in FreeNAS, but is not in the main tree. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Too Much Context Switching?
Kris Kennaway wrote: In 6.x. the default thread library is quite inefficient although it can make use of multiple CPUs (again, providing the application is giving them work to do). For multi-threaded performance you will be better off switching to the libthr library (see libmap.conf(5)) or updating to 7.0 (where it is the default). This isn't likely to be the underlying issue if you are trying to debug a loss of performance relative to the same configuration in the past though. Indeed Plone is written in python, and python has a Big Giant Lock inside which insures that only one thread can execute, in order to protect the python structures. This lock is only released under special circumstances, such as doing IO. Hence it is necessary to run several instances of python programs and do synchronization work, if one wants to make use of several CPUs, or use python threads, and immediately make some IOs, or similar techniques. It may be that using Jython, if possible, yields better threading behavior. When doing some work according to these ideas, i had found quite severe contention, and this was not cured when switching native threading libraries (libksd, libthr, etc.). The problem is really inside python. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Too Much Context Switching?
On Mon, Jun 30, 2008 at 07:53:00PM +0200, Kris Kennaway wrote: Yep, it could be that -- what confuses me though is that it is claimed that performance suddenly regressed. If so then this cannot be the underlying cause. It may be that the load has augmented to the point that contention imposes a rapid regression on throughput. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Too Much Context Switching?
[EMAIL PROTECTED] wrote: It's actually been a long, slow, steady degradation of performance as best I can tell, that's recently just reached proportions that are so ridiculous that it's gone from this sucks but I can deal to this is completely unusable. The system has been slow from the start, just not this slow. I guess I'll need to investigate this...and while I know that Python is somewhat off-topic, if anyone here has any suggestions on where to start, they'd be much appreciated. :-) If you want to factor FreeBSD out of the problem, try to do the exact same Plone stuff under a good and easy Linux distro, like Ubuntu, and you will know if the problem is in Plone. In this case you have a workaround using a multiplexer as someone else mentioned, assuming your machine has several cores and a lot of memory. I am not an expert, but i have heard that Java frameworks have much better scalability, partly because threads are handled in a more reasonable way, and also because the JIT is very good. By the way, you can try to run Plone under psyco http://psyco.sourceforge.net/ provided you have a lot of memory. I have seen good improvement for some python programs with psyco. I have found a speed comparison which may enlighten you here: http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/ It has some remarks at the end which may help for plone. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions@freebsd.org
Xuebin Qiao wrote: After upgrade to FreeBSD 7.0, the cmucl and sbcl keep crash. Is there anyone who can run cmucl or sbcl on FB7.0. Sbcl runs for me on 7.0: niobe% sbcl This is SBCL 1.0.11, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * (+ 1 1) 2 * (quit) niobe% uname -a FreeBSD niobe.lpthe.jussieu.fr 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Feb 26 15:10:32 CET 2008 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/NIOBE i386 As for cmucl, the version in the ports is completely botched. You can however run a recent precompiled version from the cmucl snapshots here: http://common-lisp.net/project/cmucl/downloads/snapshots/2008/ There is a version for FreeBSD-7 and it allows to recompile the cmucl source without any problem. I have used it to compile maxima, it works very well and fast. obe% maxima Maxima 5.14.0 http://maxima.sourceforge.net Using Lisp CMU Common Lisp Snapshot 2008-02 (19E) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) expand((x+y)^2); Evaluation took 0.00 seconds (0.00 elapsed) using 1.086 KB. 22 (%o1) y + 2 x y + x (%i2) -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cmucl and sbcl crash on FreeBSD 7.0
Sorry, my previous message should have a subject line of Re: cmucl and sbcl crash on FreeBSD 7.0 -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
start/stop network services on a Laptop
Hello, First, my question: Is there a standard way to boot without network services and then to start them all later ? Second, the situation: I've got a laptop running FreeBSD 7 fine. By default it boots without enabling network interface, later I manually run /etc/rc.d/netif start ath0 and /etc/rc.d/routing start if needed. I've got this lines in /etc/rc.conf: # network_interfaces=lo0 ifconfig_ath0=inet 192.168.X.Y netmask 255.255.255.0 ssid thessid # sshd_enable=YES ntpdate_enable=YES ntpdate_flags=-4 -b ntpdate_hosts=ntpd-server There's two problems with this configuration: - At boot time ntpdate try to contact the ntpd-server but naturaly it fails (no network). - sshd always runs even if there's no network. So must I re-invent the wheel or is there a better way to do it. Thanks in advance for any help. Michel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How use helvetica font?
Nicolas Letellier wrote: How use Helvetica font with FreeBSD 6.3-Release ? I follow this page (http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/x-fonts.html) and installed urwfont but I can't see Helvetica font on OpenOffice or Abiword. The free version is called Nimbus Sans L. fc-list also shows aliases. By the way, it is not a very good sans serif font. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Realtek 8111B LAN Chipset
Bruce Evans said: I also want a cheap PCI/e NIC that works well with drivers back to FreeBSD-4 like my plain PCI bge and em NICs do. I doubt that any popular motherboard will have anything better than a cheap PCI/e NIC. I have recently upgraded an old machine with a good AGP video card to a Core 2 Duo processor. I have found an Asrock motherboard which supports such processor, but also both AGP and PCI-e video cards, both IDE and SATA disks, etc. so one can keep old parts. The chipset is from VIA and works well as far as i can see, and moreover doesn't overheat and supports passive cooling. The integrated NIC is the traditional ViaRhine, and it works under all versions of FreeBSD. Audio is supported by hda driver in recent FreeBSD. http://www.asrock.com/mb/overview.asp?Model=4COREDUAL-VSTA This mobo is very cheap (around 50 euros here). Coupled to a cheap Core 2 Duo this gives a good and *very quiet* machine for a surprising small amount of money (i spent less than 150 euros for the mobo, the processor and a new power supply). The performance is light years ahead of the previous Athlon, and the fan sound which was very present is now almost unaudible. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD on macbook baclight
Hello, The wiki page about FreeBSD on MacBook explains that it's possible to build a module to control backlight. A link points a depot where to download backlight.c and backlightvar.h but there's no README. I've tried to create a directory /usr/src/sys/dev/backlight put files in it, add a line device backlight in /usr/src/sys/i386/conf/GENERIC but make buildkernel ends with: config: Error: device backlight is unknown config: 1 errors *** Error code 1 Is there someone who knows where to put these files under /usr/src and compile a new kernel ? Thanks for any help. Michel. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: batch rename
Aryeh M. Friedman wrote: My goal is to rename several files in such a way as to decapitalize starting letters in their names. The solution seems to be simple but I'm stuck. What should I use? awk/sed or write some shell-script? This assumes tcsh: foreach i (`ls [A-Z][a-z]*`) mv $i `echo $i|tr 'A-Z' 'a-z'` end This will disfunction if the names have embedded white spaces. I happen to batch rename songs etc. which almost invariably have white spaces and other horrors. So i use something like mv $i `echo $i|sed -e 's/ */_/g' -e '.' ` Sed has the advantage you can do several transformations at one stroke, and fine tune the transformations. Double quotes avoid that the shell breaks names on white space. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: still no luck in coping a 6 G dvd to a 4.7 dvd.
Gary Kline wrote: Guys, I've set up a test account which is pure KDE. Still, using both my Pioneer and the Lite-on burners, no luck in burning a DVD that is larger than thee default. How do want this to work? You have to recompress the initial DVD stream, and for that there is an excellent program to run under your KDE account (k9copy). -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: copying DVD material :: somewhat OT.
Gary Kline wrote: IFF k3b works, and I think it might, I'll put up a howto on my bsd virtual site. K3b certainly works to burn CDs and DVDs under FreeBSD. I have used it many times on several burners. Of course you need to kldload atapicam for that. What does not work on any of my burners is burncd. By the way if you want to copy 8 Gigs DVD on 4 Gigs DVD, i can recommend you k9copy, which is fantastic. Does as well as dvdshrink, and very fast. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
script to upgrade 6.0 to 6.2
can you tell me what you think about this article ? I test on a computer in my lab, it seems to work, but I don't know exactly what it does ? http://www.daemonology.net/blog/2006-11-26-freebsd-6.1-to-6.2-binary-upgrade.html M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: script to upgrade 6.0 to 6.2
Colin Percival a écrit : Le Cocq Michel wrote: can you tell me what you think about this article ? I test on a computer in my lab, it seems to work, but I don't know exactly what it does ? http://www.daemonology.net/blog/2006-11-26-freebsd-6.1-to-6.2-binary-upgrade.html I recommend following the instructions at http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade.html instead -- or more to the point, the version of FreeBSD Update which the newer article points at. It contains all the functionality of the older script plus some more (e.g., merging changes to configuration files) which you'll probably find useful when upgrading from 6.0. Colin Percival I don't find this page today, thanks, can you explain me why this script or explanation are not in the distribution or on the FreeBSD WebSite ? Michel Le Cocq ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xen howto: inexplicable Kernel image does not exist error
I'm in front of the same trouble, did you find a solution ? M Matt Pounsett a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to get FreeBSD running under Xen on a RedHat RHEL5 box. I seem to be stumped really early in the process by something... strange. I don't have a good explanation for it, other than Xen doing something weird, and thought I'd ask if anyone else had seen something similar. All the information I've found googling this error relates to users forgetting to install key packages, which doesn't seem to be related here. Basically, I'm following the directions at http://www.yuanjue.net/xen/howto.html. When I hit step 4, and try to run xm create, xen complains: # xm create -c freebsd_xen_INSTALL Using config file ./freebsd_xen_INSTALL. Error: Kernel image does not exist: /home/mattp/FreeBSD-XENU/freebsd-XENU_INSTALL However, that kernel file does exist: # ls -l /home/mattp/FreeBSD-XENU/freebsd-XENU_INSTALL - -rw-r--r-- 1 mattp users 7379253 Aug 26 2006 /home/mattp/FreeBSD-XENU/freebsd-XENU_INSTALL I'm using the config file suggested by the instructions with only two changes: 1) change the 'kernel' reference to the kernel file listed above 2) change the 'disk' reference to the image file created in step 1 (I also tried without this change) Am I missing something here? Looks to me like either Xen is trying to chroot somewhere before loading the kernel (don't see anything relevant in the config file I downloaded) or something is broken somewhere. Has this been seen before, or does anyone have suggestions about where to check for the error? Matt -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) iD8DBQFHHPGpmFeRJ0tjIxERAgC3AKCWWmRyK3PgI0NXH2FZDEUE4ZBeIwCeP0ZI qTEXAYowhmspZCDlN2HMW68= =JSqE -END PGP SIGNATURE- ___ 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: Msdos/FAT stability issues
Wojciech Puchar wrote: don't thing of msdosfs as high performance filesystem. it was writted to just works to be able to copy file to/from this. See Bruce Evans contribution: http://docs.freebsd.org/cgi/mid.cgi?200707201706.l6KH6vaQ000567 msdosfs is now only slightly slower than ffs with soft updates for writing and slightly faster for reading when both use their best block sizes. Writing is slower for msdosfs because of more sync writes. Reading is faster for msdosfs because indirect blocks interfere with clustering in ffs. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make configure vs first make
Hello all, I know the question has been ask many times, but I don't understand why some times if I build a port with make install and then remove it with pkg_delete and make clean make clean-depends I can't obtain again the configuration screen even if i use make configure ... !!!??? Thanks Michel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make configure vs first make
Matthew Seaman a écrit : That's because you need to do: make config which has a very different effect to 'make configure.' Matthew can you explain the != ? thanks Michel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make configure vs first make
[LoN]Kamikaze a écrit : make configure runs the configure build stage if the port has one. make config calls the config dialogue is there a way to entirely clean a ports or remove config file to obtain the config dialog at the next make or make install M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make configure vs first make
Le Cocq Michel a écrit : is there a way to entirely clean a ports or remove config file to obtain the config dialog at the next make or make install it's written in man 7 ports thanks M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DVD distribution
Hi, Im an IT manager. I am just wondering why you do not have a DVD distribution. [I know about workarounds] Could you do something about that, it would be really helpful and handy? Thanks a lot. Michel Ali * Avant d'imprimer cet e-mail, merci de penser à notre environnement Before printing this mail, please consider our environment. Antés de imprimir este correo, por favor, piense en nuestro medio ambiente. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Equations
Frank Jahnke wrote: I figured this was the case, and it makes a difference. This is OT, but do you have a link that describe what font families are available? I assume the Postscript base set is easy. But how about the others? There is an entire fat book devoted to that: Fonts Encodings by Yannis Haralambous O'Reilly Using any type1 or ttf fonts is very easy as long as no formulas are involved. If formulas have to be typed using a font in harmony with the text, then it becomes quite difficult to produce the necessary virtual fonts. This is certainly a drawback of TeX. By the way, in my academic domain, all scientists worldwide use TeX, and not a single one use Word. One of the reasons is that people publish their work here: http://arxiv.org/ and submissions have to be in TeX and not Word. Similarly journals accept submissions in TeX since they have minor editorial work to do afterwards. Scientists in other domains would be well inspired to do the same. This being said, this question doesn't have much relevance to FreeBSD. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Equations
Eduardo Morras said: 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? There may be some under Windows, but i don't know. Under Unix machines i don't know anything easier (*) than TeX. For an introduction to students i have tried the OpenOffice equation editor, it is quite similar (hence as easy or difficult) to the things you type in TeX, except it has far less possibilities and does a poor job of formatting. People say me that the Word equation editor is even worse. By the way, there is a Java program which transforms OpenOffice equations (and text) into TeX source (writer2latex), but unfortunately i don't see anything of reasonable quality to do the converse. (*) There is a GUI tool which is supposed to ease typing TeX formulas, because you see them a you type, it is LyX. I have never found it very intuitive. There is also a mode for emacs which has partly such functionality. And finally there is more radical departure from Latex than LyX which is Texmacs (beware, it needs a powerful machine). Maybe some day it will evolve into an easy to use scientific editor. At the moment, i have found that using an helping tool like kile or texmaker (this one exists for Windows) allows students who have never seen TeX previously to type scientific texts with equations in less than a day in plain Latex. With troff i have zero experience. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cheaper backup mechnism for a server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wojciech Puchar a écrit : of course, that's why i use rsync, and use cp -lpR to make multiple generations on backup server every day. i delete the oldest when there are out of space. but gmirror+ggated/c is a good idea for those having more than 1 server and gigabit interfaces - do mirrorring spanning different machines (like mirror of first on second, mirror of second - on first). rdiff-backup do all of this and you can also restore a backup of 2 days ago because it also store an history of the backup. Michel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG898ftdSucJnea0gRAnA4AKCqXBHxWUs3o+kHUvLNX7W5EthsQgCfe+WH 8LW1Ju1oHtfGt4F2jpcPKUk= =qDKk -END PGP SIGNATURE- ___ 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 know who use NFS.
With some info student it also happen some times in here, and the way i find is to launch a tcpdum or ethereal on the server and look at which ip appear the more often Michel Albert Shih a écrit : Hi all Sometime I've a user (or some users but not lot of users) make a very huge transfert through NFS. I don't want that. How can I known at un precise moment who charge my NFS server (I'm root in both side : client and server). Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Jeu 20 sep 2007 19:23:03 CEST ___ 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: Sadly, my tinker-time has run out....
Danny Pansters wrote: Now to get back to the subject, what I don't understand is how OP thinks that [k]ubuntu would not need tinkering time. It's quite possible that a generic debian or arch install requires less tinkering to get it to behave the way you want (perhaps initially some more, but not after). Why not buy one of those gorgeous new imacs or a Mac lappy and be done with it, while still being able to do a lot of hacking if you really want to? From what I've read OSX is a great development system. I have FreeBSD and Ubuntu feisty 64 bits installed on my laptop. My conclusion is that Ubuntu requires ways less tinkering and works very well. As to using a mac, i don't see at present a reason to do that. I don't see a single thing that Mac OS does that FreeBSD with KDE desn't do much better. I don't need a laptop which overheats, has a one button mouse and other oddities. I don't want to learn still another system which doesn't have a single strong point. To come back to Ubuntu, it has at least two fetaures that FreeBSD doesn't: - suspend-resume works, which is immensely useful for a laptop - it has a package management sytem which works, using *binary* packages. No, portupgrade is not in the same categaory by any stretch of the imagination, and i have no business spending hours compiling stuff. Incidentally, Ubuntu also has working support for Intel wifi, the Syskonnect ethernet card and the Intel video card, where FreeBSD has experimental drivers such that the ethernet loses as many packets as it transmits (myk driver) and X locks up at least once a day. It is not very difficult to understand why Ubuntu is massively gaining users, while FreeBSD doesn't, and is now ranked position 22 on Distrowatch. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: best way to keep track of new developments
intel 3945 wireless ati x1300 graphics I have the intel 3945 on my Sony laptop. Works for me with Damien Bergamini driver 20070121-wpi-freebsd.tar.gz and FreeBSD-6.2-RELEASE. There are a lot of error messages but it works nonetheless. However i suspect that it produces memory corruption in conjunction with the display card, which freezes from time to time when the 3945 is activated and i am running X. I have never seen a crash when the 3945 is shut down or i am running on console. The most recent driver by B. Close is 20070715-wpi-freebsd-7.0-current.tgz but it works only with FreeBSD-7 so i cannot test it. I have tested other B. Close drivers, none worked. As for the video, an Intel card is highly recommended, it works very well on laptops and is sufficiently powerful to run things like compiz. There are very good available video modes on console, contrary to many other models. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GEOM, Vinum difference
Rakhesh Sasidharan wrote: Another (related) question: both gvinum and the geom utilities like gmirror and gstripe etc provide for RAID0, RAID1, and RAID3. Any advantages/ disadvantages of using one instead of the other? There has been a polemic between Greg Lehey and PJ Dawidek about the comparative advantages of raid3 and raid5. You can find the exchanges on Google. One example being: http://arkiv.freebsd.se/?ml=freebsd-performancea=2004-08t=227183 As far as i remember there are arguments showing that raid3 is better than raid5 both in terms of speed and of data security. It seems that raid5 has mostly a hype factor for him, but i may err. Anyways it is for such reasons that in the modern geom system, raid3 has been implemented and not raid5. But vinum has been ported to the geom framework for the benefit of old users, or of people who like it. For example if you are using FreeBSD-4 or DragonFlyBSD, vinum is the standard tool, and you may prefer getting expertise in just one tool. Finally none of these raid systems is really good, both for performance and security. If you are concerned with your data and want good write speed, you must buy enough disks and use raid 10. Another important factor is ease of use. The geom tools, gmirror, gstripe, graid3, etc. are *very* easy to use. The documentation in the man pages is clear, sufficient for doing work, and not too long. On the contrary, vinum was traditionaly documented in a very hermetic way. But more recently, Greg Lehey has provided a very clear chapter of his book on his web site which can be recommanded, but is not short. Note the documentation is a critical aspect of such systems because its lack may bite you in case a disk crashes and you need to adopt correct procedures under stress. Also for some time the gvinum stuff was extremely buggy, and was completely non functional when i tried it. I hope it is fixed now. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any FBSD Filesystem with Mandatory Locks?
Philippe Laquet wrote: OK - Thanks Tom, I will take a look on it, I think that HAVP was first developped on and for GNU/Linux, that may explain the need of a Mandatory (derived from SysV?) locks... I am currently looking on the source code of HAVP and check is a FreeBSD Patch could be done. I have looked at HAVP CVS, apparently they have added an option to compile without mandatory locks (NOMAND). -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thunderbird 2.0 dumps core on second file open op
I think it's a global thunderbird 2 bug, because i have exactly the same trouble ona mac os 10.4 with a binary update. Howard Goldstein a écrit : Jan Henrik Sylvester wrote: Drew Sanford wrote: No, but I am seeing it core dump rather strangely. Each time it starts up, I can open a file dialog box to save an attachment or attach a file one time just fine. The second time I try to attach or save a file on any start up, it crashes. BTW: Firefox 2.0.X does the same. Use Save Link As... a few times in a row (2 is usually sufficient) and have a core dump. I had this happen with Firefox 2.0.X and Thunderbird 2.0.0 that I compiled myself as well as with this one (on 6.2-RELEASE): ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/www/firefox-2.0.0.3,1.tbz I guess someone should file a bug report... Looks like the same problem at ports/105589, perhaps it needs to be reopened, seems to be the same problem. Haven't tried the workaround. Not sure how to do that on someone else's gnats. (cc to the gnats person who closed it) Here are my packages that are required by Firefox in case you want to compare versions: atk-1.12.3needs updating (port has 1.18.0) desktop-file-utils-0.11 needs updating (port has 0.12) expat-2.0.0_1 = up-to-date with port firefox-2.0.0.3,1 = up-to-date with port freetype2-2.2.1_1 = up-to-date with port glib-2.12.4 needs updating (port has 2.12.11) gtk-2.10.6_2 needs updating (port has 2.10.11) jpeg-6b_4 = up-to-date with port libIDL-0.8.7 needs updating (port has 0.8.8) libXft-2.1.7_1 = up-to-date with port libdrm-2.0.2= up-to-date with port libiconv-1.9.2_2= up-to-date with port nspr-4.6.3needs updating (port has 4.6.6) nss-3.11.3needs updating (port has 3.11.5) pango-1.14.7 needs updating (port has 1.16.3) perl-5.8.8 = up-to-date with port pkg-config-0.21 = up-to-date with port png-1.2.12_1 needs updating (port has 1.2.14) xorg-fonts-encodings-6.9.0_1 = up-to-date with port xorg-fonts-truetype-6.9.0 = up-to-date with port xorg-libraries-6.9.0_1 = up-to-date with port ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]