Re: Possible security hole in FreeBSD 4.8-RELEASE????
On Fri, Apr 23, 2004 at 01:38:47PM +0200, MaXX wrote: Good afternoon, I have installed FreeBSD 4.8Release on a machine to experiment settings before attempting to place them on my server. Due to a problem with the port system on this machine I decided to reinstall only the port system via sysinstall, during the process, I switched to anoter console (ttyv3) and login as root, the password was not asked... You're asked to choose the root password when you first install the system. If you choose not to set it, then the account will have no password. By default you still cannot log in remotely to the root account, or to accounts without passwords. Kris pgp0.pgp Description: PGP signature
Re: updated ports tree
On Fri, Apr 23, 2004 at 07:38:37PM -0600, Danny MacMillan wrote: On Fri, 23 Apr 2004 23:41:36 +, Killermink ! [EMAIL PROTECTED] wrote: I see what your saying and i suppose I have two points: 1) Can you install a port without installing the ports tree? Ports can not be installed without first being built, and the ports tree is what enables you to build a port. Short answer: no. Somewhat longer answer: If your concern is disk space, in theory it would be possible, I think, to install only that subset of the ports tree required to build the port you are interested in, but that task is non-trivial. Most ports depend on other ports, which themselves depend on other ports, and so on. One of the advantages of the ports tree is that having it available means you do not have to resolve those dependencies manually. I don't think if you install an individual port it would be smart enough to resolve these dependencies automatically (but I've never tried to do it that way). If not, you would have to untar the part of the ports tree containing the port you wish to build, then attempt to install it. Then handle each of the inevitable errors in turn, untarring progressively more of the ports tree until you get it to the point where it will install your port. I don't think this is the best way to go, but I would be interested to know if and how well it works. If you go to http://www.freebsd.org/ports/ you can browse the ports collection online and download individual tarballs for each port. Each port also lists its dependencies so you can see how big of a task you might be letting yourself in for. The portcheckout port is an easier alternative. I am still new at this, and can't seem to find packages for all the ports in the tree... My understanding is this: That there aren't packages for all the ports in the tree, but that there are many more packages available on the ftp site(s) than ship on the CD. If you browse the ports collection online you'll be able to download packages for many (most?) of the ports. If you would really rather not install the ports tree, I'd invest some time in looking for the package you want to install. Odds are pretty good it's available. There are packages for everything that can be packaged automatically and redistributed. If a port is broken, requires manual intervention to build, or may not legally be redistributed, it won't be on the FTP sites. Kris pgp0.pgp Description: PGP signature
Re: updated ports tree
On Sat, Apr 24, 2004 at 09:45:20AM +, Killermink ! wrote: [EMAIL PROTECTED] wrote: Where did you look, and what is missing? I was trying to get a package for XFCE4. Maybe there is no package available due to all the components and dependencies, so I built from source, and then I wanted to create a package so I could install again without using the ports collection. The xfce 4 package certainly is on the ftp site, so I guess you didn't look hard enough or in the right place :-) lftp ftp.freebsd.org:/pub/FreeBSD/ports/i386/packages-4-stable/All ls xfce-4.0.4_1.tgz -rw-r--r-- 1 ftpuser ftpusers 2510 Apr 11 16:18 xfce-4.0.4_1.tgz Kris pgp0.pgp Description: PGP signature
Re: how to update your source tree with amd64?
On Sat, Apr 24, 2004 at 03:24:07PM -0600, Chad Leigh -- Shire.Net LLC wrote: Hi Since cvsup doesn't work and on amd64 platform (ie, running amd64, not just the HW), how do I go about updating my source tree? I wanted to try anaonymous CVS but the host anoncvs.FreeBSD.org as listed in the handbook doesn't seem to exist either... There's a partially working cvsup client somewhere - check the mailing list archives. Most developers cvsup the CVS repository one one machine on their network and use CVS to update the source trees on other machines from there. Kris pgp0.pgp Description: PGP signature
Re: compile signal code
On Tue, May 11, 2004 at 03:57:26PM -0500, Brian Henning wrote: Greetings: I am having trouble compiling some signal related code in freebsd. What is the library I should link to get this to compile? Those are not standard function calls, so the problem is with your code. Kris pgp0.pgp Description: PGP signature
Re: Perl 5.8 upgrade
On Wed, May 12, 2004 at 03:32:24PM -0400, Robert Fitzpatrick wrote: I remember installing a package that said it required Perl 5.6 in the past, but cannot remember which one. I am using this box mainly for Postfix 2.0.16 and amavisd-new with SpamAssassin 2.63 and ClamAV 0.65. I also have OpenLDAP 2.1.29, Heimdal 0.6, Cyrus-SASL 2.1.18 and Cyrus-IMAP 2.1.16 that I am testing some things out with. This is all on FreeBSD 5.2.1. I want to install the rrdtool port, but I see it requires Perl 5.8. Does anyone know if those ports listed above would require 5.6? Check the port. If they're known to be broken, they'll be marked as such. Should I just update the 5.6.1 to 5.8 and do the Perl 5.8 port install? Remove old perl port, install new port, reinstall everything that depended on old port. Kris pgp0.pgp Description: PGP signature
Re: Return Delivery of Mail I've never Sent
On Wed, May 12, 2004 at 11:00:52PM -0400, Bob Perry wrote: Just setup mutt and I've begun to notice mail return to me indicating that it did not pass the server content filter, etc. The last one stated that a virus was found, file name disco.zip, virus name W32/[EMAIL PROTECTED] and apprarently was found by McAfee Scanning Engine (4359/4.3.20). What makes it worse is that the recipient is not recognizable. I understand that my system can be used as a mail relay and would like to know how to combat this. Can anyone point me in the right direction so that I can quickly resolve this issue? Welcome to the 21st century internet. Forged emails from viruses are routine, and misconfigured email systems that complain to the forged sender address are common. Either complain to the administrators of the system that send you the bogus reply or just learn to ignore them. Kris pgp0.pgp Description: PGP signature
Re: Secure NFS: does not compile with Stable?
On Tue, May 11, 2004 at 04:45:31PM +0900, Rob wrote: Hi, I want NFS over secure connection (sNFS). This is available at http://www.math.ualberta.ca/imaging/snfs/ It needs sec_rpc-1.54 compiled on the system, but this fails. It seems to require perl version 5.006 or later, but FreeBSD-Stable comes with perl version 5.005_03. So Stable is almost OK, but not quite. What can I do now? Install perl version 5.006 or later (from the ports collection) :-) Kris pgp0.pgp Description: PGP signature
Re: Secure NFS (sNFS) on 4-Stable: has somebody succeeded?
On Tue, May 11, 2004 at 08:59:55PM +0900, Rob wrote: Hi, I want to have secure NFS on my FreeBSD-4-Stable PC, where a secure tunnel is used for the NFS connection. There seems to be only one webpage for this: http://www.math.ualberta.ca/imaging/snfs/ First step is to install sec_rpc-1.54.tar.gz, which already fails for me. I have upgraded perl from ports, to no avail; and I'm awaiting response from the author of this package. The webpage suggests it should work for FreeBSD, but there's no evidence. So I'm wondering if another FreeBSD-4.X user has been successful in having sNFS installed. If yes, then how to compile the sec_rpc package? Since I already responded to you yesterday, you're going to have to provide more information than last time. You could start by explaining precisely what to no avail means, e.g. what errors are you receiving? Kris pgp0.pgp Description: PGP signature
Re: Cross building ports
On Thu, May 13, 2004 at 05:36:53PM +0100, Daniel Bye wrote: Hi all, Don't know if what I want to do is possible - but there's no harm in asking, eh? I have a central build server running FreeBSD-5.2.1 amd64, which is happily building world/kernel for amd64 and i386. In order to keep everything all on the same machine, I would like to be able to build packages from ports for both platforms. Is this doable? I have checked the mailing list archives, and nothing that seems relevant came back. Can't seem to figure it out from the docs, man pages, handbook etc. Any advice welcome, even if it's no more than get another build box! Thanks for your time, You can't generally cross-build packages for different architectures. Kris pgp0.pgp Description: PGP signature
Re: chkrootkit says 'date' is infected
On Thu, May 13, 2004 at 03:25:44PM -0400, Shaun T. Erickson wrote: I just installed and ran the chkrootkit port on my 5.2.1-RELEASE-p5 system. It says my date command is infected. Nothing else, just that. How can I determine if this is a false positive or if I'm truly hacked? Talk to the chkrootkit developers. Their tool provides so many false positives that they're the ones who should be bearing the responsibility for dealing with user confusion :) Kris pgp0.pgp Description: PGP signature
Re: COPTFLAGS (not?) only for compiling the kernel?
On Thu, May 13, 2004 at 11:29:07PM +0200, platanthera wrote: [/etc/make.conf] ... # To compile just the kernel with special optimizations, you should use # this instead of CFLAGS (which is not applicable to kernel builds anyway). # There is very little to gain by using higher optimization levels, and doing # so can cause problems. # COPTFLAGS= [whatever] ... just the kernel... sounds like COPTFLAGS setting should not effect world or port builds, but apparently it does. It shouldn't, CFLAGS is used for that. Kris pgp0.pgp Description: PGP signature
Re: COPTFLAGS (not?) only for compiling the kernel?
On Fri, May 14, 2004 at 01:12:41AM +0200, platanthera wrote: On Friday 14 May 2004 00:48, Kris Kennaway wrote: On Thu, May 13, 2004 at 11:29:07PM +0200, platanthera wrote: [/etc/make.conf] ... # To compile just the kernel with special optimizations, you should use # this instead of CFLAGS (which is not applicable to kernel builds anyway). # There is very little to gain by using higher optimization levels, and doing # so can cause problems. # COPTFLAGS= [whatever] ... just the kernel... sounds like COPTFLAGS setting should not effect world or port builds, but apparently it does. It shouldn't, CFLAGS is used for that. Kris I'm just compiling koffice and it looks like COPTFLAGS= -O -pipe overrides the koffice defaults (no CFLAGS defined in make.conf). The default CFLAGS value *is* -O -pipe. Kris pgp0.pgp Description: PGP signature
Re: COPTFLAGS (not?) only for compiling the kernel?
On Fri, May 14, 2004 at 01:39:34AM +0200, platanthera wrote: On Friday 14 May 2004 01:09, Kris Kennaway wrote: On Fri, May 14, 2004 at 01:12:41AM +0200, platanthera wrote: On Friday 14 May 2004 00:48, Kris Kennaway wrote: On Thu, May 13, 2004 at 11:29:07PM +0200, platanthera wrote: [/etc/make.conf] ... # To compile just the kernel with special optimizations, you should use # this instead of CFLAGS (which is not applicable to kernel builds anyway). # There is very little to gain by using higher optimization levels, and doing # so can cause problems. # COPTFLAGS= [whatever] ... just the kernel... sounds like COPTFLAGS setting should not effect world or port builds, but apparently it does. It shouldn't, CFLAGS is used for that. Kris I'm just compiling koffice and it looks like COPTFLAGS= -O -pipe overrides the koffice defaults (no CFLAGS defined in make.conf). The default CFLAGS value *is* -O -pipe. Kris OK, but it looks like -O overrides -O2 here, right? It depends which comes later in the gcc arguments. And if that's true, how can I make the port build use the ports default instead of the system default? The policy of the ports collection is that all ports should use CFLAGS instead of their own crazy defaults, which are often not appropriate. If you want to compile your ports with -O2 -pipe (recommended against because of compiler or system bugs it sometimes exposes), set CFLAGS=-O2 -pipe. Kris pgp0.pgp Description: PGP signature
Re: COPTFLAGS (not?) only for compiling the kernel?
On Fri, May 14, 2004 at 02:01:15AM +0200, platanthera wrote: Just one last question (slightly getting OT) - are CFLAGS settings on FreeBSD more critical than on Linux? http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html recommends -O3 -pipe -fomit-frame-pointer 'for those who don't want to experiment, want a stable system, but still optimized..' Perhaps Linux users don't mind (or don't notice ;-) strange instability in their systems :-) Kris pgp0.pgp Description: PGP signature
Re: Perl 5.6 vs Perl 5.8 (install)
On Thu, May 13, 2004 at 11:33:27PM -0400, Forrest Aldrich wrote: I have FreeBSD-CURRENT installed and it places Perl-5.6 on the system. It's not clear to me whether it's safe to pkg_delete this in favor of Perl-5.8 (which I want to install). I tried searching the list archive and didn't find anything (yet). Anyone accomplish this? Yes, this is safe. You just have to reinstall any perl modules that were built against perl 5.6, since they will stop working when you remove perl 5.6. Kris pgp0.pgp Description: PGP signature
Re: Perl 5.6 vs Perl 5.8 (install)
On Thu, May 13, 2004 at 11:50:14PM -0400, Forrest Aldrich wrote: Thanks Kris. Does the basic installation of 5.6 have any dependency modules? No, the perl package is self-contained as far as the FreeBSD packages go. I hear there is a way with CPAN to port those over to a new perl installation. Perhaps, but it's easiest just to portupgrade -f -r perl or similar. Kris pgp0.pgp Description: PGP signature
Re: Portsdb Update Error
On Fri, May 14, 2004 at 01:37:31AM -0500, Kevin Greenidge wrote: The thing is I always have the whole Chinese ports collection in my refuse file when I do a cvsup among with a bunch of other stuff so I don't know why this error decides to show itself now. Any help would be appreciated. This is not supported; that's why the error message tells you ensure that you have a *complete* ports collection. Kris pgp0.pgp Description: PGP signature
Re: Cross building ports
On Fri, May 14, 2004 at 09:44:11AM +0100, Daniel Bye wrote: On Thu, May 13, 2004 at 01:04:34PM -0700, Kris Kennaway wrote: You can't generally cross-build packages for different architectures. Kris Rats! That's what I was afraid of. Will have to see if I can get my hands on an i386 package builder... You can always just download the prebuilt packages from the ftp site.. If you really want to use your amd64 machine to build i386 packages, you can boot it in i386 mode (i.e. install a partition with a copy of FreeBSD/i386) and use that to build them. Kris pgp0.pgp Description: PGP signature
Re: X won't upgrade in portupgrade of expat2
On Mon, May 10, 2004 at 03:22:01PM +0200, Christian Hofer wrote: So I tried again only upgrading the X-4-libraries with portupgrade -rf x11/XFree86-4-libraries/ The following output appears. Can somebody make s.th. out of that? Thanks for your help, Chris ... rm -f ks_tables.h makekeys makekeys.o cc -o makekeys -O -pipe -mcpu=pentiumpro -ansi -Dasm=__asm GccWarningOptions -I/usr/ports/x11/XFree86-4-libraries/work/xc -I/usr/ports/x11/XFree86-4-librar ies/work/xc/exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHRE ADS -D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_ NULL -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\lib\ uti l/makekeys.c -L/usr/X11R6/lib -lc_r -Wl,-rpath,/usr/X11R6/lib cc: GccWarningOptions: No such file or directory *** Error code 1 (ignored) Strange. Do you have a stale copy of imake installed on your system (look for it with find(1))? Kris pgp0.pgp Description: PGP signature
Re: X won't upgrade in portupgrade of expat2
On Mon, May 10, 2004 at 03:49:08PM +0200, Christian Hofer wrote: Kris Kennaway wrote: Strange. Do you have a stale copy of imake installed on your system (look for it with find(1))? Kris The only -name imake I could find are: /usr/ports/devel/imake /usr/ports/x11/XFree86-4-libraries/work/xc/config/imake /usr/ports/x11/XFree86-4-libraries/work/xc/config/imake/imake /usr/ports/x11/XFree86-4-libraries/work/xc/config/imake/bootstrap/imake /usr/X11R6/bin/imake OK, and how old is the last one? You have an out of date ports collection (devel/imake was removed a few months ago), so you may have this port installed. Kris pgp0.pgp Description: PGP signature
Re: Scripted fdisk/slice/fs generation?
On Sun, May 09, 2004 at 10:17:50AM +0200, Ruben de Groot wrote: On Sat, May 08, 2004 at 09:48:27PM -0600, Tim Pushor typed: Hi all, I do CPIO style image backups of my FreeBSD systems. In the event that I need to restore one of these backups, I usually use the FreeBSD installation media to fdisk and create filesystems, then mount the new filesystems and restore the CPIO archive. This system works great for me, but I would like to automate the restoration process. I have worked a little with fdisk and disklabel back in FreeBSD 2.x days (and trying early versions of OpenBSD) but wouldn't really know where to start automating that process. ( I do write code, but the thought of trying to use disklabel to read the geometry of the disks, calculate sizes, cylinder boundaries, etc give me a headache ) I would really like to specify minimum sizes of partitions and filesystems, with one having all the excess (rather than having to count cylinders). I've done some searching on Google and havn't really come up with anything conclusive. Can anyone point me in the right direction? Sounds like you want to use sysinstall in batch mode. The manpage sysinstall(8) gives a detailed explanation on how to do this. See also the diskprep port that was committed a few days ago. Kris pgp0.pgp Description: PGP signature
Re: Ports Index Update Error - mail/lmtpd Failure
On Sun, May 09, 2004 at 07:16:02AM -0400, Bob Perry wrote: Was unsucessful at upgrading my ports system Saturday due to a failure during the port index update. More specifically, I received an error message stating that mail/lmtpd file failed. Wanted tp provide an update. CVSup'd my system and upgraded the INDEX (portsdb -uU). Everything went well. Did receive warnings of dup- licate entries of two ports in the INDEX, but apparently nothing major. Yeah, that's expected when you have certain ports installed (e.g. gtk); some ports exist in multiple variants (e.g. with and without gtk support by default), but they detect the installed port and end up with the same name. It's harmless, so you can safely ignore it. Thanks again for your support. Thanks for following up. Kris pgp0.pgp Description: PGP signature
Re: Changing the cpu and rebuilding the world
On Sun, May 09, 2004 at 09:10:30PM +0100, Szymek K. wrote: I've got an old p200mmx box with 160MB of mem running FreeBSD 4.9, it's a mail,web and mysql server just for my home lan. I've recently got hold of an used but working AMD K6-2/333. Still using P200mmx I've changed my make.conf march flags to k6-2 and then I'd built the world and kernel, installed them and changed the cpu to k6-2/333. Now, system runs stable but I am unable to complile anything. gcc gives a lot of errors (sig11, core dumps etc). What did I do wrong ? Processor is not overclocked and the memory was not a problem when running under P200MMX. Also It's not a overheating issue, I've adapted modern Athlon cooler with a proper thermal compound and I've tested it by taring and bziping / a few times .Any ideas anyone ? It really does sound like hardware instability. Kris pgp0.pgp Description: PGP signature
Re: help: Linux Drivers on FreeBSD
On Sun, May 09, 2004 at 05:46:22PM -0700, Mark Jayson Alvarez wrote: Hi, I've installed an internal Smartlink HSP56 Micromodem pci modem on the first pci slot of my H30CF jetway motherboard with(if i'm not mistakem) only one com1 port and a com2 header which i think is just an extra or something. I'm really having a hard time configuring it unlike before when i've installed an external modem. I've went to their actual site(smartlink) and found a driver but it says its only for Linux. I've read that freebsd can run Linux programs(that's why I've swithched to it). My question is, in my case, can I also use Linux drivers so that I can get my internal pci modem working properly or is there something that i can to do to make it work properly? No, compatibility is only at the application level. Kris pgp0.pgp Description: PGP signature
Re: X won't upgrade in portupgrade of expat2
On Mon, May 10, 2004 at 02:44:06PM +0200, Christian Hofer wrote: Hi, I cvsup'ed my ports yesterday and just had to upgrade expat, following the instructions in /usr/ports/UPDATING. But when I try portupgrade -rf textproc/expat2 my computer starts compiling a lot of things and after a while gives back the error, that X could not be updated (thus: 1 package failed, 70 or so skipped). Until now, everything still works fine, (or better: Thunderbird is working again after portupgrading expat) but I'm still worried what the error means. It means that 1 package build failed :-) To diagnose better, you need to look at the output of that package build and report the error message. Kris pgp0.pgp Description: PGP signature
Re: tr A-Z a-z
On Fri, May 07, 2004 at 10:53:01AM +0200, Christoph Kukulies wrote: Strange: I was used to do upper case lower case conversion always like this and it suddenly doesn't work anymore: $ echo Z | tr [A-Z] [a-z] ΓΏ Something locale-related? Kris pgp0.pgp Description: PGP signature
Re: rebuild pwd.db with a script ?
On Mon, May 03, 2004 at 10:30:49AM +0200, Frank Bonnet wrote: Hi I need to rebuild with a shell script (in batch mode) the /etc/pwd.db file from the /etc/master.passwd file each time it is modified by me for internal use. Is there a command that allow to do this ? Thanks a lot. pwd_mkdb Kris pgp0.pgp Description: PGP signature
Re: Where to send binary packages bugs?
On Mon, May 03, 2004 at 07:09:53PM +0300, Kyryll A Mirnenko wrote: Where to send the bugs (e.g. porters faults, not authors) in binary packages? [EMAIL PROTECTED] seems to be source-ports only maillist. First talk to the port maintainer. If you don't hear anything from them, then submit a PR in the usual way. Of course, you should include as much information as possible about the nature of the problem, and preferably include a fix if you have one. Kris pgp0.pgp Description: PGP signature
Re: Fwd: Ports Index Update Error Due to /mail/lmtpd Failure
On Sun, May 02, 2004 at 10:16:47PM -0400, Bob Perry wrote: Previous note had incorrect From: information. Sorry. Bob Perry -- I've learned that whatever hits the fan will not be evenly distributed. FreeBSD 4.9-RELEASE-p2 #0 Date: Sun, 2 May 2004 21:18:55 -0400 From: Bob Perry [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Ports Index Update Error Due to /mail/lmtpd Failure User-Agent: Mutt/1.4.2.1i I went about the weekly process of upgrading my ports system Saturday and was unsucessful at updting the port index because the mail/lmtpd file failed. The process is pretty basic beginning with a backup of /var/db/pkg, followed with pkgdb -Fv, cvsup -g -L 2 -z /etc/cvsupfile, and then portsdb -uU. The error ocurred during the index update and stated that file mail/lmtpd failed. It was followed by Makefile, line 47: You cannot use DB3 and DB4 in the same time. I reviewed the Makefile and saw line 47 but didn't recognize any error. I also ran pkg_info and couldn't locate a lmtpd package. Any advice would be appreciated. You forgot to follow the advice that would have been given to you by make index when it failed (i.e. what information you need to report), but it looks like you either have settings in /etc/make.conf that are causing problems for the build, or you have specified an illegal configuration for the lmtpd port. To fix the latter, go to the mail/lmtpd directory, and do 'make config', and adjust your settings so that only one of db3 and db4 is enabled. Kris pgp0.pgp Description: PGP signature
Re: Diskless with read-only /etc?
On Tue, May 04, 2004 at 11:07:41PM -0600, James Bowman wrote: I'm running a diskless 5.2-CURRENT, and it has a read-only /etc. sshd can't start, because it can't create /etc/ssh/ssh_host_key. I can work around this myself, of course, but is there a better way? See diskless(8) - the standard configuration uses a md-based /etc. Kris pgp0.pgp Description: PGP signature
Re: libgthread error building arts
On Tue, May 04, 2004 at 10:41:23PM -0700, Kent Stewart wrote: On Wednesday 05 May 2004 09:20 am, Redmond Militante wrote: hi i'm having trouble building kde3 on a freshly installed box. the ports tree has been cvsupp'ed, i've portupgraded -rf gettext, and portupgraded -rf textproc/expat2. the kde3 install errors out while installing arts. the error i get is /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_attr_destroy' /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_create' /usr/local/lib/libgthread-2.0.so: undefined reference to 'pthread_attr_init' ... gmake[2] *** [mcopid1] Error 1 gmake[2] Leaving directory '/usr/ports/audio/arts/work/arts-1.2.2/mcopid1' gmake[1] *** [all-recursive] Error 1 gmake[1] Leaving directory '/usr/ports/audio/arts/work/arts-1.2.2/' gmake[1] *** [all] Error 2 *** Error code 2 i've tried to google this one. all i could find were references to people having the same sort of problem while installing other apps, but no solution. anyone know what's going on? Did you search on -current for pthreads and libc_r? You have a mixed setup that is trying to use both and that doesn't work. There are several solutions. One is to use libmap.conf to map them and the other is to rebuild everything that uses pthreads such as gmake, glib, and the rest of the ports. I started out using libmap.conf and eventually did a portupgrade -rRfa. Actually this is a legitimate error that is also showing up on package builds. I reported it to the maintainer earlier today. Kris pgp0.pgp Description: PGP signature
Re: libgthread error building arts
On Wed, May 05, 2004 at 01:07:59AM -0700, Kris Kennaway wrote: Did you search on -current for pthreads and libc_r? You have a mixed setup that is trying to use both and that doesn't work. There are several solutions. One is to use libmap.conf to map them and the other is to rebuild everything that uses pthreads such as gmake, glib, and the rest of the ports. I started out using libmap.conf and eventually did a portupgrade -rRfa. Actually this is a legitimate error that is also showing up on package builds. I reported it to the maintainer earlier today. Apparently it is already fixed; update glib2. Kris pgp0.pgp Description: PGP signature
Re: support platform
On Wed, May 05, 2004 at 06:31:49PM +0800, JAMES WANG wrote: Dear All I am James wang at IBMTaiwan and responsible for IBM xSeries. My question is : Can FreeBSD support IBM high end PC server ( x445, Xeon CPU ) ? Probably, why don't you try it and find out? :) Kris pgp0.pgp Description: PGP signature
Re: Ports Index Update Error - mail/lmtpd Failure
On Wed, May 05, 2004 at 09:42:14AM -0700, Joshua Lokken wrote: * Bob Perry [EMAIL PROTECTED] [2004-05-04 22:04]: Was unsucessful at upgrading my ports system Saturday due to a failure during the port index update. More specifically, I received an error message stating that mail/lmtpd file failed. The upgrade process is fairly basic beginning with a backup of /var/db/pkg, followed with pkgdb -Fv, cvsup -g -L 2 -z cvsupfile, and then portsdb -uU. The error ocurred during the index update and a message followed describing the error stating Makefile, line 47: You cannot use DB3 and DB4 in the same time. I've been using the ports collection happily for a couple of years now, and portsdb -Uu has correctly made me an index once. I believe it's redundant, though, to immediately follow a cvsup with a portsdb -Uu, as the cvsup takes care of the index for you. I wouldn't worry too much; I've seen other folks recommend recvsupping and trying again; It should be ok to ignore it; at least I always have. No, you have to build index yourself if you want it to be up-to-date. Kris pgp0.pgp Description: PGP signature
Re: broken .iso
On Thu, May 06, 2004 at 02:53:34AM +0200, [EMAIL PROTECTED] wrote: Dear sir First I downloaded twice the iso-files once under linux and the other time under windows. Both time I did a md5 check. In both cases the md5 didn't check allright. What is going on here are the files corrupt or is the md5 file wrong. I downloaded OpenDarwin en Peanutlinux and checked them too. Both of them were allright. So blaming it to a corrupted download; I don't think so. Most problably it is the md5 file. You didn't give any details (such as which of the dozens of ISO images you are attempting to download, and which FTP site you downloaded it from), but it's unlikely that ftp.freebsd.org contains corrupted images, since thousands of people have downloaded and verified them. Kris pgp0.pgp Description: PGP signature
Re: any way to recover root password on 5.2
On Thu, May 06, 2004 at 12:28:18PM +0300, Gregory Edigarov wrote: Hello, I forgot root pasword on my just installed server. I've tryed to recover it by going to single user, then doing mount -a; passwd root, but no success. It says entropy device blocking. Dance fandago on keyboard to unlock. what can I do? Type random stuff on the keyboard to generate entropy. Kris pgpxKoOi57ugj.pgp Description: PGP signature
Re: Plod-like tool in ports
On Thu, May 06, 2004 at 02:08:21PM -0700, Joshua Lokken wrote: Does anyone out there use a tool similar to plod for personal logging of administrative tasks? I've looked through /usr/ports/sysutils, and didn't see anything that caught my eye. Perhaps if you explained in more detail what plod does, someone might be able to suggest something. Kris pgpavzjfZ5pUw.pgp Description: PGP signature
Re: help configuring OpenGL
On Sun, May 09, 2004 at 10:19:07AM +1000, Alastair G. Hogge wrote: Hello. Please, once again CC the [EMAIL PROTECTED] when replying main# make all install === mga Warning: Object directory not changed from original /usr/src/sys/modules/drm/mga cc -O2 -pipe -ffast-math -march=pentiumpro -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/modules/drm/mga/../../../dev/drm/mga_drv.c cc1: Invalid option `no-align-long-strings' cc1: unknown C standard `c99' cc1: Invalid option `-finline-limit=8000' *** Error code 1 Stop in /usr/src/sys/modules/drm/mga. *** Error code 1 Stop in /usr/src/sys/modules/drm. main# Sorry, I can't help you. I've never encountered such a problem before. You may need to run a buildworld first, or a make clean in modules/drm or even cvsup FreeBSD 4.9-RELEASE. Looks like you're trying to compile a 5.x module on 4.x. Kris pgpu9sAl9mbiq.pgp Description: PGP signature
Re: COPTFLAGS (not?) only for compiling the kernel?
On Sat, May 15, 2004 at 03:03:31AM +0200, platanthera wrote: quite confusing that uncommenting the example settings in make.conf changes exactly nothing, since these are the (undocumented?) system defaults anyway. probably a doc issue? - or just my stupidity .-) Error in your expectations. It's standard the UNIX world over for the default configuration files to document the default settings. Kris pgpXDX9h6d3xR.pgp Description: PGP signature
Re: du -s causes reboot
On Sat, May 15, 2004 at 04:54:10AM -0500, Eugene Lee wrote: FreeBSD 4.9p7. I have a new Dell PowerEdge 1750 that is giving me fits. I have a ~/src directory containing source tarballs that are unpacked. A du -s ~/src locks up my ssh session and causes it machine to reboot. No entries in /var/log/messages or /var/log/console.info to indicate the problem. No core dumps either. All filesystems (except root) have softupdates enabled. Suggestions to troubleshoot this are appreciated. Rebuilding the kernel now with -g, hope it helps... Try dropping to single-user mode and applying the utility from your domain name :-) It's possible you have filesystem corruption that is causing your kernel crashes. If not, you'll need to capture the panic by enabling crashdumps; see the chapter on kernel debugging in the developer's handbook. Kris pgpP3vg0Tmhf1.pgp Description: PGP signature
Re: Changing /tmplocation?
On Mon, May 17, 2004 at 12:37:36AM +0200, Joachim Dagerot wrote: I have, for some reason, a special partition that mounts to /tmp. Unfortunately this partition is very small, so not seldom do I get problems when trying to extract files etc. My idea is to have /tmp as a normal directory right under /, if that's a bad idea I have a few other disks/volumes where it can reside. My question is: how do I chaneg the /tmp location, when in INIT 5 I'm not allowed, and since this is a server I don't have a keyboard nor a monitor. So I must have it done through telnet (SSH). Is it possible, and what steps must I take? Thanks in advance! The canonical way to specify where temporary files should go is to set the TMPDIR environment variable. Most applications respect this. Kris pgpYoPhuDWSw8.pgp Description: PGP signature
Re: troubleshooting page fault/kernel panic
On Sun, May 16, 2004 at 06:45:09PM -0400, Streiner, Justin wrote: This is a freebsd 5.2.1 system. Sometimes, when copying large amounts of data from the network, the machine will page-fault, spit out some errors and reboot. Any insight as to what could be causing this and what I can do to fix it would be greatly appreciated. I can also provide more details on the hardware if needed. See the developers handbook chapter on kernel debugging on how to provide the required information to begin tracking this down. Kris pgpgpKcSBV2Ic.pgp Description: PGP signature
Re: New work on installer? - Checked by AntiVir DEMO version -
On Mon, May 17, 2004 at 06:03:09PM -0700, Gary Kline wrote: On Tue, May 18, 2004 at 06:38:55AM +0800, Robert Storey wrote: On Mon, 17 May 2004 01:00:37 -0500 [EMAIL PROTECTED] wrote: Has there been any new work on the installer or planned? If not, I would like to help... What about graphical? If you're looking to improve FreeBSD's user-friendliness, more usefual than a GUI installer would be a few network setup tools. To get some idea what I'm talking about, take a look at Slackware's netconfig and adsl-setup tools. These aren't GUI, just ncurses scripts, but very easy to use. When I was a FBSD newbie, one of my most frustrating experiences was having to manually write and modify /etc/ppp/options and /etc/ppp/ppp.conf. I think a lot of newbies get to this point, spend a few frustrating days tearing their hair out, and then give up and go back to Redhat or SUSE. I think we (theBSD's) are losing a lot of serious brain brainpower (and certainly lots of latent high-end talent) by not having a less-headbanging install. I've done it literally dozens of times; I still get flummoxed now and then. What I would do for GUI/curses build/install would have a liberal (much space/slice) as the Default. Then have a lynx or links reader point the new users to a few choice pages if case they want to fine-tune. How much hacking would it take to have our current /stand/sysinstall have a web front end? A lot, probably. If you people really want a new installer for FreeBSD this badly, put your money where your mouth is and set up a fund to pay one or more developers to work full-time on creating one. Kris pgpUH03oHmMeE.pgp Description: PGP signature
Re: threaded processes
On Tue, May 18, 2004 at 10:04:01AM +, john doe wrote: Hi, how can you view process threads on freebsd 4.9? There appears to be no option in ps,top or something in /usr/ports. Under 4.x threading is done in userland, so it is invisible to the kernel. Under 5.x the default is to use kernel-supported threads, which are visible to ps, top, et al. Kris pgpaEfSSPE5k1.pgp Description: PGP signature
Re: FreeBSD mailing lists
On Fri, May 21, 2004 at 07:41:08AM -0400, Mike Jeays wrote: Hi! I have received no messages at all from freebsd-questions, or one or two of the other FreeBSD mailing lists, for about 2 days. Do you know if there is a problem at their end, or has perhaps my ISP decided they are all spam? There's nothing wrong with list delivery at the moment. Check your subscription status with the mailman interface on lists.freebsd.org; perhaps your mail delivery was bouncing and your subscription was suspended. Kris pgpabrR2B8PXy.pgp Description: PGP signature
Re: freebsd on powerpc
On Sat, May 22, 2004 at 01:39:32AM +0200, Thomas May wrote: Hi, i read the old doco from 2002 of the ppc project, and i know opendarwin. But I don?t know exactly if freebsd exists for powerpc or not. I have the pegasos ppc hardware (HYPERLINK http://www.pegasosppc.com/http://www.pegasosppc.com) and like to use it with freebsd Can someone tell me ? It's not yet user-ready. If you're a developer and can help with serious kernel development, talk to the ppc list. Kris pgpfutRb9FCEC.pgp Description: PGP signature
Re: which kinds of AMD work withh FBSD?
On Mon, May 24, 2004 at 09:45:08PM -0700, Gary Kline wrote: Fellow BSD'ers, What kinds of the newer AMD processors worth with FreeBSD? All. Kris pgppXIBCDb21j.pgp Description: PGP signature
Re: cvsup kills /etc/ipf.rules !?
On Tue, May 25, 2004 at 05:57:42PM +0200, Yaraghchi, Stephan wrote: Hi fellows, I was running cvsup on a FBSD 4.9-RELEASE #5 box with the following supfile: *default host=cvsup6.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4_9 *default delete use-rel-suffix *default compress src-all when suddenly all ip connections broke down. Further investigation turned up that /etc/ipf.rules somehow disappeared. Since the default stance in the kernel file is set to deny all the box reacted as expected, though. Any ideas? Sounds very strange. I suspect something else is going on here instead. Kris pgp1JaQDWtIXK.pgp Description: PGP signature
Re: Running FreeBSD 4.9 Jails on a FreeBSD 5.2.1 system
On Tue, May 25, 2004 at 03:38:50PM -0500, Kung Foo Ham[p]?ster wrote: I'm looking at upgrading my main system from FreeBSD RELENG_4 to RELENG_5_2. I'll probably start with a clean sate for the system for that transition. I have a few users who run their own systems on jails on my machine... My question is: When I install FreeBSD 5 on my system can I run those FreeBSD 4 Jails on it and then upgrade them individually without much pressure. I want to have as minimal down time upgrading my system. I'm hoping that I can upgrade my system for a day and then upgrade the jails individually at my leisure. Can this be done? Sort of. Some of the kernel interface tools like ps, netstat, etc. will not run under 5.x since they are tied to the version of the running kernel. If you need these to work within the jail, you can copy the 5.x binaries and necessary support libraries from the outside host into the jail. Other binaries will run fine. Kris pgpapRguIgphl.pgp Description: PGP signature
Re: config is out of sinc
On Tue, May 25, 2004 at 01:40:36PM -0500, Earl Larsen wrote: I installed FreeBSD 4.9-stabel, and used cvs to update everything. And when I tried to build my personel Kernel by using. Make build KERNCONF... it came up with the fallowing : It looks like you've accidentally updated your sources to 5.2-CURRENT. Check your cvsupfile against the sample files provided, and post it here if you need more help. Kris pgpPjbxNM5EwD.pgp Description: PGP signature
Re: config is out of sinc
On Wed, May 26, 2004 at 02:41:21PM -0500, Earl Larsen wrote: On Tuesday 25 May 2004 06:35 pm, Kris Kennaway wrote: On Tue, May 25, 2004 at 01:40:36PM -0500, Earl Larsen wrote: I installed FreeBSD 4.9-stabel, and used cvs to update everything. And when I tried to build my personel Kernel by using. Make build KERNCONF... it came up with the fallowing : It looks like you've accidentally updated your sources to 5.2-CURRENT. Check your cvsupfile against the sample files provided, and post it here if you need more help. Kris No I have 4.9 for the source. Hear is my cvsupfile: *default host=cvsup12.us.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default tag=RELENG_4_9_RELEASE *default release=cvs delete use-rel-suffix *default compress src-all tag=. ports-all tag=. doc-all tag=. cvsroot-all tag=. Read the documentation to find out what the tag=. does ;-) Kris pgpEv12PCf2hG.pgp Description: PGP signature
Re: difference between 4.2 and 5.2.1
On Wed, May 26, 2004 at 01:32:24PM -0700, Amir Vetry wrote: Hi team, I have couple of questions. Would you please answer it. Beside supporting more types of NIC card, what other differences are there between FreeBSD 4.2 (or 4.0 series) and 5.2.1 (5.0 Series)? There are literally thousands of differences, big and small. The best place to start is to read the release notes for all the intervening releases to find out what has changed. Also, is multicasting supported on 5.2.1? Yes, as on 4.x. Kris pgpkwXZQqXHO6.pgp Description: PGP signature
Re: config is out of sinc
On Wed, May 26, 2004 at 10:23:03PM -0500, Earl Larsen wrote: Read the documentation to find out what the tag=. does ;-) Kris So I should edit my cvsupfile to read as the fallowing: *default host=cvsup12.us.FreeBSD.org *default base=/usr/local/etc/cvsup *default prefix=/usr *default tag=RELENG_4_9_RELEASE *default date=2003.10.28 *default release=cvs delete use-rel-suffix *default compress src-all date=. ports-all tag=. doc-all tag=. cvsroot-all date=. And it will update all of 4.9 as 4.9? To update my system corectly. Should I run mergmaster, after cvsed the system. Since I ran mergmaster with the incorrect files. No, you're way off. See the sample configuration files, and read the documentation on cvsup in the handbook. Kris pgpuJwioTPNxP.pgp Description: PGP signature
Re: Arts port installs i386-portbld-freebsd4.10-mcopidl, but the world expects mcopidl?
On Thu, May 27, 2004 at 04:50:35AM -0400, Rocco Caputo wrote: Upgrading arts as part of the KDE thing. It installs binaries like -r-xr-xr-x 1 root wheel 837 May 27 04:25 i386-portbld-freebsd4.10-artsc-config This was already fixed..update your ports and try again. Kris pgp6REju3IlCa.pgp Description: PGP signature
Re: openoffice-1.1
On Thu, May 27, 2004 at 02:01:43PM -0400, Duane Winner wrote: Does anybody know what happened to OpenOffice-1.1 port? I just did a portinstall on it last week with no problems, but now the port is marked as broken for FreeBSD 5.x. ** 'editors/openoffice-1.1' is marked as IGNORE: is marked as broken: Does not compile on 4.x (tries to link to libpthread) Fortunately, I created a package out of it when I made it last week, but I'm still concerned. Is it a compile-only problem (will I get surprises during run-time?) and Will this be fixed soon? Hopefully, but I wouldn't hold your breath. The maintainers have been informed repeatedly of the problems but haven't yet taken action. Kris pgpo7UCitS46F.pgp Description: PGP signature
Re: Searching CVS commits
On Fri, May 28, 2004 at 02:20:45PM -0700, Kent Stewart wrote: The history is always available using cvsweb.cgi such as http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/vfs_syscalls.c Back up to the top and bookmark it. Also has the alias http://cvsweb.freebsd.org/ Kris pgp0UoKoB8oqw.pgp Description: PGP signature
Re: bento and the ports system
On Mon, May 31, 2004 at 05:29:38PM -0500, Jon Noack wrote: What I envision: Packages are already being built (for example, http://pointyhat.freebsd.org/errorlogs/i386-packages-5-latest/). The ports system would default to using the package if available, but there would be an option to always compile from source. If the package wasn't available (not yet built, NO_PACKAGE, etc.), the port would be compiled from source as before. All that is needed is to set the default PACKAGESITE to the above URL (or something slightly different depending on architecture/release), make packages the default, and ensure there is enough bandwidth to handle the load (mirrors?). I know security would be a major consideration, but handling the load is the only technical difficulty I see... Packages on pointyhat may not always be consistent or working. Furthermore, they may not interoperate as expected with what you have on your own system, because ports are customized for installed packages and build settings (e.g. building with GNOME support when you have GNOME installed). The packages on the FTP site are updated periodically from a known-good build. If you don't mind about the limitations, you can already use these automatically with pkg_add -r or portupgrade -P. P.S. The opinion on the DragonFly kernel list was that it was a good idea in principle, but that the *BSD package system is very fragile. Yes, well, everyone has an opinion about packages. Kris pgpVhYwKgJKUw.pgp Description: PGP signature
Re: bento and the ports system
On Mon, May 31, 2004 at 09:48:10PM -0500, Jon Noack wrote: Packages on pointyhat may not always be consistent or working. Furthermore, they may not interoperate as expected with what you have on your own system, because ports are customized for installed packages and build settings (e.g. building with GNOME support when you have GNOME installed). Yeah, I thought about that but figured a package with a default configuration might still be useful. The packages on the FTP site are updated periodically from a known-good build. If you don't mind about the limitations, you can already use these automatically with pkg_add -r or portupgrade -P. I do this for several machines already. It works OK, but as you say, it is limited. The limitations I referred to were those in the first paragraph above (default configuration, etc). They're not going to go away by making the ports collection fetch packages by default. Kris pgpk34ic0ZaOP.pgp Description: PGP signature
Re: Troubles with ports...
On Tue, Jun 01, 2004 at 12:17:04PM +0500, Muhammad Ali wrote: Heh... I feel soo stupid... i did feel something was wrong when i found that ports.tar.gz was 27mb but i thought maybe it has been super-compressed or something. But honestly, no where in the guide or the ports page led me to believe that i would need the 14GB download... i think i'll get the CDs... The CDs don't include everything either, for similar reasons. Kris pgplBuPt5Lu4i.pgp Description: PGP signature
Re: Troubles with ports...
On Tue, Jun 01, 2004 at 12:58:40PM +0500, Muhammad Ali wrote: Kris Kennaway wrote: On Tue, Jun 01, 2004 at 12:17:04PM +0500, Muhammad Ali wrote: The CDs don't include everything either, for similar reasons. Kris Heh... surely, the binary packages should be there if not the source, won't they? Some of them, yes, but 1 packages would take up about a dozen CDs. Kris pgpIHu2DlZDnJ.pgp Description: PGP signature
Re: requesting freebies for lug
On Tue, Jun 01, 2004 at 02:24:45PM -0400, Jeremy Faulkner wrote: Dazie wrote: | Hi my name is Diana Lenko I am from BNLUG LINUX USERS GROUP AND SUNCOAST LINUX USERS GROUP | What I do is contact companys like yours and ask for freebies such as Boxed distros teeshirts stuffed animals | Hats, books, stickers. and this is too promote your items and let people know you are out there in the linux world long with many other companys and to let them know why they should try your Distros out and see where it fits in our world. Teeshirts should be xxLarge and XLarge . If you would like to check out our site go to.WWW.SunCoastLug.org | and check us out.Can you please help us out with some freebies we load your distros on our laptops and show them off also we do raffles with some of the items. | Thanks |Diana Lenko FreeBSD.org is not a company, we do not have promotional items to give you. Except for those you can download for free from the FTP site! :-) Kris pgpVacp3Krw4l.pgp Description: PGP signature
Re: port problem with asterisk
On Wed, Jun 02, 2004 at 03:28:15PM +0200, Thomas May wrote: Can someone help me ? Did you read that URL? The software has a security vulnerability. Talk to the software developers about its status. Kris pgpOsDoJ3FWmF.pgp Description: PGP signature
Re: Stop error while doing make buildkernel
On Wed, Jun 02, 2004 at 05:53:19PM -0700, Richard Marriner wrote: Dear List, I have googled this but no luck there. I am getting a stop error while building the kernel. We are upgrading from FreeBSD-10Beta to 10-stable. The system was built on another machine and nfs mounting into the current machine (both /usr/src and /usr/obj). At first I thought it might have been due to the kernel config file having the AIC7 device in the config, so I commented those out and tried again, but still getting same error. Any thoughts? Everything before this seemed to finish with no errors... And I have updated several other machines this same way. (with no error) BEGIN OUTPUT-- cd /usr/obj/usr/src/sys/WEBHOST1; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make -DBOOTSTRAPPING -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile Warning: Object directory not changed from original /usr/obj/usr/src/sys/WEBHOST1 cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:44: sys/types.h: Input/output error ^^ Something is wrong with the NFS mounting or with the files on the server. Is everything OK on the server? Kris pgpX2GwdHg1Ug.pgp Description: PGP signature
Re: Certain 4.10 apps failing to run as root
On Thu, Jun 03, 2004 at 01:35:33AM -0600, Anthony Chavez wrote: I just upgraded one of my machines to 4.10-STABLE from 4.9-STABLE and certain binaries (such as vim or vipw) when run as root (either with sudo or su -) freeze up with rcmdsh: unknown user: followed by a bunch of garbage. I've only seen this when something incorrectly links to both libc and libc_r. Neither of those four binaries should be linked to libc_r at all though. Can you confirm with ldd(1)? Kris pgpp7EFL1a2pw.pgp Description: PGP signature
Re: Help:Compiling and Installing of new kernel Without making buildworld(is it possible?)
On Thu, Jun 03, 2004 at 01:23:36AM -0700, Mark Jayson Alvarez wrote: Hi, This is just a follow up with my previous mailings I'm upgrading my 4.9 system to 4.10. The steps I made were as follows and also what happened after doing so. First: I used the /stand/sysinstall--Ugrade (only bin selected..)---100 % completed---rebooted says: can't load kernel... booting kernel.old... So, I used the cvsup method and fetched the sources for the following... This is an incomplete set. Take a look at the extensive documentation in the FreeBSD Handbook on how to update your FreeBSD sources and recompile them to update your system. Kris pgpmFT6He3K7r.pgp Description: PGP signature
Re: ho hum. Make installworld
On Thu, Jun 03, 2004 at 10:24:15AM +0100, Edd wrote: Howdy, Checked out current src yesterday and did make buildworld followed by mergemaster -p. Then make installworld: === sbin/geom/class/concat install -s -o root -g wheel -m 444 geom_concat.so.1 /lib/geom ln -fs geom_concat.so.1 /lib/geom/geom_concat.so ln: /lib/geom/geom_concat.so: Not a directory *** Error code 1 Not too sure what I am supposed to do at this point. Can anyone help me? Questions about -current should go to the freebsd-current mailing list. I'm not sure why you'd see this error, unless perhaps you didn't have a complete and up-to-date source tree. How did you check it out? That directory should be listed in /usr/src/etc/mtree/BSD.root.dist, from a commit made on May 20. Kris pgpvbi3hZFVU4.pgp Description: PGP signature
Re: Issues with large files on nfs-mounted filesystems?
On Thu, Jun 03, 2004 at 11:42:40AM +0100, Jim Hatfield wrote: I've made a large .mpg file on a Linux machine (because some tools, such as mplex, are newer than available in FreeBSD ports). Here's a directory listing: -rw-r--r-- 1 jim users 4388444160 Jun 2 23:15 movie.mpg I want to burn it to DVD but the burner is on a BSD box, so I nfs-mount the /home partition. However when I look at the same file from FreeBSD 5.1 I get: -rw-r--r-- 1 jim 100 93476864 Jun 3 00:15 movie.mpg (yes I know there is a time zone issue. I haven't worked out how to set it on Gentoo yet). The difference between the sizes is 4294967296, ie 2^32. Anyone know if this is an issue with the NFS implementations or whether the NFS protocols have a 32-bit size limit? The mount_nfs manpage tells you: -2 Use the NFS Version 2 protocol (the default is to try version 3 first then version 2). Note that NFS version 2 has a file size limit of 2 gigabytes. Linux used to, and maybe still does, have stability problems with NFSv3, so the default was/is to use NFSv2. FreeBSD has no such problems :) Kris pgpN3jh2Gzo4v.pgp Description: PGP signature
Re: Ports Collection and FreeBSD 5.2.1
On Thu, Jun 03, 2004 at 05:59:50PM -0400, Arend P. van der Veen wrote: I think I figured out the problem that I was having. I compiled portupgrade before I performed a cvsup and rebuilt the kernel. Now I run cvsup, rebuild the kernel, install portupgrade (and pkgtools dependency) using make install and then execute portsdb -Uu. When I perform these steps the problems that I had cleared up. It was a stupid mistake on my part. I do have an additional question. I thought that my cvsup input was setup to load the complete ports collection. Specifically, the line ports-all tag=. loads the complete ports collection. Is this correct ? Yes. Kris pgp6BneGHxIgQ.pgp Description: PGP signature
Re: FreeBSD4 COMPAT
On Fri, Jun 04, 2004 at 09:42:52AM +0100, Matthew Seaman wrote: On Thu, Jun 03, 2004 at 03:52:40AM -0400, Reed L. O'Brien wrote: what if I don't compile FreeBSD4 into the FreeBSD5 kernel? do I wind up with problems in the ports?? That's not a kernel option. remember that FreeBSD has an integrated kernel and system -- shlibs, standard applications -- and that for best results you need to compile both of them (from the same set of sources). Actually I think he's talking about COMPAT_FREEBSD4. This should only be needed if you want to run 4.x binaries. Kris pgpH3iYb8sCjX.pgp Description: PGP signature
Re: Make release for sparc64 target on i386 system
On Fri, Jun 04, 2004 at 09:41:46AM -0400, Sven Willenberger wrote: I seem to be running into brick walls making a 5.2.1-RELEASE-P8 for sparc64 arch on an i386 system. I have tried the following using the latest sources from cvsup: I don't think you can cross-target releases. For example, the filesystems have a different endianness on sparc64 and i386. Kris pgp985ziMBG7r.pgp Description: PGP signature
Re: x-forwarding problem - no window contents
On Fri, Jun 04, 2004 at 08:10:08AM -0600, Simon Timms wrote: Hi, I.m having a problem with x-forwarding. I have looked through past questions but I haven.t seen anything on this particular topic. I have two FreeBSD 5.2_1 machines at home, one of which I run headless. Usually I manage the headless machine from windows using x-forwarding and either exceed or x-win and putty. Recently I decided that I hate windows so much that it was time to change fulltime to FreeBSD on my desktop however a problem arises. When I forward anything from the server to my desktop machine I don't get the contents of any window. The window frame appears along with the title and is sized correctly but there is nothing inside the frame. I have tried using several different window managers and different users in the hopes it was some sort of setting I had accidentally triggered but to no avail. Has anybody seen this before and how do I fix it? I assume that it is a problem on the desktop machine since forwarding does work between the server and other boxes. How are you doing the X Forwarding? Exporting DISPLAY directly? Tunneling over SSH with ssh -X or ssh -Y (you probably want the latter)? Kris pgpbPGVDUqFNU.pgp Description: PGP signature
Re: x-forwarding problem - no window contents
On Fri, Jun 04, 2004 at 08:59:31AM -0600, Simon Timms wrote: Oooh, you know I think I'm just doing 'ssh' and expecting it to work or give me a huge obvious error. I have enabled ForwardX11 in /etc/ssh/ssh_conf on the desktop. You're probably right that it is a question of '-X' or '-Y'. I shall have to try this out when I get home tonight. What is the difference between trusted and untrusted X11 forwarding? Untrusted is safer when you don't trust the security of the machine you're connecting to, but it doesn't work for a lot of X applications. Kris pgpMZiOK9lDxu.pgp Description: PGP signature
Re: interleaved swap? (5.2.1)
On Fri, Jun 04, 2004 at 10:10:19AM -0500, J.D. Bronson wrote: [shadow] 8:11:34am /var/log swapinfo Device 1K-blocks UsedAvail Capacity /dev/da0s1b 10485760 1048576 0% I noticed on some FreeBSD machines I see an entry like this: Type Interleaved How come its missing? What are you going to interleave your one swap device with? Kris pgpcQMa5eBiKW.pgp Description: PGP signature
Re: x-forwarding problem - no window contents
On Fri, Jun 04, 2004 at 06:06:24PM -0600, Simon Timms wrote: On Fri, 4 Jun 2004, Kris Kennaway wrote: On Fri, Jun 04, 2004 at 08:59:31AM -0600, Simon Timms wrote: Oooh, you know I think I'm just doing 'ssh' and expecting it to work or give me a huge obvious error. I have enabled ForwardX11 in /etc/ssh/ssh_conf on the desktop. You're probably right that it is a question of '-X' or '-Y'. I shall have to try this out when I get home tonight. What is the difference between trusted and untrusted X11 forwarding? Untrusted is safer when you don't trust the security of the machine you're connecting to, but it doesn't work for a lot of X applications. You were right a -Y did it. I'm sure i've done this with just -X before. Oh well. Thanks a bunch. Yeah, ssh only sprouted a -Y recently. Kris pgpB2Vw1ow1rg.pgp Description: PGP signature
Re: pf
On Sat, Jun 05, 2004 at 09:35:13PM -0400, Reed L. O'Brien wrote: I thought I read in the CURRENT docs somewhere that pf was going to be the default packet filter. Was I hallucinating? Apparently :-) It's one choice among 3. Kris pgpy8NLWjF4Wo.pgp Description: PGP signature
Re: port upgrades
On Mon, Jun 07, 2004 at 07:14:34PM +, Daniela wrote: On Monday 07 June 2004 17:28, Tim Traver wrote: Hi all, Is there a way to do a quick update of a particular port directory ??? I don't necessarily want to do the portupgrade, but just get the latest port files for a particular port. Right now, if i want to make sure the ports are up to date, I have to use sysinstall to download the entire port collection, which takes forever... Am I missing a quick utility to just check and make sure I have the latest port files for one at a time ? You could use CVSup to update just the directories you want, and you can also put this into the system crontab to periodically run it. That's pretty convenient. You _will_ run into problems if you only update parts of the ports collection. Kris pgpoS298uhWbZ.pgp Description: PGP signature
Re: port upgrades
On Mon, Jun 07, 2004 at 09:01:15PM +, Daniela wrote: On Monday 07 June 2004 19:35, Kris Kennaway wrote: On Mon, Jun 07, 2004 at 07:14:34PM +, Daniela wrote: On Monday 07 June 2004 17:28, Tim Traver wrote: Hi all, Is there a way to do a quick update of a particular port directory ??? I don't necessarily want to do the portupgrade, but just get the latest port files for a particular port. Right now, if i want to make sure the ports are up to date, I have to use sysinstall to download the entire port collection, which takes forever... Am I missing a quick utility to just check and make sure I have the latest port files for one at a time ? You could use CVSup to update just the directories you want, and you can also put this into the system crontab to periodically run it. That's pretty convenient. You _will_ run into problems if you only update parts of the ports collection. Well, I didn't mean upgrading of just one or two directories, but rather skipping directories such as the japanese ports if you don't speak japanese. Almost no ports depend on things in language-specific directories (at least not the ones I have installed). OK, but you still can't do some things like build an index because some things do still depend on those ports you're not upgrading. Kris pgpFN8xS1bntr.pgp Description: PGP signature
Re: virtual memory allocation
On Tue, Jun 08, 2004 at 08:34:24AM +0300, Odhiambo Washington wrote: My colleague is trying to find the maximum amount of virtual memory that FreeBSD is able to allocate to a program. He's trying 4*1020*1024*1024 for kern.maxdsiz and FreeBSD fries up. On i386 the CPU can only address 4GB of memory, including memory allocated to the kernel, so you can't go this high (except maybe if you use PAE, but you still can't go above 4GB). I think about 2GB is the limit on i386 without special tuning. Kris pgpyWq3QPR3En.pgp Description: PGP signature
Re: adding another argumets to running process
Martin Vana wrote: Hi, I use mplayer to play mp3s on my computer, how can I add another files /arguments/ to already running instance of mplayer? You cannot. However, mplayer lets you load new files using the GUI interface. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swap size and a zombie
On Fri, Jun 11, 2004 at 11:10:50PM -0500, Chris wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* Looking at a web/email server with the following from top ... last pid: 29494; load averages: 0.00, 0.00, 0.00 up 85+12:33:05 23:07:44 39 processes: 1 running, 37 sleeping, 1 zombie CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 197M Active, 545M Inact, 176M Wired, 51M Cache, 112M Buf, 33M Free Swap: 2048M Total, 184K Used, 2048M Free Does it look like the swap file is way too big? The box has been online for awhile, yet it seems like the swap file is not utilized very much at all. For that matter, the server is clearly overpowered for what it does, but better than underpowered I suppose. It's only too much until you actually need to use it ;-) For example, if you have 2GB of memory then you need a 2GB swap file in order to take a kernel crash dump, if you ever run into a kernel bug. You only have ~1GB of RAM in that machine at the moment, so you might be tempted to conclude that you have 1GB too much swap, but what if you decide to add another 1GB of RAM in 6 months time? You'd have to reinstall that disk to make room. Kris P.S. Please wrap your lines at 70 characters so your emails may be easily read. pgptIkwYb4ixO.pgp Description: PGP signature
Re: more on XFree86-4 problem
On Sun, Jun 13, 2004 at 10:26:24PM -, [EMAIL PROTECTED] wrote: Ok - I decided that perhaps my problem was a undetected conflict in old packages - i deleted most of my old package and now the current error I get is: You probably still have stale XFree86 3.x files installed, which can confuse the XFree86 4.x build. Deinstall your old XFree86 and imake packages first, and retry. If you still have problems, it's likely because you have files installed that are unclaimed by any port. The pkg_which utility, part of portupgrade, can help to track down such files; see the manpage. Kris pgpEmaV74h0uS.pgp Description: PGP signature
Re: pf on 4.10
On Wed, Jun 16, 2004 at 08:27:13AM -0400, JJB wrote: Is there an port of pf firewall that installs on 4.10? I don't think so. Kris pgpOteBVkca0T.pgp Description: PGP signature
Re: Does 4.x + UFS2 exist in any way ?
On Wed, Jun 16, 2004 at 11:41:31PM -0700, Joe Schmoe wrote: I need to run 4.x (currently 4.10-RELEASE) but I really want to use UFS2 because I also need larger files and filesystems, and I really want to use snapshots. Is UFS2 available on 4.10 ? No. If not, how big of a hack would it be to try to use UFS2 with 4.10-RELEASE ? A big one. Kris pgpNDeuH3uZOG.pgp Description: PGP signature
Re: contributing: addition of package
On Fri, Jun 11, 2004 at 05:43:23PM +, vishal kochhar wrote: Hi, This question is related to addition of a package (not related to OS or kernel) to freebsd. I read from the contribution page about 'value-added' packages. Is it related only to OS related packages or other s/w's like compilers etc too? I am wondering if this small piece of utility will be of any use: it is a C++ unit test framework, quite flexible, simple, high-quality, and very powerful. Provides many features and capabilites for automated testing. I have tested it for Solaris, linux, and Windows so far (plan to release for bsd this week). Release under BSD license (on sourceforge). http://www.oaklib.org/docs/oak/test/marticle/oakut.html Could something like this be contributed? Take a look at the Porter's Handbook for how to do this. Kris pgpeUJjCJGUHw.pgp Description: PGP signature
Re: make world problem
On Sat, Jun 19, 2004 at 12:45:13PM +0800, John Lee wrote: Dear All, I installed a clean 4.10-RC2 and CVSUP to the latest, while makeing world, I encountered this error and tried a few times but same error. Please advise. I'm using a P4 2.8Ghz 1U server system. === usr.bin/yacc cd: can't cd to /usr/src/usr.bin/yacc Well, does that directory exist? If not, you don't have a complete source tree, so you should check your cvsupfile against the samples, or post it here if you need further help. Kris pgpkcckDXgYk2.pgp Description: PGP signature
Re: Cannot compile jdk14 for Freebsd 5.2.1 - weired problem occures
On Sat, Jun 19, 2004 at 05:43:17PM -0700, Lukasz Koszanski wrote: make install === Installing for jdk-1.4.2p6_4 === jdk-1.4.2p6_4 depends on executable: javavm - found === jdk-1.4.2p6_4 depends on file: /usr/X11R6/lib/X11/fonts/URW/fonts.dir - found This is basically what happens: Please use `make -DWITH_DEBUG' if you want to install libraries and binaries with debugging support. === Generating temporary packing list === Checking if java/jdk14 already installed /bin/mkdir -p /usr/local/jdk1.4.2 cd /usr/ports/java/jdk14/work/control/make/../build/bsd-i586/j2sdk-image /usr/bin/find . | -pdmu -R root:wheel /usr/local/jdk1.4.2 -pdmu: not found *** Error code 127 Looks like you have some environment variable set (to a null value) that is being used by the port. Kris pgpaIlsVJfoLH.pgp Description: PGP signature
Re: Win-modems
On Wed, Jun 20, 2001 at 11:44:22AM +0300, Alex wrote: [...] You're living in the past, man! Kris pgpxCFCYafmXX.pgp Description: PGP signature
Re: CURRENT does not build (annotate.texi)
On Mon, Jun 21, 2004 at 02:48:16PM +0200, Axel S. Gruner wrote: Hi, i got some problems building CURRENT maybe someone can tell me what the problem is: One problem is that you're tracking -current without reading or posting to the corresponding mailing list. Kris pgpBISwOuUG0u.pgp Description: PGP signature
Re: Kernel compiling. gcc stops at warnings
On Tue, Jun 22, 2004 at 01:01:22PM -0800, Karim Forsthofer wrote: Good evening I tried to compile a new kernel from my 5.1 bsd cd. Config and make depend worked well, but make has put out some warnings about unused functions in npx.c (or something else). I searched in the newsgroup and found some similar postings to this subject It seems to me, that the problem appears when the RealTek pci NIC device is included in the config file. Someone wrote in the newsgroup, that gcc works with the wrong compiler flags, that means that the compiler stops at warnings, but he didn`t mention how the solve this problem or how to change the flags. Any suggestions? Warnings aren't fatal unless you ask them to be (with -Werror). If you're seeing compiler *errors*, it's usually because you have an incomplete kernel config file. Compare it to the sample config files (pay careful attention to the comments that tell you what options are required by the drivers and systems you add or remove), and post it here together with the errors you receive from the build, if you require further help. Kris pgpqQ5bEINgJc.pgp Description: PGP signature
Re: perl port 5.8.2 won't install?
On Wed, Jun 23, 2004 at 04:49:52PM -0500, Len Conrad wrote: fbsd 4.10 release # cd /usr/ports/lang/perl5.8 # make make install === Vulnerability check disabled perl-5.8.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.cpan.dk/CPAN/modules/by-module/../../src/. perl-5.8.2.tar.gz 100% of 11 MB 264 kBps 00m00s BSDPAN-5.8.0_1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/tobez/. BSDPAN-5.8.0_1.tar.gz 100% of 6338 B 36 kBps === Extracting for perl-5.8.2_5 Checksum OK for perl-5.8.2.tar.gz. Checksum OK for BSDPAN-5.8.0_1.tar.gz. === Patching for perl-5.8.2_5 === Applying FreeBSD patches for perl-5.8.2_5 8 out of 8 hunks failed--saving rejects to ext/Opcode/Safe.pm.rej Patch patch-Safe.pm failed to apply cleanly. Patch(es) patch-Install.pm patch-MM_Unix.pm applied cleanly. *** Error code 1 the .rej file contains: How did you update your ports collection? These are probably stale files that should/would have been removed with a correctly updated collection. Kris pgpZcYeFwZI23.pgp Description: PGP signature
Re: perl port 5.8.2 won't install?
On Wed, Jun 23, 2004 at 05:30:17PM -0500, Len Conrad wrote: How did you update your ports collection? when running sysintall upgrade from cdrom to go from 4.7 to 4.10. Perhaps that extracts the new ports collection over the top of the old, which is wrong since it will leave behind stale patches that are not in the new version. Kris pgpyuzKlM26a4.pgp Description: PGP signature
Re: Fatal trap 12: page fault while in kernel mode
On Wed, Jun 23, 2004 at 09:52:48PM -0400, fred wrote: Hi, Recently my freebsd machine always dead, and the below error messages are gotten when reboot the machin, could anyone help me? Start by updating to a modern release; there have been literally thousands of bugs fixed since 5.0-DP1. FreeBSD 5.0-DP1 FreeBSD 5.0-DP1 #0: Wed Aug 27 07:07:21 CST 2003 root@:/usr/src/sys/i386/compile/PEARL i386 In general, you need to provide more information than this when you run into a kernel panic. See the chapter on kernel debugging in the developer's handbook for full details. Kris P.S. Please wrap your lines at 70 characters so your emails may be easily read. pgpFYqMDIzhXD.pgp Description: PGP signature
Re: alternative method for make / install world --- ?
On Thu, Jun 24, 2004 at 04:14:43AM -0400, [EMAIL PROTECTED] wrote: hello all, I have recently been mulling over an article which proposes an abridged set of steps for updating the system. --- http://www.bsdnews.org/03/bsd_update.php alias rebuild 'cd /usr/src make update make world make kernel mergemaster' --- in a nutshell, the author proposes the following steps: 1) rebuild 2) answer the mergemaster prompts 3) reboot 4) all done the method i employ requires several additional steps -- mergemaster -p, a reboot to test kernel (not strictly required, from what i understand), and booting to single user mode for install world. i am wondering what might be the hazards of trying the abridged approach. would be grateful to hear from anyone with an informed position on the matter. It won't always work, and in the worst case will destroy your system. There's a reason that the documented upgrade process has all those steps in that order. Kris pgpk4Qh8m5ULO.pgp Description: PGP signature
Re: rdist problem
On Sun, Jul 02, 2000 at 01:01:00PM +0100, [EMAIL PROTECTED] wrote: The 20th century called, they want their year back :-) Hi, I'm trying to rdist some files from a FreeBSD 4.9 machine to a new 5.2.1 p9 server. On the 5.2.1 server I enabled rsh, added the 4.9 server to root's .rhosts file, and kept getting a login denied message. I added the following to the /etc/pam.d/rsh file on the 5.2.1 box: What version of rdist are you running? Is it the same version on both systems? Kris P.S. Please wrap your lines at 70 characters so that your emails may be easily read. pgpRiZBSx5dAZ.pgp Description: PGP signature
Re: make buildworld: build changes only?
On Fri, Jul 02, 2004 at 12:54:53AM +0200, Geert Hendrickx wrote: Hi, I'm keeping track of -STABLE on semi-regular basis. But when I cvsup to the latest sources and do make buildworld, it always starts to rebuild the world entirely from scratch. That's somewhat frustrating, especially if cvsup showed only a screenful of changes. Is it possible to rebuild these changes only? I know I could cd to the directory of each changed file and do a make install there, but that is of course not quite practical. I suppose this could be automated, since this was exactly the design principle of make: rebuild changed sources only. I know this might brake some dependencies in some cases, but I expect this to be rare. I could still do a full buildworld when necessary. Any suggestions? The only safe way to rebuild is with the full documented cycle that includes a buildworld. Unsafe means may leave you with an unusable system. If you want to play around with other make targets you can indeed short-cut the build process a lot of the time, but you're expected to be advanced enough to recover your system on your own when you damage something, and that pretty much means being able to figure out how to use the make shortcuts on your own :-) Kris pgpaGT5f1gOX2.pgp Description: PGP signature
Re: cvsupdate and make totally hoses the system
On Fri, Jul 02, 2004 at 03:28:29PM -0700, David Bear wrote: I've done this twice now.. I install a clean 4.10-Release from ftp. I install cvsupdate without gui. I create my cvsupdate file in etc and run cvsupdate. then per instructions from the website # make buildworld # make buildkernel # make installkernel # reboot You should boot in single user mode (using boot -s from loader prompt for example). Then run: # mergemaster -p # make installworld == I cvsup to releng_4_10. the first hiccup comes with mergemaster as there are new accounts created for pf. thats fine. I just merge the new accounts. You're actually trying to update your system to 5.2-CURRENT. This is because you're using the wrong cvsupfile: *default tag=RELENG_4_10 *default tag=. ports-all tag=. src-all tag=. ^ You've overridden the RELENG_4_10 tag and specified that you want the top of the source tree, i.e. -CURRENT. Kris pgpv6ZMFiWgIQ.pgp Description: PGP signature
Re: how debug crash in -current?
On Sun, Jul 04, 2004 at 06:32:53PM +0200, Per olof Ljungmark wrote: Hi all, I have a problem booting a IBM T41 with the CDRW (see a previous post). Now, how can I submit a proper report when it is impossible to write to disc? What sort of info is really meaningful to the developers? Also, I did search the PR database but saw nothing on this but maybe I just missed it? See the chapter on kernel debugging in the developers' handbook. Kris pgpcOwkKraMzm.pgp Description: PGP signature
Re: Mac OS 9.2 won't start
On Fri, Sep 12, 2003 at 09:45:28AM -0700, lawrence lee wrote: Hi. My Mac OS starts but the cursur is stuck and the system is frozen, even after I restart the computer over and over. Does anyone have any idea to fix this??? I hope someone will answer my question soon... thank you. (the mouse is new so it is not a battery probelm) Wrong list, dude, and please wrap your emails at 70 characters. Kris pgp0.pgp Description: PGP signature
Re: nforce 2 drivers aren't working
On Fri, Sep 12, 2003 at 04:41:05PM -0400, jason wrote: Has anyone with a nforce2 board got the agp working? This driver is supported by nvidia, not FreeBSD. Kris pgp0.pgp Description: PGP signature