Re: NFS trouble
`showmount -e lusitania`? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Post-Install update steps?
On 1/22/06, Xn Nooby [EMAIL PROTECTED] wrote: After installing FreeBSD, I would like to follow some simple steps to get it fully up-to-date. The Handbook and other online instructions seem a bit overwhelming. I developed some instructions when I was experiementing with 5.x, and I'm not sure if the are still valid for 6.x. Do these instructions look okay, or should I be using something else? You might want to do portsnap fetch portsnap extract before doing anything with ports on a fresh system. It will download and extract the latest ports tree in just a few minutes. cd /usr/ports/editors/nano make install clean cd /usr/ports/net/cvsup make all install clean Why do you install net/cvsup? cvsup-without-gui is actually cvsup itself, just without gui. cd /usr/ports/net/cvsup-without-gui make all install clean cd /usr/ports/sysutils/portupgrade make install clean rehash cd /usr/src cp /usr/share/examples/cvsup/stable-supfile . You'd be better off keeping your supfiles somewhere in /root cp /usr/share/examples/cvsup/refuse . /usr/src is not the place for a refuse file. Just skip this, it won't really harm you in any way. nano -w stable-supfile *host = cvsup10.FreeBSD.org *default release=cvs tag=RELENG_6 Reconsider using -stable. If you're not that familiar with FreeBSD, stay on the safe side (i.e. security updates branch) and change RELENG_6 to RELENG_6_0 ... ports-all tag=. You'd better keep ports updated with portsnap(8) doc-all tag=. cvsup -g -L 2 stable-supfile less UPDATING make buildworld make buildkernel KERNCONF=GENERIC make installkernel Just make kernel instead of these 2 lines shutdown -r now I'm under impression that this reboot is superfluous shutdown now cd /usr/src make installworld mergemaster delete hosts file ! Delete it? Just do not let mergemaster change it run MAKEDEV at end ! Nope, you don't run it now that we have devfs shutdown -r now portsdb -Uu If you followed my advice and use portsnap instead of cvsup for ports, you'll need just portsdb -u portversion -l I like portversion -L= more portupgrade -arR Just portupgrade -a. -r and -R are ignored if -a is set. reboot You'll be on the safe side using shutdown -r now until you know exactly how reboot differs. I still don't :-) And - last but not least - read the Handbook. If you really really can't, save yourself a great deal of time and use Linux or Windows. [ You'll save yourself an even greater deal of time if you read the docs and forget about the two latter OSes ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS trouble
On 1/22/06, David Raison [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andrew Right, that's a point I had forgotten to post, although not a very surprising one [EMAIL PROTECTED] showmount -e lusitania Exports list on lusitania: [EMAIL PROTECTED] Look for mountd log messages on the server (`dmesg -a` should contain them, if you're lucky). Just run /etc/rc.d/mountd reload and see what gets into syslog. The problem is probably in /etc/exports. Start with something simple, like '/mnt/music -ro' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: English only, please (was: Pooomooocyyyy ;()
On 1/16/06, Jerry McAllister [EMAIL PROTECTED] wrote: On Sunday, 15 January 2006 at 16:49:27 -0600, Don Hinton wrote: Hi Greg: On Sunday 15 January 2006 16:28, Greg 'groggy' Lehey wrote: On Saturday, 14 January 2006 at 20:02:02 +0100, Karol Kwiatkowski wrote: vocativus wrote: Witam! [...] http://www.bsdguru.org/dyskusja/ As I said a couple of days ago, this is an English language list. In a case like this, it would be appropriate to *not* copy the list on the reply, despite the policy to the contrary. Where exactly does it say that this is an english only list? I suppose you have a point. It's implicit; it should be spelt out. At http://www.freebsd.org/community/mailinglists.html you have a choice of Mailing Lists or Non-English Mailing Lists. -questions is under the former link; the Polish mailing lists are under the latter. At http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/ there's a reference to an inability to speak English. But we should really do something about writing a charter that makes it clear. Anybody feel like having a go? I don't really mind someone posting a question in another language as long as they realize that most of us will not be able to respond to it. Often enough, I think, there are others out there who can handle that language and they can respond. Hopefully they will not turn it is to a long running exchange on list in some other language. Now, if someone posts a question in something besides English and then begins to rant and flame people for not responding, then it is not acceptable. But, just starting a question here in another language is not so onerous. jerry Agreed. It's not that I don't see Greg's point, I just don't feel that a small percentage of foreign-language messages bring any harm to anyone. I think we'd be much better off if the proponents of such linguistical segregation devoted their time to eradicating real spam. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webcam usb device
On 1/16/06, dick hoogendijk [EMAIL PROTECTED] wrote: On Sun, 15 Jan 2006 10:20:21 +0100 dick hoogendijk [EMAIL PROTECTED] wrote: I have a Logiteck QuickCam Chat webcam (USB-2) The device is detected alright. But I cannot get it to work. Kopete (KDE) i.e. does not see the device. I have two questions: (a) do I need to load some kind of *.ko file (like for the soundcards) to use a webcam under freebsd-6R? (b) what program is useful in testing this (web) usb-camera? Hope to get some advice. Nobody reacted. So either I'm stupid and just should know how these things work in FreeBSD, or people didn't have time yet to respond. I googled a lot on webcam and freebsd but could not find something relevant. I did read somewhre that on linux one has to create a /dev/video* which on my fbsd-6R does not exist. I trust devfs should have made one if needed.. I still at a loss on how to use my webcam on freebsd. It shouldn't be too hard I'm told. Well, whatever.. It is in dmesg, but further than that it can not be used. Who has some pointers? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 ++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] As a matter of fact google comes up with a few useful links: http://www.google.com/search?q=webcam+freebsd ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 on FreeBSD 5.4
On 1/13/06, offbyone [EMAIL PROTECTED] wrote: My problem: Running FreeBSD_5.4-RELEASE with XFree86-4.5.0, there is a mis-match: the underlying o.s. and newly installed and upgraded ports expect X.org After portupgrade of an X-supported port, this mis-match shows up as stale dependency(ies) It's a bore repeatedly to point new and upgraded ports to XFree86-libraries-4.5.0, etc. (and there is no XFree86 component that corresponds directly to X.org-TrueType, or is there?) My questions: 0.) How to change the underlying o.s. default expectation to XFree86 AND is this a good idea for the present and future of 5.x? Look at /usr/local/etc/pkgtools.conf 1.) Is a better solution to bite the bullet, deinstall all XFree86 components and install X.org, since FreeBDS is 5.x? Sure. There's no debate about it whatsoever. You are also avdised to bite another bullet and upgrade to FreeBSD 6, it's a painless/seamless procedure now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: help me!
On 1/13/06, Andrey Slusar [EMAIL PROTECTED] wrote: Fri, 13 Jan 2006 17:26:36 +0300, you wrote: Where I can download mgetty 1.1.30 for FreeBSD 4.9? mgetty+sendfax есть в портах. Что именно тебе нужно? Все сорцы есть здесь: ftp://mgetty.greenie.net/pub/mgetty/source/1.1/ Maybe mgetty package for 4.9-RELEASE. -- Regards, Andrey. ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.9-RELEASE/packages/comms/mgetty-1.1.30.12.16_2.tgz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 on FreeBSD 5.4
On 1/13/06, offbyone [EMAIL PROTECTED] wrote: Andrew P. - Thanks for the reminder about pkgtools.conf. But about FreeBSD 6... I still see a lot of complaints of headaches from people using 6, here and on the -Stable mailing list, so I'm dubious. The -stable mailing list has a purpose of diminishing the dubiousness, yet it has an opposite effect on some people. If you really feel uncertain because of it, I'd advise to unsubcribe. Besides, I'm not asking you to run -current or -stable and help community with any precious input. I just say that there was enough effort to make 6.0-RELEASE a better thing to run for almost all of us. My $.02 as always. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Core vs HyperThreading vs Dual CPU
On 1/12/06, Gerard Seibert [EMAIL PROTECTED] wrote: Garrett Cooper [EMAIL PROTECTED] No kidding. But I doubt the competence of people that buy computers from big name manufacturers, unless they bought it maybe for server applications, large scale deployment of machines, etc. Gotta love their little Flash graphics with the balls representing bits, just hopping along the CPU/cores... lol. -Garrett From a strictly marketing/advertising sense, it is a rather useful tool. Honestly, they could have posted a 5000 word white paper detailing the specs and performance gains versus none hyper-threaded or dual cored PCs, but how many actual potential buyers would have actually read or understood it. That little visual aid they developed immediately attracts a potential buyers attention. I do question why you make the statement, I doubt the competence of people that buy computers from big name manufacturers however. I happen to own two Dell computers, along with an old Compag (my first). In the past ten years or so, I have purchased at least 6 personal PC's and recommended dozens more to my friends. At least when buying from a well known manufacturer, the odds are that they will be around if something goes wrong with the unit. I have know individuals who have purchased from lesser known manufacturers only to discover that they were no longer in business in a year or two. I look for stability in the companies I do business with as well as the units I purchase. I personally find your statement somewhat insulting. -- Gerard Seibert [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Welcome to consumerland :-) If you buy equipment from companies, which are stable thanks to great marketing/advertising strategies (and lack of funding in all other areas, including RD), it doesn't make you a worse or a better man at all, but it does prove for a thousandth time in a row, that those strategies are almost exclusively effective ones in the land of incompetent consumers :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dual Core vs HyperThreading vs Dual CPU
On 1/10/06, Marc G. Fournier [EMAIL PROTECTED] wrote: I'm going to assume that Dual Core is better (can't believe that they took a step back) ... but, is how does it rate? I know that HyperThreading is definitely != Dual CPU ... but how close does Dual Core get? There is extensive evidence (google for that, please), that HT is even slower than a single core in quite a few applications. Moreover, the whole HT implementation has been shown to be a security risk. In the near future intel is going to spend $1.9bn on its new marketing campaign. If you wanna be part of it, buy their CPU, half of the money will be in your nearest billboard. Dual-core is a new, and a very smart concept, which is exactly equal to a dual-cpu configuration in terms of performance per core - plus it provides a huge cut down on power consumption, and a theoretically hugely faster interconnection between the cores (they are physically many times closer). By 2010 we'll see 4-core, 8-core and maybe even 16/32 solutions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Native voip software for FreeBSD
On 1/10/06, User Gandalf [EMAIL PROTECTED] wrote: Hello, Do you know any native voip software for FreeBSD? I hate to install Linux compatibility mode just to have skype working. Thanks, Les ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mbone/speak_freely net/kphone security/cutlass asterisk-related ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fstab - mount_nfs - -L parameter
On 1/10/06, Mathieu CHATEAU [EMAIL PROTECTED] wrote: Hello all, I need to mount an nfs volume with the -L params. It works great by hand : mount_nfs -L server:/share but fstab refuses the -L params... really? What does it say? Do you have ro or rw present in the options? Here's my line that works: lan-217:/mnt/200a/mnt/200anfs-L,ro00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD on DL145G2
On 1/9/06, Albert Shih [EMAIL PROTECTED] wrote: Le 07/01/2006 à 20:36:48-0800, Ted Mittelstaedt a écrit Since these are new you need to return them to HP and exchange for a different server, or get your money back. Good answer.. It's the [EMAIL PROTECTED](*)# builder to forget put a scsi-terminator. Lots of thanks... If you're running FreeBSD/amd64, please report working SCSI on this platform for inclusion in this list: http://www.freebsd.org/platforms/amd64/motherboards.html You can do so via send-pr or webform. Attach your dmesg output, please. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pls help network thoughput
On 1/7/06, ann kok [EMAIL PROTECTED] wrote: Dear Andrew Thank you for your help in advance I keep checking the loading. it is running fine. the load averages is not over to 1.0 System info: Intel(R) Pentium(R) 4 CPU 3.00GHz 2G memory for the sysctl var: kern.polling.enable=1 kern.polling.user_frac=10 kern.ipc.somaxconn=2048 kern.polling.poll_in_trap=1 I don't run iperf and my switch is not managable. could you provide any hints to check it? and tune the system also. Thank you again last pid: 47008; load averages: 0.00, 0.02, 0.02 up 80+11:09:17 22:42:18 31 processes: 1 running, 30 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 100M Active, 1639M Inact, 201M Wired, 60M Cache, 199M Buf, 11M Free With such a high-spec box, you should probably be running FreeBSD 6. It has much more polling related sysctl tunable. We've got too FreeBSD 5 firewalls at our site (which are doing just fine), and I'm gonna upgrade them to 6.0 one of these days. Look at netstat -s to see how many packets are broken. Maybe your switch/cabling can't cope with the load. Where are the figures from the top output. I only see percent signs. Try running iperf. It's really easy. Just install the port on two boxes, run iperf -s on one and iperf -c other IP on the other. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pkg_add question
On 1/5/06, László Nagy [EMAIL PROTECTED] wrote: Hello All, I tried to install the Xorg server and xfce4 from the binary distribution, using pkg_add -r I could setup the Xorg server, but I cannot use xfce. When I run startxfce4 then I get the following message: /libexec/ld-elf.so.1: Shared object libobject-2.0.so.0 not found, required by xfce4-sesion. I read somewhere that I need to update glib. But I cannot do this with pkg_add. pkg_add -r glib tells me that glib (or an older version of it) is already installed. Now I'm trying to upgrade glib with portupgrade -r glib and probably it will work. But it will take a long time to recompile every package that I have in binary format. The big advantage of using pkg_add is that I do not need to recompile everything from the ports tree. I have a slow machine and limited disk space. But it looks like I have no choice. Upgrading glib from the ports will cause many packages to be downloaded and recompiled from source. I could not find any way to update my packages in binary form. If there is a way, please help me finding it. Thanks, Les ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] portupgrade -PP will only use binary packages. Try portupagrade -aPP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD on DL145G2
On 1/6/06, Albert Shih [EMAIL PROTECTED] wrote: Hi all I've some big problem to install FreeBSD (actually 6.0) on my two new HP DL145G2 with two AMD Opteron 248. When I boot the cd the system waiting very long time after Waiting 5 sec to scsi settle (or something like that) I have many message mpt0 time out (I've SCSI Disk) After that I can install (but I just see one disk and I've two disk). But when I reboot the system don't see the disk is bootable. Anyone have succefully install FreeBSD on DL145 G2 ? Lots of thanks. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Fri Jan 6 17:10:26 CET 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] SATA versions of HP DL145 G2 are known to work very well with both i386 and amd64 versions of FreeBSD 6.0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pls help network thoughput
On 1/7/06, ann kok [EMAIL PROTECTED] wrote: Hi all I use feebsd 4.11 as router with intel Giga card about 1 year Recently, the bandwidth couldn't grow and stop to about 383M. ls it the maximum thoughtput of the freebsd? Yes, FreeBSD has quite a few limits hardcoded which gives other OSes a chance to look decent in various tests and benchmarks. Anyway, please provide additional details. CPU load one of the most important factors here. According to some people, polling makes it show incorrect (lower) values. Can you run iperf with different switches? Can you try and tweak polling-related sysctl variables? ___ 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 convert BIND to TinyDNS?
On 12/31/05, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Why are you bothering? TinyDNS isn't the standard nameserver that everyone and their dog has been using for time out of mind. Agreed. Personally, I respect software diversity in a very deep way and acknowledge that the one and only dns server standard is a bad thing for everyone. The thing is that there's been no success in creating an open-source alternative that works. I also respect djb, but his outright arrogance makes the users of his software suffer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there a Freebsd equivalent to this Linux header file
On 12/28/05, Ray Seals [EMAIL PROTECTED] wrote: I'm not a programmer, but I trying to learn a few things. I have a Niagara 2261 pass through nic and I need to change it's operating mode. It came with the source code and header files for a command line utility which allows me to change operation modes on the card. Along with the documentation. The card is recognized under the 'em' network driver. I have all the errors down except for one. The error is 'SIOCDEVPRIVATE' undeclared (first use in this function). Doing some research I found that the linux header file sockios.h defines this. Is there a FreeBSD equivalent to this or am I so far out of my league with this question that I should probably just stop right now? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Have a look at /compat/linux/linux_ioctl.h ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DTS decode with mplayer?
On 12/25/05, Yuan Jue [EMAIL PROTECTED] wrote: hello, all does anybody knows how to configure mplayer to decode DTS soundtrack while playing a DVDRip movie? recently more and more movies seem to use XViD+DTS technology. Any suggestion will be appreciated. thanks -- Best Regards. Yuan Jue ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] DTS is absolutely great in comparison to AC3. But to fully appreciate all of its benefits you're gonna need a hardware DTS decoder I've got this one and it sounds terrific: http://www.amazon.com/gp/product/B9N8TC/ Non-commercial software DTS decoding is far behind its Dolby counterpart. You can set WITH_DTS=yes and rebuild mplayer to be able to (try and) play those movies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Donkeys crash FreeBSD6
On 12/22/05, Erik Norgaard [EMAIL PROTECTED] wrote: Jay wrote: On 12/22/05, Erik Norgaard [EMAIL PROTECTED] wrote: Hi: I have tried using both mldonkey and xmule on my FreeBSD6, and both are able to crash the system. I have used mostly mldonkey, and even running only the core the system crashes at unknown events: It has happened on FBSD 5.4 and 6.0 with without X and other applications running. I also suspect mldonkey to have destroyed one disk. Yesterday I tried xmule, but it only ran 4 hours then the system crashed. I am fairly certain that no other program is causing the crash, it happens only if one of these are running and independent on what other applications are running. Without xmule or mldonkey running my system is stable as rock. In my case, it was bad capacitor on mobo which freezed system when there were *heavy* hdd activity. Interesting, I can't really talk about heavy disk activity: With mldonkey it appears to be big files, and system may run out of memory to handle this? With xmule I see no such indication, I got just 2.5MB of an ISO. Is this a problem with all ed2k clients? Is bittorrent more stable protocol/implementation? Which client is recomendable? Thanks, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The problem with a bad capacitor causing random crashes may or may not apply to any application on any PC. We've got mldonkey here running for months on end. It has never crashed itself or caused a system crash. 10 people are using it through its web interface. It handles literally terabytes of ed2k/bittorrent downloads. Good luck! Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing problems with Mozilla and Firefox on Freebsd 5.3
On 12/18/05, Steven Lake [EMAIL PROTECTED] wrote: Ok, got a weird one here. Got cups setup with our new office lan printer and I can print just fine from any program, EXCEPT Mozilla and Firefox. They go through the motions, but nothing happens. Nothing shows up in the que or the access or error logs or anything. Am I missing something? My research via google into this found me several pages that mentioned something about 'msttcorefonts', but after some playing with this they don't seem to be installable on freebsd. Any suggestions? I think x11-fonts/webfonts may be referenced as msttcorefonts in other distributions. I can't explain why, but try to install the print/gtklp port and change the print command in firefox to gtklp. Try to format your e-mail, too. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bootloader not reading kernel.conf
On 12/18/05, Richard Klingler [EMAIL PROTECTED] wrote: Hello... Does someone know what to do that the bootloader reads in /boot/kernel.conf? Otherwise have to do to always a boot -c and issue di psm0 and q... thanx inadvance rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] loader.conf is probably the file to do such customization in. Have a look at its manpage. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how do I ... burn an audio CD from .WAV files _and_ add cd-text ?
On 12/19/05, user [EMAIL PROTECTED] wrote: I have wav files. The wav files come from cds that did not have cd-text information on them, so I have no cd-text examples or source files for these wav files. I want to burn an audio cd with some wav files (I know how to do this with burncd and cdrecord) BUT I also want to add cd-text to the newly created, custom audio CD. cdrecord seems as if it is able to do this, but after a night of searching, I do not see how to create the file of text necessary to do this. I am wondering if anyone out there already does this and could share their workflow / work-description ? thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I haven't tried it, but sysutils/cdrdao supports CD-Text. You can specify the text info right in its TOC files. Just have a glance at its manpage. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Regular Expression Trouble
On 12/10/05, Martin McCormick [EMAIL PROTECTED] wrote: After reading a bit about extended regular expressions and having a few actually work correctly in sed scripts, I tried one in egrep and it isn't working although there are no errors. I was hoping to get only the A records from a dns zone file so the expression I used is: egrep [[:space:]IN[:space:]A[:space:]] zone_file h0 Had it worked, all that would have appeared in the h0 file was all the A or Address records. Instead, I get those plus almost everything else in the file. It is obviously not filtering correctly. Plain grep produces a 0-length output file so that is not too useful either. Putting double quotes around the RE didn't help either. It seems to match almost everything. Thanks for any good ideas. Martin McCormick WB5AGZ Stillwater, OK OSU Information Technology Department Network Operations Group .-- -... . .- --. --.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Isn't it a character class consisting of a white-space and three letters? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Procedure for upgrading CPU
On 11/21/05, Mike Loiterman [EMAIL PROTECTED] wrote: I'm thinking of upgrading the CPU in my machine running 6.0-RELEASE with an SMP kernel. Is it a matter of powering down the machine, swapping chips and powering up? Is there anything else I would need to do ahead of time or after the upgrade? Will I need to recompile world, kernel or ports? I currently have a 2.8 GHz P4 Prescott (520) and I'm thinking of replacing it with a 3.6 GHz P4 Prescott (560J). Both are 32 bit LGA 775 chips. The motherboard is a SuperMicro P8SGA. -- Mike Loiterman grantADLER Tel: 630-302-4944 Fax: 773-442-0992 Email: [EMAIL PROTECTED] PGP Key: 0xD1B9D18E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] As long as you don't lose any CPU features (e.g. SSE3 or MMX), which is clearly your case, you're absolutely safe to just swap the chips. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: throttling NFS writes
On 11/19/05, Mikhail Teterin [EMAIL PROTECTED] wrote: Hi! We have an unusual problem with NFS writes being _too fast_ for our good. The system is accepting database dumps from NFS-clients and begins compressing each dump as soon, as it begins arriving (waiting for more via kevent, if needed). The NFS-clients (database servers) run on slow Sparc processors and can not be bothered to compress their data... The setup works quite well, if the to-be compressed data is still in memory, when the compressor gets to it. Unfortunately, those Sparc systems have rather fast I/O rates and manage to write their dumps faster, than the compressor can compress it. When this happens, the overall performance of the backup script goes down through the floor :-(, because it forces the disk to read the middle of a file (for compression), while data keeps arriving (from the NFS-client) at the end of it... So we'd like to stall the client's dumping, so that the compressor can keep up. Short of limiting NFS-bandwidth via ipfw, is there a way to control NFS speed dynamically? The uncompressed dumps are _huge_, although they compress very well. So we can not just accept all of them first and then start compressing -- we don't have enough room. There is enough to keep about 3 full-dumps worth of compressed data, but even a single uncompressed full dump would not fit... -mi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Well, what's wrong with traffic shaping? It's as good a solution as anything else. NFS clients will just block on writes, and it won't cause any trouble. Other solutions include sending lockfiles with dumps and checking for their number before sending a new dump (and deleting them as soon as a dump is compressed). It's also not really hard to write a client-sever system (Perl is good for that), where server watches hardware resources on the host and clients query them before any activity. Sort of traffic lights. About 50-100 lines of Perl code. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Information about handbook translation
On 11/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I just subscribed to that list so nice to meet you :) I am quite new to the FreeBSD world but I would like to help the community by doing the only thing I think I am capable of: translating. My language is french so please contact me and give me some pages to translate. I feel too lazy for now, I should work :) See ya, Ivan. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hey, Thanks for your creative interest. Please, look through this book: http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html and subscribe to [EMAIL PROTECTED] Ask your questions there. i18n@ might also be of interest to you, but that's a more technical approach. Take care, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpdate
On 11/17/05, Bob Johnson [EMAIL PROTECTED] wrote: On 11/16/05, dick hoogendijk [EMAIL PROTECTED] wrote: On Wed, 16 Nov 2005 17:15:24 +0200 Ivailo Tanusheff [EMAIL PROTECTED] wrote: Why you need to do this? Your system is not fully operationl in the time you try to run ntpdate. Just edit your /etc/ntp.conf to connect to some time servers. Per example mine is: [cut very nice example] Thank you. I You are probably right. I'll get rid of ntpdate in rc.conf. I have two timeservers at the moment. I will look for some more in the Netherlands. Yours are to far away ;-) The easy way to find public NTP servers is to use the public pool, which gives you a random list of servers each time you do a DNS lookup on it. You can ask for the pool for a specific continent or country (when they exist) as well. More info about this is at http://www.pool.ntp.org/use.html but the short answer is to specify three servers as: server 0.nl.pool.ntp.org server 1.nl.pool.ntp.org server 2.nl.pool.ntp.org Which will give you three different randomly selected public servers in the Netherlands (actually it gives you three lists, but ntpd will use the first one from each list). Info about availability of participating servers in specific regions is at http://www.pool.ntp.org/zone Leading numbers are not necessary in most cases. I use: server europe.pool.ntp.org server europe.pool.ntp.org server europe.pool.ntp.org That selects 3 random servers from the whole europe pool. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: safe and sane way to 6?
On 11/16/05, Jeff D. Hamann [EMAIL PROTECTED] wrote: I've installed FreeBSD 6BETA4 a few months ago and have been waiting until the first release (non-beta) came out to get the machine moving. I went to upgrade my system by performing a cvsup after setting the cvsupfile to the following: *default host=cvsup18.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_6_0 *default delete use-rel-suffix *default compress src-all ports-all doc-all www cvsroot-all I then tried to run a make buildworld and got the following error message: mkmagic: could not find any magic files! *** Error code 1 Stop in /usr/src/lib/libmagic. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. bobby# bobby# Now what? Would it be smarter to simply install a clean version of FreeBSD 6.0? or can I upgrade without having to go through all that again? This question probably belongs to [EMAIL PROTECTED] This might solve your problem: 1. Try another cvsup server 2. Change your tag to RELENG_6_0 3. Remove the contents of /usr/src and /usr/obj - and cvsup again Good luck! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntpdate
On 11/16/05, dick hoogendijk [EMAIL PROTECTED] wrote: On Wed, 16 Nov 2005 17:15:24 +0200 Ivailo Tanusheff [EMAIL PROTECTED] wrote: Why you need to do this? Your system is not fully operationl in the time you try to run ntpdate. Just edit your /etc/ntp.conf to connect to some time servers. Per example mine is: [cut very nice example] Thank you. I You are probably right. I'll get rid of ntpdate in rc.conf. I have two timeservers at the moment. I will look for some more in the Netherlands. Yours are to far away ;-) Last time I checked ntpd docs there was no way to tell ntpd to set the time to correct at once at startup. Imagine that you've left your box off for a few days. Your clock might get inaccurate by quite a few seconds (about 2-5 minutes a month on some hardware). So ntp either converges for the whole eternity, or just fails to work. Ntpdate at startup solves this problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: COMPAT_IA32 COMPAT_FREEBSD5
On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote: Hi, I am running freebsd 6 AMD64 I compiled my kernel with the following options: options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD5 # Compatible with FreeBSD5 However, I am trying to run an application which has been compiled for freebsd 5.x IA32 I get the following error: Unable to load dynamic library '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/ local/lib/php/20041030/libpdf_php.so: unsupported file layout in Unknown on line 0 Do I need to do anything special to activate COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ? Various problems occur when a dynamic x86 executable tries to use x86_64 libraries. You don't have to do anything special per se, but ensure that binaries are consistent. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: COMPAT_IA32 COMPAT_FREEBSD5
On 11/16/05, Ian Lord [EMAIL PROTECTED] wrote: So Basically, I would need to recompile Php for ia32 and run it in emulation, then since php is running as a dso, recompile apache... At that point, I prefer to do a make buildworld :) You should propably not rely on ia32 compatibility layer on any kind of production server unless absolutely necessary, i.e. you need a legacy closed-source x86 app. If it's critical, consider using FreeBSD/i386, if not, try creating a x86 jail environment. This is not so easy the first time you do it, but it comes very comfortable later. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: makings of a junk yard cluster ??
On 11/15/05, Arden [EMAIL PROTECTED] wrote: Hi Folk like most people involved in IT you tend to build you a junk yard of redundant machines Ive just been through mine and found could at a push make 5 x86 PCs 2x amd 400mhz 2x via 700mhz 1x amd duron 1200 also have lots of spare nic cards Ive never looked at clusters before and this is just for fun (must have way to much time on my hands) :) So I need to know would it be possible to build a cluster from these ? I'm not sure if the nodes need to be matched in any way ? dose anyone know where to find an idiots to setting one up ? also what would the equivelent power be i.e would i just be making a 1gig space heater ? It's hard to tell for sure, but one AMD 3000+ should eat them all for lunch. So there's no practical interest in it. But you can learn much from using all these machines together. First, do you need a real-deal cluster with MPI and other industrial protocols? If I were you, I'd call these machines a farm, and would first try some fail-over mechanisms (routing, http, dns, ipsec). We usually get to test fail-over using virtual pc's. Real boxes are somewhat harder to manage, but they are real, and the experience you get is a real hands-on encounter. Then, some distributed jobs would be fun. I use distcc to compile many large pieces of software. Try it. Then you can try running something like dnetc or boinc and compare the results your farm produce to those your desktop shows. If you have a lot of NIC's, populate the boxes with all of them. Install FreeBSD everywhere and you can emulate _very_ complicated environments with vlans, trunks, OSPF, BGP and what not. Then go and get your CCIE. ... Take care! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: makings of a junk yard cluster ??
On 11/15/05, Arden [EMAIL PROTECTED] wrote: On Tue, 15 Nov 2005 18:46:02 +0300 Andrew P. [EMAIL PROTECTED] wrote: On 11/15/05, Arden [EMAIL PROTECTED] wrote: Hi Folk like most people involved in IT you tend to build you a junk yard of redundant machines Ive just been through mine and found could at a push make 5 x86 PCs 2x amd 400mhz 2x via 700mhz 1x amd duron 1200 also have lots of spare nic cards Ive never looked at clusters before and this is just for fun (must have way to much time on my hands) :) So I need to know would it be possible to build a cluster from these ? I'm not sure if the nodes need to be matched in any way ? dose anyone know where to find an idiots to setting one up ? also what would the equivelent power be i.e would i just be making a 1gig space heater ? It's hard to tell for sure, but one AMD 3000+ should eat them all for lunch. So there's no practical interest in it. But you can learn much from using all these machines together. First, do you need a real-deal cluster with MPI and other industrial protocols? If I were you, I'd call these machines a farm, and would first try some fail-over mechanisms (routing, http, dns, ipsec). We usually get to test fail-over using virtual pc's. Real boxes are somewhat harder to manage, but they are real, and the experience you get is a real hands-on encounter. Then, some distributed jobs would be fun. I use distcc to compile many large pieces of software. Try it. Then you can try running something like dnetc or boinc and compare the results your farm produce to those your desktop shows. If you have a lot of NIC's, populate the boxes with all of them. Install FreeBSD everywhere and you can emulate _very_ complicated environments with vlans, trunks, OSPF, BGP and what not. Then go and get your CCIE. ... Take care! thanks I'm going to try and make a start on on the installs for this project this evening what version of freebsd would be best to use would the latest really be the greatest ? I'd use 6-stable or even 7-current. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ape (Monkey's Audio) decompression tools
How do I convert .ape to .wav? audio/xmms-mac works ok, I'm able to play the files, but I want to convert them to flac. Now audio/mac can only verify (-v flag), but when I try to decompress (-d flag) it just prints out the usage statement. I did some googling and found no alternative Linux/FreeBSD tools. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
On 11/13/05, Scharp Ledge [EMAIL PROTECTED] wrote: How do I delete BSD? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Boot up from a live cd and do: dd if=/dev/zero of=/dev/ad0 bs=1024 count=1024 Substitute ad0 with what you want to wipe. This should take about a few seconds. And BTW, don't forget that uninstalling/deleting *BSD is quite bad for your karma. You'll need to kill a few penguins after that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ape (Monkey's Audio) decompression tools
On 11/14/05, Karol Kwiatkowski [EMAIL PROTECTED] wrote: Andrew P. wrote: How do I convert .ape to .wav? audio/xmms-mac works ok, I'm able to play the files, but I want to convert them to flac. I don't know any specific software to do ape-flac conversion but, since you're using xmms already, you could decompress ape to wav using 'Disk Writer Plugin' (Options - Preferences - Audio I/O plugins - Output plugin). Just select it, configure a path and start playback. I guess it's installed with xmms by default. Hope that helps, Karol Yes, I know. Thanks for the hint, anyway. The problem is that ape is some kind of a package format, most ape files in my collection contain several tracks. Cue files come along (with lengths and names). In theory, I can use xmms and convert one big ape to one big ape and then separate it manually using info from the cue file, but I'd rather an automated tool does it all for me. Xmms doesn't show an ape file as separate tracks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ape (Monkey's Audio) decompression tools
On 11/13/05, Andrew P. [EMAIL PROTECTED] wrote: How do I convert .ape to .wav? audio/xmms-mac works ok, I'm able to play the files, but I want to convert them to flac. Now audio/mac can only verify (-v flag), but when I try to decompress (-d flag) it just prints out the usage statement. I did some googling and found no alternative Linux/FreeBSD tools. Thanks, Andrew P. Oh, sorry, the audio/mac util works all right, I just didn't specify the output file. Thanks, Andrew P. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: After 6.0-RELEASE, still cannot find ATA disk com VIA8235
On 11/10/05, João Carlos Mendes Luis [EMAIL PROTECTED] wrote: Hi, After 5.4-RELEASE I did try to install FreeBSD on a spare desktop at work, but it failed to boot, with a kernel trap 12 and ATA_IDENTIFY time out. Knowning that 6.0 has a completely new ata driver, I did it again. Now the system boots, and shows absolutely no error message. But also could not identify neither the Samsung Hard disk, nor the CDROM on the VIA8235 ata interface. This same machine is running Fedora Core 3 and Windows XP SP2 perfectly. Indeedm this email is comming out from it, over Windows XP. The motherboard is an ASUS P4VP-MX, with a 2.0GHz P4 CPU, and 1G RAM. The harddisk is a Samsung SP0411N, on primary master, and the CDROM is an LG GCR-8523B, on secondary slave. I also did try with a DVD-writer on secondary master, with no success. Any ideas? TIA, Jonny ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] Please, do some research (googling) before asking such questions, as they usually require much more info. Your motherboard has VIA P4M266A chipset, carrying VT8233A on board. Ata(4) driver is not completely new in 6.0, and it has supported this very IDE controller for some time already. Please consult your motherboard's manual (I can't download it as all Asus sites behave very badly) and disable all non-standard options, you can try some thing like Load safe defaults or Load optimized defaults. BTW, this question belongs to questions@, so cc there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup vs. portsnap (was Re: cvsup problem)
On 11/9/05, Colin Percival [EMAIL PROTECTED] wrote: Kirk Strauser wrote: On Wednesday 09 November 2005 12:44, Kent Stewart wrote: If you aren't going to rebuild everything, every time you cvsup, don't do it. Out of curiosity, are 10 small cvsup sessions worse than 1 session with 10 times the changes? Yes. Each time you run CVSup, it transmits a list of all the files in the tree; if your ports tree is almost up-to-date already, then this overhead cost is in fact the largest contributor to the bandwidth used. This problem does not occur with portsnap to any significant extent; updating once an hour uses less than 1% extra bandwidth compared to updating every day. Anyway, I've fallen in love with portsnap. Is there any reason in the world why a normal user (eg one that doesn't need to fetch a version of ports from a specific date or tag) shouldn't completely switch to portsnap today? The other common reason for being unable to use portsnap is if a user has made their own personal changes to a port (e.g., an added patch). Portsnap will remove such changes the next time the port is updated, while cvs will attempt to merge the modifications. Colin Percival ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] There are a couple more points against portsnap: - it lags behind by a few hours. - setting up a mirror is still undocumented Both issues are purely technical, and hopefully will be dealt with soon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HP DL380 hangs on boot
On 11/10/05, Miguel [EMAIL PROTECTED] wrote: Ted Mittelstaedt wrote: try to boot 6.0 with acpi disabled Ted Ok, i will try that, is this thing (ACPI) really needed, i mean, what harm will cause disable it, i have googled around and the frecuent answer is try with ACPI disabled, is this support a bleeding edge future?, is its current status STABLE? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try to disable ACPI in BIOS, too, if an option is there. Nowadays ACPI is not only for power management, so it's nice to have it enabled on a server, but it's not critical. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6 DVD
On 11/10/05, stefanos sofroniou [EMAIL PROTECTED] wrote: Dear sirs, I would like to know when you will release the official FreeBSD 6 DVD so I can purchase it from FreeBSDMall. Also I want to know what is including this DVD. I think must be like other UNIX-like environments that have all the OS files plus some extra software that you can download them from the Internet. If so I will be very happy. I am using FreeBSD for a few months and up to now I am very satisfied with its usage. Also recommend me some good books how to administer or install properly a FreeBSD server. Thank you very much Stefanos Sofroniou ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] FreeBSD 6.0 DVD's will be released by several vendors and will likely contain just what you said plus live fs. You can find a list of vendors (not complete) here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html The FreeBSD Handbook is the reference guide: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Browse through the whole documentation section of www.freebsd.org, there are lots of invaluable info there. Among other sources, these books are a bit outdate, but they are kind of must-have classics for all who love FreeBSD: http://www.amazon.com/gp/product/0596005164 http://www.amazon.com/gp/product/1886411743 http://www.amazon.com/gp/product/0201702452 There are dozens of other great FreeBSD-dedicated and FreeBSD-related books on Amazon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: After 6.0-RELEASE, still cannot find ATA disk com VIA8235
On 11/10/05, João Carlos Mendes Luis [EMAIL PROTECTED] wrote: Andrew P. wrote: Please, do some research (googling) before asking such questions, as they usually require much more info. I did, indeed, and found absolutely nothing. Do you have some info I don't? Please tell me. I just was annoyed that you didn't get the make of your IDE controller right. Your motherboard has VIA P4M266A chipset, carrying VT8233A on board. Ata(4) driver is not completely newhat, in 6.0, and it has supported this very IDE controller for some time already. Please consult your motherboard's I may be teorettically supported, but it is not working, and it is the only operating system with problems. The errors in 5.4 led me to believe the problems were related to some kind of timing, but could get no further from this. I did even search google to see if any other soul related any usage of FreeBSD with this MoBo, just to find nothing. Or worse, to find other people with the same problems: http://lists.freebsd.org/pipermail/freebsd-hackers/2005-February/010211.html http://listas.es.freebsd.org/pipermail/freebsd/2005-September/026449.html I have even found one that say changing APIC would solve the problem, but this did not solve mine: I already did all this, and even disabled ACPI, which you did not mentioned, but is almost always the big villain. May we get back to -stable now? Or did I miss something I should have done before getting out of -questions? Maybe -hackers, and not -stable, since this is now like hacking to me. Or maybe the Hardware compatibility list shoud be changed to note this MoBo is incompatible with FreeBSD. stable@ and current@ are for discussions specific to stable and current branches, which this issue is not. Try disconnecting the HDD, placing the CDROM on primary master and trying to boot, please. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: After 6.0-RELEASE, still cannot find ATA disk com VIA8235
On 11/10/05, João Carlos Mendes Luis [EMAIL PROTECTED] wrote: Andrew P. wrote: On 11/10/05, João Carlos Mendes Luis [EMAIL PROTECTED] wrote: Andrew P. wrote: Please, do some research (googling) before asking such questions, as they usually require much more info. I did, indeed, and found absolutely nothing. Do you have some info I don't? Please tell me. I just was annoyed that you didn't get the make of your IDE controller right. Didn't I? Looking to the ASUS site, the P4VP-MX board uses the VIA8325 southbridge: http://usa.asus.com/products4.aspx?modelmenu=2model=213l1=3l2=12l3=53 Not 8233A as you said. Also, FreeBSD detects the 8235 chip. It cannot just detect the disks. Hmm, that's strange. The P4M266A chipset comes with VT8233A, in fact it's too old for the 8235 chip. I think this might be related to the whole issue. [I don't like almost everything that Asus does for a long time now] I'm sorry about growling at you about the research thing and all. Should sleep more, I do. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup vs. portsnap (was Re: cvsup problem)
On 11/10/05, Colin Percival [EMAIL PROTECTED] wrote: Andrew P. wrote: There are a couple more points against portsnap: - it lags behind by a few hours. This is true (well, 1-2 hours). However, the reason for this is that portsnap builds ports INDEX files, and since portsnap is usually more up-to-date than the INDEX files fetched by make fetchindex, the lag time is probably less of a problem than one might imagine at first. That said, the build times should be improving somewhat as I move portsnap builds to some new hardware in the near future. - setting up a mirror is still undocumented I'm working on it; but for most users, a caching HTTP proxy will be far better than an actual portsnap mirror. Colin Percival satbsd# date Fri Nov 11 00:11:04 MSK 2005 satbsd# portsnap fetch Fetching snapshot tag... done. Fetching snapshot metadata... done. Updating from Thu Nov 10 02:28:12 MSK 2005 to Thu Nov 10 21:14:57 MSK 2005. Fetching 4 metadata patches... done. ... That's 3 hours, and I often see more. But that doesn't really matter (as in really really). Portsnap still would have saved many lives even if it lagged by a week, and I think that some humble hardware donation just might solve the problem by cutting down even those 3 hours. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS ?
On 11/9/05, Максим Голунов [EMAIL PROTECTED] wrote: Hello friends. How do you do? 1) I've got any problems with mac-biba and mac-mls. I used only mac-biba and mac-mls from family of mac-policy. I want to set up NFS. And I could do it, really, I needed switch off mac-policy on NFS-server. When I use mac-policy on NFS-server, NFS-client reported RPCPROG-NFS: ports map failure...: time out after command mount_nfs I'm repeating, if switch off mac-policy on NFS-server, then NFS good work. How will I need to change settings to good work NFS? 2) The firm ,when I work, downloaded all packages from ftp.freebsd.org (11Gb). My task is to place all packages in NFS-server. When NFS-client is trying to open NFS-directory with all packages, it reported server:/... is not responding. I'm sure, this mistake is shown because the directory has got many files. If a directory has got some files, NFS-client is opening this directory. How will I need to change settings to correct work NFS? 3) The next problem is how can write in directories on NFS-server. I read that root from NFS-client can write in directories on NFS-server by default. I was trying and I wrote some small files in NFS-server, but when I was writing file with size more 1 Mb, NFS-client was broken. I must was rebooting a machine. How will I need to change settings to can write in directories on NFS-server? Whit the best regards from MAX. Пожалуйста, прочитай здесь, как правильно настраивать NFS: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html Чтобы ускорить доступ к папкам с большим количеством файлов, используй опцию noatime (подробнее - в манпаге mount(8)). И начни, наконец, использовать нормальный почтовый клиент. Если не судьба освоить mutt, пользуйся хотя бы gmail и дели строчки newline'ами вручную. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAM question
On 11/8/05, fanijak [EMAIL PROTECTED] wrote: Haw meani memory RAM is consumed by boing ? I heave aproxsimaly 512RAM. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It depends on the project you choose. Boinc itself consumes almost nothing, but a project can demand 128Mb of RAM or more. For example: http://climateapps2.oucs.ox.ac.uk/cpdnboinc/tech_faq_boinc.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade package questions
On 11/8/05, Lonnie Cumberland [EMAIL PROTECTED] wrote: Hello All, Could someone please tell me how to upgrade a package over the web? What I mean is that i have used /stand/sysinstall configure Pachages which allowed me to choose ftp://ftp1.freebsd.org to install a package from but now I need to manually upgrade a package Gettext 0.13.? I think that it was over to Gettext 0.14.? What would be the command like way to do this? Thanks, Lonnie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The straight way would be: pkg_delete mypackage pkg_add -r mypackage Still I would prefer installing portupgrade and doing: portupgrade -PP mypackage ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade from 5.3 to 6.0
On 11/7/05, Doug Hardie [EMAIL PROTECTED] wrote: On Nov 6, 2005, at 22:15, Hans Nieser wrote: Doug Hardie wrote: I am in the midst of upgrading via source from 5.3 to 6.0. All is going fine, but the instructions in UPDATING do not include a make installkernel command. I know that needs to be done somewhere. I suspect between the buildkernel and the reboot. I think it says make kernel ..., which apparently does both I see that now. But, then how do you build multiple kernels? I maintain all source on one system and build all the kernels there. I don't want to install them as they won't work. Also, I don't want to build them on the production machines, just install them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Put this into /etc/make.conf: KERNCONF= build-machine-kernel production1-kernel production2-kernel... make kernel will build all kernels and install the first one. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fast diff command for large files?
On 11/6/05, Kirk Strauser [EMAIL PROTECTED] wrote: On Friday 04 November 2005 02:04 pm, you wrote: Does the overall order of lines change every time you dump the tables? No, although an arbitrary number of lines might get deleted. If it does/can, then there's a trivial solution (a few lines in perl, or a hundred lines in C) that'll make the speed roughly similar to that of I/O. Could you elaborate? That's been bugging me all weekend. I know I should know this, but I can't quite put my finger on it. -- Kirk Strauser while (there are more records) { a = read (line from old file) b = read (line from new file) if (a == b) then next if (a b) { if (a in new_records) { get a out of new_records next } if (b in old_records) { get b out of old_records next } put a in old_records put b in new_records } after that old_records will contain records present in old file, but not in new file, and new_records will contain records present in new file, but not old one. Note, that the difference must be kept in RAM, so it won't work if there are multi-gig diffs, but it will work very fast if the diffs are only 10-100Mb, it will work at close to I/O speed if the diff is under 10Mb. If the records can be ordered in a known order (e.g. alphabetically), we don't need to keep anything in RAM then and make any checks at all. Let's assume an ascending order (1-2-5-7-31-...): while (there are more records) { a = read (line from old file) b = read (line from new file) while (a b) { if (a b) then { write a to old_records read next a } if (a b) then { write b to new_records read next b } } } If course, you've got to add some checks to deal with EOF correctly. Hope this gives you some idea. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GAMING
On 11/6/05, Stepan Rakhimov [EMAIL PROTECTED] wrote: Yesterday, I spent 4 hours playing UT2004. And it seemed to run faster than on Windows. At least it felt much cooler :-) Please give me a link to UT2004 howto. i tried to find it but without success. Stepan http://www.freshports.org/games/linux-ut2004-demo/ Я не пробовал полную версию, но раз эта идёт, думаю, и с полной проблем не будет. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is there /etc/groups limits?
On 11/6/05, Uwe Laverenz [EMAIL PROTECTED] wrote: On Sat, Nov 05, 2005 at 02:57:55PM +0200, Evren Yurtesen wrote: For example, is there a limit which would stop apache to work because the www user is member of 1 groups? Apache wouldn't stop working, but there is a limit of 16 groups that a user can be member of. Uwe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes, apache seems to look at a user's primary group only, which might be a bug. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GAMING
On 11/6/05, Antoine Solomon [EMAIL PROTECTED] wrote: Hey is there any port of the full game? Not in the ports tree and not that I know of. I'm sure it's not a problem to run it. Copy protection will be an obstacle, but if you own the game you'll be fully justified in searching for a crack and cracking it. ___ 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 setup DNS server and making sub-domains in DSL server
On 11/6/05, Edwin D. Vinas [EMAIL PROTECTED] wrote: Hi, I need your help please. On my personal FreeBSD server connected to an ISP with static IP address, I'm planning to setup several websites with their own sub-domains from my main domain as shown below. I just want to know some answers to my questions before I start. Main domain: www.exampledomain.ph http://www.exampledomain.ph Sub-domains: sub1.exampledomain.ph http://sub1.exampledomain.ph sub2.exampledomain.ph http://sub2.exampledomain.ph sub3.exampledomain.ph http://sub3.exampledomain.ph I want to use BIND together with my Apache virtual hosting in one single FreeBSD machine. These are my questions: 1) Is it correct that I only need to register or pay for the main domain? Yep. 2) Is it correct that through my local DNS server, I can add sub hosts (sub1 to sub3) without anymore registering those sub domains and pay for them in my main domain provider? It's kinda the same as the first one. Yep. 3) Provided that I already have successfully setup my local DNS server, Apache virtual hosting and main domain activated, is it straightforward that I can already access the sub domains (i.e., websites) from the Internet? It's pretty straightforward, but not implicit. You need to explicitly setup a wildcard subdomain. 4) Do I need to register sub1, sub2 and sub3 in any external domain provider? Not if you want to. 5) Can you provide some sample configs if you are already doing this setup? Here's a dump from my xname.org account: csme.ru.26 IN SOA ns0.xname.org. infofarmer.mail.ru. 2005072201 261000 261000 604800 300 csme.ru.26 IN NS ns0.xname.org. csme.ru.26 IN NS ns1.xname.org. csme.ru.26 IN A 193.233.5.13 csme.ru.26 IN MX 10 csme.ru. *.csme.ru. 26 IN CNAME csme.ru. cs.csme.ru. 26 IN CNAME csme.ru. css.csme.ru.26 IN CNAME csme.ru. mx.csme.ru. 26 IN CNAME csme.ru. old.csme.ru.26 IN CNAME killme.ru. sat.csme.ru.26 IN CNAME infofarmer.dyndns.org. source.csme.ru. 26 IN CNAME csme.ru. www.csme.ru.26 IN CNAME csme.ru. zone.csme.ru. 26 IN NS infofarmer.dyndns.org. csme.ru.26 IN SOA ns0.xname.org. infofarmer.mail.ru. 2005072201 261000 261000 604800 300 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GAMING
On 11/7/05, Alex de Kruijff [EMAIL PROTECTED] wrote: On Sun, Nov 06, 2005 at 04:39:53PM +, Antoine Solomon wrote: On 11/6/05, Andrew P. [EMAIL PROTECTED] wrote: On 11/6/05, Stepan Rakhimov [EMAIL PROTECTED] wrote: Yesterday, I spent 4 hours playing UT2004. And it seemed to run faster than on Windows. At least it felt much cooler :-) Please give me a link to UT2004 howto. i tried to find it but without success. Hey is there any port of the full game? Dear Stepan, Am I wride in that you don't know much about the FreeBSD ports system? Its a system where someone else has insured that the installation of a thirth party software goes smoothly. This is how you can find ports and install them cd /usr/ports make search name=UT2004 (use 'key' if you don't know the name) This gives me: Port: linux-ut2004-demo-3334 Path: /usr/ports/games/linux-ut2004-demo Info: Unreal Tournament 2004 demo Maint: [EMAIL PROTECTED] B-deps: R-deps: linux-XFree86-libs-4.3.99.902_3 linux-expat-1.95.5_3 linux-fontconfig-2.2.3 linux_base-8-8.0_7 linux_dri-4.4.0 WWW:http://www.unrealtournament.com/ut2004/ cd /usr/ports/games/linux-ut2004-demo make clean make install make clean Now its installed. -- Alex Please copy the original recipients, otherwise I may not read your reply. Howto's based on my ppersonal use, including information about setting up a firewall and creating traffic graphs with MRTG http://www.kruijff.org/alex/FreeBSD/ Somebody seems to should have slept more, doesn't he? :-) As it is obvious from the port's name, games/linux-ut2004-demo is not a full game, but only a demo. Thanks for your insight, anyway. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ULE or 4BSD
On 11/5/05, Albert Shih [EMAIL PROTECTED] wrote: Hi anybody All is in the subject...on FreeBSD 6.0 i've see the default generic kernel is compiled with SCHED_4BSD and SCHED_ULE is in comment. Can'I use SCHED_ULE on 6.0 ? Is he stable now ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sat Nov 5 10:05:36 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Not yet, no, sorry. It's pretty stable now that 6.0 is out, but you'll have to conduct extensive testing (yourself) before you put it in production, where it might give you a noticable performance boost. ___ 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 rebuild /modules...
On 11/5/05, Bernt Hansson [EMAIL PROTECTED] wrote: Without rebuilding world and such things? This machine has been up for a long time and nobody realy know's what they have done to it. When i looked at / today i've noticed that /modules was missing. It worked very nice until a sudden reboot, and now inn wont work correctly. so I need help I've tried cd /sys/modules make make install but that din't help, also tried cd /sys/modules make all but that render me whit this answer Warning: Object directory not changed from original /usr/src/sys/modules/ipfw Help, Please -- () ascii ribbon campaign - against html mail /\- against microsoft attachments ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Just make kernel, it'll build and install kernel and modules. Kernel will take only a fraction of the time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GAMING
On 11/5/05, jason henson [EMAIL PROTECTED] wrote: rick wrote: how is freebsd for gaming needs ive used linux and windows for years.??? If you used linux, you should not have a problem. Video card drivers would be your limiting point, I would suggest you use nvidia because of it. Well, to be fair, there are problems with linux games on FreeBSD. But they are generally easily resolved. *BSD is still a few years (months?) off from entering the desktop (and gaming) market, but it will, and when it does, all its strengths will shine. Commercially speaking, if you want to see (preview) the future now, learn FreeBSD, use it, love it. Yesterday, I spent 4 hours playing UT2004. And it seemed to run faster than on Windows. At least it felt much cooler :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: (no subject)
On 11/6/05, Maksim Skvarnik [EMAIL PROTECTED] wrote: Hello freebsd-questions, I want to publisher FreeBsd in my town. I leave in Slavutich. It's near the Chornobil nuclear power plant. Please, sent me CD with latest version FreeBsd. Maksim Skvarnik Moskovsky 11/46 Slavutich Kyivskya obl. Ukraine 07100 -- Best regards, Maksim mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Здесь можно недорого купить: http://linuxcenter.ru/ В Украине, наверняка, тоже (только доставка будет намного дешевле). Хотя я уверен, что для тебя лучший вариант - позвонить или намылить своему провайдеру (http://slavutich.kiev.ua/) и договориться, чтобы они нарезали тебе болванок. У них-то FreeBSD точно есть. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fbsd6 and java
On 11/6/05, Dick Hoogendijk [EMAIL PROTECTED] wrote: On my 5.4 system I ran java-1.4 I'm building a clean (brandnew) 6.0-release now ans was wandering if I should stick with 1.4 or go to the 1.5 java branch. What to do? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 6.0 doesn't change anything, if that's what you're interested in. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OPen Office 2.0 via packages
On 11/4/05, Glyn Millington [EMAIL PROTECTED] wrote: Greetings! For the sake of a continuing happy marriage ! I really need to install OPenOffice 2 on a machine at home - soon to be running FreeBSD 6.0 (i386) :-) I can't build the port because the hard drive is too small - just enough spare space for the compiling. Is it possible to do this via packages? Can anyone give me pointers as to what packages I need, what bits of Java are necessary for a pre-compiled package? Is it possible to do this via packages at all? Thanks in advance atb Glyn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0/ Just try to pkg_add it. OO doesn't require Java to run, only to build. There are some run-dependencies, you can see them here: http://www.freshports.org/editors/openoffice.org-2.0/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL port not d/loading
On 11/4/05, tim cle [EMAIL PROTECTED] wrote: Hi again, I have successfully installed MySQL - but the mirror system still doesnt seem right - it went through all the mirrors, and wouldn't d/l from them - then it finally worked from the main bsd ftp site - I've put the output underneath - note this is what I got when I did another test run after already d/l it - it has been like this for at least a day now. Regards, Tim. Note that it does finally succeed from the last site (main ftp for bsd) so the fetch/ftp is working ok - just not with the other sites. It seems to be a purely networking issue. I haven't heard of any major outages in Australia lately, but with US Tier-1 ISP's fighting and all - it kinda doesn't come as a surprise. Start with ensuring that your Internet connection is OK, then try accessing the sites that failed - and if they fail again, call your ISP support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port status
On 11/4/05, eoghan [EMAIL PROTECTED] wrote: Hello Im wondering if there is a status page that show work on ports/pkg's? Much like freshports, but for instance if I wanted to see the current work on kde 3.4.3 for example - would there be a place where I could get such info? The ports system is really great too! Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] http://freebsd.kde.org/ Most ports require only a few hours of work, so there's no dedicated pages of course. Big ports like KDE have pages accessible via google (freebsd portname). http://pointyhat.freebsd.org/ can also be of interest. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fast diff command for large files?
On 11/4/05, Kirk Strauser [EMAIL PROTECTED] wrote: On Friday 04 November 2005 10:22, Chuck Swiger wrote: Multigigabyte? Find another approach to solving the problem, a text-base diff is going to require excessive resources and time. A 64-bit platform with 2 GB of RAM 3GB of swap requires ~1000 seconds to diff ~400MB. There really aren't many options. For the patient, here's what's happening: Our legacy application runs on FoxPro. Our web application runs on a PostgreSQL database that's a mirror of the FoxPro tables. We do the mirroring by running a program that dumps the FoxPro tables out as tab-delimited files. Thus far, we'd been using PostgreSQL's copy from command to read those files into the database. In reality, though, a very, very small percentage of rows in those tables actually change. So, I wrote a program that takes the output of diff and converts it into a series of delete and insert commands; benchmarking shows that this is roughly 300 times faster in our use. And that's why I need a fast diff. Even if it takes as long as the database bulk loads, we can run it on another server and use 20 seconds of CPU for PostgreSQL instead of 45 minutes. The practical upshot is that the database will never get sluggish, even if the other diff server is loaded to the gills. -- Kirk Strauser Does the overall order of lines change every time you dump the tables? If not, is there any inexpensive way to sort them (not alphabetically, but just that the order stays the same)? If it does/can, then there's a trivial solution (a few lines in perl, or a hundred lines in C) that'll make the speed roughly similar to that of I/O. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.11 release-p13. Just to be sure.
On 11/5/05, Grigory O. Ptashko [EMAIL PROTECTED] wrote: Hello, list. I've just now cvsup'd my 4.11-RELEASE source tree with the tag RELENG_4_11. From 4.11 RELEASE it became 4.11 RELEASE-p13. Just to be sure - do I have to apply any other security patches that are announced in freebsd security advisories? I'm not considering third-party patches, only the official from the freebsd team. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The latest SA (linked from the FreeBSD home page, http://www.freebsd.org/) ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:21.openssl.asc lists 4.11-p13 in Corrected. So, you can be sure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing wine on 6.0 RC
On 11/3/05, paul thodiyil [EMAIL PROTECTED] wrote: I am sort of new to FreeBSD and still learning the ropes. I am having great trouble installing WINE and indeed other packages on my AMD64 desktop running FreeBSD ver 6.0. I had added this package during the installation process. With the 'whereis wine' command, I get: /usr/ports/emulators/wine Then when I type pkg_add wine, I get 'can't stat package file wine' Could someone tell me what I could be doing wrong? Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Wine does not run on anything but x86 yet. Sorry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL port not d/loading
On 11/2/05, tim cle [EMAIL PROTECTED] wrote: Hello, I'm attempting to install MySQL via ports but its not d/loading. I know my system should do this, because I just finished installing apache via ports, and it d/loaded fine. So, is anyone having problems d/loading the MySQL port(s) - i tried 4.0 and 4.1 and 5.0 - none of them transfer successfully. Or is my system just annoying me for fun (j/k) Regards, Tim. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] = mysql-4.1.15.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch from ftp://ftp.easynet.be/mysql/Downloads/MySQL-4.1/. mysql-4.1.15.tar.gz 100% of 16 MB 770 kBps 00m00s 4.0 and 5.0 are also fetchable right now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: M audio 24/96 driver
On 11/2/05, Makisupa [EMAIL PROTECTED] wrote: Has anyone successfully got a Maudio Delta 24/96 soundcard working in 6.0 or 5.4 for that matter? If so, what sound driver or kernel parameters where used? Help is much appreciated...i think this is the only thing holding me back from moving my workstation to FreeBSD (currently running linux). Google only yields people asking the same questions. THanks, Mak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Drivers from www.opensound.com support some M Audio cards, you should give it a try. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script help for updating routine
On 11/2/05, Denny White [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a script, pasted in below, which does various things on a daily basis, like cvsup src, docs, ports, portsdb, portversion, portupgrade, so on. I finally figured out how to do the if/then/else thing with the portversion-portupgrade part of the script, but I can't figure out what to do to bypass the docs install part if there are no new docs. Thanks for any help I can get on it. Script follows: #!/bin/sh # echo Cvsup latest src and doc cvsup -g -L 2 /root/srcdoc-supfile # # THIS THE PART IN QUESTION, THAT DOES # DOES THE DOCS. CUSTOM MAKEFILE IS FOR # ENGLISH ONLY. #G #send copious output to the bit bucket echo Updating docs echo cd /usr/doc cp Makefile.custom Makefile make install #make install /dev/null # cd /root echo Portsnap fetching and updating ports echo portsnap fetch portsnap update # echo Updating INDEX in /usr/ports echo cd /usr/ports #make fetchindex portsdb -uUF # echo Portaudit checking for vulnerabilities in installed ports echo Results in file /root/vulnerable echo portaudit -Fda /root/vulnerable # echo Portversion checking if any ports need upgrading echo Results in file /root/need2upgrade echo portversion -l /root/need2upgrade if grep '' /root/need2upgrade; then echo Portupgrade upgrading out-of-date ports portupgrade -arR; else echo Ports already up to date 12 exit 1 fi echo Finished at `/bin/date`. exit GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (FreeBSD) Comment: Made with pgp4pine 1.76 iD8DBQFDaQ7Ny0Ty5RZE55oRAjYhAKCyDOKGhu86oAVu6Ml2ANf2Rt3vXwCfcs52 2V388qkRXw8Kiun8iR7rbiY= =Wscs -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] 1. You can limit docs to custom languages in make.conf, that's a better way 2. You can affor to copy extra 60Mb once a day, can't you? 3. You can grep cvsup output against something like doc/ 4. Never run portsnap fetch from cron, even if you chose a very odd time, use portsnap cron 5. etc :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OFF-TOPIC but ... you will laugh !!
On 11/3/05, Aggelos [EMAIL PROTECTED] wrote: An Indian discovered that nobody can create a FOLDER anywhere named as con. This is something pretty cool...and unbelievable... At Microsoft the whole Team, including Bill Gates, couldn't answer why this happened! Try it out yourself... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] con is the name of a device in windoze. Is this really funny? There are lots of other legacy names, like prn, lpt, etc... Let's laugh at each and every one of them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MAC_by_default
On 01 Nov 2005 07:16:06 -0500, Lowell Gilbert [EMAIL PROTECTED] wrote: Максим Голунов [EMAIL PROTECTED] writes: Hello my friends.I want to SORRY from my English. I'm from Russian. I happy that I'm using FreeBSD. And I've got some questions. I know where is setupping MAC-policy by default. This is /etc/mac.conf (I need mls and biba policy). But I don't know where setup security-level for MAC-policy by default. Do you mean setting kern_securelevel in rc.conf(5)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] No, I think he means security levels of particular MAC-policies (high/medium/low). That's a pretty advanced topic, I couldn't find a solution within 10 minutes of googling. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WiFi Nintendo-DS and FreeBSD
On 11/1/05, Dick Hoogendijk [EMAIL PROTECTED] wrote: In november my DS goes WiFi (in Holland). Naturaly I want to play games that support this feature. (MarioKart-DS i.e.) at home ;-) The FreeBSD related question is: My main server runs 4.11-stable, some other machines run 5.4 What do I have to do to give this DS wireless access to the net? What is the best approach? Only my main server is 24/7 connected (without a hardware router;-) Do I put a wireless card in this machine? Is this possible or do I have to upgrade FreeBSD to 6.0 to have WiFi? It's all new to me (this wireless stuff). All my machines are wired. So I can use some tips, reading points or suggestions from you. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 6.0 brings some major improvements in wireless functionality, so you should really give it a thought. AFAIK from /. TCP/IP is still to be implemented. When/if it is, you should be able to put a WiFi card into your FreeBSD box and set everything up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd 5.4 smp on amd64
On 11/1/05, Ian Lord [EMAIL PROTECTED] wrote: Hi, I compiled my kernel using options SMP it seems to work, I now see 4 cpus on my server (2 xeon with HTT) so It seems fine. Following the documentation I tried to use either device apic or options APIC_IO both are refused by /usr/sbin/config are they mandatory or does the documentation needs updating ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] apic is an integral part of amd64 architecture, so there's no option for it. We're proud that the docs are always in need of updating - it shows how prolific the developers really are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cloning machines with 5.4-REL
On 11/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I've setup one notebook with 5.4-REL and used the ports collection to pick up what I wanted (KDE and all other stuff); this took some time, of course but run without big trouble; now I want to setup a second notebook with the same installation and my idea is: - just install the base system on the 2nd notebook, - NFS-mount the /usr/ports from the 1st - remove all the files /usr/ports/.../work/.install_done - and just say make install on the new toy Comments? Thx matthias -- Matthias Apitz / Sisis Informationssysteme GmbH Gruenwalder Weg 28g / D-82041 Oberhaching Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211 http://www.sisis.de/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You can safely omit the third step (removing those files). Just run make install - and you're done. A neater way would be to install portupgrade on both machines, create /usr/ports/packages dir on the first one, run something like portupgrade -wWpaf, NFS mount /usr/ports on the 2nd one and use portupgrade -P whatever. [Basically, it will create packages on the 1st machine and then install ports from packages on the 2nd one]. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: wrkdirprefix default?
On 10/30/05, Anthony M. Agelastos [EMAIL PROTECTED] wrote: Hello. Sometime back, I posted a message mentioning that I planned on installing OpenOffice once it reached 2.0 status on my FreeBSD machine using a nonstandard wrkdirprefix path (original email is shown via the below link). http://www.freebsd.org/cgi/getmsg.cgi?fetch=184696+187981+/usr/local/ www/db/text/2005/freebsd-questions/20050918.freebsd-questions One reply was that I can use env WRKDIRPREFIX=/myotherlocation make install This is fine for installing it, but I was wondering was there a good way of modifying WRKDIRPREFIX to always point to this location only for OpenOffice.org, that way I can use portupgrade in the future and not have to worry about it? I am assuming the best way of dealing with this is with the file /usr/local/etc/pkgtools.conf. assume that I could put it inside of the MAKE_ARGS section. What is the most optimal way of modifying this file for what I have mentioned above? I have read the pkgtools.conf and ports manpages (and am still slightly confused) and am running FreeBSD 5.4-STABLE. If the only way to do this is by modifying the variable on the whole so everything is built elsewhere, I suppose that is alright as well. If this is the only way, what is the preferred way of handling this? Thank you all for your assistance. -Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes, pkgtools.conf is one of the best ways to do this, MAKE_ARGS = { 'openoffice*' = 'WRKDIRPREFIX=/mydir', } You can also read make manpage and test .CURDIR in /etc/make.conf, but that's not so neat. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Removing kernel options and devices in today's world
On 10/29/05, Doug Poland [EMAIL PROTECTED] wrote: Hello, I've been using FreeBSD since 2.1.5 and have dutifully tweaked my kernels to include devices I need, and remove unwanted things. This made a big difference on 486's with 16MB of memory. Over the years I've developed a procedure for keeping track of changes in GENERIC and reducing the amount of time it takes to build a custom kernel for a given box. Fast-forward to 2005, PCI, SMP, gigabytes of RAM, kernel loadable modules and FreeBSD 6.x. As I begin preparing some boxes for updating to 6, I'm wondering if it's really worth the effort to tweak a kernel? And by this I mean removing devices and options. It's trivial to have an include for the devices/options I need to add to every kernel. But the list of things to take out keeps getting bigger and bigger and the chance for errors in editing increase. I'm thinking of just running GENERIC with necessary additions. Most of my boxes are workstations or department-sized servers supporting basic web, email, and file/print services. Architecture is all 32-bit Intel ranging from modest PIII to 4-way Xeon P4. I can come up with several arguments for both cases (running GENERIC vs. trimming all unneeded fat from a kernel). Has anyone else wrestled with this issue and come up with interesting conclusions? -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I leave almost everything on my desktop machines, but who needs usb, firewire and wifi on a production DB server? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/30/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. If I were to continue to use portsnap, which arguments can I safely add to /etc/crontab? I know portsnap cron should be safe, but if I want to completely automate the update process (not for installing packages, but for keeping the ports tree, database, and indexes current), should I also add an entry for portsnap update and portsdb -uUF? You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). Would you also recommend cron entries for these two commands? I used to use a cron job to run cvsup, and I'd like to implement a better, more complete automated solution, so I don't tangle up my system's packages and dependencies again. I think the best way is to create a shell script, like this: #!/bin/sh /usr/local/sbin/portsnap cron \ /usr/local/sbin/portsnap update \ /usr/local/sbin/portsdb -uUF \ /usr/local/sbin/portupgrade -aF \ /usr/local/sbin/portsclean -DP Perfect... I had everything but the conditionals... thanks! and run it at an hour, when you're most unlikely to perform any kind of port upgrading. As portsnap manpage warns, if both portsnap (in the process of update) and portupgrade ever happen to access the same directory at once, it might ruin your ports tree. You'll have to do portsnap extract after that. You can leave out portsclean and run it manually, because it can create some load (which is not desirable on a production server). I run this script daily at 8-9 in the morning (I usually start messing with servers after 11). It never failed, and it always keeps everything up-to-date. My server is not production, as it's just my personal web/database server; I'm the only one who would be running any updates. So I should be okay with this procedure, and I'll manually update any ports of note. Just one problem I saw thus far, with portsclean I think... Cleaning out /usr/ports/packages... cd: can't cd to /usr/ports/packages/All find: /usr/ports/packages: No such file or directory Would this be related to one of the advanced topics you mentioned earlier about pkgtools.conf? ;) Do I need to define some variables? I would guess the directory error to have been caused by a combination of the variables PORTSDIR (which looks okay at /usr/ports) and PACKAGES (which seems to need a /packages dir beneath PORTSDIR ?). Thanks, ~John No, it's not advanced at all :-) You just don't have the directory. Create it, if you want to. When you run make package or portupgrade -p something, a package is created in your current directory, unless /usr/ports/packages exists. If it does, the package is created there, and some hierarchy is kept, too. So it's convenient to have that dir, if you ever use packages. Of course, /usr/ports/packages is just the default. You can change PACKAGES to whatever you like. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make.conf - question
On 10/31/05, Vladimir Dvorak [EMAIL PROTECTED] wrote: Hello, where can I found ALL parameters suited for /etc/make.conf ? For example, I wanted install some software from ports without X11, but man 5 make.conf doesn`t include WITHOUT_X11 option. Fortunatelly I found this page http://www.gsp.com/cgi-bin/man.cgi?section=5topic=make.conf and included some necessary parameters into my make.conf. Ok, I found this --- man make.conf --- The purpose of make.conf is not to run commands or perform compilation actions directly. Instead, it is included by the various makefiles in /usr/src, /usr/ports and /usr/doc which conditionalize their internal actions according to the settings found there. --- cut --- in man page, but im not sure where exactly should I look ? (OS: 5.4-RELEASE FreeBSD 5.4-RELEASE ) Thank you, Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You can only find *most* of parameters by reading system mk files carefully. ___ 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 check fails on boot
On 10/31/05, Edward Lichtner [EMAIL PROTECTED] wrote: Hi all, There's fire in the house... I recently inserted a USB memory stick and my 5.4 Stable machine rebooted suddenly. I now get the following on boot : Starting file system checks : /dev/ad0s3a: UNKNOWN FILE TYPE I=2900154 /dev/ad0s3a: UNEXPECTED SOFT UPDATE INCONSISTENCY: RUN fsck MANUALLY. Automatic file system check failed; help! Oct. 30 20:14:53 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode When I run fsck, I get the folllowing : ** Phase 1 - Check Blocks and Sizes UNKNOWN FILE TYPE I=2900154 UNEXPECTED SOFT UPDATE INCONSISTENCY CLEAR? [yn] ** Phase 2 - Check Pathnames DUP/BAD I=2900154 OWNER=root MODE=100644 SIZE=93 MTIME=Mar 25 04:13 2004 FILE=/usr/ports/net/ldapbrowser/distinfo UNEXPECTED SOFT UPDATE INCONSISTENCY REMOVE? [yn] ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts LINK COUNT DIR I=2 OWNER=root MODE=40755 SIZE=512 MTIME=Oct 30 17:20 2005 COUNT 21 SHOULD BE 20 ADJUST? [yn] UNREF FILE I=471058 OWNER=root MODE=100644 SIZE=72 MTIME=Oct 30 19:03 2005 RECONNECT? [yn] CLEAR? [yn] I then get similar messages for a dozen files, then : ** Phase 5 - Check Cyl groups SUMMARY INFORMATION BAD SALVAGE? [yn] BLK(S) MISSING IN BIT MAPS SALVAGE? [yn] FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? [yn] And so on... Should I just answer yes to all questions and hope for the best, or is there a better way of saving the day ? Needless to say, my whole system is on /dev/ad0s3a. Also, what could have caused the problem ? I recently updated my kernel to include HFS support. Could it be linked ? Thanks all, Edward ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you have no idea, what's happened and what's damaged, I'm afraid, you'll have to run fsck -y (or place fsck_y_enable=YES in /etc/rc.conf to always dangerously agree to everything) - and hope for the best. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Basic Port Management.Is there any?
On 10/31/05, George Katsanos [EMAIL PROTECTED] wrote: Hello ! , As a fresh Freebsd user[and fan] I am trying to set up my WM / X environment and choose the apps I will use for basic stuff. Text Editors , Image viewers , Mail apps , FileManagers. So after I see some screenshots [it would be very nice and handy if some screenshots could be added to the freebsd.org/ports database] I'm making install the port to check it out. Some times , I decided that I don't like it . So my first though is to get rid of it , cause I don't want ''trash'' on my system. I'm making deinstall [or pkg_delete] to remove it. Everything ok so far , but what about the one zillion dependant pkg's the app made? You can say , do a pkg_delete -r . Yes but this will may delete also pkgs that are Needed by other ports/apps.. Is there any good plan solution for this ?... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Just take it easy :-) Most ports try to behave, so unless you're very short of disk space, just let them be there. Once in a while, you can install a tool that deals with leafs (there are a few in ports collection). Leafs are ports that are not needed by anything, so you can safely delete them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Teamspeak Server
On 10/31/05, Jerahmy Pocott [EMAIL PROTECTED] wrote: Hello, I recently tried running the Teamspeak linux server on a 4.7ish something box with linux compat installed but all I got was daemon failed to start or a message similar to that with no reason or errors.. Has anyone had any success running the linux binary on FreeBSD? Would upgrading perhaps help? There is no source for it that I'm aware of, so kinda relying on the compat stuff.. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The port is marked broken. Try running it on a newer FreeBSD version, like 4.11, 5.4 or 6.0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SAP R/3 ISO images
On 10/31/05, Vishal Ballabh [EMAIL PROTECTED] wrote: Hi I have seen the document regarding installation of SAP R/3 on FreeBSD. I am interested in installaing a stand alone system for learning purporse. I am unable to find the SAP ISO images that you have mentioned in the document. It would be great if you can guide me to a location where I can find it. Thanks, Vishal - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hi! To get SAP you must contact their sales office: http://www.sap.com/contactsap/directory/index.epx I think the nearest one to you is in New Delhi: SAP India Pvt. Ltd. - New Delhi Hotel Crowne Plaza Surya Business Center O level, Office Floor New Friends Colony New Delhi -110 065 India Phone: +91/11/516-57700 Fax: +91/11/516-28919 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/31/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/30/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. If I were to continue to use portsnap, which arguments can I safely add to /etc/crontab? I know portsnap cron should be safe, but if I want to completely automate the update process (not for installing packages, but for keeping the ports tree, database, and indexes current), should I also add an entry for portsnap update and portsdb -uUF? You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). Would you also recommend cron entries for these two commands? I used to use a cron job to run cvsup, and I'd like to implement a better, more complete automated solution, so I don't tangle up my system's packages and dependencies again. I think the best way is to create a shell script, like this: #!/bin/sh /usr/local/sbin/portsnap cron \ /usr/local/sbin/portsnap update \ /usr/local/sbin/portsdb -uUF \ /usr/local/sbin/portupgrade -aF \ /usr/local/sbin/portsclean -DP Perfect... I had everything but the conditionals... thanks! and run it at an hour, when you're most unlikely to perform any kind of port upgrading. As portsnap manpage warns, if both portsnap (in the process of update) and portupgrade ever happen to access the same directory at once, it might ruin your ports tree. You'll have to do portsnap extract after that. You can leave out portsclean and run it manually, because it can create some load (which is not desirable on a production server). I run this script daily at 8-9 in the morning (I usually start messing with servers after 11). It never failed, and it always keeps everything up-to-date. My server is not production, as it's just my personal web/database server; I'm the only one who would be running any updates. So I should be okay with this procedure, and I'll manually update any ports of note. Just one problem I saw thus far, with portsclean I think... Cleaning out /usr/ports/packages... cd: can't cd to /usr/ports/packages/All find: /usr/ports/packages: No such file or directory Would this be related to one of the advanced topics you mentioned earlier about pkgtools.conf? ;) Do I need to define some variables? I would guess the directory error to have been caused by a combination of the variables PORTSDIR (which looks okay at /usr/ports) and PACKAGES (which seems to need a /packages dir beneath PORTSDIR ?). Thanks, ~John No, it's not advanced at all :-) You just don't have the directory. Create it, if you want to. When you run make package or portupgrade -p something, a package is created in your current directory, unless /usr/ports/packages exists. If it does, the package is created there, and some hierarchy is kept, too. So it's convenient to have that dir, if you ever use packages. Of course, /usr/ports/packages is just the default. You can change PACKAGES to whatever you like. Thanks Andrew. You're right: that's not advanced, even for me! If that dir needs to have a specific set of permissions, please let me know; otherwise, I think I'm all set, aside from asking where I might read more about the ports/packages system that what's in the handbook and man pages. Thanks again for your help. ~John The default (755) permissions should be ok. The ultimate (more or less) ports/packages documentation consists of: ports(7) make(1) pkg_add(1) pkg_create(1) pkg_delete(1) pkg_info(1) pkg_version(1) /usr/ports/Mk/* The Porter's Handbook The FreeBSD Handbook (Packages and Ports) pib(1), portaudit(1), portcheckout(1), portlint(1) portupgrade(1), etc - depending on what tools you have installed. ports@ mailing list archives and various makefiles throughout the system are also valuable sources of documentation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL
Re: Covert m4p to mp3 (in FreeBSD ?)
On 10/31/05, Bill Schoolcraft [EMAIL PROTECTED] wrote: Hello Family, Does anyone know how to convert a .m4p file to a .mp3 file? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Try running hymn on FreeBSD. http://www.hymn-project.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Login Max Chr?
On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote: I am running FreeBSD 5.4 Is there a way to change the eight character login length to allow more characters? The reason is I would like to do first initial last name for the login. However some last names are longer than eight characters. It would also work well for email addresses on the server. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I thought it was 16 characters: sat64# cat /etc/passwd | grep 123 1234567890123456:*:1005:1005:123:/home/1234567890123456:/bin/sh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Login Max Chr?
On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote: Andrew P. wrote: On 10/31/05, Sean Murphy [EMAIL PROTECTED] wrote: I am running FreeBSD 5.4 Is there a way to change the eight character login length to allow more characters? The reason is I would like to do first initial last name for the login. However some last names are longer than eight characters. It would also work well for email addresses on the server. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I thought it was 16 characters: sat64# cat /etc/passwd | grep 123 1234567890123456:*:1005:1005:123:/home/1234567890123456:/bin/sh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] is there any problems with using 16 characters with any applications or do the applications don't care the login name length for example That depends solely on the applications. Most newer ones will not show any problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation failure
On 10/30/05, some one [EMAIL PROTECTED] wrote: I am trying to install FreeBsd 5.0 on i386 and it hangs in the middle of installation process with a ata0: resetting devices.. I thought it was a graphic card, i put a diff one, same error I changed alot of stuff in the BIOS setup trying to make it work .. nothing All help would be appreciated - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] 5.0 is unsupported. Please try 5.4 or 6.0RC1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling chrooted kernel makes drive unbootable
On 10/30/05, Dave [EMAIL PROTECTED] wrote: Hi, Thanks for your reply. I've not lost any data yet doing a reinstall would not be possible at this point. It's a matter of time which i don't have a lot of. As i said i've not lost data, on the drive, just the motherboard died, i think it overheated. The board that went was a pentium i think 2 or 3 600 mhz, the new system is a p4 2.4 ghz, both intel not one being amd they're both the same processor make. I thought i could just put the new board in, plug everything in, and go, i got an error that the processor type wasn't supported, What was that error? P4's features are a strict superset to those of P2 or P3. This error might have to do with something completely different like faulty hardware or damaged data. It was unnecessary to chroot, I think. Try the DESTDIR option: cd /usr/src make world DESTDIR=/path/to/mnt cd /usr/src make kernel DESTDIR=/path/to/mnt mergemaster -D /path/to/mnt You'll also need to set the disk active. Try something like fdisk -a /dev/ad1, but I'm not experienced in this wizardry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Buildworld and Security advisories.
On 10/31/05, Grigory O. Ptashko [EMAIL PROTECTED] wrote: Hello, list. I am new to FreeBSD source upgrading/patching source tree system. After reading the following chapters from the handbook: 14.14 FreeBSD Security Advisories 20 The Cutting Edge (about rebuilding world) I have some questions. 1) If I install a FreeBSD RELEASE on a machine what do I have to do to patch all those bugs listed in FreeBSD Security Advisories? Is it enough to synchronize my source tree with the STABLE branch or do I have to get all patches and apply them manualy? And if I must patch the source tree manualy do I have to do this after synchronizing the source tree with STABLE or before? Or it doesn't matter? In two words what are the relations between patching the bugs listed in Advisories and the process of synchronizing the source tree of the RELEASE with the STABLE? 2) How often should I synchronize sources with the STABLE? Currently I am working with 4.11 RELEASE. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] To get all security fixes for your OS, you should do _one_ of the following: * patch manually and recompile - as stated in the SA * syncronize to the security branch, i.e. RELENG_4_11 or RELENG_5_4, and rebuild world/kernel * syncronize to the stable branch, i.e. RELENG_4, RELENG_5 or RELENG_6, and rebuild world/kernel * perform a binary upgrade You can use either way each time a SA is published, no matter what way you have used last time. For example you can perform a binary upgrade from RELEASE to 5.4-p1, then patch manually and recompile to 5.4-p2 then sync to stable, then sync to security branch and so on. Sometimes binary and manual upgrades leave uname output old, but they always fix a security hole. Often, users manually patch systems where a reboot is very undesirable, sync to security branch on all mission-critical servers, where a reboot is possible, sync to stable on all other servers and use binary upgrades on systems that are very slow, or limited in other ways. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acd0 Hardware error
On 10/31/05, Jose Luis Alarcon Sanchez [EMAIL PROTECTED] wrote: Hi Friends. Every time i use my DVD player unit, i get on the kernel messages console, repeated many times, this: acd0: FAILURE - READ_CD HARDWARE ERROR asc=0x08 ascq=0x03 error=0 What is the mean of this line?. With others Operating Systems, in the same machine, i don't have nothing like this... This is the line about the DVD player unit in dmesg: acd0: DVDROM Pioneer DVD-ROM ATAPIModel DVD-116 0122/E1.22 at ata1-master UDMA66 Any help is very apreciated. Thanks you very much, in advance. Regards. Jose. -- http://www.lordofunix.org Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories. You are talking about memories. Rick Deckard. Blade Runner. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It might be some copy protection and it might be not. Please, read ata(4) and atacontrol(8) manpages to learn how to tweak different options of ata driver. If that doesn't help at all, try compiling a custom kernel with device atapicam (make sure SCSI support is also present). This will give you an alternative interface to your drive. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/31/05, John DeStefano [EMAIL PROTECTED] wrote: On 10/29/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. If I were to continue to use portsnap, which arguments can I safely add to /etc/crontab? I know portsnap cron should be safe, but if I want to completely automate the update process (not for installing packages, but for keeping the ports tree, database, and indexes current), should I also add an entry for portsnap update and portsdb -uUF? You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). Would you also recommend cron entries for these two commands? I used to use a cron job to run cvsup, and I'd like to implement a better, more complete automated solution, so I don't tangle up my system's packages and dependencies again. I think the best way is to create a shell script, like this: #!/bin/sh /usr/local/sbin/portsnap cron \ /usr/local/sbin/portsnap update \ /usr/local/sbin/portsdb -uUF \ /usr/local/sbin/portupgrade -aF \ /usr/local/sbin/portsclean -DP and run it at an hour, when you're most unlikely to perform any kind of port upgrading. As portsnap manpage warns, if both portsnap (in the process of update) and portupgrade ever happen to access the same directory at once, it might ruin your ports tree. You'll have to do portsnap extract after that. You can leave out portsclean and run it manually, because it can create some load (which is not desirable on a production server). I run this script daily at 8-9 in the morning (I usually start messing with servers after 11). It never failed, and it always keeps everything up-to-date. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can FreeBSD 4.11 and 5.4 run on a HP DL-140 G2 server?
On 10/28/05, Dinesh Nair [EMAIL PROTECTED] wrote: On 10/26/05 21:28 Paul Hamilton said the following: Hi, I have FreeBSD 4.11 running nicely on a HP DL-140 (80GB Parallel ATA HD), but is anyone running FreeBSD on a HP DL-140 *G2* (80GB SATA HD)? works with the HP ML110 G2 with the ICH7 SATA RAID controller. i've had to patch sys/dev/ata-pci.c to get it to recognize it but it's a short and simple patch. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Yes, 6.0 handles ICH7 in a much better way. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ports manager vs. portupgrade
On 10/29/05, Gerard Seibert [EMAIL PROTECTED] wrote: On Friday, October 28, 2005 8:33:50 PM, Elliot Finley [EMAIL PROTECTED] Subject: ports manager vs. portupgrade Wrote these words of wisdom: pros and cons anyone? I've always used portupgrade and it works pretty well, but I'm curious as to how ports manager compares. Elliot * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: This is only my own opinion, but I find it does a better, more complete job, without the hassle of creating Indexes, etc. Portmanager does not use the indexes that portupgrade does, and therefore is not hampered by them if they become corrupt, etc. -- A: Because it reverses the natural flow of a dialog. Q: Why is top posting undesirable when replying? TOPIC: Posting Etiquet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Portmanager is based on a very good idea, but it still lacks many features of PU, and at times it is a bit slower. I'm sure, as it matures, it will become a very handy tool, hopefully a lot faster. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/29/05, John DeStefano [EMAIL PROTECTED] wrote: Needless to say, this process wasn't much fun. What can I do to keep this from happening again? What can/can't I safely include in cron to automate database and index maintenance? cvsup or portsnap, then portsdb -uUF. Work under any circumstances, leave you with updated ports tree and indexes. You can also try portupgrade -aF (prefetches needed files to speed up manual upgrade at a later time) and portsclean -DP (removes sources and packages which become outdated due to ports tree updates). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4 CD and floppies enter boot loop
On 10/28/05, Dave [EMAIL PROTECTED] wrote: Hello, I've got an older, as of june/july 5.4-release official disk. Whenever i try to boot a box with it the system enters a boot loop, creating floppies also gives me this behavior. This is on a pair of p3 733 mhz systems. I've tried new floppies and downloading the bootonly iso same behavior. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It's hard to diagnose a problem if we don't know anythinf except that your machine restarts during boot. Provide additional info about your hardware. Try to watch the screen and spot the moment when the box reboots. Also, you might want to try a 6.0 bootable CD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling chrooted kernel makes drive unbootable
On 10/30/05, Dave [EMAIL PROTECTED] wrote: Hello, I've got a box that has died. The data on it is rather important and a reinstall is not feasible. I put the hard drive in a test box, mounted all the partitions of the previous drive under /mnt then did a chroot /mnt and compiled a generic kernel. The processor on this board is different so i felt i had to. The compilation and installation of the chrooted kernel went fine, putting the drive in the new system yields an unbootable drive. I've checked the data and kernel are there. Any ideas why this procedure didn't give me a bootable drive? Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Any more info, please? What exactly has died? Has any data been lost? Why did you have to recompile the kernel? Did you recompile the world, too? How different are the processors on the dead system, the one you've recompiled on and the new one? You can always run a fresh install without formatting your drives and thus losing only some system configuration files. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can a process be made immune to out-of-swap-space kills?
On 10/30/05, Doug Lee [EMAIL PROTECTED] wrote: Sometimes, I accidentally run something that eats up too much memory and causes the pager to run out of swap space and start shooting down processes to rectify the situation. Sometimes, the process chosen for demolition happens to be `screen.' Since this process sorta manages a whole lot of others and, on being zapped out of existence, leaves many of them running but inaccessible, I find this choice decidedly inconvenient. Is there a way for me to force FreeBSD to leave `screen' (or any other process) alone when selecting something to kill to free memory? Please Cc me any answers. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?' --Marcus Aurelius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I don't know how to do that, but by all means you shouldn't allow that to happen. It's not windoze, where everything is meant to be swapped. Read limits(1) manpage to know how to prevent a user from messing with other processes in such an unfriendly way. Last time I ran into a problem alike was upgrading from fedora core 3 to FC4. Yum requested about 4000GB (4 Terabytes) of RAM. The machine became inaccessible (as in showing no signs of life whatsoever) for 5 hours, but in the end something coredumped and I could login :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade stale dependencies
On 10/28/05, Michael C. Shultz [EMAIL PROTECTED] wrote: On Thursday 27 October 2005 18:49, Eric F Crist wrote: On Oct 27, 2005, at 8:32 PM, John DeStefano wrote: On 10/27/05, Andrew P. [EMAIL PROTECTED] wrote: On 10/27/05, John DeStefano [EMAIL PROTECTED] wrote: After clearing out the ports, updating ports (with portsnap) and source, and rebuilding the system and kernel... it seemed the ultimate problem was actually a dependency of the package to apache1.3. After I ran 'pkgdb -F' and fixed this dependency to point to apache2.1, but I still had trouble installing ports. At this point, what usually works for me is to: #cd /usr rm -rf ./ports #mkdir ./ports cvsup /root/ports-supfile The above will delete your ENTIRE ports tree, provided it's kept in / usr/ports and as long as you use cvsup (and your ports supfile is / root/ports-supfile as mine is). When a whole bunch of ports stop working, I find this is the easiest thing to do. The other thing I do is run a cron job every week that updates, via cvsup, the ports tree. About once a year I perform the above, mostly to clean out the crap. Re-downloading your entire ports tree will be quicker if you don't use the ports-all tag and actually define which port segments you are interested in. For example, there's no real reason to download all the x11/kde/gnome crap if you're doing this on a headless server that isn't going to serve X. HTH Replacing /usr/ports won't fix his problems, they reside in /var/db/pkg. I may be a bit biased but I reaaly think John D. should try running portmanager -u (ports/sysutils/portmanager). Stale dependencies is a non issue for portmanager. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I don't think that stale dependencies are an issue for portupgrade as well, just add -O to the command- line. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which version of FreeBSD a binary was compiled for?
On 10/28/05, Micah [EMAIL PROTECTED] wrote: David Kirchner wrote: On 10/27/05, Will Maier [EMAIL PROTECTED] wrote: Must be -- some flag produces unique bits in the executables. I'm a little surprised there isn't (AFAICT) anything descriptive in file(1)'s manpage or /u/s/mi/magic that would explain the discrepancy. Didn't see anything in quick looks through gcc(1) or make(1), either. Weird. It doesn't look like it's done in the magic file. Rather, it's something built in to file itself. Check out around line 400 of 'readelf.c'. This doesn't explain how it gets in to the binaries built, though. Here's some more to think about. I have a simple cpp program I used to test something a while back. Running file on that executable returns: trisha% file floatpoint floatpoint: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.3.0, dynamically linked (uses shared libs), not stripped I just now recompiled with c++ floatpoint.cpp and now: trisha% file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped And compiled with same commandline on the working machine: alexis% file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.4, dynamically linked (uses shared libs), not stripped I looked at my env, but I do not see /any/ compiler related variables set. Is there something up with the compiler itself? My processor? (Athlon64 in i386 mode) Later, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Clearly, something has changed in the compiler suite. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]