Re: Installation problems
Hi Siraj, the first place to start looking is undoubtedly the CD itself. First, checksum your .iso image. If this passes, burn to a new CD and try again. Cheaper CD-R cds tend to have a lot of quality issues. James On Wed, 2007-10-03 at 17:41 +0100, Siraj Shaikh wrote: > I am new to FreeBSD, and am trying to install it. I have tried to > installa on two separate machines, one a shuttlex xpc, and another an > IBM laptop. Both times, I proceed, create the partitions and then get > this message "Unable to transfer the ... distribution from acd0" > and finally says "Unable to transfer all components of the kernels > distribution" > > I am installing it from a FreebSD 6.2 iso image burnt on a CD. Is > there a problem with the CD? > > Any help on this would be great. Thanks > > Siraj > ___ > 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]"
ffmpeg not installing
Hi folks, I'm trying to do a portupgrade, and have managed it successfully the last few weeks save for one package, ffmpeg. Here's the output of the attempted install: <snip> In file included from bitstream.h:35, from bitstream.c:31: /usr/local/include/log.h:104: error: syntax error before "A_" /usr/local/include/log.h:105: error: syntax error before "A_" /usr/local/include/log.h:106: error: syntax error before "A_" /usr/local/include/log.h:107: error: syntax error before "A_" /usr/local/include/log.h:108: error: syntax error before "A_" /usr/local/include/log.h:111: error: syntax error before "A_" /usr/local/include/log.h:112: error: syntax error before "A_" bitstream.c: In function `alloc_table': bitstream.c:114: warning: `ff_realloc_static' is deprecated (declared at bitstream.c:42) gmake[1]: *** [bitstream.o] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-09-14/libavcodec' gmake: *** [lib] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. secretariat# </snip> Do you folks have any ideas on this one? I was attempting a "make deinstall && make reinstall" to see if that would overcome it at the time. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ffmpeg not installing
On Thu, 2007-10-04 at 21:42 +0200, Mel wrote: > > /usr/local/include/log.h:112: error: syntax error before "A_" > > I'm curious which port installed log.h. I don't have it on my system and it > wouldn't surprise me if a local log.h conflicts with this log.h. > > Could you show output of: > grep '^include/log.h' /var/db/pkg/*/+CONTENTS [EMAIL PROTECTED] ~]$ su Password: secretariat# grep '^include/log.h' /var/db/pkg/*/+CONTENTS secretariat# ...no one did. Hmm. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ffmpeg not installing
On Thu, 2007-10-04 at 21:28 +0200, Heiko Wundram (Beenic) wrote: > Am Donnerstag 04 Oktober 2007 21:01:26 schrieb James: > > Do you folks have any ideas on this one? I was attempting a "make > > deinstall && make reinstall" to see if that would overcome it at the > > time. > > Have you tried a "make clean" in between? i.e., are you still using the > broken > work-directory? That'd be my first guess. > I have tried, yeah. It makes no difference. A couple of other things to note: 1. after a make deinstall, the only way to reinstall this package (which needs to be install for a portupgrade -a to work) is with pkg_add -r. 2. uname -a: FreeBSD secretariat.lanl.gov 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Wed Aug 8 13:43:46 MDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ffmpeg not installing
On Fri, 2007-10-05 at 06:02 +1000, andrew clarke wrote: > On Thu, Oct 04, 2007 at 01:51:03PM -0600, James wrote: > > > > > /usr/local/include/log.h:112: error: syntax error before "A_" > > > > > > I'm curious which port installed log.h. I don't have it on my system and > > > it > > > wouldn't surprise me if a local log.h conflicts with this log.h. > > > > > > Could you show output of: > > > grep '^include/log.h' /var/db/pkg/*/+CONTENTS > > > > > > > > [EMAIL PROTECTED] ~]$ su > > Password: > > secretariat# grep '^include/log.h' /var/db/pkg/*/+CONTENTS > > secretariat# > > I don't have a log.h: > > $ uname -a > FreeBSD blizzard.dancer 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Sep 19 > 21:56:10 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DELLGX150 i386 > $ cat /usr/local/include/log.h > cat: /usr/local/include/log.h: No such file or directory > > I would do: > > mv /usr/local/include/log.h /usr/local/include/log.h.backup > > And try rebuilding ffmpeg again. While it rebuilds, try to find out > where log.h came from. :) > > RegardsAndrew log.h came from a botched hand install of the torque PBS batching system. I'm further on now, I had a few different other libraries that interfered from the same install. Now I get here: <snip---> ts/multimedia/ffmpeg/work/ffmpeg-2007-09-14"/libavutil -O2 -fno-strict-aliasing -pipe -O2 -I/usr/local/include/vorbis -I/usr/local/include -pthread -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -c -o matroskaenc.o matroskaenc.c matroskaenc.c: In function `mkv_write_header': matroskaenc.c:620: error: `av_md5_size' undeclared (first use in this function) matroskaenc.c:620: error: (Each undeclared identifier is reported only once matroskaenc.c:620: error: for each function it appears in.) matroskaenc.c:621: warning: implicit declaration of function `av_md5_init' matroskaenc.c: In function `mkv_write_packet': matroskaenc.c:740: warning: implicit declaration of function `av_md5_update' matroskaenc.c: In function `mkv_write_trailer': matroskaenc.c:789: warning: implicit declaration of function `av_md5_final' gmake[1]: *** [matroskaenc.o] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-09-14/libavformat' gmake: *** [lib] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/ffmpeg. secretariat# <--/snip> I followed that with: secretariat# /etc/periodic/weekly/310.locate Rebuilding locate database: secretariat# locate matroskaenc.c secretariat# Found nothing. Any further ideas? Thanks for your help so far! James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: TPM could not be initialized - bge0 has disappeared ... WTF ?
It's possible it's a hardware issue. Have you got a means to verify the hardware, such as a knoppix, sitting around? James On Wed, 2007-10-10 at 13:47 -0700, Gore Jarold wrote: > I own a Dell Latitude X1. > > I installed FreeBSD 6.2-RELEASE on it. > > All is well. No problems. Have a nice day. > > However, suddenly, when I boot the system, I get a > message: > > WARNING: The TPM could not be initialized > > I didn't know what TPM was, I didn't care, and I just > booted up. Not my problem. > > Except suddenly I have no network card (!) bge0 is > just invisible - it is no longer in my system. As far > as FreeBSD is concerned, it is gone. > > So what is going on ? I checked my BIOS and TPM is > disabled - there is no question that it is disabled. > > Why do I suddenly get this error at boot time, when I > did not see it for the first few weeks of running > FreeBSD on the system, and _never_ saw this error in a > year of running Windows ? I did not change anything, > or touch the BIOS, or do anything. > > I don't care about any of this. I don't have time for > any of this. Fuck broadcom and their "TPM". > > So the bottom line is: why did this suddenly show up, > and how do I get rid of it ? I just need my bge0 back... > > > > > Be a better Globetrotter. Get better travel answers from someone who knows. > Yahoo! Answers - Check it out. > http://answers.yahoo.com/dir/?link=list&sid=396545469 > ___ > 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: NFS export question && diskless dirs
On Thu, 2007-10-11 at 21:23 +0200, mr. phreak wrote: > hi. I have a question regarding NFS-exports. > > /etc/exports > /diskless/ro-ro -maproot=root leia > /diskless/kernels leia > /diskless/rw leia > /usr-ro -alldirs leia > /home -alldirs leia > /etc-ro -alldirs -maproot=root leia > > but mountd only recognize /diskless/ro - /usr - /home/ and /etc > (showmount -e). How can I export > > /diskless/ro -ro && /diskless/kernels with rw && /diskless/rw with rw > tothe same host??? > > Also, I have another question. Is it possible to run a diskless system > with /var and /tmp mounted > on a NFS-mount instead of using memory-disks? If possible, I'd gladly > appreciate some tips or > links. > > Best regards, > J > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Check out the handbook page on NFS: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html "In /etc/exports, each line represents the export information for one file system to one host. A remote host can only be specified once per file system, and may only have one default entry. For example, assume that /usr is a single file system. The following /etc/exports would be invalid: # Invalid when /usr is one file system /usr/src client /usr/ports client One file system, /usr, has two lines specifying exports to the same host, client. The correct format for this situation is: /usr/src /usr/ports client The properties of one file system exported to a given host must all occur on one line. Lines without a client specified are treated as a single host. This limits how you can export file systems, but for most people this is not an issue." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
I performed an rm -r on /var/lib/pkg
Call it a moment of sheer stupidity, call it a misremembering, call it whatever you want (and I imagine I'll hear a few different ones), but I just did an rm -r /var/lib/pkg. Before I type anything to damage things further, does anyone have any suggestions as to how to recover from this? I have other FreeBSD boxes available to me, none with the same pkg list, though. I'll be reading man pkgdb in the meantime.. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I performed an rm -r on /var/lib/pkg
On Thu, 2007-10-11 at 15:53 -0500, Kevin Kinsey wrote: > James wrote: > > Call it a moment of sheer stupidity, call it a misremembering, call it > > whatever you want (and I imagine I'll hear a few different ones), but I > > just did an rm -r /var/lib/pkg. > > > > Before I type anything to damage things further, does anyone have any > > suggestions as to how to recover from this? I have other FreeBSD boxes > > available to me, none with the same pkg list, though. I'll be reading > > man pkgdb in the meantime.. > > > I'm guessing you might be Real Tired(tm). Do you mean > /var/db/pkg? > > $ ll /var/lib/pkg > ls: /var/lib/pkg: No such file or directory > > Kevin Kinsey Yes, you're right. On all counts, I'm afraid. But, yes, ultimately. And the more I'm reading man pages, the more I'm thinking that the only solution here will be to reinstall everything. I was wondering if portmaster or something similar might be able to solve this, but it looks like /var/db/pkg is what *everything* refers to. I'm feeling like the least competent user in the world right now. Though it *does* teach me a valuable lesson about backing up. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I performed an rm -r on /var/lib/pkg
On Thu, 2007-10-11 at 23:13 +0200, Erik Trulsson wrote: > On Thu, Oct 11, 2007 at 03:07:37PM -0600, James wrote: > > On Thu, 2007-10-11 at 15:53 -0500, Kevin Kinsey wrote: > > > > > James wrote: > > > > Call it a moment of sheer stupidity, call it a misremembering, call it > > > > whatever you want (and I imagine I'll hear a few different ones), but I > > > > just did an rm -r /var/lib/pkg. > > > > > > > > Before I type anything to damage things further, does anyone have any > > > > suggestions as to how to recover from this? I have other FreeBSD boxes > > > > available to me, none with the same pkg list, though. I'll be reading > > > > man pkgdb in the meantime.. > > > > > > > > > I'm guessing you might be Real Tired(tm). Do you mean > > > /var/db/pkg? > > > > > > $ ll /var/lib/pkg > > > ls: /var/lib/pkg: No such file or directory > > > > > > Kevin Kinsey > > > > > > > > Yes, you're right. On all counts, I'm afraid. > > > > But, yes, ultimately. And the more I'm reading man pages, the more I'm > > thinking that the only solution here will be to reinstall everything. I > > was wondering if portmaster or something similar might be able to solve > > this, but it looks like /var/db/pkg is what *everything* refers to. > > Yes, /var/db/pkg/ is where all the information about installed > ports/packages is stored. > To recreate that information you will have to reinstall everything. > > > > > > I'm feeling like the least competent user in the world right now. Though > > it *does* teach me a valuable lesson about backing up. > > Backups are good, yes. Regular, up-to-date, backups are even better. > > > Alas, though, regular, up-to-date backups ain't happened here. What has happened, though, is I've never ran rm in /usr/ports/distfiles. I'm going to think for a little bit about a script that can move through /usr/ports/distfiles and reinstall everything that exists there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS export question && diskless dirs
On Thu, 2007-10-11 at 23:03 +0200, mr. phreak wrote: > James wrote: > > On Thu, 2007-10-11 at 22:36 +0200, mr. phreak wrote: > >> James wrote: > >> > > >> > > >> > On Thu, 2007-10-11 at 21:23 +0200, mr. phreak wrote: > >> >> hi. I have a question regarding NFS-exports. > >> >> > >> >> /etc/exports > >> >> /diskless/ro-ro -maproot=root leia > >> >> /diskless/kernels leia > >> >> /diskless/rw leia > >> >> /usr-ro -alldirs leia > >> >> /home -alldirs leia > >> >> /etc-ro -alldirs -maproot=root leia > >> >> > >> >> but mountd only recognize /diskless/ro - /usr - /home/ and /etc > >> >> (showmount -e). How can I export > >> >> > >> >> /diskless/ro -ro && /diskless/kernels with rw && /diskless/rw with rw > >> >> tothe same host??? > >> >> > >> >> Also, I have another question. Is it possible to run a diskless system > >> >> with /var and /tmp mounted > >> >> on a NFS-mount instead of using memory-disks? If possible, I'd gladly > >> >> appreciate some tips or > >> >> links. > >> >> > >> >> Best regards, > >> >> J > >> >> ___ > >> >> freebsd-questions@freebsd.org <mailto:freebsd-questions@freebsd.org> > >> >> <mailto:freebsd-questions@freebsd.org> mailing list > >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> >> To unsubscribe, send any mail to "[EMAIL PROTECTED] <mailto:[EMAIL > >> >> PROTECTED]> <mailto:[EMAIL PROTECTED]>" > >> >> > >> > > >> > > >> > > >> > Check out the handbook page on NFS: > >> > > >> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html > >> > > >> > > >> > "In /etc/exports, each line represents the export information for one > >> > file system to one host. A remote host can only be specified once per > >> > file system, and may only have one default entry. For example, assume > >> > that /usr is a single file system. The following /etc/exports would be > >> > invalid: > >> > > >> > # Invalid when /usr is one file system > >> > /usr/src client > >> > /usr/ports client > >> > > >> > One file system, /usr, has two lines specifying exports to the same > >> > host, client. The correct format for this situation is: > >> > > >> > /usr/src /usr/ports client > >> > > >> > The properties of one file system exported to a given host must all > >> > occur on one line. Lines without a client specified are treated as a > >> > single host. This limits how you can export file systems, but for most > >> > people this is not an issue." > >> > >> Yeah, I know. I read it as well. I guess I'll have to create separate > >> filesystems if I want to export them with different permissions to the > >> same host... I thought the mountd -r was a sollution to skip that. But I > >> guess I was > >> wrong. > >> > >> > > > > > > Reading on in the handbook has this: > > > > The following is an example of a valid export list, where /usr and > > /exports are local file systems: > > > > # Export src and ports to client01 and client02, but only > > # client01 has root privileges on it > > /usr/src /usr/ports -maproot=rootclient01 > > /usr/src /usr/ports client02 > > # The client machines have root and can mount anywhere > > # on /exports. Anyone in the world can mount /exports/obj read-only > > /exports -alldirs -maproot=root client01 client02 > > /exports/obj -ro > > > > > > > > The handbook claims that /exports is a single file system, yet it treats > > /exports/obj as a separate entity > > on a separate line. I was wondering if this was a result of /exports being > > exported in its entirety. You might > > want to goof around with that, see if it'll let you do what you want to do. > > > > > I've played around, and my conclusion is that you can have the same > dirs/filesystems on seperate lines, IF the host entry isn't the same. > i.e if the example above would have client01 and client02 on /export/obj > it would be a > erratic entry. However it's a shame because it means you cannot export > subdirs of a same filesystem with different permissions to the same host(s). Well, now, that gives some hope. Open up /etc/hosts and make a couple of junk entries, like: 192.168.1.77 junkhost.host 192.168.1.78 junkhost2.host And use *them* in your exports to differentiate each nfs line. Even better, don't use hostnames in /etc/exports, just use junk ip addresses. That *surely* can't be the only way to permanently differentiate the lines, but it might be a good way to start. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I performed an rm -r on /var/lib/pkg
On Thu, 2007-10-11 at 18:14 -0400, Robert Huff wrote: > James writes: > > > What has happened, though, is I've never ran rm in > > /usr/ports/distfiles. I'm going to think for a little bit about > > a script that can move through /usr/ports/distfiles and reinstall > > everything that exists there. > > Having been in almost the identical situation for different > rasons, I sympathize. > Yes, this will involve a sweep through /usr/ports distfiles. > If you haven't ever deleted anything, I suggest a prelimiary manual > run deleting everything but the most recent version. This has a > down-side, but it will prevent cluttering the rebuilt system with > unused ports. /usr/ports/distfiles is definitely looking promising. awk is too damn painful to work with, so I'm going to dust off my perl skills. Hell, this could actually turn out to be fun. And if I write the script properly, it might make a nice disaster recovery tool for /usr/ports/ports-mgmt - it can be called "WhenYou'reAnIdiotLikeJamesWasOnFreeBSDQuestions" Well, if you figure out what ports you have installed, you can regenerate the > pkgdb using: > > make -DNO_BUILD -DNO_INSTALL generate-plist fake-pkg > > for each port. > I just tested that using a temporary PKG_DBDIR. In case you wanna see what > happens, here's what I did: > > mkdir -p /tmp/var/db/pkg > cd /usr/ports/shells/bash > env PKG_DBDIR=/tmp/var/db/pkg make -DNO_BUILD -DNO_INSTALL \ > generate-plist fake-pkg > > Wow, that's great! I understand that it has the caveats that you mentioned, but it's *at least* a fantastic start. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Questions about HUP'ing nfsd
On Fri, 2007-10-12 at 08:25 -0700, Michael Smith wrote: > Hello All: > > We have a NAS that's running 6.2 with nfds, mountd, rpc_statd, > rpcbind and rpc_lockd. Last night we had a scenario where nfs > clients, once disconnected, couldn't reconnect to the NAS, reporting > RPC timeouts. > I've had RPC timeouts before. Turned out my NFS was misconfigured - I had a weird flag in /etc/rc.conf that was preventing mountd from loading. Could be someone made an undocumented change - you may want to check it. > My question is, in troubleshooting this sort of thing, is there a > proper sequence for stopping and restarting the various services > associated with nfs? Any hints would be greatly appreciated. > Linux usually likes an exportfs -r, service portmap restart, service nfs restart. I've usually gone for a similar thing in FreeBSD. Something like: /etc/rc.d/mountd onereload /etc/rc.d/nfs restart I think that does it all. Otherwise, there's always shutdown NOW and then a ctrl-d. If you're not sshing in, of course. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 1 TB data copy
On Fri, 2007-10-12 at 08:23 -0400, Monah Baki wrote: > Hi all, > > We have a windows 2003 server and 1 freebsd 6.2 server. The 2003 server > supports USB 1 while the freebsd supports usb 2. > We went and purchased an external 1 TB usb 2 harddrive. > Our objective is to copy 700GB worth of data from the windows to the freebsd > server then take the external harddive to a remote client who runs windows > 2003 and then copy the data back to the windows server. What's the connection between your windows 2003 server and your freebsd server? Is the data 1 single file, or is it numerous small files? I'm understanding that the reason you want to involve FreeBSD at all is that it has faster write to the USB hard drive, yeah? If you have any kind of network access between the two machines, and it's small files, use rsync to copy data from windows to the FreeBSD box (which will probably involve installing cygwin on the windows box - relatively painless) . If that's not an option, consider physically removing the hard drive from the windows 2003 box, carrying it over to the FreeBSD box and mounting the drive and then just copy the data onto the hard drive using FAT as the destination file system, assuming it's not one large file. If it *is* one large file, you could use the programs other folks have recommended for NTFS read/write under FreeBSD. Another option would be to spend $20 on a usb 2 PCI card - http://www.amazon.com/s/ref=nb_ss_e/103-8650702-2329464?initialSearch=1&url=search-alias%3Delectronics&field-keywords=usb+2.0+pci&Go.x=0&Go.y=0&Go=Go Should also be available from your local electronics retailer. Install that in the windows box and use the now native USB 2.0 connection to dump the data. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I performed an rm -r on /var/lib/pkg
This isn't quite as simple as I'd hoped it'd be to fix. Here's my findings thus far (I haven't started writing my script yet, but I will later today): 1. /usr/ports/distfiles contains everything I need 2. distfiles contains several versions of some packages, but that's pretty trivial to resolve. 3. distfiles contains some packages whose source tarballs are named *differently* to the packages themselves, such as unrar. It's number 3 that's getting me. It looks like the simplest thing might be an if statement: if (make search name=$PACKAGE) score! else grep -r $PACKAGE /usr/ports But before I go that far, I wanted to see if anyone had an alternate idea for what might work. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsup-mirror several questions
On Tue, 2007-10-16 at 10:39 +, Aryeh M. Friedman wrote: > I have setup cvsup-mirror with default settings and I have some questions: > > 1. What cvsup host should I use as my upstream (cvsup.master.freebsd.org > [if I got the name wrong sorry but see next sentence] is an invalid name > according to named).Currently I pointed it to cvsup10.us.freebsd.org > and successfully ran update.sh (i.e. completely populated /home/ncvs). > > 2. When I run cvsupd with default settings it says it can't find any > collections (cvsup -h localhost /usr/share/example/cvsup/ports-supfile) > > 3. For doing cvsup updates for the local host is cvsup or straight cvs > better and if the later what is the correct config to use? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hi Aryeh, two things: 1) is your clock set correctly? I received your mail *very * out of order on the mailing list. 2) A thread that just happened started addressing some of these questions. It's available here: http://lists.freebsd.org/pipermail/freebsd-questions/2007-October/160307.html You might find that a nice place to start. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Install FreeBSD 6.2 and Windows XP prof in the same computer
On Wed, 2007-10-17 at 14:06 +0800, williamkow wrote: > Can anybody teach me on how to run Windows XP Professional on top of >FreeBSD 6.2. >I mean is, after FreeBSD is installed, KDE is running, and the Windows >XP prof is running on another separate pop-up windows within KDE. >Thanks. >__ > >David Christensen wrote: > > williamkow wrote: > I'm almost certain you can't do this. There's no Xen kernel for Windows and the version of VMware in ports is ld. What other virtualisation solutions are there that can handle windows, besides VMware? James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Regarding Flow of sendto (UDP) using IPv6.
On Wed, 2007-10-17 at 12:16 +0530, Prasad Dandra wrote: > Dear All, > > First, I would like to thank you all for the wonderful work of developing > FreeBSD. > I have some doubts regarding the BSD stack flow. > I am very much interested to know the code flow from sendto (UDP case) upto > udp6_output function when used in IPv6 client (simple client) and also how > the local port and destination address are assigned without using bind > when 1st time the sendto is called i.e where the pcbconnect and pcbbind are > called (particularly in case of ipv6)? > > Any information provided about the links, books to be refered for more > details will also be helpful. > > Thank and Regards, > Prasad > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" If it's in the base system, csup your sources - it's in the handbook. If it's a port, cd /usr/ports/distfiles and untar the source code. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache mod_ssl chroot problem
> Server beastie.mra.co.id:443 (RSA) > Enter pass phrase:Apache:mod_ssl:Error: Private key not found. > **Stopped Isn't the private key the one on the local machine? If so, is the private key visible with the chroot environment? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [OT] proper editor
> I made the decision to go with Emacs. Thank you for encouraging me ;; > PAH! Entirely wrong! Vi forever! (kidding, kidding) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Strange perl script
On Wed, 2007-10-17 at 22:05 +0200, Jack Raats wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > >> HI > >> > >> Can anyone explain this after ps -ax | grep perl > >> > >> 21893 ?? I 1:02.37 sploger (perl5.8.8) > >> 29536 ?? R184:14.94 sploger (perl5.8.8) > >> 29538 ?? R184:36.44 sploger (perl5.8.8) > >> 30668 ?? R168:56.54 sploger (perl5.8.8) > >> > >> What is sploger? > > > > Looks sort of like a Perl script running. > > That, of course, doesn't say what it is doing. > > The stangest thing is that I cann't find sploger on my system. After a > reboot sploger doesn't appear anymore, which makes it more stranger. > > Jack > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (MingW32) - GPGrelay v0.959 > > iD8DBQFHFmsIPh5RwW/NzC4RAurgAJ9m80yBkOqQSmGvG6y2lPDErml/XACeIm++ > xj50w4ABeltc1MaxQSW04Zw= > =LleI > -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]" ...at this point, I'd probably perform a security audit, just to be sure. Check your access logs etc. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why FreeBSD procfs is so different from the Linux one?
On Wed, 2007-10-17 at 15:29 -0500, Josh Paetzel wrote: > Jonathan Chen wrote: > > On Wed, Oct 17, 2007 at 02:24:49AM -0700, Yuri wrote: > > > Hi, > > > > > > When I look at /proc/PID/ in FreeBSD I see the files: > > > cmdline ctl dbregs etype filefpregs map mem note > > > notepg > > > regsrlimit status > > > and in Linux: > > > cmdline cpu cwd environ exe fd maps mem mounts root stat statm > > > status > > > > > > Why there's such a difference in procfs interface to the process > > > information? > > > > > > In addition Linux has /proc/self/ link which is named curproc in FreeBSD. > > > > > > Isn't it better to have the same interface across the systems? > > > > Maybe. Why don't you get the Linux guys to change theirs? FreeBSD has > > been around longer. > > Well, technically no. BSD predates linux, but linux predates FreeBSD > by a few years. In general though, linux is a reimplimentation and > they've had a habit of changing things in the process, but for any > given interface it's not generally accurate to say linux is the > reimplimentationsometimes they are, sometimes they aren't. > procfs was an innovation of plan9, so I suppose the thing to do would be to refer to *their* procfs. However, either way. I have 1 linux box, something like 15 FreeBSD boxen, and I have to say that on procfs, linux generally does a job that I prefer to see. On FreeBSD, it feels more tacked on, while on linux it feels like there's a lot of rich information there. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Evolution-data-server compiling errors.
Hey Lisandro, I snipped out your log, if that confuses anyone reading, please be aware there was a large log file here. First things first: is you ports tree up to date? James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Evolution-data-server compiling errors.
Hi Lisandro, just a quick note - use "reply to all" or whatever the equivalent feature is in hotmail. Right now, you've only replied to *me*, not to both me and the list. I have copied the list on this email, so in future just use "reply to all". It's great that you're keeping the ports tree up to date. Are you also running a portupgrade regularly? If so, great, if not: portupgrade -a Make *sure* that you read /usr/ports/UPDATING *before* running the portupgrade and follow any relevant instructions. If you're portupgrading regularly, are you trimming leaf ports regularly? If so, great. If not, someone else will have to recommend a best way to clean leaf ports. - If you're doing all this, try out: pkg_info -Ix evolution-data-server This will output a package and its version number. Now try: portupgrade -rf This forces a recursive upgrade of that package. On Thu, 2007-10-18 at 14:34 -0400, Lisandro Grullon wrote: > Hi James, > > > Yes my port tree is very up to date, I upgrade it daily. I still > puzzle by the errors compiling evolution, I am using 6.2-R in a AMD 64 > system. > > > > > > > __ > Subject: Re: Evolution-data-server compiling errors. > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: freebsd-questions@freebsd.org > Date: Thu, 18 Oct 2007 09:07:48 -0600 > > Hey Lisandro, > > I snipped out your log, if that confuses anyone reading, > please be aware there was a large log file here. > > > First things first: is you ports tree up to date? > > James > > > > __ > Boo! Scare away worms, viruses and so much more! Try Windows Live > OneCare! Try now! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I performed an rm -r on /var/lib/pkg
> It depends what state the ports were in at the time of the accident. If > you haven't run a leaf-cutting program recently you may have old > dependencies and tools that have become leaves - they may take years > to show-up. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" I just discovered pkg_which. I'm thinking I can use this to solve my (still haven't worked on) problem. Any ideas why this might be a bad idea? I essentially feed it a list from /usr/ports/distfiles and move on. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I performed an rm -r on /var/lib/pkg
On Thu, 2007-10-18 at 20:11 +0100, RW wrote: > On Thu, 18 Oct 2007 12:51:33 -0600 > James <[EMAIL PROTECTED]> wrote: > > > > It depends what state the ports were in at the time of the > > > accident. If you haven't run a leaf-cutting program recently you > > > may have old dependencies and tools that have become leaves - they > > > may take years to show-up. > > > > > > ___ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "[EMAIL PROTECTED]" > > > > > > I just discovered pkg_which. > > > > I'm thinking I can use this to solve my (still haven't worked on) > > problem. Any ideas why this might be a bad idea? I essentially feed > > it a list from /usr/ports/distfiles and move on. > > > Do you have the database file? The default location is in the directory > you deleted. Yes. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Feeding pkgdb/pkg_which a port creates a directory for that port in /var/db/pkg. It then returned a question mark, which kind of sucked, silence being golden in unix, but I had an entry for openmpi appear in /var/db/pkg Is this really just meaningless grasping at straws? It looked like this in conjunction with pkgdb -L would work. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD hang without panic
> On the machine itself no messages are shown and the machine responds to > repeated ENTER key presses with the login prompt. Once you enter "root" > [ENTER] then no further responses (except line feeds as you press ENTER). > > What kind of hang is this? Could it be a DoS attack? Or is it some > internal process hanging? I have a debug kernel but as the only solution > is a power-off reset, I never get any dump. > > Any suggestions please where I might start to look, or services to > experiment disabling? > My very first instinct was hardware failure. It has all the right pieces: intermittent, came out of nowhere, weird problems as a result. But. In the interests of science: I know you said existing shells stop working, but does that include the secure shell? ssh into the box when it's frying itself and see what happens. Presumably you've checked the /var/log stuff already? James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Evolution-data-server compiling errors.
On Thu, 2007-10-18 at 15:47 -0400, Lisandro Grullon wrote: > Hi James, > I follow your advise and even try upgrading the port recursively using > portmaster -rf evolution-data-server , I think the port is broken for > AMD64, I have been trying so many things without any success. Please > advise. Lisandro Grullon > > > > > > > > __ > Subject: RE: Evolution-data-server compiling errors. > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: freebsd-questions@freebsd.org > Date: Thu, 18 Oct 2007 12:50:12 -0600 > > Hi Lisandro, > > just a quick note - use "reply to all" or whatever the > equivalent feature is in hotmail. Right now, you've only > replied to *me*, not to both me and the list. I have copied > the list on this email, so in future just use "reply to all". > > It's great that you're keeping the ports tree up to date. Are > you also running a portupgrade regularly? If so, great, if > not: > > portupgrade -a > > > Make *sure* that you read /usr/ports/UPDATING *before* running > the portupgrade and follow any relevant instructions. > > > > If you're portupgrading regularly, are you trimming leaf ports > regularly? If so, great. If not, someone else will have to > recommend a best way to clean leaf ports. > > > - > > If you're doing all this, try out: > pkg_info -Ix evolution-data-server > > This will output a package and its version number. Now try: > > portupgrade -rf > > > This forces a recursive upgrade of that package. > > > > > > On Thu, 2007-10-18 at 14:34 -0400, Lisandro Grullon wrote: > > Hi James, > > > Yes my port tree is very up to date, I upgrade it > daily. I still puzzle by the errors compiling > evolution, I am using 6.2-R in a AMD 64 system. > > > > > > > __ > > Subject: Re: Evolution-data-server compiling > errors. > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: freebsd-questions@freebsd.org > Date: Thu, 18 Oct 2007 09:07:48 -0600 > > Hey Lisandro, > > I snipped out your log, if that confuses > anyone reading, please be aware there was a > large log file here. > > > First things first: is you ports tree up to > date? > > James > > > > __ > > Boo! Scare away worms, viruses and so much more! Try > Windows Live OneCare! Try now! > > > > __ > Climb to the top of the charts! Play Star Shuffle: the word scramble > challenge with star power. Play Now! Hi Lisandro, two things: 1) Please don't top-post. This means that when you hit reply, scroll down to the *bottom* to post your response. The reason for this is so that anyone coming along who might be able to help you will be able to read the entire email conversation in the order it was given. It helps other people help you! :) 2) If you truly believe the port is broken, you have several options: a) write to the port maintainer, if it has one, describing your issue. b) fix the issue and write to the port maintainer with the patch. c) If the port has no maintainer, write to the freebsd-ports mailing list and see if you can get any assistance there. PLEASE note that there, as here, you'll encounter volunteers. So if no one answers, then your only real option is to sit down and work on the port yourself. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can login using root password, but not remotely with SSH
On Mon, 2007-10-22 at 02:21 -0500, W. D. wrote: > Brand new install of FreeBSD 6.2. Can't log in with PuTTY. > > Remote PuTTY: > Access denied Using keyboard-interactive authentication. > > At computer terminal: > PAM authentication error for root from 192.168.XXX.XXX > > Any ideas? > > Thanks! Root logins via ssh are disabled by default. Change this in /etc/ssh/ OR you could alternately decide that root logins are *the spawn of satan's loins* via ssh, and do something different. Specifically, if you add your local user account to the wheel group then you can su to root. vi /etc/groups Add yourself to wheel (which is the root group on FreeBSD, a name I believe it inherited from earlier BSDs, but I've no idea what the justification for choosing 'wheel' is; any BSD historians here - you'd be welcome to let us know!) Tada! If you need root logins for something like a running process that wants to communicate via several computers as root, then I assume that: a) your program's broken ;) b) you wouldn't be using putty. So just add yourself to wheel and let the good times roll. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I performed an rm -r on /var/lib/pkg
> > > > Feeding pkgdb/pkg_which a port creates a directory for that port > in /var/db/pkg. > > It then returned a question mark, which kind of sucked, silence being > golden in unix, but I had an entry for openmpi appear in /var/db/pkg > > Is this really just meaningless grasping at straws? It looked like this > in conjunction with pkgdb -L would work. > > James I've been running this for a while now, and it looks like it's working, it just needs liberal doses of pkgdb -F occasionally. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: su: not running setuid
On Mon, 2007-10-22 at 18:51 +, Mayank Jain wrote: > Hi all, > > I have run chown -R uname:wheel . as root in the / directory. Now it is not > allowing me to log in as su. > Giving the following error > > su > su: not running setuid > > I have also tried su -l but still same error. Can any body suggest me some > solution to this problem. > > uname -a > FreeBSD mayankjain.in.niksun.com 6.2-RC1-p1 FreeBSD 6.2-RC1-p1 #0: Mon Dec 4 > 09:56:16 UTC 2006 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 > > I have also tried following but it didn't allow me to do so. > chown root:wheel /usr/bin/su > chown: /usr/bin/su: Operation not permitted Well, you've broke that, then. You have to restore correct owners to everything correctly. The only thing I can think of is a fresh install, which I seem to recall doesn't overwrite your home dirs, or /usr/local (can anyone back me up on this?) and never, ever run a recursive ownership change from / again, ever. Ever. I'm not even certain you could manage a buildworld from here. Judging from the fact tat you're running RC1-p1, I'd guess that you may not even be familiar with what a buildworld is, is that right? Why did you do that, incidentally? Whatever result you were trying to achieve can probably be accomplished once your system is running correctly, so let's find out what it was. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is it difficult to move from Linux?
I switched after using linux for several years because things are more consistent in FreeBSD. These days, I still use linux for some things, but it often feels like things are slightly weird and kludgy. Which, in all honesty, they are. Linux is one of the greatest projects ever, creating different bits and pieces and putting them together. But sometimes, I just want things to work simply. On Tue, 2007-10-23 at 14:11 +0200, Robby Balona wrote: > Switch .. switch now and you will love it. > > i just spent 3 days trying to get unixODBC working on linux... . I got > it to work in about 10 min on Freebsd. Freebsd rules... its a slight bit > different but it rules. > > You will never go back once you port something. > > On Tue, 2007-10-23 at 14:07 +, Mayank Jain wrote: > > Hi > > Using freeBSD is more fun. Installing packages and all that is very easy. > > The > > things you can do in LINUX you can surely do with FreeBSD. Collection of > > large number of ports and the flexibility to modify anything the way you > > want > > make it cool. Really after installing FreeBSD I had never swithched back to > > LINUX. > > Hope you will also enjoy working on it. > > > > On Tuesday 23 October 2007 03:53, Byung-Hee HWANG wrote: > > > Donovan, > > > > > > On Mon, 2007-10-22 at 19:33 +0100, Donovan R. Palmer wrote: > > > > Hi, > > > > > > > > I have been using Linux for over 10 years, but have for a number of > > > > reasons become very interested in learning to use FreeBSD. Are there any > > > > ex or current Linux users here and could you tell me how hard it is to > > > > make the shift from Linux? Is there anything in particular which has > > > > been written which would be useful to read? > > > > > > Just my story.. I moved to FreeBSD from Linux five years ago. Shell is > > > only thing I felt difficult. But now I am using tcsh instead of bash. > > > Aside from that, everything is OK ;; > > > > > > Sincerely, > > > > ___ > 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]"
libXfont install problems from ports
I'm having issues with six or seven ports installing. I've traced it back to two ports that are having issues, one of which is libXfont. The version I've got installed is: evolution# pkg_info -Ix libXfont libXfontcache-1.0.4 The Xfontcache library The version in ports is 1.3.1 Here's my log: ===> Building for libXfont-1.3.1,1 make all-recursive Making all in src Making all in fontfile /bin/sh ../../libtool --tag=CC--mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall -Wpointer-arith -Wstrict-prototypes-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c -o fontencc.lo fontencc.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c fontencc.c -fPIC -DPIC -o .libs/fontencc.o fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory In file included from fontencc.c:35: ../../include/X11/fonts/fontencc.h:32: error: syntax error before "FontEncPtr" ../../include/X11/fonts/fontencc.h:32: warning: function declaration isn't a prototype ../../include/X11/fonts/fontencc.h:33: error: syntax error before "font_encoding_find" ../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int' in declaration of `font_encoding_find' ../../include/X11/fonts/fontencc.h:33: warning: data definition has no type or storage class ../../include/X11/fonts/fontencc.h:34: error: syntax error before "FontEncPtr" ../../include/X11/fonts/fontencc.h:34: warning: function declaration isn't a prototype fontencc.c: In function `font_encoding_from_xlfd': fontencc.c:42: warning: implicit declaration of function `FontEncFromXLFD' fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' fontencc.c:42: warning: return makes pointer from integer without a cast fontencc.c: At top level: fontencc.c:46: error: syntax error before "font_encoding_find" fontencc.c:47: warning: return type defaults to `int' fontencc.c: In function `font_encoding_find': fontencc.c:48: warning: implicit declaration of function `FontEncFind' fontencc.c:48: warning: nested extern declaration of `FontEncFind' fontencc.c: At top level: fontencc.c:53: error: syntax error before "FontEncPtr" fontencc.c:54: warning: function declaration isn't a prototype fontencc.c: In function `font_encoding_recode': fontencc.c:55: error: `encoding' undeclared (first use in this function) fontencc.c:55: error: (Each undeclared identifier is reported only once fontencc.c:55: error: for each function it appears in.) fontencc.c:55: error: `mapping' undeclared (first use in this function) fontencc.c:59: warning: implicit declaration of function `FontEncRecode' fontencc.c:59: warning: nested extern declaration of `FontEncRecode' fontencc.c:59: error: `code' undeclared (first use in this function) fontencc.c: At top level: fontencc.c:64: error: syntax error before "FontEncPtr" fontencc.c:65: warning: function declaration isn't a prototype fontencc.c: In function `font_encoding_name': fontencc.c:66: error: `encoding' undeclared (first use in this function) fontencc.c:66: error: `mapping' undeclared (first use in this function) fontencc.c:70: warning: implicit declaration of function `FontEncName' fontencc.c:70: warning: nested extern declaration of `FontEncName' fontencc.c:70: error: `code' undeclared (first use in this function) fontencc.c:70: warning: return makes pointer from integer without a cast fontencc.c: In function `identifyEncodingFile': fontencc.c:76: warning: implicit declaration of function `FontEncIdentify' fontencc.c:76: warning: nested extern declaration of `FontEncIdentify' fontencc.c:76: warning: return makes pointer from integer without a cast *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/fontfile. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont. Can anyone see what's going on? Thanks! James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portmaster question
On Thu, 2007-10-25 at 10:11 -0400, Tsu-Fan Cheng wrote: > hi, >i been using portmaster for a while when upgrading my ports, often > times when there are some problems in certain ports, e.g. jdk, i will > use "-x jdk" so i can deal with it later. but when there are two or > more of them that need special attention, i cant find a way to do it > right, i tried "-x A -x B", this seems only to register B as > neglected; "-x A B" void B in neglect. can someone show me the way?? > thanks!! > > TFC > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" >From man portmaster: [-m arguments for make] [-x glob pattern to exclude from building] -x avoid building ports as dependencies that match this pattern Sounds like it's implemented as a regular expression. Try looking up the regex syntax for the shell it's implemented in (which I think is bourne) and using a grouping expression. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mentor for C self study wanted
On Thu, 2007-10-25 at 23:19 +0200, Harald Schmalzbauer wrote: > Am Donnerstag, 25. Oktober 2007 20:22:26 schrieb Aryeh M. Friedman: > > > Absolutely. (I just didn't mention it before because > > > obviously Harald already has a beginner's book on the > > > C programming language.) > > > > Herald does in fact have one that sucks (it does a terrible job on type > > sizes for example [doesn't mention that they may very on different > > Well, probably it's not that bad. > > First, thanks to all for your help. > > K&R has been laying arround here for at least 2 years. I hated it. > It instructs me to use functions like printf without explaining it, and the > examples are not really motivating. So every time I tried to write something > on my own I was stoped by the simple printf, for example. YOU DARE NOT WORSHIP AT THE CHURCH OF K&R No, but seriously, it took me a good three years of picking up K&R and trying to get through the first chapter before I eventually started seeing why it's referred to as *the* book. > > I'm sure it's a very good book as a reference, but it couldn't motivate me as > a real C beginner (not a bloody programming beginner though). > But if it doesn't work for you, that's okay :) It *is* a good reference, though. There's annotation for the standard libraries in an appendix. > So I bought two new books, the first, which I've started with, > is "Markt+Technik, jetzt lerne ich C" (ISBN-13 978-3-8272-4210-5). > Indeed, it hasn't made clear that short and int are different, they just > explained short and long (and double long) and I thought short is a synonym > for int. > But it explains in some short sentences the most important > behaviour/requirements for the functions we use. It still leaves me alone > when it comes to compilers, but after only three evenings so far I think that > I made real progress. Writing a simple practice just works :) > And I already know that float x; x=10/3 is 3 not 3.. I can't remember > reading that in the K&R in the first quarter of the book. > I'm still quiet happy with it. > > The next book is O'Reillys C in a nutshell (ISBN 3-89721-344-3). I'll open it > if I have structs and pointers practiced... > If you've got the cash to spare, try out O'Reilly's "Practical C Programming". That book is very friendly, contains a tonne of great examples, and a lot of on the spot quizzes. I was sold on it when I read the rear cover. It says something like: "K&R teaches there are nine rules of precedence in C. We teach two: the first is that addition comes before subtraction, the second is use parentheses for everything else." That kind of simplicity isn't something you see everywhere. > And of course I'll "replay" the K&R if I have some more basics. > > Thanks, > > -Harry > > > machines])... since he is paying me a small amount to help him in detail > > I am going to recommend K&R to him (with the caution is is meant for > > experienced programmers) > > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: libXfont install problems from ports
> I'm having issues with six or seven ports installing. I've traced it > back to two ports that are having issues, one of which is libXfont. > > The version I've got installed is: > > evolution# pkg_info -Ix libXfont > libXfontcache-1.0.4 The Xfontcache library > > The version in ports is 1.3.1 > > > Here's my log: > > > ===> Building for libXfont-1.3.1,1 > make all-recursive > Making all in src > Making all in fontfile > /bin/sh ../../libtool --tag=CC--mode=compile cc -DHAVE_CONFIG_H > -I. -I../.. -I../../include/X11/fonts -I../../include > -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts > /encodings/encodings.dir\" -Wall -Wpointer-arith > -Wstrict-prototypes-Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe > -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include > -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c -o fontencc.lo > fontencc.c > cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts > -I../../include -DFONT_ENCODINGS_DIRECTORY= > \"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall > -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 > -fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN > -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP > -MF .deps/fontencc.Tpo -c fontencc.c -fPIC -DPIC -o .libs/fontencc.o > fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory > In file included from fontencc.c:35: > ../../include/X11/fonts/fontencc.h:32: error: syntax error before > "FontEncPtr" > ../../include/X11/fonts/fontencc.h:32: warning: function declaration > isn't a prototype > ../../include/X11/fonts/fontencc.h:33: error: syntax error before > "font_encoding_find" > ../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int' > in declaration of `font_encoding_find' > ../../include/X11/fonts/fontencc.h:33: warning: data definition has no > type or storage class > ../../include/X11/fonts/fontencc.h:34: error: syntax error before > "FontEncPtr" > ../../include/X11/fonts/fontencc.h:34: warning: function declaration > isn't a prototype > fontencc.c: In function `font_encoding_from_xlfd': > fontencc.c:42: warning: implicit declaration of function > `FontEncFromXLFD' > fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' > fontencc.c:42: warning: return makes pointer from integer without a > cast > fontencc.c: At top level: > fontencc.c:46: error: syntax error before "font_encoding_find" > fontencc.c:47: warning: return type defaults to `int' > fontencc.c: In function `font_encoding_find': > fontencc.c:48: warning: implicit declaration of function `FontEncFind' > fontencc.c:48: warning: nested extern declaration of `FontEncFind' > fontencc.c: At top level: > fontencc.c:53: error: syntax error before "FontEncPtr" > fontencc.c:54: warning: function declaration isn't a prototype > fontencc.c: In function `font_encoding_recode': > fontencc.c:55: error: `encoding' undeclared (first use in this > function) > fontencc.c:55: error: (Each undeclared identifier is reported only > once > fontencc.c:55: error: for each function it appears in.) > fontencc.c:55: error: `mapping' undeclared (first use in this > function) > fontencc.c :59: warning: implicit declaration of function > `FontEncRecode' > fontencc.c:59: warning: nested extern declaration of `FontEncRecode' > fontencc.c:59: error: `code' undeclared (first use in this function) > fontencc.c: At top level: > fontencc.c:64: error: syntax error before "FontEncPtr" > fontencc.c:65: warning: function declaration isn't a prototype > fontencc.c: In function `font_encoding_name': > fontencc.c :66: error: `encoding' undeclared (first use in this > function) > fontencc.c:66: error: `mapping' undeclared (first use in this > function) > fontencc.c:70: warning: implicit declaration of function > `FontEncName' > fontencc.c:70: warning: nested extern declaration of `FontEncName' > fontencc.c:70: error: `code' undeclared (first use in this function) > fontencc.c:70: warning: return makes pointer from integer without a > cast > fontencc.c: In function `identifyEncodingFile': > fontencc.c:76: warning: implicit declaration of function > `FontEncIdentify' > fontencc.c:76: warning: nested extern declaration of `FontEncIdentify' > fontencc.c :76: warning: return makes pointer from integer without a > cast &
Re: Portupgrade used to be fun!!!
> > > Not anymore! Every time I cvsup my ports tree and I see all of > > > those ports that need to be updated my belly aches and that's > > > because portupgrade doesn't work the way it used to work. It is > > > not fun any more! Always an issue, either a port conflicts with > > > another port or it fails all together. I have forgotten the last > > > time I updated my ports without any issues. Today scrollkeeper is > > > conflicting with rarian, they install files on the same directory. > > > Go figure. Those were the days when it used to work. What would you like to see from ports? I mean, in the great tradition of BSD, let's work out what the problem is and write a script. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Name resolution
> > > thank you; your right it is cvsup, but the handbook indicates that I > could use csup in place of cvsup in the command line on v6.2 and up. > But that does not seem to effect the resolver issue (unless I am > mistaken here and the resolver is actually working and it is just the > reference) > Jeff K Try pinging google. If it works, great. If not, then the simplest way I've found to read local changes to resolv.conf into the system is to boot into single user mode and then ctrl-d out of it. Just type: shutdown NOW And you'll be taken to single user mode. Assuming your resolv.conf is correct, great. If not, we'll work on fixing that. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: best way to distribute an item to everyones homedir?
On 10/28/07, Jonathan Horne <[EMAIL PROTECTED]> wrote: > > On Sunday 28 October 2007 09:21:55 you wrote: > > maildir=/path/to/your/custom/maildir > > > > for dir in `ls /usr/home` > > do > > cp -r $maildir /usr/home/$dir/ > > done > > thanks james. quick question... will that put the proper owner and chmod > of > the target homedirs, on the new directories? > > thanks, > -- > Jonathan Horne > http://dfwlpiki.dfwlp.org > [EMAIL PROTECTED] > ...what an interesting question. Let me check. Okay, a couple of things. First, for the copy command, make sure that you don't include a trailing slash for the source directory, otherwise it copies the contents of the directory and not the directory itself. So: pclmills# cp -r COPYME ~james/ NOT: pclmills# cp -r COPYME/ ~james/ This will set the group permission correctly, not the user, and the permissions are in accordance with umask. So the result of the above copy is: [EMAIL PROTECTED] ~]$ ls -l | grep COPYME drwxr-xr-x 2 root james 512 Oct 28 11:03 COPYME And the file inside the directory gets: [EMAIL PROTECTED] ~]$ cd COPYME/ [EMAIL PROTECTED] ~/COPYME]$ ls -l total 0 -rw-r--r-- 1 root james 0 Oct 28 11:03 file As you've got configuration scripts, if your umask is the same as mine then this should be fine. It's reasonably trivial, of course, to add a line to the copy script to use chmod and chown to change the permissions as you want them to be changed. the $dir variable in the above for loop contains the name of the home directory. If this is the same name as the UID/GID (which it is by default) then even though it looks weird something like: chown -R $dir:$dir /usr/home/$dir/$maildir will get you close. Of course, remember this warning from man chown: -R Change the user ID and/or the group ID of the specified directory trees (recursively, including their contents) and files. Beware of unintentionally matching the ``..'' hard link to the parent directory when using wildcards like ``.*''. How I do something like this is to build the script one line at a time using test directories that I set up. Do that first and everything should be tickety boo. I put the mailing list's address back in the cc line of this email; use "reply all", not reply, to hit the whole mailing list and have people who are *far* better scripters than me chime in with helpful hints ;) James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: can't upgrade - catch-22
On 10/28/07, Keith Seyffarth <[EMAIL PROTECTED]> wrote: > > > try: setenv X11BASE /usr/X11R6 > > > > then rebuild portupgrade. > > That still gives the 'cannot set X11BASE' error... If I run env after > setting the X11BASE as instructed above, it is set, but I still get > the error. > > Keith > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > Silly question: are you running env as root or as your user ID? i.e. are you running env as the user who needs this variable? James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: port xyz: the grey screen with all the checkboxes is wrong and won't come back
On 10/28/07, Steve Franks <[EMAIL PROTECTED]> wrote: > > Obviously, 'make clean' doesn't reset the configure screen. Don't know > why. > > I recall there was a faster way to fix this than 'portsnap extract' > but I'll be damned if I can remember, and the ports section of the > handbook doesn't even mention configure dialogs... > > I'd love to add a snippet to the handbook to cover this, but the last > time I made an offer like that on [EMAIL PROTECTED], it appears to have gone > into dev/null... > > Steve > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > You're not talking about "make configure", are you? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cp --verify?
On 10/28/07, Steve Franks <[EMAIL PROTECTED]> wrote: > > I don't see a --verify switch on cp, so I presume it does not. Is > there an automated way to ensure a copy has gone well byte-for-byte > without writing a script to filter diff? I want to be relatively sure > my family pics are in the destination and not currupted before I wipe > my flash card - got burned by ms windows on that bigtime last year... > > Steve > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" cd /usr/ports/net/rsync make install clean rehash man rsync rsync -cav sourcefiles destfiles http://en.wikipedia.org/wiki/Rsync rsync is one of the great programs to discover. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: resolver problems
On 10/28/07, jekillen <[EMAIL PROTECTED]> wrote: > > Hello: > I am still having resolver problems with my 6.2 system. > It has shown up with trying to install ports from the ftp site. > I discovered that there is no resolv.conf file, so I created one. > The funny thing is if I ping one of my web sites with > www..com ping can't resolve the address. > but if I do ..com it works. That's probably because you're pinging them via the internal address, not the external address. If you've got a little router, it's grabbed the internal names. If not, then this is interesting, but the same fundamental idea would seem to hold. Just for control test purposes I tried from a Mac OSX machine > and was able to ping www..com. I even have > my own DNS servers listed as servers to contact in resolv.conf Okay, did you try setting up the /etc/resolv.conf on the FreeBSD boxes to match the one on the Mac OS X machine? It's also possible it's your route tables. But tell me first if you've got a small home router that you're connecting everything via. To abbreviate this message, I am trying to get ports set up > and working. > This time I tried portsnap fetch and the site indicated as > the source and mirrors could not be found. > Any suggestions, help, advice is appreciated. I am going more > to the existing material, but it obviously cannot anticipate this > sort of problem literally. > Thanks In Advance: > Jeff K > > ___ > 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: Greeter application missing (??) gdm login ?
On 10/29/07, Gary Kline <[EMAIL PROTECTED]> wrote: > > Well, I managed to hose my gnome config *thoroughly*. Can > anybody clue me in how to set things right? > > /home is now where /usr/home was before. I have a dummy > acccolunt that when I typr (as root) kdm, KDE starts up. > But trying gdm (or automating this in /etc/rc.conf) gets me > nowhere. I deleted ~/.gnome2 thinking that itwould be rebuilt on > my next login. Nope. --i Also messed with the login screen > andnow I see a large daisy on the lower right. There is a dialog > about my missing some files in /var/tmp. > > Any/all insights welcome here! > > gary > > > > -- > Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > Have you tried following the handbook's setup tips again? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html I don't *imagine* that'll get it, and you should make sure that your xinitrc doesn't contain two copies of the line, but it mightn't be bad to start at the beginning. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: resolver problems
On 10/29/07, jekillen <[EMAIL PROTECTED]> wrote: > > > On Oct 28, 2007, at 3:53 PM, James wrote: > > > > > > > On 10/28/07, jekillen <[EMAIL PROTECTED]> wrote: > >> I am still having resolver problems with my 6.2 system. > >> It has shown up with trying to install ports from the ftp site. > >> I discovered that there is no resolv.conf file, so I created one. > >> The funny thing is if I ping one of my web sites with > >> www..com ping can't resolve the address. > >> but if I do ..com it works. > > That's probably because you're pinging them via the internal address, > > not the external address. If you've got a little router, it's grabbed > > the internal names. If not, then this is interesting, but the same > > fundamental idea would seem to hold. > That is a possibility, the possibility that seems the most plausible. I > guess I will have to disconnect the internal > network and try it to eliminate that. The router is the DSL modem > router, so it could be redirecting the dns query > at itself and not sending it out and then having it come back It just hit me that the simplest way to solve your first problem (not being able to update) would be to look up the server you're wanting to connect to from a working computer, note down its IP address, and edit /etc/hosts to include the mapping. . > > > > > >> Just for control test purposes I tried from a Mac OSX machine > >> and was able to ping www..com. I even have > >> my own DNS servers listed as servers to contact in resolv.conf > > Okay, did you try setting up the /etc/resolv.conf on the FreeBSD boxes > > to match the one on the Mac OS X machine? > I will have to look at that. Mac is somewhat more complicated with name > resolution, or can be (from experience)*. I have not > looked at resolv.conf on that machine in a while. There was a file on > Linux and Unix like machines, nsswitch.conf or something, > that would tell the system how to go about looking up addresses. It was > a list of things to try like file(hosts file), dns, etc. and I have > forgotten the name because it has been too long since I looked at one > of those. > * I just looked at it and besides the line 'search sbcglobal.net' the > nameserver list is in a different order, with the isp's servers > coming first. I remember looking at this that Mac OS is simplest to look up information for using the graphical network information tool in system preferences. If you're using DHCP, of course, it might be a little trickier, but you sound like a static kind of person. > > > > > It's also possible it's your route tables. But tell me first if you've > > got a small home router that you're connecting everything via. > The only router is the ADSL modem/router. All of the machines are > multihomed. The ones that connect to the internet directly > have static ip assigned. Is that from your service provider, or does the router use DHCP to share out its connection? These are the only network traffic the modem > deals with. The inside network has a few switches and > that is it. > I do not have any of the machines specifically set to route from one > interface/address to another. The only connections are > processes like Apache that listen to all connected interfaces. None of > those are set to proxy traffic. I believe ftpd would listen > on all connected interfaces also. Ftp is a little troubling to me > because there does not seem to be nearly as much info about > it as, say, Apache. I would think that there would be a more > substantial configuration file for it. It would be nice to be able to > specify, and limit which interfaces and network address to listen to > and send and receive from. As it is, I take care of that with > tcpwrappers. > > Thanks for the response: > Jeff K So, what I'm understanding is this: you have several machines. One is a Mac box that works perfectly. The rest are FreeBSD boxes that don't work perfectly. The way they don't work perfectly is that they're not resolving DNS correctly. Other network services work fine, you can ping out by IP address etc, just not DNS. You have either several IP addresses from your ISP, or you have one IP address at your router/modem, and it is performing NAT/DHCP to handle transforming your network connection to a shared connection from several machines. I just want to get a clear idea in my head of the picture of this thing so that I understand the problem :) If your router is performing DHCP/NAT, turn one of your FreeBSD boxes onto DHCP, copy down it's resolv.conf, configure it statically again and set up all the boxes correctly. If do
Re: Newby Question: What to do when one port can't recognize another port?
On Mon, 2007-10-29 at 15:54 -0700, Jeff D wrote: > I've decided to try to build up my 1st FreeBSD server. > > Reading the Handbook is mostly helpful, but I' getting hit with a couple of > problems I can't figure out. > > I was looking for a beginner's list. I think this is the closest to it. > > The main reason I'm trying out FreeBSD is because I want to set up my own > web server, and the Ports seemed liked a way to do it that manages conflicts > & dependencies better even that Linux systems. Not being much of a program > guy, that sounds good to me! > > When I try to install the Apache port in /usr/ports/www/apache22, it errors > out with > > IGNORED > Unknown Berkeley DB version > > After checking on the Oracle site, I made sure to install the latest, most > up to date /usr/ports/databases/db46 port. It seems to have worked and I > can use it in other ports. > > I'm not sure where to turn next. > > Anybody got some advice to share? What version of the operating system are you using? When did you last update your ports tree? These're both important for us to know. But, you should know that apache on FreeBSD is fantastic. I tried getting it configured once on Ubuntu; that was a harsh, harsh experience. Weird custom configuration files in weird locations. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
libXfont not installing
Hi folks, I'm having issues getting libXfont installed from ports. It's a requirement of a lot of different things, such as xorg, xpdf etc. The problem that ran up to this was a while back, upgrading x11 from 6.9 to 7.2, I apparently borked it but didn't notice. I remembered everything as going off smoothly, but then the upgrade to 7.3 broke. I checked pkg_info and found that some of the x11 components were still at 6.9, some were at 7.2, and some were at 7.3. So that was bust. I managed to get x updated consistently to 7.3, but libXfonts errored. And has been erroring for a long, long time. I can't seem to get this one ironed out. It *looks* like a library is being called on that shouldn't be. Here's the relevant output: ===>Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries ===> Vulnerability check disabled, database not found ===> Extracting for xorg-libraries-7.3_1 ===> Patching for xorg-libraries-7.3_1 ===> Configuring for xorg-libraries-7.3_1 ===> Installing for xorg-libraries-7.3_1 ===> xorg-libraries-7.3_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xorg-libraries-7.3_1 depends on file: /usr/local/libdata/pkgconfig/xfont.pc - not found ===>Verifying install for /usr/local/libdata/pkgconfig/xfont.pc in /usr/ports/x11-fonts/libXfont ===> Building for libXfont-1.3.1,1 make all-recursive Making all in src Making all in fontfile /bin/sh ../../libtool --tag=CC--mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include -DFONT_ENCODINGS_DIRECTORY= \"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall -Wpointer-arith -Wstrict-prototypes-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c -o fontencc.lo fontencc.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include -DFONT_ENCODINGS_DIRECTORY= \"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c fontencc.c -fPIC -DPIC -o .libs/fontencc.o fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory In file included from fontencc.c:35: ../../include/X11/fonts/fontencc.h:32: error: syntax error before "FontEncPtr" ../../include/X11/fonts/fontencc.h:32: warning: function declaration isn't a prototype ../../include/X11/fonts/fontencc.h:33: error: syntax error before "font_encoding_find" ../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int' in declaration of `font_encoding_find' ../../include/X11/fonts/fontencc.h:33: warning: data definition has no type or storage class ../../include/X11/fonts/fontencc.h:34: error: syntax error before "FontEncPtr" ../../include/X11/fonts/fontencc.h:34: warning: function declaration isn't a prototype fontencc.c: In function `font_encoding_from_xlfd': fontencc.c:42: warning: implicit declaration of function `FontEncFromXLFD' fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' fontencc.c:42: warning: return makes pointer from integer without a cast fontencc.c: At top level: fontencc.c:46: error: syntax error before "font_encoding_find" fontencc.c:47: warning: return type defaults to `int' fontencc.c: In function `font_encoding_find': fontencc.c:48: warning: implicit declaration of function `FontEncFind' fontencc.c:48: warning: nested extern declaration of `FontEncFind' fontencc.c: At top level: fontencc.c:53: error: syntax error before "FontEncPtr" fontencc.c:54: warning: function declaration isn't a prototype fontencc.c: In function `font_encoding_recode': fontencc.c:55: error: `encoding' undeclared (first use in this function) fontencc.c:55: error: (Each undeclared identifier is reported only once fontencc.c:55: error: for each function it appears in.) fontencc.c:55: error: `mapping' undeclared (first use in this function) fontencc.c:59: warning: implicit declaration of function `FontEncRecode' fontencc.c:59: warning: nested extern declaration of `FontEncRecode' fontencc.c:59: error: `code' undeclared (first use in this function) fontencc.c: At top level: fontencc.c:64: error: syntax error before "FontEncPtr" fontencc.c:65: warning: function declaration isn't a prototype fontencc.c: In function `font_encoding_name': fontencc.c:66: error: `encoding' undeclared (first use in this function) fontencc.c:66: error: `mapping' undeclared (first use in this function) fontencc.c:70: warning: implicit declaration of function `FontEncName' fontencc.c:70: warning: nested extern declaration of `FontEncName' fontencc.c:70: error: `code' undeclared (first use in this function) fontencc.c:70: warning: re
Re: Newby Question: What to do when one port can't recognize another port?
On Tue, 2007-10-30 at 07:15 -0700, Jeff D wrote: > James, > > On 10/30/07, james <[EMAIL PROTECTED]> wrote: > What version of the operating system are you using? > > I'm using the Version 6.2 Release, updated with Patchset 7 > > When did you last update your ports tree? > > Last time was yesterday afternoon. Okay, great. Have you also done a successful portupgrade since then? I should have asked this earlier, but it's before nine and I'm not at my best when tired ;) > > But, you should know that apache on FreeBSD is fantastic. I > tried > getting it configured once on Ubuntu; that was a harsh, harsh > experience. Weird custom configuration files in weird > locations. > > What makes it "fantastic" versus not? Isn't an Apache configuration > supposed to be the same? In httpd.conf, or whatever? I agree! However, some folks think that httpd.conf should be deprecated in favour of apache2.conf. And then it gets weirder and weirder... apache on FreeBSD is installed consistently (i.e. you know where to look for files based upon sensible reasoning), and it follows exactly the conventions you expect it to follow, with httpd.conf etc. The only weirdness to be aware of is that the handbook covers apache 1.3, not 2.x. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dangers of using a non-base shell
On Mon, 2007-10-29 at 20:50 +, Stephen Allen wrote: > It's been drawn to my attention not to use bash from the ports > collection, because if one of it's dependencies (gettext or libiconv) > fails or is updated significantly, it could break, and prevent login. > The suggested solution was to use a base shell (such as sh) and append > 'bash -l' to .shrc to automatically enter bash. > > The quite annoying side-effect is having to type 'exit' twice to get out > of a su shell or screen. > > Would it be a better idea to use the pre-compiled binary for bash? No, as the same problem exists. What you're looking for is a statically compiled binary. There have been a few threads in the October about statically compiling bash. If you look hard enough, you'll even find someone who claims that the only shells for unix lovers are sh, csh, and tcsh. But I like bash's tab completion. No other shell implements it as well that I've found. > And > if I did so, could I be alerted to updates as easy as using 'pkg_version > -v' when checking if any ports need updating? > > Many thanks, > Steve > ___ > 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: Newby Question: What to do when one port can't recognize another port?
On Tue, 2007-10-30 at 06:42 -0700, Jeff D wrote: > Matthew, > > On 10/30/07, Matthew Seaman <[EMAIL PROTECTED]> wrote: > > > > This is a known problem with the apache22 port. At the moment it only > > understands about Berkeley DB versions up to 4.4.x -- there's an open > > ticket in the PR system which requests support for versions up to 4.6.x: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116637 > > > > Until that gets fixed, use BDB 4.4.x instead. To make that the default > > version on your system add this to /etc/make.conf: > > > > WITH_BDB_VER= 44 > > > Thanks for pointing this out. > > I'd thought that the port system in Freebsd was assured to be internally > consistent with all other stuff in the system by a central team (QA?). I > didn't realize that each port was from a different person, and that the > process could get held up for weeks or months. > > I guess your advice is what I should do. I'm a little nervous about undoing > what's already been done, and think I might just start over with db44 to be > safe. > > Knowing this now, I guess I should also make a list of the programs and > versions I need, and check each & every one for problems before I start > again. If something popular like the Apache Web Server has long standing > unresolved issues like this, other programs may too. > > A friend is pushing me to use Ubunutu Linux instead, saying that stuff like > this doesn't happen with it, but I'm not so convinced. After being 'sold' > on the Freebsd ports, it's worth some more reading. > > Thanks. > > Regards, > > Jeff All OSes have their good and bad points. Sometimes, even the mighty ubuntu pushes out broken updates (such as the one a version or two back that broke a significant percentage's X-configuration). And ubuntu has a bug tracker for a reason, not just for kicks. Just like FreeBSD. If you want a smoother sailing way of going forwards, try installing the older version of apache that's available in ports. Its install is the one that's handbook documented. If you decide to go with ubuntu, I hope it goes well for you. They have a friendly community that can help most problems. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh
On 10/31/07, Michael Grant <[EMAIL PROTECTED]> wrote: > > On 10/31/07, James <[EMAIL PROTECTED]> wrote: > > > > > > > > On 10/31/07, Michael Grant <[EMAIL PROTECTED]> wrote: > > > > > > If I'm sued as root and I ssh somewhere, ssh/scp reads it's files from > > > /root/.ssh/. The docs say it reads from ~/.ssh which is what I want, > > > but it's not doing that. When sued, the shell is properly expanding ~ > > > to my home dir. > > > > > > Anyone know of a way around this behavior? > > > > > > Michael Grant > > > > > > su - root > > Nope. One other suggestion was 'su -l root'. This does not change > the situation either. > > I went into the source for ssh and it does a getuid() and then gets > the homedir of that uid. So no amount of fooling with su is gonig to > fix this. I guess it's like this for security reasons, it sure seems > like a bug to me. I'd have used the HOME enviroment variable. > > So far, the best fix I've found is to create some aliases in bash as > follows: > > alias scp="scp -o User=username -i ~/.ssh/id_rsa" > alias ssh="ssh -l username -i ~/.ssh/id_rsa" > alias rsync="rsync -op -e 'ssh -l username -i /home/username/.ssh/id_rsa'" > Yeah, I misread your problem. Are you saying that you want to su to root, but still have some variables set as they were on the account you sued from? So you have a user named Michael, say, and you su to root, but when you ssh you want Michael's .ssh to be the effective one? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Issues Installing ImageMagick on FreeBSD 6.2
On 10/30/07, Brett Davidson <[EMAIL PROTECTED]> wrote: > > Get this error... > > gdkdrawable-x11.c:32:24: cairo-xlib.h: No such file or directory > gdkdrawable-x11.c: In function `_gdk_x11_drawable_update_size': > gdkdrawable-x11.c:238: warning: implicit declaration of function > `cairo_xlib_surface_set_size' > gdkdrawable-x11.c: In function `gdk_x11_ref_cairo_surface': > gdkdrawable-x11.c:1469: warning: implicit declaration of function > `cairo_xlib_surface_create' > gdkdrawable-x11.c:1472: warning: assignment makes pointer from integer > without a cast > gdkdrawable-x11.c:1474: warning: implicit declaration of function > `cairo_xlib_surface_create_for_bitmap' > gdkdrawable-x11.c:1477: warning: assignment makes pointer from integer > without a cast > gmake[4]: *** [gdkdrawable-x11.lo] Error 1 > gmake[4]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.1/gdk/x11' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.1/gdk' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.1/gdk' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+- > 2.12.1' > gmake: *** [all] Error 2 > *** Error code 2 > > Tried different ports trees spaced a week apart and also tried to run > pkg_add -r... > > All to no avail. > > Any ideas? > > > > -- > Brett Davidson > Systems Engineer > -- > Net24 Limited > Web: www.net24.co.nz > Phone: 0800 5000 24 | DDI: +64 3 962 9518 > -- > // web hosting / email hosting / data backup > // our reputation for reliability precedes us > > This transmission is for the intended addressee only and is confidential > information. If you have received this transmission in error, please > delete it and notify the sender. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > I'd try a make deinstall && make reinstall for cairo. Looks like it can't find a library or two; might be that your ports tree is out of sync and you need a portupgrade. Wait a second, that's a gtk error. Have you read UPDATING regarding the recent upgrade of gnome? There was a weird step in there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh
On 10/31/07, Michael Grant <[EMAIL PROTECTED]> wrote: > > If I'm sued as root and I ssh somewhere, ssh/scp reads it's files from > /root/.ssh/. The docs say it reads from ~/.ssh which is what I want, > but it's not doing that. When sued, the shell is properly expanding ~ > to my home dir. > > Anyone know of a way around this behavior? > > Michael Grant > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > su - root ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Primary group and parent dir
On 10/30/07, Alexey Vlasov <[EMAIL PROTECTED]> wrote: > > Hi. > > Linux: > $ id > uid=42451(u42451) gid=155(clients) groups=155(clients), 42451(u42451) > > $ ls -la > drwx--x--- 7u42451 www 512 29 oct 19:33 . > drwxr-x--x 254 root wheel 79872 29 oct 19:28 .. > drwx---r-x 16 u42451 clients 1024 29 oct 18:34 http > > $ mkdir test > $ ls -ld test > drwxr-xr-x 2 u42451 clients 512 29 oct 19:39 test > > it means that dirs are always made with primary usergroup. > > FreeBSD: > Everithing the same but, > $ mkdir test > $ ls -ld test > drwxr-xr-x 2 u42451 www 512 29 oct 19:39 test > it means the group is alway inherited from parent dir. > > Can I make this as in linux? > Thanks. > > -- > BRGDS. Alesha Vlasov. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > I'd never noticed this before; does BSD *always* inherit its group permission from the parent directory? It looks like that. I'd imagine there's a way to change this somewhere, but it would involve a kernel patch or something. Inheritance of permissions are pretty low level. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Primary group and parent dir
On 10/31/07, James <[EMAIL PROTECTED]> wrote: > > > > On 10/30/07, Alexey Vlasov <[EMAIL PROTECTED]> wrote: > > > > Hi. > > > > Linux: > > $ id > > uid=42451(u42451) gid=155(clients) groups=155(clients), 42451(u42451) > > > > $ ls -la > > drwx--x--- 7u42451 www 512 29 oct 19:33 . > > drwxr-x--x 254 root wheel 79872 29 oct 19:28 .. > > drwx---r-x 16 u42451 clients 1024 29 oct 18:34 http > > > > $ mkdir test > > $ ls -ld test > > drwxr-xr-x 2 u42451 clients 512 29 oct 19:39 test > > > > it means that dirs are always made with primary usergroup. > > > > FreeBSD: > > Everithing the same but, > > $ mkdir test > > $ ls -ld test > > drwxr-xr-x 2 u42451 www 512 29 oct 19:39 test > > it means the group is alway inherited from parent dir. > > > > Can I make this as in linux? > > Thanks. > > > > -- > > BRGDS. Alesha Vlasov. > > > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > [EMAIL PROTECTED]" > > > > I'd never noticed this before; does BSD *always* inherit its group > permission from the parent directory? It looks like that. > > I'd imagine there's a way to change this somewhere, but it would involve a > kernel patch or something. Inheritance of permissions are pretty low level. > > James > Okay, more research is leading me to believe it's actually a file system issue. The BSD file system works one way, other file systems work differently. http://www.webservertalk.com/archive291-2006-3-1429958.html Try creating a partition with ext3 on it and creating a few folders in there. You could even format a USB drive or something. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh
On 10/31/07, Michael Grant <[EMAIL PROTECTED]> wrote: > > On 10/31/07, James <[EMAIL PROTECTED]> wrote: > > > > > > On 10/31/07, Michael Grant <[EMAIL PROTECTED]> wrote: > > > On 10/31/07, James <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > On 10/31/07, Michael Grant <[EMAIL PROTECTED] > wrote: > > > > > > > > > > If I'm sued as root and I ssh somewhere, ssh/scp reads it's files > from > > > > > /root/.ssh/. The docs say it reads from ~/.ssh which is what I > want, > > > > > but it's not doing that. When sued, the shell is properly > expanding ~ > > > > > to my home dir. > > > > > > > > > > Anyone know of a way around this behavior? > > > > > > > > > > Michael Grant > > > > > > > > > > > > su - root > > > > > > Nope. One other suggestion was 'su -l root'. This does not change > > > the situation either. > > > > > > I went into the source for ssh and it does a getuid() and then gets > > > the homedir of that uid. So no amount of fooling with su is gonig to > > > fix this. I guess it's like this for security reasons, it sure seems > > > like a bug to me. I'd have used the HOME enviroment variable. > > > > > > So far, the best fix I've found is to create some aliases in bash as > > follows: > > > > > > alias scp="scp -o User=username -i ~/.ssh/id_rsa" > > > alias ssh="ssh -l username -i ~/.ssh/id_rsa" > > > alias rsync="rsync -op -e 'ssh -l username -i > /home/username/.ssh/id_rsa'" > > > > > > > > > > > Yeah, I misread your problem. Are you saying that you want to su to > root, > > but still have some variables set as they were on the account you sued > from? > > So you have a user named Michael, say, and you su to root, but when you > ssh > > you want Michael's .ssh to be the effective one? > > Well sort of. When I su, $HOME is set to my homedir and $USER set to > mgrant. This is fine. However, ssh (when sued) doesn't read > $HOME/.ssh, it reads /root/.ssh. And it's not defaulting to logging > into the remote machine as $USER, it tries to log in as root. It does > this because it's hardwired in the code more or less as follows (I've > extracted the relevant code from ssh.c): > > original_real_uid = getuid(); > pw = getpwuid(original_real_uid); > sprintf(buf, "%s/%s", pw->pw_dir, "ssh-config"); > read_config_file(buf); > options.user = strdup(pw->pw_name); > > Like I said, it seems like a bug to me. Personally I would have done > a getenv("HOME") and getenv("USER") myself instead of depending on the > userid. Probably they had good reason for doing it the way they did > it. > > So I think the problem is unsolvable using options to su. Only > solution I found so far was the aliases above. > > Michael Grant > You could just pop your code in there and compile it as you want it. Maybe submit it back to openssh as a bugfix. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2 with Xorg 7.3
On 10/31/07, John <[EMAIL PROTECTED]> wrote: > > I hope this is an appropriate list for this type of question; please let > me > know if another list is more suitable to newbie-type quesions. > > I've been using Linux for a long time, and every year or so I have a crack > at *BSD to see what I'm missing. But it never works out. > > So, trying again... > > I think I want to start with FreeBSD 6.2 with Xorg upgraded to 7.3. I > tried > to accomplish this over the course of several installs. In the end, I > decided this should work: > > a) install 6.2, plain User setup (NOT with Xorg, and NOT with ports) > > b) portsnap fetch > > c) portsnap extract > > d) cd to /usr/ports/x11/xorg and make install clean > > When I do pkg_version -v, it SEEMS to have installed the xorg that I want. > > Is this the right procedure to start with? Yes. The file you should be aware of from now on is /usr/ports/UPDATING. It's notes for updating. But you didn't update anything, you installed from scratch. Should I have set up that > vulnerability database? What're you thinking of? portaudit? Any advice appreciated. > > John > ___ > 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: memory pool, rfc
On 10/31/07, Steve Bertrand <[EMAIL PROTECTED]> wrote: > > > I think that in this list are FreeBSD > > *gurus*/hacks too which could say a "try it" or a "are you crazy?" > > answer. If other developers thinks that they need my rfc i'll add my > > code to FreeBSD. > > Agreed, so could it be added as a port, or can you license the code > with the BSD license and post a link to it? > > To be honest, from what you say about your application, it sounds > beneficial. I personally would be willing to try it on one of the > boxes that I boot from removable USB disk and run the entire OS in > memory, with no hard disk whatsoever. > > > The point to zlib / libbzip2 is because when i talk about compression > > *always* someone says " Why don't use zlib?" Short answer No, Medium > > Answer: deflate is 15 years old and there are better and faster algs > > now. > > Understood. Can you provide a compilable product with reasonable > documentation that can be tested? > > Steve And is it better than bzip? ___ > 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: launcher problems...
On 11/1/07, Gary Kline <[EMAIL PROTECTED]> wrote: > > Guys, > > I don't understand this: I just recompiled as much of Gnome as I > an think of.Still missing are the "greeting application" > (cf to the xlogin, perhaps). And, after logging in to root > wwith the daisy-flower login screen, when I tried to exec a term > or konsole, it said I am missing a "launcher." > > Anybody knowwhat I have to do here? > > merci d'advanc, > > gary > > > > -- > Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > You said you hadn't followed the handbook instructions on installing Gnome last time; have you tried that yet? James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 'break' system call man page is missing?
On 11/1/07, Yuri <[EMAIL PROTECTED]> wrote: > > > What is the condition when errno=22 is returned? > I figured this out myself by looking into the kernel source code. > > But there still should be a man page for this since this seems to be only > (or at > least one of the very few) system calls w/out documentation. > > Yuri > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > write a man page and submit it to the documentation project :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem with Apache22
On 11/1/07, Peter Uthoff <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a problem where my Apache procs are dying almost exactly every > ten > minutes as you can from the messages and web logs below: > > Oct 25 10:34:44 kernel: pid 66337 (httpd), uid 80: exited on signal 4 > Oct > 25 10:35:33 kernel: pid 66357 (httpd), uid 80: exited on signal 4 Oct > 25 > 10:45:11 kernel: pid 66395 (httpd), uid 80: exited on signal 4 Oct 25 > 10:55:21 kernel: pid 66340 (httpd), uid 80: exited on signal 4 > > Looking at the Apache logs, I find the following: > > [Thu Oct 25 10:25:01 2007] [notice] child pid 66379 exit signal Illegal > instruction (4) > [Thu Oct 25 10:34:44 2007] [notice] child pid 66337 exit signal Illegal > instruction (4) > [Thu Oct 25 10:35:33 2007] [notice] child pid 66357 exit signal Illegal > instruction (4) > [Thu Oct 25 10:45:11 2007] [notice] child pid 66395 exit signal Illegal > instruction (4) > > I tried upping the logs all the way to debug today and it really wasn't > very helpful: > > [Wed Oct 31 15:59:19 2007] [debug] prefork.c(991): AcceptMutex: flock > (default: flock) > [Wed Oct 31 16:05:39 2007] [notice] child pid 73668 exit signal Illegal > instruction (4) > [Wed Oct 31 16:12:01 2007] [info] server seems busy, (you may need to > increase StartServers, or Min/MaxSpareServers), spawning 8 children, > there > are 4 idle, and 17 total children > [Wed Oct 31 16:15:04 2007] [notice] child pid 73779 exit signal Illegal > instruction (4) > [Wed Oct 31 16:15:28 2007] [notice] child pid 73717 exit signal Illegal > instruction (4) > [Wed Oct 31 16:18:37 2007] [notice] child pid 95939 exit signal Illegal > instruction (4) > > I don't believe the 'busy' message is accurate. I think it's a result of > the procs dying constantly as I just don't get that much traffic. I also > have no idea what is causing the illegal instructions because none of > the logs point out any specific detail to help me track it down. > > I'm running the following: > > FreeBSD 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #3: Thu Oct 25 20:04:14 > CDT > 2007 :/usr/obj/usr/src/sys/GENERIC i386 > > apache-2.2.6_2 Version 2.2 of Apache web server with prefork MPM. > > php5-5.2.4_1PHP Scripting Language > > mysql-client-5.0.45_1 Multithreaded SQL database (client) > mysql-server-5.0.45_1 Multithreaded SQL database (server) > p5-DBD-mysql50-4.005 MySQL 5.0 driver for the Perl5 Database Interface > (DBI) > php5-mysql-5.2.4_1 The mysql shared extension for php > php5-mysqli-5.2.4_1 The mysqli shared extension for php > > I'm using vhosts to host 4 different websites with different domains. > The > sad part is that these all show no errors in their logs even with them > turned up to debug level. I've been looking at this off and on trying to > solve it as time allowed since mid-September. I'm completely stumped and > would appreciate any helpful suggestions where else I can look. > > Thank you! > > This email was sent to you by Reuters, the global news and information > company. > To find out more about Reuters visit www.about.reuters.com > > Any views expressed in this message are those of the individual sender, > except where the sender specifically states them to be the views of > Reuters Limited. > > Reuters Limited is part of the Reuters Group of companies, of which > Reuters Group PLC is the ultimate parent company. > Reuters Group PLC - Registered office address: The Reuters Building, South > Colonnade, Canary Wharf, London E14 5EP, United Kingdom > Registered No: 3296375 > Registered in England and Wales > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > First thing that comes to mind is to download knoppix and use either "memtest" or "memtest86" as the cheatcode. I forget which. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2 with Xorg 7.3
On Thu, 2007-11-01 at 21:56 +, Tino Engel wrote: > Unfortunately portsnap fetch has performed an upgrade to xorg-7.3_1 for > RELENG_6_2. > I do not trust this at all. I would bet doing a portupgrade would break xorg > more or less irreversibly. I have already gone through this trying to upgrade > to RELENG_7. > Is there a poosiblilty to revert the upgrade of the ports tree back to the > stable version? > > > > Isn't the default X11BASE for 6.2 still on /usr/X11R6/ I thought it > > still was, then you will run into trouble again when you are going to > > update Xorg again in the future. So I think you will need a > > X11BASE=${LOCALBASE} in /etc/make.conf Suck it up and do the upgrade. 6.9->7.2 was moderately difficult, but with the new whizzy modular Xorg, it's only a one or two command job. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New FreeBSD art?
and the > licensing terms are scarier than most MS EULAs. I think I will leave > it for now... > > Thanks for the link though > > Ashley > 1. Write to[EMAIL PROTECTED] asking permission to use a trademarked image 2. Include a trademark sign on your site 3. Include a line that says something like "Trademark of the FreeBSD foundation" 4. Don't cut up the image and reproduce it in some other image without permission That's about it. The rest is mostly lawyer-ese ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cannot get screen out of black/black mode...
> > Xorg blanking can be set via "xset". To see your settings run > > "xset q". If you run "xset" without arguments, you can get hints > > on settings: > > > > For screen-saver control: > > s [timeout [cycle]] s defaults on > > s blank s noblanks off > > s expose s noexpose > > s activate s reset > > > > For more detail, see "man xset". > > > Ty, ty, ty! For unknown reasons (I don't know how I screwed up > and set this:-), I also set the screen to require my passwd to > bring it back to life. But that's another issue; it'll be awhile > before I figure out the widgets and gimmicks of Gnome/KDE. > You've givenme a jump. I always deal with this through system->preferences->screensaver preferences in Gnome. It allows you to configure everything, from whether the screen blanks through whether you need a password to wake up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is there a way to compare what is in the ports tree with what is installed?
On 11/4/07, Pollywog <[EMAIL PROTECTED]> wrote: > > On Monday 05 November 2007 02:04:39 Robert Huff wrote: > > Brett Davidson writes: > > > ie. If I had a particular version of the ports tree on a server, > > > how could I check to see if any of the programs in that tree were > > > actually installed? > > > > > > Is there a simple command or sequence of commands to do this? > > > > dir /var/d/pkg | grep > > My Linux systems have a "dir" command but my FreeBSD does not. > Is there something I need to install? > ___ I'm guessing it's just an alias for ls. > 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: multiple autoconf versions
On Mon, 2007-11-05 at 19:48 +, Pollywog wrote: > I am running FreeBSD 6.2 and I discovered that I have four versions of > autoconf installed. > > autoconf-2.13.000227_6 Automatically configure source code on many Un*x > platforms > autoconf-2.53_4 Automatically configure source code on many Un*x platforms > autoconf-2.59_3 Automatically configure source code on many Un*x platforms > autoconf-2.61_2 Automatically configure source code on many Un*x platforms > > > Should I remove any of them? I know that in Linux, having more than one > version of autoconf can cause problems, but I am not certain of what to do > here. > > thanks > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Reading /usr/ports/UPDATING says that yes, you *can*, but whether you *should* is another issue. I had a machine, though, that was crapping out on portupgrades, for which removing old versions of autoconf made things simpler to resolve. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help Failing Disk Problem
On Mon, 2007-11-05 at 11:53 -0800, Sean Murphy wrote: > I have a FreeBSD 6.2 Release box with a single ide that has user data > and the FreeBSD OS on a hard disk that is failing. I need advice on the > best way to clone the entire disk (or at least the data) onto a larger > ide disk drive, then pull the failing disk and replace it with the > clone. What is the best way in FreeBSD to do that? > > Thanks The best way is to do it regularly before the hard drive is failing. Given that you haven't done that, there're a few methods. I'm a big fan of rsync, which is the nectar of the gods, but a lot of folks seem to prefer dd for this kind of thing. There was a thread not long ago about how best to duplicate a drive. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help Failing Disk Problem
On Mon, 2007-11-05 at 14:04 -0700, Warren Block wrote: > On Mon, 5 Nov 2007, James wrote: > > > On Mon, 2007-11-05 at 11:53 -0800, Sean Murphy wrote: > > > >> I have a FreeBSD 6.2 Release box with a single ide that has user data > >> and the FreeBSD OS on a hard disk that is failing. I need advice on the > >> best way to clone the entire disk (or at least the data) onto a larger > >> ide disk drive, then pull the failing disk and replace it with the > >> clone. What is the best way in FreeBSD to do that? > > > > The best way is to do it regularly before the hard drive is failing. > > > > Given that you haven't done that, there're a few methods. I'm a big fan > > of rsync, which is the nectar of the gods, but a lot of folks seem to > > prefer dd for this kind of thing. > > rsync is too high-level, and may not do exactly the right thing with > links or sparse files or who knows what. rsync -cav takes cares of symlinks and all that just right. It's a beautiful thing. Checksumming, too. Ah, bliss. > dd is too low-level--you get > the same partition table/bsdlabel and the exact same slice/partition > sizes. That's okay on an identical hard drive, but a pain on one that's > larger. > dump, on the other hand, is just right. > > -Warren Block * Rapid City, South Dakota USA dump has the problem that a lot of tools have, though, including rsync. It creates a file list to start from. If the file names on the drive change during the dump, corruption can occur. At least on linux. I remember Torvalds ranting about it on a mailing list. I imagine FreeBSD suffers the same issue, though, as it's a pretty generic problem. dump is a good tool, though, no arguments really here. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade questions
On Nov 5, 2007 7:11 PM, Jack Barnett <[EMAIL PROTECTED]> wrote: > > Aryeh M. Friedman wrote: > > Here is a script I use to automate the procedure I posted in the > previous reply: > > #!/bin/sh > > cd /usr/src > csup ports-supfile > csup standard-supfile > cd patchs # optional > ./apply # optional > portupgrade -a > > > > ?? > I was wondering about that, too. My understanding, Aryeh, of the ports vs pkg issue is that part of your method is uneccesary. You can use pkg_add fine, but as soon as you start using ports you have to stick with ports. portupgrade -a with a recently updated ports tree will update everything that has an update, and reverting to pkg_add after that could start creating dependency issues. So you don't need to uninstall pkgs before starting to use ports, but you can't go back once you've started using them. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade questions
On Nov 6, 2007 8:16 AM, Jonathan Chen <[EMAIL PROTECTED]> wrote: > On Tue, Nov 06, 2007 at 12:18:01AM +0000, James wrote: > > [...] > > So you don't need to uninstall pkgs before starting to use ports, but > you > > can't go back once you've started using them. > > That's not true. Packages are just precompiled ports, and you can mix > and match if you know what you're doing. If you keep to one particular > update interface that can support using packages, eg: portupgrade, you > should be fine. > -- > Jonathan Chen <[EMAIL PROTECTED]> > -- > "The reason why worry kills more people than work is that more people > worry than work." - Robert Frost > I really should rephrase what I said, because you're both right and I knew you were right. *I* can't mix packages and ports, because *I* can't be bothered keeping track of things. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: List of sites using FreeBSD?
On Tue, 2007-11-06 at 10:15 +0100, Ewald Jenisch wrote: > Hi, > > Does anybody out there know where I can find a list of sites running > FreeBSD? > > I expected it on www.freebsd.org, but couldn't find it (maybe overlooked?) > > Thanks in advance for any pointer. > > -ewald > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" If you're looking for *large* installs, yahoo! is a freebsd shop, as is kodak. If you're looking for *everything*, well, shoot. You're not gonna find it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: problems with old SSH client and
On Wed, 2007-11-07 at 07:53 -0800, Juri Mianovich wrote: > I have a machine with an older SSH client on it and I > am trying to connect to my 6.2-RELEASE system. > What operating system is the older machine running (I assume FreeBSD, and I assume 6.2 stable, but want to be sure). What version of ssh is running on the older machine? > I have changed the default line of: > > Protocol 2 > > to: > > Protocol 2,1 > > in /etc/ssh/sshd_config > > and now, from another modern FreeBSD system, I can > successfully log in with this command: > > ssh -1 -c 3des [EMAIL PROTECTED] > However, the older client, when using the exact same > command, gets this error: You're logging in from the modern machine to the older-ssh-version machine successfully, but unable to use the older-ssh-version to ssh out of the computer, then? Do you have any DNS issues interfering? It looks from your log like you're trying to connect straight to an IP address, but I want to make sure. 3des is the default cypher; I don't believe you need to specify it. Try sshing out with the -v flag, get a nice, verbose output. Also, I'm confused. Why are you forcing the older ssh version to connect to new ones via version 1 of the protocol? Surely they support version 2? My very first instinct here would be to try: ssh -v [EMAIL PROTECTED] and see what happens. > > > 06 Oct - 17:43:35[] ()ssh's main <0> debug2: > ssh_connect: needpriv 0^M > 06 Oct - 17:43:37[] ()ssh's main <0> debug1: > Connecting to hostname [10.10.10.10] port 22.^M > > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: > Connection established.^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: identity > file /etc/ssh/identity type -1^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Remote > protocol version 1.99, remote software version > OpenSSH_4.5p1^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: match: > OpenSSH_4.5p1 pat OpenSSH*^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Local > version string SSH-1.5-OpenSSH_3.7.1p2^M > > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Waiting > for server public key.^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Received > server public key (768 bits) and host key (1024 > bits).^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug3: > check_host_in_hostfile: filename > /etc/ssh/known_hosts^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug3: > check_host_in_hostfile: match line 1^M > > 06 Oct - 17:43:38[] ()ssh's main <0> debug3: > check_host_in_hostfile: filename > /etc/ssh/known_hosts^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug3: > check_host_in_hostfile: match line 1^M > > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Host > 'hostname' is known and matches the RSA1 host key.^M > > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Found key > in /etc/ssh/known_hosts:1^M > 06 Oct - 17:43:38[] ()ssh's main <0> fatal: Selected > cipher type 3des not supported by server.^M > > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Calling > cleanup 0x44598ec0(0x0)^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: Calling > cleanup 0x4458c630(0x0)^M > 06 Oct - 17:43:38[] ()ssh's main <0> debug3: > DecrementThreadCount() Thread count is now 1^M > > 06 Oct - 17:43:38[] ()ssh's main <0> debug1: > sshExit(0) calling SSH_Exit()^M > > > any ideas ? > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing programs
On Wed, 2007-11-07 at 13:16 -0600, Eric Crist wrote: > On Nov 7, 2007, at 11:15 AM, Marc Fromm wrote: > > > I am new to the linux-type OS environment. For about a week now I have > > tried to do a task which I first thought would be simple-install a > > program like firefox. > > > > > > > > I did "sudo pkg_add -r firefox" as explained in chapter 4 of the > > handbook and received the message: > > > > pkg_add: package 'firefox-1.5.0.8,1' or its older version already > > installed > > > > > > > > I then tried to uninstall firefox like this: > > > > sudo pkg_delete -d -f firefox-1.5.0.8,1 > > > > It appeard to uninstall. > > > > > > > > I next did "sudo pkg_add -r firefox" again and it did this: > > [snip] > > > > Firefox now does not work at all and if I rerun the pkg_add command it > > states firefox-1.5.0.8 is still installed. > > > > Isn't the latest 2.0.0.9? > > > > > > > > I tried to instructions at firefox and they did not work: > > > > http://support.mozilla.com/kb/Installing+Firefox+on+Linux > > > > Marc, > > There are a couple of things you can try. First thing to note, > however, is that Linux instructions for software installation will > not, typically, work on FreeBSD systems. > > You should verify that the package is actually uninstalled. > # ls /var/db/pkg | grep firefox > > You should get nothing back. If you do get something, remove each > item with the following command > # pkg_delete > > should be each item in the list from the previous command. > > Once you've verified it's uninstalled, try the pkg_add command again: > # pkg_add -r firefox > > Now, if this doesn't work, try installing from your ports tree. Do > this with the following command: > # cd /usr/ports/www/firefox && make install clean > > If you're using csh/tcsh as your shell, make sure you type rehash so > that your PATH gets re-read for new binaries/etc. > > Let me know how this goes! > > - > Eric F Crist > Secure Computing Networks > Just a quick note -- instead of ls /var/db/pkg, you can use pkg_info -Ix I'm betting it's a rehash issue, or if you're using a bourne type shell, just reload the shell. You're right that 2.0.0.9 is the latest version of firefox; I'm using 2.0.0.7 right now. My advice is that if you want newer packages, learn how to use ports. It's generally newer than the packages built remotely. If you're using FreeBSD -release branch, I think ports is the only way to get new new software. -release has a snapshot of packages for pkg_add and they're known to be stable and not updated much at all, if ever. -stable has newer packages for pkg_add, and -current breaks sometimes. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: New FreeBSD art?
On Wed, 2007-11-07 at 20:50 +0100, cpghost wrote: > On Wed, 7 Nov 2007 13:54:03 -0500 > Jerry McAllister <[EMAIL PROTECTED]> wrote: > > > (It is hard to admit, but) I generally agreed with Ted in this whole > > thing - at least on how the new logo thing missed its mark rather > > widely. But, it is really a small thing. The OS still works and > > mostly better than anything else out there. So, I still put BSDie > > stickers on things and don't worry about it. > > It's just coincidence, but the many rack-mounted servers I've put a > Beastie sticker on tend to run much smoother and reliably than those > two servers with the "horned ball" sticker. But perhaps it's not so > much the sticker, than them running RELENG_7 now while the others > still run RELENG_6... but who knows for sure? ;) > > -cpghost. I know for sure. We shall rue the day beastie was ever demoted to mere mascot. RUE I TELL YOU ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make buildworld ....gcc bug
On Wed, 2007-11-07 at 23:01 +0200, tethys ocean wrote: > When I am rebuilding world FreeBSD 6.2 I have take error that is > shown below. What can I do!? > > [EMAIL PROTECTED] /usr/src]# make buildworld > > > [EMAIL PROTECTED] gcc -v > Using built-in specs. > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 3.4.6 [FreeBSD] 20060305 The current version of gcc for FreeBSD is 4.2. Sync your ports tree, follow the advice in UPDATING and update, and try again. If you're using pkg_add, sub in the appropriate commands. James > [EMAIL PROTECTED] > > > /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldemul.h:155: > warning: "struct option" declared inside parameter list > cc -O2 -fno-strict-aliasing -pipe -I. > -I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src > /gnu/usr.bin/binutils/ld/../libbfd > -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binut > ils/ld/../libbfd > -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/in > clude -DTARGET=\"i386-obrien-freebsd\" > -DDEFAULT_EMULATION=\"elf_i386_fbsd\" -DSCRI > PTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\" > -DBFD_VERSION_STRING=\""2.15 [FreeBSD] 2 > 004-05-23"\" -DBINDIR=\"/usr/bin\" > -DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" -D > TOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE > -I/usr/src/gnu/u > sr.bin/binutils/ld/../../../../contrib/binutils/ld > -I/usr/src/gnu/usr.bin/binutils/ > ld/../../../../contrib/binutils/bfd > -I/usr/obj/usr/src/tmp/legacy/usr/include -c ldlex.c > /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l: > In function `yylex': > /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:579: > internal compiler error: Segmentation fault: 11 > Please submit a full bug report, > with preprocessed source if appropriate. > See http://gcc.gnu.org/bugs.html> for instructions. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils/ld. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > [EMAIL PROTECTED] /usr/src]# > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > 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: installing programs
On Wed, 2007-11-07 at 15:46 -0800, Marc Fromm wrote: > Hi James, > > > > Thanks for the extra tip on checking for installed packages. Here's another tip: use reply all, not reply. That way, we keep the whole list informed, which is a good thing :) > > I browsed the ftp site and found a firefox2. The default is firefox > which is the 1.5 version. > > I ran the following: > > sudo pkg_add -r firefox2 > > Fetching > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/firefox2.tbz... > Done. > > > > pkg_info -Ix firefox reports this: > > firefox-2.0.r2,1Web browser based on the browser portion of > Mozilla > > > > When I go into the KDE GUI to kmenu _ internet _ and click on the > newly created fierefox icon, nothing happens. > > Firefox does not start. > Have you restarted your X session? The shortcuts sometimes need to be told what's going on, that things are updated. You can either reboot your computer, or use ctrl-alt-backspace to restart your x session. Or you can use your command line! Start a terminal, type "which firefox" and you should get the path to firefox, probably: /usr/local/bin/firefox Now type "firefox &" And leave the terminal open. Firefox should start. If it doesn't, follow the old phrase "When in doubt, reboot." I know it's not nice to be told to treat a FreeBSD box like a windows box that way, but until you get some more experience fooling around with the system and restarting things properly, it's the simplest way to make sure things get started fine. > > > I do not know what shell I am using. I ssh into the box with Putty. I > installed FreeBSD from the 6.2-RELEASE-i386 iso. > echo $SHELL will tell you what shell you're using. Just to make sure I've got the right picture in my head: you've got a FreeBSD box that you're sitting at, which you've managed to install FreeBSD, gnome||kde, all that stuff correctly, but something's missing when it comes to starting firefox, right? You're not sshing into the box and using x-forwarding, you're physically sitting there, yeah? One last tip: this list has a pretty strong "Don't top post" mob in it. If you bottom post only, then when someone else wants to help you, it's easier for them to get up to speed. Bottom post FTW! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can you help about script
At 12:07 PM 11/14/2007, ann kok wrote: Hi all I don't have idea how to write this script, please help I have thousand records in this format indexed by FileNo. FileNo:001 Name: NameA Address1: AddressA1 Address2: AddressA2 Phone: PhoneA Created by I need to write a script to replace those Fields eg: (NameA AddressA1 if it matchs the FileNo.001...002...) to get Data in this file FileNo:001Name A AddressA1AddressA2 PhoneA FileNo:002Name B AddressB1AddressB2 PhoneB FileNo:003Name C AddressC1AddressC2 PhoneC Thank you for your help Do you have any restrictions with regards to language? There are a few things that come to mind; if this is absolutely indexed how you stated, with no problems of extra blank lines etc existing, you could use line to read in the lines one at a time, use a simple grep/case statement to check whether the initial field conforms to a specific string, and assign each string to a variable. After six read ins, you have all the information you need and you ouput them however you want. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
evolution slow on 7.0
Hi folks, first, I know the subject line is a goldmine for jokes, but I couldn't think of a better way to phrase it. Ever since I moved to FreeBSD 7.0, the evolution mail client has become ridiculously slow for me. It takes two or three minutes to start up, right clicking on a folder takes several minutes to display a context menu etc My install process was as follows: 1. backup my home directory from a FreeBSD 6.2 install 2. Format the hard drive 3. Install 7.0 beta 1.5 4. csup sources and install beta 2.0 5. pkg_add xorg, gnome etc -- evolution was slow as a dog from this 6. portsnap fetch extract 7. follow the instructions in UPDATING for updating gnome I tried cd /usr/ports/mail/evolution && make deinstall && make reinstall, to see if something had simply gone wrong during the build, but nothing changed. Any ideas? James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
how to modem
I can't find the modem . although I did finally get kde installed are there any simple instructions for finding your modem and hitching up to the internet ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
where do you find
the topics that are posted on the e mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where do you find
Lowell Gilbert wrote: james <[EMAIL PROTECTED]> writes: the topics that are posted on the e mail I don't understand the question. well the mailing list sends a list of topics but thats all it is just the titles so how do you get to look at the problem and salution of the title in the list ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
i have linux mandrake
I am trying to migrate to free bsd is there a way for me to put freebsd on with it woth out loosing mandrake or the files in it ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dhcpd related issues
> Yeah, it seems to be the case that enough traffic was being generated > to delay the dhcp leases that the client computers were giving up. I > used dhcping to watch and witnessed it in action. Moving dhcp to > another server solved the issue. Likely I'll be moving some other > services off that server soon to cut down on other "hotspot" related > problems. I meant dhcpdump, not dhcping. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Wake-on-LAN and the em driver (freebsd 7.x)
On Mon, 2008-03-31 at 08:43 -1000, Kent Hauser wrote: > On Mon, Mar 31, 2008 at 5:23 AM, Walker <[EMAIL PROTECTED]> wrote: > > > > > FWIW; > > > > I have two 7.0-RELEASE boxes with single (on board) and dual > > (pro/1000) em NICs. WOL works fine on both. > > > > The link light must be on after FreeBSD shuts down for WOL to work. > > You might try using the latest proboot.exe from Intel which allows you > > to update the NIC firmware and change its settings. There might be > > FreeBSD sysctl knobs that might help as well. > > > > Thanks for the pointer. I tried the proboot.exe utilities, but the must run > in a "dos" environment -- not under an XP command window. > > Is there an easier way? I'm not sure how I'm going to get my machine booted > into DOS -- maybe I can find an 8-track player to provide background music > while I work. > > THanks. Kent Use DOSbox. I've used it to play old DOS games before now, it works well: /usr/ports/emulators/dosbox > ___ > 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: clang buildworld broken
On Sat, Mar 24, 2012 at 10:17 AM, Dennis Glatting wrote: > I csup RELENG_9 last night and compiled /usr/src and clang is > erroring out: Hi Dennis. I get the same error and am testing a correction right now. The problem is related to improvements to boot2 in r233374 (MFC of r232570 and r232754). It has the side-effect of making the binary just a wee too large for the BTX link to succeed. r232754 contains a change not MFCd to stable/9: Index: bsd.sys.mk === --- bsd.sys.mk (revision 232753) +++ bsd.sys.mk (revision 232754) @@ -100,8 +100,10 @@ .if ${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang" CLANG_NO_IAS = -no-integrated-as -CLANG_OPT_SMALL= -mllvm -stack-alignment=8 -mllvm -inline-threshold=3 \ - -mllvm -enable-load-pre=false +CLANG_OPT_SMALL= -mllvm -stack-alignment=8 \ + -mllvm -inline-threshold=3 \ + -mllvm -enable-load-pre=false \ + -mllvm -simplifycfg-dup-ret .endif .if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \ It's likely this with get it shrunk down enough. -- James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: clang buildworld broken
Success! boot2 btx linked with 3 bytes available, rather than being 29 bytes too large. kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=156d text=0 data=0 bss=0 entry=0 output: fmt=bin size=1dfd text=200 data=1bfd org=0 entry=0 3 bytes available -- James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: clang buildworld broken
Fixed now in stable/9. r233468 | marius | 2012-03-25 11:24:42 -0500 (Sun, 25 Mar 2012) | 6 lines MFC: r233105 Declare some variables static in order to reduce the object size and redo r232822 (MFC'ed to stable/9 in r232962) in a less hackish way. The latter now no longer breaks compiling the x86 boot2 with clang. r233467 | marius | 2012-03-25 11:20:01 -0500 (Sun, 25 Mar 2012) | 7 lines MFC: r232754 (remaining part) Make boot2 build with Clang again. Submitted by: dim (bsd.sys.mk) Reviewed by:dim, jhb -- James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Static IP on a Bridge
Hey everyone. I've successfully setup a network bridge in /etc/rc.conf. However, I am only able to access the network if I dhcp on bridge0 *after* the bridge is configured. If I try to set a static IP on the bridge, things don't work. Here's my /etc/rc.conf: cloned_interfaces="bridge0 tap0 tap1" ifconfig_bridge0="addm re0 addm tap0 addm tap1 up inet 192.168.1.6 netmask 255.255.255.0" ifconfig_re0="up" ifconfig_tap0="up" ifconfig_tap1="up" defaultrouter="192.168.1.1" bridge0 is configured with the IP 192.168.1.6, but I can't ping out. However, once I run dhclient in bridge0, things magically work. Does anyone know why the above won't work? Thanks! James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Static IP on a Bridge
Quoting "Brian Seklecki (Mobile)" : Also, what MAC address does the DHCPREQUEST packet appear to be sourced from (from the view of your DHCP server, or on the wire somewhere between the two (SPAN PORT)) ~BAS How do I do that? :) James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Static IP on a Bridge
Quoting Matthew Seaman : What's the error message you see when you fail to ping out? ping: cannot resolve google.com: Host name lookup failure What does the routing table (netstat -r) look like before and after DHCP? Before DHCP: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire localhost link#11UH 00lo0 Internet6: DestinationGatewayFlags Netif Expire :: localhost UGRSlo0 localhost localhost UH lo0 :::0.0.0.0 localhost UGRSlo0 fe80:: localhost UGRSlo0 fe80::%re0 link#5 U re0 fe80::6ef0:49ff:fe link#5 UHS lo0 fe80::%lo0 link#11U lo0 fe80::1%lo0link#11UHS lo0 fe80::%tap0link#13U tap0 fe80::2bd:8aff:fe3 link#13UHS lo0 fe80::%tap1link#14U tap1 fe80::2bd:8dff:fe3 link#14UHS lo0 ff01::%re0 fe80::6ef0:49ff:fe U re0 ff01::%lo0 localhost U lo0 ff01::%tap0fe80::2bd:8aff:fe3 U tap0 ff01::%tap1fe80::2bd:8dff:fe3 U tap1 ff02:: localhost UGRSlo0 ff02::%re0 fe80::6ef0:49ff:fe U re0 ff02::%lo0 localhost U lo0 ff02::%tap0fe80::2bd:8aff:fe3 U tap0 ff02::%tap1fe80::2bd:8dff:fe3 U tap1 After DHCP: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.1.1UGS 00 bridge localhost link#11UH 00lo0 192.168.1.0link#12U 01 bridge 192.168.1.103 link#12UHS 00lo0 Internet6: DestinationGatewayFlags Netif Expire :: localhost UGRSlo0 localhost localhost UH lo0 :::0.0.0.0 localhost UGRSlo0 fe80:: localhost UGRSlo0 fe80::%re0 link#5 U re0 fe80::6ef0:49ff:fe link#5 UHS lo0 fe80::%lo0 link#11U lo0 fe80::1%lo0link#11UHS lo0 fe80::%tap0link#13U tap0 fe80::2bd:8aff:fe3 link#13UHS lo0 fe80::%tap1link#14U tap1 fe80::2bd:8dff:fe3 link#14UHS lo0 ff01::%re0 fe80::6ef0:49ff:fe U re0 ff01::%lo0 localhost U lo0 ff01::%tap0fe80::2bd:8aff:fe3 U tap0 ff01::%tap1fe80::2bd:8dff:fe3 U tap1 ff02:: localhost UGRSlo0 ff02::%re0 fe80::6ef0:49ff:fe U re0 ff02::%lo0 localhost U lo0 ff02::%tap0fe80::2bd:8aff:fe3 U tap0 ff02::%tap1fe80::2bd:8dff:fe3 U tap1 What does your arp table look like (arp -a) before and after DHCP? Before DHCP: (nothing was printed to the screen) After DHCP: ? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190 seconds [bridge] ? (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge] I can see that something is definitely not right. Not sure how to fix /etc/rc.conf so that it will be setup correctly, though. Thank you for the help! James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Static IP on a Bridge
Quoting Devin Teske : Add the following line (exactly as it appears) to /etc/rc.conf: defaultrouter="192.168.1.1" That line's been there the whole time. Hasn't helped :( James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
RE: Static IP on a Bridge
Quoting Devin Teske : Add the following line (exactly as it appears) to /etc/rc.conf: defaultrouter="192.168.1.1" I should probably re-port my original configuration: cloned_interfaces="bridge0 tap0 tap1" ifconfig_bridge0="addm re0 addm tap0 addm tap1 up inet 192.168.1.6 netmask 255.255.255.0" ifconfig_re0="up" ifconfig_tap0="up" ifconfig_tap1="up" defaultrouter="192.168.1.1" James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Static IP on a Bridge
Hey everyone, Sorry for the late response. Got sidetracked during the New Year. Below is my response: Quoting Benjamin Lee : On 12/29/2011 09:21 AM, ja...@colannino.org wrote: Quoting Matthew Seaman : What's the error message you see when you fail to ping out? ping: cannot resolve google.com: Host name lookup failure It seems that you are currently receiving your resolver from DHCP as well, you should statically configure that in /etc/resolv.conf: nameserver 192.168.1.1 I already have nameservers in /etc/resolv.conf. Everything was fine before I setup the bridge. What does the routing table (netstat -r) look like before and after DHCP? Before DHCP: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire localhost link#11UH 00lo0 [...] What happens if you run 'route add default 192.168.1.1' instead of DHCP? What is the output of '/etc/rc.d/routing restart'? [root@frodo ~]# route add default 192.168.1.1 route: writing to routing socket: Network is unreachable add net default: gateway 192.168.1.1: Network is unreachable [root@frodo ~]# /etc/rc.d/routing restart route: writing to routing socket: No such process delete net default: gateway 192.168.1.1: not in table delete net :::0.0.0.0: gateway ::1 delete net ::0.0.0.0: gateway ::1 delete net fe80::: gateway ::1 delete net ff02::: gateway ::1 ifconfig: interface auto does not exist route: writing to routing socket: Network is unreachable add net default: gateway 192.168.1.1: Network is unreachable add net :::0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 add net fe80::: gateway ::1 add net ff02::: gateway ::1 James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Problem with mfi driver, 9.0-RELEASE
I transferred a PERC5/i controller to my NAS system, which is using a Sapphire mini-ITX board with an AMD M350 CPU. It seems the card is detected but driver initialisation fails: mfi0: mem 0xd000-0xd000,0xfea0-0xfea1 irq 96 at device 14.0 on pci2 mfi0: Megaraid SAS driver Ver 3.00 mfi0: 10970 (379716350s/0x0020/info) - Hibernate command received from host mfi0: 10971 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0015/1028/1f02/1028) mfi0: 10972 (boot + 0s/0x0020/info) - Firmware version 1.03.40-0232 mfi0: 10973 (boot + 0s/0x0020/info) - Firmware initialization started (PCI ID 0015/1028/1f02/1028) ... mfi0: 11056 (boot + 29s/0x0002/info) - Inserted: PD 00(e0/s0) Info: enclPd=, scsiType=0, portMap=01, sasAddr=5000c546b6d5, mfi0: 11057 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) mfi0: 11058 (boot + 29s/0x0002/info) - Inserted: PD 01(e0/s1) Info: enclPd=, scsiType=0, portMap=02, sasAddr=5000c546b8cd, mfi0: Cannot allocate interrupt device_attach: mfi0 attach returned 22 This would seem to be similar to discussions in November which eventually led to JHB committing change in r227580 (and perhaps earlier). I have downloaded the sources for 9.0-RELEASE and it looks like this commit did not get back-ported to the release branch. I'm a bit of a noob with FreeBSD. The instructions for tracking FreeBSD-STABLE seem a bit scary. Is that the only way that I would get the necessary fixes for the mfi driver? (Indeed, would I get those on FreeBSD stable?) James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
How much of the manual needs adjustment for 9.0?
I originally installed without selecting sources. The manual says to run sysinstall and do the configuration step to add source distribution and I did that, but it then failed to download the 'sbase' source. I admit I gave up 'fairly quickly' and just downloaded src.txz, but its not clear to me how many of the functions of sysinstall are still supposed to work with a 9.0 release. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
How to build 9.0 from source?
I installed 9.0 without sources. Now I'd like to try building the kernel (or specifically the mfi driver), so I've tried to get the sources. The handbook says (in 9.55) to use sysinstall to get the source configuration - but that doesn't seem to work and what its trying to fetch seems more like an 8.x source set, I fetched src.txz and unpacked it and sorted out the /usr/src/sys link, and 'make' in the root of that builds the boot code ok. However, there is no /usr/src/UPDATING to check per 9.5, and 'cd /usr/src;make buildkernel' tells me: make: don't know how t make buildkerel. Stop. /usr/src was empty before I set up the 'sys' link (which in my case points to a zfs volume). It seems wrong to m - how can I get sources etc installed so I can build the kernel? (And userspace if necessary - but its the mfi driver I want to fiddle with) James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Moving boot/root disk in 9.0
Now that I've moved to stable and mfi is working, I'd like to stop booting off my SATA SSD (and also move ZIL off it) to a RAID1 on the PERC. I've sliced up the disk etc, but is there a handy procedure I can use to move the relevant parts of / to /newboot (where I've currently mounted the new boot slice)? I'm thinking its not a straightforward tar in '/': /data is a ZFS root volume and contains a number of volumes for user home areas (mounted under /home) and also volumes mounted on /usr/src, /usr/obj and /usr/ports. And then there's /dev too. Once I've got everything moved I'll disable the ZIL and move over by fiddling the BIOS priorities. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Home WiFi Router with pfSense or m0n0wall?
Hi Alejandro. I can't speak about Hacom, but I've had excellent results with Soekris hardware. It'll run all sorts of FreeBSD-based systems. They have kit suitable for both wired and wireless networks. -- James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Max top end computer for Freebsd to run on
Several modest servers applied well will take you further than one big iron—and for less cost. -- James. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: cannot mount cdrom - not a newbie problem
Hi, Have you tried: # mount -t cd9660 /dev/cd0 /mntpnt Seeing as how you said its a cdrw, I remember reading somewhere to use /dev/cd0 and not /dev/acd0 On Tuesday 14 December 2004 07:16 am, Timothy Smith wrote: > i have a genuine problem here. > i noticed my backup cdrw's had stopped working at some point. upon > furthur investigation i find i cannot mount cd's full stop. > > titan# mount -t cd9660 /dev/acd0c /mount > cd9660: /dev/acd0c: Invalid argument > > the above command makes the drive light flicker for 3 seconds then the > error. > > this is NOT a hardware problem. i get the exact same issue with my brand > new dvd drive. > > here is what dmesg gas to say: > acd0: DVD-R at ata1-slave WDMA2 > da0 at hpt3740 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 190782MB (390721957 512 byte sectors: 255H 63S/T 24321C) > Mounting root from ufs:/dev/da0s1a > cd0 at ata1 bus 0 target 1 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 16.000MB/s transfers > cd0: cd present [1 x 2048 byte records] > > note this was working perfectly. > i suspect that some how my ata device has gone "bad" some how. > > let me get the obvious replys out of the way: > yes i have googled nothing i can find has even touched on a fix. > yes there is a disc in the drive > no it is not an audio disk. > there is nothing else connected to the ide ports. > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"