Re: cvsup doc-all
On Fri, 28 Jan 2005 09:51:07 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: Yep. If you think a bit about it, you will see it makes more sense. What is it that you download with src-all? The sources of the system. The doc-all collection downloads the sources of the documentation. aha but all docs will be updated when you do a buildworld right ? Look at `/usr/ports/Mk/bsd.sites.mk'. It has a huge list of sites where port distfiles are downloaded from. You can tweak this list by setting similar variables in your `/etc/make.conf' file, i.e.: MASTER_SITE_GNU?= ftp://ftp.ntua.gr/pub/gnu/%SUBDIR%/ Note the conditional assignment with ?= there. The 'make.conf' file should very rarely set things unconditionally, with FOO=bar. so basicly you dont have to worry about ports server because it will find the best server by it self ? why does cvsup not work the same way ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Witch apache, mysql and php do i need ?
On Fri, 28 Jan 2005 08:46:09 +0100, christophe ollier [EMAIL PROTECTED] wrote: It seems your ports index is missing. I think you can try this to make another one : cd /usr/ports make fetchindex portsdb -u woh :) 7rxI# make pretty-print-run-depends-list This port requires package(s) apache-1.3.33_1 expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_4 jpeg-6b_3 mysql-client-4.0.23a openssl-0.9.7e_2 pdflib-6.0.1_1 pecl-pdflib-2.0.4 perl-5.8.5 php4-4.3.10_2 php4-bz2-4.3.10_2 php4-gd-4.3.10_2 php4-mysql-4.3.10_2 php4-openssl-4.3.10_2 php4-pcre-4.3.10_2 php4-zlib-4.3.10_2 pkgconfig-0.15.0_1 png-1.2.8 t1lib-5.0.1,1 xorg-libraries-6.8.1_1 to run. 7rxI# still see apache-1.3.33 doh aldo i said in make.cong to pic 2.1 ? 7rxI# cat /etc/make.conf CPUTYPE?=amd64 CFLAGS= -O -pipe COPTFLAGS= -O -pipe DOC_LANG= en_US.ISO8859-1 X_WINDOW_SYSTEM=xorg WITH_LAME= yes PERL_VER=5.8.5 PERL_VERSION=5.8.5 PERL_ARCH=mach NOPERL=yo NO_PERL=yo NO_PERL_WRAPPER=yo WITH_APACHE2=yes APACHE_PORT=www/apache21 DEFAULT_PHP_VER=5 WITH_MYSQL_VER=50 7rxI# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd_config / failed authentication
In the last episode (Jan 28), Fabian Anklam said: On Fri, 28 Jan 2005 02:21:08 +0100, Fabian Anklam [EMAIL PROTECTED] wrote: could someone be so kind to point out to me which settings in sshd_config have to be changed to allow login from an ssh client without getting authentication failed messages on the console and a timeout on the guest machine. My client, putty in this case display the login: dialog, but after entering the username hangs without ever displaying the password: dialog Try killing the sshd daemon and running sshd -Ddd, which will print out lots of information during authentication. My FreeBSD5.3 Release box ps -aux reveals: root722 0.0 0.7 3360 2812 ?? Is 12:12AM 0:00.01 sshd root755 0.0 0.8 4720 2920 ?? Is 12:29AM 0:00.05 sshd: [accepted] (sshd) sshd756 0.0 0.8 4792 2936 ?? S12:29AM 0:00.18 sshd: [net] (sshd) root760 0.0 0.1 348 232 v0 R+ 12:29AM 0:00.00 grep sshd truss -d output of the two ssh processes might be useful too, if the sshd debugging output doesn't point to anything obvious. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATA problem
On Thu, 27 Jan 2005 21:25:41 -0800, Ted Mittelstaedt [EMAIL PROTECTED] wrote: Are you using an old ordinary IDE cable or the super special high density go-fast new style IDE cable? Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of BSD Mail Sent: Thursday, January 27, 2005 7:28 PM To: FreeBSD-questions@freebsd.org Subject: ATA problem Hello, I'm having a problem installing any version of FreeBSD 5.2 and above on a EIDE Western Digital Caviar 80GB. That system was running 4.x without any problems for over 2 years. When I planned to install 5.3 I got the error below. I thought at first it's HD jumper settings not that I changed the current settings Then I thought it's the IDE bus. I did further debugging. I installed different types of Linux and Windows 2k and I got no problem with the HD. I'm able to install FreeBSD 5.1 and any prior release with no problem. I read some threads about 5.3 having problems with some IDEs. If that's the case, what is your suggestion ? I want to take advantage of the nice features in 5.3 plus I got my DVD burner identified for the first time under 5.3. After I boot from CD to proceed with a clean install. When I get hardware probing, as I reach the 'ata' part I get the message below and everything just freeze there. I have to do a hard boot. ad0: 76293MB WDC WD800BB-75FRA0 [155009/16/63] at ata0-master UDMA100 ata1-master: FAILURE - ATA_IDENTIFY status=7fREADY,DMA_READY,DSC,DRQ,CORRECT,INDEX,ERROR error=7fUNCORRECTABLE,MEDIA_CHANGED,NID_NOT_FOUND,MEDIA_CHAN.. REQUEST,ABORTED,NO_MEDIA,ILLEGAL_LENGTH LBA=0 Thank you, -- Regards, I'm using the same cables I've been using for long time. A round Single IDE Ultra ATA Cable, 40c/80p 18 inch. I'm using the same exact cable on 5 other FreeBSD machines with no problem at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HELP!!!: I've accidentally deleted /dev
In the last episode (Jan 27), Mark Jayson Alvarez said: I was playing with file flags and decided to change the entire / hierarchy with uunlnk. After doing that, I've cd into one of my file folders and then tried rm -rf *. It says operation not permitted. It worked. The uunlnk file flag worked. So I immediately cd'd into / and tried doing the same thing(rm -rf *). It was too late when I found out the the entries in my /dev/ wasn't affected when I chflags -R /. And then all of my devices were gone. I need a serious help now. Is there a way I can bring them back? /dev/ on FreeBSD 5.* is a pseudo filesystem generated dynamically by the kernel. You can try running devfs rule apply unhide to ask the kernel to put back all the devices it knows about, but any permissions or symlinks created by the boot process will not be there. A reboot will put everything back to normal. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Missing INDEX file in Ports
-Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 11:34 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:30 pm, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Stewart Sent: Thursday, January 27, 2005 11:19 PM To: freebsd-questions@freebsd.org Cc: Ted Mittelstaedt Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:00 pm, Ted Mittelstaedt wrote: Hi All, Has anyone seen this before, I just installed 4.11 and in /usr/ports typed make search key=ghostscript and the machine went away for a couple hours to generate an INDEX file. (this is a P75, unfortunately) Has anyone else noticed the INDEX file is missing in the 4.11-RELEASE ports directory? If you cvsup ports-all, INDEX[-56] is deleted. You want to cd /usr/ports make fetchindex The fetch of a compressed file is much faster than generating it :). Even faster would have been for it to be on the same CDROM that the rest of the ports directories were copied from. You would have to go to the cvsweb.cgi attic to find out how many months it has been removed from ports. Do you really think I care how long it's been removed? Your missing the point. INDEX is supposed to be in the RELEASES on the CDROMs because the CD's are supposed to be self-contained, ie: you should not require an Internet connection to get a complete install. Otherwise there's no point in even bothering to release the CDROMS in the first place. INDEX isn't in SNAPS and such because it makes no sense generating it for a ports tree that's open for committing since new ports could be added at any time. However the ports tree on the CDROM is static, not dynamic. Please note the following: http://www.freebsd.org/releases/4.11R/schedule.html Now, notice down there: Final package build starts Note any ACTUAL date? Obviously whomever was supposed to do the ports stuff for the release didn't follow the procedure exactly correctly, they probably cvsupped the ports at the last minute and forgot to fetch the INDEX, same as they forgot to update the release schedule. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing INDEX file in Ports
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 28, 2005, at 3:28 AM, Ted Mittelstaedt wrote: -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 11:34 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:30 pm, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Stewart Sent: Thursday, January 27, 2005 11:19 PM To: freebsd-questions@freebsd.org Cc: Ted Mittelstaedt Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:00 pm, Ted Mittelstaedt wrote: Hi All, Has anyone seen this before, I just installed 4.11 and in /usr/ports typed make search key=ghostscript and the machine went away for a couple hours to generate an INDEX file. (this is a P75, unfortunately) Has anyone else noticed the INDEX file is missing in the 4.11-RELEASE ports directory? If you cvsup ports-all, INDEX[-56] is deleted. You want to cd /usr/ports make fetchindex The fetch of a compressed file is much faster than generating it :). Even faster would have been for it to be on the same CDROM that the rest of the ports directories were copied from. You would have to go to the cvsweb.cgi attic to find out how many months it has been removed from ports. Do you really think I care how long it's been removed? Your missing the point. INDEX is supposed to be in the RELEASES on the CDROMs because the CD's are supposed to be self-contained, ie: you should not require an Internet connection to get a complete install. Otherwise there's no point in even bothering to release the CDROMS in the first place. INDEX isn't in SNAPS and such because it makes no sense generating it for a ports tree that's open for committing since new ports could be added at any time. However the ports tree on the CDROM is static, not dynamic. Please note the following: http://www.freebsd.org/releases/4.11R/schedule.html Yeah, I totally agree, INDEX should be included in ports.tar.gz for at least RELEASES. Michael -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB+fo2n4uqfTwEb9YRAkenAJ0Uz7D2qj+tUCRWZ6K/LMDgnor2ywCfdU0Z BVEQdVp4IWS28VtCM51dVLM= =b0IC -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ATA problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of BSD Mail Sent: Friday, January 28, 2005 12:19 AM To: FreeBSD-questions@freebsd.org Cc: Ted Mittelstaedt Subject: Re: ATA problem I'm using the same cables I've been using for long time. A round Single IDE Ultra ATA Cable, 40c/80p 18 inch. I'm using the same exact cable on 5 other FreeBSD machines with no problem at all. Have you downloaded Wdc_cfg.zip from the Western Digital website and firmware updated your EIDE drive? Go to software drivers, WD Caviar 7200RPM, IDE RAID compatibility upgrade, Non-3ware cards. While this is supposed to help only for RAID it might help for you. Apparently WD introduced some goofy timeout thing for these drives to reduces idle acoustic noise in desktop drives Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Marvell sk98lin module for FreeBSD installation
Hi, I have a Marvell sk98lin gigabit card (sk98lin is the linux module, I think sk is the equivalent) I could not install freeBSD by network because of the non detection of this card. How can I solve the problem ? Do you have a method to make me able to use FreeBSD ? Perhaps get 2 iso file, and then after I could get the sk module for freeBSD and recompile the kernel for support ? Well Thx for support -- Vincent Bachelier Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.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]
Re: Keep compile options through upgrade
Thanks for these 2 answers. I didn't have seen this file mentioned in the portupgrade manpage, so I could have been searching for a while before finding... Le Vendredi 28 Janvier 2005 00:45, Glenn E. Sieb a écrit : Olivier Certner wrote: Hello all, Is there an easy way to keep/retrieve the options last used to compile a given port? This could be used with portupgrade to upgrade to a newer version while retaining the previous build-time configuration (of course this won't work if the options available change). Maybe I could put all the options in make.conf, but in this case I fear that this file would become really messy. Moreover, if options are shared by several ports, no fine grain tuning per port will be possible. Any advices? Check /usr/local/etc/pkgtools.conf Some ports keep things in /var/db/ports too... Best, --Glenn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 interrupt storm (atapicam) and I/O error
Hi, Could you give a look at my post dated 04/01/2005 entitled Freeze with CAM (using KsCD)? Maybe we have fallen on the same kind of bug concerning atapicam. If you have KDE, maybe you should try to reproduce the problem I had. I've no time to test your scenario (the one with the EIDE drive, I don't have SCSI) now, but I'll try to reproduce it at the beginning of next week, in order to see if the freeze happens also on my computer. Hope this will help us to progress on our issues. Regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: realplayer-10
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 27 Jan 2005, Skylar Thompson wrote: On Wed, Jan 26, 2005 at 08:45:01PM -0800, Gary Kline wrote: People, Does anybody know why I'm getting this err output from the FBSD mozilla? pd 12:05 zen [1353] LoadPlugin: failed to initialize shared library /usr/local/lib/linux-mozilla/plugins/nphelix.so [Shared object libstdc++.so.5 not found, required by nphelix.so] locate nphelix.so /usr/X11R6/lib/browser_plugins/nphelix.so /usr/local/lib/linux-mozilla/plugins/nphelix.so I don't run linux-mozilla on my laptop; I *have* installed the linuxpluginwrapper port. Do you have the linux_base package installed? You'll need that for libstdc++.so.5, which is the library that you're missing. if you have installed the linuxpluginwrapper port, you should have seen a message generated by the port, how to setup your /etc/libmap.conf file to get the different plugins working with a native FreeBSD browser. you should take a look at the examples in the /usr/local/share/examples/linuxpluginwrapper/ directory. they contain a section for the realplayer-10 plugin. after adding the necessary lines to your /etc/libmap.conf and restarting mozilla, the shouldn't appear and about:plugins should show the plugin. regards Joerg - -- The beginning is the most important part of the work. -Plato -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB+gU0SPOsGF+KA+MRAmV5AKDONtDpIOs68G8eLwAFqRoNSN7mnwCePkcR fGYUiAjXsMnpHzCN9yewffU= =pHTJ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID1, a failed disk and performance
On Thursday 27 January 2005 23:12:23, Chad Morland wrote: http://members.chello.at/freebsd-5.3/bonnie-gmirror/summary http://members.chello.at/freebsd-5.3/bonnie-gmirror/detail I expect to see data transfer rate increase when you break the mirror. RAID1 has the higest disk overhead of all RAID configurations and is very inefficient in that regard. It would be interesting to see performance results with the bad disk still attached to the mirror. Unfortunately I am not able to break disks on a whim so I can't test it out. :P I also run the bechmarks with the gnop class invoked. It seems that the 'gnop -f nnn' option doesn't work, so that I couldn't observe any significant performance differences. I own several really nice broken IBM SCSI disks, but they are broken in such a way, that the mirrors break immediately after hitting the damaged areas. Maybe it's the better solution to run smartd from ports/smartctl and replace flaky disks asap. -- Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu pgpQMiRLIbs6i.pgp Description: PGP signature
Re: FreeBSD 5.3 I/O Performance / Linux 2.6.10 | Continued Discussion
On Thu, 27 Jan 2005, Mike Tancsa wrote: I/O (reads, writes at fairly large multiples of the sector size -- 512k is a good number) and small I/O size (512 bytes is good). This will help identify the source along two dimmensions: are we looking at a basic storage I/O problem that's present even without the file system, or can we conclude that some of the additional extra cost is in the file system code or the hand off to it. Also, with the large and small I/O size, we can perhaps draw some conclusions about to what extent the source is a per-transaction overhead. Apart from postmark and iozone (directly to disk and over nfs), are there any particular tests you would like to see done ? Just to get started, using dd to read and write at various block sizes is probably a decent start. Take a few samples, make sure there's a decent sample size, etc, and don't count the first couple of runs. Robert N M Watson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UT2004 on FreeBSD
On Thu, 27 Jan 2005 22:31:33 -0800, Loren M. Lang wrote On Thu, Jan 27, 2005 at 08:50:19PM -0800, Loren M. Lang wrote: I know there were some people on the list asking about running Unreal Tournament 2004 on FreeBSD a while back. Mainly, the c++ libraries were what was missing in linux_base. Now that linux_base-rh9 is out, all the required libraries are easy to install. Also, x11/linux-XFree86-libs will be needed. I have UT2004 running in freebsd, but some of the images and player models don't show up and, while the mouse works in the menus, once I get in game, I can't do anything. Any ideas on how to fix this? It seems the keyboard doesn't work either once I'm in game except for alt-enter when windows the screen from fullscreen. It's like it's not able to access the keyboard or mouse using what ever raw access it's trying to do, but they both work elsewhere when it's just using the regular X protocol to access them. I'm using linux_base-7.1, and I don't have linux-XFree86-libs installed either (Perhaps that's not required since I'm use x.org.) And UT2004 works just fine with me. Though the performance is somewhat worse then it was at Windows, but that's probably because of the Nvidia drivers. Of course, one should not expect too much from an GeForce 4 MX440 :) Jorn -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] org -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: commercial OSS drivers
On Fri, 28 Jan 2005 07:18:43 +0100, Gert Cuykens wrote Does free bsd use this drivers http://www.opensound.com/download.cgi ? Anyway they give you surround 5.1 and spdif / AC3, they are free for home use but they told me they can not give me support using them. Who of you is using them and can tell me how they work ? I just installed them yesterday. It works quite easy, though you have to make sure you unload your kernel module, or strip your kernel. Follow the installer and it works like a charm. The unregistered version required an reinstall every 4 months, but that's not too bad. And you get some screen when you boot the unregistered version. It's rather annoying since increases boot time. Jorn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lots of apache httpsd processes in sbwait
On Jan 27, 2005, at 9:55 PM, Tom Vilot wrote: Speaking of httpd. don't these seem awfully large? PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 7410 www 2 0 117M 28488K sbwait 33:11 0.00% 0.00% httpd 7411 www18 0 119M 28172K lockf 33:05 0.00% 0.00% httpd 7409 www 2 0 117M 2K sbwait 33:01 0.00% 0.00% httpd 7413 www 2 0 116M 27452K select 32:46 0.00% 0.00% httpd 7408 www 2 0 117M 25940K sbwait 32:38 0.00% 0.00% httpd 7602 www18 0 118M 26972K lockf 32:12 0.00% 0.00% httpd 7407 www 2 0 117M 27160K sbwait 32:09 0.00% 0.00% httpd 7760 www 2 0 119M 30168K sbwait 32:04 0.00% 0.00% httpd 7412 www 2 0 120M 28712K sbwait 31:59 0.00% 0.00% httpd 7414 www18 0 119M 27464K lockf 31:33 0.00% 0.00% httpd Are you running mod_perl or php or something? But that is what mine look like too -- all sbwait with a few lockf thrown in Chad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple questions, MAKE_ARGS in pkgtools.conf
On Thursday 27 January 2005 11:27 pm, Nikolas Britton wrote: Giorgos Keramidas wrote: On 2005-01-27 21:36, Nikolas Britton [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: On 2005-01-25 21:30, Nikolas Britton [EMAIL PROTECTED] wrote: If I do something like the following: MAKE_ARGS = { 'www/firefox' = 'WITH_OPTIMIZED_CFLAGS=yes CPUTYPE=p4', 'multimedia/gstreamer-*' = 'CPUTYPE=p2' } Will portupgrade only build the port with what I put in MAKE_ARGS or Yes. will it just append it to the ports config? Not sure about this. AFAIK, MAKE_ARGS are passed as command line options to Make when the port is built. So, if passing them on the command line works until now *and* saves them in the persistent port options cache, it will work with portupgrade too. what is the persistent port options cache? The options that a port was built with are saved in /var/db/ports, in directories of the form /var/db/ports/{portname}. This is what I call the persistent port options cache. Persistent because it survives reboots, upgrades of the ports tree, etc. Cache, because it will save you the typing and the popup dialog of the no-BATCH case. and I'm still confused as you said yes and no to my question. Yes, portupgrade _will_ build the port with what you put in MAKE_ARGS. Yes, options on the command line (i.e. those passed by portupgrade) will affect the way make builds the port _and_ will be saved by the ports infrastructure in /var/db/ports. Hopefully, this was less confusing :) Yes it was, my question now is whats the point of MAKE_ARGS when options are saved in /var/db/ports and are used when you upgrade a port?Arggg... I just looked in /var/db/ports and not all the options are there, i.e. I look for horde (it not even in there) and php4 and it says nothing about the options I built it with, WITHOUT_MYSQL=yes WITH_POSTGRESQL=yes, nor are apache13, postgres74, openldap22-server in there. What really scares me about this is if I run portupgrade it will fsck my production server up by not building the ports with the correct options, I'm starting to feel that the only way I can trust the ports system is if I manually upgrade all the ports by hand, I really need some advice and pointers to docs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If you put the following in /etc/make.conf: .if ${.CURDIR:M*/multimedia/mplayer} WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION=yes \ WITH_GTK1=yes WITH_RTC=yes WITH_LIBUNGIF=yes WITH_ARTS=yes \ WITH_FRIBIDI=yes WITH_CDPARANOIA=yes WITH_LIBDV=yes\ WITH_MAD=yes WITH_SVGALIB=yes WITH_AALIB=yes WITH_THEORA=yes\ WITH_SDL=yes WITH_ESOUND=yes WITH_VORBIS=yes WITH_XANIM=yes \ WITH_LIVEMEDIA=yes WITH_MATROSKA=yes WITH_XVID=yes WITH_LZO=yes \ WITH_XMMS=yes WITH_LANG=en .endif Then only mplayer will be built with the above options. You can do the same for any other port, then wether you run portmanager, portupgrade or manually install mplayer it will always be built with the above settings. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing INDEX file in Ports
On Friday 28 January 2005 12:39 am, Michael Johnson wrote: On Jan 28, 2005, at 3:28 AM, Ted Mittelstaedt wrote: -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 11:34 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:30 pm, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Stewart Sent: Thursday, January 27, 2005 11:19 PM To: freebsd-questions@freebsd.org Cc: Ted Mittelstaedt Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:00 pm, Ted Mittelstaedt wrote: Hi All, Has anyone seen this before, I just installed 4.11 and in /usr/ports typed make search key=ghostscript and the machine went away for a couple hours to generate an INDEX file. (this is a P75, unfortunately) Has anyone else noticed the INDEX file is missing in the 4.11-RELEASE ports directory? If you cvsup ports-all, INDEX[-56] is deleted. You want to cd /usr/ports make fetchindex The fetch of a compressed file is much faster than generating it :). Even faster would have been for it to be on the same CDROM that the rest of the ports directories were copied from. You would have to go to the cvsweb.cgi attic to find out how many months it has been removed from ports. Do you really think I care how long it's been removed? Your missing the point. INDEX is supposed to be in the RELEASES on the CDROMs because the CD's are supposed to be self-contained, ie: you should not require an Internet connection to get a complete install. Otherwise there's no point in even bothering to release the CDROMS in the first place. INDEX isn't in SNAPS and such because it makes no sense generating it for a ports tree that's open for committing since new ports could be added at any time. However the ports tree on the CDROM is static, not dynamic. Please note the following: http://www.freebsd.org/releases/4.11R/schedule.html Yeah, I totally agree, INDEX should be included in ports.tar.gz for at least RELEASES. Michael Won't make index work on the release CDs? Maybe they needed the space for something else? -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup doc-all
On 2005-01-28 09:04, Gert Cuykens [EMAIL PROTECTED] wrote: On Fri, 28 Jan 2005 09:51:07 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: Yep. If you think a bit about it, you will see it makes more sense. What is it that you download with src-all? The sources of the system. The doc-all collection downloads the sources of the documentation. aha but all docs will be updated when you do a buildworld right ? Nope. The build of the documentation is not, shall we say, self contained in the base system of FreeBSD. It requires many tools that are not part of the base system. This means buildworld cannot assume that you have all of them, so it doesn't try to build the documentation too. Look at `/usr/ports/Mk/bsd.sites.mk'. It has a huge list of sites where port distfiles are downloaded from. You can tweak this list by setting similar variables in your `/etc/make.conf' file, i.e.: MASTER_SITE_GNU?= ftp://ftp.ntua.gr/pub/gnu/%SUBDIR%/ Note the conditional assignment with ?= there. The 'make.conf' file should very rarely set things unconditionally, with FOO=bar. so basicly you dont have to worry about ports server because it will find the best server by it self ? Basically, yes. Not all the time, but that's the idea. Everything is customizable though, to allow local fixes that make more sense. This is why I set MASTER_SITE_GNU as shown above in my machines -- it makes more sense for machines installed in Greece. The ftp.ntua.gr mirror is usually very up to date and it's one of the fastest Greek FTP servers around. Putting it on the top of the MASTER_SITE_GNU list means that whenever I try to build some GNU tool, ftp.ntua.gr is the first server contacted. If that fails to locate the distfile, the usual list of servers takes over. why does cvsup not work the same way ? Because it wasn't written to do so. There is a utility in ports, sysutils/fastest_cvsup, that may help you find the fastest CVSup server at any given time :-) - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Syncing 3 Freebsd servers' accounts Question
Dick Davies wrote: O'Reilly has a really good book on LDAP LDAP System Administration - includes a chapter on how to migrate from NIS to LDAP. IMO that's one of the few bad oreilly books the orielly book is more of a cookbook, but does'nt really explain what's going on. You have a problem, and you want to solve it. I find the O'Reilly book a good guide. I didn't claim it will give you a complete understanding of the protocol or X.509 etc. But it will show you how to solve the problem at hand, and give ideas of how to exploit LDAP further. NetBSD is almost finished integrating pluggable nsswitch modules, I doubt openbsd will be far behind. No offence to the openbsd crew but if you waited for them to support something before using it on freebsd you wouldn't be running much... I think the whole idea of pam is against their fundamental philosophy, so I wouldn't expect to see this any time soon. Also, LDAP requires you to obtain Object Identifiers if you defnine new types, I haven't heard of OID that can be used for private/experimental purposes only (like the private ip address spaces). There's no need to get an OID registered (unlike IP addresses; it's not like it's routed) but it's free and they'll happily give you one if you ask. You will need to have your directory service available for the internet if you eg. want to distribute certificates - the most common use I think. And you will need OID if you want to add your own extensions to the v3 certificate. But even if not, just to make sure that your choice of OID will not clash with commonly distributed entries, it would be convenient to have a private playground, where any interference is _your_ problem. I know they will give you a branch for free if you ask, but I guess that will change if we all request such a branch. Anyway, the predefined schemes much satturates the need of most SOHO's. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing INDEX file in Ports
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 28, 2005, at 5:36 AM, Michael C. Shultz wrote: On Friday 28 January 2005 12:39 am, Michael Johnson wrote: On Jan 28, 2005, at 3:28 AM, Ted Mittelstaedt wrote: -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 11:34 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:30 pm, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Stewart Sent: Thursday, January 27, 2005 11:19 PM To: freebsd-questions@freebsd.org Cc: Ted Mittelstaedt Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:00 pm, Ted Mittelstaedt wrote: Hi All, Has anyone seen this before, I just installed 4.11 and in /usr/ports typed make search key=ghostscript and the machine went away for a couple hours to generate an INDEX file. (this is a P75, unfortunately) Has anyone else noticed the INDEX file is missing in the 4.11-RELEASE ports directory? If you cvsup ports-all, INDEX[-56] is deleted. You want to cd /usr/ports make fetchindex The fetch of a compressed file is much faster than generating it :). Even faster would have been for it to be on the same CDROM that the rest of the ports directories were copied from. You would have to go to the cvsweb.cgi attic to find out how many months it has been removed from ports. Do you really think I care how long it's been removed? Your missing the point. INDEX is supposed to be in the RELEASES on the CDROMs because the CD's are supposed to be self-contained, ie: you should not require an Internet connection to get a complete install. Otherwise there's no point in even bothering to release the CDROMS in the first place. INDEX isn't in SNAPS and such because it makes no sense generating it for a ports tree that's open for committing since new ports could be added at any time. However the ports tree on the CDROM is static, not dynamic. Please note the following: http://www.freebsd.org/releases/4.11R/schedule.html Yeah, I totally agree, INDEX should be included in ports.tar.gz for at least RELEASES. Michael Won't make index work on the release CDs? Maybe they needed the space for something else? yeah, but including it would be easier for alot of people. Especially people who are using a slower computer. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB+hmjn4uqfTwEb9YRAg2ZAJ9v8AJeDszzs8MJ7HkvDMqlKRJq/gCdELPv XR2fCyZjoeMRgW4a+QRAWFg= =5gju -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple questions, MAKE_ARGS in pkgtools.conf
On 2005-01-28 01:27, Nikolas Britton [EMAIL PROTECTED] wrote: Giorgos Keramidas wrote: [snip stuff about MAKE_ARGS and /var/db/ports/*/options] Yes, options on the command line (i.e. those passed by portupgrade) will affect the way make builds the port _and_ will be saved by the ports infrastructure in /var/db/ports. Yes it was, my question now is whats the point of MAKE_ARGS when options are saved in /var/db/ports and are used when you upgrade a port?Arggg... Not all ports have OPTIONS=foo magic. MAKE_ARGS works with *all* the ports of the tree. AFAIK, /var/db/ports/*/options works only with the ports that use OPTIONS=... stuff in their Makefile. I just looked in /var/db/ports and not all the options are there, i.e. I look for horde (it not even in there) and php4 and it says nothing about the options I built it with, WITHOUT_MYSQL=yes WITH_POSTGRESQL=yes, nor are apache13, postgres74, openldap22-server in there. What really scares me about this is if I run portupgrade it will fsck my production server up by not building the ports with the correct options, I'm starting to feel that the only way I can trust the ports system is if I manually upgrade all the ports by hand, I really need some advice and pointers to docs. Alternatively, you can set up MAKE_ARGS and delete /var/db/ports/*/options every time you want a clean port upgrade ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Poor information in ports UPDATING file
Hi, Not sure which list I should email this to...so I apologise for the noise if this is the wrong one. There is a recent upgrade in the ports for the excellent Xfce4 port to 4.2. There is also a note in the UPDATING file as how to do this. 20050126: AFFECTS: users of x11-wm/xfce4 AUTHOR: [EMAIL PROTECTED] If you use Xorg 6.8.1: Make shure there is an /tmp/.ICE-unix with propper rights. For further informations about that, please refer to 20041229 Please update all your plugins as well when you update from 4.0.6 to 4.2. They all need recompiling to link against the new xfce libraries Maybe I am just too used to the excellent amount of detail in the UPDATING file usually but this doesn't even offer advice on how to update your plugins. Every UPDATING file entry I have found useful in the past has always had a command you could use to carry out this update plus whether you should update your port first then update the dependencies. For example: 20041231: AFFECTS: users of the linux compatibility environment AUTHOR: [EMAIL PROTECTED] The default linux_base was changed from v7 to v8. You need to update from v7 to v8 and rebuild every linux port. To update run: portupgrade -rf -o emulators/linux_base-8 emulators/linux_base In case you already use linux_base-8 you have to run: portupgrade -rf emulators/linux_base-8 It would be nice if this could be ammended to show the full details of what is required to update. I take it you upgrade the Xfce4 port and then run an upgrade on the plugins, or will just running portupgrade on everything do the trick? Thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One-line global string replace in all files with sed (or awk?)
Giorgos Keramidas writes: GK grep will do. You just have to pass it the right option: GK GK find . -type f | xargs grep -l 'foo' | \ GK xargs sed -i '' -e 's/foo/bar/g' GK GK When passed the -l option (this is a lowercase 'EL'), it will not print GK the matched lines. Only the name of the files that *do* match. Then, GK once you have a list of files that really do match with 'foo' as a GK pattern, you can xargs sed on the list to substitute whatever you want :-) It's interesting that there are multiple ways to do this in FreeBSD, whereas I've never found a way to do it in Windows, even with the fancy Visual InterDev I've been using for several years (it will _search_ for strings in multiple files, but it won't do replacements, so you have to search and then edit each file by hand--try doing this several hundred times, several times in a row sometime!). -- Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup to CD-Rs and DVDs
On Fri, 28 Jan 2005 05:49, Xian wrote: On Thursday 27 January 2005 12:39, Xian wrote: On Thursday 27 January 2005 10:37, Ian Moore wrote: Hope that's the kind of thing you are after. http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/dump/main.c?rev=1.59co nt en t-type=text/x-cvsweb-markup Cheers, That's exactly what I'm looking for thanks. I tried it with a CD-RW like this dump -0 -L -C16 -B716800 -P 'burncd -e blank data - fixate' /var and it works well. I'll try DVDs when I have some. THANKS :D Glad I could help :-) I just found that I need to use the -b 2 switch with restore, does that mean I need to use it with dump as well? I'm not sure, but if you are able to successfully retore dumps made without -b 2, then I guess you don't need t!. Cheers, -- Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc pgp77xufpFUig.pgp Description: PGP signature
Re: mystery /var space usage
On Thu, 27 Jan 2005 07:29:30 -0800, joseph kacmarcik [EMAIL PROTECTED] wrote: /dev/amrd0s1e 9.8G 4.8G 4.2G53%/var A du -h of /var shows a total of 616M data only. First thing that came to mind is some process which is holding onto data so I tried restarting various daemons - cyrus, imapd, exim, apache and still no change. I've checked with fstat and lsof to see if I can see anything suspicious but nothing out of the ordinary shows up. sounds like the maillog. have you tried restarting syslogd or whatever process you have that writes to your maillog? syslogd was the first process I restarted amongst all the others to see if the problem could be solved. after doing some googling i came across this same problem mentioned before. http://lists.freebsd.org/pipermail/freebsd-questions/2003-June/010764.html and another maybe not freebsd related http://lists.gnu.org/archive/html/bug-fileutils/2002-10/msg00042.html I have exactly the same problem which leads me to think that this may be some sort of bug with softupdares ? mail:/var# du -hs /var 621M/var mail:/var# df -h /var Filesystem Size Used Avail Capacity Mounted on /dev/amrd0s1e 9.8G 5.4G 3.7G59%/var the usage for /var is growing all the time so I'm going to have to take the machine down this weekend which I'm sure will solve the problem for now but I'd sure like to know what causes this. Nelis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing INDEX file in Ports
On Friday 28 January 2005 02:53 am, Michael Johnson wrote: On Jan 28, 2005, at 5:36 AM, Michael C. Shultz wrote: On Friday 28 January 2005 12:39 am, Michael Johnson wrote: On Jan 28, 2005, at 3:28 AM, Ted Mittelstaedt wrote: -Original Message- From: Kent Stewart [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 11:34 PM To: Ted Mittelstaedt Cc: freebsd-questions@freebsd.org Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:30 pm, Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Stewart Sent: Thursday, January 27, 2005 11:19 PM To: freebsd-questions@freebsd.org Cc: Ted Mittelstaedt Subject: Re: Missing INDEX file in Ports On Thursday 27 January 2005 11:00 pm, Ted Mittelstaedt wrote: Hi All, Has anyone seen this before, I just installed 4.11 and in /usr/ports typed make search key=ghostscript and the machine went away for a couple hours to generate an INDEX file. (this is a P75, unfortunately) Has anyone else noticed the INDEX file is missing in the 4.11-RELEASE ports directory? If you cvsup ports-all, INDEX[-56] is deleted. You want to cd /usr/ports make fetchindex The fetch of a compressed file is much faster than generating it :). Even faster would have been for it to be on the same CDROM that the rest of the ports directories were copied from. You would have to go to the cvsweb.cgi attic to find out how many months it has been removed from ports. Do you really think I care how long it's been removed? Your missing the point. INDEX is supposed to be in the RELEASES on the CDROMs because the CD's are supposed to be self-contained, ie: you should not require an Internet connection to get a complete install. Otherwise there's no point in even bothering to release the CDROMS in the first place. INDEX isn't in SNAPS and such because it makes no sense generating it for a ports tree that's open for committing since new ports could be added at any time. However the ports tree on the CDROM is static, not dynamic. Please note the following: http://www.freebsd.org/releases/4.11R/schedule.html Yeah, I totally agree, INDEX should be included in ports.tar.gz for at least RELEASES. Michael Won't make index work on the release CDs? Maybe they needed the space for something else? yeah, but including it would be easier for alot of people. Especially people who are using a slower computer. I agree make index is no fun on a slow computer, but if space is a problem is it really a good idea to put generated files on the CD? -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UT2004 on FreeBSD
On Fri, Jan 28, 2005 at 11:15:38AM +0100, Jorn Argelo wrote: On Thu, 27 Jan 2005 22:31:33 -0800, Loren M. Lang wrote On Thu, Jan 27, 2005 at 08:50:19PM -0800, Loren M. Lang wrote: I know there were some people on the list asking about running Unreal Tournament 2004 on FreeBSD a while back. Mainly, the c++ libraries were what was missing in linux_base. Now that linux_base-rh9 is out, all the required libraries are easy to install. Also, x11/linux-XFree86-libs will be needed. I have UT2004 running in freebsd, but some of the images and player models don't show up and, while the mouse works in the menus, once I get in game, I can't do anything. Any ideas on how to fix this? It seems the keyboard doesn't work either once I'm in game except for alt-enter when windows the screen from fullscreen. It's like it's not able to access the keyboard or mouse using what ever raw access it's trying to do, but they both work elsewhere when it's just using the regular X protocol to access them. I'm using linux_base-7.1, and I don't have linux-XFree86-libs installed either (Perhaps that's not required since I'm use x.org.) And UT2004 works just fine with me. Though the performance is somewhat worse then it was at Windows, but that's probably because of the Nvidia drivers. Of course, one should not expect too much from an GeForce 4 MX440 :) When I was using linux_base-7 I had several linux programs missing certain versions of libstdc++ libraries. The installed version was something like libstdc++.so.3 and the program needed something like libstdc++.so.9. Since I installed linux_base-rh-9, they now run, though UT2004 has problems in-game. Before I upgraded linux_base, it didn't even start. Also, linux-XFree86-libs isn't needed for linux_base-7, there already part of it, but they seperated it out for rh-9 I guess. And UT2004 runs just fine in Linux with my GeForce4 MX440 and since Doom 3 runs pretty good in both linux and freebsd with my geforce 4, I'd say the nvidia drivers are probably pretty good. Jorn -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] org -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Missing INDEX file in Ports
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael C. Shultz Sent: Friday, January 28, 2005 3:16 AM To: freebsd-questions@freebsd.org Subject: Re: Missing INDEX file in Ports yeah, but including it would be easier for alot of people. Especially people who are using a slower computer. I agree make index is no fun on a slow computer, but if space is a problem is it really a good idea to put generated files on the CD? INDEX has been included with every CDROM pressing of FreeBSD 4.x previously. And this will be the last 4.X pressing. So, it must have required a really severe space crunch to justify this significant of a deviation. Now, lets's see here: Disc 1 of FreeBSD 4.11 KDE is 647MB Disc 1 of FreeBSD 4.11 Gnome is 576MB The INDEX file is 6MB A cdrom holds 660-700MB of data And I won't even go into the thousands of dollars of network costs involved in fetching a 6Mb index file over the Internet for everyone that could have been included on the CD. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hard Drive Buffer tool.
On Friday 28 January 2005 02:00, borg wrote: Greetings, Someone gave me an IDE HD and he doesn't know how many MB buffer it is. I checked the manufacturer data sheet. And I found that this exact model comes with 2MB and 8MB buffer. Anyone knows if there is a tool or a built-in utility under FreeBSD that allows me to get such information, without the having me email the manufacturer ? Thank you in advance. = regards, UNIX, it's a way of life. atacontrol might tell you something. -- /Xian Kind words can be short and easy to speek but their echos are truly endless Mother Theresa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: image on website
To whom it may concern: I am a student studying pharmacy at Liverpool John Moores University, UK. I am currently doing my final year project, which involves designing a computer aided learning package (on authorware), on the topic Menstrual cycle, Fertility and Contraception. I saw a cartoon image on the webpage: http://images.search.yahoo.com/search/images/view?back=http%3A%2F%2Fimages.search.yahoo.com%2Fsearch%2Fimages%3Fp%3Dcartoon%2Bhammer%2B%26ei%3DUTF-8%26fr%3DFP-tab-img-t%26fl%3D0%26x%3Dwrth=710w=600imgcurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgimgurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgsize=171.1kBname=daemon_hammer.jpgrcurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlrurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlp=cartoon+hammertype=jpegno=12tt=252,944 and I wish to ask permission to use that diagram in my project for animation purposes. Could you please reply me soon, because if I'm not allowed, I will need to find an alternative. Thank you very much for your attention. Yours Sincerely, Yvonne Ho ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MacPerl for Freebsd: Convert Macintosh files
On Thu, Jan 27, 2005 at 12:32:06PM -0700, Aaron Siegel wrote: Hello I need to convert the some Macintosh files to a Unix/Windows format. Has any one been able to install MacPerl, Mac::Files, or Mac::MoreFiles on their FreeBSD system? Can you recommend another solutions for converting Macintosh files? I have look at Macutils but it did not work. You might take a look at archivers/macutils in ports. I've used that before to decode mac files and extract the data from them. If your just talking about converting mac text files to unix, try mac2unix/unix2mac or just plain old tr '\r' '\n' Thank you Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java Runtime Environment (JRE)?
On Fri, Jan 28, 2005 at 07:48:38AM +0100, Gert Cuykens wrote: What's wrong with java/jdk14? It doesn't sound like you have any requirements for Java 5. Does jdk14 has jvm too for firefox ? How do you install it in firefox ? Yea, I'm pretty sure everything will be taken care of automatically for mozilla and firefox to use it automatically, but in case it isn't you need to make sure you have a soft link to the libjavaplugin_oji.so file installed by the port in the firefox plugins directory. -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mystery /var space usage
On Thu, Jan 27, 2005 at 11:52:23AM +0200, Nelis Lamprecht wrote: Hi, This is not one of those I've run out of space on /var issues but rather what the hell is using up the space issue. My /var file system shows: /dev/amrd0s1e 9.8G 4.8G 4.2G53%/var A du -h of /var shows a total of 616M data only. First thing that came to mind is some process which is holding onto data so I tried restarting various daemons - cyrus, imapd, exim, apache and still no change. I've checked with fstat and lsof to see if I can see anything suspicious but nothing out of the ordinary shows up. I find lsof very helpful in this case. It even tells you the sizes of deleted files that are still held open by which process. Baring in mind this is a production mail server with about 60 000 accounts, does anyone have any other suggestions which I might try ? I could just boot into single user mode and back out which will probably solve my problem now but for obvious reasons I would like to know what is causing the added usage of /var. I'm running 4.10 currently but plan to update that to 4.11 if I have to reboot. Thanks for your reply. Regards, Nelis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple serial loopback
On Thu, Jan 27, 2005 at 10:00:40AM +0100, Florian Hengstberger wrote: Hi list! I'm currently trying to setup my box for simple data transfer to a microcontroller via the serial interface. Therefore I've wired a nullmodem cable and as a first test I was trying to connect from cuaa0 to cuaa1 simply by Generally you shouldn't need a null modem for a microcontroller, just a regular cable. That's because it's expected to be a slave to a PC, I think the technical term is Data Set, which is just like a regular modem is a Data Set, where a PC is a master or Data Terminal. So PC to PC you need a null modem since it's Data Terminal to Data Terminal. For monitoring my tty I find minicom or cu -l /dev/cuaa0 to work just fine. xterm1: cat /dev/cuaa0 xterm2: echo Something /dev/cuaa1 Unfortunatly cat exits with 0 after the first echo although it displays the message correct, so I have to cat /dev/cuaa0 everytime I send something. Why is this? Is there a better way to keep track of the ascii-chars sent over a serial connection? Kermit and minicom seem to be some sort of monster for real serial connection (initialisation ...) which is a bit to much for me. In the end I just wan't to see the chars sent over the cabel and wan't to reply to them by typing on the keyboard, that's it! Thanks in advance Florian PS: Maybe a simple shell/perl script can help, should I focus on that? -- Linux/BSD: The daemons are not longer just in my head! -- Florian Hengstberger [EMAIL PROTECTED] http://stud3.tuwien.ac.at/~e0025265 -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MAC Address
I have a firewall running on a FreeBSD 4.10-STABLE with ipfw. My firewall is working very well, but i started to log the rules and somethig strange appears in the log Jan 28 10:44:15 host /kernel: ipfw: 880 Accept MAC in via fxp1 Jan 28 10:44:15 host /kernel: ipfw: 880 Accept MAC in via fxp1 Jan 28 10:44:15 host /kernel: ipfw: 880 Accept MAC in via rl1 Jan 28 10:44:15 host /kernel: ipfw: 880 Accept MAC in via rl1 Jan 28 10:44:16 host /kernel: ipfw: 880 Accept MAC in via fxp1 what is it ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Witch apache, mysql and php do i need ?
On Fri, Jan 28, 2005 at 09:09:42AM +0100, Gert Cuykens wrote: On Fri, 28 Jan 2005 08:46:09 +0100, christophe ollier [EMAIL PROTECTED] wrote: It seems your ports index is missing. I think you can try this to make another one : cd /usr/ports make fetchindex portsdb -u woh :) 7rxI# make pretty-print-run-depends-list This port requires package(s) apache-1.3.33_1 expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_4 jpeg-6b_3 mysql-client-4.0.23a openssl-0.9.7e_2 pdflib-6.0.1_1 pecl-pdflib-2.0.4 perl-5.8.5 php4-4.3.10_2 php4-bz2-4.3.10_2 php4-gd-4.3.10_2 php4-mysql-4.3.10_2 php4-openssl-4.3.10_2 php4-pcre-4.3.10_2 php4-zlib-4.3.10_2 pkgconfig-0.15.0_1 png-1.2.8 t1lib-5.0.1,1 xorg-libraries-6.8.1_1 to run. 7rxI# still see apache-1.3.33 doh aldo i said in make.cong to pic 2.1 ? Ah -- yes. That's because the INDEX-5 you download by doing 'make fetchindex' is built using the default settings /only/. You can build your own index, which should reflect your local configuration changes, but that will take some time and thrash your disk drive a bit. For instance, on my system with a slightly different list of make.conf settings I get: % cd /usr/ports/databases/phpmyadmin/ % make pretty-print-run-depends-list This port requires package(s) apache-2.0.52_4 expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_4 jpeg-6b_3 libiconv-1.9.2_1 libxml2-2.6.17 mysql-client-4.1.9 pdflib-6.0.1_1 pecl-pdflib-2.0.4 perl-5.8.5 php5-5.0.3_2 php5-bz2-5.0.3_2 php5-gd-5.0.3_2 php5-mysql-5.0.3_2 php5-openssl-5.0.3_2 php5-pcre-5.0.3_2 php5-zlib-5.0.3_2 pkgconfig-0.15.0_1 png-1.2.8 t1lib-5.0.1,1 xorg-libraries-6.8.1_1 to run. Building your own index can be done via several means: 'make index' is the standard, but it takes a bit of time. Not to blow my own trumpet too much, but see also the sysutils/p5-FreeBSD-Portindex port. However, worrying about what the index contains is really a bit of a diversion. The true test is just to try some actual software downloading and building. Try: # make fetch-recursive which will attempt to download all of the various bits of source code needed to build the port and anything else not yet installed on your machine that it depends on. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgp6B84jX0Jom.pgp Description: PGP signature
Re: READ_DMA timed out on Promise FastTrak100
-- quoting [EMAIL PROTECTED] -- However, when I boot FreeBSD, the system reports READ_DMA errors on the second drive, and the array reports a degraded state. I can still mount it, and both drive lights flash when accessing the volume. I had similar problems with my SATA RAID controller, lots of DMA errors. Looks like a bug in 5.3 -- or is it fixed now? I solved this issue in disabling DMA via sysctl... HTH! Greetings, Matthias -- Marge, tell Bart I just want to drink a nice glass of syrup like I do every morning. -- Homer Simpson Lisa the Vegetarian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenLDAP doesn't start
Hello, when I try to start the slapd daemon, it fails with this error message: /libexec/ld-elf.so.1: /usr/local/libexec/slapd: Undefined symbol ldap_pvt_sasl_mutex_new I installed it from FreeBSD ports collection, and I rebuilt my library cache with ldconfig, but this error is still exist. What can I do now? Cheers, Gbor Kvesdn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing phpMyAdmin
On Thu, Jan 27, 2005 at 01:17:38PM -0800, Curtis Vaughan wrote: Well, I wanted to remove phpMyAdmin from my 5.3 server. Usually I would just go to the port location under /usr/ports/ and type make deinstall. However, phpMyAdmin apparently isn't here anymore. I don't even know exactly where it should be be but judging by freebsd's website, it should be under /usr/ports/www/ but it's not. In fact a locate and find for phpMyAdmin turns up nothing in the /usr/ports/ directory, except under /usr/ports/distfiles which is, of course, not what I need. /usr/ports/databases/phpmyadmin Has phpMyAdmin been removed or has an update of ports gone astray? Not to my knowledge, and I should know 'cos I'm the maintainer. It's possible you've fubared a ports cvsup -- using one of the system CVS tags is a common error -- but you'ld tend to notice that because the effect would be to delete virtually all of the files from under /usr/ports. Hold on a minute -- didn't I already answer this e-mail a few days ago? Deja-vu all over again... Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgpCpkgtZsTum.pgp Description: PGP signature
Re: OpenLDAP doesn't start
Hi, Try install from source tar.gz ball. Simon Kövesdán Gábor [EMAIL PROTECTED] wrote: Hello, when I try to start the slapd daemon, it fails with this error message: /libexec/ld-elf.so.1: /usr/local/libexec/slapd: Undefined symbol ldap_pvt_sasl_mutex_new I installed it from FreeBSD ports collection, and I rebuilt my library cache with ldconfig, but this error is still exist. What can I do now? Cheers, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Keep compile options through upgrade
Olivier Certner said the following on 1/28/2005 4:00 AM: Thanks for these 2 answers. I didn't have seen this file mentioned in the portupgrade manpage, so I could have been searching for a while before finding... Quite welcome..hope it helped! :) Best, G. -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~Benjamin Franklin, Historical Review of Pennsylvania, 1759 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
enable linux compatibility
Hai I tried to enable linux compatibility on my freebsd (5.3 Release)kernel by adding 'options COMPAT_LINUX' in my kernel config file and recompiled the kernel using this file.But even after, this is not enabled. kldstat o/p shows as # kldstat Id Refs AddressSize Name 13 0xc040 5ef620 kernel 2 14 0xc09f 537f0acpi.ko The 'linux' command also not found. What may be the problem? Sarav __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: OpenLDAP doesn't start
Hi, I've tried since the previous post, but it fails due to the bdb. Some ports have installed different bdb versions as a dependency, but now there's only one bdb installed, I've removed the older versions. The configure script wrote this: configure: error: BDB/HDB: BerkeleyDB version incompatible Anyway, I don't know, what hdb is. Cheers, Gbor Kvesdn From: simon butsana [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 2:04 PM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: Re: OpenLDAP doesn't start Hi, Try install from source tar.gz ball. Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 interrupt storm (atapicam) and I/O error
I don't know whether this is related to your issue, but on one of my boxes I am also getting an interrupt storm with atapicam enabled. On FreeBSD 5.2.1 I did not experience any interrupt storm issues, even if using the same hardware configuration. Have a look at the attached text file for a detailed description ... Olivier Certner schrieb: Hi, Could you give a look at my post dated 04/01/2005 entitled Freeze with CAM (using KsCD)? Maybe we have fallen on the same kind of bug concerning atapicam. If you have KDE, maybe you should try to reproduce the problem I had. I've no time to test your scenario (the one with the EIDE drive, I don't have SCSI) now, but I'll try to reproduce it at the beginning of next week, in order to see if the freeze happens also on my computer. Hope this will help us to progress on our issues. Regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Mit freundlichen Gruessen / With kind regards DAn.I.El S. Haischt Want a complete signature??? Type at a shell prompt: $ finger -l [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 interrupt storm (atapicam) and I/O error
oops, did forget the tixt file ... Daniel S. Haischt schrieb: I don't know whether this is related to your issue, but on one of my boxes I am also getting an interrupt storm with atapicam enabled. On FreeBSD 5.2.1 I did not experience any interrupt storm issues, even if using the same hardware configuration. Have a look at the attached text file for a detailed description ... Olivier Certner schrieb: Hi, Could you give a look at my post dated 04/01/2005 entitled Freeze with CAM (using KsCD)? Maybe we have fallen on the same kind of bug concerning atapicam. If you have KDE, maybe you should try to reproduce the problem I had. I've no time to test your scenario (the one with the EIDE drive, I don't have SCSI) now, but I'll try to reproduce it at the beginning of next week, in order to see if the freeze happens also on my computer. Hope this will help us to progress on our issues. Regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Mit freundlichen Gruessen / With kind regards DAn.I.El S. Haischt Want a complete signature??? Type at a shell prompt: $ finger -l [EMAIL PROTECTED] Hello, recently I updated one of my FreeBSD boxes to v 5.3. This box got a builtin Promise PDC20269 UDMA133 controller. Actually it's a controller with two IDE channels. So far if using the GENERIC kernel that comes with FreeBSD, I do not experience any problems. If using my own customized kernel I am getting the following error message while booting the system: 888---8-8- Interrupt storm detected on irq10: atapci1; throtteling interrupt source: 888---8-8- After some trail-and-error based investigations, I did figure out that if I don't plugin any device into IDE channel two, the just described error does not occur. So it has something to do with IDE channel two. As an additional note - The controller works under Linux, FreeBSD 5.3 (GENERIC) and FreeBSD 5.2.1 (custom kernel). Any hints on how to solve this issue would be greatly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: image on website
On Fri, Jan 28, 2005 at 12:08:37PM -, Ho, Jia wrote: To whom it may concern: I am a student studying pharmacy at Liverpool John Moores University, UK. I am currently doing my final year project, which involves designing a computer aided learning package (on authorware), on the topic Menstrual cycle, Fertility and Contraception. I saw a cartoon image on the webpage: http://images.search.yahoo.com/search/images/view?back=http%3A%2F%2Fimages.search.yahoo.com%2Fsearch%2Fimages%3Fp%3Dcartoon%2Bhammer%2B%26ei%3DUTF-8%26fr%3DFP-tab-img-t%26fl%3D0%26x%3Dwrth=710w=600imgcurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgimgurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgsize=171.1kBname=daemon_hammer.jpgrcurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlrurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlp=cartoon+hammertype=jpegno=12tt=252,944 and I wish to ask permission to use that diagram in my project for animation purposes. Err -- perhaps you might prefer the (slightly) shorter URL: http://www.freebsd.org/gifs/daemon_hammer.jpg Could you please reply me soon, because if I'm not allowed, I will need to find an alternative. Copyright for the Daemon image belongs to Marshall Kirk Mckusick, and you will need his permission in order to reproduce that image. See: http://www.mckusick.com/beastie/mainpage/copyright.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgprFwJ5SWouj.pgp Description: PGP signature
pci enumeration order
Is there a way (loader variable, hints, etc.?) to change the order which different PCI card ports are enumerated on kernel start? Pete ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: enable linux compatibility
On Friday 28 January 2005 13:39, saravanan ganapathy wrote: Hai I tried to enable linux compatibility on my freebsd (5.3 Release)kernel by adding 'options COMPAT_LINUX' in my kernel config file and recompiled the kernel using this file.But even after, this is not enabled. kldstat o/p shows as # kldstat Id Refs AddressSize Name 13 0xc040 5ef620 kernel 2 14 0xc09f 537f0acpi.ko The 'linux' command also not found. What may be the problem? Sarav You need linux_enable=YES in rc.conf at least. I can't remember if there is more to do. I'm sure someone else can help. -- /Xian Work is the curse of the drinking class Unknown author ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: READ_DMA timed out on Promise FastTrak100
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Matthias F. Brandstetter Gesendet am: Freitag, 28. Januar 2005 13:58 An: freebsd-questions@freebsd.org Betreff: Re: READ_DMA timed out on Promise FastTrak100 -- quoting [EMAIL PROTECTED] -- However, when I boot FreeBSD, the system reports READ_DMA errors on the second drive, and the array reports a degraded state. I can still mount it, and both drive lights flash when accessing the volume. I had similar problems with my SATA RAID controller, lots of DMA errors. Looks like a bug in 5.3 -- or is it fixed now? I solved this issue in disabling DMA via sysctl... I am using a Promise FastTrak100 and I have no problems at all. I tried FreeBSD5.3 Release and the most current RELENG_5. So, no kernel bug, as far as I can tell. Norbert Koch ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: OpenLDAP doesn't start
Hi, Please check the link http://www.freebsd.org/cgi/ports.cgi?query=OpenLDAPstype=all Locate all required dependant packages and install them all from source .tar.gz Simon Kövesdán Gábor [EMAIL PROTECTED] wrote: Hi, I've tried since the previous post, but it fails due to the bdb. Some ports have installed different bdb versions as a dependency, but now there's only one bdb installed, I've removed the older versions. The configure script wrote this: configure: error: BDB/HDB: BerkeleyDB version incompatible Anyway, I don't know, what hdb is. Cheers, Gábor Kövesdán From: simon butsana [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 2:04 PM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: Re: OpenLDAP doesn't start Hi, Try install from source tar.gz ball. Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: image on website
Unless I have misunderstood something and although I have no authority to answering yes or no to your request, why on earth do you need this image? Simon Matthew Seaman [EMAIL PROTECTED] wrote: On Fri, Jan 28, 2005 at 12:08:37PM -, Ho, Jia wrote: To whom it may concern: I am a student studying pharmacy at Liverpool John Moores University, UK. I am currently doing my final year project, which involves designing a computer aided learning package (on authorware), on the topic Menstrual cycle, Fertility and Contraception. I saw a cartoon image on the webpage: http://images.search.yahoo.com/search/images/view?back=http%3A%2F%2Fimages.search.yahoo.com%2Fsearch%2Fimages%3Fp%3Dcartoon%2Bhammer%2B%26ei%3DUTF-8%26fr%3DFP-tab-img-t%26fl%3D0%26x%3Dwrth=710w=600imgcurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgimgurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgsize=171.1kBname=daemon_hammer.jpgrcurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlrurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlp=cartoon+hammertype=jpegno=12tt=252,944 and I wish to ask permission to use that diagram in my project for animation purposes. Err -- perhaps you might prefer the (slightly) shorter URL: http://www.freebsd.org/gifs/daemon_hammer.jpg Could you please reply me soon, because if I'm not allowed, I will need to find an alternative. Copyright for the Daemon image belongs to Marshall Kirk Mckusick, and you will need his permission in order to reproduce that image. See: http://www.mckusick.com/beastie/mainpage/copyright.html Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK ATTACHMENT part 2 application/pgp-signature - Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: enable linux compatibility
--- Xian [EMAIL PROTECTED] wrote: On Friday 28 January 2005 13:39, saravanan ganapathy wrote: Hai I tried to enable linux compatibility on my freebsd (5.3 Release)kernel by adding 'options COMPAT_LINUX' in my kernel config file and recompiled the kernel using this file.But even after, this is not enabled. kldstat o/p shows as # kldstat Id Refs AddressSize Name 13 0xc040 5ef620 kernel 2 14 0xc09f 537f0acpi.ko The 'linux' command also not found. What may be the problem? Saravname of You need linux_enable=YES in rc.conf at least. I can't remember if there is more to do. I'm sure someone else can help. I already added linux_enable=YES in rc.conf. Sarav __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware testing / burn in software
Hi List, Is there any freebsd based p.c hardware / burn in testing software available ? I ask as i am building 3 new servers and want to check all parts ie, mem, hdd, cpu etc before loading on my freebsd. What would be ideal is a micro kernal on a floppy disk or self booting cd with the testing software on the disk, i can only hope :-) Any help or advice is appreciated Thank you in advance Dave C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ISDN connection problems
Ted Mittelstaedt wrote: The problem may very well not be the 3com card. But unless you try swapping with a different ethernet card, you aren't going to have proof that it isn't - unless you stumble across the solution before you get desperate enough to actually try swapping the card. But, since you want to gamble on doing that, good luck to you. I replaced the 3com card with an Intel 82559 Pro/100, but it made no change. So I think I will step back to 4.11R, maybe it solves the problem ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: enable linux compatibility
saravanan ganapathy schrieb: --- Xian [EMAIL PROTECTED] wrote: On Friday 28 January 2005 13:39, saravanan ganapathy wrote: Hai I tried to enable linux compatibility on my freebsd (5.3 Release)kernel by adding 'options COMPAT_LINUX' in my kernel config file and recompiled the kernel using this file.But even after, this is not enabled. kldstat o/p shows as # kldstat Id Refs AddressSize Name 13 0xc040 5ef620 kernel 2 14 0xc09f 537f0acpi.ko The 'linux' command also not found. What may be the problem? Saravname of You need linux_enable=YES in rc.conf at least. I can't remember if there is more to do. I'm sure someone else can help. I already added linux_enable=YES in rc.conf. Sarav If you put options COMPAT_LINUX in your kernel config file, Linux compatibility is already enabled and not shown in the list of loaded kernel modules! kldstat only reports thos modules are enabled as loadable module. With options COMPAT_LINUX' Linuxulator is enabled forever as long as the kernel runs. A more sphisticated way is to run Linuxulator as a kernel loadable module. You should disable options COMAPT_LINUX in your configuration file and change the appropriate tag in /etc/rc.conf.local linux_enable=NO - linux_enable=YES. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ISDN connection problems
Norbert Koch wrote: Ok, here are the differences to my configration: [snip...] I tried your kernel configuration, replaced the ethernet card, removed the set filter statements from the ppp config, but still: No buffer space available Hopefully 4.11 can solve the problem with my isdn ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware testing / burn in software
Hi List, Is there any freebsd based p.c hardware / burn in testing software available ? Someone suggested this to me when I had a suspected hardware problem earlier this month: http://www.memtest86.com/ cali ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
AW: enable linux compatibility
I tried to enable linux compatibility on my freebsd (5.3 Release)kernel by adding 'options COMPAT_LINUX' in my kernel config file and recompiled the kernel using this file.But even after, this is not enabled. kldstat o/p shows as # kldstat Id Refs AddressSize Name 13 0xc040 5ef620 kernel 2 14 0xc09f 537f0acpi.ko If you compile linux emulation into the kernel you don't see a linux.ko. The 'linux' command also not found. What linux command? See linux(4). You should also install the linux process file system linprocfs(5). And you need to install the linux_base port. What may be the problem? Sarav You need linux_enable=YES in rc.conf at least. I can't remember if there is more to do. I'm sure someone else can help. -- /Xian Work is the curse of the drinking class Unknown author ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware testing / burn in software
Dave Carrera schrieb: Hi List, Is there any freebsd based p.c hardware / burn in testing software available ? I ask as i am building 3 new servers and want to check all parts ie, mem, hdd, cpu etc before loading on my freebsd. What would be ideal is a micro kernal on a floppy disk or self booting cd with the testing software on the disk, i can only hope :-) Any help or advice is appreciated Thank you in advance Dave C For testing and stressing CPU/Cahce/memory interface look at /usr/ports/sysutils/cpuburn. For memory testing purposes /usr/ports/sysutils/memtest and /usr/ports/sysuitls/memtest86 is very useful, I would prefer latter due to an ISO image for autostart. For other purposes and device's testing I do not know any tool (under UNIX like FreeBSD), maybe bonny for harddrives? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adding a partition
I left about 26GB free on my 80GB hard drive. Having found a use for that space, I now want to add a partition. I've not added one by hand, and /stand/sysinstall gives me a 'cannot write to ...' message, so I want confirmation that what I'm about to do won't crump on me. ;] System is two 80GB ATA hard drives on a 'Promise PDC20269 UDMA133 controller' (according to dmesg), with one on each channel (both master). I'm running software raid using atacontrol. My current partition table follows: #v+ dave[tigger]~ sudo bsdlabel ar0s1 # /dev/ar0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD 2048 16384 8 b: 2097152 1048576 swap c: 1562963220unused0 0 # raw part, don't edit d: 73400320 304087044.2BSD 2048 16384 28544 e: 2097152 31457284.2BSD 2048 16384 28552 f: 12582912 52428804.2BSD 2048 16384 28552 g: 12582912 178257924.2BSD 2048 16384 28552 #v- To use up the unused space, I believe I need to add the following line: #v+ h: 52487298 1038090244.2BSD 2048 16384 28552 #v- Could someone who's done that before confirm whether that looks right? Regards, -- dave [ please don't CC me ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lots of apache httpsd processes in sbwait
Are you running mod_perl or php or something? Yep! mod_perl and php ... I'm thinking of breaking all that out: one main httpd config which runs all static sites, and uses mod_rewrite to forward to other httpd servers on different ports for the mod_perl and php sites... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
In-Reply-To=200501071230.59428.personrp@hotpop.comSubject=GTK%20error%20with%20SciTE.
High, I had the same problem, then made a complete new-install without GTK 2! option and this works. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: enable linux compatibility
saravanan ganapathy [EMAIL PROTECTED] writes: Hai I tried to enable linux compatibility on my freebsd (5.3 Release)kernel by adding 'options COMPAT_LINUX' in my kernel config file and recompiled the kernel using this file.But even after, this is not enabled. kldstat o/p shows as # kldstat Id Refs AddressSize Name 13 0xc040 5ef620 kernel 2 14 0xc09f 537f0acpi.ko Right. You installed it directly into your kernel, instead of as a kernel module. Therefore, it does not show up in a list of kernel modules. The 'linux' command also not found. Not needed. What may be the problem? You haven't tried anything that *uses* the linux compatibility. What do you want it for? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 interrupt storm (atapicam) and I/O error
Greetings, My problem might be slightly different than yours. My system hangs during the boot process whenever I boot a kernel with atapicam enabled. A can't do anything but reboot the box at that point. Maybe this is a good time to learn to use the kernel debugger. When I get home this evening I'll try a few more things. This problem didn't happen in 5.2.1. Thanks! -- Randall D. DuCharme (Radio AD5GB) Powered by FreeBSD! The Power to Serve --- On Fri 01/28, Olivier Certner [EMAIL PROTECTED] wrote: From: Olivier Certner [mailto: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Fri, 28 Jan 2005 10:05:30 +0100 Subject: Re: 5.3 interrupt storm (atapicam) and I/O error Hi,brbr Could you give a look at my post dated 04/01/2005 entitled Freeze with CAM br(using KsCD)? Maybe we have fallen on the same kind of bug concerning bratapicam.brbr If you have KDE, maybe you should try to reproduce the problem I had. I've no brtime to test your scenario (the one with the EIDE drive, I don't have SCSI) brnow, but I'll try to reproduce it at the beginning of next week, in order to brsee if the freeze happens also on my computer.brbr Hope this will help us to progress on our issues.brbr Regards,brbr Olivierbr___brfreebsd-questions@freebsd.org mailing listbrhttp://lists.freebsd.org/mailman/listinfo/freebsd-questionsbrTo unsubscribe, send any mail to [EMAIL PROTECTED]br ___ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
disklabel missing on a raid-5
Hi, I'm having a serious problem with one of my freebsd 4.6-R box. I have always used Freebsd to run my database servers and I've never had such a problem. If anyone knows the solution to my problem below, please let me know because I have some really important data that I badly need. Short story: Someone booted a database server by accident, it won't boot up and got hang up right after post (where the /|\ spinning supposedly begins) so that person booted it again, and again. (three times in total I think). Anyway, since it won't boot up at all, I've decided to install a IDE HD with Freebsd 4.6 on it, boot up the server and attempt to retrieve the database backups from the messed-up raid-5 HDDS that I stored in a /usr/home/backup folder. dmesg says: da0 at asr0 bus 0 target 0 lun 0 da0: ADAPTEC RAID-5 380E Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 70006MB (143372288 512 byte sectors: 255H 63S/T 8924C) Looks good. So I go #mount /dev/da0s1 /mnt It returns: Jan 28 23:22:31 /kernel: da0: cannot find label (no disk label) Jan 28 23:22:31 /kernel: da0s1: cannot find label (no disk label) And I am able to cd to mnt and read everything, but /usr and /var (that's where the data reside) are empty. Then I tried: #fdisk da0 and it returns *** Working on device /dev/da0 *** parameters extracted from in-core disklabel are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=8924 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 143363997 (70001 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED So I tried: # disklabel da0s1 disklabel: ioctl DIOCGDINFO: Invalid argument # disklabel da0 disklabel: ioctl DIOCGDINFO: Invalid argument Is my disklabel missing, and that's why the raid-5 HDDs won't boot up and won't let me mount '/usr' and '/var'? Since the etc directory is accessible I can even access the old '/etc/fstab' and '/etc/disktab', would that help? All I need is to be able to mount /usr and /var and copy the data out to my IDE HD, whether the Raid-5 sys can ever boot up again is secondary. Here's '/etc/fstab' (well '/mnt/etc/fstab'): /dev/da0s1b noneswapsw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1f /usrufs rw 2 2 /dev/da0s1e /varufs rw 2 2 /dev/da0s1g /wwwufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 proc/proc procfs rw 0 0 Also, as a freaked out person desperatly trying to restore the data I tried to mount the slices. I tried: #mount /dev/da0s1f /mnt and it returns mount: /dev/da0s1f on /mnt: incorrect super block If anybody has any idea on how that can be done, please let me know; If any extra info is needed, please let me know and I'll provide them as much as possible. Thanks in advance. _ Get 10Mb extra storage for MSN Hotmail. Subscribe Now! http://join.msn.com/?pgmarket=en-hk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adding a partition
I left about 26GB free on my 80GB hard drive. Having found a use for that space, I now want to add a partition. I've not added one by hand, and /stand/sysinstall gives me a 'cannot write to ...' message, so I want confirmation that what I'm about to do won't crump on me. ;] System is two 80GB ATA hard drives on a 'Promise PDC20269 UDMA133 controller' (according to dmesg), with one on each channel (both master). I'm running software raid using atacontrol. My current partition table follows: #v+ dave[tigger]~ sudo bsdlabel ar0s1 # /dev/ar0s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD 2048 16384 8 b: 2097152 1048576 swap c: 156296322 0unused0 0 # raw part, don't edit d: 73400320 304087044.2BSD 2048 16384 28544 e: 2097152 31457284.2BSD 2048 16384 28552 f: 12582912 52428804.2BSD 2048 16384 28552 g: 12582912 178257924.2BSD 2048 16384 28552 #v- To use up the unused space, I believe I need to add the following line: #v+ h: 52487298 1038090244.2BSD 2048 16384 28552 #v- Could someone who's done that before confirm whether that looks right? That looks correct to me, though I wonder why you made a d: partition out of order in there. In FreeBSD 4.xx disklabel, you can just put a '*' in for the size and it will make a partition of all remaining unpartitioned space. I don't have a 5.xx bsdlabel handy, but would be surprised if it didn't offer that feature. You will need to be booted in such a way as nothing on that slice is mounted to be able to write the new label, I believe. jerry Regards, -- dave [ please don't CC me ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing INDEX file in Ports
On Friday 28 January 2005 03:34 am, you wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael C. Shultz Sent: Friday, January 28, 2005 3:16 AM To: freebsd-questions@freebsd.org Subject: Re: Missing INDEX file in Ports yeah, but including it would be easier for alot of people. Especially people who are using a slower computer. I agree make index is no fun on a slow computer, but if space is a problem is it really a good idea to put generated files on the CD? INDEX has been included with every CDROM pressing of FreeBSD 4.x previously. And this will be the last 4.X pressing. So, it must have required a really severe space crunch to justify this significant of a deviation. Now, lets's see here: Disc 1 of FreeBSD 4.11 KDE is 647MB Disc 1 of FreeBSD 4.11 Gnome is 576MB The INDEX file is 6MB A cdrom holds 660-700MB of data And I won't even go into the thousands of dollars of network costs involved in fetching a 6Mb index file over the Internet for everyone that could have been included on the CD. Ted I'm out of excuses after seeing the numbers you posted. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: One-line global string replace in all files with sed (or awk?)
On 2005-01-28 12:04, Anthony Atkielski [EMAIL PROTECTED] wrote: Giorgos Keramidas writes: grep will do. You just have to pass it the right option: find . -type f | xargs grep -l 'foo' | \ xargs sed -i '' -e 's/foo/bar/g' When passed the -l option (this is a lowercase 'EL'), it will not print the matched lines. Only the name of the files that *do* match. Then, once you have a list of files that really do match with 'foo' as a pattern, you can xargs sed on the list to substitute whatever you want :-) It's interesting that there are multiple ways to do this in FreeBSD, whereas I've never found a way to do it in Windows, even with the fancy Visual InterDev I've been using for several years (it will _search_ for strings in multiple files, but it won't do replacements, so you have to search and then edit each file by hand--try doing this several hundred times, several times in a row sometime!). I honestly feel pity for the Windows using friends I have in cases like this. A typical example is when they start writing File Renamers, to mass rename collections of files (i.e. mp3 audio) and start being bitten by bugs in the renamer itself. Another typical example is what I call the robo-user. A person who starts training his fingers and/or brain to repeatedly hit the same sequence of keys in the keyboard, in an effort to rename dozens of files within Explorer. Writing shell scripts to do the job is not necessarily easier, since you have to learn the tools that are available and learn all about the ways they can be glued together, before becoming *really* productive. It pays a thousand times back though, when you start doing in a couple of lines what would take hours of error-prone, manual labor. This is why I have been heard saying: Unix is for lazy people. So lazy, in fact, that they start learning languages and tricks to avoid as much work as possible, by making their computers do it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: image on website
To whom it may concern: I am a student studying pharmacy at Liverpool John Moores University, UK. I am currently doing my final year project, which involves designing a computer aided learning package (on authorware), on the topic Menstrual cycle, Fertility and Contraception. I saw a cartoon image on the webpage: http://images.search.yahoo.com/search/images/view?back=http%3A%2F%2Fimages.search.yahoo.com%2Fsearch%2Fimages%3Fp%3Dcartoon%2Bhammer%2B%26ei%3DUTF-8%26fr%3DFP-tab-img-t%26fl%3D0%26x%3Dwrth=710w=600imgcurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgimgurl=www.freebsd.org%2Fgifs%2Fdaemon_hammer.jpgsize=171.1kBname=daemon_hammer.jpgrcurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlrurl=http%3A%2F%2Fwww.freebsd.org%2Fde%2Fplatforms%2Famd64.htmlp=cartoon+hammertype=jpegno=12tt=252,944 and I wish to ask permission to use that diagram in my project for animation purposes. Could you please reply me soon, because if I'm not allowed, I will need to find an alternative. Someone else has answered your specific question, but I can't help but wondering how an image of Beastie (BSD) swinging a large rubber mallet fits in your project on menstrual cycles, fertility and contraception. My guesses might be a bit far afield. jerry Thank you very much for your attention. Yours Sincerely, Yvonne Ho ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UT2004 on FreeBSD
On Friday 28 January 2005 05:25, Loren M. Lang wrote: On Fri, Jan 28, 2005 at 11:15:38AM +0100, Jorn Argelo wrote: On Thu, 27 Jan 2005 22:31:33 -0800, Loren M. Lang wrote On Thu, Jan 27, 2005 at 08:50:19PM -0800, Loren M. Lang wrote: I know there were some people on the list asking about running Unreal Tournament 2004 on FreeBSD a while back. Mainly, the c++ libraries were what was missing in linux_base. Now that linux_base-rh9 is out, all the required libraries are easy to install. Also, x11/linux-XFree86-libs will be needed. I have UT2004 running in freebsd, but some of the images and player models don't show up and, while the mouse works in the menus, once I get in game, I can't do anything. Any ideas on how to fix this? It seems the keyboard doesn't work either once I'm in game except for alt-enter when windows the screen from fullscreen. It's like it's not able to access the keyboard or mouse using what ever raw access it's trying to do, but they both work elsewhere when it's just using the regular X protocol to access them. I'm using linux_base-7.1, and I don't have linux-XFree86-libs installed either (Perhaps that's not required since I'm use x.org.) And UT2004 works just fine with me. Though the performance is somewhat worse then it was at Windows, but that's probably because of the Nvidia drivers. Of course, one should not expect too much from an GeForce 4 MX440 :) When I was using linux_base-7 I had several linux programs missing certain versions of libstdc++ libraries. The installed version was something like libstdc++.so.3 and the program needed something like libstdc++.so.9. Since I installed linux_base-rh-9, they now run, though UT2004 has problems in-game. Before I upgraded linux_base, it didn't even start. Also, linux-XFree86-libs isn't needed for linux_base-7, there already part of it, but they seperated it out for rh-9 I guess. And UT2004 runs just fine in Linux with my GeForce4 MX440 and since Doom 3 runs pretty good in both linux and freebsd with my geforce 4, I'd say the nvidia drivers are probably pretty good. Jorn Where can I get the installer? -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: modify existing partitions - newbie
# raw part, don't edit d: 41943040 419430404.2BSD 2048 16384 28552 Is it the correct way to delete the partitions? First guess is not having permission. It should be done in single user mode. Second guess is the partition you want to delete is mounted. I have never tried to modify partitions on the disk with root on it, so maybe that presents special problems. You may need to boot from something else - live CD for example. Now I tried to create new partitions on the free space of the existing slice in single mode, but I am getting the same error as 'unable to write data on ad0' . I am doing this in root user only. What are all the permissions should I have for this? Or please suggest me to create a partition in another way? As I say, I have never tried to modify partitions on the root/boot disk currently being used. I suspect that, since the root partition of that disk is mounted, you will not be able to write in the label even for other not-currently mounted partitions on that disk. You may have to boot from some other device, either another disk or a live CD or fixit floppy in order to work on that particular disk label. Maybe someone else on the list knows for sure.j jerry Sarav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does FreeBSD access NetBSD, OpenBSD?
I have FreeBSD, OpenBSD, and NetBSD on the same hard drive of my system. How can I mount the NetBSD or OpenBSD partitions from FreeBSD? Slice 1 - Ext3fs for data between linux/bsd Slice 2 - OpenBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 3 - FreeBSD slice with 4 ufs partitions and swap (a,b,d,e,f) Slice 4 - Extended slice composed of: Slice 5 - NetBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 6 - Unformatted as of yet. Hmmm, First thing I see is that only 4 slices are allowed on a drive. FreeBSD is, of course running fine, but I can't see any of the other slices/partitions on the drive including the ext3fs partition. $ ls /dev/ad1* /dev/ad1/dev/ad1s3 /dev/ad1s3c /dev/ad1s3f /dev/ad1s6 /dev/ad1s1 /dev/ad1s3a /dev/ad1s3d /dev/ad1s4 /dev/ad1s2 /dev/ad1s3b /dev/ad1s3e /dev/ad1s5 I can seem to access all the linux partitions on my first drive ad0, but that drive is only linux so there are no complex partitions in slices like on ad1. I would expect that the nature of geom, I should be able to access all the partitions fine, but I might be missing something. Next question may be too obvious, but did you mount the other slices or put them in /etc/fstab? But, I bet it is the 4 slice limit per device that is the issue. jerry -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sound issues
Hello! I'm have been using FreeBSD 5.3 since the day it was officially released, altough I had little experience with Unix-based OS before it. I have found that the enviroment provided by FreeBSD is perfect for my work, but I'm trying to get decent multimedia experience either. So to the point - I have the Epox 8RDA+ Pro mainboard with the following onboard audio : 6-CH audio from onboard RealTek ALC65x AC'97 v2.3 compliant CODEC. I'm currently using the ich_snd driver. I get sound via it, but it is far from being good, not to mention perfect... With the stereo output I'm fine, I can live without the surround capabilities of the card. But only if the quality of the stereo playback was good - and belive me - it isn't. The basses are awful and it is not caused by some mixer settings, of that I'm certain. If fact the basses are almost missing and the high frequences heavily distorted. I heard that the opensound driver can help but it does not recognize my audio... So I'm asking is there someone using sound device same as mine while getting decent output or should I buy some high quality sound card such as Audigy 2 for which I know there are some nice drivers. And one more question regarding the sound - if I get an Audigy 2 sound card will I get the 6.1 surround or I will still be stuck with stereo. I thank you in advance for your responses. Best Regards, Bozhidar Batsov, a devoted open-source enforcer and FreeBSD lover :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
magneto-optical drives
Hi all. I am not sure whether it is the right thread for my kind of question. If it isn't please let me know where to post it. I was wondering if any of the people on this list were able to mount and read (don't need writing) successfully Maxtor magneto-optical drives, or any magneto-optical drive for that matter. Any help would be greatly appreciated. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hardware testing / burn in software
On Fri, Jan 28, 2005 at 03:37:32PM +0100, O. Hartmann wrote: Dave Carrera schrieb: Hi List, Is there any freebsd based p.c hardware / burn in testing software available ? I ask as i am building 3 new servers and want to check all parts ie, mem, hdd, cpu etc before loading on my freebsd. What would be ideal is a micro kernal on a floppy disk or self booting cd with the testing software on the disk, i can only hope :-) Any help or advice is appreciated Thank you in advance Dave C For testing and stressing CPU/Cahce/memory interface look at /usr/ports/sysutils/cpuburn. For memory testing purposes /usr/ports/sysutils/memtest and /usr/ports/sysuitls/memtest86 is very useful, I would prefer latter due to an ISO image for autostart. For other purposes and device's testing I do not know any tool (under UNIX like FreeBSD), maybe bonny for harddrives? For a burn-in test, I something like the following to be efficaceous: # cd /usr/src # while true ; do make buildworld buildkernel ; done and leave to compute vigourously overnight. If that can run continuously for 12 hours then you can be pretty confident that your hardware is A-OK. Plus if the magic smoke has not been emitted after 12 hours or so of that, you can be pretty confident you machine will stand up to load. Of course, this might not be exactly what the original poster wants as it does assume you've put at least a minimal install of FreeBSD on the system, together with all of the kernel and system sources. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK pgpQSHecU5avt.pgp Description: PGP signature
Setting up a syslog server to store Fortigate log files
I have a Fortigate firewall which allows me to direct the logs to a remote host (syslog server). I am running FreeBSD 4.9R -- do I simply point my firewall to the IP of my server and the logs will automagically appear in /var/log? The Fortigate is asking for the IP, port, and if I want to store as CSV (I know; personal preference; not important). Sadly, I have never done this before, so please be gentle. :) Thank you, ...D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Poor information in ports UPDATING file
On Fri, Jan 28, 2005 at 11:01:06AM +, Chris Hodgins wrote: 20050126: AFFECTS: users of x11-wm/xfce4 AUTHOR: [EMAIL PROTECTED] Maybe I am just too used to the excellent amount of detail in the UPDATING file usually but this doesn't even offer advice on how to update your plugins. Every UPDATING file entry I have found useful in the past has always had a command you could use to carry out this update plus whether you should update your port first then update the dependencies. Talk to the author, then. Kris pgpa2oD4rhWXF.pgp Description: PGP signature
Re: Missing INDEX file in Ports
On Fri, Jan 28, 2005 at 03:34:46AM -0800, Ted Mittelstaedt wrote: INDEX has been included with every CDROM pressing of FreeBSD 4.x previously. And this will be the last 4.X pressing. So, it must have required a really severe space crunch to justify this significant of a deviation. It was probably just forgotten. Talk to the release engineers. Kris pgpa7NJeJYlkI.pgp Description: PGP signature
Re: How does FreeBSD access NetBSD, OpenBSD?
On Thu, 27 Jan 2005 19:17:33 -0800, Loren M. Lang [EMAIL PROTECTED] wrote: I have FreeBSD, OpenBSD, and NetBSD on the same hard drive of my system. How can I mount the NetBSD or OpenBSD partitions from FreeBSD? Slice 1 - Ext3fs for data between linux/bsd Slice 2 - OpenBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 3 - FreeBSD slice with 4 ufs partitions and swap (a,b,d,e,f) Slice 4 - Extended slice composed of: Slice 5 - NetBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 6 - Unformatted as of yet. FreeBSD is, of course running fine, but I can't see any of the other slices/partitions on the drive including the ext3fs partition. $ ls /dev/ad1* /dev/ad1/dev/ad1s3 /dev/ad1s3c /dev/ad1s3f /dev/ad1s6 /dev/ad1s1 /dev/ad1s3a /dev/ad1s3d /dev/ad1s4 /dev/ad1s2 /dev/ad1s3b /dev/ad1s3e /dev/ad1s5 I can seem to access all the linux partitions on my first drive ad0, but that drive is only linux so there are no complex partitions in slices like on ad1. I would expect that the nature of geom, I should be able to access all the partitions fine, but I might be missing something. [snip] OpenBSD and NetBSD have one single label for the whole disk or all slices, unlike FreeBSD that has a separate disklabel for each slice. See http://www.freebsdforums.org/forums/showthread.php?s=threadid=27859 =Adriaan= ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2004/09/19 02:40:48 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions, -newbies or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm constantly updating it. Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does FreeBSD access NetBSD, OpenBSD?
On Fri, 28 Jan 2005 11:18:55 -0500 (EST) Jerry McAllister [EMAIL PROTECTED] wrote: I have FreeBSD, OpenBSD, and NetBSD on the same hard drive of my system. How can I mount the NetBSD or OpenBSD partitions from FreeBSD? Slice 1 - Ext3fs for data between linux/bsd Slice 2 - OpenBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 3 - FreeBSD slice with 4 ufs partitions and swap (a,b,d,e,f) Slice 4 - Extended slice composed of: Slice 5 - NetBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 6 - Unformatted as of yet. Hmmm, First thing I see is that only 4 slices are allowed on a drive. Not true. In fact, I have 8 slices on one of my drives. The slice entries in the Master Boot Record, wherein they are known as primary partition entries, are four in number, but one of those four can point, instead of to a partition (i.e., slice in UNIX terms), to a chain of logical partition table entries, known collectively as the extended partition. The FreeBSD kernel appears to have no trouble with this at all. The main limitation w.r.t. FreeBSD is that the slice containing the bootable root file system must be a primary rather than a logical. This limitation probably means that FreeBSD's boot loader isn't smart enough to understand and follow the logical partition/slice chain to locate the file system containing the kernel to be loaded. From what I've read, LINUX's LILO boot loader *can* do this. Perhaps the FreeBSD loader will be made smarter someday, but I'd guess that would be a low- priority item on the developer team's to-do list. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
1st security warning: installed zlib version may contain a security bug
I was trying to configure make 'clamav-0.81' when it complained about this: configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stablility issues then! I went to zlib.net, downloaded 1.2.2, did './configure make install clean' Is that all I need to do? This is my first security warning so I want to make sure I'm not missing something obvious. Is there a good What newbies need to know about FreeBSD security out there? TjL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How does FreeBSD access NetBSD, OpenBSD?
On Fri, 28 Jan 2005 11:18:55 -0500 (EST) Jerry McAllister [EMAIL PROTECTED] wrote: I have FreeBSD, OpenBSD, and NetBSD on the same hard drive of my system. How can I mount the NetBSD or OpenBSD partitions from FreeBSD? Slice 1 - Ext3fs for data between linux/bsd Slice 2 - OpenBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 3 - FreeBSD slice with 4 ufs partitions and swap (a,b,d,e,f) Slice 4 - Extended slice composed of: Slice 5 - NetBSD slice with 4 ufs partitions and swap (a,b,e,f,g) Slice 6 - Unformatted as of yet. Hmmm, First thing I see is that only 4 slices are allowed on a drive. Not true. In fact, I have 8 slices on one of my drives. The slice entries in the Master Boot Record, wherein they are known as primary partition entries, are four in number, but one of those four can point, instead of to a partition (i.e., slice in UNIX terms), to a chain of logical partition table entries, known collectively as the extended partition. The FreeBSD kernel appears to have no trouble with this at all. Well, somebody else has already posted a better answer than mine. So, problem solved. But, geez, I would hate to deal with all that much complication on one disk. Extra disks are too cheap to get in to it that deep. jerry The main limitation w.r.t. FreeBSD is that the slice containing the bootable root file system must be a primary rather than a logical. This limitation probably means that FreeBSD's boot loader isn't smart enough to understand and follow the logical partition/slice chain to locate the file system containing the kernel to be loaded. From what I've read, LINUX's LILO boot loader *can* do this. Perhaps the FreeBSD loader will be made smarter someday, but I'd guess that would be a low- priority item on the developer team's to-do list. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cdcontrol fails
Hello FreeBSD friends. I have been learning 5.3 FreeBSD on an old pentium 75 box on the last weeks. The main target for this system is to have a light weight window manager to surf the Internet and read emails. I have even compiled the kernel to include sound drivers. The system works pretty well with the fluxbox wm, links and dillo WEB browsers, and sylpheed for email. This system is the mix result of old hardware I have received from friends, and even a CD-Writer and a spare 4GB hard disk I got from my main computer (as I bought a DVD writer and have another 40GB drive). I has been a great experience to get things working, and learning at the same time. The great problem is that the machine is very slow for compiling :-( Well, the system has got a CD-R and a CD-RW unit. The CD-R unit is an old unit by Goldstar (I do not know what speed it is) and is placed as master. The CD-RW unit is a LG model 3 years old and is s slave. I tried to listen some music CD on the CD-R drive and got the following error messages: #cdcontrol -v -f /dev/acd0 play 1 acd0:FAILURE - PLAY_MSF ILLEGAL REQUEST asc=0x21 ascq=0x00 error=4ABORTED dmesg line for the drive at boot time is: acd0 CDROM GCD-R540C/1.01 at ata1-master BIOSPIO The CD-RW drive works nicely with cdcontrol. If you need more information, I will be pleased to help. Even if you need the CD-R unit for development, it is yours. Thanks. Ramiro. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Java Runtime Environment (JRE)?
On Jan 28, Loren M. Lang wrote: Yea, I'm pretty sure everything will be taken care of automatically for mozilla and firefox to use it automatically, but in case it isn't you need to make sure you have a soft link to the libjavaplugin_oji.so file installed by the port in the firefox plugins directory. Actually, it didn't work this way for me, so I did have to make the symbolic link myself (to the ns610 version of it): % cd ~/.mozilla/plugins % ln -s /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so I guess this sort of makes sense. You may have multiple versions of Java laying around, and perhaps you want to customize that on a per-user basis. -Clint ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
my ntfs_mount disepeared today?
How come i dont have ntfs_mount anymore ? 7rxI# ntfs_mount ntfs_mount: Command not found. 7rxI# has it something to do with the boot.conf ? comon who stole my ntfs toy ? i want it back :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound issues
On Fri, 28 Jan 2005 18:19:32 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello! I'm have been using FreeBSD 5.3 since the day it was officially released, altough I had little experience with Unix-based OS before it. I have found that the enviroment provided by FreeBSD is perfect for my work, but I'm trying to get decent multimedia experience either. So to the point - I have the Epox 8RDA+ Pro mainboard with the following onboard audio : 6-CH audio from onboard RealTek ALC65x AC'97 v2.3 compliant CODEC. I'm currently using the ich_snd driver. I get sound via it, but it is far from being good, not to mention perfect... With the stereo output I'm fine, I can live without the surround capabilities of the card. But only if the quality of the stereo playback was good - and belive me - it isn't. The basses are awful and it is not caused by some mixer settings, of that I'm certain. If fact the basses are almost missing and the high frequences heavily distorted. I heard that the opensound driver can help but it does not recognize my audio... So I'm asking is there someone using sound device same as mine while getting decent output or should I buy some high quality sound card such as Audigy 2 for which I know there are some nice drivers. And one more question regarding the sound - if I get an Audigy 2 sound card will I get the 6.1 surround or I will still be stuck with stereo. I thank you in advance for your responses. Best Regards, Bozhidar Batsov, a devoted open-source enforcer and FreeBSD lover :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] install this http://www.opensound.com/download.cgi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make index
why does make index don't work when you use a refuse file ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Witch apache, mysql and php do i need ?
On Fri, 28 Jan 2005 12:50:24 +, Matthew Seaman [EMAIL PROTECTED] wrote: On Fri, Jan 28, 2005 at 09:09:42AM +0100, Gert Cuykens wrote: On Fri, 28 Jan 2005 08:46:09 +0100, christophe ollier [EMAIL PROTECTED] wrote: It seems your ports index is missing. I think you can try this to make another one : cd /usr/ports make fetchindex portsdb -u woh :) 7rxI# make pretty-print-run-depends-list This port requires package(s) apache-1.3.33_1 expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_4 jpeg-6b_3 mysql-client-4.0.23a openssl-0.9.7e_2 pdflib-6.0.1_1 pecl-pdflib-2.0.4 perl-5.8.5 php4-4.3.10_2 php4-bz2-4.3.10_2 php4-gd-4.3.10_2 php4-mysql-4.3.10_2 php4-openssl-4.3.10_2 php4-pcre-4.3.10_2 php4-zlib-4.3.10_2 pkgconfig-0.15.0_1 png-1.2.8 t1lib-5.0.1,1 xorg-libraries-6.8.1_1 to run. 7rxI# still see apache-1.3.33 doh aldo i said in make.cong to pic 2.1 ? Ah -- yes. That's because the INDEX-5 you download by doing 'make fetchindex' is built using the default settings /only/. You can build your own index, which should reflect your local configuration changes, but that will take some time and thrash your disk drive a bit. For instance, on my system with a slightly different list of make.conf settings I get: % cd /usr/ports/databases/phpmyadmin/ % make pretty-print-run-depends-list This port requires package(s) apache-2.0.52_4 expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_4 jpeg-6b_3 libiconv-1.9.2_1 libxml2-2.6.17 mysql-client-4.1.9 pdflib-6.0.1_1 pecl-pdflib-2.0.4 perl-5.8.5 php5-5.0.3_2 php5-bz2-5.0.3_2 php5-gd-5.0.3_2 php5-mysql-5.0.3_2 php5-openssl-5.0.3_2 php5-pcre-5.0.3_2 php5-zlib-5.0.3_2 pkgconfig-0.15.0_1 png-1.2.8 t1lib-5.0.1,1 xorg-libraries-6.8.1_1 to run. Building your own index can be done via several means: 'make index' is the standard, but it takes a bit of time. Not to blow my own trumpet too much, but see also the sysutils/p5-FreeBSD-Portindex port. However, worrying about what the index contains is really a bit of a diversion. The true test is just to try some actual software downloading and building. Try: # make fetch-recursive which will attempt to download all of the various bits of source code needed to build the port and anything else not yet installed on your machine that it depends on. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK thx is there also a command that just tells you what it is going to download without downloading it ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup doc-all
On Fri, 28 Jan 2005 12:42:35 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-01-28 09:04, Gert Cuykens [EMAIL PROTECTED] wrote: On Fri, 28 Jan 2005 09:51:07 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: Yep. If you think a bit about it, you will see it makes more sense. What is it that you download with src-all? The sources of the system. The doc-all collection downloads the sources of the documentation. aha but all docs will be updated when you do a buildworld right ? Nope. The build of the documentation is not, shall we say, self contained in the base system of FreeBSD. It requires many tools that are not part of the base system. This means buildworld cannot assume that you have all of them, so it doesn't try to build the documentation too. Look at `/usr/ports/Mk/bsd.sites.mk'. It has a huge list of sites where port distfiles are downloaded from. You can tweak this list by setting similar variables in your `/etc/make.conf' file, i.e.: MASTER_SITE_GNU?= ftp://ftp.ntua.gr/pub/gnu/%SUBDIR%/ Note the conditional assignment with ?= there. The 'make.conf' file should very rarely set things unconditionally, with FOO=bar. so basicly you dont have to worry about ports server because it will find the best server by it self ? Basically, yes. Not all the time, but that's the idea. Everything is customizable though, to allow local fixes that make more sense. This is why I set MASTER_SITE_GNU as shown above in my machines -- it makes more sense for machines installed in Greece. The ftp.ntua.gr mirror is usually very up to date and it's one of the fastest Greek FTP servers around. Putting it on the top of the MASTER_SITE_GNU list means that whenever I try to build some GNU tool, ftp.ntua.gr is the first server contacted. If that fails to locate the distfile, the usual list of servers takes over. why does cvsup not work the same way ? Because it wasn't written to do so. There is a utility in ports, sysutils/fastest_cvsup, that may help you find the fastest CVSup server at any given time :-) - Giorgos ok thx :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make index
On Friday 28 January 2005 10:10 am, Gert Cuykens wrote: why does make index don't work when you use a refuse file ? Think of a complex computer program that depends on a number of modules. With the refuse, you have removed some modules that the program needs to build a complete, new version. Since all you are refusing is the structure files and patches, you really don't save that much space. FWIW, if you use fetchindex to download a new INDEX, you don't have to spend a lot of resources building a new index. I timed make fetchindex and found the following. #time make fetchindex INDEX.bz2 100% of 612 kB 83 kBps 0.976u 0.048s 0:08.87 11.3% 146+4723k 1+52io 0pf+0w The 8.87 seconds included the time required to download and unbzip2 INDEX.bz2 into INDEX. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make index
On Fri, 28 Jan 2005 10:26:33 -0800, Kent Stewart [EMAIL PROTECTED] wrote: On Friday 28 January 2005 10:10 am, Gert Cuykens wrote: why does make index don't work when you use a refuse file ? Think of a complex computer program that depends on a number of modules. With the refuse, you have removed some modules that the program needs to build a complete, new version. Since all you are refusing is the structure files and patches, you really don't save that much space. FWIW, if you use fetchindex to download a new INDEX, you don't have to spend a lot of resources building a new index. I timed make fetchindex and found the following. #time make fetchindex INDEX.bz2 100% of 612 kB 83 kBps 0.976u 0.048s 0:08.87 11.3% 146+4723k 1+52io 0pf+0w The 8.87 seconds included the time required to download and unbzip2 INDEX.bz2 into INDEX. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html the problem with downloading it is that it uses default settings for example if you put a index change in the make.conf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
does freebsd has a bit torrent client ?
cant find it in ports ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Firefox about:plugins
I'm running FreeBSD 4.11 (tracking STABLE). I recently installed jdk1,4,2 and firefox. My firefox doesn't have an about:plugins menu item. Did I miss something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: does freebsd has a bit torrent client ?
Gert Cuykens wrote: cant find it in ports There are at least half a dozen in the ports collection. Look harder, they're in ports/net -- Jeremy Faulkner [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: my ntfs_mount disepeared today?
On Fri, 28 Jan 2005 18:33:36 +, Xian [EMAIL PROTECTED] wrote: On Friday 28 January 2005 17:57, Gert Cuykens wrote: How come i dont have ntfs_mount anymore ? 7rxI# ntfs_mount ntfs_mount: Command not found. 7rxI# Would it be mount_ntfs your looking for. -- /Xian Succeed in spite of management unknown author lol :) found it back again :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Firefox about:plugins
you have to type about:plugins into the URL text field, this is the text field where you normaly type URLs such as http:// org ftp:// Steven Friedrich schrieb: I'm running FreeBSD 4.11 (tracking STABLE). I recently installed jdk1,4,2 and firefox. My firefox doesn't have an about:plugins menu item. Did I miss something? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Mit freundlichen Gruessen / With kind regards DAn.I.El S. Haischt Want a complete signature??? Type at a shell prompt: $ finger -l [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]