Re: Running Apache with as few modules as possible
Charles Howse wrote: On Apr 28, 2009, at 2:29 PM, Tom Worster wrote: On 4/28/09 3:14 PM, "Charles Howse" wrote: Can anyone see anything that I've commented that I'll be sorry for? Can anyone suggest any more testing I should do? unfortunately i can't but i'd like to ask you to tell us, once you're done with removing modules, how much memory you saved relative to where you started. i'm curious because i went through a similar exercise not long ago and would be interested to compare notes. OK, here we go: With Apache running on the development machine, modules commented as in my first post -- CPU: 0.8% user, 0.0% nice, 0.4% system, 0.8% interrupt, 98.1% idle Mem: 27M Active, 139M Inact, 64M Wired, 11M Cache, 34M Buf, 648K Free Swap: 512M Total, 60K Used, 512M Free Apache running on the same machine without any modules commented except mod_ssl -- CPU: 0.8% user, 0.0% nice, 0.8% system, 0.4% interrupt, 98.1% idle Mem: 27M Active, 134M Inact, 64M Wired, 13M Cache, 34M Buf, 3584K Free Swap: 512M Total, 60K Used, 512M Free I just ran 'top' after starting httpd to get these figures, maybe I should have done something different? 'bout the only thing that makes sense to me is I have more Free Memory when commenting all those modules. What is the list's opinion on this? You should probably use pmap for a more accurate comparison. you may also want to set CFLAGS= -Os for size considerations(CPUTYPE as well), and remove unnecessary modules from kernel if you haven't done so already. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Chicken and egg
Steven Friedrich wrote: Manolis Kiagias wrote: Steven Friedrich wrote: Lowell Gilbert wrote: Steven Friedrich writes: I've been having trouble with X11 ports, so I deleted all my packages and tried to install xorg fresh. xorg port failed trying to build cairo, cairo failed because it couldn't build libdrm, libdrm failed because cairo's headers weren't installed. So in summary, I can't install cairo because it wants to build libdrm, which won't build/install because it wants cairo. And I tried to install packages or the X11 distro from the ftp site and also from my 7.2 RC-1 media. I tried setting the Options for "any" as well as RELEASE_7_2_0, to no avail. My system is up and running multi-user, so sysinstall failed to install any packages. I built cairo with make -k install, so it would brute force past the error, and after that I built libdrm and cairo again with portupgrade -fr libdrm cairo. Not only have I not seen or heard of this problem before, I can't see any direct dependency of either libdrm or cairo on the other. pkg_info -r cairo\* shows that cairo needs libdrm. Information for cairo-1.8.6_1,1: Depends on: ... Dependency: libdrm-2.4.9 ... If anyone has a has a test system, where they could try my scenario, i.e., deleting all installed packages and trying to install xorg, I think you'll find it. I have two identical systems that I have mobile racks in, allowing me to swap out the hard drives. So I have 4 sets of drives, Lightning, Daemon, FreakinBSD, and Gandalf. I saw this issue with Daemon. I need to update FreakinBSD and Gandalf, so I'll try this again and get it in a log file. libdrm doesn't build without cairo.h in /usr/local/include, but it won't be there until you're built cairo, which depends on libdrm. As Lowell already said, I can't find any dependency between libdrm and cairo. My guess is you package database has one or more stale dependencies. However, if the purpose is to wipe all packages you don't even have to bother with pkg_delete. In such cases I simply rm /usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are using the linux binary compatibility, as this is not installed in /usr/local but /usr/compat). I do this routinely on test systems. On a system with cairo installed, try pkg_info -r cairo\*|grep drm Here's from one of my systems: Dependency: libdrm-2.4.9 Since I used pkg_delete -a to get rid of all ports and packages, I couldn't have any stale dependencies, could I ? After that I went to /usr/ports/x11/xorg and did a make install and it failed. My ports are recent, I'm tracking 7.2-RC1, etc. my system setup is similar to yours. cairo depends on libdrm in my setup, however I can find nowhere that libdrm depends on cairo. Does the following complete successfully, if not what errors do you see? update ports eg - portsnap fetch extract cd /usr/ports/graphics/libdrm make clean distclean deinstall reinstall -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Chicken and egg
Steven Friedrich wrote: Manolis Kiagias wrote: Steven Friedrich wrote: Lowell Gilbert wrote: Steven Friedrich writes: I've been having trouble with X11 ports, so I deleted all my packages and tried to install xorg fresh. xorg port failed trying to build cairo, cairo failed because it couldn't build libdrm, libdrm failed because cairo's headers weren't installed. So in summary, I can't install cairo because it wants to build libdrm, which won't build/install because it wants cairo. And I tried to install packages or the X11 distro from the ftp site and also from my 7.2 RC-1 media. I tried setting the Options for "any" as well as RELEASE_7_2_0, to no avail. My system is up and running multi-user, so sysinstall failed to install any packages. I built cairo with make -k install, so it would brute force past the error, and after that I built libdrm and cairo again with portupgrade -fr libdrm cairo. Not only have I not seen or heard of this problem before, I can't see any direct dependency of either libdrm or cairo on the other. pkg_info -r cairo\* shows that cairo needs libdrm. Information for cairo-1.8.6_1,1: Depends on: ... Dependency: libdrm-2.4.9 ... If anyone has a has a test system, where they could try my scenario, i.e., deleting all installed packages and trying to install xorg, I think you'll find it. I have two identical systems that I have mobile racks in, allowing me to swap out the hard drives. So I have 4 sets of drives, Lightning, Daemon, FreakinBSD, and Gandalf. I saw this issue with Daemon. I need to update FreakinBSD and Gandalf, so I'll try this again and get it in a log file. libdrm doesn't build without cairo.h in /usr/local/include, but it won't be there until you're built cairo, which depends on libdrm. As Lowell already said, I can't find any dependency between libdrm and cairo. My guess is you package database has one or more stale dependencies. However, if the purpose is to wipe all packages you don't even have to bother with pkg_delete. In such cases I simply rm /usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are using the linux binary compatibility, as this is not installed in /usr/local but /usr/compat). I do this routinely on test systems. On a system with cairo installed, try pkg_info -r cairo\*|grep drm Here's from one of my systems: Dependency: libdrm-2.4.9 Since I used pkg_delete -a to get rid of all ports and packages, I couldn't have any stale dependencies, could I ? Yes, you could. After that I went to /usr/ports/x11/xorg and did a make install and it failed. My ports are recent, I'm tracking 7.2-RC1, etc. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: su'ing not sourcing .bash_profile
Daniel Underwood wrote: When I am logged in as a non-root user and I try to become root by entering "su" and typing the root password, the resulting bash prompt does not reflect the contents of /root/.bash_profile My /root/.bash_profile contains (among other things): export PS1="[\e[1;31m\]$(tput bold)\u$(tput sgr0)\[\e[0...@\h \w]\$ " The point is to make the username ("root") display in BOLD and RED text. After su'ing, the text is not bold nor red. If I then enter "source ~/.bash_profile", however, the prompt displays correctly, showing "root" in bold and red text. How come su'ing doesn't seem to effect everything in the /root/.bash_profile file? Thanks, Daniel ___ 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" I think you may need to set that in ~/.bashrc -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Modern FreeBSD Installer?
Chuck Swiger wrote: On Apr 22, 2009, at 12:27 PM, Fritz wrote: Hi, As a big fan (and paying subscriber) Interesting-- I wasn't aware that the FreeBSD project had a paid subscription model...? Indeed, I fear my dues may be late. ...of FreeBSD it pains me to ask this question: When are you going to build a modern installer for FreeBSD? I looked at the list of projects and didn't see it there ... did I miss something? If you're asking for an installer which requires bitmapped graphics and won't work over a serial terminal or the like, well, I hope the answer is never. Some people have tried before and/or might still be working on a replacement, but thus far, nobody has written one which is widely regarded as better than sysinstall. Once upon time, there was a Summer of Code projects set to develop a graphical installer for FBSD 7.x. I don't know what happened to it, but also agree there is no need for such a thing. Sysinstall may appear intimidating but it's really quite easy to use once you're used to it. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: 7.2 fsck weirdness
Peter Harrison wrote: I've just upgraded my laptop from 7-STABLE (pre-7.2) to 7.2-PRERELEASE. Now I'm getting GEOM_LABEL messages during boot at fsck -p: GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806. GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d. GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465. GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886. Trying to mount root from ufs:/dev/ad0s4a GEOM_LABEL: Label ufsid/47512fd69af66806 removed. GEOM_LABEL: Label for provider ad0s4a is ufsid/47512fd69af66806. GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed. GEOM_LABEL: Label for provider ad0s4e is ufsid/47512fd7a48e0465. GEOM_LABEL: Label ufsid/47512fd73aadb886 removed. GEOM_LABEL: Label for provider ad0s4f is ufsid/47512fd73aadb886. GEOM_LABEL: Label ufsid/47512fd8e911c63d removed. GEOM_LABEL: Label for provider ad0s4d is ufsid/47512fd8e911c63d. GEOM_LABEL: Label ufsid/47512fd69af66806 removed. GEOM_LABEL: Label ufsid/47512fd7a48e0465 removed. GEOM_LABEL: Label ufsid/47512fd73aadb886 removed. GEOM_LABEL: Label ufsid/47512fd8e911c63d removed. I wasn't getting the label removed messages prior to the update. Any ideas what this is about, and whether I should be worried? Everything seems to work normally otherwise. Thanks, Peter Harrison. ___ happened on my upgrade too, I noticed an update to geom(label?) while csup'n so I imagine that would give you an idea as to the exact change which caused the behavior. I haven't noticed any other changes other than a more verbose startup. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: /libexec/ld-elf.so.1: /usr/local/lib/libcairo.so.2: Undefined symbol "pixman_region32_init"
firm...@gmail.com wrote: Hi, After installing Freebsd 7.1 with this as my uname -a: 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0 That could be a problem. That should read something like: 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #3 You might try updating to 7.1 release or if you're tracking STABLE update to that. Then uname will show something like: 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3 AFAIK, the firefox3 pkg is built against 7.1R so that may be related to your problem. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: perl script failed at different stages
Tsu-Fan Cheng wrote: Hi, I guess this is not a REAL freebsd problem, but I am running a perl script on freebsd7.0/perl 5.10 system. This script failed with "segmentation fault" at different stages with different input files, and sometimes the script actually finishes and gives the reasonable output. So does this mean the script is fine, but others are at fault? e.g. memory.. or..?? any advice is welcome. If you suspect bad memory, best to replace w/ known good or test somewhere that is not a concern. Bad hardware and memory especially can cause many many different unexpected symptoms, and can be tricky to run down. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: "No route to host" when trying to connect to FTP server on the Internet
Redd Vinylene wrote: On Tue, Apr 21, 2009 at 9:13 PM, Chuck Swiger wrote: On Apr 21, 2009, at 11:40 AM, Redd Vinylene wrote: I'm trying to connect to my friend's FTP server but I'm getting a "No route to host" when trying from my NAT workstation. It works just fine when I connect from my NAT server though. Internet -> NAT server (192.168.187.1) -> NAT workstation (192.168.187.2) Presumably you should have a default route set? (Check netstat -r.) If not, consider: route add default 192.168.187.1 Regards, -- -Chuck Yeah, the default route is set. Routing works just fine. In fact, it's been working for years. It's just this one FTP server that it won't connect to. For awhile I had been dealing with a sort similar issuesee here: http://forums.freebsd.org/showthread.php?t=890 There where other issues with it as well but that was the most reproducible. Also sshd didn't work to same remote host either. I recently upgraded the server from 6.2 -> 7.1 including updated ports rebuild. That fixed every nagging issue with the system including nat/routing stuff. My best guess is there was some issues w/ pf in 6.2 as no config files for application got changed including fw rules yet now it works. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: CD Burning
Christopher Chambers wrote: I have found that burning software is unable to detect my cdrom. I would assume that this is because acd0 is listed in fstab as read-only. That is not correct. I am just a little worried that changing it to rw might wreck a cd (already burnt) one day. This will not happen, burner won't engage on a disc w/ a closed session under normal circumstances. Since cp or mv to /cdrom won't work, I guess my fear is unjustified hey? not really, you should checkout the man pages for burncd, and cdrecord and the appropriate section in the handbook. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: sorta newb help compiling samba
Karl Vogel wrote: On Wed, 8 Apr 2009 13:21:17 -0500, "Gary Gatten" said: G> I've been playing with various flavors of *nix off and on for almost twenty G> years, but not doing much development the make process often causes me G> issues - as is the case with samba. This is why I only use the ports system for small, simple builds like rsync. For anything major (Perl, OpenSSH, OpenSSL, Apache ...) I either use a pre-built package or build directly from source. I used these commands for my most recent Samba build: me% CC=gcc ./configure --with-acl-support \ --with-configdir=/usr/local/etc \ --prefix=/usr/local me% make root# make install I use a (fairly generic) script to handle starting and stopping Samba cleanly. It also handles log rotation. It's attached below, if you're interested. The "killpg" program used is derived from kill, but sends its signals to a process group instead of a process. How do you handle major builds that use FBSD specific patches....asterisk for example? -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Copying files without scp
Steve Bertrand wrote: Hi all, To copy data from one server, I normally (always) use scp. I'm looking for a method to perform this copy task without the overhead of encryption for infrequent, high-volume transfers (hundreds to thousands of GB). The data will be transferred server-to-server within a private datacentre. Can someone recommend a *known good* production quality copy mechanism that will act like scp, but without the overhead? rsh? nc? I recall a thread not too long ago regarding this, but I'd like to have a simple working example if possible, without getting into detail why one shouldn't transfer data unencrypted. Steve ___ 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" dump should work, it uses rsh. something like cpio could be piped into rsh obviously. You may want to benchmark it as I've had better transfer rates using scp/ssh but have not done it against rsh method. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: How big can a tar file get?
John Almberg wrote: Because of a big problem I had this weekend, I need to do an emergency backup. I'm basically just creating a tar file of my /home directory. My question: how big can a file get on FreeBSD? This tar.gz file is already 5G. Hard drive space is no problem, but as I'm watching this file grow, I'm wondering if there is some file size limit that is going to make this long backup abort. Naturally, that will happen when the backup is almost complete :-) -- 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" http://en.wikipedia.org/wiki/Unix_File_System Max file size 2^73 bytes (8 ZiB <http://en.wikipedia.org/wiki/Zebibyte>) -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: jail stop
alexus wrote: On Mon, Apr 6, 2009 at 3:49 PM, Adam Vandemore wrote: Brian A. Seklecki wrote: On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. ___ 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" I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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" dd# jkill jkill: Command not found. dd# i assume jkill isn't part of standard OS, right? right, it's here: /usr/ports/sysutils/jailutils -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: anybody know about a 3.01 package *With* browser?
Gary Kline wrote: On Mon, Apr 06, 2009 at 12:02:07AM -0400, Robert Huff wrote: Tim Judd writes: I don't understand the "months/years" or "weeks/days" symptom of OOo. On my dual-core system at work, Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Took about 4 hours. It only seemed to utilize only 1 CPU... my top always said <=50% CPU usage For comparison: on a P4/2.26ghz/2 gbyte RAM, lightly loaded with fairly fast SCSI disks, it takes 30+ hours. Robert Huff Sorry if this is getting old . I'm running two desktops, one 2.8GHz, this one 2.4. Both with "only" 1G ram. I useemy hardware pretty intensively, not lightly loaded, and building a full-blown OO takes at least three days. ---This is when I've got plenty of space. With fewer than 5G disk, forget it. That's why I want my next computer to be not only powerful but with diskspace to burn. just got done compiling ooo3 devel on 1.4 gz pentium-m. I think it took less than a day, 512 ram, nothing else running. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: jail stop
Brian A. Seklecki wrote: On Mon, 2009-04-06 at 15:27 -0400, alexus wrote: cannot stop jail mx. No jail id in /var/run $ uname -a There were problems with TTY code in older versions that would cause processes to get stuck, ghosting jails. ___ 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" I believe I have seen other causes of this issue since it happens on 7.1. jkill takes care of it. Probably happens due to user error, here at least. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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 as a Business Server
Seur Bors wrote: Greetings, I am recommending a FreeBSD solution to replace an old business "file server". The old server is running Windows 2000 Professional, and the company has grown from the 5 employee setting to now two floors and approximately 15 - 20 people. They were starting to get connection errors to the Win2K machine, as I believe, without the Server version of the software, file sharing and maps are severely limited. Anyways, my question is thus: In setting up a FreeBSD machine and utilizing Samba to support "standard" file sharing, is there any caveats or issues that anyone perceives? I've done multiple FreeBSD installations, and utilize the Samba package to provide file sharing support in other small businesses, but have not had to consider 20 connections at once. The network connection is just a simple router to switch, all gigabit, and the system I'm recommending to use as a server also has dual gigabit network ports. As well, if anyone has any web-links to recommended reading, I would greatly appreciate them. Regards, Seur Bors Legate Commander Knights Of The Old Code ___ 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" Well there's a lot of info that would be needed to a well reasoned "Yes, you can", but the short version is it shouldn't be an issue under normal office-like usage. Going from 5 to 20 connections in such a scenario is negligible. Samba system-agnostic tutorials are good sources of info, but best advice is probably to use info provided by their official documentation and mailing list. Also, I have fbsd systems running samba with 20+ connections under what I consider normal office environment with absolutely no issues except I can't figure out how to get XP to save persistent login password. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Encoding Movies to DVD
Warren Liddell wrote: Im chasing an application that basically does the same thing Windows Nero Vision does but naturally on FreeBSD .. is there such an application or is it something thats command line based ? ___ 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" For those of us who aren't familar with Windows Nero Vision, what does it do? -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: DVD playback issue: FAILURE - non aligned DMA transfer attempted
Novembre wrote: I am trying to rip a part of a DVD to my hard drive on my RELENG_7 machine (as of February 19, 2009) using mencoder. I have '/dev/cd0/home/mnt/cdromcd9660 ro,noauto00' in /etc/fstab and the following two lines in /etc/devfs.conf: own/dev/cd0root:operator perm/dev/cd00660 I mount the DVD to ~/mnt/cdrom and run gmplayer to see if it can play the DVD. Right-clicking on the MPlayer-Video window and selecting Preferences-->Misc, I have set "DVD device" and "CD-ROM device" (the last two lines) to /dev/cd0 (otherwise it won't even recognize the drive). Then, by right-clicking on MPlayer-Video, I select 'DVD-->Open disc...' and it shows some information about the DVD (like the number of chapters, audio streams, subtitles, etc.) in the terminal window from which gmplayer was run and then nothing happens except a non-stop hard drive activity. I suspected something and checked /var/log/messages. The following two lines are being constantly, non-stop added to /var/log/messages: Apr 1 17:04:30 rsx4 kernel: ata3: FAILURE - non aligned DMA transfer attempted Apr 1 17:04:30 rsx4 kernel: acd0: setting up DMA failed and I can't even close (or kill -9, for that matter) gmplayer. If I shut down X, then I see a constant stream of the previous two lines on the screen as the text-mode is coming up; there is no command prompt. If I let it continue, finally the /var partition will fill up. Also, even after logging out of X, the gmplayer process is still running and cannot be killed. Using Alt-F2 to switching to other terminals becomes painfully slow and at some point it stops responding. The only way is to reboot the system. Note that it doesn't crash or panic or anything. I just can't type anything after a while because of all these error messages... I have these two lines in /boot/loader.conf hw.ata.ata_dma="1" hw.ata.atapi_dma="1" in my first try. After the first failed attempt and reboot, googling around led me to change the last line to hw.ata.atapi_dma="0" to no avail. I would like to, at least, play this DVD, so I'd appreciate any help...thanks ___ 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" Not 100% on this, but I think I solved this on my system awhile ago by setting dvd drive region code. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: too many video drivers
Tsu-Fan Cheng wrote: Hi, I am rebuilding ports and realize that i have too many input/video drivers for x-win installed. i know i need nv driver since my graphic card is from nvidia, and i want to deinstall all others. but i am not sure if its safe to do so, e.g. i am confused by "xf86-video-chips" since i don't know what kind of "chip" that stands for. can someone tell me which are basics and which are safe to remove? 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" Depending on what versions of things you use the nvidia-driver port and /usr/ports/x11-drivers/xf86-video-nouveau may be replacements for the nv driver. Honestly I'm not really sure what the xf86-video-chips port does, but I don't think it's related to nvidia and is perhaps for older video chipsets. Something like pkg_cutleaves but you should be very careful using it. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: web based file sharing
Terry wrote: Just looking for a way to give easy access over the internet to some files for multiple users. Web based would be ideal as they all know how to open a browser. Internally files are shared using samba. Has any one come across any thing ? Cheers Terry ___ 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" Horde has a module for this. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: installing freebsd on windows
Tim Judd wrote: I'm looking for an OS with a sane file hierarchy and a shell I can use to manage the files therein. An editor better than Notepad would be a bonus too. I see the sense in C:\Users I see the sense in C:\Documents and Settings I see the sense in C:\WINDOWS I see the sense in using CMD.exe -- after all, the dos box has been around forever Not trying to start, continue, or add fuel to a flamewar or whatever, but you can expand on how you can make sense of C:\Users and C:\Documents and Settings existing at the same time? Shouldn't Users(the equiv of /home basically) contain therein all Documents and Settings. My idea would be to put settings in logically named hidden files preceded by a '.' ;) The new windows method is as irksome and confusing as the old method. Also FYI, there is no comparison between ping /? and man ping. Man pages offer a completely different level of insight into a command, and it is exponentially more efficient than any windows method to date. Finally trying to run your computer without documentation is like trying to run your car with an owners manual. Ever try to find the fuel cutoff switch on a 1987 Ford EXP? Trust me, it goes a lot faster with the manual and that's why such things are standard--consumers expect it. Also please note I do firmly believe there is a place in this world for windows. That some people would expect a single mother working as a nurse to come home take care of the kids, and be able to make flash 9 work so she can partake in other common activities on the internet, or resolve dependency issues(on the computer) seems more than a bit asinine to me. However the place for windows is not on my desktop except for work which mainly serves as a repository for putty sessions. Even that limited use will hopefully come to an end soon. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Desktop environments
Jesse Feinman wrote: I am planning on using FreeBSD on a new computer i am building but i would like to know if there is a way that i can install multiple desktop environments and easily switch between them, preferably without restarting. The primary purpose for this is to gain complete functionality over the system utilizing all possible tools and also to evaluate the different environments to determine which one works best for me. Lastly, i am wondering how Compiz-fusion would interact in this case because to my knowledge Compiz is essentially an add on to the KDE and Gnome environments and i am wondering as to how it would function if i were to switch desktops constantly. Thank you for your time, Jesse Feinman ___ 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" First part is pretty easy to do using kdm in fact it's essentially as simple as making sure your X and WM's work, then enabling kdm. Not too sure the answer on the rest. I would guess it wouldn't be a problem though provided no config diffs between the two. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Rebuild of Kernel to burn DVD failed
Kayven Riese wrote: I was trying to burn a DVD KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device KV_BSD# I have had this problem before, but since then I believe I have a new HD that runs KV_BSD% uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT 2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN i386 KV_BSD% The fact that I am running KAYVE_KERN now is slightly confusing to me because I thought the build failed. I am attaching a file called "makesplat.log" which is my personal convention for a typescript that records everything spit (splatted) out by the make command. My laptop is an ASUS M6800N http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml here is the dmesg for the DVD burner KV_BSD# dmesg | grep DVD acd0: DVDR at ata1-master UDMA33 cd0: Removable CD-ROM SCSI-0 device KV_BSD# *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* Ok, sry for the repeated list spam but I see your error now. You ignore my first mesg since I do see now that it picks up the dev on cd0. Your syntax is wrong. should be: growisofs -dvd-compat -Z /dev/cd0 -J -R disk1 not growisofs -dvd-compat -Z /dev/acd0 -J -R disk1 -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Rebuild of Kernel to burn DVD failed
Kayven Riese wrote: I was trying to burn a DVD KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device KV_BSD# I have had this problem before, but since then I believe I have a new HD that runs KV_BSD% uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT 2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN i386 KV_BSD% The fact that I am running KAYVE_KERN now is slightly confusing to me because I thought the build failed. I am attaching a file called "makesplat.log" which is my personal convention for a typescript that records everything spit (splatted) out by the make command. My laptop is an ASUS M6800N http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml here is the dmesg for the DVD burner KV_BSD# dmesg | grep DVD acd0: DVDR at ata1-master UDMA33 cd0: Removable CD-ROM SCSI-0 device KV_BSD# *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* Also a little tip on dmesg stuff. Generally it's a bit easier for the list to read it in text format so it's a couple ways for you to get it in that format easily. A command like dmesg | mail -s "dmesg output" y...@example.com with email you the output of dmesg provided basics like internet connectivity and sendmail are working. A command like dmesg > ~/dmesg.log will dump dmesg output to a file called dmesg.log in your home directory. You can attach it to an email, or transfer to somewhere you can via sneakernet, internet, or *net. Might save you a bit of time. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Rebuild of Kernel to burn DVD failed
Kayven Riese wrote: I was trying to burn a DVD KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device KV_BSD# I have had this problem before, but since then I believe I have a new HD that runs KV_BSD% uname -a FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT 2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN i386 KV_BSD% The fact that I am running KAYVE_KERN now is slightly confusing to me because I thought the build failed. I am attaching a file called "makesplat.log" which is my personal convention for a typescript that records everything spit (splatted) out by the make command. My laptop is an ASUS M6800N http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml here is the dmesg for the DVD burner KV_BSD# dmesg | grep DVD acd0: DVDR at ata1-master UDMA33 cd0: Removable CD-ROM SCSI-0 device KV_BSD# *--* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *--* Maybe easier for you to add atapicam_load="YES" to /boot/loader.conf and reboot. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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 9
Chris Maness wrote: Is this an Open Source alternative? Chris ___ 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" No, it is the adobe linux plugin + wrapper for FBSD. /usr/ports/graphics/gnash is one such open source project. It used to work for me on youtube, but since youtube launched HD and other changes, only a few video work now using it. Most other content also doesn't work correctly with it. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: xorg-server-1.5.3_7, /usr/ports/UPDATING, mouse
0 123 ums0: on uhub0 124 ums0: 16 buttons and Z dir. 125 Timecounter "TSC" frequency 1788940443 Hz quality 800 126 Timecounters tick every 1.000 msec 127 firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) 128 firewire0: bus manager 0 (me) 129 ad0: 95396MB at ata0-master UDMA100 130 acd0: CDRW at ata1-master UDMA33 131 Trying to mount root from ufs:/dev/ad0s2a I don't have time to go over in detail what you posted, but one thing that springs to mind is the newer xorg integrates more with dbus and hald by default. If that's not working I would make sure dbus and hald are installed with current releases, enabled in /etc/rc.conf and then reboot and ensure both are running prior to trying to start X again. . -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: portupdate xorg-server
Neal Hogan wrote: In light of Adam's comment and thinking about the comment he's responding to, I realize that I may have been rather obnoxious. I appreciate Adam setting that aside to give me and the list some of his time. I'm rather new to fBSD (obvious) and I've got my parent's machine on it, which is hundreds of miles away and they have put in requests that led me to upgrade their system, including ports (and when X gets messed up from a remote position, it can be frustrating). So, I apologize if my comments came across in such a way that annoyed you. Not being a dev (or anywhere close), I have little room to act that way. But, I wonder what the most efficient way is to update ports. I appreciate Adam's point about the fact that portupgrade (and portmanager and portmaster) are ports themselves and are going to not be as reliable as what is in base. However, the fBSD documentation on updating ports (i.e., the handbook) only suggests the above three as ways to update ports. Is there a way to update ports from a base app? Given that a basic setup will have quite a few ports (hundreds), I was wondering if there was another way to update all (including their dependencies), rather that a one-by-one *make update* or *portupgrade*. <http://www.lambdaserver.com> If you are asking for a failsafe method of doing this, I'm afraid there isn't one totally issue free. If you are going to restrict yourself to known good fulling working apps, you should limit yourself to packages not ports where possible. This will insure you've pkg's that run correctly under GENERIC for your release. If you go to a stable or current branch, it's expected you'll be able to take care of yourself to some degree. Base system tools for what you are talking about consists of things like pkg_add and pkg_delete. pkg_deinstall and the like are not past of base system. There are also loads of options under ports man page. If you haven't reviewed it, you should. It does provide some of the functionality of other port management tools as part of base system. Please don't misunderstand my earlier post however, you can still easily run into dependency issues with any port tools so just because the port make options include things like "depends" it doesn't mean that you'll have 100% success rate. Again, best chance of that is sticking w/ packages at the expense of not running latest version of software. http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE+and+Ports&format=html Options like cd /usr/ports && make readmes aren't well known to most newcomers to whom things like that would be the most benefit. Something like portcheckout may help you a lot, just getting starting in FBSD is much harder than actually maintaining a running system once you're familiar with how things work. #1 rule is of course RTFM, which just leaves you with which M to actually FR. That is often the hardest part of getting started. Best command to get started is man man just to make sure you're using it effectively. apropos also very important for digging up clues if lost. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: MySQL 5.0 on FreeBSD 7
Matt Juszczak wrote: Hi all, About a year ago, I setup MySQL 5.0.45 on a FreeBSD 6.x box (64 bit). I read at the time that the use of pthreads with FreeBSD would significantly improve performance, but as I was running the 64 bit version of FreeBSD, I could not use them. Fast forward to today - a different setup and new opportunity has allowed me to research this combination again. This time, some reading I have done on the use of FreeBSD 7 with MySQL has shown significant performance increases, but none of them really mention in detail how MySQL was setup. I decided to install a 64 bit version of FreeBSD 7.x (to address the 8 GB RAM in the box) and attempt to build with pthreads enabled, as well as a static build and optimized compiler options. Once again, got the error/warning in ports that the linux pthreads only works with the i386 32 bit setup. So I'm wondering if anyone here has successfully seen a MySQL 5.x performance boost with FreeBSD 7 compared to that of FreeBSD 6 on a 64 bit architecture, and if so, what they did to enable that boost. Thanks! -Matt ___ 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" Opps here is link: http://people.freebsd.org/~kris/scaling/mysql.html -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: MySQL 5.0 on FreeBSD 7
Matt Juszczak wrote: Hi all, About a year ago, I setup MySQL 5.0.45 on a FreeBSD 6.x box (64 bit). I read at the time that the use of pthreads with FreeBSD would significantly improve performance, but as I was running the 64 bit version of FreeBSD, I could not use them. Fast forward to today - a different setup and new opportunity has allowed me to research this combination again. This time, some reading I have done on the use of FreeBSD 7 with MySQL has shown significant performance increases, but none of them really mention in detail how MySQL was setup. I decided to install a 64 bit version of FreeBSD 7.x (to address the 8 GB RAM in the box) and attempt to build with pthreads enabled, as well as a static build and optimized compiler options. Once again, got the error/warning in ports that the linux pthreads only works with the i386 32 bit setup. So I'm wondering if anyone here has successfully seen a MySQL 5.x performance boost with FreeBSD 7 compared to that of FreeBSD 6 on a 64 bit architecture, and if so, what they did to enable that boost. Thanks! -Matt ___ 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" ULE scheduler is a big performance increase. That's the default scheduler in 7.1 but not 7.0. You can check this out for more detail. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: portupdate xorg-server
Neal Hogan wrote: On Thu, Mar 19, 2009 at 4:15 PM, Frank Shute wrote: On Thu, Mar 19, 2009 at 03:21:05PM -0500, Neal Hogan wrote: The last couple of days I've been running portupgrade -av and am to the point where I'd like to move onto something else, but there is one package that won't upgrade . . . xorg-server. As you can see below, it claims that there is a missing header and there are a fair amount of reported errors. I'm not the best at deciphering the stuff below. I've tried make deinstalling/reinstalling and individually portupgrading it to no avail. suggestions? glxdriswrast.c:39:39: error: GL/internal/dri_interface.h: No such file or directory $ pkg_info -W /usr/local/include/GL/internal/dri_interface.h /usr/local/include/GL/internal/dri_interface.h was installed by package xf86driproto-2.0.3 I wish to not only that Frank for his patience and subtle hand-holding, but also address the rest of the list. First, concerning the issue Mr. Shute responded to . . . I reinstalled xf86driproto, which installed the dri_interface.h, which allowed me to pkg_add xorg-server. However, it was the older version of xorg-server. So, I ran portupgrade on it and it, again, claims that there is no dri_interface.h. According to pkg_version, all xorg and xf86 ports are up-to-date, except xorg-server of which there is a newer version. That said, I was hoping that you can help me understand the portupgrade process b/c it can be a bit frustrating when it runs for a LONG time only to have upgrades fail. Please don't take my tone to be anything other than one coming from a sense of curiosity. I don't mean to suggest anything about the fBSD ports system. Perhaps my experience is the result of my own oversight. Just to be clear, here are the steps I took: 1) #portsnap fetch 2) #portsnap extract 3) #portsnap update 4) #pkgdb -u 5) #pkgdb -F 6) #portupgrade -av As I noted in another post, some ports fail to upgrade when using portupgrade -a, no matter how many times it is run. However, they (those that fail), along with their dependencies, do upgrade when portupgraded individually (or de/reinstalled). I thought the purpose of having a ports system, where you install the ports tree and use portupgrade, was to make the install/upgrade easy and rather painless, such that all ports and their dependencies are "taken care of." As I write this I am running portupgrade individually, on those ports that failed to upgrade with -a option, but have (so far) succeeded in upgrading individually. I am simply looking at the output of pkg_version to find those that are not up-to-date. I could see if ports failed to upgrade or were ignored due to there being no diff between what's installed and that which is in the updated tree. Can someone shed some light on this? Thanks a lot for taking the time. -Neal Part of the issue is that portupgrade is not a core part of the freebsd ports. It is itself a port, an addon that adds in it own set of complexities -- see it's man page. It's a wonderful utility but not perfect. When I run into issues using portupgrade, I find it easiest to fix what failed using standard port tools, not an addon, then resume the portupgrade after I fixed errors manually. Generally the process is relatively quick, but on something big like kde4 it can take quite awhile. As for specific events, you can post the errors and someone should be able help like before. Another rule of thumb I use is that I don't use portupgrade -a on system with a massive graphical enviro installedtoo many areas to fail. So in a situation like yours I might start with a portupgrade -Rf xorg-server and see how far it gets. Once completed, I'll go onto other major apps to upgrade until I get to the end. There may certainly be better ways to handle, just what I've found works best for me. 1) portsnap fetch update 2) portupgrade -Rf xorg-server Should really be all you need to do to upgrade it. portupgrade will automatically detect stale entries and do the pkgdb -u and tell you if you need to run pkgdb -F. Other options like pre-fetching, config recursive, and ignoring errors can also help save time. Used incorrectly, ignoring error can significantly increase time though. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Portsnap vs CSup
Charles Howse wrote: On Mar 19, 2009, at 2:13 PM, Adam Vandemore wrote: freebsd-update is another matter though. Base system security updates are distributed via that channel(binary updates) so it's a good idea to run that regularly. I just noticed the description in the man page for freebsd-update: ..."Note that updates are only available if they are being built for the FreeBSD release and architecture being used; in particular, the FreeBSD Security Team only builds updates for releases shipped in binary form by the FreeBSD Release Engineering Team, e.g., FreeBSD 6.1-RELEASE and FreeBSD 6.2-RC1, but not FreeBSD 6.2-STABLE or FreeBSD 7.0-CURRENT." Is this saying that I can't get a binary upgrade for 6.4-STABLE? (You would not believe how long the make world process takes on a Pentium 200!!) Not that it's going to help a tremendous amount but a make -j 2 buildworld may help a bit. There's also some tips on the handbook page for speeding up the process. It would still be a long wait even if you used every optimization technique available. IIRC 2 jobs per core is the optimum level, and building system sources is the only place I've had any with multiple jobs. Multiple jobs w/ gmake under FBSD is basically worthless in my experience and even with BSD make's -B flag results not good. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: portupdate xorg-server
Neal Hogan wrote: Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.5.3/glx. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-server/work/xorg-server-1.5.3. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-server. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-server. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090319-55106-13es25h-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xorg-server-1.4.2,1 UPGRADE_PORT_VER=1.4.2,1 make ** Fix the problem and try again. ---> Build of x11-servers/xorg-server ended at: Thu, 19 Mar 2009 15:10:40 -0500 (consumed 00:11:17) ---> Upgrade of x11-servers/xorg-server ended at: Thu, 19 Mar 2009 15:10:40 -0500 (consumed 00:11:17) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! x11-servers/xorg-server (xorg-server-1.4.2,1)(missing header) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Thu, 19 Mar 2009 15:10:40 -0500 (consumed 00:11:21) Sometimes doing a cd /usr/ports/x11-servers/xorg-server make clean deinstall reintall or a make distclean to redownload tar -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Portsnap vs CSup
Kalle Møller wrote: Hi I've been digging around, but I can't find a clear answer, which of those two is the "correct" to use. Hence I don't use one now, so if I'm going to learn one, I would prefer it to be the right one. There is not necessarily a correct answer, either is "correct". However it is generally much more efficient and easier to run portsnap. However portsnap wouldn't help if you're trying to upgrade(or downgrade) your current version of FBSD. Some will setup cron jobs to update ports tree daily, other do it on an as needed basis. Personally, my home desktop I generally update ports a least once a week, while some servers will rarely if ever see an updated ports tree. In general, it's nice to be considerate of bandwidth, so if you don't need it don't run it. freebsd-update is another matter though. Base system security updates are distributed via that channel(binary updates) so it's a good idea to run that regularly. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: 7.1 64 bit
Gal Lis wrote: They should definitely support it. My workstation has an Intel E5320 quad core, and the M600 has a 5400 series chip, but I can't remember which one exactly. They should definitely be able to handle it. I downloaded the 7.1 ia64, maybe there is something else I should be downloading? You should be going for the AMD64 unless that's an itanium based instruction set. I believe your CPU is not, so try w/ AMD64. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: 7.1 64 bit
Gal Lis wrote: I burned another copy, using another ISO whose checksum comes out ok, and it still isn't loading. What else can I be doing wrong? From: Bill Moran To: Gal Lis Cc: FreeBSD Questions Sent: Wednesday, March 18, 2009 9:30:09 AM Subject: Re: 7.1 64 bit In response to Gal Lis : Hi Frank, Thanks for the reply, I see what to compare the checksums to on the site, but I have a Windows machine. Any hints on how to check? http://www.pc-tools.net/win32/md5sums/ First you need to isolate the problem. As someone else suggested, try booting another computer with the disk. Check BIOS boot order to make sure it checks cd drive first. Try another bootable disk in system. I've seen lockups in booting off install disc, but the only situations in which a system would fail to attempt to boot off of it is when either media or drive is bad. If all else fails I believe there is a process to boot from flash drive and install via that method. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: understanding freebsd development logic
prad wrote: i am puzzled by what seems to be almost a parallel processor development model that exists with freebsd. when 7 came out people were still working on 6.3 i think it was with the aim of going to 6.4 and now with 7.x underway, there is work being do for 8 (for which you can get a snapshot cd. (i seem to recall something similar with debian too). why would people work on 7.x (and 6.x as well i guess) if 8 is already available? Going between branches eg 7.x and 8.x, you may see major kernel changes. Drivers which work in 7 may not work in 8 and vice versa. If you've got something running stable in 7, you're not going upgrade to 8 just for the sake of running 8. Changes in versions can introduce problems, some unforeseen. If you have a known set of functionality that requires tested stability, you should use the most recent RELEASE that covers that functionality. 8.x is not available as a release. Security concerns adds a whole new set of variables to your questions. is the idea to make each version 'as good as possible' because it would still be useful for older machines? or is it that later versions can utilize code from the earlier versions? or is it something else. I think generally things are developed for CURRENT then back ported as demand and dev time allows. There are always exceptions. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: video editor
prad wrote: any recommendations for software that can join or split wmv, mpg, avi etc etc? i came across mencoder for joining on this page http://mindspill.net/computing/linux-notes/how-to-join-video-files-in-linux.html but i don't really know much about this sort of thing so i'm looking for suggestions. Some files like mpg's you can just cat together and pipe to files then run through ffmpeg. Merging files of different and various types can be done with ffmpeg -i. I've had occasional troubles with ffmpeg choking on certain files then having to turn to mencoder or vice versa. mencoder is more powerful than ffmpeg in general which means ffmpeg is easier to learn. If you prefer more of a gui approach, avidemux2 is a good app. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Assigning static ip address
Nikolaj Thygesen wrote: Hi list, I've been experimenting and googling for hours w/ no luck. All I want to do is run dhcp and then replace the ip address of the interface with a new static ip afterwards. I've been looking at the /etc/dhclient.conf man pages, but they don't seem to help. I can do it from rc.conf like: ifconfig_em0="inet 1.2.3.4" but then I loose all the other dhcp parameters like dns and stuff. Is it really that hard??? thanks - Nikolaj Is there a reason you don't set /etc/resolv.conf to static nameservers as well? Also does not fixed-address lease give you what you want? -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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: Excessive letter-spacing in firefox3 under wine
Tore Lund wrote: Subject line says it all - large gaps between all letters. Here is a screenshot: http://softblur.com/misc/spacing.jpg. I suppose there are others who run firefox3 under wine on 7.1-RELEASE with no problems, so can anyone think of what's wrong? I have imported fonts from my Windows 2000 installation, and I am using the same profile that works well with native FreeBSD firefox and firefox on Windows 2000. I believe this did not happen with firefox2. Grateful for any hint. (Actually, I only use wine in order to get flash9, so if anyone could help me solve this problem instead, that's even better. I have tried the available recipes with no success - my firefox3 just freezes.) The rendering stuff is due to the font wine/firefox is using. I do have ff3 running with similar issues, but I'm sure there's some sort of documentation available to fix it. You're going to want an anti-aliased font, and probably an MS one for greatest compatibility. I've also got flash 10 installed on it and the video is terrible. Hopefully flash 9 works better for you. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ 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"