Re: default acl's permissions problem [continuation?]
Nathanael Jean-Francois wrote: Hi all, I've run into the little snag with default acl permissions, the issue was brought up in this thread http://marc.theaimsgroup.com/?l=freebsd-questionsm=18504532207w=2 but there was no reply to it and my digging so far hasn't turned up anything substantial. If anyone knows of a solution for this please let me know. Thanks -Nathanael Hello, I don't understand the acl and mask support for defaults. But I have found a way to make them work as I *think* they should. Here is an example similar to the one in the link you provided. # mount /dev/ad2s1h on /home (ufs, local, soft-updates, acls) # cd /home # mkdir cvsroot # chown cvs:cvs cvsroot # chmod 2770 cvsroot # ls -la drwxrws--- 2 cvs cvs512 Jun 17 23:46 cvsroot/ # umask 22 # touch cvsroot/te # ls -la cvsroot/te -rw-r--r-- 1 root cvs 0 Jun 17 23:48 cvsroot/te # umask 0007 - this turns out to be the solution. # touch cvsroot/tes # ls -la cvsroot/tes -rw-rw 1 root cvs 0 Jun 18 02:00 cvsroot/tes Now for the acls part. # setfacl -d -m u::rwx,m::rwx,g::rwx,o::--- cvsroot/ # getfacl -d cvsroot/ #file:cvsroot/ #owner:1012 #group:1012 user::rwx group::rwx mask::rwx other::--- Ok, so far so good. # touch cvsroot/test # getfacl cvsroot/test #file:cvsroot/test #owner:0 #group:1012 user::rw- group::rwx # effective: rw- mask::rw- other::--- Hmmm. Ok, so it didn't make it executable. A good thing. Add some groups to the default acl on cvsroot/ # setfacl -d -m g:cvsuser:r-x,g:cvsadmin:rwx cvsroot/ # getfacl -d cvsroot/ #file:cvsroot/ #owner:1012 #group:1012 user::rwx group::rwx group:cvsuser:r-x group:cvsadmin:rwx mask::rwx other::--- Now the acl entries on cvsroot/ itself: # setfacl -m g:cvsuser:r-x,g:cvsadmin:rwx cvsroot/ # getfacl cvsroot/ #file:cvsroot/ #owner:1012 #group:1012 user::rwx group::rwx group:cvsuser:r-x group:cvsadmin:rwx mask::rwx other::--- What I Want 1. All new files created to be read for cvsuser. 2. New directories to be read/exec for cvsuser. 3. All files created to be read/write for cvsadmin. 4. New directories to be read/write/exec for cvsadmin. 5. The defaults will propagate down the tree so that sub-sub directories inherit the same permissions. 6. The user and group cvs has full control. 7. Any other users have no permissions. What I Get # mkdir cvsroot/dir1 # touch cvsroot/file1 # ls -lad cvsroot/* drwxrwx---+ 2 root cvs 512 Jun 18 02:19 cvsroot/dir1/ -rw-rw+ 1 root cvs0 Jun 18 02:19 cvsroot/file1 Looks OK from that angle. Items 6 and 7 are satisfied. # getfacl cvsroot/* #file:cvsroot/dir1 #owner:0 #group:1012 user::rwx group::rwx group:cvsuser:r-x group:cvsadmin:rwx mask::rwx other::--- Good. Items 2 and 4 are satisfied. #file:cvsroot/file1 #owner:0 #group:1012 user::rw- group::rwx # effective: rw- group:cvsuser:r-x # effective: r-- group:cvsadmin:rwx # effective: rw- mask::rw- other::--- Better. Items 1 and 3 are satisfied. Finally: # getfacl -d cvsroot/dir1 #file:cvsroot/dir1 #owner:0 #group:1012 user::rwx group::rwx group:cvsuser:r-x group:cvsadmin:rwx mask::rwx other::--- # touch cvsroot/dir1/file2 # mkdir cvsroot/dir1/dir2 # ls -lad cvsroot/dir1/* drwxrwx---+ 2 root cvs 512 Jun 18 02:26 cvsroot/dir1/dir2/ -rw-rw+ 1 root cvs0 Jun 18 02:26 cvsroot/dir1/file2 # getfacl -d cvsroot/dir1/dir2/ #file:cvsroot/dir1/dir2/ #owner:0 #group:1012 user::rwx group::rwx group:cvsuser:r-x group:cvsadmin:rwx mask::rwx other::--- # getfacl cvsroot/dir1/dir2/ #file:cvsroot/dir1/dir2/ #owner:0 #group:1012 user::rwx group::rwx group:cvsuser:r-x group:cvsadmin:rwx mask::rwx other::--- # getfacl cvsroot/dir1/file2 #file:cvsroot/dir1/file2 #owner:0 #group:1012 user::rw- group::rwx # effective: rw- group:cvsuser:r-x # effective: r-- group:cvsadmin:rwx # effective: rw- mask::rw- other::--- Excellent. Item 5 is satisfied. Those are all my requirements. This entire discovery process, although nice and tidy above, was filled with a certain amount of grief. It was only until I reset the umask to 0007 that things started to work as expected. Now this bothers me for two reasons. I don't want my umask to have to be 0007. What if I'm in a working directory that doesn't require propagating acls? Then I'm stuck setting my umask back to something sensible like 0027 before creating files without extended acl entries. I have a difficult time remembering little details like that. Not only that, but I'll have to remember to set it back to 0007 (or maybe , horrors) if I want to use propagating acls and have them behave as I expect as shown above. I can easily set a process' umask through cron et al, but how do I set it for cvs users using the protocol :ext:server:/home/cvsroot with ssh? Can anyone explain this further? Thanks. Mark P.S. Below is the behaviour that perplexed me earlier. It is not what I expect and does not meet my
Doom Alien Doom
Hello, I am a doom addict and I just found out that doom is available from the ports tree :) I could install doom legacy but needed to download the doom.wad file and copy it to the doomlegacy directory. I could then run doom with no problems but because it is shareware I could not use all the weapons. I really want to be able to get Alien Doom up and running but I am not sure which files I need. Is there a full Linux version of Alien doom that I could get off the net? Cheers, Caleb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Random resets - N440BX
On Fri, 2005-Jun-17 16:54:39 -0700, Larry Gadallah wrote: Now I'm experiencing random reboots, no core dumps or log messages and I'm trying to figure out what's gone wrong. I've dug up a few notes indicating that power supply or RAM are suspect. Does anyone know if going from P-IIs to P-IIIs would cause that much more stress on what should be a very solid system? The P-III's are presumably a newer process than the P-II's so they probably draw about the same amount of power. That said, the (presumably) reduced Vcore (and increased current) will increase the stress on the motherboard Vcore regulator. If Samuel's suggestions don't pan out, I'd start looking at the electrolytic capacitors in your PSU and/or motherboard. After 3-4 years of continuous use, they may be getting marginal - particularly if any are near heat-producing components. Replacing the electros on the motherboard isn't a particularly difficuly task if you have a decent soldering iron, solder sucker and are used to working on boards with plated-through holes. -- Peter Jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SMP and networking under FreeBSD 5.3
Joe wrote: Okay, back on topic. I've changed my rules in ipfw, and no longer get the hostname .. messages. Now natd does not start and it complains 'unable to bind divert socket, and then cant assign requested address'. I'm using: natd_enable=YES natd_interface=dc0 natd_flags=-dynamic -d -log_ipfw_denied -log_denied These are my parameters below which definitely work -- or you wouldn't be seeing this email :) I can't see anything obviously wrong with yours; what I would suggest is to start with just -dynamic since that's the only one that's *required* for this setup to work and see how that does. I can't find your original rules: I assume that a) dc0 *is* your external interface (typos are a common source of errors, though I don't think that's the case here) b) you have an ifconfig_dc0=DHCP line in /etc/rc.conf. natd_enable=YES # Natd packet translation natd_flags=-log -log_denied -dynamic natd_interface=sis0 ifconfig_sis0=DHCP# External network At startup I get a message like: Jun 18 10:38:58 natd[701]: Aliasing to 0.0.0.0, mtu 1500 bytes just after the firewall rules start up. The divert rule in my firewall says: ipfw add divert natd all from any to any via ${natd_interface} If you have static rules rather than a script then you need ${natd_interface} to be replaced directly with dc0. The other things to check, I guess, are that those are the *only* natd lines you have: egrep natd /etc/rc.conf /etc.rc.conf.local --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix or qmail?
hi, I've a simple question, postfix or qmail? :), I've a fair review for both from some linux admins, now, I want to know fbsd's community opinion :). The mail server (now running sendmail) serves ~300 accounts. Other thing (perhaps, the one that I interest more your opinion), do anyone know why MacOS X Server is using postfix instead of qmail? (i mean, the latter is far more popular, right?), thanks ppl -- Los buenos artistas copian, los grandes roban -- Steve Jobs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Booting with multiple RAID1 configs
You might use loader(8) to set the root device (rootdev variable) explicitly to ar1s1a. Then you should also update fstab to reflect the numbering change. I don't know of any way to change the ata numbering scheme. Mainboard controllers always seem to be probed (and numbered) first. I think there is no way to get your original raid back to ar0 if you also use your mainboard controllers. Thank you so, so much. After trying to mount / to ufs:/dev/ar1s1a at the MountRoot prompt and it failing, I thought something more serious was the problem, so: - I added kern.rootdev=/dev/ar1s1a to sysctl.conf - Changed the / fs in /etc/fstab to point to /dev/ar1s1a At that point, the system loaded the root filesystem, but since that was the only one I changed, it errored out mounting the rest (which was expected). I simply mounted them manually /dev/ar1s1N to /usr /var and /home, remounted the / filesystem rw, ee the /etc/fstab and changed all the mountpoints to ar1, rebooted, and all is well! I now have 2 RAID1 configs on the same box, and am successfully booting off of the promise raid properly before the motherboard disks!! Thanks to all who provided feedback! I hope this situation can help someone else who wants to boot off of an arbitrary disk before the motherboard disk in the future! Steve Cheers Titus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice replacing Xorg with XFree86_4 - Nightmare on Elm Street Up_1
Greg .. Right THEY (pkg_add, _delete, _info) are my friends.. Kent .. Could NOT find how to get XFree86-4.5.0,1 .. so Thought I was doing pretty good grepping out all the pkg_info refering xorg, 6.8.2 also, and pkg_delete -d-r each_found Then after editing the /etc/make.conf file to point back to the much more mature XFree86 .. What EVER POSSESSED us to make Xorg a default without warning, mentioning it DOES NOT understand some MODERN, POPULAR, DRIVERS, eg Mine. Then Here Came Freddie on Elm Street ... since ggv was hosed I could NOT cd the /usr/ports/gnome2 and make install .. that died an early death .. Finally falling fast onto my sword I did the effort to pkg_add -f -r for gnome2 .. Now on my fast Sempron 2400, best part of an hour of ... pkg_add: package 'xorg-fonts-encodings-6.8.2' conflicts with XFree86-fontEncodin gs-4.4.0 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to f orce installation pkg_add: pkg_add of dependency 'xorg-fonts-encodings-6.8.2' failed (proceeding a nyway) Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/All/x org-libraries-6.8.2.tbz... Done. pkg_add: package 'xorg-libraries-6.8.2' conflicts with XFree86-libraries-4.4.0_3 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to f orce installation pkg_add: pkg_add of dependency 'xorg-libraries-6.8.2' failed (proceeding anyway) Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/All/l ibglut-6.0.1.tbz... Done. AND of course looks like there are thousands of dependencies like this to DELETE,? REINSTALL? to get RID of Xorg .. Is there a faster way other than throwing in the towel on FreeBSD and reverting to Fedora or Knoppix for my public servers? /Everett/ On 6/17/05, Kent Stewart [EMAIL PROTECTED] wrote: On Friday 17 June 2005 07:53 pm, Everett Batey wrote: Two weeks of fighting with Xorg on FreeBSD_4 .. CAN ANYONE tell me the steps for hopefully deleting Xorg and replacing with XFree86_4. That runs fine with my KM3M-V on board video .. PLEASE, I hate to think of leaving BSD after this many years on my servers. You pkg_delete anything that starts with xorg-* and imake. Change make.conf to have X_WINDOW_SYSTEM=xfree86-4 You might be able to get away with just installing XFree86-4.5.0,1 and imake but I have a tendancy to think Murphy will get involved. If that happens, you will need to bebuild most/all of your ports that use XFree86. If you didn't do that when you installed xorg, that could be part of your problem. FWIW, xorg doesn't work well on my FreeBSD-4.x systems. I installed it, got tired of not being able to switch between the Spanish keyboard layout and English and reinstalled everything that had been built with XFree86. I had packages on an almost identical computer, so it wasn't a big deal and did a package install of everything. Other than the layout, it worked just fine, so, you have other problems. Kent Thank you -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html -- Ev Batey -- WA6CRE -- [EMAIL PROTECTED] 805 340-6471 http://www.cotdazr.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Booting with multiple RAID1 configs
You might use loader(8) to set the root device (rootdev variable) explicitly to ar1s1a. Then you should also update fstab to reflect the numbering change. I don't know of any way to change the ata numbering scheme. Mainboard controllers always seem to be probed (and numbered) first. I think there is no way to get your original raid back to ar0 if you also use your mainboard controllers. Hence, the aftermath on a properly booted system: pearl# atacontrol status 1 ar1: ATA RAID1 subdisks: ad4 ad6 status: READY pearl# atacontrol status 0 ar0: ATA RAID1 subdisks: ad2 ad0 status: READY pearl# df -h FilesystemSize Used Avail Capacity Mounted on /dev/ar1s1a 246M 185M41M82%/ /dev/ar1s1g38G 9.7G26G27%/home /dev/ar1s1e38G 3.3G32G 9%/usr /dev/ar1s1f29G 7.9G19G30%/var procfs4.0K 4.0K 0B 100%/proc I must add that atacontrol is such a much simpler RAID manipulation tool than vinum. I haven't done any redundancy checks or anything as of yet, but it almost seems too good to be in the base system :) Steve Cheers Titus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice replacing Xorg with XFree86_4 - Nightmare on Elm Street Up_1
* On Sat, Jun 18, 2005 at 07:52:31AM -0700 Everett Batey wrote: Then after editing the /etc/make.conf file to point back to the much more mature XFree86 .. What EVER POSSESSED us to make Xorg a default without warning, mentioning it DOES NOT understand some MODERN, POPULAR, DRIVERS, eg Mine. [snip] Is there a faster way other than throwing in the towel on FreeBSD and reverting to Fedora or Knoppix for my public servers? Too late - looks like fedora now uses xorg too. http://fedora.redhat.com/docs/release-notes/fc4/#sn-xwindows-xorg Mark -- The fix is only temporary...unless it works. - Red Green ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix or qmail?
Hi Luciano, I've a simple question, postfix or qmail? the simple answer: both are good. If you're using sendmail right now, the change to postfix should be easier. I've heard that postfix is slightly faster when it comes to really massive number of emails (less disc-writing) but that shouldn't bother you with 300 accounts. Other thing (perhaps, the one that I interest more your opinion), do anyone know why MacOS X Server is using postfix instead of qmail? Perhaps licensing questions? (i mean, the latter is far more popular, right?) I don't think so. Both are heavy-used sendmail-replacements. -volker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix or qmail?
Luciano Musacchio wrote: hi, I've a simple question, postfix or qmail? :), I've a fair review for both from some linux admins, now, I want to know fbsd's community opinion :). The mail server (now running sendmail) serves ~300 accounts. From limited experience, Postfix is much better documented and has a great O'Reilly book. So far, everything I've needed to do, postfix just did. IMHO, the main author has a great track record in the Unix world. qmail documentation is, as far as I can tell, just Life with Qmail (google should do it). It has some interesting tricks (an email address like user can automatically have aliases like user-*) that I haven't really explored, but the manual pages are just rubbish. It also uses a Maildir format by default and takes a bit of tweaking to use regular /var/spool/mail. I haven't done anything tricky with it qmail, so take this with a pinch of salt, but I'd buy the O'Reilly book and pick Postfix. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix or qmail?
On Saturday 18 June 2005 06:24 am, Luciano Musacchio wrote: I've a simple question, postfix or qmail? :) My choice is Postfix. It's still under active development and isn't hampered by bizarre licensing and enormous egos. Furthermore, Qmail seems to have earned its reputation for security the standard DJB way: by implementing only the easy parts of the standard and complaining loudly about the hard parts (those are insecure!) until everyone quits asking for them. Other thing (perhaps, the one that I interest more your opinion), do anyone know why MacOS X Server is using postfix instead of qmail? All technical debates aside, Qmail isn't F/OSS software. They couldn't ship it without getting a custom license. -- Kirk Strauser pgpznT7FmRNty.pgp Description: PGP signature
Re: Booting with multiple RAID1 configs
On Saturday 18 June 2005 16:51:16, Steve Bertrand wrote: Hence, the aftermath on a properly booted system: pearl# atacontrol status 1 ar1: ATA RAID1 subdisks: ad4 ad6 status: READY pearl# atacontrol status 0 ar0: ATA RAID1 subdisks: ad2 ad0 status: READY pearl# df -h FilesystemSize Used Avail Capacity Mounted on /dev/ar1s1a 246M 185M41M82%/ /dev/ar1s1g38G 9.7G26G27%/home /dev/ar1s1e38G 3.3G32G 9%/usr /dev/ar1s1f29G 7.9G19G30%/var procfs4.0K 4.0K 0B 100%/proc I must add that atacontrol is such a much simpler RAID manipulation tool than vinum. I haven't done any redundancy checks or anything as of yet, but it almost seems too good to be in the base system :) Just a hint: Try out what happens if you disconnect one drive of each of your raid-arrays and you are rebooting the machine afterwards. I had some bad experience in the past with dual-ataraid configurations where the ataraid driver mixed up devices in case of an array breakage. I ended up with gmirror which stores its raid config data on disk. This means gmirror takes care of which disk belongs to which array. It is able to work independent of any controller/channel to disk mapping. Cheers ch -- Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu pgpdlCe0TYMmk.pgp Description: PGP signature
Re: postfix or qmail?
On Saturday 18 June 2005 10:21 am, Alex Zbyslaw wrote: It has some interesting tricks (an email address like user can automatically have aliases like user-*) In Postfix's main.cf: recipient_delimiter (default: empty) The separator between user names and address extensions (user+foo). I set mine to + and use it all the time whenever I give out my address (although I subscribed to this mailing list before I migrated to Postfix so you won't see it on my messages here). For example, my listed address on Slashdot is [EMAIL PROTECTED]. -- Kirk Strauser pgpF1Q5KM1uxD.pgp Description: PGP signature
Re: postfix or qmail?
On Sat, 2005-06-18 at 15:21, Alex Zbyslaw wrote: Luciano Musacchio wrote: qmail documentation is, as far as I can tell, just Life with Qmail (google should do it). It has some interesting tricks (an email address like user can automatically have aliases like user-*) that I haven't really explored, but the manual pages are just rubbish. It also uses a Maildir format by default and takes a bit of tweaking to use regular /var/spool/mail. There is a variation on life with qmail - qmailrocks.org. I've been runnning a server setup following the qmailrocks setup for 12 months now with no real problems. Although qmail is not being developed, there are some more patches in the pipeline to keep it up to date. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hardware crypto questions
I have an option to get a PCI crypto card based on the Broadcom BCM5820 chipset. I see the card is still listed as current at Broadcom's site and that it is supported via the ubsec(4) driver in FreeBSD. Does anyone know a few of the various common and current crypto cards? I am having a hard time finding any benchmarks or comparisons of various cards and can't tell what to expect from this hardware. Also, can someone point me to a utility or method of benchmarking before/after this card (software vs. hardware) specifically for SSL transactions? (Card is intended to go into server doing some HTTPS commerce transactions.) Server is almost-current dual 2.8Ghz dual core x386 machine. Thanks you - d. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Core Dumping
Just an update on this, everything has been fine since I deleted the file. No more crashes. Strange. -JT On 6/14/05, J T [EMAIL PROTECTED] wrote: Hi, For some reason my machine keeps crashing almost every night at around 3:00am with the following test in the messages log file: Jun 14 03:02:28 taco kernel: pid 7174 (sh), uid 0: exited on signal 11 (core dumped) I tracked it down to cvsup. I run it every night at 3:00am, the following is the log file that I make it create: ===update-os started by root on at Mon Jun 13 03:01:00 2005=== Connected to cvsup.ca.freebsd.org Updating collection src-all/cvs TreeList failed: Error in /usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3: 37510: File is truncated. Delete it and try again. ===update-os started by root on at Tue Jun 14 03:01:00 2005=== Connected to cvsup.ca.freebsd.org Updating collection src-all/cvs TreeList failed: Error in /usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3: 37510: File is truncated. Delete it and try again. The following is the 'update-os' script I made: echo ===update-os started by $USER on $HOST at `date +%c`=== /usr/local/etc/cvsup/log/update-os.log #!/bin/sh echo Updating OS sources with cvsup... /usr/local/bin/cvsup /usr/local/etc/cvsup/supfile.os /usr/local/etc/cvsup/log/update-os.log The supfile.os: *default host=cvsup.ca.freebsd.org compress *default release=cvs *default base=/usr/local/etc/cvsup *default prefix=/usr *default delete use-rel-suffix *default tag=RELENG_5_3 src-all I decided to rm the file '/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3' just to see if that fixed it. And it did, but why was it crashing the entire box? -- - [EMAIL PROTECTED] -- - [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: Kernel Core Dumping
On 6/18/2005 23:40, J T wrote: Just an update on this, everything has been fine since I deleted the file. No more crashes. Strange. -JT On 6/14/05, J T [EMAIL PROTECTED] wrote: Hi, For some reason my machine keeps crashing almost every night at around 3:00am with the following test in the messages log file: Jun 14 03:02:28 taco kernel: pid 7174 (sh), uid 0: exited on signal 11 (core dumped) I tracked it down to cvsup. I run it every night at 3:00am, the following is the log file that I make it create: ===update-os started by root on at Mon Jun 13 03:01:00 2005=== Connected to cvsup.ca.freebsd.org Updating collection src-all/cvs TreeList failed: Error in /usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3: 37510: File is truncated. Delete it and try again. ===update-os started by root on at Tue Jun 14 03:01:00 2005=== Connected to cvsup.ca.freebsd.org Updating collection src-all/cvs TreeList failed: Error in /usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3: 37510: File is truncated. Delete it and try again. The following is the 'update-os' script I made: echo ===update-os started by $USER on $HOST at `date +%c`=== /usr/local/etc/cvsup/log/update-os.log #!/bin/sh echo Updating OS sources with cvsup... /usr/local/bin/cvsup /usr/local/etc/cvsup/supfile.os /usr/local/etc/cvsup/log/update-os.log The supfile.os: *default host=cvsup.ca.freebsd.org compress *default release=cvs *default base=/usr/local/etc/cvsup *default prefix=/usr *default delete use-rel-suffix *default tag=RELENG_5_3 src-all I decided to rm the file '/usr/local/etc/cvsup/sup/src-all/checkouts.cvs:RELENG_5_3' just to see if that fixed it. And it did, but why was it crashing the entire box? -- - [EMAIL PROTECTED] I strongly feel that you need to check for BAD RAM modules. Regards S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice replacing Xorg with XFree86_4
On 6/17/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: On Friday, 17 June 2005 at 19:53:50 -0700, Everett Batey wrote: [snipped] That runs fine with my KM3M-V on board video .. Interesting. In general Xorg seems to work better. The problem he is having is that the via xorg driver won't work for the onboard VIA S3 UniChrome (KM400, CLE266, etc. chipsets). It's (the via driver) the correct driver, so it should work. Also it doesn't work in FreeSIBE 1.1 (FreeBSD 5.2ish?). It only seems to work with XFree86, I'm not sure though if he tried it with an Xorg based Linux distro to see if it was a FreeBSD problem or an Xorg problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix or qmail?
Kirk Strauser wrote: My choice is Postfix. It's still under active development and isn't hampered by bizarre licensing and enormous egos. Active development has to be the killer argument. Who wants to rely on software that no-one cares enough about to develop properly? Furthermore, Qmail seems to have earned its reputation for security the standard DJB way: by implementing only the easy parts of the standard and complaining loudly about the hard parts (those are insecure!) until everyone quits asking for them. DJB? On Saturday 18 June 2005 10:21 am, Alex Zbyslaw wrote: It has some interesting tricks (an email address like user can automatically have aliases like user-*) Kirk Strauser wrote: In Postfix's main.cf: recipient_delimiter (default: empty) The separator between user names and address extensions (user+foo). I set mine to + and use it all the time whenever I give out my address (although I subscribed to this mailing list before I migrated to Postfix so you won't see it on my messages here). For example, my listed address on Slashdot is [EMAIL PROTECTED]. Learn something every day, thanks! Guess my postfix instinct was justified :-) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Making a custom FreeBSD iso
Im ripping the iso image from the cd with dd dd if=/dev/acd0 of=file.iso bs=2048 Then, Im mounting the iso image mdconfig -a -t vnode -f /usr/iso-orig/file.iso -u 0 mount -t cd9660 /dev/md0 /iso ..and copying its contents to disk with cp -R tar cf - .|(cd /newdir;tar xpf -) would be better and copy all dev's etc properly. Now, all of the sudden, the /rescue dir grows from 3.5M to 455M so after i copy my scripts to the extracted iso filesystem on my hard disk and try to make an iso I cannot burn the ISO because its way too big. Can anyone help me with this? iso9660 doesn't have links marked as links. just relink them all same-sized files to one ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice replacing Xorg with XFree86_4 - Nightmare on Elm Street Up_1
On 6/18/05, Mark Frank [EMAIL PROTECTED] wrote: * On Sat, Jun 18, 2005 at 07:52:31AM -0700 Everett Batey wrote: Then after editing the /etc/make.conf file to point back to the much more mature XFree86 .. What EVER POSSESSED us to make Xorg a default without warning, mentioning it DOES NOT understand some MODERN, POPULAR, DRIVERS, eg Mine. [snip] Is there a faster way other than throwing in the towel on FreeBSD and reverting to Fedora or Knoppix for my public servers? Too late - looks like fedora now uses xorg too. The only one I can think of right now that uses XFree86 is debian, knoppix is based on debian. Why on earth does debian 3.1 still use the 2.4 kernel? And here is something I'd never thought I'd say, I installed SuSE Pro 9.3 on my notebook (Omnibook 6000). I was so impressed with it that removed the FreeBSD slice, well that and the fact that grub doesn't do ufs2 and BSD doesn't do Riser, one had to go. FreeBSD is still number 1 in my book, just not on notebooks. anyways ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice replacing Xorg with XFree86_4
Kirk Strauser [EMAIL PROTECTED] .. ALSO replied .. I should forget XFree86 and move smartly over to X.org .. YES .. Only If I DO NOT WANT to use any X-windows on either of the last two MoBos I have fooled with this month. Nikolas , I have no idea of where I would find an X.org based Linux quick to try .. Installing Knoppix 3.4 (sorta debian) was a few minutes ... I expect I would have no probs with FC3 which runs at work on laptops and middle age 400 to 1200 mhz office machines. On FreeBSD XFree86_4.4 (i think I have here) Driver vga paints garbage, Driver via gets me a fine matte and mouse pointer X but nothing more .. no xterms. etc .. ALAS .. I mostly disengorged X.org from my FBSD 5.4 AND now XFree86 is AT LEAST able to paint the screen with a mattte and show me a mouse .. I am sure I did not loose all the mess .. when I tried to rebuild gnome .. I got many mentions of xorg682 debris .. BUT I WAS able to paint a screen .. X.org NEVER LET ME paint a screen .. FreeSBIE 1.1 let me have a very garbaged and fully X11 screen ... I have had TWO MSI mobos with onboard video, looked like VIA / VIATECH / S3 ... CURRENT Hardware PCI .last, last -1 are VIA .. See SCANPCI at bottom .. PCI On Boaord video right after the Rhine II Ether device .. pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1106 device 0x7205 VIA Technologies, Inc. Device unknown CardVendor 0x1462 card 0x7061 (Card unknown) /Ev/ On 6/18/05, Nikolas Britton [EMAIL PROTECTED] wrote: On 6/17/05, Greg 'groggy' Lehey [EMAIL PROTECTED] wrote: On Friday, 17 June 2005 at 19:53:50 -0700, Everett Batey wrote: [snipped] That runs fine with my KM3M-V on board video .. Interesting. In general Xorg seems to work better. The problem he is having is that the via xorg driver won't work for the onboard VIA S3 UniChrome (KM400, CLE266, etc. chipsets). It's (the via driver) the correct driver, so it should work. Also it doesn't work in FreeSIBE 1.1 (FreeBSD 5.2ish?). It only seems to work with XFree86, I'm not sure though if he tried it with an Xorg based Linux distro to see if it was a FreeBSD problem or an Xorg problem. SCANPCI pci bus 0x cardnum 0x00 function 0x00: vendor 0x1106 device 0x3205 VIA Technologies, Inc. Device unknown STATUS0x2230 COMMAND 0x0006 CLASS 0x06 0x00 0x00 REVISION 0x00 BIST 0x00 HEADER 0x00 LATENCY 0x08 CACHE 0x00 BASE0 0xe008 addr 0xe000 MEM PREFETCHABLE BYTE_00x00 BYTE_1 0x19 BYTE_2 0x88 BYTE_3 0x80 pci bus 0x cardnum 0x01 function 0x00: vendor 0x1106 device 0xb198 VIA Technologies, Inc. VT8237 PCI Bridge STATUS0x0230 COMMAND 0x0107 CLASS 0x06 0x04 0x00 REVISION 0x00 HEADER0x01 LATENCY 0x00 PRIBUS0x00 SECBUS 0x01 SUBBUS 0x01 SECLT 0x00 SECSTATUS 0xa220 IOBASE0xf000 IOLIM 0x0fff NOPREFETCH_MEMBASE 0xec00 MEMLIM 0xedff PREFETCH_MEMBASE 0xe800 MEMLIM 0xebff NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN pci bus 0x cardnum 0x0f function 0x00: vendor 0x1106 device 0x0571 VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE STATUS0x0290 COMMAND 0x0007 CLASS 0x01 0x01 0x8a REVISION 0x06 BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x00 BASE4 0xe001 addr 0xe000 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0xff BYTE_00x2b BYTE_1 0xf2 BYTE_2 0x09 BYTE_3 0x2a pci bus 0x cardnum 0x10 function 0x00: vendor 0x1106 device 0x3038 VIA Technologies, Inc. USB STATUS0x0210 COMMAND 0x0007 CLASS 0x0c 0x03 0x00 REVISION 0x81 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x08 BASE4 0xe101 addr 0xe100 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x15 BYTE_00x40 BYTE_1 0x12 BYTE_2 0x03 BYTE_3 0x00 pci bus 0x cardnum 0x10 function 0x01: vendor 0x1106 device 0x3038 VIA Technologies, Inc. USB STATUS0x0210 COMMAND 0x0007 CLASS 0x0c 0x03 0x00 REVISION 0x81 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x08 BASE4 0xe201 addr 0xe200 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x15 BYTE_00x40 BYTE_1 0x12 BYTE_2 0x03 BYTE_3 0x00 pci bus 0x cardnum 0x10 function 0x02: vendor 0x1106 device 0x3038 VIA Technologies, Inc. USB STATUS0x0210 COMMAND 0x0007 CLASS 0x0c 0x03 0x00 REVISION 0x81 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x08 BASE4 0xe301 addr 0xe300 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x15 BYTE_00x40 BYTE_1 0x12 BYTE_2 0x03 BYTE_3 0x00 pci bus 0x cardnum 0x10 function 0x03: vendor 0x1106 device 0x3038 VIA Technologies, Inc. USB STATUS0x0210 COMMAND 0x0007 CLASS 0x0c 0x03 0x00 REVISION 0x81 BIST 0x00 HEADER 0x80 LATENCY 0x20 CACHE 0x08 BASE4 0xe401 addr 0xe400 I/O MAX_LAT
Re: Making a custom FreeBSD iso
On 2005-06-18 21:12, Wojciech Puchar [EMAIL PROTECTED] wrote: Im ripping the iso image from the cd with dd dd if=/dev/acd0 of=file.iso bs=2048 Then, Im mounting the iso image mdconfig -a -t vnode -f /usr/iso-orig/file.iso -u 0 mount -t cd9660 /dev/md0 /iso ..and copying its contents to disk with cp -R tar cf - .|(cd /newdir;tar xpf -) would be better and copy all dev's etc properly. True. This will also copy hard links as hard links, which seems to be bitting the previous poster. Just using cp(1) is not enough some times: % gothmog:/tmp/foo$ mkdir src dst % gothmog:/tmp/foo$ echo hello world src/0 % gothmog:/tmp/foo$ for linkcount in `jot 100 1 100`; do link src/0 src/$linkcount; done % gothmog:/tmp/foo$ du -sk src dst % 4 src % 2 dst % gothmog:/tmp/foo$ cp -Rp src/* dst/ % gothmog:/tmp/foo$ du -sk src dst % 4 src % 204 dst On the other hand, tar(1) can help a lot: % gothmog:/tmp/foo$ mkdir dst2 % tar: Error opening archive: Empty input file: Inappropriate file type or format % gothmog:/tmp/foo$ tar -c -C src -f - . | tar -xv -C dst2 -f - % x . % x 0 % [...] % x 98 % x 99 % x 100 % gothmog:/tmp/foo$ du -sk src dst* % 4 src % 204 dst % 4 dst2 % gothmog:/tmp/foo$ Now, all of the sudden, the /rescue dir grows from 3.5M to 455M so after i copy my scripts to the extracted iso filesystem on my hard disk and try to make an iso I cannot burn the ISO because its way too big. Can anyone help me with this? iso9660 doesn't have links marked as links. just relink them all same-sized files to one Or just scratch the existing (cp -R) copy of the ISO files and start over with tar, cpio or any tool that knows how to deal with hard links :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD/Xen
Hello I noticed Kip Macy has recently annouced a new commiter to src, is this any indication that FreeBSD/Xen is closer to reality? will it be available around 6.0-RELEASE? -- Kimi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't mount partitions with soft-updates enabled with async option
I am not sure if I do something wrong here or it is suppose to work that way but the async option doesn't seem to work for partitions that have soft-updates turned on. Can someone please clarify the difference and if the speed difference (if any) is significant when using the async option instead of the soft-updates for cases such as the /usr/obj or as a squid data storage? Is async preferred over soft-updates when data loss is not a big issue? Please CC Thank you, Lefteris Tsintjelis ASDA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't mount partitions with soft-updates enabled with async option
On 2005-06-18 23:19, Lefteris Tsintjelis [EMAIL PROTECTED] wrote: I am not sure if I do something wrong here or it is suppose to work that way but the async option doesn't seem to work for partitions that have soft-updates turned on. Why would you want to do that? Soft-updates already provides most of the benefits of an async mount plus some extra goodies, like never leaving the filesystem in an inconsistent state. Can someone please clarify the difference and if the speed difference (if any) is significant when using the async option instead of the soft-updates for cases such as the /usr/obj or as a squid data storage? Is async preferred over soft-updates when data loss is not a big issue? A speed comparison can be found in The Design and Implementation of the FreeBSD Operating System. If I'm reading the relevant text correctly, then filesystems softupdates are slightly slower than async mounted filesystems and a hell of a lot faster than synchronous mounts without softupdates. The speed gain of mounting a squid cache as async shouldn't really be that big, but the guarantees of avoiding data loss when a filesystem is mounted with softupdates are too big to ignore :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD as VMware Guest, need some assist on networking to Host
I have read and re-read all the VMware docs about setting up BSD as host, but to no avail, simply can not get networking operational. Using, VMware 5.00.build 13124 FreeBSD 5.3.RELEASE #0 (as Guest) Win XP Pro 5.1.2600 SP2 (as Host) On, Intel Pent II, 264 MHz with 192Mb Symptom, ifconfig reports lnc0 device as UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST) from Guest(BSD) to Host(XP) ( Router) ping reports sendto: Host is down. ftp hangs with Trying 192.168.1.101 from Host(XP) to Guest(BSD) ping actually works!! (to Guest Router it works) ftp reports Could not open connection to the host, on port 23: (possibly BSD secure setting?) Inside VMware - Virtual Network Settings VMnet0(Bridged) Bridged to Linksys Wireless-G PCI VMnet1(Host Only) A private network shared with host VMnet8(NAT) Used to share the host's IP address VMnet0 NO Subnet, NO DHCP VMnet1 Subnet 192.168.32.0, YES DHCP VMnet8 Subnet 192.168.52.0, YES DHCP Automatic Bridge 'NO' Host Virtual Adapters VMnet1 Virtual Net Enabled VMnet8 Virtual Net Enabled VMware tools is loaded, and does appear to start as BSD boots up, however, I am unable to perform any cut/paste functions from Guest to Host. The VMware docs make no mention of altering any settings on the host, hence, I've done no changes within the Win XP Host. (I can see VMnet8 and VMnet1 on the Host(XP) side with ipconfig /all) I searched through the archives and did not see any resolutions. There were a few messages which implied, 'use NAT and it just works'. I have selected NAT as network type. (I've actually tried bridging and 'host only', still nothing). As a side note, and possibly related. I receive this message on the BSD console[IN BOLD] every 5 minutes or so: calcru: runtime went backwards from 24173436 usec to 24173430 usec for pid 444 (vmware-guestid) This is my first post to this forum, though I usually like to figure things out for myself, I've been really struggling with this issue for quite some time. It would be so great to pull data from the BSD envi (shell scripting, perl scripting) as I use it mainly for development. Oh! I should mention that I am not in any way a BSD expert. I prefer it leaps and bounds over Linux, but my real UNIX experience is with AIX. Although I have a considerable amount of time in the NeXTStep world (which I believe to be build on a derivative of BSD's mach kernel). At any rate, if the email gods are not angry with me this message will make it to the forum, and, hopefully, someone who has already conquered this issue can shed some light. By the way, if I've somehow directed this to an incorrect forum, parden me a 1,000 times. Thanks in advance to all! cheers, Harold __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gnome_upgrade.sh Firefox
Hello everyone, When modifying my make.conf file did not help me fix the problems outlined below in the root of this Thread, I decided to re-CVSup the tree and reinstall (since many items had not been re-built yet) the items from scratch. The first on the list was Firefox... the one that did not work with gnome_upgrade.sh. It built with my standard make.conf below without any problems. Does anyone have any idea why gnome_upgrade.sh would choke on Firefox? On Jun 16, 2005, at 7:31 PM, Anthony M. Agelastos wrote: Hello all, A few days ago, I noticed that some Gnome-related items were ready to be updated (I CVSup'd the Ports tree) (such as gnomehier), so I thought why not use gnome_upgrade.sh and update everything. It did without any problems. It finished this morning. After finishing, I updated the Ports tree again and noticed that some new Gnome- related items were ready to be updated as well (gtk for example). So, I figured why not run it again. I did and it bombed on Firefox. Any ideas? I checked /usr/ports/UPDATING as well as the Mailing Lists. I figured there is an incompatibility with one of the items updated in Ports during the last 2 days (since Firefox built just fine 2 days ago). The last 100 lines of the error that gnome_upgrade told me to print as well as uname are below. Thanks for your help. ast# uname -a FreeBSD ast.home.iq 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun May 29 10:30:27 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ IQKERNEL i386 ast# cat /etc/make.conf CPUTYPE?=p3 CFLAGS= -O -pipe NO_BLUETOOTH=true CUPS_OVERWRITE_BASE=yes NO_LPR=true NOPROFILE=true # added by use.perl 2005-03-24 18:07:16 PERL_VER=5.8.6 PERL_VERSION=5.8.6 ast# tail -n 100 error.txt cc -o jsopcode.o -c -DOSTYPE=\FreeBSD5\ -DOSARCH=\FreeBSD\ - DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js - I../../dist/include -I/usr/ports/www/firefox/work/mozilla/dist/ include/nspr -I/usr/local/include -I/usr/local/include -I. -I/usr/ X11R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/ usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused - Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing -pipe -march=pentium3 -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/ include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/ include -include ../../mozilla-config.h -DMOZILLA_CLIENT jsopcode.c jsparse.c cc -o jsparse.o -c -DOSTYPE=\FreeBSD5\ -DOSARCH=\FreeBSD\ - DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js - I../../dist/include -I/usr/ports/www/firefox/work/mozilla/dist/ include/nspr -I/usr/local/include -I/usr/local/include -I. -I/usr/ X11R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/ usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused - Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing -pipe -march=pentium3 -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/ include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/ include -include ../../mozilla-config.h -DMOZILLA_CLIENT jsparse.c jsprf.c cc -o jsprf.o -c -DOSTYPE=\FreeBSD5\ -DOSARCH=\FreeBSD\ - DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js - I../../dist/include -I/usr/ports/www/firefox/work/mozilla/dist/ include/nspr -I/usr/local/include -I/usr/local/include -I. -I/usr/ X11R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/ usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused - Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing -pipe -march=pentium3 -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/ include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/ include -include ../../mozilla-config.h -DMOZILLA_CLIENT jsprf.c jsregexp.c cc -o jsregexp.o -c -DOSTYPE=\FreeBSD5\ -DOSARCH=\FreeBSD\ - DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js - I../../dist/include -I/usr/ports/www/firefox/work/mozilla/dist/ include/nspr -I/usr/local/include -I/usr/local/include -I. -I/usr/ X11R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/ usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused - Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing -pipe -march=pentium3 -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/ include -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/ include -include ../../mozilla-config.h -DMOZILLA_CLIENT jsregexp.c jsscan.c cc -o jsscan.o -c -DOSTYPE=\FreeBSD5\ -DOSARCH=\FreeBSD\ - DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js - I../../dist/include -I/usr/ports/www/firefox/work/mozilla/dist/ include/nspr -I/usr/local/include -I/usr/local/include -I. -I/usr/ X11R6/include -fPIC -I/usr/X11R6/include -I/usr/local/include -I/ usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused - Wpointer-arith -Wcast-align -Wno-long-long -O2 -fno-strict-aliasing -pipe -march=pentium3 -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/
Re: Can't mount partitions with soft-updates enabled with async option
Lefteris Tsintjelis [EMAIL PROTECTED] writes: I am not sure if I do something wrong here or it is suppose to work that way but the async option doesn't seem to work for partitions that have soft-updates turned on. Can someone please clarify the difference and if the speed difference (if any) is significant when using the async option instead of the soft-updates for cases such as the /usr/obj or as a squid data storage? Is async preferred over soft-updates when data loss is not a big issue? With softupdates, everything is asynchronous so the option doesn't make sense. For improving squid filesystem performance, have you mounted the partition with noatime? That might make some difference. mkb. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[SOLVED] Re: Accent keys in X11
On Thu, 16 Jun 2005 15:04:19 -0300 Alejandro Pulver [EMAIL PROTECTED] wrote: Hello, How can I use accent keys in X11? Thanks and Best Regards, Ale Sorry for replying to my own post but I found the solution (for English keyboards): = Using non ASCII standard characters under X11 = Keyboard Configuration: Option XkbLayout en_US = Possible combinations: Alt + char Shift + Alt + char Shift, Alt + char Notes: The Alt to be pressed is the right one. The string char has to be replaced with a key, with or without Shift. Alt + char means to press and hold the Alt key and then press char. Shift + Alt + char means to press and hold the Shift key, press and hold the Alt key, and press char. Shift, Alt + char means to press and hold the Shift key, press and hold the Alt key, release the Shift key and press char. = Some common characters: Shift, Alt + ', char Alt + ', char Shift + Alt + ', char Shift, Alt + `, char Shift + Alt + `, char Shift + Alt + `, char = ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
VIA/S3G UniChrome IGP .. Xorg drivers .. not via .. FreeBSD
According to http://www.viaarena.com/default.aspx?PageID=5ArticleID=68P=6 the Via User website, on running wins3id.exe .. my MSI KM3M-V Mobo like scanpci -v says .. Has Builton VIA/S3G UniChrome IGP Chip ID 7205 / SSven 1462 / SSdev 7061 which =s scanpci Output .. It is in hardware location AGP 01/00/0 Either FreeBSD's X.org (and FreeSBIE older Xorg) DO NOT PROPERLY SUPPORT the X.org recommended via driver or the driver is broken or the FreeBSD has some serious other native problems. Knoppix 3.4 which uses XFree86_4 drives this chip just fine. When I backed FreeBSD 5.4 down to using XFree86 4 vs using X.org at least I got a screen to paint .. no widgets .. but hires matte. Is there anyone in FreeBSD land who might help or help me fix this? .. I have another server dying and am confronted with Linux and deserting FreeBSD. I really dont want to do that .. it would approach the pain of losing my kitty. -- Ev Batey -- WA6CRE -- [EMAIL PROTECTED] 805 340-6471 http://www.cotdazr.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Can't mount partitions with soft-updates enabled with asyncoption
From: Matthias Buelow Lefteris Tsintjelis [EMAIL PROTECTED] writes: I am not sure if I do something wrong here or it is suppose to work that way but the async option doesn't seem to work for partitions that have soft-updates turned on. Can someone please clarify the difference and if the speed difference (if any) is significant when using the async option instead of the soft-updates for cases such as the /usr/obj or as a squid data storage? Is async preferred over soft-updates when data loss is not a big issue? With softupdates, everything is asynchronous so the option doesn't make sense. For improving squid filesystem performance, have you mounted the partition with noatime? That might make some difference. No. With softupdates, file writes are asynchronous, but writes to filesystem structures (metadata) are synchronous to prevent filesystem corruption if the machine crashes. The async mount option writes both asynchronously. You can't use the async mount option on a volume with softupdates turned on because the two options are mutually exclusive. [ Note: -stable trimmed for relevance. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
keeping ports up to date on two personal machines
Hello guys, I just have a quick question. I have two FreeBSD-5.4-p2 machines, and instead of using cvsup on both machines to keep my ports up to date could I just rsync /usr/ports/ from the faster machine to the other one without any issues? I understand I could run a private cvsup server, but for two machines this seems a little excessive. Any suggestions or problems with this idea? Thanks for the advice, Anthony Philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: keeping ports up to date on two personal machines
On 2005-06-18 18:07, Anthony Philipp [EMAIL PROTECTED] wrote: Hello guys, I just have a quick question. I have two FreeBSD-5.4-p2 machines, and instead of using cvsup on both machines to keep my ports up to date could I just rsync /usr/ports/ from the faster machine to the other one without any issues? Certainly. Just make you don't synchronize work/ subdirectories too, if they contain prebuilt binaries that don't match the setup of the destination machine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't mount partitions with soft-updates enabled with asyncoption
Darren Pilgrim [EMAIL PROTECTED] writes: No. With softupdates, file writes are asynchronous, but writes to filesystem structures (metadata) are synchronous to prevent filesystem corruption if the machine crashes. The async mount option writes both That's wrong. mkb. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dvd+rw on freebsd 4.10
Thank you for the comments. I am now attempting to burn my first dvd and I keep getting this error: bash-2.05b# growisofs -dvd-compat -Z /dev/cd1a -R /a /b :-( unable to cam_open_pass(/dev/pass4,O_RDWR): No such file or directory -- I am unsure what causes this to happen. There is no /dev/pass4 but MAKDEV /dev/pass4 resulted in : bash-2.05b# ls -al /dev/pass* crw--- 1 root operator 31, 0 Jun 19 00:08 /dev/pass0 crw--- 1 root operator 31, 1 Jun 19 00:08 /dev/pass1 crw--- 1 root operator 31, 2 Jun 19 00:08 /dev/pass2 crw--- 1 root operator 31, 3 Jun 19 00:08 /dev/pass3 bash-2.05b# bash-2.05b# bash-2.05b# /dev/MAKEDEV /dev/pass4 /dev/pass4 - no such device name --- Is this a simple thing to fix ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dvd+rw on freebsd 4.10
bleh. I solved it by making hte device with mknod. Sorry for the spam. Alan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make x LC_ALL=C: command not found.
On 4/26/05, Aaron Sloan [EMAIL PROTECTED] wrote: Hello, step 1. I cvsup, rebuilt and installed world and generic kernel. Mergemastered just like I always do. I followed the handbook to the letter and this certainly isn't my first time. 5.4 stable. I customized my kernel and went to build it. make buildkernel KERNCONF=XX I get the following error. LC_ALL=C: command not found. Makefile, line 155 warning: LC_ALL=C date returned non-zero status MAKEFLAGS=: Command not found. Makefile.inc1 line 116: warning MAKEFLAGS= CPUTYPE=dummy make -f /dev/null -m /usr/src/share/mk -V CPUTPE returned non-zero status Makefile.inc1, line 118: CPUTYPE globaal should be set with ?=. error code 1. I did monkey with make.conf before step 1. I added... CPUTYPE?=i686 CFLAGS= -O -pipe Make now fails to the above error on every thing. I'm not certain what I did to break it but I'm sure it has my name all over it. Thanks, Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have the same problem after i update my system to 5.4-p2, look this is my information: FreeBSD 5.4 Release #uname -a FreeBSD devhora 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #2: Thu Jun 16 18:58:06 UTC 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DEVHORA i386 devhora# ee /etc/make.conf #$FreeBSD: src/share/examples/etc/make.conf,v 1.229.2.12 2005/03/07 20:39:34 ph CPUTYPE?=i686 ---Here i have try with i686 and p2 devhora#cd /usr/src devhora# make buildworld LC_ALL=C: Command not found. Makefile, line 155: warning: LC_ALL=C date returned non-zero status MAKEFLAGS=: Command not found. Makefile.inc1, line 116: warning: MAKEFLAGS= CPUTYPE=i686 make -f /dev/null -m /usr/src/share/mk -V CPUTYPE returned non-zero status Makefile.inc1, line 118: CPUTYPE global should be set with ?=. *** Error code 1 Stop in /usr/src. #dmesg output first rows Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE-p2 #2: Thu Jun 16 18:58:06 UTC 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/DEVHORA Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) Origin = GenuineIntel Id = 0x634 Stepping = 4 Features=0x80fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO V,MMX #/usr/src/Makefile.inc1 #$FreeBSD: src/Makefile.inc1,v 1.438.2.20.2.2 2005/04/09 13:26:35 ru Exp $ _CPUTYPE!= MAKEFLAGS= CPUTYPE=${_TARGET_CPUTYPE} ${MAKE} \ -f /dev/null -m ${.CURDIR}/share/mk -V CPUTYPE .if ${_CPUTYPE} != ${_TARGET_CPUTYPE} .error CPUTYPE global should be set with ?=. .endif #/usr/src/share/mk/bsd.cpu.mk # Handle aliases (not documented in make.conf to avoid user confusion # between e.g. i586 and pentium) . if ${MACHINE_ARCH} == i386 . if ${CPUTYPE} == nocona CPUTYPE = prescott . elif ${CPUTYPE} == p4 CPUTYPE = pentium4 . elif ${CPUTYPE} == p4m CPUTYPE = pentium4m . elif ${CPUTYPE} == p3 CPUTYPE = pentium3 . elif ${CPUTYPE} == p3m CPUTYPE = pentium3m . elif ${CPUTYPE} == p-m CPUTYPE = pentium-m . elif ${CPUTYPE} == p2 CPUTYPE = pentium2 . elif ${CPUTYPE} == i686 CPUTYPE = pentiumpro . elif ${CPUTYPE} == i586/mmx CPUTYPE = pentium-mmx . elif ${CPUTYPE} == i586 CPUTYPE = pentium . elif ${CPUTYPE} == opteron || ${CPUTYPE} == athlon64 || \ ${CPUTYPE} == k8 CPUTYPE = athlon-mp . elif ${CPUTYPE} == k7 CPUTYPE = athlon . endif . elif ${MACHINE_ARCH} == amd64 . if ${CPUTYPE} == prescott CPUTYPE = nocona . endif . endif # Set up the list of CPU features based on the CPU type. This is an # unordered list to make it easy for client makefiles to test for the # presence of a CPU feature. . if ${MACHINE_ARCH} == i386 . if ${CPUTYPE} == opteron || ${CPUTYPE} == athlon64 MACHINE_CPU = athlon-xp athlon k7 3dnow sse2 sse mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == athlon-mp || ${CPUTYPE} == athlon-xp || \ ${CPUTYPE} == athlon-4 MACHINE_CPU = athlon-xp athlon k7 3dnow sse mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == athlon || ${CPUTYPE} == athlon-tbird MACHINE_CPU = athlon k7 3dnow mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == k6-3 || ${CPUTYPE} == k6-2 MACHINE_CPU = 3dnow mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == k6 MACHINE_CPU = mmx k6 k5 i586 i486 i386 . elif ${CPUTYPE} == k5 MACHINE_CPU = k5 i586 i486 i386 . elif ${CPUTYPE} == pentium4 || ${CPUTYPE} == pentium4m || ${CPUTYPE} == MACHINE_CPU = sse2 sse i686 mmx i586 i486 i386 . elif ${CPUTYPE} == pentium3 || ${CPUTYPE} == pentium3m MACHINE_CPU = sse i686 mmx i586 i486 i386 . elif ${CPUTYPE} == pentium2 MACHINE_CPU = i686 mmx i586 i486 i386 . elif ${CPUTYPE} == pentiumpro MACHINE_CPU = i686 i586 i486 i386 . elif ${CPUTYPE} == pentium-mmx
Re: pf block question
On Fri, Jun 10, 2005 at 09:33:50PM +0300, Giorgos Keramidas wrote: Existing icmp states? Did you reload the rules with: /etc/rc.d/pf reload or by directly running pfctl? I tried flushing everything with pfctl -Fa, and then loading the rules with pfctl -f /etc/pf.conf. The script in rc.d seems to do the same thing. After re-loading the rules, pfctl -sr yields: [EMAIL PROTECTED] pfctl -sr | head -n2 scrub in all fragment reassemble block drop quick on fxp0 from badhosts to any I've verified the table has actual IP addresses. It seems to be able to block new TCP connections. However, if an IP is connected currently, pf lets that connection continue; even after flushing the states and sources. It doesn't seem to care about ICMP. I can ping it from the box running pf, and receive replies. Am I just missing something obvious here? -- Matt Rechkemmer [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
3G file burns to -514M file on DVD-R
I have a gzip'd database backup file that's 3GB in size. I used mkisofs to create an iso image for burning to a DVD-R. Both the mkisofs and growisofs process appeared to finish successfully; but 'ls -alh' shows the resulting file to be -514M in size when the DVD-R is mounted in FreeBSD 4.10. When I mount the dvd in a separate FreeBSD 5.4 system, ls -alh results in 'ls: /cdrom/pgdumpall.gz: Value too large to be stored in data type'. I ftp'd the original 3GB file from the FreeBSD 4.10 system to the FreeBSD 5.4 system. ls -alh reads the size of the original file correctly. Windows reads the DVD-R and shows the file size correctly. I've tried recreating the iso image using -r and -l options and burning the iso file with and without the -dvd-compat option; but the results remain the same. Any ideas or advice? Thanks, Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't mount partitions with soft-updates enabled with async option
Giorgos Keramidas wrote: Why would you want to do that? Soft-updates already provides most of the benefits of an async mount plus some extra goodies, like never leaving the filesystem in an inconsistent state. Kalimera Giorgo, For boosting io speed to the max it can get. The system is very stable (no crashes whatsover) and UPS monitored and protected so chances of having an inconsistent filesystem are very low or am I wrong? (I am refering to an async mounted filesystem) The speed gain of mounting a squid cache as async shouldn't really be that big, but the guarantees of avoiding data loss when a filesystem is mounted with softupdates are too big to ignore :-) Well, that would probably depend on the requests per second but for a pretty busy squid box (disk cache is already split to a few disks) and to keep things running even more smooth and optimal, this would probably boost the io performance further more (if I understood everything right). The reason I am thinking of switching to async mode is that I am getting some physical io page faults (very small percentage compared to the requests per second but still) and I am already using the noatime option with soft-updates of course. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix or qmail?
On Sat, Jun 18, 2005 at 07:58:56PM +0100, Alex Zbyslaw wrote: Furthermore, Qmail seems to have earned its reputation for security the standard DJB way: by implementing only the easy parts of the standard and complaining loudly about the hard parts (those are insecure!) until everyone quits asking for them. DJB? QMail's author. Also the author of djb-dns. Best not to have anything to do with them. -- Jonathan Chen [EMAIL PROTECTED] -- When you don't know what you are doing, do it neatly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Netscape? Where is it?
I just updated the ports tree and now there is no netscape 7 any more! Why was it taken out of the ports tree? EJC www.only7bucks.com ___ Yahoo! Acesso Grtis - Internet rpida e grtis. Instale o discador agora! http://br.acesso.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: keeping ports up to date on two personal machines
On Sat, Jun 18, 2005 at 06:07:08PM -0500, Anthony Philipp wrote: Hello guys, I just have a quick question. I have two FreeBSD-5.4-p2 machines, and instead of using cvsup on both machines to keep my ports up to date could I just rsync /usr/ports/ from the faster machine to the other one without any issues? I understand I could run a private cvsup server, but for two machines this seems a little excessive. Any suggestions or problems with this idea? It would be easier (and faster) to build the stuff on the faster machine and create packages off it to give to the slower box. Check out pkg_create -b. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- A person should be able to do a small bit of everything, specialisation is for insects ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Netscape? Where is it?
On Sun, Jun 19, 2005 at 02:29:46AM -0300, E. J. Cerejo wrote: I just updated the ports tree and now there is no netscape 7 any more! Why was it taken out of the ports tree? Unmaintained. Multiple security vulnerablities. -- Jonathan Chen [EMAIL PROTECTED] --- One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted. -- Thomas B. Reed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Netscape? Where is it?
ports are removed when their maintainers lose interest, and they no longer build. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of E. J. Cerejo Sent: Saturday, June 18, 2005 10:30 PM To: FreeBSD Questions Subject: Netscape? Where is it? I just updated the ports tree and now there is no netscape 7 any more! Why was it taken out of the ports tree? EJC www.only7bucks.com ___ Yahoo! Acesso Grtis - Internet rpida e grtis. Instale o discador agora! http://br.acesso.yahoo.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Advice replacing Xorg with XFree86_4 - Nightmare on Elm Street Up_1
On 6/18/05, Nikolas Britton [EMAIL PROTECTED] wrote: ... The only one I can think of right now that uses XFree86 is debian, knoppix is based on debian. Why on earth does debian 3.1 still use the 2.4 kernel? ... I know this is not a Debian-support forum, but you can select 2.6 kernel in Debian as the very first step of installation (press F1 instead of Enter to find out how). -- Dmitry We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Yet another RAID Question (YARQ)
Hi everbody, our school has just received a new HP ProLiant and I set up FreeBSD 5.4 -RELEASE with a RAID 1 system on it (using ciss driver). Is there any software tool which can show me the state of the two SCSI discs (if one is failing or if they are mirrored sorrectly) or is it sufficient to watch the little LEDs on the box? Regards, Uli. * * Peter Ulrich Kruppa - Wuppertal - Germany * * ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]