Text consoles don't come back after X
Hi Everyone, On just one of my machines, I'm seeing a strange problem where after X has been started, the text consoles no longer display. If I switch to them using control-alt-F[1-8], OR quit or kill X all I get is a blank screen. The monitor is getting a signal (the light is flashing green, rather than orange), but no matter what key I press, I don't get any display on the screen until I switch back to X. The text consoles are still THERE since I can log into one, and start another X session - there is just no display. It seems almost certain to me that this is some wierd problem with power management - the question is what? Is there an effective way that I can go through and turn off all power management? This machine is on and in use 24x7 anyway, so it is not really needed. Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about logo
On Thu, Jan 29, 2004 at 10:56:05PM -0800, Bubble Gum wrote: I just want to ask (i'm sorry if it's a silly question),why freebsd logo use devil character? It's not a devil. It's a daemon. http://www.freebsd.org/copyright/daemon.html -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: line-in recorder
Hi Brian, You can use ecasound from ports. Here's a few notes I have made on using and playing around with audio: NOTES http://eca.cx/ ; ECASOUND Web site Add to kernel: device pcm cd /dev ./MAKEDEV snd0 cat /dev/sndstat;to see if its configured properly pkg_add ecasound-1.8.5d15 pkg_add nmixer-2.0b17 pkg_add mpg123-x.x.x pkg_add festival-x.x.x : text to voice sythasizer Sound Recording:- Set nmixer Set Mic to 3 Set rec to 3 Run:ecasound I:/dev/dsp0 o test.wav Or: ecasound t:time -f:s16_1e,1,11000,i I:/dev/dsp0 o filename.mp3 You can use the at command to automate a future recording: at 12:05 Apr 27th /root/bin/recsnd.sh 3600 sat_science_show ^d ; to terminate the at job. See Pluto @ /root/bin/recsnd.sh for script to automate the recording of the line in /root/bin/recsnd.sh length of time to record output_file_name ; no extension! /root/bin/recsnd.sh 1800 sun_1600_news # cat /root/bin/recsnd.sh #! /bin/sh # This will record audio input from the Line Input channel of the sound card, and save it into # a mp3 file in the /home/music/ dir. # # Usage: recsnd.sh no of sec to record filename # TERM=vt100 export TERM CMDFILEPATH=/usr/local/bin OUTFILEPATH=/home/music # Test to see if there are two cmd line arguments # First set the mixer to the correct values echo date echo echo # echo Setting nmixer settings # $CMDFILEPATH/nmixer -q vol=100 pcm=100 rec=50 # Now record the sound into a mp3 file echo Now recording the program $CMDFILEPATH/ecasound -t:$1 -f:s16_le,1,11000,i -i:/dev/dsp0 -o $OUTFILEPATH/$2.mp3 #list the contents of the output dir. ls -la $OUTFILEPATH echo echo date echo --- To Play:- The nmixer can be autoset via: nmixer q vol=100 pcm=100 rec=50 Run:mpg123 b 1024 filename.mp3 Festival You can have festival read text files and convert them to spoken voice (male or female): festival tts /etc/rc.conf ; to output the contents of rc.conf! /NOTES Cheers, Paul Hamilton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian H Sent: Friday, 30 January 2004 2:35 AM To: [EMAIL PROTECTED] Subject: line-in recorder is there some software for freebsd that I could use to record what i have coming in on the line-in on my sound card? _ There are now three new levels of MSN Hotmail Extra Storage! Learn more. http://join.msn.com/?pgmarket=en-uspage=hotmail/es2ST=1 ___ [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]
Re: Automated web page builder
On Tue, Feb 03, 2004 at 09:38:53PM -0500, JJB wrote: I have an need to build an web page environment which could look just like the FBSD online handbook. An document index page with links into the big document, and each displayed page having previous, home, and next links at both the top and bottom of the page. Was some kind of tool used to build the FBSD handbook that automatically builds all the links for you, or was all that done by hand? The Handbook (and the rest of the documentation) is authored in DocBook SGML. If you want something just like the online Handbook, you might try DocBook SGML or XML, or for a more web-centric output, even the DocBook Website system. You can get information on all of them from here: http://www.docbook.org/ -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Disk no longer valid
Greetings. After rebooting a system that had been up for quite some time, I could not get the second drive (da1) to mount. The drive worked fine before I rebooted. dmesg reported: . . . da1s4: rejecting partition in BSD label: it isn't entirely within the slice da1s4: start 63, end 71132959, size 71132897 da1s4d: start 0, end 71132959, size 71132960 . . . When I tried to access the disk, dmesg said: . . . (da1:ahc0:0:1:0): SCB 0x36 - timed out Dump Card State Begins ahc0: Dumping Card State while idle, at SEQADDR 0x9 Card was paused ACCUM = 0x0, SINDEX = 0x1e, DINDEX = 0xe4, ARG_2 = 0x0 HCNT = 0x0 SCBPTR = 0x17 SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] [ lots more debugging info] sg[0] - Addr 0x706d000 : Length 4096 sg[1] - Addr 0xdb6e000 : Length 4096 (da1:ahc0:0:1:0): Queuing a BDR SCB (da1:ahc0:0:1:0): no longer in timeout, status = 34a Feb 5 00:01:03 above /kernel: Dump Card State Ends (da1:ahc0:0:1:0): Invalidating pack . . . The drive was inaccessible. I rebooted again. dmesg still says: . . . da1s4: rejecting partition in BSD label: it isn't entirely within the slice da1s4: start 63, end 71132959, size 71132897 da1s4d: start 0, end 71132959, size 71132960 . . . but now I can access the disk fine. Can I fix the drive without losing the information on it? If so, how? --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Migrating users and passwords from one system to another
Greetings again. I'm kinda surprised that this isn't an FAQ, but... How do I move users and passwords from a current system to a new one? Is it sufficient to move /etc/master.passwd and /etc/passwd, or are there other things? I'm moving from an oldish 4.8 system to a brand new 4.9 system, and want to have all the users set up on the new machine before I start rsyncing everything over so that the users and groups come out right. --Paul Hoffman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
need help on CFLAGS in /etc/make.conf please
Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually runs. I had this coded with the single = sign, i.e. without ?= or +=, but the process still acts as if += was coded anyway, thus tacking on my -O *after* the port's own CFLAGS. GCC33 docs say the _last_ -O# is the one that will be used. I've seen other discussion on using -O2 but the point seems to be the ports that set -O2 explicitly are likely to work correctly. And so, in many ports esp. KDE, it will add my -O *after* the port's own -O2, and KDE et al will not be compiled with the intended settings, which may be causing some of its slowness. Since TPTB here could only find a spare [EMAIL PROTECTED] Pentium2 for this project, I'm trying to optimize other ports with at least -O in an automatic fashion. That leaves out /etc/pkgtools.conf due to the sheer manual labor it would take to code this up for each port. The idea of having a test in /etc/make.conf struck me as the way to go, since it is effectively 'sourced'-in and could contain some simple shell logic operations. I hope I'm explaining this correctly. ;) I'd love to hear feedback on this. I'll continue working on it tomorrow. Thank you, -- Paul Seniura System Specialist State of Okla. D.O.T. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help on CFLAGS in /etc/make.conf please
Hi Kris, On Thu, Feb 12, 2004 at 06:17:03PM -0600, Paul Seniura wrote: Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually runs. I had this coded with the single = sign, i.e. without ?= or +=, but the process still acts as if += was coded anyway, thus tacking on my -O *after* the port's own CFLAGS. GCC33 docs say the _last_ -O# is the one that will be used. I've seen other discussion on using -O2 but the point seems to be the ports that set -O2 explicitly are likely to work correctly. On Thu 12 Feb 2004 17:13:25 -0800, Kris Kennaway replied: That's not a good assumption; many ports simply add -O2 (or -O3, or -O999) because the authors want their code to run fast. The set of ports for which the authors have run full regression suites for all supported versions of gcc and all supported OS and architecture combinations is probably the null set. Thank you for responding, but I'm *really* not wanting this to become another discussion on how high my Oh-levels should be. ;) My question for this discussion is specifically how to prevent overriding a port's own setting for that parm, and to provide a default setting -O[1] when the port does not set it at all? (I'll save my l-o-n-g-e-r reply for later... believe me I have reasons ;) Kris -- thx, Paul Seniura (in OkC) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help on CFLAGS in /etc/make.conf please
On Thu, Feb 12, 2004 at 09:56:08PM -0600, Paul Seniura wrote: Hi Kris, On Thu, Feb 12, 2004 at 06:17:03PM -0600, Paul Seniura wrote: Hi y'all, I'm trying to find a way to do a CFLAGS+='-O' if and only if such a parm was not already provided before 'make' actually runs. I had this coded with the single = sign, i.e. without ?= or +=, but the process still acts as if += was coded anyway, thus tacking on my -O *after* the port's own CFLAGS. GCC33 docs say the _last_ -O# is the one that will be used. I've seen other discussion on using -O2 but the point seems to be the ports that set -O2 explicitly are likely to work correctly. On Thu 12 Feb 2004 17:13:25 -0800, Kris Kennaway replied: That's not a good assumption; many ports simply add -O2 (or -O3, or -O999) because the authors want their code to run fast. The set of ports for which the authors have run full regression suites for all supported versions of gcc and all supported OS and architecture combinations is probably the null set. Thank you for responding, but I'm *really* not wanting this to become another discussion on how high my Oh-levels should be. ;) My question for this discussion is specifically how to prevent overriding a port's own setting for that parm, and to provide a default setting -O[1] when the port does not set it at all? (I'll save my l-o-n-g-e-r reply for later... believe me I have reasons ;) On Thu 12 Feb 2004 20:09:31 -0800, Kris Kennaway replied: There's no general way. Some ports do ${CFLAGS} -O999, some do -O999 ${CFLAGS}. While I haven't seen anything near -O999 yet (and I was a noobee in the 1980s with Microware OS-9[tm] on the CoCo3 [Tandy / Radio Shack] and Atari-ST [Cumana UK]), it is one reason to override it -- somehow -- in a consistently reliable way. The ports collection policy is that any port that specifies its own optimization flags by default and uses them in preference to ${CFLAGS} is a bug and must be fixed. Well now you've made me go do research and type the l-o-n-g response I didn't want to do. ;) Let's first deal with the notion that GCC has optimization bugs per se -- in of itself -- irregardless of the quality of the source code and whether that code follows ISO standards. Here are some quotes from the readily-available on-line books: Chapter 2 of FreeBSD Developers' Handbook: | 2.4 Compiling with cc | |[...] | | -O |Create an optimized version of the executable. The compiler |performs various clever tricks to try and produce an executable |that runs faster than normal. You can add a number after the -O |to specify a higher level of optimization, but this often exposes |bugs in the compiler's optimizer. For instance, the version of cc |that comes with the 2.1.0 release of FreeBSD is known to produce |bad code with the -O2 option in some circumstances. | |Optimization is usually only turned on when compiling a release |version. |[...] HUH?!? the version of cc that comes with 2.1.0 has those -O bugs Good grief, we're running 5.x (-Current, actually)! I can't find any mention of any such bugs with GCC 3.x on i386. Reading http://gcc.gnu.org/bugs.html for further info on optimization bugs will lead one to believe higher likelyhood of incorrectly-written source code over compiler bugs, yet GCC 3.x provides ways to steer around such non-standard coding practices and still optimize it. Chapter 7 of FreeBSD Architecture Handbook (on-line version): | 7.6 Tuning the FreeBSD VM system | |[...] | By default, FreeBSD kernels are not optimized. You can set | debugging and optimization flags with the makeoptions directive in | the kernel configuration. Note that you should not use -g unless | you can accommodate the large (typically 7 MB+) kernels that result. |makeoptions DEBUG=-g |makeoptions COPTFLAGS=-O -pipe |[...] Precisely what I'm doing. For fun, I build another version of my custom kernel with -O2 to see how much of a difference can be 'felt' on this Puny Pentium2. ;) Chapter 21 of FreeBSD Handbook (on-line version): | 21.4.16.5. How can I speed up making the world? | |[...] |* Also in /etc/make.conf, set CFLAGS to something like -O -pipe. | The optimization -O2 is much slower, and the optimization | difference between -O and -O2 is normally negligible. |[...] No mention of bugs there, either. In fact the book is actually recommending the use of -O. After much more contemplation on this, I can see the need for both circumstances: (1) overriding a port's -O as well as (2) allowing a port's -O to override mine. I'll be switching hats during the discussion below. The only real bug is that I as a system admin may not be able to override a port's inclusion of a -O parm because of where ${CFLAGS} is placed. Placement is the operative word here. And I can see a reason to open PRs and submit patches to 'move
Re: spam removal
On Mon, Feb 16, 2004 at 04:44:25AM -0500, matthew wrote: I recommend bogofilter for per-user filtering. Spamassassin is also highly recommended for site use. I tend to dislike DNS-based filtering because it has a high rate of false positives, and it causes your users to lose legitimate mail if it's rejected at the mail server. As far as I understand it, one does not lose email using dns-based blacklists. Sure you can. If Alice wants to legitimately contact Bob from a blacklisted IP (whether the blacklisting is actually Alice's fault, or she's just fallen under an excessively large blanket), and Bob is running DNS-based filtering, Bob's MTA blocks Alice based on her IP. Bob loses legitimate mail. Admittedly you provided a counterexample, but it is not always so easy. -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: spam removal
On Mon, Feb 16, 2004 at 01:33:32AM -0800, Kris Kennaway wrote: I recommend bogofilter for per-user filtering. Spamassassin is also highly recommended for site use. I'll second both. SpamAssassin worked well for me for several years, but I recently changed from SA to bogofilter because SA just wasn't keeping up with the latest craze of random word spams. Fortunately, I had a 26,000-spam corpus with which to train bogofilter, so it's already working quite well. It seems to be learning the random word spams gradually. -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: spam removal
On Mon, Feb 16, 2004 at 05:57:29AM -0500, matthew wrote: On Mon, 16 Feb 2004, Paul A. Hoadley wrote: On Mon, Feb 16, 2004 at 04:44:25AM -0500, matthew wrote: I recommend bogofilter for per-user filtering. Spamassassin is also highly recommended for site use. I tend to dislike DNS-based filtering because it has a high rate of false positives, and it causes your users to lose legitimate mail if it's rejected at the mail server. As far as I understand it, one does not lose email using dns-based blacklists. Sure you can. If Alice wants to legitimately contact Bob from a blacklisted IP (whether the blacklisting is actually Alice's fault, or she's just fallen under an excessively large blanket), and Bob is running DNS-based filtering, Bob's MTA blocks Alice based on her IP. Bob loses legitimate mail. We have different opinions on what it means to lose email. Perhaps. An email is lost when no error message is returned to the sender and the email never gets to its intended recipient. The latter may occur whether the former occurs or not. Charles wants to email Bob about something that's, say, important to Bob but not that important to Charles. Bob's MTA has Charles as blacklisted. Let's imagine that Charles gets a bounce notification, but it doesn't reach his threshold for doing anything more about it. Bob loses legitimate mail. So Alice knows the email was not lost. Sure. But the intended recipient doesn't have any information at all. She is now aware of why, hence the http://url in the error mesg. And now Alice can contact her admin, and figure out why that ip/block is spewing spam at me/us/blacklist users. Sure. Alice _could_ do that. But if she doesn't, Bob loses legitimate mail. So in summary, dns blacklists do not lose email. The email was never sent by Alice's email server and she is aware why. Bob didn't receive the mail. He isn't aware why. Bob loses legitimate mail. -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help on CFLAGS in /etc/make.conf please
Hi Chuck, The delay in my response here was due to pest control in our building and the three-day weekend (I have no li'l-endians at home ;) . Chuck Swiger wrote: Hi, Paul-- There is little point to crossposting between -questions and -hackers; dropping the latter. Actually, [EMAIL PROTECTED] is probably the most appropriate place... As I look at it more more, it'll probably be a hack job to get it to do what I'm suggesting. ;) I've responded to Kris with further contemplations, if you have time and would like to chime-in, please do. Paul Seniura wrote: My question for this discussion is specifically how to prevent overriding a port's own setting for that parm, and to provide a default setting -O[1] when the port does not set it at all? Well-behaved ports respect CFLAGS, meaning that you can define that variable in /etc/make.conf (or on the command line when you invoke make), and the port should use that value when building the software. Sorry to say, I don't think you're getting my gist here. ;) I want a default setting -O iff==if and only if the original does not provide it. That's what default setting means. ;) Also, I do not want to override the original's optimization settings either if there was one provided -- my default setting isn't used in this case. See what I mean? And as far as i386 is concerned, it is looking like -O2 is the maximum that should be attempted. Other platforms, e.g. -march=7450 I use at home, can go -O5 without problems. At any rate, I certainly want to cut-down anything like what Kris mentions e.g. -O999! If you tell us which port is broken, someone will fix it. For example, one of the ports I maintain the author explicitly sets -O2, but the port Makefile patches that via: post-patch: ${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile A msg from Richard Coleman, taken together with the GCC 3.x Known Bugs site, is leading me to believe any bugs solely due to higher -O levels need to be fixed by the author(s) of the software. ISTM many 'enterprising' companies are relying on the integrity of GCC in this manner. GCC has come a long way to earn that kind of trust. And so I would like to be able to trust the author's settings in this regard, if I so choose (putting on my system admin's hat). You're changing what the author sets-up before any hack-job I invent will even see it. Why? If I interpret what Kris said correctly, he wants you to think GCC 3.x is the source of the bugs at -O2+. My response to him was, essentially, to read-up on GNU's GCC 3.x Known Bugs webpage, where they clearly state any -O bugs are much more likely to be non-ISO-compliant source code style. The author would need to fix the source code and/or logic in these cases so -O2 will work properly. If my hack-job sees the result of your hack-job, it will reinsert a -O (effectively -O1) back into the compiler options. But clearly the original author wants -O2 here, so it ought to override my -O default, if I allow it to. I reiterate the notion of other platforms working fine with optimizations and FBSD is slowing down because IMHO of some age-old assumptions about GCC itself. As a specific example: If GCC 3.3.3 generates really fast code on a Linux/i386 app *and* it's proven to work well, then FBSD/i386's code should fly just as fast at the same level with no problem. Oh but y'all are hacking the guts out of the optimization settings coming from the author, so FBSD/i386 will never see the same end-results here. Also I'm fussin' because I've read several KDE users's msgs about its new slowness with 3.2. The higher-ups here would love to see this project fail (they already ignore my ideas on getting Macs, but I digress...). We need some _working_ performance-boosting options on i386 if we're going to show FreeBSD in its best light. As an aside, I volunteered to get net/tn3270 working again. Its src has numerous violations, because no one has maintained it. On top of that, it copies parts of /usr/src (telnet) and patches it to hopefully follow IBM's RFCs for mainframe environments. I *really* hope to cut out these ugly hacks once for all. Guess how long this Puny Pentium2 takes to compile anything... it's all 'they' will let me use here... *any* improvements in optimized code will go a long way on these slow boxes (yes I've read the on-line manuals on 'tuning' etc. and have already implemented as many of those ideas as I can [am permitted] here). Thank you, -- Paul Seniura System Specialist (z/OS mainly, where we have only 16 registers!) State of Okla. D.O.T. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logitech Quickcam Express USB
On Wed, Feb 18, 2004 at 12:00:21AM -0500, Osmany Guirola Cruz wrote: I have installed FreeBSD 5.2 release in my PC and i need to know if exist a port that let me use my quickcam. cqcam and gnomemeeting don't work. what should i do? Last time I checked (over 12 months ago, admittedly) the short answer was no. There were some Linux reverse engineering attempts (the interface is not public), and reports scattered about the web regarding limited success with these drivers under NetBSD and FreeBSD, but I personally never got anything working. Check Google---things may have changed. -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logitech Quickcam Express USB
On Wed, Feb 18, 2004 at 06:11:40AM -0500, Osmany Guirola Cruz wrote: i expect that FreeBSD team do something about this I think that its a bad idea try to find the solution with Linux reverse engineering The problem is that Logitech hasn't released the details on how to communicate with the device. There's not much anyone can do about that. I suspect the difficulty you'll have in getting the 'FreeBSD team [to] do something about this' is that it's just not a very interesting problem---there are other cameras around with open specifications. Certainly I gave up on the QuickCam in pretty short order and just got another camera. -- Paul. mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
long(!) Re: need help on CFLAGS in /etc/make.conf please
isn't worth his time. I can see it your way, too, but there was something somewhere that caused me to scrub my chin and rethink what Kris meant, but now it's lost... An idea did pop into my head just now, tho, actually it's a 'remembrance' of what we did in the old days (and still do on mainframes). We can always study the assembler src output from C before it gets processed further to see where it had gone wrong during optimization. Oh you bet we'll file a report with IBM/whoever when we can prove it. BTW for maximum tuning on _final_ code, we would edit the C asm src output manually -- you'd be amazed how much can be cut out and redesigned, still, and that's how a 1.7MHz 6809 (CoCo3) could beat a 4MHz 80286 (IBM's AT). ;) [ ... ] I reiterate the notion of other platforms working fine with optimizations and FBSD is slowing down because IMHO of some age-old assumptions about GCC itself. As a specific example: If GCC 3.3.3 generates really fast code on a Linux/i386 app *and* it's proven to work well, then FBSD/i386's code should fly just as fast at the same level with no problem. Oh but y'all are hacking the guts out of the optimization settings coming from the author, so FBSD/i386 will never see the same end-results here. Paul, you really ought to benchmark what the compiler actually does between -O2 and -Onnn: often, there is zero difference in performance. It would be unusual for there to be more than a factor-of-two difference in performance between unoptimized code and -O (aka -O1); -O2 might buy you another 10-20%, and -O3, -O4, or higher 5% or less. YMMV. I was eluding to optimization bugs in GCC itself. If Linux/i386's GCC can generate good functional code and be fast, GCC on FBSD should be able to do the same -- both should emit proper optimized i386 instructions, etc. The point going back to my earlier wish to trust the author's original Makefile and not hack it further with FBSD's Makefile -- if the author's platform was Linux, it's highly likely it is i386 also, and we on FBSD/i386 should be able to trust his settings there and reap the same rewards. ;) Now ya got me contemplatin' on my hack -- For apps that don't have any tweaks, I think a successful boost would need a combination of -O and other parms. I'd still leave it up to the author, unless it is something used in many places so much (libs). I removed my -O in /etc/make.conf to rebuild MPlayer with today's CTM deltas (it finally got un-broke). MPlayer uses -O3 if I set another of its documented knobs, which I did also. We'll see how that behaves tomorrow. At the same time, a revision-bump for Epiphany came thru today, too. It did not use any -O at all (my -O was still removed). Here's a good example of an often-used app that could use some of that kind of tweaking. Okay, it sets ${CFLAGS}, so my CFLAGS?= setting would not be noticed, so ?= is not the way to do this. Doing CFLAGS+= _might_ be noticed, but there are other ports that would not pick it up as I meant (depending on exactly where those ports include ${CFLAGS}, if at all, and some will override it completely with a plain single '='). The problem with my hack is that we don't have a separate setting/knob for -O by itself ... it will be found 'somewhere' in ${CFLAGS}. I'm thinking my hack would entail scanning the resulting ${CFLAGS} after gmake has finalized it but before invoking GCC/whatever... somehow. On top of that, your sed example (previous msg) might accidentally change a generic string i.e. a '-O' somewhere else in the line that is passed to GCC/whatever. I'll be pondering that, too. Taking Epiphany as a further example here. If users are complaining about its slowness, I would think its authors should be responsible for adjusting its compiler settings and issue a 'beta' version of the app for testing in that mode. That team would be more apt to spot optimization glitches better. OTOH 'we' could tweak Epiphany's Makefile on our own and provide feeback to the team. (For something as big as KDE and the number of users complaining already, I'm hoping the KDE teams are listening. ;) It's just that right now to provide a default -O hack and make it work as a true default is looking ugly but I'd like to try anyway. ;) As an aside -- I'm seeking to figure out how Apple got Panther _noticably_ faster than Jaguar. That's the kind of 'oomph' we need to do on FBSD/i386. I mean, my old upgraded PowerMac 7600 350MHz G3 + 66MHz bus/RAM + ATI Radeon PCI is faster than this Puny Pentium2 450MHz + PC100 RAM + ATI Radeon AGP. (My G3 box would be a fairer comparison than my G4 Sawtooth box. ;) At any rate, there's sumthin wrong here! ;) Most if not all of Panther's speed has got to be because it switched us to GCC-3.3, but I'm not seeing such a difference between GCC 2.95 (Jaguar / FBSD 4.x) and GCC 3.3 (Panther / FBSD 5.x) on i386 here. We're missing something on i386 here, and I'm trying to find 'it'. I wouldn't think Apple
Re: Can Freebsd run on linux?
On Sun, Feb 22, 2004 at 03:49:10PM -0800, Ken Finegood's Office 2 wrote: Subject: Can Freebsd run on linux? Yes, it can, but you'll likely need a product like VMWare to to it. Questions about what software can run in Linux should probably be directed to a Linux mailing list. -- Paul Chvostek [EMAIL PROTECTED] Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard
Hi y'all, I've been digging into the port net/tn3270 since I volunteered to maintain it ;) . I have some questions, now, after I did some searches on Google.com to try locating the 'official' Berkeley stuff (our src trees have it branded on just about everything y'know ;) . I'm wondering what historical moves were done to the src that builds FreeBSD's telnet command and telnetd daemon, because now they do not match other BSDs (AFAICS). This is the crux of my perplextion. It seems NetBSD and OpenBSD continue to include telnet+telnetd+tn3270 together under one subdir as part of /src/usr.bin -- but FreeBSD moved only the telnet[d] pieces to /src/contrib/telnet and eliminated the tn3270 pieces completely. (I haven't dug too deep yet in the libtelnet tree, which is one piece that FreeBSD does retain as other BSDs have it. But for right now let's stick to the command daemon parts.) I'm seriously debating in my head whether FreeBSD should add back the tn3270 pieces to /src/contrib/telnet so that we can match the other BSDs albeit in the 'contrib' subtree. I know NetBSD has sheared away from FreeBSD, but they have kept their telnet subtree updated and along the lines of original BSD. Same with OpenBSD, even tho the files on their mirrors look even 'newer' than NetBSD's. There was a humongous commit some months ago, I believe to NetBSD's srcs, to get rid of the 'Berkeley' branding and several lines of Berkeley's licensing (legal) wording. That huge commit touched most of src _everywhere_. That commit's Log entry was specifically mentioning Berkeley's disbanding of the agreements back in 1999. Not even the 'lint' #ifdef is in there anymore for NetBSD (but OpenBSD has retained them). I'll stop right here before asking anything else, wanting to see if anyone here at FreeBSD can explain what has happened and why 'we' are so different than 'them'. ;) Thank you very much. -- Paul Seniura System Specialist State of Okla. D.O.T. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: clamav ports
On Wed, 10 Mar 2004 21:34:44 -0500 Bart Silverstrim [EMAIL PROTECTED] wrote: On Mar 10, 2004, at 9:26 PM, Jonathan T. Sage wrote: Bart - just a thought, but it is possible that the port updated the virus database to the possibly older version in the distfile. You may want to run freshclam and see if this clears up the issue. Hopefully thats all the problem is. hope this helps On a lark, I reran the test (situation: I ssh to my home account that isn't filtered, and send myself two small viruses that some MS user was so kind to have unknowingly sent to me...I'm using Mac to store/send them, so I guess it's nice to be immune when I have to test these things :-) Weird. It caught it this time. And I did run a freshclam, thinking something odd happened to the database. Perhaps clamd just doesn't see the update right away? (there's also a freshclam run from a cron script every four hours or so). I doublechecked and I wasn't imagining things; one virus I sent slipped right through the first time, but this time in an identical test almost five hours later the antivirus on the FreeBSD filter slapped it right down. Not gonna question it though, as long as it's working! Thanks! Just a thought, do you have '#NotifyClamd [/optional/config/file/path]' uncommented in freshclam.conf -- Cogeco ergo sum pgp0.pgp Description: PGP signature
Re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard
Hi Alex, Dear Paul, On Tue, Mar 09, 2004 at 04:43:48PM -0600, Paul Seniura wrote: It seems NetBSD and OpenBSD continue to include telnet+telnetd+tn3270 together under one subdir as part of /src/usr.bin -- but FreeBSD moved only the telnet[d] pieces to /src/contrib/telnet and eliminated the tn3270 pieces completely. (I haven't dug too deep yet in the libtelnet tree, which is one piece that FreeBSD does retain as other BSDs have it. But for right now let's stick to the command daemon parts.) I'm seriously debating in my head whether FreeBSD should add back the tn3270 pieces to /src/contrib/telnet so that we can match the other BSDs albeit in the 'contrib' subtree. I don't understand the word albeit in this line. English is not my native language, sorry. http://dictionary.reference.com/search?q=albeit :-) Why do you want so much for all different groups to be alike? It seem to me that differences are natural when you have diffenent groups. NetBSD and OpenBSD didn't have ports when FreeBSD started with the use of ports. And this now is very succeful. We whould have missed this if all we did was be like the others. Please look at the history of the BSDs. The tn3270 command was never in a 'port' to begin with. It was meant to be a companion to 'telnet' the command, the daemon, and its libraries. They are intertwined. The use of ports has not been successful w/r/t tn3270 itself. It STILL will not compile correctly, even today. It was moved in order to allow 'world' to compile without problems. It was moved *instead* of being fixed. But the other BSDs have seemingly fixed it, and they left it inside /src/usr.bin/telnet where it belongs -- looking right now today at their CVS trees. (Yes I will do 'diff' between theirs and ours.) I personal feel that getting stuff out of the base system and in to the port tree is a good thing if it is posible. This is more modulair and thus is much more flexible. I see this as a good thing. Why should this ports be in the base system? Just because NetBSD or OpenBSD do? FreeBSD is not OpenBSD or NetBSD I hope this is not too technical: All BSDs (except for this 'Free' one) presently have tn3270.c together with telnet.c for reasons that become apparent when studying how it works and how it is compiled etc. As they are presently written, all of telnet[d].c and tn3270.c must use the same macros and other source files from the same 'level' subdir. That means if something changes for the sake of 'telnet', it had better work with 'tn3270' also. Putting tn3270 over into a port is a 'Free'BSD-only KLUDGE: look at its Makefile under /src/ports/net/tn3270. It was moved from where it belongs, instead of fixing it to compile and work properly per current specs -- and today it STILL will not compile correctly. Moving it only acted to permit the rest of the base system ('world') to compile without problems. Hence I call it a 'kludge' in its present 'Free'BSD-only form. I was not 'here' back in 1999 when this decision was made. (See my reply to Kris, too, please; I show the 'commits' there.) In 1999, we were using OS/2 which had a fully functional basic PCom/3270 provided with the o.s. for 'free'. ;) Now I am trying to show TPTB how 'free' o.s.+software can be used, and ran into this stupid kludge almost 5 years too late. :( By your logic, let's move all of /src/contrib to the appropriate subdirs under /src/ports and not have a built-in telnet or any other such command! ;) -- thx, Paul Seniura ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard
Hi Kris, On Tue, Mar 09, 2004 at 04:43:48PM -0600, Paul Seniura wrote: I'm wondering what historical moves were done to the src that builds FreeBSD's telnet command and telnetd daemon, because now they do not match other BSDs (AFAICS). This is the crux of my perplextion. Read the commit logs and mailing list archives - it's all discussed there. Kris I'm sorry, I am using Rambler to find any hits on 'tn3270' and see nothing useful. How many years do I need to go back? Let me show you what I found, please. Maybe you can help me find the discussion that isn't here in my notes. CVSweb still shows 'tn3270.c' being under the Attic with No Useful Comments as to why it was put there. Then I went to the CVSweb under /src/usr.bin/telnet to find the following Humorous But Terribly Non-Useful Comment: ¥ Revision 1.4, Tue Aug 31 08:53:58 1999 UTC (4 years, 6 months ago) by markm ¥ Branch: MAIN ¥ CVS Tags: HEAD ¥ Changes since 1.3: +0 -0 lines ¥ FILE REMOVED ¥ ¥ FreeBSD District court of Appeals - TN3270 vs Ports ¥ ¥ Judge: TN3270, you are charged with being superfluous to ¥ requirement, and have been found guilty. ¥ Defence, do you have any final words? ¥ Defence lawyer: Yes,.. ¥ *!BLAM!* ¥ Judge: Contempt of court!! That blood is disgusting! Sergeant? ¥ Sergeant: Sah!? ¥ Judge: Get that mess out of here. ¥ Sergeant: Sah!! ¥ Judge: Anyone else have anything else to say? ¥ ... ¥ Judge: Executioner! ¥ Executioner:My lord? ¥ Judge: Carry out the sentence, forthwith! ¥ Executioner:As my lord wishes... ¥ *!BLAM!* *!BLAM!* *!BLAM!* ¥ Judge: Any more matters for the court today? A reply to that very non-useful comment: ¥ From: Dag-Erling Smorgrav [EMAIL PROTECTED] ¥ Date: 02/09/1999 ¥ Mark Murray [EMAIL PROTECTED] writes: ¥Removed files: ¥ [...] ¥Log: ¥ [...] ¥ ¥ So, you just added 650 bytes of moderately funny but totally useless ¥ text to about a hundred files in the repo, thus contributing 65 kB to ¥ repo bloat and lengthening an average user's cvsup session by 20 ¥ seconds. ¥ ¥ DES ...And still no useful comment to this day. I see the thread leading up to markm's action: ¥ Re: cvs commit: src/usr.bin/tn3270/sys_curses termout.c ¥ From: Mark Murray [EMAIL PROTECTED] ¥ Date: 30/08/1999 ¥ peter 1999/08/30 01:23:34 PDT ¥ ¥Modified files: ¥ usr.bin/tn3270/sys_curses termout.c ¥Log: ¥Make this compile.. (Why do we have tn3270 in the tree anyway?) ¥ ¥ I've had a license to punt this to ports for _years_. I'll do this tonight. ¥ ¥ M and ¥ Re: cvs commit: src/usr.bin/tn3270/sys_curses termout.c ¥ From: Mark Murray [EMAIL PROTECTED] ¥ Date: 30/08/1999 ¥ Make this compile.. (Why do we have tn3270 in the tree anyway?) ¥ ¥ Because it was in 4.4. I've been wanting to get rid of it for three ¥ or four years now ¥ ¥ It will be gone in 6 hours! ¥ ¥ M and finally ¥ cvs commit: CVSROOT modules ¥ From: Mark Murray [EMAIL PROTECTED] ¥ Date: 31/08/1999 ¥ markm 1999/08/30 13:21:32 PDT ¥ ¥ Modified files: ¥ .modules ¥ Log: ¥ port_tn3270 -- ports/net/tn3270 ¥ ¥ Revision ChangesPath ¥ 1.325 +2 -1 CVSROOT/modules Afterwards: ¥ cvs commit: ports/net/tn3270 - Imported sources ¥ From: Mark Murray [EMAIL PROTECTED] ¥ Date: 31/08/1999 ¥ markm 1999/08/30 13:27:51 PDT ¥ ¥ ports/net/tn3270 - Imported sources ¥ Update of /home/ncvs/ports/net/tn3270 ¥ In directory freefall.freebsd.org:/d/users/markm/import/tn3270 ¥ ¥ Log Message: ¥ This is FreeBSD's tn3270, yanked from src/usr.bin, and lightly hacked ¥ with the addition of relevant parts of src/usr.bin/telnet/* ¥ ¥ Once the dateline hase crossed the repository, the original will ¥ be led outside, given a perfunctory trial, and shot. ¥ ¥ Status: ¥ ¥ Vendor Tag: BSD_4_4 ¥ Release Tags: bsd_4_4 ¥ ¥ N ports/net/tn3270/Makefile ¥ N ports/net/tn3270/files/md5 ¥ N ports/net/tn3270/patches/patch-aa ¥ N ports/net/tn3270/pkg/COMMENT ¥ N ports/net/tn3270/pkg/DESCR ¥ N ports/net/tn3270/pkg/PLIST ¥ ¥ No conflicts created by this import Rambler produced hits logged several years before; I found hits on 'imports' of this subtree back in 1996, other hits in 1995. But I see no discussion concerning this move during those years, at all. About a year after tn3270 was moved, people began to experience problems with it. PR 21264 seems to be the first one -- and it is STILL OPEN, because the prebuilt binaries package on the servers is horribly out of date -- and THAT is because tn3270 under ports will not compile properly for several reasons (not entirely related to the move). Prior discussions I see that Rambler found tn3270 mentioned at all: * an old and very long thread on ports-current/packages-current being
re: Crystal CS423B under 5.2.1
Hi John, I had the same problem on this Puny Pentium2 == IBM model 300PL with on-board IBM Crystal Sound[tm] ;) . It will be detected during kernel init, then show the same channel timeout line later on when you want to play something thru it. For a quick test, assuming your kernel has acpi removed or are using the GENERIC kernel: try the beastie menu option that prevents acpi from loading. Next, try disabling ACPI in your BIOS if possible. I think the smart FBSD boot loader will detect that you don't have a working ACPI and then will not load the related .ko modules. In my case, it was a PC model that FBSD's ACPI support does not like. Bein' how IBM themselves have dropped support for this model, I'm positive they won't fix the BIOS. :( (Why do I have it? State govmts are supposedly cutting budgets, and I got what was left for this project in the garage/warehouse before they surplus'd them ;) . So, I turned off all ACPI functions in the BIOS, but kept the APM stuff enabled, and also enabled the apm knobs so I can still use poweroff/reboot shutdown commands etc. After I discovered ACPI being the root of my problem, to make it a permament 'fix', I took out the acpi stuff my custom kernel, too, and added this to /boot/device.hints: # let's disable this to see if Crystal Sound works: hint.acpi.0.disabled=1 # YES THAT WORKS - KEEP THIS LINE UNTIL THEY FIX ACPI Trigger/Edge Irq problems! I sent my last ACPI dmesg logs to the acpi mailing list (hidden, I don't know where it is documented) to see if they'd be willing to troubleshoot it. Still no response. But I'm okay with just using APM. FWIW the Crystal Sound feature was the only thing not working with ACPI enabled. With it enabled, this PC seemed a bit faster. I see a lot of committed updates for ACPI were done recently and might give it another go, but not right now. ;) Hope this helps. -- Paul Seniura System Specialist State of Okla. D.O.T. --- Original message --- Hi there, I'm having tremendous difficulty obtaining anything other than a system beep from my Crystal CS423B under FreeBSD 5.2.1. In fact, I had problems with it under 5.1 as well! The machine (for detailled information see http://www.osegroup.com/support/insight/insight/en/products/desktops/ls500/ls500.htm) is a Mitsubishi Apricot LS500 with Lightning BX motherboard, 350Mhz Pentium 2 Crystal CS423B-KQ chip (I'm looking at the mobo right now, it's also got marking of ATAFX39820 underneath the sound chip name). The card seems to be detected: a cat /dev/sndstat reveals the following: FreeBSD Audio Drivers (newpcm) Installed devices: pcm0: CS423x at io 0x534 irq 5 drq 1:0 bufsz 4096 (1p/1r/4v channels duplex default) The relevant parts of /var/log/messages would most likely be: zev kernel: pnpbios: Bad PnP BIOS data checksum zen kernel: pcm0:CS423x at port 0x220-0x22f,0x388-0x38n,0x534-0 The appropriate additions to the kernel have been made (currently: device pcm device csa , though also tried have been device pcm device sba , and device pcm to no discernible difference) Attempting to test the soundsystem with something like MadPlay by saying madplay -o /dev/dsp0.1 01.mp3 or madplay -o /dev/dspW0.1 01.mp3 results in the error message pcm:0:virtual:0: Play interrupt timeout, channel dead being sent to /var/log/messages and printed to console 1. Subsequent attempts to use sound results in invalid argument. If it's any consolation, the sound does not appear to work under Linux - at least, not Movix (http://movix.sourceforge.net) - either. Win2k (when I used to use it.. Eurgh) needed drivers not included in the OS. Any help really would be appreciated! The only thing I've found so far on the mailling lists are unresolved issues! John -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard
On Sun, Mar 14, 2004 at 05:52:04AM +0100, Alex de Kruijff wrote: On Thu, Mar 11, 2004 at 09:34:16PM -0600, Paul Seniura wrote: Hi Alex, Dear Paul, On Tue, Mar 09, 2004 at 04:43:48PM -0600, Paul Seniura wrote: It seems NetBSD and OpenBSD continue to include telnet+telnetd+tn3270 together under one subdir as part of /src/usr.bin -- but FreeBSD moved only the telnet[d] pieces to /src/contrib/telnet and eliminated the tn3270 pieces completely. (I haven't dug too deep yet in the libtelnet tree, which is one piece that FreeBSD does retain as other BSDs have it. But for right now let's stick to the command daemon parts.) I'm seriously debating in my head whether FreeBSD should add back the tn3270 pieces to /src/contrib/telnet so that we can match the other BSDs albeit in the 'contrib' subtree. I don't understand the word albeit in this line. English is not my native language, sorry. http://dictionary.reference.com/search?q=albeit :-) I did look at my offline dictionary, but this didn't make sence. I just stated this, so that I reacted in a strange way it would be clear why this was the case. I understand ;) . It is a way to short-cut a lot of words. In my case, it means: The other BSDs still have many things that we keep in /src/contrib that should be in /src/usr.bin -- not just tn3270 was moved. But I'll follow the Party Line at least this far. ;) OT NetBSD has recently severed ties to FreeBSD, and I'm wondering if it's partly due to FreeBSD becoming too different. Just thinking out loud. ;) Why do you want so much for all different groups to be alike? It seem to me that differences are natural when you have diffenent groups. NetBSD and OpenBSD didn't have ports when FreeBSD started with the use of ports. And this now is very succeful. We whould have missed this if all we did was be like the others. Please look at the history of the BSDs. The tn3270 command was never in a 'port' to begin with. It was meant to be a companion to 'telnet' the command, the daemon, and its libraries. They are intertwined. What I mean by this is: that i think having it as a port is a good thing recardless of what others do. The use of ports has not been successful w/r/t tn3270 itself. It STILL will not compile correctly, even today. It was moved in order to allow 'world' to compile without problems. It was moved *instead* of being fixed. Then moving it back will not fix it either. That its not being fixed has nothing to do with being a port or not. It is part of the problem as it exists right now. Not the _entire_ problem, _part_ of the problem. When the telnet code is changed, no one will see that it causes problems with tn3270, and no one fixes it. So it compounds the problems. But the #1 problem right now is it being written in very old and dated C language. No one has touched it for 'that' long. It has to do with to few people who use the port. If it not fixed then that because no one with the skill to do so is interesed in fixing it. Someone could've patched tn3270.c in its proper place with compiler statements #ifdef false/#endif surrounding the entire module very easily, thus it becomes a 'good' compile and will prevent contaminating 'world' until it is fixed. ;) When someone sees that the command has either disappeared or Does Nothing, then the related PR could be cited. But the other BSDs have seemingly fixed it, and they left it inside /src/usr.bin/telnet where it belongs -- looking right now today at their CVS trees. (Yes I will do 'diff' between theirs and ours.) You could become the port maintainer. ;-) sigh I mentioned it in the very first message of this thread. Can you see who the maintainer is listed in the Makefile for net/tn3270? (the patch for it came out a couple months ago already) I _am_ the (new) maintainer! But I do not have nor do I want 'committer' status. Whenever I get things working right, I'll open a PR and do it that way. ;) I hope it makes sense now, why I am complaining about how tn3270 was treated during all these years? Esp. when other BSDs are seemingly not having our problems. I personal feel that getting stuff out of the base system and in to the port tree is a good thing if it is posible. This is more modulair and thus is much more flexible. I see this as a good thing. Why should this ports be in the base system? Just because NetBSD or OpenBSD do? FreeBSD is not OpenBSD or NetBSD I hope this is not too technical: All BSDs (except for this 'Free' one) presently have tn3270.c together with telnet.c for reasons that become apparent when studying how it works and how it is compiled etc. As they are presently written, all of telnet[d].c and tn3270.c must use the same macros and other source files from the same 'level' subdir
re: I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard
Hello, On Sun, Mar 14, 2004 at 06:01:37AM +0100, Alex de Kruijff wrote: On Sun, Mar 14, 2004 at 05:52:04AM +0100, Alex de Kruijff wrote: On Thu, Mar 11, 2004 at 09:34:16PM -0600, Paul Seniura wrote: I hope this is not too technical: All BSDs (except for this 'Free' one) presently have tn3270.c together with telnet.c for reasons that become apparent when studying how it works and how it is compiled etc. As they are presently written, all of telnet[d].c and tn3270.c must use the same macros and other source files from the same 'level' subdir. That means if something changes for the sake of 'telnet', it had better work with 'tn3270' also. Yes, this is too technical. I would have to study the file, which i'm not going to. If you say that it couldn't posibly be a port, like perl5 can, then i will take your word for this. This shouldn't be an impassable obstacle to making a tn3270 port -- there is precedent in the ports tree for having the port require various parts of the system sources to be present in order to build. See, for instance, the net/ng_netflow or the devel/linuxthreads ports. I see how those check for certain files. But tn3270's Makefile recursively copies a lot under /src/contrib/telnet/ to its work dir. I haven't seen many ports do that sort of thing. ;) If there are routines that belong in library functions such, shared or not, then it could entail modifying the telnet stack itself -- DTRT to follow standards y'know. Having a good, well maintained port available will go a long way towards persuading most committers that the tn3270 application should be restored to the base system. Not all the way, but it will make a difference. I'm likely to 'borrow' tn3270 sources from another BSD since they don't seem to be having our problems. And for that to follow, we'd need to put it back where it belongs (under /src/contrib for us, while other BSDs haven't moved it from /src/usr.bin). I'd only be doing that on this PC locally, of course (I don't have nor want 'committer' status for lots of reasons ;) . Once it all works, I'll open a PR and have others look at the patches. Oh this will take quite a while. This PC may take all week or longer just to get caught up on all the commits from last Friday onward. ;) Matthew -- thx, Paul Seniura. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MySQL 3 server problems: mysqlclient.10 not found?
I have been trying to complete a portupgrade and something seems to be wrong: mysql323-server won't build. It seems to have a dependency on a file -- mysqlclient.10 -- that's part of mysql323-client but isn't found. === Compressing manual pages for mysql-client-3.23.58_2 === Running ldconfig /sbin/ldconfig -m /usr/local/lib/mysql === Registering installation for mysql-client-3.23.58_2 === Returning to build of mysql-server-3.23.58_2 Error: shared library mysqlclient.10 does not exist *** Error code 1 Stop in /opt/ports/databases/mysql323-server. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: MySQL 3 server problems: mysqlclient.10 not found?
On Mar 16, 2004, at 11:00 PM, Ryan Merrick wrote: What is in #/usr/local/lib/mysql ? You should have something like: ... lrwxrwxrwx 1 root wheel 20 Feb 28 22:29 libmysqlclient.so - libmysqlclient.so.10 -rwxr-xr-x 1 root wheel 132515 Nov 7 17:57 libmysqlclient.so.10 [/usr/home/paul]:: ls -l /usr/local/lib/mysql | grep mysql lrwxr-xr-x 1 root wheel 37 Mar 16 11:04 libmysqlclient.10 - /usr/local/lib/mysql/libmysqlclient.a -rw-r--r-- 1 root wheel 188848 Oct 5 19:24 libmysqlclient.a lrwxrwxrwx 1 root wheel 20 Mar 16 16:06 libmysqlclient.so - libmysqlclient.so.10 -rwxr-xr-x 1 root wheel 132515 Oct 5 19:24 libmysqlclient.so.10 -rw-r--r-- 1 root wheel 222510 Mar 16 14:08 libmysqlclient_r.a I ended up using pkg_add to fix this: not entirely satisfactory, but I'm up and running. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: Anti Virus Software
On Thu, Mar 18, 2004 at 01:11:59PM +0800, [EMAIL PROTECTED] wrote: also i was wondering too if there are any recommendations for a good AV/spam combo for email running qmail courier/imap? Have a look at this article: http://logicsquad.net/freebsd/qmail-scanner-how-to.html It was getting old (describing some installation procedures for applications which, at the time, had no ports) and I updated it just a few days ago. I removed the parts describing manual installation and replaced them with pointers to the various ports. I have not actually tested the current version of the article from top to bottom, so I would be interested to hear about bugs if you try it. -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
RE: PPTP client LCP errors
How about using mpd, as your VPN server? Nice and easy to install and configure. See the mpd port. Cheers, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martin Tsachev Sent: Monday, 22 March 2004 6:46 AM To: [EMAIL PROTECTED] Subject: PPTP client LCP errors -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, I'm having a problem connection to a PPTP server using FreeBSD 5.2 and pptp linux 1.3.1. It works fine from a Debian box that's behind the FreeBSD gateway that I want to connect to the VPN but since FreeBSD's ppp is different than the one in Linux I cannot simply copy my config. The server doesn't use mppe, on windows you have to disable LCP extensions to connect. The linux config is pretty straightforward but if you need that I can copy it too. Here's what I have on FreeBSD: /etc/ppp/ppp.conf vpn: # down lcp # disable vjcomp # disable MSCHAPv2 # disable mppe # enable deflate pred1 # close lcp # lcp-echo-interval 30 # lcp-echo-request 0 # open lcp # set openmode passive # set openmode passive # set stopped 3 # disable lqr set authname username set authkey password set timeout 0 set ifaddr 0 0 add 192.168.0.0/16 HISADDR # set log Phase LCP Connect tun Warning Alert set log phase chat lcp ipcp ccp tun command # alias enable yes # noauth I start it by doing ppp ip vpn. and in /var/log/ppp.log when trying to connect I get: The following part is repeated a few times and I think it's failing: Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:34:52 mtb ppp[9415]: Phase: Using interface: tun0 Mar 22 00:34:52 mtb ppp[9415]: Phase: deflink: Created in closed state Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: PPP Started (direct mode). Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: bundle: Establish Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: closed - opening Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: Connected! Mar 22 00:34:52 mtb ppp[9415]: tun0: Phase: deflink: opening - carrier Mar 22 00:34:53 mtb ppp[9415]: tun0: Phase: deflink: carrier - lcp Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: FSM: Using deflink as a transport Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: deflink: State change Initial -- Closed Mar 22 00:34:53 mtb ppp[9415]: tun0: LCP: deflink: State change Closed -- Stopped Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: LayerStart Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:34:54 mtb ppp[9415]: tun0: LCP: deflink: State change Stopped -- Req-Sent Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:34:57 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:35:00 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:35:03 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: deflink: SendConfigReq(1) state = Req-Sent Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: ACFCOMP[2] Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: PROTOCOMP[2] Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: ACCMAP[6] 0x Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: MRU[4] 1500 Mar 22 00:35:06 mtb ppp[9415]: tun0: LCP: MAGICNUM[6] 0xda445afa Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: LayerFinish Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Req-Sent -- Stopped Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Stopped -- Closed Mar 22 00:35:09 mtb ppp[9415]: tun0: LCP: deflink: State change Closed
Re: cannot find windows driver for nic, please help
Of all the gin joints in all the towns in all the world, Malcolm Kay had to walk into mine and say: On Thursday 25 March 2004 15:35, Brian H wrote: Greetings Bill, I own a linksys WMP11 with the following chipset. vendor =3D 'Broadcom Corporation' device =3D 'BCM4301 802.11b IEEE 802.11b WLAN client chipset' class=3D network I am trying to get it working in freebsd 5.2.1, so i figured I could = just goto the linksys website and download the windows driver. = http://www.linksys.com/products/product.asp?grid=3D33scid=3D36prid=3D1= 96 the problem is the driver contains the bcmwl5.sys file, but it does = not contain the bcmwl5.ini file. You're looking for a .inf file *NOT* a .ini file. They're not the same thing. The driver distribution from Linksys most definitely has both a .sys file and .inf file for your device. Look harder. Also, check for both upper and lower case file names. You have me totally confused or am I missing something? How does a = windows driver help you with freebsd 5.2.1 ? He's trying to use the NDISulator which lets you use Windows binary network drivers with FreeBSD. Before you go looking, the code is in -current, not 5.2.1, but it will work with 5.2.1 if you install it all correctly. -Bill -- = -Bill Paul(510) 749-2329 | Senior Engineer, Master of Unix-Fu [EMAIL PROTECTED] | Wind River Systems = adamw you're just BEGGING to face the moose = ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
port questions (why do I find myself fudging symlinks to make stuff work?)
[ please cc me as I am not on the list] I have been trying to upgrade cups to 1.1.20 and have been running into some problems with libraries not being found (specifically jpeg.9 and tiff.4). After a few different iterations of pkg_add, portupgrade, portinstall, and accompanying pkg_delete, pkg_deinstall, make install, etc., I finally tried symlinking the .so files to the numbered versions that don't seem to exist and all seems to be well. ln -s /usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.so.9 ln -s /usr/local/lib/libtiff.a /usr/local/lib/libtiff.so.4 pkgdb doesn't seem to have any problems (I have run it enough times today), cvsup has done its magic a couple of times. I thought portinstall/upgrade -rR would fix any out-of-date ports and make everything happy? What am I doing wrong to make this libraries not get installed? -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 30, 2004, at 12:23 AM, Matthew Seaman wrote: A more interesting question would be what output do you get from: % pkg_info -g jpeg-\* tiff-\* [/usr/local/lib]# ls -l libjpeg* libtiff* -rw-r--r-- 1 root wheel 159384 Mar 30 08:04 libjpeg.a -r--r--r-- 1 root wheel 354610 Mar 29 21:11 libtiff.a [/usr/local/lib]# pkg_info -g jpeg-\* tiff-\* Information for jpeg-6b_2: Mismatched Checksums: pkg_info: /usr/local/lib/libjpeg.so doesn't exist pkg_info: /usr/local/lib/libjpeg.so.9 doesn't exist Information for tiff-3.6.1_1: Mismatched Checksums: pkg_info: /usr/local/lib/libtiff.so doesn't exist pkg_info: /usr/local/lib/libtiff.so.4 doesn't exist Hmm, portinstall -f on those two ports seems to get caught in some recursive loop. I'm going thru my entire installed base and redoing it all. Perhaps there's a more clueful way to do it, but unless this will do any harm, it seems the most thorough. I need to explore the docs and get a better understanding of the ports tools: I seem to find this happening again and again. Thanks for the quick and detailed reply. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
'Partial' X upgrade, now locked out of X server
Hello, It looks like I have upgraded parts of XFree86 while installing some other ports, and I now seem unable to make even local connections to my X server. I must admit, X is something I set up years ago on this machine, and have just set and forgot---as such, I do not even have a good appreciation for what information might be useful for people to help me debug this. The machine was originally running one of the early 4.X releases, and that is when X was installed. It's now running 4.8. The following have been installed recently: drwxr-xr-x 2 root wheel 512 Feb 26 01:28 XFree86-clients-4.3.0_6/ drwxr-xr-x 2 root wheel 512 Feb 26 01:29 XFree86-fontEncodings-4.3.0/ drwxr-xr-x 2 root wheel 512 Feb 26 01:30 XFree86-fontScalable-4.3.0/ drwxr-xr-x 2 root wheel 512 Mar 28 19:36 XFree86-libraries-4.3.0_6/ I usually login via xdm, started as root with 'xdm -nodaemon '. I am currently unable to log in as a non-root user, and I get the following in ~/.xsession-errors when I try: Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server twm: unable to open display :0 I presume this has something to do with access control, but I've never needed to set up anything for local access before. While I am keen to get suggestions on how to correct this access control glitch, I would be happy to fully upgrade X if that's recommended. Somewhat embarrassingly, I'm not even sure how this should be done---via ports? -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
wrestling with b*rked package/ports collection
I seem to be in a loop where expat and gettext will somehow not install in such a way as to serve as valid dependencies. I have rebuilt either directly or as part of building something else countless times, as well as installing from a package. For whatever reason, expat seems to be missing something: Error: shared library expat.5 does not exist portupgrade -f, installing from source, installing from a package: all seem to fail. And since it and/or gettext are core dependencies for everything else, it seems, there's not much progress being made. Any other sage advice? -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: 'Partial' X upgrade, now locked out of X server
On Wed, Mar 31, 2004 at 05:03:09PM +0200, Peter Ulrich Kruppa wrote: On Wed, 31 Mar 2004, Paul A. Hoadley wrote: It looks like I have upgraded parts of XFree86 while installing some other ports, and I now seem unable to make even local connections to my X server. I must admit, X is something I set up years ago on this machine, and have just set and forgot---as such, I do not even have a good appreciation for what information might be useful for people to help me debug this. I guess the best idea would be to have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html and try how far you get on your own. Also you should save your old XF86Config somewhere. It's syntax has changed from XFree86-3 to XFree86-4, but probably you will be able to recognize most important settings. Thanks. I did bite the bullet and make the XFree86-4 port. I had originally wondered whether I could get away with the hybrid, but there didn't seem to be much point. While I am keen to get suggestions on how to correct this access control glitch, I would be happy to fully upgrade X if that's recommended. Somewhat embarrassingly, I'm not even sure how this should be done---via ports? Either via /usr/ports/x11/XFree86-4 or pkg_add -r XFree86-4 Thanks Uli. I wasn't sure whether that port would install everything correctly in the standard places, but, of course, it does. -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: Please, can you help
What IDE controller are you using? Jason wrote: Hello, I have a problem that I was wondering if you could help me out, I downloaded the freebsd from your site to install it on my sec hdd (hard drive), I'm able to boot up from the cd-rom, so I did so. Long story short, I have my cd-rom on my secondary ide controller set to master with no slaves, My hdds are on the primary set to master and slave, will the problem is that when it come to install the rest of the bsd i try to install from the cd/dvd and it tells me that no CDROM is found and i have a ATAPI CDROM set to master on my sec ide controller with no slave divice, please can you help, I've looked on the site but nothing there that could help me that i saw. thank you jason sorry for me typing, im used chating programs Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. ___ [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]
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
Well, after a lot of different attempts to get past this problem, it seems that expat isn't building all the files it needs to. === Building package for expat-1.95.7 Creating package /usr/ports/packages/All/expat-1.95.7.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/expat-1.95.7.tgz' tar: lib/libexpat.so.5: Cannot stat: No such file or directory tar: Error exit delayed from previous errors pkg_create: make_dist: tar command failed with code 512 The missing so files are consistent with what I see when I try to build against an upgraded expat installation. The packaged version works just file: the so files are installed and all is well. But portupgrade wants to upgrade expat, and when it does, those missing files make everything else fail. I have no idea how to resolve the issue at the port level: is there a workaround? and I have been pulling from CVS so this shouldn't be an issue of being out of sync, I don't think. ruby is at 1.8.1, per someone else's advice, as well. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 31, 2004, at 2:29 PM, Charles Swiger wrote: Stop using portupgrade for a moment; do a make deinstall of the expat port (or use pkg_delete -f), do a make clean, and then do a make reinstall. been there, done that, got the bloody knuckles to show for it. [/usr/ports/textproc/expat2]# pkg_info -g /var/db/pkg/expat-1.95.7/ Information for expat-1.95.7: Mismatched Checksums: pkg_info: /usr/local/lib/libexpat.so doesn't exist pkg_info: /usr/local/lib/libexpat.so.5 doesn't exist I think something's broken. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 31, 2004, at 3:28 PM, Kris Kennaway wrote: What architecture is this on? Some people have reported problems on amd64 with shared libraries not being created - this appears to be something to do with libtool, but I don't see it on my amd64 box. It's on x86, running 4.9. To work around mysterious port problems you can always just install the packages instead. I tried that, but some ports want to rebuild their dependencies and I'm back where I started. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 31, 2004, at 4:29 PM, Kris Kennaway wrote: You're not doing it right, then :-) Use portupgrade with the -PP switch to force the use of packages. What if there isn't a package for a given port? I wasn't aware there were packages (though I suppose for an ancient release like 4.9 there might be). -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to makestuff work?)
On Mar 31, 2004, at 4:59 PM, Matt Emmerton wrote: How is 4.9 ancient? It's the most recent release supported for production use. (Refer to http://www.freebsd.org if you doubt this.) That was a joke ;-) You can find all the packages you want for 4.9 at ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/packages Thanks. I'll see if those will work. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 31, 2004, at 5:38 PM, Kris Kennaway wrote: Well, then you can't use it :) There are certainly up-to-date packages for the basic ports like expat that you're having problems with. So here's my problem. I install expat and gettext from packages. Then I install *anything* that depends on those, and they need to be rebuilt. The expat build fails. The gettext fail as a result, and then all the rest do as well. I'm not sure how up to date they are if the ports that depend on them want to rebuild them. Information for expat-1.95.6_1.tgz: Files: /usr/local/man/man1/xmlwf.1.gz /usr/local/bin/xmlwf /usr/local/include/expat.h /usr/local/lib/libexpat.a /usr/local/lib/libexpat.so /usr/local/lib/libexpat.so.4 gettext 0.13.x wants expat.5, so that's not as up to date as it might be. I've dropped a note to the maintainer: perhaps there's something he can point out. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
some anomalies in my system?
Working through this issue with expat not building shared libs, the maintainer noticed this: creating libtool checking host system type... i386-unknown-kfreebsd4.9-gnu checking whether to build shared libraries... no checking whether to build static libraries... yes what isn't letting us build shared libs and what's that funky system type? Other ports don't have this issue, at least from the others I chose at random. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: some anomalies in my system?
On Mar 31, 2004, at 7:58 PM, Kris Kennaway wrote: It still looks like you have a bogus non-ports version of libtool installed that is providing the wrong information to the configure script. I took that as a hint to look at the versions of libtool: there wasn't a version I didn't have installed, so I removed them all and decided to let them get handled as dependencies. Expat seems to be relying on libtool13: === Patching for expat-1.95.7 === Applying FreeBSD patches for expat-1.95.7 === expat-1.95.7 depends on file: /usr/local/libexec/libtool13/libtool - not found ===Verifying install for /usr/local/libexec/libtool13/libtool in /usr/ports/devel/libtool13 === NOTICE: This port is deprecated; you may wish to reconsider installing it: Please use devel/libtool15 instead. It is scheduled to be removed 31st December 2004. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 31, 2004, at 7:52 PM, Kris Kennaway wrote: You're installing out of date packages then. The ones on the ftp site are current and provide libexpat.so.5. This is what's available for 4.9-RELEASE: [/opt/ports/packages/All]# pkg_info -L expat-1.95.6_1.tgz Information for expat-1.95.6_1.tgz: Files: /usr/local/man/man1/xmlwf.1.gz /usr/local/bin/xmlwf /usr/local/include/expat.h /usr/local/lib/libexpat.a /usr/local/lib/libexpat.so /usr/local/lib/libexpat.so.4 Likewise 5.2-RELEASE: I just pulled that package and checked. The Makefile in my ports tree has this: PORTVERSION=1.95.7. this would/should give me expat.5. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: some anomalies in my system?
On Mar 31, 2004, at 8:48 PM, Kris Kennaway wrote: I took that as a hint to look at the versions of libtool: there wasn't a version I didn't have installed, so I removed them all and decided to let them get handled as dependencies. That's not what I asked. I realize that, but that was the first step to getting this fixed or at least worked around. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
workaround for the expat problem
I removed all the versions of libtool, and tried rebuilding expat but that didn't help. It would install libtool13 and I would get funky configure output and a failed install. I then went into ${PORTSDIR}/textproc/expat2/work, removed the expat directory, re-extracted from the distfile, and ran configure, make and name install from there. That seemed to be OK, then I went back to ${PORTSDIR}/textproc/expat2/ and did a make install WITH_PKG_REGISTER=1. That worked well enough to build gettext 0.13 with its dependency on libiconv. So all looks to be normal, or close to it. If anyone has any ideas what this is all about and how best to cope with it going forward, I'd be grateful to know about it. Thanks. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 31, 2004, at 9:21 PM, Kris Kennaway wrote: You want the packages-4-stable directory; RELEASE packages are not updated. See http://www.freebsd.org/ports for more details. Ah, I see. There was an earlier email to the effect that the packages I needed were under 4.9-RELEASE. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: some anomalies in my system?
On Mar 31, 2004, at 9:21 PM, Kris Kennaway wrote: OK, feel free to ignore my advice as you see fit. Looking back through the thread, you asked if I had installed any non-ports software or some other variant of libtool: the answer was no. I didn't see any advice, so I took the initiative to find out what libtool might be doing. I did discover that there was a dependency on a deprecated version of libtool (1.3 where 1.5 seems to be the current/preferred version). And I was able to get around my problem by working from the distfiles and leaving out whatever the ports system was doing (that was where the inability to build shlibs was getting in the mix). As noted in my followup post to the list, once I installed from the {$PORTDIR}/work/portname directory, all went well and I have now resolved my problem. Apologies if I offended. The insight on libtool is appreciated. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
Re: workaround for the expat problem
On Apr 1, 2004, at 12:05 PM, Kevin D. Kinsey, DaleCo, S.P. wrote: Users of expat2 (and its many dependencies) should do the following to properly update expat2 and all of its dependencies: portupgrade -rf textproc/expat2 I wish I had kept a record of how many times I ran that and had it fail. The problem was that for some reason the expat2 port was unable to create and install shared libraries due to something that was getting picked up in the configure run. As noted in my note about the workaround, running the build without using the ports system infrastructure allowed the shlibs to be created and install and then -- and only then -- could the dependent ports find the expat.5 library and complete their upgrades. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
libtool/shared libraries problem
In the course of cleaning up this b*rked port installed, I found that popt wouldn't install properly. It would report no errors but ports that depended on it would bail out, unable to find shlibs. configure, running under the ports system, returns this: creating libtool checking host system type... i386-unknown-kfreebsd4.9-gnu -- what's that all about? . . . . . checking dynamic linker characteristics... no checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes . . . . Cleaning out the work directory, doing a make deinstall in libtool13 gives me this more reasonable outcome. checking host system type... i386-unknown-freebsd4.9 . . . . checking if libtool supports shared libraries... yes The acid test is to see if make package will work since it seems to check the created files against a list that make install doesn't seem to do. I just did a portinstall rpm (where I was stuck with popt being broken) and it installed just fine. It did however kick back the same warning I have seen previously that libtool13 is deprecated and libtool15 is preferred. There is no warning about the popt port in UPDATING. -- Paul Beard www.paulbeard.org/ paulbeard [at] mac.com
GPL: implications for FreeBSD-on-hardware for sale?
Hello, For a certain niche market, I am considering selling a software application by pre-installing it on a small machine running FreeBSD, and then selling the whole thing. Are there any implications arising from the GPL (or other more-restrictive-than-BSD licensed) code in the tree? Would it be arguable that I was, in fact, selling only the hardware and my own software application, and giving away the (GPL- and BSD-licensed) open source software for free? I presume that the GPL would require me to at least make the source code of the GPL-covered parts of FreeBSD available on request (Section 3(b)), given that I would not be including the FreeBSD source code (it simply wouldn't be required) in the installation. This bridge must have been crossed before. Does anyone have any experience here? -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: GPL: implications for FreeBSD-on-hardware for sale?
On Sat, Apr 10, 2004 at 09:46:29AM +0100, Matthew Seaman wrote: There's no problem with selling GPL'd programs for money. As the cant goes Free speech, not free beer. I guess I'm interpreting Section 1 too restrictively then. I took You may charge a fee for the physical act of transferring a copy to be fairly limiting on the magnitude of this fee. I guess it's not then. All you have to do to comply with the GPL is make available the sources to the software you're using to your customers, or let them know how they can retrieve them from a third party. In this case, probably just pointing them in the direction of the FreeBSD servers would be sufficient. OK. If you're dead against redistributing GPL'd stuff, you'll find it difficult to produce a completely GPL-free setup: removing things like the C compiler and gdb and texinfo is easy enough, but such things as readline and the regex libraries are harder to deal with. I'm not against it. I just want to make sure I get the specifics of the license exactly right. :-) Thanks a lot for your input, Matthew. -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: GPL: implications for FreeBSD-on-hardware for sale?
On Sat, Apr 10, 2004 at 01:55:23AM -0700, Cory Petkovsek wrote: Your own proprietary binaries you can distribute along side the GPL and BSD code, provided you don't have GPL code within your programs. It can all be bundled together as long as you have licensing, copyrights and required source as part of the package (or possibly available, but not part of the package). Thanks for that. Again, then, I think I was interpreting the text of the license too restrictively---obviously my own code does not become a derivative work just because it's sitting on the same disk. (Not sure why I thought it would.) Thanks for the input, Cory. -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: GPL: implications for FreeBSD-on-hardware for sale?
On Sat, Apr 10, 2004 at 11:04:46AM -0700, Gary W. Swearingen wrote: We all use loose language like that, but a software seller should keep in mind that usually he's really doing two things: publishing (or at least distributing) copies of the software and licensing use of the software. The GPL seems to permit charging anything for the publishing (but see clause 3b for an exception) while prohibiting any charge for the licensing (but see the clauses which require fees in the form of cross-licensing some derivative works). I have no idea how it's legally permissible to say that your one bundle price only applies to the publishing and not the licensing, but I've never heard that any publishers or licensors worry about it. Now this is more like the kind of complexity I was expecting. :-) Also remember that not only the chunks of software like readline carry licensed and sub-licensable copyrights, but that your arrangment of the chunks as the collection that you publish (your product) is copyrightable, and a careful buyer will want a license for that too, which must (per the GPL) be compatible with the GPL. (The GPL does, of course, allow distribution with closed-source software. I think the GPL's further restrictions clause should be a problem here, but I'm not aware that any GPL licensor has complained about any further restrictions in such kinds of GPL derivatives as your product will be.) Maybe some more specifics would be helpful. The application is a web application. It may or may not end up open source, but it will be for sale, and I don't want it to inherit a restrictive license. It uses some PHP (Open Publication License), is served by Apache (Apache Software License), and is backed by PostgreSQL (BSD license). Currently I'm using a PHP template engine called Smarty (LGPL). Here, my application would be a 'work that uses the library'. So I don't think my application is a derivative work of any of these. Would it be arguable that I was, in fact, selling only the hardware and my own software application, and giving away the (GPL- and BSD-licensed) open source software for free? I'll have to refer you to a lawyer. Maybe it depends upon what the sales contract says. Maybe not. Or maybe if you have no right to sell licenses for a fee, then it's implied that you're not selling it. I'll have to look into it further. But it's easy to get too wrapped up in worrying about technicalities that most people seem happy to ignore. Excellent point. :-) (But, then, I don't want to be a test case either. :-) Good question; I've not seen this bundling issued discussed before. It must have arisen somewhere---people have done this before. I'll search harder... Thanks for the input, Gary. -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: GPL: implications for FreeBSD-on-hardware for sale?
On Sun, Apr 11, 2004 at 07:58:15AM -0700, Gary W. Swearingen wrote: Paul A. Hoadley [EMAIL PROTECTED] writes: Maybe some more specifics would be helpful. The application is a web application. It may or may not end up open source, but it will be for sale, and I don't want it to inherit a restrictive license. Even BSD licenses are restrictive, By restrictive, I mean a license that forces itself onto other code, whether by way of the other code being a derivative work, using the licensed code, or just sitting on the same distribution medium. The main issue here is simply that I don't _necessarily_ want to distribute source code to the application. (Of course, if the code remains largely PHP, I'll essentially be doing that anyway.) I don't want the decision to be pre-made just by interacting with other software. -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
I *really* need help PLEASE - buildworld failing on mkdep libstdc++ can't find unwind.h but it *is* there
++/eh_personality.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_terminate.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_throw.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/eh_type.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/guard.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_handler.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_op.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opnt.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc+ +/new_opv.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/new_opvnt.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/pure.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/tinfo2.cc /src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++/vec.cc In file included from /src/contrib/libstdc++/libsupc++/eh_alloc.cc:37: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_aux_runtime.cc:34: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_catch.cc:32: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_exception.cc:34: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_globals.cc:33: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_personality.cc:34: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory /src/contrib/libstdc++/libsupc++/eh_personality.cc:38:23: unwind-pe.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_terminate.cc:34: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_throw.cc:32: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/eh_type.cc:32: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/pure.cc:31: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory In file included from /src/contrib/libstdc++/libsupc++/vec.cc:37: /src/contrib/libstdc++/libsupc++/unwind-cxx.h:41:20: unwind.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /src/gnu/lib/libstdc++. *** Error code 1 Stop in /src/gnu/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. But it *is* there, and all other headers if I force 'make' to continue past that point: # ls -al /src/contrib/gcc/unwind.h -rw-r--r-- 1 root wheel 8797 Feb 16 00:33 /src/contrib/gcc/unwind.h PLEASE Help - I do not want to blow everything away and start completely over, as Da Bosses are looking rather stern that this project is taking way too long. Thank you, -- Paul Seniura System Specialist State of Okla. D.O.T. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
error compiling kdegraphics3 (openmotif-2.2.2/clients) port
Hi, I am trying to compile the latest KDE-3.2.1 I grabed via cvsup for FreeBSD 4.9 I have had a few problems portupgrading from KDE 3.1 to the current KDE. I magaged to get around the other problems, using 'pkgdb -F' etc. This one has me though, as it seems to be a syntax error. Here is the last few lines, whilst doing a 'make install clean' in 'kdegraphics3': gmake[3]: Entering directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm/WmWsmLi b' cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/X11R6/include -I./../.. /../lib -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -O -pipe -Wall -Wno-unused -Wno-comment -c send.c In file included from /usr/X11R6/include/Xm/DragC.h:29, from /usr/X11R6/include/Xm/DragDrop.h:29, from /usr/X11R6/include/Xm/Transfer.h:29, from send.c:42: /usr/X11R6/include/Xm/Xm.h:1655: syntax error before `XmConvertCallbackStruct' send.c: In function `WSMSendMessage': send.c:92: warning: implicit declaration of function `GetTimestamp' gmake[3]: *** [send.o] Error 1 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm/WmWsmLi b' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/x11-toolkits/open-motif. *** Error code 1 Stop in /usr/ports/graphics/xpdf. *** Error code 1 Stop in /usr/ports/graphics/kdegraphics3. Hmmm, so lets have a look at line 1655 in: '/usr/X11R6/include/Xm/Xm.h' / Direction.c */ Boolean XmDirectionMatch(XmDirection dir1, XmDirection dir2); Boolean XmDirectionMatchPartial(XmDirection dir1, XmDirection dir2, XmDirection dir_mask); XmStringDirection XmDirectionToStringDirection(XmDirection dir); XmDirection XmStringDirectionToDirection(XmStringDirection sdir); /*** Xme.c / void XmeConvertMerge(XtPointer data, Atom type, int format, unsigned long length, XmConvertCallbackStruct *call_data);- Line 1655. Syntax error on this line? #ifdef __cplusplus } #endif Or is the real error in send.c, any clues on how to fix this? Cheers, Paul Hamilton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Removing wierd file
One of my former users has a strange file in her directory and I can't remove, chown or chmod it as root. ls -l total 0 -rwxrws--T 1 1708453043 4187987649 0 Oct 9 2001 10009_dir It was created over nfs by arcinfo running on a Sun machine. I have no idea why it would have those permissions, let alone the invalied UID/GID. Suggestions anyone? Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Removing wierd file
On Tue, 20 Apr 2004, Micheal Patterson wrote: One of my former users has a strange file in her directory and I can't remove, chown or chmod it as root. ls -l total 0 -rwxrws--T 1 1708453043 4187987649 0 Oct 9 2001 10009_dir It was created over nfs by arcinfo running on a Sun machine. I have no idea why it would have those permissions, let alone the invalied UID/GID. Suggestions anyone? Paul I'm guessing that you're already tried to chown it to root and chmoding it before trying to remove the file? Yup, tried that. as well as rm Oct 9 2001 10009_dir. I'll have to try the fsck next when I have an opportunity to bring the machine down. Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Removing wierd file
On Tue, 20 Apr 2004, Warren Block wrote: On Tue, 20 Apr 2004, Paul English wrote: One of my former users has a strange file in her directory and I can't remove, chown or chmod it as root. ls -l total 0 -rwxrws--T 1 1708453043 4187987649 0 Oct 9 2001 10009_dir It was created over nfs by arcinfo running on a Sun machine. I have no idea why it would have those permissions, let alone the invalied UID/GID. Does ls -lo show anything unusual? Nothing that makes any sense to me, but that is not a flag I usually use: ls -lo total 0 -rwxrws--T 1 1708453043 4187987649 sappnd,uappnd 0 Oct 9 2001 10009_dir ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: periodic output not being emailed
From: Dave [Hawk-Systems] [EMAIL PROTECTED] snip do we need to add a daily_status_security_output=[EMAIL PROTECTED] to the /etc/periodic.conf? Yes. -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [Fwd: Re: du -sh inconsistant with df -h]
From: Mike Loiterman [EMAIL PROTECTED] snip Where are the extra 1.6 megs at? If a running process opens a file and then unlink(2)'s it, the file will not show up in the filesystem, and du will not reflect any space it uses. However, df will. Paul So is there any way to reclaim that space aside from rebooting? Kill that process. How do I know which process is doing the right one? Prseumably, the process itself has already been terminated, is this correct? You probably don't want (or need) to kill the process. It is probably working correctly. There are good reasons why a process will open a file and then immediately unlink it while it's still open. If the file is unlinked, then it can't be seen in the file system, so it's safer from prying eyes if it contains confidential data. Also, if the process terminates unexpectedly the file space is reclaimed automatically; no action required. When an open file is unlinked, the used space is not reclaimed (and may even grow larger if needed) until the file is closed or the process ends. This is a feature of unix systems. I don't know of any other OS that does this, but I've depended on this feature many times in the past when writing complex shell scripts that needed a large scratchpad for sensitive data. Read the man page on unlink(2) for an explanation. Paul -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: du -sh inconsistant with df -h
I'm posting this offline message to the group for others who may be researching the same problem. Apparently 'stunnel' was the culprit. Are you familiar with 'lsof'? This utility, in /usr/ports/sysutils/lsof, will show all open files. It may help you discover the cause of the problem. I recommend that you install the port and run lsof +L1 which should list all unlinked files. Read the man page carefully though. I may not have the correct syntax, and you may discover many other valuable things you can do. Paul Paul: You hit the nail right on the head! I did a lsof +L1 and found stunnel taking up a huge (2148999) amount of space. Killed it, restarted it and all my space is back! -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: gramofile, mkisofs howto??
Stijn Hoop wrote: An audio CD does *not* have a filesystem on it; you should not use mkisofs to make an iso before you burn one. Instead, use something like # burncd audio track1.wav track2.wav track3.wav fixate Then you'll be set. See also the handbook online, at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html especially the 'Duplicating Audio CDs' part. yes, of course. Cockpit fog . . . . I think I was fixated in mkisofs because I wanted a volume name to show up if I inserted the disk into one of the other Leading Brands' machines. -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: http://paulbeard.no-ip.org/paulbeard.html Reader, suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself. -- Mark Twain To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cdrdao toc-files/gcdmaster [was Re: gramofile, mkisofs howto??]
It looks like what I need to use to make audio CDs that look like the ones I can buy (ie, you insert into a Cd drive and the name of the CD shows up as a mountpoint) is cdrdao. I don't see any options for cdrecord to write a volume label. The port of cdrdao doesn't have the UI (gcdmaster) so I'll need to be making the necessary toc-files by hand. Has anyone done this? Any pointers? -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: http://paulbeard.no-ip.org/paulbeard.html Truly great madness can not be achieved without significant intelligence. -- Henrik Tikkanen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
confidential to geeky@epals.com [Fwd: Undeliverable mail, returnto sender]
Original Message Subject: Undeliverable mail, return to sender Date: Tue, 17 Dec 2002 12:38:23 -0800 From: [EMAIL PROTECTED] To: paul beard [EMAIL PROTECTED] Your message could not be delivered to [EMAIL PROTECTED] because their mailbox is full. Try resending your message at a later date. Your orginal message is attached to this email. -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: http://paulbeard.no-ip.org/paulbeard.html I found out why my car was humming. It had forgotten the words. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Any word on FreeBSD 5.0 release
Ray Seals wrote: I know that RC 1 was released and was wondering which mailing list would have any traffic concerning the issues and what's going on with 5.0. [EMAIL PROTECTED] would be my best guess. You can see the release schedule on the web site as well. -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: http://paulbeard.no-ip.org/paulbeard.html It's men like him that give the Y chromosome a bad name. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cdrdao toc-files/gcdmaster [was Re: gramofile, mkisofs howto??]
Fernando Gleiser wrote: Look at the cdrdao docs. man cdrdao has a section explaining the format of the toc files. If that fails, you can try searching the cdrdao mailing lists and project's web page. Yeah, I've read those. They didn't help. Wading through the (to me) cryptic file format for this is joyless and it's made more os by the knowledge there is a UI that ships with this but isn't in ports. I was hoping someone who had used cdrdao would chime in. -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: http://paulbeard.no-ip.org/paulbeard.html Underlying Principle of Socio-Genetics: Superiority is recessive. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Fwd: gkrellm2 port compile problems
Sean O'Neill wrote: I asked this of the freebsd-ports group and got no answer. Thought maybe someone here might know the answer. /usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to `FT_Seek_Stream' /usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Short' /usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to `FT_Forget_Frame' /usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to `FT_Access_Frame' /usr/X11R6/lib/libpangoxft-1.0.so: undefined reference to `FT_Get_Long' gmake[1]: *** [gkrellm] Error 1 the problem appears to be with /usr/X11R6/lib/libpangoxft-1.0.so: might be worth making sure it (pango-1.0.5) is up to date (make deinstall make reinstall). [/home/paul/src]:: pkg_info -W /usr/X11R6/lib/libpangoxft-1.0.so /usr/X11R6/lib/libpangoxft-1.0.so was installed by package pango-1.0.5 -- Paul Beard: seeking UNIX/internet engineering work in Seattle area. Details available below: http://paulbeard.no-ip.org/paulbeard.html A raccoon tangled with a 23,000 volt line today. The results blacked out 1400 homes and, of course, one raccoon. -- Steel City News To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Problems with a C application that changes users and run 'screen-x'
On Fri, 20 Dec 2002, Aaron Burke wrote: 3. Avoid using system() which I vaguely recall being described with a lot of bad words in various places and use fork(), exec(), _exit(), waitpid() and exit() instead. How would I do this with exec. According to the man page for exec I have only a few options. int execl(const char *path, const char *arg, ...); int execlp(const char *file, const char *arg, ...); int execle(const char *path, const char *arg, ...); int exect(const char *path, char *const argv[], char *const envp[]); int execv(const char *path, char *const argv[]); int execvp(const char *file, char *const argv[]); Can you point me to the right documentation to learn about the exec functions provided by unistd.h? Allthough I am not familiar with unistd.h at all, I did do a little bit of expermentation. Here is my new code: #include stdio.h #include stdlib.h #include unistd.h int main(int argc, char* pszArgs[]) { int result, result2; result= execlp(/usr/bin/su, ppp, -m); result2=execlp(/usr/local/bin/screen, -x); return result + result2; } bash-2.05$ g++ run-ppp.c bash-2.05$ ./a.out bash-2.05$ I am a little supprised that nothing appeared to have happened. Perhaps I am running these improperly. Am I using the correct exec command? Can you demonstrate how this should work? What else could execlp(args) needs to say? - Giorgos Thanks for your time. I think execlp is writing over your current process. So first your process is exchanged with ppp, then ppp is exchanged with screen. You have to make a copy of your current process, a.out, by using fork, and then exchange the process image in this copy using execlp. I suggest you read more about those functions Giorgos mentioned: fork, execlp, waitpid, and exit. Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Problems with a C application that changes users and run 'screen-x'
On Fri, 20 Dec 2002, Paul Everlund wrote: Found an error in my reply... On Fri, 20 Dec 2002, Aaron Burke wrote: [big snip] I think execlp is writing over your current process. So first your process is exchanged with ppp, then ppp is exchanged with screen. You have to make a copy of your current process, a.out, by using fork, and then exchange the process image in this copy using execlp. Correction... Your a.out process is replaced with ppp, then nothing else happens, as screen never is called du to the replacement. Best regards, Paul Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How do you suspend and resume a remote shell session?
From: Andrew Cutler [EMAIL PROTECTED] Does anyone know of a method to suspend and resume a telnet / SSH session. man telnet man ssh -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How do you suspend and resume a remote shell session?
From: Andrew Cutler [EMAIL PROTECTED] Maybe my question wasn't clear enough. I would like to SSH into a box with say my laptop, setup some tasks, run some programs, suspend the connection, unplug and turn off my laptop, and then come back to the same session a few days later, perhaps using a different computer. Oh. Well, your needs weren't clear to me. I just thought you wanted to simply suspend telnet or ssh, which is explained in the man pages. I didn't realize you also intended to disconnect (close) the connection. and yes I do rtfm, do u read questions or do u just answer them :) - ouch! Seriously, I'm not trying to start a flame, I 'm just looking for some answers I understand your frustration. Sorry for increasing it by not understanding your requirements. Quite frankly, I don't think you can accomplish (what I now think you want) once you close the tcp/ip connection. Something must continue running to keep the connection alive. Certainly, moving to a different ip address will require a fresh log in. -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How do you suspend and resume a remote shell session?
From: Matthew Seaman [EMAIL PROTECTED] On Sat, Dec 21, 2002 at 10:03:30PM +1100, Andrew Cutler wrote: However what I'm really trying to achieve is to keep X apps alive when running them remotely, and be able to connect and disconnect at will and still have the app up and running, exactly where you left it. Oh, NOW you tell us. :) vnc can do that. You run vnc in server mode on your FreeBSD machine and the vnc client gives you an X desktop in a window that you can connect to or disconnect from at will. Good call. -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Drawing diagrams a-la-Visio
Cliff Sarginson wrote: Ok, thanks for the answers. I shall have a look at the various suggestions... I may also mail whoever makes Visio and say what an excellent X11 application it would make :) That would be Microsoft: I wouldn't expect much . . . -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 I gained nothing at all from Supreme Enlightenment, and for that very reason it is called Supreme Enlightenment. -- Gotama Buddha To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CDRW drive
Thomas DeYoung wrote: Hello- I'm running 4.7 with a sony 48/24/48 cdrw drive. I try to mount it to burn cd's, using sudo mount_cd9660 /dev/acd0c /cdrom and get mount_cd9660: /dev/acd0c: Invalid argument if there's nothing on the CD, there's nothing to mount, no filesystem. You have to burn something to it first, I think. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 This login session: $13.99, but for you $11.88 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Look for Help
From: Roman Neuhauser [EMAIL PROTECTED] 4.how to change the binding nic in the sendmail.mc for the freebsd4.7 does not compute. can you rephrase it? Seems like you want the OO (or O DaemonPortOptions) option with A=ipaddr. -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: L0phtcrack
Stacey Roberts wrote: Why would you want to do this? Personally, I figure its prudent to ask. It does have some legitimate uses, according to this page ( http://www.atstake.com/research/lc/ ): Consider that at one of the largest technology companies, where policy required that passwords exceed 8 characters, mix cases, and include numbers or symbols... * L0phtCrack obtained 18% of the passwords in 10 minutes * 90% of the passwords were recovered within 48 hours on a Pentium II/300 * The Administrator and most Domain Admin passwords were cracked It doesn't have to be this way. Crack-resistant passwords are achievable and practical. But password auditing is the only sure way to identify user accounts with weak passwords. LC4 offers an easy and adaptable way to address this threat and find vulnerable passwords. Take it from a 1998 Microsoft security bulletin: consider evaluating a tool such as L0phtcrack 2.0 for assisting in checking the quality of user passwords. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 Laughter is the closest distance between two people. -- Victor Borge To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cdrecord problems: too many coasters
I have been trying to make some audio CDs from wav files and keep running into difficulties that aren't apparent until its too late. Symptomatically, here's what happens. I burn the CD with cdrecord, specifying that the files are audio files (I have played them with wavplay and they're fine). I get one track to record, but all subsequent tracks won't play in a CD player or computer. I just noise (sounds like the digital equivalent of a record skipping). here's the command I have used: sudo /usr/local/bin/cdrecord -pad -audio -vv speed=0 -eject dev=0,1,0 *wav -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 Disclaimer: These opinions are my own, though for a small fee they be yours too. -- Dave Haynie To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: How do you suspend and resume a remote shell session?
For an X app? watch won't. From: Mr. Groups The watch command should accomplish this as well. I use it all the time to open a terminal session at the console from remote. BSDVault has a good page on how to set up the snoop device: http://bsdvault.net/sections.php?op=viewarticleartid=66 However what I'm really trying to achieve is to keep X apps alive when running them remotely, and be able to connect and disconnect at will and still have the app up and running, exactly where you left it. -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cdrecord problems: too many coasters
Hanspeter Roth wrote: Maybe you need -doa. What does -toc say? doa is not supported, and -toc kicks back an error that it's not supported either. It's an older drive. cd0: PINNACLE RCD5040 1.51 Removable Worm SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [1 x 2048 byte records] It *has* worked but for audio CDs, just once. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 No one can make you feel inferior without your consent. -- Eleanor Roosevelt To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: cdrecord problems: too many coasters
I wrote: It's an older drive. cd0: PINNACLE RCD5040 1.51 Removable Worm SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [1 x 2048 byte records] It *has* worked but for audio CDs, just once. HMm, looking around on Google for info on this drive's mechanism brings me *lots* of bad news. Looks like the $20 I paid for it on eBay might gave been too much after all. I couldn't have found this out before I bought it, since the seller didn't know what the internals were, but I know better now. It seems to work OK for data CDs, though. How annoying. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 I'd love to go out with you, but the man on television told me to stay tuned. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Argument list too long: limitation in grep? bash? FreeBSD?
Bill Moran wrote: d/l the entire php documentation as individual html files. This equates to a LOT of files in a single directory (how can I get a count of this?) Anyway, I'm trying to find the docs on some features that the www.php.net's search isn't really helping on (searching for __FILE__ doesn't search for __FILE__ ... it searches for file, and there's too many results) so I try: grep __FILE__ *.html and I get the error: -bash: /usr/bin/grep: Argument list too long Is this a shortcoming of bash, grep or FreeBSD? I'm assuming it's not grep, as the command: find . -name *.html -print | xargs grep __FILE__ yeilds: -bash: /usr/bin/find: Argument list too long try grep __FILE__ *.html. to get a file coun, 'ls | wc' might work. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 Love and scandal are the best sweeteners of tea. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
any way to tell what kind of drive this?
acd0: CD-RW IDE-CD ReWritable-2x2x6 at ata1-slave PIO3 Short of taking it out of the case, of course. burncd seems not to have the same inquiry tools as cdrecord. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 I'd love to go out with you, but the last time I went out, I never came back. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: any way to tell what kind of drive this?
Dan Nelson wrote: In the last episode (Dec 24), paul beard said: acd0: CD-RW IDE-CD ReWritable-2x2x6 at ata1-slave PIO3 Short of taking it out of the case, of course. burncd seems not to have the same inquiry tools as cdrecord. Add device atapicam to your kernel config and it will show up as a SCSI drcom. Then use cdrecord :) You need to be running -current or 4-stable, though. It went in after 4.7. well, I'm off to run -stable then. I'm running 4.7-RELEASE and it ain't there, according to 'make buildkernel.' Thanks. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 Join the march to save individuality! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
XFree86 4.2.1 Signal 11 on start
The XFree86 package delivered with the 4.7-RELEASE of FreeBSD fails on signal 11 at startup. Building XFree86-4 from ports gets the same results. However the XFree86 3.3.6 port works fine. Can anyone, PLEASE help me fix this problem. I have been unable to run XFree86 since version 4. I've tried to rebuild with debugging symbols so I can find the location of the failure, but without success. Log follows. Thanks, Paul S3 Trio 32/64 PCI video card XFree86 Version 4.2.1 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 3 September 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: FreeBSD 4.7-RELEASE i386 [ELF] Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/XFree86.0.log, Time: Fri Dec 20 18:39:10 2002 (==) Using config file: /etc/X11/XF86Config (==) ServerLayout Layout0 (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Keyboard0 (**) Option XkbModel pc104 (**) XKB: model: pc104 (**) Option XkbLayout us (**) XKB: layout: us (==) Keyboard: CustomKeycode disabled (**) |--Input Device Mouse0 (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/ lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font s/100dpi/ (==) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/X11R6/lib/modules (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.5 XFree86 XInput driver : 0.3 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.3 (II) Loader running on freebsd (II) LoadModule: bitmap (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor=The XFree86 Project compiled for 4.2.1, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.3 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor=The XFree86 Project compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x8000, mode1Res1 = 0x8000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,122d card , rev 00 class 06,00,00 hdr 00 (II) PCI: 00:04:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00 (II) PCI: 00:07:0: chip 8086,122e card , rev 02 class 06,01,00 hdr 80 (II) PCI: 00:07:1: chip 8086,1230 card , rev 02 class 01,01,80 hdr 00 (II) PCI: 00:09:0: chip 1011,0014 card , rev 11 class 02,00,00 hdr 00 (II) PCI: End of PCI scan (II) LoadModule: scanpci (II) Loading /usr/X11R6/lib/modules/libscanpci.a (II) Module scanpci: vendor=The XFree86 Project compiled for 4.2.1, module version = 0.1.0 ABI class: XFree86 Video Driver, version 0.5 (II) UnloadModule: scanpci (II) Unloading /usr/X11R6/lib/modules/libscanpci.a (II) Host-to-PCI bridge: (II) PCI-to-ISA bridge: (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus 0 I/O range: [0] -10x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -10x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -10x - 0x (0x0) MX[B] (II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set) (II) Bus -1 I/O range: (II) Bus -1 non-prefetchable memory range: (II) Bus -1 prefetchable memory range: (--) PCI:*(0:4:0) S3 Trio32/64 rev 0, Mem @ 0xcc00/26 (II) Addressable bus resource ranges are [0] -10x - 0x (0x0) MX[B] [1] -10x - 0x (0x1) IX[B] (II) OS-reported resource ranges: [0] -10xffe0 - 0x (0x20) MX[B](B) [1] -10x0010 - 0x3fff (0x3ff0) MX[B]E(B) [2] -10x000f - 0x000f (0x1) MX[B] [3] -10x000c - 0x000e (0x3) MX[B] [4] -10x - 0x0009 (0xa) MX[B] [5] -10x - 0x (0x1) IX[B] [6] -10x - 0x00ff (0x100) IX[B] (II) Active PCI resource ranges: [0] -10xcc00 - 0xcfff (0x400) MX[B](B) [1] -10x1000 - 0x10ff (0x100) IX[B]E (II) Inactive PCI resource ranges: [0] -10xd000 - 0xdfff (0x1000) MX[B]E [1] -10x1080 - 0x10ff (0x80) IX[B]E (II) Active PCI resource ranges after removing overlaps: [0] -10xcc00 - 0xcfff
portmap running amok
Infrequently ... that is, perhaps once every few weeks, my mail server grinds to a halt. The load average climbs into the hundreds, processes start getting killed off, and all because something seems to want to launch as many instances of portmap as it possibly can. And for the life o' me, I can't figure out what. The box is currently running 4.7-STABLE, but it's been doing this off and on since 4.4-RELEASE. The box is not an NFS server, but it becomes a client from time to time, and portmap and nfsiod are launched at startup. There are no NFS devices listed in /etc/fstab, there is no /etc/exports and no other NFS-related daemons are running. If I catch things in time (and have a shell already open), I can usually recover with `killall portmap`. If I'm not around (which is usually the case), the box will either grind to a halt requiring a console reset, or merely spontaneously reboot. I can see no other strange behaviour (or network traffic) going on with this box -- aside from this problem, it behaves perfectly. Does any of this sound familiar? Where do I look for the problem? Tnx. -- Paul Chvostek [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 4.2.1 Signal 11 on start
From: Scott Robbins [EMAIL PROTECTED] I wonder if this could be the problem--I've found, on several installs of both Linux and FreeBSD that I had much better luck selecting S3 Virge (Generic) for an S3 Trio card in xf86config. Not sure if it'll help, but probably worth a shot. No, it didn't help. However, I received an off-list message from Jean-Marc Zucconi who provided a solution. I added: Option NoInt10 to the Device section of XF86Config, and now X is running. Of course, I had to use the curses (or shell) based configuration (rather than the GUI utility) to get an initial XF86Config built, then added the NoInt10 option manually. I have to wonder why this option is necessary on XFree86-4, when it was not needed on XFree86-3.3.6. Is it a new feature of 4? Paul -- Paul A. Scott mailto:[EMAIL PROTECTED] http://skycoast.us/pscott/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XFree86 troubles in 5.0 RC2
Stephan Assmus wrote: So, I'm stuck. I actually installed FreeBSD to check out the Gnome and KDE desktop and use Gimp. I don't know in which direction to investigate further. Thanks for any and all help. I would suggest installing 4.7, instead of 5.0-RC2. 5.0 hasn't been released yet, while 4.7 is an officially supported release. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 Some programming languages manage to absorb change but withstand progress. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
cdrecord coaster problem solved
I had some problems with cdrecord making audio CDs and some helpful person on this list suggested I use cdrdao(1) instead. Well, that turned out to be the solution. I did try using ATAPICAM with an IDE burner I had on hand, but it doesn't seem to be able to write (good thing it didn't cost anything, though perhaps I see why). The biggest problem I had with cdrdao was the need for a TOC file and the correct syntax. Turns out there are some samples in the distribution's source files. They don't work for me (you can't specify a driver as I need to do, just a device, and the device is expressed in a linux-ish style), but it's often easier to work from something that's broken that to start from scratch. It's basic as can be, but it saves me from trying to remember this stuff, and isn't that what scripts are all about? [/usr/home/paul/bin]:: more wav2toc.sh #!/bin/sh # usage: $0 FILES *.wav DIR=$1 TOCFILE=`basename $1`.toc echo CD_DA ${TOCFILE} echo ${TOCFILE} for i in ${DIR}/*.wav do echo TRACK AUDIO ${TOCFILE} echo PREGAP 0:1:0 ${TOCFILE} echo FILE \$i\ 0 ${TOCFILE} echo ${TOCFILE} done echo File ${TOCFILE} written Running with a path grabs all the WAV files, creates a file based on the basename of the path, then writes out all the particulars. ([EMAIL PROTECTED])-(09:18 PM / Thu Dec 26) [/usr/home/paul/bin]:: ./wav2toc.sh ~/cdimages/That_Summer File That_Summer.toc written ([EMAIL PROTECTED])-(09:20 PM / Thu Dec 26) [/usr/home/paul/bin]:: more That_Summer.toc CD_DA TRACK AUDIO PREGAP 0:1:0 FILE /usr/home/paul/cdimages/That_Summer/new.wav 0 TRACK AUDIO PREGAP 0:1:0 FILE /usr/home/paul/cdimages/That_Summer/side_1.wav 0 TRACK AUDIO PREGAP 0:1:0 FILE /usr/home/paul/cdimages/That_Summer/side_2.wav 0 Dunno if it will be useful to anyone (like anyone else is converting vinyl LPs to CDs) . . . . and the incantation for cdrdao is as follows: I need to specify a driver for this unit (it's branded as a Pinnacle CDR 5040S and is allegedly supported by cdrecord as a workalike for a similar unit). sudo cdrdao write --eject --device 0,1,0 --driver teac-cdr55 toc -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ http://paulbeard.no-ip.org/movabletype/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: adduser
I tried the simple act of adding a user to my system. If it's something simple, then any problems have most likely been addressed already. Simple is a clue that perhaps you're doing something wrong. So, read the documentation, pull it all apart and put it back together again before you complain that it's broken. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SunOS SPARC
Hi! Is it possible to run SunOS-binaries compiled on a SPARC on i386 FreeBSD? Are there some kind of emulation program for this? Thanks in advance! Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: SunOS SPARC
On Mon, 30 Dec 2002, Miguel Mendez wrote: On Mon, 30 Dec 2002 13:01:21 +0100 (MET) Paul Everlund [EMAIL PROTECTED] wrote: Hi, I have a SPARC box, but thought of running proprietary SunOS-SPARC- binaries on a much better FreeBSD box (better because it's easier to maintain, upgrade packages and so on, on FreeBSD than SunOS). Guess I'll have to stick with the SPARC. Although not directly related to your original question, you might want to know that NetBSD's pkgsrc (the equivalent to FreeBSD's ports) runs on SunOS, it even runs on Linux. That could help you with having up to date software on the Sun box. Check: http://www.netbsd.org/zoularis/ I'll take a look at it! Thank you! Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: do we have to wait for PHP 4.3 port?
BSD baby wrote: Sorry: new to FreeBSD (was an OpenBSD guy before this). I'm impressed with how fast FreeBSD puts new releases into its ports tree. Now that PHP 4.3 is out, I'm dying to use its new features, so I'm wondering if anyone knows a guesstimate on how long it should take for PHP 4.3 to be in the cvsup'd ports tree (/usr/ports/www/mod_php4) I wouldn't be surprised to see it in the tree when the code freeze is lifted: that's about 2 weeks off, so you may want to install from source now and do the ports/pkg housekeeping later. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 If a listener nods his head when you're explaining your program, wake him up. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Virtual interface support?
Jeff Penn wrote: The html documentation supplied with apache2 appears to require the server to be running for browsing (many of the links appear broken). why not bind it to the loopback and browse it there (assuming its the machine you're sitting in front of)? -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 ... My pants just went on a wild rampage through a Long Island Bowling Alley!! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Portupgrade vs. multiple versions of packages
Brian Astill wrote: Scott Mitchell wrote: Hi all, I've just spent a fun day upgrading ~180 ports that were about a year out of date, which will teach me not to be so lazy in future :-( Anyway, portupgrade coped with most of this mess admirably, except for (unsurprisingly) the KDE2 -- KDE3 upgrade. That upgrade is a doozie. Been there, done that! rm -fr qt2 is (I think) the correct thing to do (someone else on the list will correct me). Then port kde3. qt2 and qt3 will NOT live comfortably together. So delete qt2 and all the apps dependent on it (that includes kde2 and its apps). The kde3 port will look for the version of qt it needs, fail to find it, and fetch it for you. Ain't that nice? it would probably make sense to subscribe to the kde-freebsd list. I have learned a lot from just lurking and they work hard to make sure KDE stays up to date. http://lists.csociety.org/listinfo/kde-freebsd -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 Although golf was originally restricted to wealthy, overweight Protestants, today it's open to anybody who owns hideous clothing. -- Dave Barry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
recording audio with SoundBlaster Live/pcm cards: has anyone triedthis?
I have been working on recording vinyl LPs to digital files but have run into a problem. It turns out I misread the cryptic runes on the back of the sound card and was actually recording through the mic jack. It worked as far as I could tell -- I got sound -- but I now have audio that sounds suspiciously like mono. So after tracking down the manual for the card (an SB Live! Gamer or Platinum w/o the Live drive), I am now using the line in and running the audio through an stereo receiver. But now nothing registers on the level indicators in gramofile. According to Creative's open source site, audio in and out is supported, but there's supported and proven to work. Anyone have any experience with this or troubleshooting ideas I should be aware of? -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 A tautology is a thing which is tautological. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: problems with gramofile
Dan Malaby wrote: Happy new year FSBD users!! I am trying to use gramofile to get some records made into CD's, Me, too. but I can not get gramofile to see any input. I can use the mixer and get the line in signal out of my PC speakers, so I know that I have signal to my sound card, but gramofile only makes a file with no music. I found that the mic input works fine but line in doesn't. I'm using a SoundBlasterLive, and I'm starting to wonder if my card is bad. It did occur to me that it may be gramofile . . . . If there is anyone who is using gramofile, please tell me how you configured gramofile or what magic needs to be done to the kernel to make it work. Also I have had problems with gramofile hanging up, it does not respond to any mouse or keyboard input, and I need to do a kill -9 to get out. I have found that gramofile doesn't clean up after itself very well: run ipcs and see if there are some semaphores that are blocking things up. I did add the semaphore stuff from LINT in vain hopes of making it behave better . . . . but I still end up falling back on ipcs and ipcrm. # System V semaphores and tunable parameters options SYSVSEM # include support for semaphores options SEMMAP=31 # amount of entries in semaphore map options SEMMNI=11 # number of semaphore identifiers in the system options SEMMNS=61 # number of semaphores in the system options SEMMNU=31 # number of undo structures in the system options SEMMSL=33 # max number of semaphores per id options SEMOPM=101 # max number of operations per semop call options SEMUME=11 # max number of undo entries per process -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 Talkers are no good doers. -- William Shakespeare, Henry VI To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: OT: [was: recording audio with SoundBlaster Live...]
Nathan Kinkade wrote: What are your mixer settings? Do you have the LineIn configured to record or just for playback? Check out the man page for mixer(8) on how to set an input for recording. There are also quite a few ports for various mixer interfaces in /usr/ports/audio. I've stared at the man page and now I think I see what needs to happen. ([EMAIL PROTECTED])-(07:01 PM / Thu Jan 02) [/usr/home/paul]:: mixer recsrc =rec line1 Recording source: line1 Many thanks. -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 The sheep that fly over your head are soon to land. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
SBLive docs, it you need 'em
The nice people at Creative have PDF manuals on line if you ever need one. I didn't even know what card I had until I found this stuff. So all the SBLive and newer cards, as well as back to the SB 16: it's all there. http://www.americas.creative.com/support/ -- Paul Beard: seeking UNIX/internet engineering work http://paulbeard.no-ip.org/paulbeard.html 8040 27th Ave NE Seattle WA 98115 / 206 529 8400 All I can think of is a platter of organic PRUNE CRISPS being trampled by an army of swarthy, Italian LOUNGE SINGERS ... To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message