Re: Tailing logs
On Fri, Aug 22, 2008 at 10:28:33AM -0400, DAve wrote: > > I would love to have a way to tail a log, like piping to grep, except I > see every line and the lines I would normally grep for are highlighted. > That would be cool. Anyone know of a bash command or tool that will do this? I use tcsh as my shell. The following alias works nicely for me in xterm, but would have to be adjusted for anything else: alias highlight 'sed -E '\''s/\!:*/^[[1m&^[[0m/g'\''' Replace "^[" with an escape character, twice. Put it in your .tcshrc if you like. YMMV. > Side note, I am tailing sendmail after changes to my outbound queue > runners. I want to highlight my sm-mta-out lines but still see all lines. Right, I do very similar stuff. You'd use this like: tail -F /var/log/maillog | highlight .*sm-mta-out.* Quotes seem to confound this alias. I haven't bothered to fix that; as long as what you're searching for doesn't glob a file, you should be fine without quotes. You can also do more complex things in either sed or awk, colour-coding individual pattern matches. Here's one in awk that I use to highlight the activity of milter-greylist: #!/usr/bin/awk -f BEGIN { red="^[[31m"; green="^[[32m"; yellow="^[[33m"; blue="^[[34m"; norm="^[[0m"; fmt="%s%s%s\n"; } /autowhitelisted/ { printf(fmt, green, $0, norm); next; } /delayed for/ { printf(fmt, yellow, $0, norm); next; } # /skipping greylist/ { printf(fmt, blue, $0, norm); next; } { print; } Same deal with the "^[". Enjoy. p -- Paul Chvostek <[EMAIL PROTECTED]> it.canadahttp://www.it.ca/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
messagebus user
We just upgraded to a new server (FreeBSD 7.0) and in our passwd file is the user "messagebus" (there's also a group). What's this for and can the UID be changed? It's got the same number as one of our oldest users and we're trying to determine which UID would be easier to switch. While this obviously has something to do with D-BUS (whatever that is), it's nothing we installed "on purpose". If it's not a part of the default system, it probably got bundled in as a dependency during an large port make. Any suggestions? Jeffrey Moskot System Administrator [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [ free_bsd_questions ] selecting a cpu heatsink / fan combo [ a ]
Mark Picone wrote: it's that i don't recognize so many of the manufacturers names. some look familiar, but they might just be similar to something i remember from long ago. q: would anyone care to wax rhapsodic about any manufacturer with whose heatsink / fan combo product[s] they have had good success ? IMO: Pure copper zalman heatsink/fan combo (cant go wrong) thank you, mark. i saw your response first thing this morning. this was one of the names that looked familiar. several retailers have these. attempting research on the product line earlier today, i got more info from them than i did from the manufacturer's web_site [ my pet peeve: more "presentation", less "content" ]. rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Crontab and adjkerntz.
On Tue, 26 Aug 2008 16:05:13 +0200 Leslie Jensen <[EMAIL PROTECTED]> wrote: > I have a machine that only runs during office hours. I've rescheduled > the periodic jobs in crontab so that they run when the machine is on. > > My question is can I reschedule the adjkerntz job as well, without > causing any problems? I'm concerned because the job is set to run 12 > times during night time, and I'm thinking that maybe it's a resource hog > and therefore it's not advisible to run it when one uses the machine? > > # Adjust the time zone if the CMOS clock keeps local time, as opposed to > # UTC time. See adjkerntz(8) for details. > 1,310-5 * * * rootadjkerntz -a Just to add a bit to what Andrew and Matthew rightly said: sola# lastcomm -eE -f /var/account/acct.0 | grep adjkerntz adjkerntz- root __ 0.02 es Wed Aug 27 03:01 adjkerntz- root __ 0.00 es Wed Aug 27 02:31 adjkerntz- root __ 0.00 es Wed Aug 27 02:01 adjkerntz- root __ 0.00 es Wed Aug 27 01:31 adjkerntz- root __ 0.00 es Wed Aug 27 01:01 adjkerntz- root __ 0.00 es Wed Aug 27 00:31 adjkerntz- root __ 0.03 es Wed Aug 27 00:01 adjkerntz- root __ 0.00 es Tue Aug 26 05:31 adjkerntz- root __ 0.00 es Tue Aug 26 05:01 adjkerntz- root __ 0.00 es Tue Aug 26 04:31 adjkerntz- root __ 0.00 es Tue Aug 26 04:01 adjkerntz- root __ 0.00 es Tue Aug 26 03:31 After 27+ days uptime, not a full second of CPU time: 196 root200 1316K 0K pause0:00 0.00% 0.00% and that's on a 300MHz Celeron .. so no, it's certainly no resource hog! The 'adjkerntz -i' run at boot[1] should adjust for a TZ update occuring overnight, assuming CMOS has local time (ie /etc/wall_cmos_clock exists) [1] actually run when going to multi-user, so with CMOS set to local time, you should remember to run 'adjkerntz -i' when working in single user mode (eg make installworld) if you want correct file timestamps. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mysql-server-5.1.22 system administration docs on FreeBSD 7.0-RELEASE-i386 ?
On Tue, Aug 26, 2008 at 09:57:10PM -0700, David Christensen wrote: > freebsd-questions: > > I am a FreeBSB noob who has read http://nostarch.com/abs_bsd2.htm and is > attempting to build a FreeBSD 7.0 box for Apache/ MySQL/ Perl applications. > I've installed mysql-server-5.1.22 via sysinstall from ftp1.us.freebsd.org, > but > I am unable to figure out how to start it. > > > RTFM: > > # man mysqld > No manual entry for mysqld > > # makewhatis > > # apropos mysql > mysql: nothing appropriate > > # whatis mysql > mysql: nothing appropriate > > I don't understand why apropos and whatis can't find mysql: > > # man mysql > > > Yup, it's there; but that's the client. So is the admin utility: > > # man mysqladmin > > > The FreeBSD Handbook doesn't mention mysql in the TOC: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html > > (Attempting to get the whole thing as HTML locks up my browser.) > > > The mailing list archives didn't help. (Including using Google with site:). > > > STFW led me to /usr/local/etc/rc.d/mysql-server. Attempting to use that: > > # /usr/local/etc/rc.d/mysql-server start > > # ps -a | grep mysql > > # mysql > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2) > > # mysqladmin ping > mysqladmin: connect to server at 'localhost' failed > error: 'Can't connect to local MySQL server through socket > '/tmp/mysql.sock' > (2)' > Check that mysqld is running and that the socket: '/tmp/mysql.sock' > exists! > > > I've been fumbling my way around FreeBSD, and thus far have been able to get > things working via /etc/rc.d/* scripts and/or /etc/rc.conf -- (apache_enable, > hostname, ifconfig_*, defaultrouter, ntpd*, inetd. mysql-5.1 doesn't seem to > follow the pattern. Why? > > > Where is the FreeBSD 7.0 system administration documentation for mysqld 5.1? > Specifically, how to start it manually and how to start it at book via the rc > system? > > > TIA, > > David > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hi, put the following line in /etc/rc.conf: mysql_enable="YES" and run (as root): /usr/local/etc/rc.d/mysql-server start frase pgpcXArGEAcxT.pgp Description: PGP signature
Re: mysql-server-5.1.22 system administration docs on FreeBSD7.0-RELEASE-i386 ?
Try adding mysql_enable="YES" to /etc/rc.conf after this is done try starting again via the rc script. In the future pass the parameter rcvar to the rc script. Eg. /usr/local/etc/rc.d/mysql-server rcvar mysql_enable="YES" this would indicate what to add to rc.conf Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: "David Christensen" <[EMAIL PROTECTED]> Date: Tue, 26 Aug 2008 21:57:10 To: Subject: mysql-server-5.1.22 system administration docs on FreeBSD 7.0-RELEASE-i386 ? freebsd-questions: I am a FreeBSB noob who has read http://nostarch.com/abs_bsd2.htm and is attempting to build a FreeBSD 7.0 box for Apache/ MySQL/ Perl applications. I've installed mysql-server-5.1.22 via sysinstall from ftp1.us.freebsd.org, but I am unable to figure out how to start it. RTFM: # man mysqld No manual entry for mysqld # makewhatis # apropos mysql mysql: nothing appropriate # whatis mysql mysql: nothing appropriate I don't understand why apropos and whatis can't find mysql: # man mysql Yup, it's there; but that's the client. So is the admin utility: # man mysqladmin The FreeBSD Handbook doesn't mention mysql in the TOC: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html (Attempting to get the whole thing as HTML locks up my browser.) The mailing list archives didn't help. (Including using Google with site:). STFW led me to /usr/local/etc/rc.d/mysql-server. Attempting to use that: # /usr/local/etc/rc.d/mysql-server start # ps -a | grep mysql # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) # mysqladmin ping mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! I've been fumbling my way around FreeBSD, and thus far have been able to get things working via /etc/rc.d/* scripts and/or /etc/rc.conf -- (apache_enable, hostname, ifconfig_*, defaultrouter, ntpd*, inetd. mysql-5.1 doesn't seem to follow the pattern. Why? Where is the FreeBSD 7.0 system administration documentation for mysqld 5.1? Specifically, how to start it manually and how to start it at book via the rc system? TIA, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mysql-server-5.1.22 system administration docs on FreeBSD 7.0-RELEASE-i386 ?
freebsd-questions: I am a FreeBSB noob who has read http://nostarch.com/abs_bsd2.htm and is attempting to build a FreeBSD 7.0 box for Apache/ MySQL/ Perl applications. I've installed mysql-server-5.1.22 via sysinstall from ftp1.us.freebsd.org, but I am unable to figure out how to start it. RTFM: # man mysqld No manual entry for mysqld # makewhatis # apropos mysql mysql: nothing appropriate # whatis mysql mysql: nothing appropriate I don't understand why apropos and whatis can't find mysql: # man mysql Yup, it's there; but that's the client. So is the admin utility: # man mysqladmin The FreeBSD Handbook doesn't mention mysql in the TOC: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html (Attempting to get the whole thing as HTML locks up my browser.) The mailing list archives didn't help. (Including using Google with site:). STFW led me to /usr/local/etc/rc.d/mysql-server. Attempting to use that: # /usr/local/etc/rc.d/mysql-server start # ps -a | grep mysql # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) # mysqladmin ping mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! I've been fumbling my way around FreeBSD, and thus far have been able to get things working via /etc/rc.d/* scripts and/or /etc/rc.conf -- (apache_enable, hostname, ifconfig_*, defaultrouter, ntpd*, inetd. mysql-5.1 doesn't seem to follow the pattern. Why? Where is the FreeBSD 7.0 system administration documentation for mysqld 5.1? Specifically, how to start it manually and how to start it at book via the rc system? TIA, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Regular Expression Trouble
At 2008-08-26T22:12:19-05:00, Martin McCormick wrote: > I am trying to isolate only the MAC addresses that appear in > dhcpd logs. > For anyone who is interested, the sed construct that should do > this looks like: It'd be better if you post a few relevant lines of the log file. Pending that, I suggest awk(1) in case the log file format is similar to the following snippet of `dhcpd.leases' on an OpenBSD server: % cat dhcpd.leases lease 192.168.10.216 { starts 3 2008/07/16 23:17:29; ends 4 2008/07/17 00:17:29; tstp 4 2008/07/17 00:17:29; binding state free; hardware ethernet 00:1f:c6:81:66:a6; } lease 192.168.10.65 { starts 4 2008/07/17 11:15:48; ends 5 2008/07/18 11:15:48; tstp 5 2008/07/18 11:15:48; binding state free; hardware ethernet 00:16:d3:9e:eb:74; } % awk '/hardware ethernet/ { print substr($3, 4, 14) }' dhcpd.leases 1f:c6:81:66:a6 16:d3:9e:eb:74 Raghavendra. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Joy stick not being detected!
On Tue, 26 Aug 2008, Christopher Joyner wrote: [adding -questions back into the cc list] > On Tue, Aug 26, 2008 at 6:33 AM, Ian Smith <[EMAIL PROTECTED]> wrote: > > On Mon, 25 Aug 2008 17:55:57 + Christopher Joyner wrote: > > > > > I have a Gravis GamePad Pro hooked up to a ISA SBLive! > > > emu10k1 loads, but the joy stick is not detected. > > > > > > I am loading the module manually, kldload joy, only loads but no > > feedback. > > > > > > Am I missing something? > > > > Try the one-line perl example in joy(4) to see if your joystick works, > > for some value of 'works' .. ie actually logs changing axis values and > > button press/release status. > > > > I don't think there's any specific support for joysticks, you pretty > > much have to write your own. With what program did you hope to use it? > > > > Years ago I wrote a little rexx program that read (pseudo) joystick X,Y > > values and button (actually relay switch) values for detecting and > > controlling shutdown conditions for a simple-interface Liebert UPS, > > using the standard joystick / MIDI port on a couple of ISA cards. > > > > From memory it only worked right when device joy was compiled into > > kernel, not kldloaded - but that was way back around FreeBSD 3.3 .. > > > > > If I wrote my own, could I contribute it to the FreeBSD project? If it worked, I'm sure you could :) How many people are hanging out for it (ie potential testers) is another matter I guess .. > I will try putting this into the kernel and see what happens! If that one-line perl test works with the SBLive, you've got some hope. > I want to use this with an emulator, zsnes. Does this emulator basically fire up ok on freeBSD? I can see why the joystick would have to work to be able to do anything useful with it. good luck, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Regular Expression Trouble
On Tue, Aug 26, 2008, Martin McCormick wrote: >I am trying to isolate only the MAC addresses that appear in >dhcpd logs. >For anyone who is interested, the sed construct that should do >this looks like: > > sed 's/.*\([[ your regular expression ]]\).*/\1/' > >The \1 tells sed to only print what matched and skip all the rest. > I just tried this, and it worked: sed -n 's;.* to \([0-9:a-z]*\) via.*;\1;p' logfile It would have been easier in perl or python where one could use the pattern '.* to (\S+) via.*'. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 My reading of history convinces me that most bad government results from too much government. --Thomas Jefferson. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Chris St Denis writes: [...] > I had a problem like this trying to mount ext2. The problem was it > needed to be fscked (unclean shutdown). You'll need to install > ports/sysutils/e2fsprogs to fsck it under FreeBSD. Thanks for the reply, but I'm wondering if I fsck it in GNU/Linux, will that make any difference to it, since e2fsprogs is same ? BtW, it got fscked around 5-10 times (after every n mounts). Though, I will explicitly initiate the fsck this time, and will report back any issues I came across. Thanks Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp8RSkodfGAP.pgp Description: PGP signature
AD3RTLANG daughter card not detected under FBSD 7
Dear all, I have been busy this summer. Just got a new board (Mini-ITX) for a firewall project, I got the add-on module call "AD3RTLANG". The board is working ok, yet I am experiencing difficulties getting the 3 NIC module working, any ideas if there is any support on this particular module. I am aware that FBSD 7 support realtek controllers using the rl re kernel modules. Can someone point me in the right direction. Thank you in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Regular Expression Trouble
Martin McCormick wrote: I am trying to isolate only the MAC addresses that appear in dhcpd logs. For anyone who is interested, the sed construct that should do this looks like: sed 's/.*\([[ your regular expression ]]\).*/\1/' The \1 tells sed to only print what matched and skip all the rest. I am doing something wrong with the regular expression that is supposed to recognise a MAC address. MAC addresses look like 5 pairs of hex digits followed by :'s and then a 6TH pair to end the string. I have tried: [[:xdigit:][:xdigit:][:punct:] Sorry. It won't all fit on a line, but there should be a string of 5 pairs and the : and then the 6TH pair followed by the closing ] so the expression ends with ]] One should also be able to put: [[:xdigit:][:xdigit:][:punct:]]\{5,5\}[[:xdigit:][:xdigit]] Any ideas as to what else I can try? What happens is I get single characters per line that look like the first or maybe the last character in that line, but certainly nothing useful or nothing that remotely looks like a MAC address. Any ideas as to what's wrong with the regular expression? Many thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I don't have a seperate dhcp log and you didn't make it clear if you do, but I do have something similar written for awk that parses the system log file. awk ' /DHCPREQUEST/ { print $10 } ' /var/log/messages Maybe that will help. ~Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fetching precompiled packages for external install
I'm not sure if I've given a reply, so this might be a double post. :-) On Wed, 20 Aug 2008 01:36:58 +0300, Manolis Kiagias <[EMAIL PROTECTED]> wrote: > It doesn't have to be done through ports, you can still get the packages > using pkg_add -r and then recreate them using pkg_create -Rb. Side > effect is the packages will be installed on the download machine, and > that may not be what you want. Exactly. If I would have wanted that, my choice would be the tradidtional way to use portinstall with its -p option, similar to "make package" from a port's directory. > But you could probably use a jail to > avoid this. That sounds complicated... But many thanks for your ideas, I found a way to achieve my goad. As you will see, the solution is VERY ugly, but it seems to work. It's a simple script that first downloads the requested package, then the dependencies it needs are filtered out of the -v messages of pkg_add. Afterwards, the script is called recursively on these packages, to do exactly the same as with the requested package. Here it is: #!/bin/sh # # getpkg.sh 2008-08-19 # # fetch a precompiled package as well as it dependencies # for further installation if [ "$1" = "" ]; then echo "$0 " exit 1 fi echo -n "fetching $1 ... " if [ -f $1.tbz ]; then echo "$1.tbz already there" exit 1 fi pkg_add -fKnrv $1 > $1.txt 2>&1 echo "done" for DEP in `cat $1.txt | grep $1 | grep "depends on" | cut -d "'" -f 6 | cut -d "/" -f 2`; do echo "dependency for $1 is ${DEP}" $0 ${DEP} done rm $1.txt exit 0 One problem that might occur: Do the depencency packages need to include version numbering? The downloaded packages do not have a version in their name. I will check if it works, or if the versions need to be in the package file name. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Regular Expression Trouble
I am trying to isolate only the MAC addresses that appear in dhcpd logs. For anyone who is interested, the sed construct that should do this looks like: sed 's/.*\([[ your regular expression ]]\).*/\1/' The \1 tells sed to only print what matched and skip all the rest. I am doing something wrong with the regular expression that is supposed to recognise a MAC address. MAC addresses look like 5 pairs of hex digits followed by :'s and then a 6TH pair to end the string. I have tried: [[:xdigit:][:xdigit:][:punct:] Sorry. It won't all fit on a line, but there should be a string of 5 pairs and the : and then the 6TH pair followed by the closing ] so the expression ends with ]] One should also be able to put: [[:xdigit:][:xdigit:][:punct:]]\{5,5\}[[:xdigit:][:xdigit]] Any ideas as to what else I can try? What happens is I get single characters per line that look like the first or maybe the last character in that line, but certainly nothing useful or nothing that remotely looks like a MAC address. Any ideas as to what's wrong with the regular expression? Many thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Tue, 26 Aug 2008 13:20:31 -0400 Jerry McAllister <[EMAIL PROTECTED]> wrote: > I have wondered if it might be reasonable to put a bunch of (more) > of that sort of stuff in a select list during installation so a > user can choose right then if certain things will be retained or > dropped on the floor. Most of the base system options are either highly-technical or bike-shed options like removing games. If those options are exposed in the installer, they should be buried so deep you need caving equipment. > Fortune and games and even the latest Perl > and some other things might be good candidates for that select list. > > I know there is a place where you can run through pretty much the > whole list of ports and select, but that is really too overwhelming. > I would suggest this be a separate list, mostly limited to those > things that many people want (but others don't) in the base system. Personally I think it's a very bad idea to blur the distinction between base system and packages in the installer. If you already know FreeBSD, it's potentially confusing; if you don't it just reinforces the misconception that everything is a package. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Possible hardware damaging bug with halt/reboot!
I think this thing could break my fan if I left it running. The fan gets fast, really fast. Sounds like it's running faster than it can handle. This is using the halt command, during the message that say's, HALTED, PRESS ANY KEY TO REBOOT. (not actual message) I am still looking in the source code hunting for this. I decided it was best to report now. I have not seen the loop, but adding sleep(1) in the halt loop, such as a while loop, I think that would make it easier on the cpu. However I do not know how it works, because I have not seen that source code. In Love in Jesus Christ, Or Lord and Savior. For God so loved the world, that he gave his only *begotten Son, that whosoever believeth in him should not perish, but have everlasting life. --John 3:16 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DHCP and Encapsulating Vendor Options
> I have a need to encapsulate option 125 for my phone system on my isc-dhcp > server. See http://www.mavetju.org/weblog/html/cat_DHCP.html#00161 and http://www.mavetju.org/weblog/html/cat_DHCP.html#00092 for examples how I did it with APC Power Racks and Cisco phones. I'm not sure what it expects with hexdata, you should give net/dhcpdump a try to figure out what goes over the wire! Edwin -- Edwin Groothuis |Personal website: http://www.mavetju.org [EMAIL PROTECTED]| Weblog: http://www.mavetju.org/weblog/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: souce code for the halt program.
Hi-- On Aug 26, 2008, at 12:47 PM, Christopher Joyner wrote: How can I get the source code for the /sbin/halt program? When I run that program, it causes my cpu fan to speed up. I want to look at it, because I believe I can fix that problem. halt is a hard link to reboot: % ident /sbin/halt /sbin/halt: $FreeBSD: src/lib/csu/i386-elf/crti.S,v 1.7 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/i386-elf/crtn.S,v 1.6 2005/05/19 07:31:06 dfr Exp $ $FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4.10.1 2007/12/07 14:15:46 kib Exp $ $FreeBSD: src/lib/csu/i386-elf/crt1.c,v 1.14 2005/05/19 07:36:07 dfr Exp $ $FreeBSD: src/sbin/reboot/reboot.c,v 1.24.2.1 2006/08/25 12:55:50 bms Exp $ See /usr/src/sbin/reboot/reboot.c or http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/reboot/reboot.c -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Ashish Shukla आशीष शुक्ल wrote: Hi, I'm running FreeBSD 7.0-RELEASE-p3 (amd64). I've two ext3 partitions on my disk which I want to be able to access (read-only) from my FreeBSD installation. But I can only access one of them (with no issues), though I'm able to mount both of them fine in my FreeBSD and GNU/Linux. Those filesystems are fsck-ed regularly after every n mounts. I'm experiencing this since I installed GNU/Linux on that partition. 8<8< % fgrep gentoo-root /etc/fstab /dev/ad6s2 /mnt/gentoo-rootext2fs ro,noauto 0 0 % sudo mount /mnt/gentoo-root % mount |fgrep gentoo /dev/ad6s2 on /mnt/gentoo-root (ext2fs, local, read-only) % ls -l /mnt/gentoo-root ls: /mnt/gentoo-root: Bad file descriptor % sudo umount /mnt/gentoo-root % ls -ld /mnt/gentoo-root drwxr-xr-x 2 root wheel 512 Jun 8 23:24 /mnt/gentoo-root >8>8 There are no errors (or messages) reported in dmesg. Any ideas how to troubleshoot this ? I don't want to degrade my filesystem from ext3 to ext2. Thanks Ashish Shukla I had a problem like this trying to mount ext2. The problem was it needed to be fscked (unclean shutdown). You'll need to install ports/sysutils/e2fsprogs to fsck it under FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [ free_bsd_questions ] selecting a cpu heatsink / fan combo
If you haven't already bought your cpu you could check out how much heat different cpu's produce, they vary quite a lot. Lower power = lower heat production = less stress on heatsink/fan (and = lower electricity costs). Also the overclockers websites and forums usually have opinions about heatsinks. and of course - make sure then that your motherboard doesn't overclock by default. no, i'm not joking, it's true but it sounds like a joke. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
AD3RTLANG daughter card not detected under FBSD 7
Dear all, I have been busy this summer. Just got a new board (Mini-ITX) for a firewall project, I got the add-on module call "AD3RTLANG". The board is working ok, yet I am experiencing difficulties getting the 3 NIC module working, any ideas if there is any support on this particular module. I am aware that FBSD 7 support realtek controllers using the rl re kernel modules. Can someone point me in the right direction. Thank you in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Hi, I'm running FreeBSD 7.0-RELEASE-p3 (amd64). I've two ext3 partitions on my disk which I want to be able to access (read-only) from my FreeBSD installation. But I can only access one of them (with no issues), though I'm able to mount both of them fine in my FreeBSD and GNU/Linux. Those filesystems are fsck-ed regularly after every n mounts. I'm experiencing this since I installed GNU/Linux on that partition. 8<8< % fgrep gentoo-root /etc/fstab /dev/ad6s2 /mnt/gentoo-rootext2fs ro,noauto 0 0 % sudo mount /mnt/gentoo-root % mount |fgrep gentoo /dev/ad6s2 on /mnt/gentoo-root (ext2fs, local, read-only) % ls -l /mnt/gentoo-root ls: /mnt/gentoo-root: Bad file descriptor % sudo umount /mnt/gentoo-root % ls -ld /mnt/gentoo-root drwxr-xr-x 2 root wheel 512 Jun 8 23:24 /mnt/gentoo-root >8>8 There are no errors (or messages) reported in dmesg. Any ideas how to troubleshoot this ? I don't want to degrade my filesystem from ext3 to ext2. Thanks Ashish Shukla -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpkENmP1lS2Z.pgp Description: PGP signature
Re: Turn off serial console on boot
[EMAIL PROTECTED] wrote: I have some servers with IPMI that allow me to have a serial console. I have setup a serial console config on my servers and it seems to work reasonably well in remote emergencies, but causes serious problems if I ever have to use the real console. It means that I can't use single user mode from the real console and I can't see most boot errors. Is there a way I can turn off the console redirection from the physical console interactively on startup? http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html We put -P in /boot.config so that if a keyboard is detected then the screen is the console. No keyboard means serial console. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" This server does not have a ps2 port (USB only). Is there any other way? It's quite a pain to have to boot off an install disk and rename the boot.config file if I need to get into single user mode. Especially since this server takes about 5 minutes to POST. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [ free_bsd_questions ] selecting a cpu heatsink / fan combo
spellberg_robert wrote: greetings, all --- q: would anyone care to wax rhapsodic about any manufacturer with whose heatsink / fan combo product[s] they have had good success ? If you haven't already bought your cpu you could check out how much heat different cpu's produce, they vary quite a lot. Lower power = lower heat production = less stress on heatsink/fan (and = lower electricity costs). Also the overclockers websites and forums usually have opinions about heatsinks. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: souce code for the halt program.
On Tue, Aug 26, 2008 at 12:47:53PM -0700, Christopher Joyner wrote: > How can I get the source code for the /sbin/halt program? Look at /usr/src/sbin/reboot/reboot.c. /sbin/reboot is linked to fasthalt, fastboot and halt. See /usr/src/sbin/reboot/Makefile I found this out like this: # ls -l /sbin/halt -r-xr-xr-x 4 root wheel 9016 May 23 19:59 /sbin/halt # find /sbin -size 9016c /sbin/reboot /sbin/fasthalt /sbin/fastboot /sbin/halt Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpbJuRQAcX30.pgp Description: PGP signature
DHCP and Encapsulating Vendor Options
Ladies and Gentlemen, I have a need to encapsulate option 125 for my phone system on my isc-dhcp server. Following is a snippet from my dhcpd.conf file. option space MITEL; option MITEL.Option-125 code 125 = string; subnet 1.2.3.0 netmask 255.255.255.0 { range 1.2.3.100 1.2.3.200; option routers 1.2.3.1; option domain-name-servers 1.2.3.1; vendor-option-space MITEL; option MITEL.Option-125 "Mitel hexadecimal data goes here" } Is this the right way to encapsulate the Hex data? I have not been able to find any information from Mitel concerning how to setup this option on an isc-dhcp server. The information I found was for a Windows 2003 DHCP server, and the data type needed to be encapsulated. So, my assumption is (I know, I know), the data will have to be encapsulated on the isc dhcp server as well. Any help would be appreciated. Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
est: CPU supports Enhanced Speedstep, but is not recognized.
Hi there I am getting a strange message in my dmesg after installation FreeBSD 7-production-release on my Dell 2950 with 2 x CPU 3,0 GHz Intel Xeon L5450 Quad-Core 2x6MB cache. I have googled but didn't get any clue what it is and why I am getting this problem... is it Processor related or driver related for FreeBSD? Any advice and help is welcomed... a quote from dmesg: acpi_hpet0: iomem 0xfed0-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est1 attach returned 6 p4tcc1: on cpu1 cpu2: on acpi0 est2: on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est2 attach returned 6 p4tcc2: on cpu2 cpu3: on acpi0 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est3 attach returned 6 p4tcc3: on cpu3 cpu4: on acpi0 est4: on cpu4 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est4 attach returned 6 p4tcc4: on cpu4 cpu5: on acpi0 est5: on cpu5 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est5 attach returned 6 p4tcc5: on cpu5 cpu6: on acpi0 est6: on cpu6 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est6 attach returned 6 p4tcc6: on cpu6 cpu7: on acpi0 est7: on cpu7 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 920092006000920 device_attach: est7 attach returned 6 p4tcc7: on cpu7 -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
souce code for the halt program.
How can I get the source code for the /sbin/halt program? When I run that program, it causes my cpu fan to speed up. I want to look at it, because I believe I can fix that problem. In Love in Jesus Christ, Or Lord and Savior. For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. --John 3:16 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
serial console - no go
i put -h in /boot.config FreeBSD loaders starts with serial console fine, load kernel, boots and... kernel uses VGA as console. what i do wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Turn off serial console on boot
I have some servers with IPMI that allow me to have a serial console. I have setup a serial console config on my servers and it seems to work reasonably well in remote emergencies, but causes serious problems if I ever have to use the real console. It means that I can't use single user mode from the real console and I can't see most boot errors. Is there a way I can turn off the console redirection from the physical console interactively on startup? http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html We put -P in /boot.config so that if a keyboard is detected then the screen is the console. No keyboard means serial console. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
iso contents; using dial-up
Is there a list of which packages come on the iso's? I particularly wanted those on 7.0 AMD64. My googling fu has failed me :( I also wanted any tips on handling FreeBSD on a dial-up link whilst you also have broadband access at school. How do you go about installing ports/packages to utilise your broadband link the most & stay off the dial-up as much as possible? TIA. -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Updating a minimal install
Hi all, I have minimal (base) system of 6.2 that I run entirely from thumb drive. It has nothing extra (man pages etc). This system needs to be upgraded to 7.0. Is there an easy way to upgrade this installation so that ONLY the information that is currently installed is upgraded? I don't want anything additional installed during the upgrade. I'm certain that by default a make buildworld/installworld will install too much. Will a binary upgrade 'do the right thing'? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: fairly low level - ld-elf.so.1/rtld_verify_versions() question
Disregard, I mistraced/read the output. I found the error. Sorry, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Configure lagg0 into /etc/rc.conf file ?
Frank Bonnet wrote: I'm trying to configure the lagg0 device using /etc/rc.conf file but I haven't much luck with it. What I want to do is ifconfig lagg0 create ifconfig lagg0 up laggproto lacp laggport bge0 laggport bge1 What does the following command output?: # uname -a Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Tue, Aug 26, 2008 at 06:44:38PM +0300, Giorgos Keramidas wrote: > On Tue, 26 Aug 2008 17:29:48 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: > >> Ok, this may be a bug in the makefiles then. My apologies if you have > >> already written all that. I caught the email thread some time after it > >> started, and I replied while being offline on a trip. > > > > Welcome back, I hope you had a pleasant journey! > > Heh, thanks. It was nice in a way :) > > >> * Which branch/version of the source tree are you building? > > > > I was going from 7.0-RELEASE to 7.0-STABLE. > > > >> * How did you build everything? > > > > I put WITHOUT_GAMES="YES" in /etc/src.conf. > > > >> * What was the _exact_ error message you saw? > > > > I don't remember exactly what it said. But it was just the same as > > it's always been -- make world erroring out because group `games' > > doesn't exist. > > Thanks! I got it tracked down to the reference to 'games' in the mtree > files we use to populate the installation tree with directories before > installing programs and data in them. By looking at the differences > from 7.0-STABLE to 8.0-CURRENT the same problem exists in both branches. > > >>> I don't see why the FreeBSD team has to insist on keeping this, pardon > >>> my language, bullshit. If some sorry guy actually needs this, why > >>> can't he load it as a module, or install a port? > >> > >> Insist on keeping what? The fortune cookies and `/usr/src/games'? > > > > And all the other old stuff you can disable in in src.conf. > > This is the same old argument about ``what should be in the base system > and what should be a port''. I'm almost sure we can find people who > like fortune(1) in the base system, and I can certainly understand that > some people don't really care if it goes. > > Making it easy to disable stuff in `src.conf' is sort of a middle-path > approach. I can live with that for now. If someone else comes along > and moves fortune(1) and the other src/games/ stuff in a port, I won't > really object either :) I have wondered if it might be reasonable to put a bunch of (more) of that sort of stuff in a select list during installation so a user can choose right then if certain things will be retained or dropped on the floor. Fortune and games and even the latest Perl and some other things might be good candidates for that select list. I know there is a place where you can run through pretty much the whole list of ports and select, but that is really too overwhelming. I would suggest this be a separate list, mostly limited to those things that many people want (but others don't) in the base system. Some of these pretty much stand alone and shouldn't add complications of dependancies, but I suppose some might. jerry > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Immediate opening for Oracle + SQL DBA,Temple, TX
*Dear partner * *We have an immediate opening for Oracle + SQL DBA* * * *Oracle + SQL DBA* *Duration : 6 months* *Location :Temple, TX* *Rate : 40* *Skills Required* - 3-5 years DBA Experience working with both Oracle 9i/10g and SQL Server 2000 *or *2005 - 1-3 years working with Unix OS - 1-3 years with Windows OS *Job Responsibilities* *SQL Server 2000** or** 2005* - Create database backups - Create database and objects - Copy databases and objects - Maintain and troubleshoot Existing Database *Oracle 9i and 10G* - Create database and database objects - Copy database and objects - Maintain and troubleshoot Existing Database *Thanks & Regards,*** * *** *Sudheer*** *Nihaki Systems Inc**,*** *Email ID**:[EMAIL PROTECTED] * * --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "[EMAIL PROTECTED]" group. To post to this group, send email to c2c-dealusagooglegroupscom@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://gro_color_text = "00"; //--> Router Web Interface? Chris Telting Re: Router Web Interface? matt donovan Re: Router Web Interface? Sasa Stupar Re: Router Web Interface? Artis Caune Re: Router Web Interface? Matias Surdi RE: Router Web Interface? Sean Cavanaugh Reply via email to
Re: Crontab and adjkerntz.
Andrew D wrote: Leslie Jensen wrote: I have a machine that only runs during office hours. I've rescheduled the periodic jobs in crontab so that they run when the machine is on. My question is can I reschedule the adjkerntz job as well, without causing any problems? I'm concerned because the job is set to run 12 times during night time, and I'm thinking that maybe it's a resource hog and therefore it's not advisible to run it when one uses the machine? adjkerntz is used for adjusting the time when daylight savings starts and finishes. I wouldn't worry about it as the system runs it on boot up. ... and if your CMOS clock is set to UTC, then adjkerntz is a no-op anyhow. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Configure lagg0 into /etc/rc.conf file ?
Hello all I'm trying to configure the lagg0 device using /etc/rc.conf file but I haven't much luck with it. I've googled for it and visit many pages but informations are not useful for me Is there a documentation up to date somewhere I should use ? What I want to do is ifconfig lagg0 create ifconfig lagg0 up laggproto lacp laggport bge0 laggport bge1 On Cisco side I have no problem to create the channel group which is working well. thanks for any info/links ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: inventory software?
Pollywog skrev: On Tuesday 26 August 2008 07:01:38 Omer Faruk SEN wrote: Hello, Is there a inventory software in ports tree? What i want is to learn all hardware details (ram , cpu , mainboard etc. serial numbers and amount of them). I need a simple program that does this but couldn't able to find in ports tree Thanks in advance. Regards. Coincidentally this morning I found this: http://www.cyberciti.biz/faq/check-ram-speed-linux/ The information there says it works for Linux, UNIX, and BSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" http://www.freebsd.org/cgi/ports.cgi?query=decode&stype=name&sektion=sysutils :-) /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: inventory software?
On Tuesday 26 August 2008 07:01:38 Omer Faruk SEN wrote: > Hello, > > Is there a inventory software in ports tree? What i want is to learn all > hardware details (ram , cpu , mainboard etc. serial numbers and amount of > them). I need a simple program that does this but couldn't able to find in > ports tree > > Thanks in advance. > > Regards. Coincidentally this morning I found this: http://www.cyberciti.biz/faq/check-ram-speed-linux/ The information there says it works for Linux, UNIX, and BSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
fairly low level - ld-elf.so.1/rtld_verify_versions() question
I have a library that is failing to load. Eventually I managed to play with ld-elf so I could figure out what was wrong (jail -> build the ld-elf in the jail with some printfs) Anyway, I have a lot of test cases that seem to compile/load fine, but one compiles fine but always fails to load, I found /why/ it fails, but I don't know what in my library would cause the issues. It looks like a versioning failure for libc.so.7: libc.so.7 => /lib/libc.so.7 (0x2807e000) What would cause this, but not cause failures on other libraries I've built on the same system? * Between successes and failures I have not rebuilt anything other than the successful and failing libraries. Thanks, -Jim Stapleton In case it might be useful, below I have an output from my modified ld-elf, Anything starting with ">>>" comes from the "rtld_verify_versions" function, anything starting with ">>" comes from the "dlopen" function. Anything starting with "##" is a comment or interperetation I added after the fact. #dlopen, prints name and mode arguments >>Opening: 'libctypeless.so' : 513 #prints name and pointer to main passed to load_object if name is not null >> Name not null, calling: load_object("libctypeless.so", 0x28078000 /*main*/) #prints the pointer returned for obj >> Found: 0x28078400 #tells the refcount on obj, immediately after the increment >> opened, refcount inc'ed: 1 #this is the first thing done after the initial STAILQ_FOREACH(entry, objlist, link) { #in the function, the line printing it is: # printf(">>> Checking version: %p (%p) --> \"%s\"\n", entry, entry->obj, entry->obj->path); >>> Checking version: 0x28079080 (0x28078400) --> "/usr/lib/libctypeless.so" >>> Checking version: 0x280790a0 (0x28078600) --> "/lib/libgcc_s.so.1" >>> Checking version: 0x280790c0 (0x28078200) --> "/lib/libc.so.7" #these next two are printed by #printf(">>> [shouldn't be null] strtab: \"%s\"\n", entry->obj->strtab); #and #printf(">>> [should be null] vertab: "); #printf("%p: %d / %d / \"%s\" / \"%s\" \n", entry->obj->vertab, #entry->obj->vertab->hash,entry->obj->vertab->flags, #entry->obj->vertab->name,entry->obj->vertab->file); #respectively >>> [shouldn't be null] strtab: "" >>> [should be null] vertab: 0x2807a080: 0 / 0 / "(null)" / "(null)" >> versioning failure of dagmembers: 0, libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2818e000) libc.so.7 => /lib/libc.so.7 (0x2807e000) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Tue, 26 Aug 2008 18:30:02 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On Tue, 26 Aug 2008 18:04:26 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> > wrote: >> % -- >> % >>> Making hierarchy >> % -- >> % cd /home/build/src; make -f Makefile.inc1 hierarchy >> % cd /home/build/src/etc; make distrib-dirs >> % mtree -eU -f /home/build/src/etc/mtree/BSD.root.dist -p / >> % mtree -eU -f /home/build/src/etc/mtree/BSD.var.dist -p /var >> % mtree: line 48: unknown group games >> % *** Error code 1 >> % >> % Stop in /home/build/src/etc. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % *** Error code 1 >> % >> % Stop in /home/build/src. >> % [EMAIL PROTECTED]:/home/build/src# >> >> That's because src/etc/mtree/BSD.usr.dist and BSD.var.dist include >> references to the `games' user and group. I'll try to split the >> relevant bits in a new `BSD.games.dist' file which will be conditionally >> passed to mtree(8) depending on WITHOUT_GAMES. >> >> Is this the same error as the one you are seeing? When I prepare a >> patch for this, would you be willing to test it for me? > > Ok, think I got it... > > Here's the patch I am testing now. If this works locally, I'll post it > for review to our Makefile gurus and commit it when we get it into > shape. Yay! It seems to have worked in 8.0-CURRENT here... [EMAIL PROTECTED]:/home/build/src# export WITHOUT_GAMES=yes [EMAIL PROTECTED]:/home/build/src# make KERNCONF=KOBE installworld [...] -- >>> Making hierarchy -- cd /home/build/src; make -f Makefile.inc1 hierarchy cd /home/build/src/etc; make distrib-dirs mtree -eU -f /home/build/src/etc/mtree/BSD.root.dist -p / mtree -eU -f /home/build/src/etc/mtree/BSD.var.dist -p /var mtree -eU -f /home/build/src/etc/mtree/BSD.usr.dist -p /usr mtree -eU -f /home/build/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /home/build/src/etc/mtree/BIND.chroot.dist -p /var/named mtree -deU -f /home/build/src/etc/mtree/BSD.sendmail.dist -p / cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/man; set - `grep "^[a-zA-Z]" /home/build/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/openssl/man; set - `grep "^[a-zA-Z]" /home/build/src/etc/man.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . cd /usr/share/nls; set - `grep "^[a-zA-Z]" /home/build/src/etc/nls.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done -- >>> Installing everything -- [...] I've uploaded the patch for 8.0-CURRENT at: http://people.freebsd.org/~keramida/diff/games-mtree.diff and the patch for 7-STABLE at: http://people.freebsd.org/~keramida/diff/games-mtree.stable7.diff The `games-mtree.stable7.diff' should apply on top of today's 7-STABLE source tree with: # cd /var/tmp ; fetch http://people.freebsd.org/~keramida/diff/games-mtree.stable7.diff # cd /usr/src ; patch -p0 < /var/tmp/games-mtree.stable7.diff Can you patch your 7-STABLE /usr/src source tree and run another build & install cycle? I think WITHOUT_GAMES=yes should work then. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
> Ok, this may be a bug in the makefiles then. My apologies if you have > already written all that. I caught the email thread some time after it > started, and I replied while being offline on a trip. Welcome back, I hope you had a pleasant journey! > * Which branch/version of the source tree are you building? I was going from 7.0-RELEASE to 7.0-STABLE. > * How did you build everything? I put WITHOUT_GAMES="YES" in /etc/src.conf. > * What was the _exact_ error message you saw? I don't remember exactly what it said. But it was just the same as it's always been -- make world erroring out because group `games' doesn't exist. > I have just fired up a buildworld + buildkernel run of 8.0-CURRENT here, > to see if I can reproduce this. The build runs with: > ># export WITHOUT_GAMES=yes ># mv /usr/games /usr/games.old ># rm -fr /usr/src/games > > AFAIK, this should work fine, but I will have to wait a bit for the > build to finish and report back. I'll post my results in a couple of > hours, because that's roughly how long it takes for my laptop to go > through a full build & install run. Cool. I appreciate that! >> I don't see why the FreeBSD team has to insist on keeping this, pardon >> my language, bullshit. If some sorry guy actually needs this, why >> can't he load it as a module, or install a port? > > Insist on keeping what? The fortune cookies and `/usr/src/games'? And all the other old stuff you can disable in in src.conf. > This is one of the nice quotes of Antoine de Saint Exupery, but in our > case perfection is also achieved when FreeBSD empowers you to choose the > bits that _you_ want to keep. I'm not entirely sure I understand what you're saying here, but it's certainly not related to what Mr. Exupery was saying. You can't sell someone a new car full of obsolete parts, saying "now you have the freedom to choose what parts _you_ want to keep", that's just ridiculous. Next thing you know the person will die in a car crash. Let me give you another quote. I trust you'll be able to track down the author for this one as well: "Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts. This requires not that the writer make all his sentences short, or that he avoid all detail and treat his subjects only in outline, but that every word tell." I understand you're saying that people are free to pick apart excess weight from their systems. But only a small percentage actually needs this excess weight. So wouldn't it be better to take it out, and instead, give the ones who need it the freedom put it back in? > We also understand that it is often very difficult, even outright > impossible to satisfy _everyone_ with one flavor of beer, so we try to > give everyone a BSD flavored brew that seems to have worked nicely for a > lot of people and all the tools to build your own custom flavor. Alcohol is bad for your health. >> I worry slightly as I watch FreeBSD become bigger and bigger, fearing >> that some day it'll all come tumbling down! > > Well, there's a very good way to avoid this. You can *help* us keep BSD > in shape. Reports about bugs, problems and issues like the one you are > reporting in this thread are an _excellent_ way to do that. > > If nobody reports a bug, then it won't get solved... By reporting it > and helping us track it down, find the fix and commit it to the source > tree you are doing everyone (including the FreeBSD Project and yourself) > a great service :-) I appreciate the invitation. I hope I'll be able to devote large parts of my life to the improvement of FreeBSD. > > Cheers, > Giorgos > > -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Tue, 26 Aug 2008 17:29:48 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: >> Ok, this may be a bug in the makefiles then. My apologies if you have >> already written all that. I caught the email thread some time after it >> started, and I replied while being offline on a trip. > > Welcome back, I hope you had a pleasant journey! Heh, thanks. It was nice in a way :) >> * Which branch/version of the source tree are you building? > > I was going from 7.0-RELEASE to 7.0-STABLE. > >> * How did you build everything? > > I put WITHOUT_GAMES="YES" in /etc/src.conf. > >> * What was the _exact_ error message you saw? > > I don't remember exactly what it said. But it was just the same as > it's always been -- make world erroring out because group `games' > doesn't exist. Thanks! I got it tracked down to the reference to 'games' in the mtree files we use to populate the installation tree with directories before installing programs and data in them. By looking at the differences from 7.0-STABLE to 8.0-CURRENT the same problem exists in both branches. >>> I don't see why the FreeBSD team has to insist on keeping this, pardon >>> my language, bullshit. If some sorry guy actually needs this, why >>> can't he load it as a module, or install a port? >> >> Insist on keeping what? The fortune cookies and `/usr/src/games'? > > And all the other old stuff you can disable in in src.conf. This is the same old argument about ``what should be in the base system and what should be a port''. I'm almost sure we can find people who like fortune(1) in the base system, and I can certainly understand that some people don't really care if it goes. Making it easy to disable stuff in `src.conf' is sort of a middle-path approach. I can live with that for now. If someone else comes along and moves fortune(1) and the other src/games/ stuff in a port, I won't really object either :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Tue, 26 Aug 2008 18:04:26 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > % -- > % >>> Making hierarchy > % -- > % cd /home/build/src; make -f Makefile.inc1 hierarchy > % cd /home/build/src/etc; make distrib-dirs > % mtree -eU -f /home/build/src/etc/mtree/BSD.root.dist -p / > % mtree -eU -f /home/build/src/etc/mtree/BSD.var.dist -p /var > % mtree: line 48: unknown group games > % *** Error code 1 > % > % Stop in /home/build/src/etc. > % *** Error code 1 > % > % Stop in /home/build/src. > % *** Error code 1 > % > % Stop in /home/build/src. > % *** Error code 1 > % > % Stop in /home/build/src. > % *** Error code 1 > % > % Stop in /home/build/src. > % [EMAIL PROTECTED]:/home/build/src# > > That's because src/etc/mtree/BSD.usr.dist and BSD.var.dist include > references to the `games' user and group. I'll try to split the > relevant bits in a new `BSD.games.dist' file which will be conditionally > passed to mtree(8) depending on WITHOUT_GAMES. > > Is this the same error as the one you are seeing? When I prepare a > patch for this, would you be willing to test it for me? Ok, think I got it... Here's the patch I am testing now. If this works locally, I'll post it for review to our Makefile gurus and commit it when we get it into shape. If things work without problems in CURRENT for a few days, I'll backport it to the STABLE branches too. %%% diff -r ef7ac5c285f5 etc/Makefile --- a/etc/Makefile Tue Aug 26 16:37:27 2008 +0300 +++ b/etc/Makefile Tue Aug 26 18:27:33 2008 +0300 @@ -56,6 +56,9 @@ BSD.var.dist BSD.x11.dist BSD.x11-4.dist .if ${MK_SENDMAIL} != "no" MTREE+=BSD.sendmail.dist +.endif +.if ${MK_GAMES} != "no" +MTREE+= BSD.games.dist .endif .if ${MK_BIND} != "no" MTREE+=BIND.chroot.dist @@ -204,6 +207,9 @@ .if ${MK_SENDMAIL} != "no" mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/ .endif +.if ${MK_GAMES} != "no" + mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.games.dist -p ${DESTDIR}/ +.endif cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys cd ${DESTDIR}/usr/share/man/en.ISO8859-1; ln -sf ../man* . cd ${DESTDIR}/usr/share/man; \ diff -r ef7ac5c285f5 etc/mtree/BSD.games.dist --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/etc/mtree/BSD.games.dist Tue Aug 26 18:27:33 2008 +0300 @@ -0,0 +1,16 @@ +# $FreeBSD$ +# +# Please see the file src/etc/mtree/README before making changes to this file. +# + +/set type=dir uname=root gname=wheel mode=0755 +. +usr +games +.. +.. +var +games gname=games mode=0775 +.. +.. +.. diff -r ef7ac5c285f5 etc/mtree/BSD.usr.dist --- a/etc/mtree/BSD.usr.distTue Aug 26 16:37:27 2008 +0300 +++ b/etc/mtree/BSD.usr.distTue Aug 26 18:27:33 2008 +0300 @@ -6,8 +6,6 @@ /set type=dir uname=root gname=wheel mode=0755 . bin -.. -games .. include .. diff -r ef7ac5c285f5 etc/mtree/BSD.var.dist --- a/etc/mtree/BSD.var.distTue Aug 26 16:37:27 2008 +0300 +++ b/etc/mtree/BSD.var.distTue Aug 26 18:27:33 2008 +0300 @@ -45,8 +45,6 @@ .. empty mode=0555 flags=schg .. -games gname=games mode=0775 -.. heimdal mode=0700 .. log %%% ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Adapter to hook SCSI tape drive to SATA?
I have a Seagate DDS-4 tape drive hanging off a Tekram SCSI card. I was starting to get random hard resets whenever accessing the drive - as in "dd if=/dev/zero of=/dev/sa0" would get me to the BIOS POST screen in under a second - so this morning I swapped out an unused card of the same model from another system. Hopefully this was just a hardware glitch and the "new" card (which is also 9 years old) will be OK. This got me thinking, though: has anyone used any of the SCSI-to-SATA adapters to hook a tape drive to their FreeBSD system? More importantly, did it work? I'd just as soon use one of the on-board SATA connectors as an aging boat anchor of a SCSI card if I could get away with it. I mean, I still use SCSI a lot elsewhere, but I'd like to ditch it in this one specific application if possible. Thanks! -- Kirk Strauser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Tue, 26 Aug 2008 16:26:36 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > # Removing <[EMAIL PROTECTED]> from the recipient list. This isn't > # really a thread about marketing or promoting FreeBSD, so it's a bit > # off-topic for that list. > > On Tue, 26 Aug 2008 11:01:03 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: >>> Have you tried building with an src.conf file that includes: >>> >>>WITHOUT_GAMES='yes' >>> >>> It' not a matter of `kindergarten or not', but a matter of providing a >>> predictable `base system' by default and all the knob and documentation >>> to customize it at will. That's why you can find a lot of customization >>> options in the manpage of src.conf(5). >> >> Hello hello! >> Yeah I actually tried that, but I got the same error. > > Ok, this may be a bug in the makefiles then. My apologies if you have > already written all that. I caught the email thread some time after it > started, and I replied while being offline on a trip. Hi Redd, You are right I think. I just reproduced this a few minutes ago, by deleting the `games' group and user from my password file and installing a userland compiled with WITHOUT_GAMES=yes. Apparently, you can *build* everything when `WITHOUT_GAMES=yes', but when I tried to installworld the resulting distribution, the initial steps of the installation fail with: % -- % >>> Making hierarchy % -- % cd /home/build/src; make -f Makefile.inc1 hierarchy % cd /home/build/src/etc; make distrib-dirs % mtree -eU -f /home/build/src/etc/mtree/BSD.root.dist -p / % mtree -eU -f /home/build/src/etc/mtree/BSD.var.dist -p /var % mtree: line 48: unknown group games % *** Error code 1 % % Stop in /home/build/src/etc. % *** Error code 1 % % Stop in /home/build/src. % *** Error code 1 % % Stop in /home/build/src. % *** Error code 1 % % Stop in /home/build/src. % *** Error code 1 % % Stop in /home/build/src. % [EMAIL PROTECTED]:/home/build/src# That's because src/etc/mtree/BSD.usr.dist and BSD.var.dist include references to the `games' user and group. I'll try to split the relevant bits in a new `BSD.games.dist' file which will be conditionally passed to mtree(8) depending on WITHOUT_GAMES. Is this the same error as the one you are seeing? When I prepare a patch for this, would you be willing to test it for me? - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: flowchart drawing tool for BSD
Dánielisz László escribió: Anyone know of a good flowchart drawing tool for BSD? Something like Visio? Hello, you can try de following: kivio (I think it's under koffice) bouml umbrello dia xfig Laci > [SNIP] Regards, DMW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Crontab and adjkerntz.
Leslie Jensen wrote: I have a machine that only runs during office hours. I've rescheduled the periodic jobs in crontab so that they run when the machine is on. My question is can I reschedule the adjkerntz job as well, without causing any problems? I'm concerned because the job is set to run 12 times during night time, and I'm thinking that maybe it's a resource hog and therefore it's not advisible to run it when one uses the machine? adjkerntz is used for adjusting the time when daylight savings starts and finishes. I wouldn't worry about it as the system runs it on boot up. Cheers cya Andrew # Adjust the time zone if the CMOS clock keeps local time, as opposed to # UTC time. See adjkerntz(8) for details. 1,310-5 * * * rootadjkerntz -a Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: [ free_bsd_questions ] selecting a cpu heatsink / fan combo
> > greetings, all --- > > > > this isn't exactly a free_bsd question, --but--, > > since free_bsd is popular w/ the i386 crowd and > > there are many rugged individualists on these lists > > who like to "roll their own", > > i figure i'll get way less hyperbole and > > more practical experience here, > > than at some of the places i've visited today. 1 - Don't use tip of finger to apply thermal goop unless finger is within a plastic bag. Grease off your skin will detract from the efficiency of the Thermal Bond, and seeing as the TIM bond accounts for a HUGE proportion of a processor-cooling-solution's c/w rating, it's better to pop finger in a bag, and then apply compound. 2 - Best of the best is still Thermalright, but there is a price premium as always. I generally go with their Ultra120 Extreme as it supports all sockets and all CPUs on the market, so you won't have to bin it if you switch to something else at a later date... And partner it with a decent 120mm fan of your choosing according to your noise preference. Personally I stick with Nexus fans as they're nice n' quiet... The above combo is currently sitting atop a Q6600 cpu in my recording studio system and keeps it at 40 deg C full-load in total silence. If you want better cooling, then find a more powerful fan. 3 - Meh - Thermal Compound performance is much debated, and any testing done on it isn't done to a sufficient quality to give reliable results. Either way, the Thermalright Heatsinks all come with goop that is plenty good enough for most purposes. L8rs! Marci (ex Over-Clock UK / ThermoChill Radiators) ICT Support - Horbury School ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Crontab and adjkerntz.
I have a machine that only runs during office hours. I've rescheduled the periodic jobs in crontab so that they run when the machine is on. My question is can I reschedule the adjkerntz job as well, without causing any problems? I'm concerned because the job is set to run 12 times during night time, and I'm thinking that maybe it's a resource hog and therefore it's not advisible to run it when one uses the machine? # Adjust the time zone if the CMOS clock keeps local time, as opposed to # UTC time. See adjkerntz(8) for details. 1,310-5 * * * rootadjkerntz -a Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [ free_bsd_questions ] selecting a cpu heatsink / fan combo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 spellberg_robert wrote: > greetings, all --- > > this isn't exactly a free_bsd question, --but--, > since free_bsd is popular w/ the i386 crowd and > there are many rugged individualists on these lists > who like to "roll their own", > i figure i'll get way less hyperbole and > more practical experience here, > than at some of the places i've visited today. > > > > i had always been able to find the cpu / heatsink / fan as a sub_assembly, > so, i didn't have to deal with this issue. > i'm making some new boxen to replace > some 800mhz_p3, 256mb units which will be re_assigned. > i found a mobo i like; d_ram just keeps getting cheaper; etc., etc. > i even found a processor that appeals to me, but, it's oem. > it's the p4 "641" which is 3200 mhz, 65 nm, 775 case. > the mobo maxes out at 2048mb, which is just fine. > these are probably the last single_"core" boxen that i will build. > > > > now, back in the day, i had acquired the skill of using my index finger to > properly apply that white_stuff, from the good folks at wakefield, > to the tops of uhf pa transistors, from the good folks at motorola. > no, this isn't a case of fear. > > it's that i don't recognize so many of the manufacturers names. > some look familiar, but they might just be > similar to something i remember from long ago. > > q: would anyone care to wax rhapsodic > about any manufacturer > with whose heatsink / fan combo product[s] > they have had good success ? OK, I will. I got taught, in extremely clear fashion, about the direct linkage between keeping the temperatures low and even, and the ultimate reliability of your system. I won't go into the war story, but most everyone knows this is true, anyhow. I won't go into the fan either, because it's my personal opinion that there are a large selection of good fans. The item I want to extoll is the Ultimate 120 heatsink from Thermalright. Huge heatsink, and the 120mm fan that you get separately mounts on the _side_, not the top, like you might be used to. One look at this, at the great engineering ... well you might possibly find something else as good, but I bet you'd not be able to find anything better. Get that installed, and you can be really certain you didn't short on the CPU cooling. > > q: is there a short list of manufacturers > who are "generally accepted" as > producers of reliable products > [ as is, e. g., antec, for cases and power_supplies ] ? > > q: conversely, > are there any manufacturers with justifiably bad reputations ? > > > > i have seen several diameters described as appropriate for the 775. > > q: should i prefer any particular size ? > > > > wakefield is still around, but there are other names. > > q: are there any opinions, pro or con, about thermal compounds ? > > > > noise_level is not a criterion in this situation. > i'll err on the side of more cf/m. > > money doesn't appear to be an issue. > i've seen a range of $_10 to $_130, so far, but, > most are $_15 to $_30 or so. > > > > thanks in advance for any advice. > please cc. > > rob > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki0Cj8ACgkQz62J6PPcoOlAGACeJQGL9lcY5idUvRMIt+apF5d8 7k4Anipx+yCRA0HMuMdpDVQUqTwxEz5u =Sduw -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Binary Downloads: Security Questions and problem.
When using FreeBSD, I cannot browse the internet because I keep getting binary files instead of the url. These binary files are 588k in size, I think they are viruses, which also means my LAN is infected with some stuff. The binary file names seem to have random names, because they are new each time. Am I correct? Is this a security problem? In Love in Jesus Christ, Or Lord and Savior. For God so loved the world, that he gave his only *begotten Son, that whosoever believeth in him should not perish, but have everlasting life. --John 3:16 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
# Removing <[EMAIL PROTECTED]> from the recipient list. This isn't # really a thread about marketing or promoting FreeBSD, so it's a bit # off-topic for that list. On Tue, 26 Aug 2008 11:01:03 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: > On Sat, Aug 23, 2008 at 10:14 AM, Giorgos Keramidas wrote: >> On Fri, 1 Aug 2008 17:31:22 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: >>> Why can't I make world without the "games" group? I run a serious >>> server, not a kindergarten ;) >>> >>> I don't want the games group there, I just don't need it! >> >> Have you tried building with an src.conf file that includes: >> >>WITHOUT_GAMES='yes' >> >> It' not a matter of `kindergarten or not', but a matter of providing a >> predictable `base system' by default and all the knob and documentation >> to customize it at will. That's why you can find a lot of customization >> options in the manpage of src.conf(5). > > Hello hello! > Yeah I actually tried that, but I got the same error. Ok, this may be a bug in the makefiles then. My apologies if you have already written all that. I caught the email thread some time after it started, and I replied while being offline on a trip. A few bits of information which may help us track down what you are seeing and try to reproduce it are: * Which branch/version of the source tree are you building? * How did you build everything? Please list all the command line options, any environment variables and any `make.conf' or `src.conf' options you are using. * What was the _exact_ error message you saw? I have just fired up a buildworld + buildkernel run of 8.0-CURRENT here, to see if I can reproduce this. The build runs with: # export WITHOUT_GAMES=yes # mv /usr/games /usr/games.old # rm -fr /usr/src/games AFAIK, this should work fine, but I will have to wait a bit for the build to finish and report back. I'll post my results in a couple of hours, because that's roughly how long it takes for my laptop to go through a full build & install run. In the meantime, if you can repeat the build and email us with the branch, the source version, the environment you used to build and the last 200-300 lines of the error messages you are getting (the full build log would be even better), it would be quite useful as an extra bit of info to track down what is broken for you. With a bit of help from you, to test-build everything and report back with any findings, I'm sure we can at least understand what's different in your local setup :-) > I don't see why the FreeBSD team has to insist on keeping this, pardon > my language, bullshit. If some sorry guy actually needs this, why > can't he load it as a module, or install a port? Insist on keeping what? The fortune cookies and `/usr/src/games'? I don't think anyone insists on *forcing* you to use something you don't want to have around. That's precisely the idea behind WITHOUT_GAMES and similar options. If it doesn't work, we'll fix it. If it does work, on the other hand, we have to find out how to make it work for you too. > To quote some Frenchman: "Perfection is achieved, not when there's > nothing left to add, but when there's nothing left to take away." This is one of the nice quotes of Antoine de Saint Exupery, but in our case perfection is also achieved when FreeBSD empowers you to choose the bits that _you_ want to keep. As a team we value the freedom `to pick and choose' and providing a reference body of source code that others can use under the friendly terms of the BSD license is an explicit goal of the Project as a whole. We also understand that it is often very difficult, even outright impossible to satisfy _everyone_ with one flavor of beer, so we try to give everyone a BSD flavored brew that seems to have worked nicely for a lot of people and all the tools to build your own custom flavor. > I worry slightly as I watch FreeBSD become bigger and bigger, fearing > that some day it'll all come tumbling down! Well, there's a very good way to avoid this. You can *help* us keep BSD in shape. Reports about bugs, problems and issues like the one you are reporting in this thread are an _excellent_ way to do that. If nobody reports a bug, then it won't get solved... By reporting it and helping us track it down, find the fix and commit it to the source tree you are doing everyone (including the FreeBSD Project and yourself) a great service :-) Cheers, Giorgos pgphp0R2zaaCm.pgp Description: PGP signature
Re: flowchart drawing tool for BSD
Thank you, I will try it! - Original Message From: Pietro Cerutti <[EMAIL PROTECTED]> To: Dánielisz László <[EMAIL PROTECTED]>; User Questions Sent: Tuesday, August 26, 2008 1:47:17 PM Subject: Re: flowchart drawing tool for BSD -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dánielisz László wrote: | Anyone know of a good flowchart drawing tool for BSD? | Something like Visio? I use devel/bouml graphics/dia and netbeans's integrated UML drawing tool on a regular basis. If you're already using NetBeans or you plan to program in Java, then go for it. Otherwise, I would suggest bouml. | Laci - -- Pietro Cerutti [EMAIL PROTECTED] PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkiz7UQACgkQwMJqmJVx945NDACeMAXI1XX4t8l0hhUYZmorilXW mBYAn2uO54i1lh1Vq+vru1mvLZ4/t2Dm =RRD3 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
Redd Vinylene wrote: On Sat, Aug 23, 2008 at 10:14 AM, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: On Fri, 1 Aug 2008 17:31:22 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: Why can't I make world without the "games" group? I run a serious server, not a kindergarten ;) I don't want the games group there, I just don't need it! Have you tried building with an src.conf file that includes: WITHOUT_GAMES='yes' It' not a matter of `kindergarten or not', but a matter of providing a predictable `base system' by default and all the knob and documentation to customize it at will. That's why you can find a lot of customization options in the manpage of src.conf(5). For example, on a `production server' that is a bit limited in space, and doesn't really need compilers, debuggers, profiling tools, or three different firewalls, I would probably build with: WITHOUT_CVS=yes WITHOUT_GAMES='yes' WITHOUT_GCOV=yes WITHOUT_GDB=yes WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_OBJC=yes WITHOUT_PROFILE=yes WITHOUT_SHAREDOCS=yes I would also use WITHOUT_TOOLCHAIN=yes during `make installworld' runs, to skip installing all the gcc, g++ and debugger tools. The default `base system' still installs all these parts, but you are definitely *not* obliged to always install all of them. - Giorgos Hello hello! Yeah I actually tried that, but I got the same error. I don't see why the FreeBSD team has to insist on keeping this, pardon my language, bullshit. If some sorry guy actually needs this, why can't he load it as a module, or install a port? To quote some Frenchman: "Perfection is achieved, not when there's nothing left to add, but when there's nothing left to take away." I worry slightly as I watch FreeBSD become bigger and bigger, fearing that some day it'll all come tumbling down! Try to relax and calm down a bit. The games user is a left-over remnant of something that has ALWAYS been part of BSD, but *was* already mostly removed from FreeBSD some years ago (the actual games are now in the ports tree). It is not some insidious creeping bloat that has been added while you weren't looking. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: For this hardware amd64, ia64 or i386 to install?
VeeJay <> wrote: > For following hardware, I am wonderting that which Freebsd amd64, ia64 or > i386 to install? > > Hardware: > Dell PowerEdge 2950 III having 2 x CPU 3,0 GHz Intel Xeon L5450 Quad-Core > 2x6MB cache WITH 16 GB RAM. > Tools: > 1. FreeBSD 7 Production Release > 2. Apache 2.2.9 > 3. MySQL 5.1.26 > 4. PHP 5.2.6 Clearly amd64. The ia64 port wouldn't run on your hardware at all, because it is for the Itanium/Merced platforms. The i386 port would run, but it's only 2bit so it wouldn't be able to use all of your RAM (unless you enable the PAE option which as its own set of problems). Also, MySQL runs faster when compiled for 64bit. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure." -- Eric Allman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sed/awk, instead of Perl
Walt Pawley wrote: > wump$ time sed "s/ .*//" Desktop/klog > kadr1 Note that this is a job for cut(1): $ cut -d" " -f1 input Interestingly, the fastest way to do that job is to use a regular expression with Python. This is about twice as fast as the proposed perl solution: $ python -c 'import re; print re.sub(" .*\n", "\n", file("input").read())' (Of course, in a script you would write that command in a more readable way instead of trying to squeeze it all on a single line.) Best regards Oliver PS: Of course, if you really need the last percent of speed, then you should write your own specialized tool in C. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "FreeBSD is Yoda, Linux is Luke Skywalker" -- Daniel C. Sobral ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: flowchart drawing tool for BSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Dánielisz László wrote: | Anyone know of a good flowchart drawing tool for BSD? | Something like Visio? I use devel/bouml graphics/dia and netbeans's integrated UML drawing tool on a regular basis. If you're already using NetBeans or you plan to program in Java, then go for it. Otherwise, I would suggest bouml. | Laci - -- Pietro Cerutti [EMAIL PROTECTED] PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkiz7UQACgkQwMJqmJVx945NDACeMAXI1XX4t8l0hhUYZmorilXW mBYAn2uO54i1lh1Vq+vru1mvLZ4/t2Dm =RRD3 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports AUTOCONFxxx
At 2008-08-26T16:37:28+08:00, joeb wrote: > Why does the AUTOCONFxxx change the suffix between Freebsd releases? >From `/usr/ports/UPDATING': 20070930: AFFECTS: everyone AUTHOR: Mark Linimon <[EMAIL PROTECTED]> The ports tree has been migrated to the latest version of autoconf, 2.61. Versions 2.53 and 2.59 were declared obsolete and removed. > In 6.2 it was called AUTOCONF259 in 7.0 its called AUTOCONF261. Is > this not a violation of the naming convention? The ports names are > not suppose to carry the version number as part of its name. I assume the convention you are referring to is from the Porter's Handbook [5.2.5, Package Naming Conventions]: Otherwise, the PORTNAME should not contain any version-specific information. It is quite normal for several ports to have the same PORTNAME, as the www/apache* ports do; in that case, different versions (and different index entries) are distinguished by the PKGNAMEPREFIX, PKGNAMESUFFIX, and LATEST_LINK values. There is no violation of this convention in this case: % make -C /usr/ports/devel/autoconf261 -V PORTNAME autoconf In any case, the conventions are not followed strictly. For instance, the above section of the Porter's Handbook says, "The first letter of the name part should be lowercase." However, % make -C /usr/ports/graphics/ImageMagick -V PKGNAME ImageMagick-6.4.1.8 Raghavendra. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sed html tags
Well, thanks, Yuri ! That worked much better than all that i had done ! But i have the problem that I don't know what characters to expect... accents, ñ, etc... So i really need a "get everything between the and the first "... Regarding perl, it is perfect ! thanks ! The ? is critical ! Is it what makes what makes the .* non greedy ? Thanks, An M On Tue, Aug 26, 2008 at 1:53 AM, Yuri Pankov <[EMAIL PROTECTED]> wrote: > An wrote: > > unfortunately not... see: > > > > # cat file > > 111 > > > > # sed -e 's/<\/?span[^>]*>//g' file > > 111 > > > > (...nothing happens, the file is returned with no substitutions done) > > > > > > I could do it with a perl script, which basically does what i would > expect > > sed would do: > > > > # cat pscript.pl > > #!/usr/bin/perl -w > > $text = " 111 > > > 111 "; > > $text =~ s/]*>[^\(<\/span>\)]*[\s]*<\/span>[\s]*//g; > > print $text . "\n" > > $text =~ s#.*?\s*##g; > > > # perl pscript.pl > > > > > > " . " is removed... but i don't seem to be able to > do > > it with sed... : ( > > regexps in sed are greedy and, sadly, you can't use *? as quantifier. > try the following (adding characters that can be inside your '' > tags, of course): > sed 's#[ a-zA-Z0-9]*[ ]*##g' > > > Im on fedora c9, maybe that's the problem ? > > > > siran > > > > > > On Mon, Aug 25, 2008 at 8:35 PM, Paul A. Procacci < > [EMAIL PROTECTED]>wrote: > > > >> siran wrote: > >> > >>> Hi, I have the string > >>> > >>> 111 > >>> > >>> And i wish to use sed to strip *only* the "" tag and its > >>> contents... is this possible ? I'm trying this expression, but it > >>> doesn't work... > >>> > >>> sed 's/\)]+<\/span>//g' file > >>> > >>> is there anything like it ? > >>> > >>> I would like to obtain > >>> > >>> > >>> > >>> > >>> > >>> I hope someone can help, > >>> > >>> thank you, > >>> > >>> siran > >>> ___ > >>> freebsd-questions@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>> To unsubscribe, send any mail to " > >>> [EMAIL PROTECTED]" > >>> > >>> > >> sed -E 's/<\/?span[^>]*>//g' > >> > >> Myabe that's what you want? > >> > > > HTH, > Yuri > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re[2]: inventory software?
Tuesday, August 26, 2008, 11:07:31 AM, you wrote: That's great... Thanks.. > On Tue, Aug 26, 2008 at 3:48 PM, Wojciech Puchar < > [EMAIL PROTECTED]> wrote: >> Is there a inventory software in ports tree? >> in base system - simply read /var/run/dmesg.boot > sysutils/dmidecode > cat pkg-descr > Dmidecode is a tool or dumping a computer's DMI (some say SMBIOS) table > contents in a human-readable format. The output contains a description of > the > system's hardware components, as well as other useful pieces of information > such as serial numbers and BIOS revision. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- Best regards, Omermailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
flowchart drawing tool for BSD
Anyone know of a good flowchart drawing tool for BSD? Something like Visio? Laci ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: apache22 and apache20
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Albert Shih wrote: | Hi all | | How can I tell the ports system to use apache22 instead apache20 in all | ports ? | | For example when I compile subversion ports he use apache20 and not | apache22. | | Regards. Stick this in /etc/make.conf: WITH_APACHE2= yes APACHE_PORT=www/apache22 Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkiz3JcACgkQ3jDkPpsZ+VaRfwCfYPUeNzfFB37lfz10qR2YKPxm 4xYAoMHXNjf50dcrF6nFFYzvzyD8ZUZy =HT0D -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to best communicate with my users
Jabber network), but this would require external accounts and the installation of the proper client applications. and all messages goes through some central server. unless it's not your server it's not secure - as using every huge corporation's services like gmail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
apache22 and apache20
Hi all How can I tell the ports system to use apache22 instead apache20 in all ports ? For example when I compile subversion ports he use apache20 and not apache22. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mar 26 aoû 2008 12:29:46 CEST ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to best communicate with my users
Pardon me for asking such a simple questions, but what is the best way of 1) messaging offline users on my system? No e-mail please, I want something more concrete, something displayed immediately upon login, funny to hear that e-mail is so bad ;) 2) talking to users logged onto my system? I find ntalk too frustrating, and ytalk too ASCII artsy. Anything else out there under no idea. i use ytalk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Error compiling KVIRC
I have just compiled FreeBSD 7.0-STABLE with KDE4, done a complete portupgrade, build & install world & kernel ... below is the error when trying to install kvirc c++ -O2 -fno-strict-aliasing -pipe -I/usr/ports/devel/qmake/work/qt-x11- free-3.3.8/mkspecs/freebsd-g++ -I/usr/ports/devel/qmake/work/qt-x11- free-3.3.8/src/tools -I/usr/ports/devel/qmake/work/qt-x11- free-3.3.8/src/kernel -I/usr/ports/devel/qmake/work/qt-x11- free-3.3.8/src/codecs -I/usr/ports/devel/qmake/work/qt-x11- free-3.3.8/qmake/generators/. -I/usr/ports/devel/qmake/work/qt-x11- free-3.3.8/qmake/generators/unix -I/usr/ports/devel/qmake/work/qt-x11- free-3.3.8/qmake/generators/win32 -I/usr/ports/devel/qmake/work/qt- x11-free-3.3.8/qmake/generators/mac -I. - I"/usr/ports/devel/qmake/files" -DQT_NO_TEXTCODEC - DQT_NO_UNICODETABLES -DQT_NO_COMPONENT - DQT_NO_STL -DQT_NO_COMPRESS - DQT_INSTALL_DATA="\"/usr/local/share/qt\"" -o qmake project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o msvc_objectmodel.o meta.o qtmd5.o qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o qdatastream.o qgarray.oqbuffer.o qglist.o qptrcollection.o qfile.o qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o qconfig.o qunicodetables.o qsettings.o qlocale.o pbuilder_pbx.o: file not recognized: File truncated *** Error code 1 1 error *** Error code 2 Stop in /usr/ports/devel/qmake. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/irc/kvirc. *** Error code 1 Stop in /usr/ports/irc/kvirc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Failure to Compile Konversation
I have just compiled FreeBSD 7.0-STABLE with KDE4, done a complete portupgrade build & install world & kernel ... below is the error when trying to install konversation === cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. - DLOCALEDIR=\"/usr/local/share/locale\" -I../lgl -I../lgl -I../includes - I../includes -I./x509 -I../libextra -I../lib/openpgp/ -I./opencdk - I../lib/opencdk -I./minitasn1 -I/usr/local/include -I/usr/local/include -fPIC -pipe -I/usr/local/include -O2 -fno-strict-aliasing -pipe -Wno-pointer-sign -MT gnutls_handshake.lo -MD -MP -MF .deps/gnutls_handshake.Tpo - c gnutls_handshake.c -fPIC -DPIC -o .libs/gnutls_handshake.o gnutls_handshake.c:3038: fatal error: opening dependency file .deps/gnutls_handshake.Tpo: No such file or directory compilation terminated. *** Error code 1 Stop in /usr/ports/security/gnutls/work/gnutls-2.4.1/lib. *** Error code 1 Stop in /usr/ports/security/gnutls/work/gnutls-2.4.1/lib. *** Error code 1 Stop in /usr/ports/security/gnutls/work/gnutls-2.4.1. *** Error code 1 Stop in /usr/ports/security/gnutls/work/gnutls-2.4.1. *** Error code 1 Stop in /usr/ports/security/gnutls. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/irc/konversation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to best communicate with my users
On Tue, 26 Aug 2008 10:52:38 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: > 1) messaging offline users on my system? No e-mail please, I want > something more concrete, something displayed immediately upon login, > no need to go via a third party app. Allthough it might sound strange - you've given the correct answer. You can use the system's mail system, sendmail, in offline mode. [EMAIL PROTECTED]:~% mail -s "Important change" tim Hi Tim, please note that our system changed -this- to -that-. And put the T.P.S. report in my box. Thanks! ^D ... Login: tim Password: You have new mail. [EMAIL PROTECTED]:~% mail & t 1 ... & d 1 & ^D The mail program isn't a third party app, it comes with the FreeBSD OS (base system). See /etc/mail/* for introduction. For important notices everyone should see right after login, you may use /etc/motd. Things that should be displayed prior to the login prompt can be placed into /etc/issue. > 2) talking to users logged onto my system? I find ntalk too > frustrating, and ytalk too ASCII artsy. Anything else out there under > the sun? The normal talk utility isn't appealing enough to you? :-) There might be a solution to use an IM client (e. g. for the Jabber network), but this would require external accounts and the installation of the proper client applications. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to best communicate with my users
Pardon me for asking such a simple questions, but what is the best way of 1) messaging offline users on my system? No e-mail please, I want something more concrete, something displayed immediately upon login, no need to go via a third party app. I'd edit /etc/motd and wrote my message in there - If I recall right there was an option of "force feeding" it to every user despite of user environment settings. -Reko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.4 chroot
On Monday 25 August 2008, Kris Kennaway wrote: > Mihai Donțu wrote: > > Hi, > > > > I've just installed a FreeBSD 6.0-RELEASE and I need a FreeBSD > > 5.4-RELEASE chroot to build something in it (hw shortage). All nice and > > dandy, until I hit a /dev problem: > > > > # svn up > > svn: PROPFIND request failed on '/svn/project' > > svn: PROPFIND of '/svn/project': SSL negotiation failed: SSL disabled due > > to lack of entropy (https://svn.host.com) > > > > # ls -l /dev/random > > crw-rw-rw- 1 root wheel 249, 0 Aug 25 16:19 /dev/random > > > > # cat /dev/random > > cat: /dev/random: Socket operation on non-socket > > > > # rm /dev/random > > > > # mknod /dev/mknod random c 0 10 root:wheel > > > > # chmod 0666 /dev/random > > > > # ls -l /dev/random > > crw-rw-rw- 1 root wheel0, 10 Aug 25 18:28 /dev/random > > > > # cat /dev/random > > cat: /dev/random: Socket operation on non-socket > > > > Clearly, all those years of Linux chroot-ing have affected my brain, but > > Google isn't very helpful either. :) Could someone, please, hint me about > > what I'm doing wrong? > > mount a devfs instance to create the devices (see mount_devfs) instead > of trying to mknod them by hand. Works like magic. :) Thanks! -- Mihai Donțu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Sat, Aug 23, 2008 at 10:14 AM, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On Fri, 1 Aug 2008 17:31:22 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: >> Why can't I make world without the "games" group? I run a serious >> server, not a kindergarten ;) >> >> I don't want the games group there, I just don't need it! > > Have you tried building with an src.conf file that includes: > >WITHOUT_GAMES='yes' > > It' not a matter of `kindergarten or not', but a matter of providing a > predictable `base system' by default and all the knob and documentation > to customize it at will. That's why you can find a lot of customization > options in the manpage of src.conf(5). > > For example, on a `production server' that is a bit limited in space, > and doesn't really need compilers, debuggers, profiling tools, or three > different firewalls, I would probably build with: > >WITHOUT_CVS=yes >WITHOUT_GAMES='yes' >WITHOUT_GCOV=yes >WITHOUT_GDB=yes >WITHOUT_IPFILTER=yes >WITHOUT_IPX=yes >WITHOUT_OBJC=yes >WITHOUT_PROFILE=yes >WITHOUT_SHAREDOCS=yes > > I would also use WITHOUT_TOOLCHAIN=yes during `make installworld' runs, > to skip installing all the gcc, g++ and debugger tools. > > The default `base system' still installs all these parts, but you are > definitely *not* obliged to always install all of them. > > - Giorgos > > Hello hello! Yeah I actually tried that, but I got the same error. I don't see why the FreeBSD team has to insist on keeping this, pardon my language, bullshit. If some sorry guy actually needs this, why can't he load it as a module, or install a port? To quote some Frenchman: "Perfection is achieved, not when there's nothing left to add, but when there's nothing left to take away." I worry slightly as I watch FreeBSD become bigger and bigger, fearing that some day it'll all come tumbling down! -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I can't make world without the "games" group?
On Fri, 1 Aug 2008 17:31:22 +0200, "Redd Vinylene" <[EMAIL PROTECTED]> wrote: > Why can't I make world without the "games" group? I run a serious > server, not a kindergarten ;) > > I don't want the games group there, I just don't need it! Have you tried building with an src.conf file that includes: WITHOUT_GAMES='yes' It' not a matter of `kindergarten or not', but a matter of providing a predictable `base system' by default and all the knob and documentation to customize it at will. That's why you can find a lot of customization options in the manpage of src.conf(5). For example, on a `production server' that is a bit limited in space, and doesn't really need compilers, debuggers, profiling tools, or three different firewalls, I would probably build with: WITHOUT_CVS=yes WITHOUT_GAMES='yes' WITHOUT_GCOV=yes WITHOUT_GDB=yes WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_OBJC=yes WITHOUT_PROFILE=yes WITHOUT_SHAREDOCS=yes I would also use WITHOUT_TOOLCHAIN=yes during `make installworld' runs, to skip installing all the gcc, g++ and debugger tools. The default `base system' still installs all these parts, but you are definitely *not* obliged to always install all of them. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to best communicate with my users
Hello hello! Pardon me for asking such a simple questions, but what is the best way of 1) messaging offline users on my system? No e-mail please, I want something more concrete, something displayed immediately upon login, no need to go via a third party app. 2) talking to users logged onto my system? I find ntalk too frustrating, and ytalk too ASCII artsy. Anything else out there under the sun? Much obliged, ladies and gentlemen. Redd -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: inventory software?
On Tue, Aug 26, 2008 at 3:48 PM, Wojciech Puchar < [EMAIL PROTECTED]> wrote: > Is there a inventory software in ports tree? >> > > in base system - simply read /var/run/dmesg.boot sysutils/dmidecode cat pkg-descr Dmidecode is a tool or dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. The output contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ports AUTOCONFxxx
Why does the AUTOCONFxxx change the suffix between Freebsd releases? In 6.2 it was called AUTOCONF259 in 7.0 its called AUTOCONF261. Is this not a violation of the naming convention? The ports names are not suppose to carry the version number as part of its name. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OpenLDAP amd64/i386 weirdness
Hello, I made some strange experiences in running OpenLDAP 2.4.11 on both i386 and amd64 architectures of the most recent FreeBSD 7.0-STABLE. I already setup and run three servers (fourth is coming soon). Two of them are based on FreeBSD amd64, one is based on i386. The do have almost the same configuration, the same portrevision of both nss_ldap and pam_ldap I need to use (nss_ldap-1.257, pam_ldap-1.8.4), and, of course, the same OpenLDAP port (openldap-sasl-client-2.4.11,openldap-sasl-server-2.4.11) an the same SASL2 libraries taken from port (cyrus-sasl-ldapdb-2.1.22). So, this is the base on ALL boxes! Also the changes in /etc/pam.d/system, /etc/pam.d/sshd, /etc/pam.d/other and /etc/pam.d/passwd are exactly the same. So, now the weird thing. On all amd64-boxes I can config /etc/nsswitch.conf this way and it works: passwd: compat passwd_compat: ldap group: compat group_compat: ldap The manpages do not reveal anything about 'ldap' is allowed (FreeBSD is in this case far behind anything else out the server market, a shame), I tried it and had success on all of my amd64-boxes. But using the same on the third i386-server fails. And now I'm asking myself what I've done magic or wrong or have overseen (a small piece in the chain of configurations) or is there indeed a difference between amd64 and i386 in handling this? Thanks in advance, Oliver P.S. Please respond to my email also, I'm not subscriber of the 'questions' list. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: inventory software?
On Tue, 26 Aug 2008 10:01:38 +0300, Omer Faruk SEN <[EMAIL PROTECTED]> wrote: > > > Hello, > > Is there a inventory software in ports tree? What i want is to learn all > hardware details (ram , cpu , mainboard etc. serial numbers and amount of > them). I need a simple program that does this but couldn't able to find in > ports tree As long as the machines you want to list are FreeBSD, UNIX or at least Linux, I'd suggest the following procedure (which will look old-fashioned, but it includes the chance to learn and practice): 1. run dmesg on the machines 2. grep / awk for the data fields you're interested in 3. create a CSV database 4. add the information that can't be obtained automatically (e. g. serial numers) 5. convert the database into any format you like (e. g. XML) or just run on the CSV datasets for summarizing / counting informations Yes, ugly suggestion, I know. But I think implementing this will need less time than searching for a program to do it for you based on trial & error. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA, RAID and AHCI
On 26 Aug 2008 , [EMAIL PROTECTED] entreated about "freebsd-questions Digest, Vol 230, Issue 4": > Message: 25 > Date: Mon, 25 Aug 2008 22:29:08 -0600 > Subject: SATA, RAID and AHCI > > Hi, > > This question is about the storage settings for this board (ASUS' name > for it is "Storage Configuration"). In the CMOS (or whatever it's > called these days, just out of curiousity, will FreeBSD support things > like OpenBoot or UEFI on i386, sorry for the digression), I found > where to turn the "Storage Configuration," as ASUS calls it, from > "IDE," to "RAID," or "AHCI." It's currently set to "IDE" because when > set to RAID the MOBO apparently kept trying to put the SATA DVD drive > as part of the RAID and when set to AHCI mode the install had hundreds > of, "can't create symlink, no inodes free," during the copying of the > files into the newly created file systems. strange things. I have an Intel 965 board which has similar settings. I had no trouble installing 7 Release using the RAID setting. There is a ctrl+F10 or somesuch keypress during boot which takes one into the BIOS RAID setup, where you can choose which drives go into the RAID, and what form of RAID it is (mine is RAID5 across 4x400Gb SATA drives). The machine boots off 2x80G IDE drives in a gmirror arrangement. Strangely, FBSD still recognizes the 4 SATA drives as individuals, and then loads the ar driver for the raid array. > Now, I'm a complete neophyte to making these SATA RAID systems. > What's the magic to making it work, and how do you keep the DVD drive > from being part of the RAID? Also, what should be done for AHCI mode? > It looked as though in this mode the drives would perform *much* > faster. RAID mode is what you want to make work. As to speed. my home machine runs Fedora Core and under FC5 I could not set to anything but 'IDE legacy mode' where it mapped all the SATA devices into the IDE space. This severely affected access speed. Since I use the box for multitrack sound recording, this was a big problem. As soon as I could I upgraded to FC6 which has support for native SATA mode and now I get 50MB/s sustained write speed. much happier writing 8 tracks at 48khz (-: So, I suggest checking the BIOS for setup options that allow you to spec the RAID config. oh, and replace the onboard lan with an Intel card. they rock -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: inventory software?
Omer Faruk SEN ha scritto: Hello, Is there a inventory software in ports tree? What i want is to learn all hardware details (ram , cpu , mainboard etc. serial numbers and amount of them). I need a simple program that does this but couldn't able to find in ports tree If you want to that for a whole network, you might try net-mgmt/ocsinventory-ng. bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: inventory software?
Is there a inventory software in ports tree? in base system - simply read /var/run/dmesg.boot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
inventory software?
Hello, Is there a inventory software in ports tree? What i want is to learn all hardware details (ram , cpu , mainboard etc. serial numbers and amount of them). I need a simple program that does this but couldn't able to find in ports tree Thanks in advance. Regards. -- Best regards, Omer mailto:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Joy stick not being detected!
On Mon, 25 Aug 2008 17:55:57 + Christopher Joyner wrote: > I have a Gravis GamePad Pro hooked up to a ISA SBLive! > emu10k1 loads, but the joy stick is not detected. > > I am loading the module manually, kldload joy, only loads but no feedback. > > Am I missing something? Try the one-line perl example in joy(4) to see if your joystick works, for some value of 'works' .. ie actually logs changing axis values and button press/release status. I don't think there's any specific support for joysticks, you pretty much have to write your own. With what program did you hope to use it? Years ago I wrote a little rexx program that read (pseudo) joystick X,Y values and button (actually relay switch) values for detecting and controlling shutdown conditions for a simple-interface Liebert UPS, using the standard joystick / MIDI port on a couple of ISA cards. >From memory it only worked right when device joy was compiled into kernel, not kldloaded - but that was way back around FreeBSD 3.3 .. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"