Re: Problems with Xorg after portupgrade
Ivan Rambius Ivanov wrote: Hello, This week upgraded my Acer TravelMate 4060 laptop from FreeBSD 7.0 to FreeBSD 7.1 and also csup'ed my ports and portupgraded them and I am not able to start X correctly. When I invoke startx, it tries to start it and then the screen goes blank and black, nothing is seen on it and I am no able to kill X using ctrl-alt-backspace or swtich to another terminal and I have to cold reboot my machine. uname -r shows 7.1-RELEASE-p4 The version of xorg metaport is 7.4_1, the version of xorg-server is 1.6.0,1. After I did the portupgrade I rebooted my machine and the KDE display manager failed to appear, so I disabled it from /etc/ttys for easier debugging. After I logged in to a shell, I called startx and the screen went blank and black. After I rebooted the machine I invoked X -configure as root and run X -config /root/xorg.conf.new and again the same problem. The default screen when not running a WM/DE is no longer the familiar screen pattern / X mouse pointer, but a black screen. Go figure... You maybe having a working X and not know it. I then tried to make ctrl-alt-backspace work and I added the following section at the end of /root/xorg.conf.new Section ServerFlags Option DontZap off EndSection This should definitely work. and called X -config /root/xorg.conf.new again - same results and still could not kill ther server. I followed /usr/ports/UPDATING, entry from 20090123 and disabled moused and added Option AllowEmptyInput off Browsing your xorg.conf, you forgot to add the keyword Option in front of AllowEmptyInput. And actually this should also go the ServerFlags section. in the ServerLayout section. Again X refuses to start appropriately. I would be very grateful if you help me in resolving this issue. I am attaching my xorg.conf file and the logs from /var/log/Xorg.0.log and I will happily provide more information if needed. Thank you very much in advance. Regards Rambius You can download my working xorg.conf from here: http://store.itsyourftp.com/~sonic2000gr/freebsd/xorg.conf.tar.gz It even includes some comments. Give it a try. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Vim port problem
Hi all, I have the latest version of the ports collection (gotten with portsnap). I performed a whole update of my system (FreeBSD 7.1-RELEASE-p4 #12). Everything went fine save the vim port. It is unable to download vim-7.2.tar.bz2 despite the fact that the URL portupgrade tries to download from, exists: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 It was unable to download the file from any other sites. Several different errors (Move permanently, range request not satisfiable...) However, I downloaded that file from the first site using 'fetch', place the file in /usr/ports/distfiles/vim and I could install the package... Any ideas on this problem? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
AOL Please Confirm Your Identity
� AOL Billing Center [] [ ][] � Account Status Notification (April 2009) We are contacting you to remind you that our Account Review Team identified some unusual activity in your aol account. In accordance with AOL Billing Center User Agreement and to ensure that your account has not been activated, access to your account has been limited. Your account access will remain limited until this issue has been resolved please log in your account by clicking on my account activity bellow: [1]my account activity Security Advisor AOL Billing Center. � -- This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro .com References 1. http://koi-bio.nl/extensions/emoticons/aol/updateing/AOLBILLINGCENTER/s1.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Vim port problem
2009/4/19 Fernando Apesteguía fernando.apesteg...@gmail.com: Hi all, I have the latest version of the ports collection (gotten with portsnap). I performed a whole update of my system (FreeBSD 7.1-RELEASE-p4 #12). Everything went fine save the vim port. An upgrade of the base system Should Not(Tm) affect installed ports under normal conditions. It is unable to download vim-7.2.tar.bz2 despite the fact that the URL portupgrade tries to download from, exists: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 It was unable to download the file from any other sites. Several different errors (Move permanently, range request not satisfiable...) I am unfamiliar with automated port utilities. What happens if you do the following?: cd /usr/ports/editors/vim; make deinstall distclean; make install clean However, I downloaded that file from the first site using 'fetch', place the file in /usr/ports/distfiles/vim and I could install the package... Don't confuse ports and packages. They are two different ways to install third-party software (until they are installed -- then everything is a package). Any ideas on this problem? Thanks in advance. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Vim port problem
2009/4/19 Glen Barber glen.j.bar...@gmail.com: 2009/4/19 Fernando Apesteguía fernando.apesteg...@gmail.com: Hi all, I have the latest version of the ports collection (gotten with portsnap). I performed a whole update of my system (FreeBSD 7.1-RELEASE-p4 #12). Everything went fine save the vim port. An upgrade of the base system Should Not(Tm) affect installed ports under normal conditions. It is unable to download vim-7.2.tar.bz2 despite the fact that the URL portupgrade tries to download from, exists: http://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2 It was unable to download the file from any other sites. Several different errors (Move permanently, range request not satisfiable...) I am unfamiliar with automated port utilities. What happens if you do the following?: cd /usr/ports/editors/vim; make deinstall distclean; make install clean It fetches all the files from the remote site without problems and it installs it. However, I downloaded that file from the first site using 'fetch', place the file in /usr/ports/distfiles/vim and I could install the package... Don't confuse ports and packages. They are two different ways to install third-party software (until they are installed -- then everything is a package). Sorry, change package for port. What I wanted to say is: when installing the port, it couldn't download one of the needed files (vim-7.2.tar.bz2). After I did it by hand, it could install the port (compiling and all the stuff) because portupgrade found the file already downloaded in /usr/ports/distfiles/vim. Any ideas on this problem? Thanks in advance. -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: write_dma error
On Sat, 18 Apr 2009 17:33:45 +0200 mac.tc raszo...@gmail.com wrote: hi, can anyone tell me what this message is related to? WRITE_DMA UDMA ICRC error (retrying request) LBA=62939519 drive/hardware failing? i am seeing a lot of it lately on a particular disk where i have tried a few different installs and don't always get this problem. i have seen it disappear after some painstaking before a reinstall this disk, like wiping the whole disk clean before install, checking geometry is right, but maybe coincidence? it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the disk, but the error varied a bit with different installs (i.e. whether i see the error or not) I suggest installing 'sysutils/smartmontools', checking the health, -H, and if it shows up healthy, run a long self test. If the long self test completes with out issue, it is most likely a bad cable, some what odd for SATA, but I've had it happen several times back in the days of PATA. signature.asc Description: PGP signature
Re: snd-hda no sound whatsoever
Le Sat, 18 Apr 2009 22:09:51 -0400, Eitan Adler eitanadlerl...@gmail.com: Hi, After upgrade upgrade my system to 7.2-PRERELEASE, my sound card works perfectly. This is why my sound broke (I forgot to mention it was after an upgrade). cd ~/stable7/sys/dev/sound/pci/hda svn update -r182969 fixed my problem. The sound unit may change between 7.1 and 7.2. You can try to change the sysctl hw.snd.default_unit If it still doesn't work put a verbose boot dmesg of snd_hda and pcm somewhere (see the man page of snd_hda) and ask on the freebsd-multimedia@ mailing list. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: write_dma error
mac.tc raszo...@gmail.com writes: hi, can anyone tell me what this message is related to? WRITE_DMA UDMA ICRC error (retrying request) LBA=62939519 drive/hardware failing? i am seeing a lot of it lately on a particular disk where i have tried a few different installs and don't always get this problem. i have seen it disappear after some painstaking before a reinstall this disk, like wiping the whole disk clean before install, checking geometry is right, but maybe coincidence? it is a sata300, 7.2 beta1 amd64 and i am thinking there is problem with the disk, but the error varied a bit with different installs (i.e. whether i see the error or not) Hmm. ICRC errors are about the controller talking to the disk electronics. They don't generally have anything to do with the magnetic medium itself. Try replacing the cable. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: java using 100% CPU
Warren Liddell shin...@maydias.com wrote: Are you getting 100% on something as simple as this? http://www.java.com/en/download/help/testvm.xml My setup is exactly similar, but I run i386. No such problem. I do get very high CPU usage when flash (gnash) is active though... No, that works quite fine, but has very little graphics involved with it. It occurs when i goto http://world121.runescape.com/a2,m1,j1,o0 Which is a lot more intense on the java It's also a lot more intense in the graphics department. Runescape pretty much maxes out my system as well. My computer is somewhat older 1.3ghz, with a cheap graphics card. Looking back through the thread, I don't see any information on your hardware. Is it possible that runescape simple pushes your hardware to its limits? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: write_dma error
On Sun, 19 Apr 2009 08:49:10 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Hmm. ICRC errors are about the controller talking to the disk electronics. They don't generally have anything to do with the magnetic medium itself. Try replacing the cable. The only time I've seen ICRC errors was when FreeBSD was programming UDMA100 mode when I only had a UDMA33 cable installed. Overridding the mode using atacontrol solved it, as did installing a UDMA66 cable. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with Xorg after portupgrade
On Sun, 19 Apr 2009, Manolis Kiagias wrote: Browsing your xorg.conf, you forgot to add the keyword Option in front of AllowEmptyInput. And actually this should also go the ServerFlags section. A ServerFlags section is optional; those entries can also go in the ServerLayout section. That simplifies xorg.conf a little. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lightweight webserver that can run php
On 4/18/09, APseudoUtopia apseudouto...@gmail.com wrote: On Sat, Apr 18, 2009 at 2:19 AM, Andrew a...@awdcomp.net wrote: ... If you choose to run php via FastCGI, check out PHP-FPM. It's a patch that greatly speeds up php's FastCGI performance. It honestly does help significantly. There's a FreeBSD port in the Archives Download section of the website. http://php-fpm.anight.org/ Can you explain PHP-FPM ? Some parts of http://php-fpm.anight.org/ are not written in english... Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with Xorg after portupgrade
Warren Block wrote: On Sun, 19 Apr 2009, Manolis Kiagias wrote: Browsing your xorg.conf, you forgot to add the keyword Option in front of AllowEmptyInput. And actually this should also go the ServerFlags section. A ServerFlags section is optional; those entries can also go in the ServerLayout section. That simplifies xorg.conf a little. -Warren Block * Rapid City, South Dakota USA Good to know, thanks. The Xorg upgrade was bumpy for me too - too many changes at once. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: lightweight webserver that can run php
It says that distro available at php.net has a number of known problems related to using FastCGI SAPI in production servers. Also, it argues why using FastCGI SAPI along with php-fpm is a good idea. php-fpm addresses the following problems: 1. php daemonization 2. Process managing. Smooth php workers stop and restart without loosing queries. Smooth config refresh and binaries with no lost queries. 3. Banning IP addresses for the web server. 4. Running workers with different uid/gid/chroot/environment and different php.ini options. Safe mode is no longer required! 5. Logging stdout stderr working processes. 6. Emergency restart of all processes in case shared memory opcode cache is destroyed and if accelerator is in use. 7. Forced halting of hanged processes if set_time_limit() does not work. There are also special features like Error header, Accelerated upload support, fastcgi_finish_request(), Slowlog() hth olv On Sun, Apr 19, 2009 at 10:45:51AM -0300, Alexandre Biancalana wrote: On 4/18/09, APseudoUtopia apseudouto...@gmail.com wrote: On Sat, Apr 18, 2009 at 2:19 AM, Andrew a...@awdcomp.net wrote: ... If you choose to run php via FastCGI, check out PHP-FPM. It's a patch that greatly speeds up php's FastCGI performance. It honestly does help significantly. There's a FreeBSD port in the Archives Download section of the website. http://php-fpm.anight.org/ Can you explain PHP-FPM ? Some parts of http://php-fpm.anight.org/ are not written in english... Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: write_dma error
On Sun, 19 Apr 2009 14:36:40 +0100 Bruce Cran br...@cran.org.uk wrote: On Sun, 19 Apr 2009 08:49:10 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Hmm. ICRC errors are about the controller talking to the disk electronics. They don't generally have anything to do with the magnetic medium itself. Try replacing the cable. The only time I've seen ICRC errors was when FreeBSD was programming UDMA100 mode when I only had a UDMA33 cable installed. Overridding the mode using atacontrol solved it, as did installing a UDMA66 cable. I've seen the issue quit often in cheap, or long, UDMA100 cables as well. signature.asc Description: PGP signature
Upgrading from 6.3 to 7.1 -- how dangerous?
I need to upgrade a live, production server from 6.3 to 7.1. I can't afford to have any troubles with this server. I have Absolute FreeBSD and a few other BSD books, and the upgrade process looks fairly straightforward. That's the theory... Real world question: how scared should I be? I've thought about setting up a dummy server, just to practice on. Is this a good idea? Or am I just a nervous Nellie? -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading from 6.3 to 7.1 -- how dangerous?
On Sun, Apr 19, 2009 at 1:06 PM, John Almberg jalmb...@identry.com wrote: I need to upgrade a live, production server from 6.3 to 7.1. I can't afford to have any troubles with this server. I have Absolute FreeBSD and a few other BSD books, and the upgrade process looks fairly straightforward. That's the theory... Wise man (who I won't name to keep his identity private) once said: In theory, there is no difference between practice and theory. In practice, there is. Real world question: how scared should I be? I've thought about setting up a dummy server, just to practice on. Is this a good idea? Or am I just a nervous Nellie? Get a test box to do this on first. :) -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading from 6.3 to 7.1 -- how dangerous?
On Apr 19, 2009, at 10:06, John Almberg wrote: I need to upgrade a live, production server from 6.3 to 7.1. I can't afford to have any troubles with this server. I have Absolute FreeBSD and a few other BSD books, and the upgrade process looks fairly straightforward. That's the theory... Real world question: how scared should I be? Not at all if you prepare properly (see below). I've thought about setting up a dummy server, just to practice on. Is this a good idea? Or am I just a nervous Nellie? That is an excellent approach. I keep a couple of spare machines around just for that purpose. While most of the update process is waiting for things to complete, mergemaster requires a lot of responses to a ton of questions about updates to configuration files. The vast majority of those will be to install the new version. However, there are some where you really need to review the changes and make sure your unique configuration gets carried over into the new files. Its really easy to get into the i mode and skip right through some of those. The recovery from that will be painful. Take lots of time on the dummy upgrade to think through the merge and keep good records. You are likely to find that you still have to make some changes to those files after the update is complete. Go back and update the records so you don't have to do that a second time on the production server. I also recommend you not let weeks go by between updating the dummy and the production systems. No matter how good you write stuff down, some will get forgotten. Often memory will save you, but if its been too long, perhaps not. The dummy update process will also give you a much better estimate of the time you need to have the production system down. I have been using this approach since FreeBSD 2.5 and have had a couple of disasters in updating my test system. After a few retries I figured it out and none of the production system updates has encountered any issues. I create a script for each update and save them. Often they come in handy in a later update. The script is really helpful when updating a number of production servers. I tend to forget about some steps otherwise after a few iterations. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading from 6.3 to 7.1 -- how dangerous?
Glen Barber wrote: On Sun, Apr 19, 2009 at 1:06 PM, John Almberg jalmb...@identry.com wrote: I need to upgrade a live, production server from 6.3 to 7.1. I can't afford to have any troubles with this server. I have Absolute FreeBSD and a few other BSD books, and the upgrade process looks fairly straightforward. That's the theory... Wise man (who I won't name to keep his identity private) once said: In theory, there is no difference between practice and theory. In practice, there is. Real world question: how scared should I be? I've done several 6.x to 7.x upgrades on live systems. There are some tricky bits, but once you have been through the process it's fairly routine. One big gotcha is that in oder to upgrade all the ports, you first need to make sure that the software you're using and any dependencies it has are all up to date too. For portmaster this is not a problem, as it is a shell script with no dependencies except on the base system. For portupgrade, you should delete portupgrade and all of it's dependencies (some or all of: ruby, ruby-bdb, bdb, openssl -- depending on your configuration choices) and then reinstall by: # cd /usr/ports/port-mgmt/portupgrade # make install I've thought about setting up a dummy server, just to practice on. Is this a good idea? Or am I just a nervous Nellie? Get a test box to do this on first. :) Absolutely. A dummy run before the real thing is a really good idea. One great benefit of using a test server is that you can also use it as a package building machine (assuming it's the same CPU architecture of course). Being able to upgrade all the installed software by installing pre-compiled and tested packages will a) save you a lot of time when you have to have your production server out of action to work on it and b) it lets you discover all those little glitches and tweaks that you will need to deal with *before* you have to do it for real. If you do have a spare server with appropriate capabilities, one approach that you might consider is building a duplicate upgraded system image on the spare machine and then simply swapping hard drives with your production box. That is probably about the minimum time impact on production service[*] for you to do this sort of upgrade and it has the really useful benefit that there is a simple back-out path should things not work out. Just swap the old disks back in. Cheers, Matthew [*] Well, modulo time required for disks to resynchronise if you're using mirroring and can't swap both halves of the mirror simultaneously. For the whole RAID 1 thing to be effective your server /should/ run pretty much normally while this is going on though. -- 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
Re: Upgrading from 6.3 to 7.1 -- how dangerous?
John Almberg wrote: I need to upgrade a live, production server from 6.3 to 7.1. I can't afford to have any troubles with this server. I have Absolute FreeBSD and a few other BSD books, and the upgrade process looks fairly straightforward. That's the theory... Real world question: how scared should I be? I've thought about setting up a dummy server, just to practice on. Is this a good idea? Or am I just a nervous Nellie? I concur with the concept of doing it on a test box first. I only have two servers at home and 7 at work, so the ones at home are my fudge factor in that upgrades are run by them first before I try the ones at work. Since I don't have large numbers whenever I go from one major release to another, e.g., like 6.x to 7.x I first use dump and back up everything. Then I usually install the new from scratch, build whatever ports, and copy configs over from the backup. Doesn't have to get done this way, but there are a few things of which you should be aware. Whenever there is a major version bump it is because of an ABI difference between old and new. Sometimes this will cause installed ports that were built against the libs from the previous install to malfunction. The proper fix is to rebuild them after the update so they get built against the new versions of system libraries. This can be automated with portupgrade. The other common approach is to install the compat shim, in this case it would be the compat6x. With this installed when you reboot to the new kernel in theory the existing ports built against 6.x libs will still function. Since I'm still using csup and the make build/install/kernel/world dance I can't speak to freebsd-update. There is also a target for ensuring old libs are deleted, I believe it is make delete-old-libs, or something like. It is a good idea to remove the old libs so that when later on when you are updating installed ports they can only get linked against the new 7.x libs. The situation you do not want to get yourself in is having a mix of some ports built against 7.x and some other(s), e.g., dependencies built against the 6.x libs. Sounds like a lot but it really isn't if you break it up into individual steps and are aware of the potential pitfalls. These are mostly easy to deal with by simply doing things in the proper order. What you are proposing is doable, and has been done by many - I just wanted you to know the traps not to fall into. But I would recommend you dry run it on a non production box first, just to get a feel for it. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
NSS library
Hi, I was attempting to configure some software. Configure told me that: missing required NSS library 'nss3' A search of my hard drive and the net came up dry. Who writes the library and were can I download it? - Regards, Chris Chambers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: NSS library
Christopher Chambers wrote: Hi, I was attempting to configure some software. Configure told me that: missing required NSS library 'nss3' A search of my hard drive and the net came up dry. Who writes the library and were can I download it? - Regards, Chris Chambers Take a look at: /usr/ports/security/nss It used to be a dependency for Firefox 2.x.x so it got installed and went noticed. Firefox 3.x.x uses nspr and so nss is not present. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrading from 6.3 to 7.1 -- how dangerous?
how i do this (but this is probably not politically correct ;) 1) get all files of new version in one place (subdir) say at /7.1 2) separate out manually all configs - it's /etc, /var/namedb and maybe few more 3) using livecd just put all other files with tar|tar to the place 4) manually update configs - put all except what you modified 5) turn off all services in rc.conf, reboot 6) install compat6x from ports so your existing ports will work, then turn on services On Sun, 19 Apr 2009, John Almberg wrote: I need to upgrade a live, production server from 6.3 to 7.1. I can't afford to have any troubles with this server. I have Absolute FreeBSD and a few other BSD books, and the upgrade process looks fairly straightforward. That's the theory... Real world question: how scared should I be? I've thought about setting up a dummy server, just to practice on. Is this a good idea? Or am I just a nervous Nellie? -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with Xorg after portupgrade
Hello Manolis, On Sun, Apr 19, 2009 at 6:02 PM, Manolis Kiagias son...@otenet.gr wrote: Warren Block wrote: On Sun, 19 Apr 2009, Manolis Kiagias wrote: Browsing your xorg.conf, you forgot to add the keyword Option in front of AllowEmptyInput. And actually this should also go the ServerFlags section. I corrected this error but the screen is still blank and black. A ServerFlags section is optional; those entries can also go in the ServerLayout section. That simplifies xorg.conf a little. I also followed this advice - still no luck. -Warren Block * Rapid City, South Dakota USA Good to know, thanks. The Xorg upgrade was bumpy for me too - too many changes at once. I even tried with Manolis's xorg.conf - same results. I use startx as a non-root user and I invoke startkde from .xinitrc, but kde does not appear. The screen just blinks once or twice. I also tried to enable xdm from /etc/ttys - same result. Indeed, I think the xorg.conf is OK and no errors appear in the log, but still I can not get it running. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: java using 100% CPU
It's also a lot more intense in the graphics department. Runescape pretty much maxes out my system as well. My computer is somewhat older 1.3ghz, with a cheap graphics card. Looking back through the thread, I don't see any information on your hardware. Is it possible that runescape simple pushes your hardware to its limits? AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ with 4gig RAM an what ever the onboard Vid card is ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
firefox3 hangs up while running flash plugin
HI, just had this feeling that whenever there is a flash plugin, firefox3 hangs up pretty bad. I remove a link under /usr/local/lib/firefox3/plugins to disable plugin, firefox hangs no more. is this because most flash plugins are upgraded from 9 to 10? thanks!! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with Xorg after portupgrade
On Mon, 20 Apr 2009, Ivan Rambius Ivanov wrote: I even tried with Manolis's xorg.conf - same results. I use startx as a non-root user and I invoke startkde from .xinitrc, but kde does not appear. The screen just blinks once or twice. I also tried to enable xdm from /etc/ttys - same result. Indeed, I think the xorg.conf is OK and no errors appear in the log, but still I can not get it running. It's easier to test if you remove the big desktop manager from the equation. So rename or delete your .xinitrc, .xsession, and don't start X from /etc/ttys. Don't forget to kill -HUP 1 and kill xdm. Then try startx to just get the plain twm screen. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: write_dma error
On Sun, Apr 19, 2009 at 6:59 PM, Zane C.B. v.ve...@vvelox.net wrote: On Sun, 19 Apr 2009 14:36:40 +0100 Bruce Cran br...@cran.org.uk wrote: On Sun, 19 Apr 2009 08:49:10 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Hmm. ICRC errors are about the controller talking to the disk electronics. They don't generally have anything to do with the magnetic medium itself. Try replacing the cable. The only time I've seen ICRC errors was when FreeBSD was programming UDMA100 mode when I only had a UDMA33 cable installed. Overridding the mode using atacontrol solved it, as did installing a UDMA66 cable. I've seen the issue quit often in cheap, or long, UDMA100 cables as well. i haven't tried changing the cable, but it is just a standard sata cable, those about a foot long. it is doing ok right now but still would like to do some checks on it. See, the biggest problem was actually caused by S.M.A.R.T that day i posted, which i had enabled the day before and forgot about. The whole computer was acting up when accessing disks and i saw the error more frequent till it actually caused a panic, hard rebooted, and vanished from the bios listing. When i pulled it out it seemed somewhat overheated. the thing is though, i never had S.M.A.R.T enabled before and still saw the error sometimes; and pretty sure it depended on the install - either i see it often, or not at all on this particular disk. anyway, thanks all for the input ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with Xorg after portupgrade
Warren Block wrote: On Mon, 20 Apr 2009, Ivan Rambius Ivanov wrote: I even tried with Manolis's xorg.conf - same results. I use startx as a non-root user and I invoke startkde from .xinitrc, but kde does not appear. The screen just blinks once or twice. I also tried to enable xdm from /etc/ttys - same result. Indeed, I think the xorg.conf is OK and no errors appear in the log, but still I can not get it running. It's easier to test if you remove the big desktop manager from the equation. So rename or delete your .xinitrc, .xsession, and don't start X from /etc/ttys. Don't forget to kill -HUP 1 and kill xdm. Then try startx to just get the plain twm screen. I'm having similar problems after upgrading an older machine to Xorg 7.4. The monitor blinks it's power light indicating no signal. While CTRL+ALT+Backspace does not kill the X server, I can press CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill the X server via CTRL+C. Interestingly, if I restart the server (via Xorg, X, startx, etc), the screen will switch to graphics mode and briefly show the contents of the previous session, and then go blank. I believe I'm seeing the contents of the video memory after the mode switch and before the video memory is overwritten or erased. I believe that Xorg is working fine, but somehow the video card is told to blank the screen (maybe via DPMS?) or is otherwise incorrectly programmed. I was using the DPMS screen saver modul via rc.conf, I will remove that and check again. I'll also remove all the .xinitrc, .xsession, left over crud as well. This is a machine using the VESA driver with an older Voodoo Banshee AGP card. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Freebsd Built-in vacation program does not auto reply
hi derek, It is not also working on my sendmail. May be I overlooked some steps? step 1. login to user # su alydio.mc step 2. initialize vacation db $ vacation -i step 3. create .vacation.msg From: alydio...@mydomain.com Subject: I am on vacation Delivered-By-The-Graces-Of: The Vacation program Precedence: bulk I am on vacation until... step 4. create .forward \klyren, |/usr/bin/vacation klyren sendmail log Apr 20 08:21:08 MAIL sm-mta[18102]: n3K0L2Jl018092: to=|/usr/bin/vacation alydio.mc, ctladdr=alydio...@mydomain (1001/0), delay=00:00:05, xdelay=00:00:00, mailer=prog, pri=62458, dsn=2.0.0, stat=Sent ...nothing follows... thanks alydiomc --- On Fri, 4/17/09, Derek Ragona de...@computinginnovations.com wrote: From: Derek Ragona de...@computinginnovations.com Subject: Re: Freebsd Built-in vacation program does not auto reply To: alydi...@yahoo.com, Odhiambo Washington odhia...@gmail.com Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 9:51 PM At 07:27 AM 4/17/2009, lyd mc wrote: Thanks Odhiambo for your time. Actually i have a working vacation program from freebsd ports (/usr/ports/mail/vacation). I only wondering why the freebsd base vacation behave differently I still want freebsd base vacation... the one from ports is obsolete (as per its maintainer website) and sometime i need to edit its makefile for it to compile Thanks again. I think the base system vacation is the one that is part of sendmail. So using it with postfix as the MTA may be the issue. I have use the base vacation version flawlessly with sendmail. -Derek --- On Fri, 4/17/09, Odhiambo Washington odhia...@gmail.com wrote: From: Odhiambo Washington odhia...@gmail.com Subject: Re: Freebsd Built-in vacation program does not auto reply To: alydi...@yahoo.com Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 8:10 PM On Fri, Apr 17, 2009 at 2:47 PM, lyd mc alydi...@yahoo.com wrote: hi, I don't know how to run it in debug mode I already try this one. #/usr/bin/vacation -d alydio.mc but nothing happened... no logs in /var/log/message and /var/log/maillog pertaining to vacation. Okay. I think you need to look again at your MTA logs. Not being an expert with Postfix, I am not sure I can help with it anyway. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: snd-hda no sound whatsoever
If it still doesn't work put a verbose boot dmesg of snd_hda and pcm somewhere (see the man page of snd_hda) and ask on the freebsd-multimedia@ mailing list. #sysctl hw.snd.default_unit=0 Works - thanks. Now - to make this change stick I add it to /boot/loader.conf ? Thanks all for your help. Regards -- Eitan Adler Security is increased by designing for the way humans actually behave. -Jakob Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Freebsd Built-in vacation program does not auto reply
Hi derek, Correction on step 4, it should be: \alydio.mc, |/usr/bin/vacation alydio.mc thanks, alyd --- On Mon, 4/20/09, lyd mc alydi...@yahoo.com wrote: From: lyd mc alydi...@yahoo.com Subject: Re: Freebsd Built-in vacation program does not auto reply To: Derek Ragona de...@computinginnovations.com Cc: freebsd-questions@freebsd.org Date: Monday, April 20, 2009, 9:07 AM hi derek, It is not also working on my sendmail. May be I overlooked some steps? step 1. login to user # su alydio.mc step 2. initialize vacation db $ vacation -i step 3. create .vacation.msg From: alydio...@mydomain.com Subject: I am on vacation Delivered-By-The-Graces-Of: The Vacation program Precedence: bulk I am on vacation until... step 4. create .forward \klyren, |/usr/bin/vacation klyren sendmail log Apr 20 08:21:08 MAIL sm-mta[18102]: n3K0L2Jl018092: to=|/usr/bin/vacation alydio.mc, ctladdr=alydio...@mydomain (1001/0), delay=00:00:05, xdelay=00:00:00, mailer=prog, pri=62458, dsn=2.0.0, stat=Sent ...nothing follows... thanks alydiomc --- On Fri, 4/17/09, Derek Ragona de...@computinginnovations.com wrote: From: Derek Ragona de...@computinginnovations.com Subject: Re: Freebsd Built-in vacation program does not auto reply To: alydi...@yahoo.com, Odhiambo Washington odhia...@gmail.com Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 9:51 PM At 07:27 AM 4/17/2009, lyd mc wrote: Thanks Odhiambo for your time. Actually i have a working vacation program from freebsd ports (/usr/ports/mail/vacation). I only wondering why the freebsd base vacation behave differently I still want freebsd base vacation... the one from ports is obsolete (as per its maintainer website) and sometime i need to edit its makefile for it to compile Thanks again. I think the base system vacation is the one that is part of sendmail. So using it with postfix as the MTA may be the issue. I have use the base vacation version flawlessly with sendmail. -Derek --- On Fri, 4/17/09, Odhiambo Washington odhia...@gmail.com wrote: From: Odhiambo Washington odhia...@gmail.com Subject: Re: Freebsd Built-in vacation program does not auto reply To: alydi...@yahoo.com Cc: Steve Bertrand st...@ibctech.ca, freebsd-questions@freebsd.org Date: Friday, April 17, 2009, 8:10 PM On Fri, Apr 17, 2009 at 2:47 PM, lyd mc alydi...@yahoo.com wrote: hi, I don't know how to run it in debug mode I already try this one. #/usr/bin/vacation -d alydio.mc but nothing happened... no logs in /var/log/message and /var/log/maillog pertaining to vacation. Okay. I think you need to look again at your MTA logs. Not being an expert with Postfix, I am not sure I can help with it anyway. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Clothes make the man. Naked people have little or no influence on society. -- Mark Twain ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with Xorg after portupgrade
On Sun, 19 Apr 2009 17:16:45 -0700, Charles Oppermann chuc...@gmail.com wrote: I'm having similar problems after upgrading an older machine to Xorg 7.4. The monitor blinks it's power light indicating no signal. While CTRL+ALT+Backspace does not kill the X server, I can press CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill the X server via CTRL+C. There's a new setting that needs to be put into xorg.conf: Section ServerFlags Option DontZap false EndSection Then you should be able to Ctrl+Alt+BkSpace to kill X. Interestingly, if I restart the server (via Xorg, X, startx, etc), the screen will switch to graphics mode and briefly show the contents of the previous session, and then go blank. I believe I'm seeing the contents of the video memory after the mode switch and before the video memory is overwritten or erased. I've seen such a behaviour before, because X seemed to be unable to update the screen contents. I believe that Xorg is working fine, but somehow the video card is told to blank the screen (maybe via DPMS?) or is otherwise incorrectly programmed. Regarding DPMS, Section Monitor Option DPMS false EndSection comes into mind, as well as xset -dpms in ~/.xinitrc. This should eliminate every DPMS attempt of X. I was using the DPMS screen saver modul via rc.conf, I will remove that and check again. I don't think it has something to do with it, but maybe there's some kind of interference between the system and X... It's always wise to do testing with minimal settings applied. I'll also remove all the .xinitrc, .xsession, left over crud as well. You could be fine with a minimal .xinitrc and .xsession, both chmodded +x. with this content: ~/.xinitrc #!/bin/sh xset -dpms xterm exec twm ~/.xsession #!/bin/csh source ~/.cshrc exec ~/.xinitrc The incorporation of shell settings depends on the shell you use (C shell is the default shell). This is a machine using the VESA driver with an older Voodoo Banshee AGP card. VESA? Isn't there a driver for this card that gets automatically detected (hahaha) by X .-configure? In most cases, it's useful to delete all the many autodetected screens in your xorg.conf, only leaving present what you really have, nothing more. This should bypass every means of automatic detection. Of course, you should know what you have. :-) I hope it's okay when I attach an xorg.conf where these requirements are met, it's the one I'm using at the moment. Note that it doesn't conform to the new set of X settings yet, because I'm still using an older X. Maybe it helps you as a template or to get spare parts. :-) And finally, have a look at EE lines in /var/log/Xorg.0.log to see if any driver complains. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... # /etc/X11/xorg.conf # == Section ServerLayout Identifier Layout0 Screen 0 Screen0 0 0 InputDevice Mouse0CorePointer InputDevice Keyboard0 CoreKeyboard Option SingleCardtrue EndSection #Section ServerFlags # Option DontVTSwitch false # Option DontZap false # Option DontZoom false # Option Xinerama false # Option AIGLX true #EndSection Section Files RgbPath /usr/local/share/X11/rgb ModulePath /usr/local/lib/xorg/modules FontPath/usr/local/lib/X11/fonts/misc/ FontPath/usr/local/lib/X11/fonts/TTF/ FontPath/usr/local/lib/X11/fonts/OTF FontPath/usr/local/lib/X11/fonts/Type1/ FontPath/usr/local/lib/X11/fonts/100dpi/ FontPath/usr/local/lib/X11/fonts/75dpi/ FontPath/usr/local/share/ghostscript/fonts/ FontPath/usr/local/share/fonts/amspsfont/type1/ FontPath/usr/local/share/fonts/cmpsfont/type1/ EndSection Section Module LoadGLcore Loaddbe Loaddri Loadextmod Loadglx Loadrecord Loadxtrap Loadfreetype Loadtype1 EndSection Section DRI Mode0666 EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc105 Option XkbLayout de Option AutoRepeat250 30 EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option
Flash 10
Hi, Nspluginwrapper's website says that version 1.2.2 is capable of installing flash 10. When I tried it, I got the message: no appropriate viewer found. Any ideas? - Regards, Chris Chambers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Flash 10
On Sun, Apr 19, 2009 at 10:32 PM, Christopher Chambers ccha...@interchange.ubc.ca wrote: Hi, Nspluginwrapper's website says that version 1.2.2 is capable of installing flash 10. When I tried it, I got the message: no appropriate viewer found. Any ideas? I just installed it with success on 7.2-RC1/amd64. I had nspluginwrapper-1.2.2_2 already installed and installed flash10 with: cd /usr/ports/www/linux-f8-flashplugin10 make install clean Then I just ran this as my regular user: nspluginwrapper -v -a -i What option(s) were you using to nspluginwrapper? Can you provide the full output from nspluginwrapper when you run it? Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Problems with Xorg after portupgrade
On Mon, 20 Apr 2009, Polytropon wrote: On Sun, 19 Apr 2009 17:16:45 -0700, Charles Oppermann chuc...@gmail.com wrote: I'm having similar problems after upgrading an older machine to Xorg 7.4. The monitor blinks it's power light indicating no signal. While CTRL+ALT+Backspace does not kill the X server, I can press CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill the X server via CTRL+C. There's a new setting that needs to be put into xorg.conf: Section ServerFlags Option DontZap false EndSection Then you should be able to Ctrl+Alt+BkSpace to kill X. Really, it's an old option with a new default. Interestingly, if I restart the server (via Xorg, X, startx, etc), the screen will switch to graphics mode and briefly show the contents of the previous session, and then go blank. I believe I'm seeing the contents of the video memory after the mode switch and before the video memory is overwritten or erased. I've seen such a behaviour before, because X seemed to be unable to update the screen contents. I believe that Xorg is working fine, but somehow the video card is told to blank the screen (maybe via DPMS?) or is otherwise incorrectly programmed. Could be that the monitor is not seeing output it likes from the video card and auto-blanking. General notes: First try without an xorg.conf at all. xorg will autoconfig. If it gets it right, or almost right, you can pull the values for xorg.conf out of /var/log/Xorg.0.log. If autoconfig doesn't get things right, still try with a minimal xorg.conf. For instance, all you need in a monitor section is Section Monitor Identifier Monitor0 EndSection Note in Xorg.0.log all the modules that load by default, and realize that you can pretty much leave out the Modules section. Repeating again that you don't need a ServerFlags section, those settings can go in ServerLayout. I'll also remove all the .xinitrc, .xsession, left over crud as well. You could be fine with a minimal .xinitrc and .xsession, both chmodded +x. with this content: ~/.xinitrc #!/bin/sh xset -dpms xterm exec twm ~/.xsession #!/bin/csh source ~/.cshrc exec ~/.xinitrc Unnecessary, since /usr/local/lib/X11/xinit/xinitrc will be used if there is no user default. This is a machine using the VESA driver with an older Voodoo Banshee AGP card. VESA? Isn't there a driver for this card that gets automatically detected (hahaha) by X .-configure? There's a voodoo driver in ports; no idea if it works with that card. Recent copy of xorg.conf here: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008206.html -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fetchmail problem
I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve I can send mail out from the box but can't fetch mail. Annelise ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fetchmail problem
On Sun, 19 Apr 2009, Annelise Anderson wrote: I am trying to use fetchmail on FreeBSD but get the message: fetchmail: SMTP 451 4.1.8 Domain of sender address owner-freebsd-questi...@freebsd.org does not resolve I can send mail out from the box but can't fetch mail. so check why domain doesn't resolve. and if it have to not - use option to put mails directly to file or through procmail and not local SMTP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org