Why system gcc that is 4.2.1 produces different code than gcc-4.2.1 compiled from sources?

2010-04-25 Thread Yuri
I ran this simple example: #include stdlib.h #include stdio.h int fib(int AnArg) { if (AnArg = 2) return (1); return (fib(AnArg-1)+fib(AnArg-2)); } int main(int argc, char* argv[]) { int n = atoi(argv[1]); printf(fib(%i)=%i\n, n, fib(n)); } through system gcc and gcc built from sources.

Wpoison?????

2010-04-25 Thread Aiza
Looking for comments on this small apache web application that fools web harvest programs into harvesting bogus email address from web page. http://www.monkeys.com/wpoison Anybody try this? Is this a self-inflicted Trojan? Since I don't have web server was thinking of creating jail for apache

Re: Advice for finding a leaky Apache (probably PHP) process

2010-04-25 Thread Joe Auty
Adam Vande More wrote: On Sat, Apr 24, 2010 at 8:02 PM, Joe Auty j...@netmusician.org mailto:j...@netmusician.org wrote: Hello, I'm wondering if you guys have any general tips on how to find the Apache process/app that is gobbling up my RAM randomly until my machine

Re: Installing from FTP: unable to transfer the GENERIC distribution

2010-04-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/04/2010 22:41:13, Антон Клесс wrote: Suspect hardware on the second system? Try escaping to the shell (Alt-F4) after pulling down some of the distribution sets and see if 'netstat -i' shows interface errors. I tried to, but (Alt-F4)

Re: Installing from FTP: unable to transfer the GENERIC distribution

2010-04-25 Thread Антон Клесс
If I just ping FTP server from installer's shell for minutes, it will show me packets loss if some, right? 2010/4/25 Matthew Seaman m.sea...@infracaninophile.co.uk -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/04/2010 22:41:13, Антон Клесс wrote: Suspect hardware on the second

Re: Installing from FTP: unable to transfer the GENERIC distribution

2010-04-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/04/2010 09:13:07, Антон Клесс wrote: If I just ping FTP server from installer's shell for minutes, it will show me packets loss if some, right? Probably. Packet loss can be a tricky thing, and depend on any one of a number of parameters. You

Re: Advice for finding a leaky Apache (probably PHP) process

2010-04-25 Thread Adam Vande More
On Sun, Apr 25, 2010 at 2:10 AM, Joe Auty j...@netmusician.org wrote: Well, I'm fishing. It is also possible that I'm seeing a denial of service attack or something, but the result is my Apache processes ballooning and CPU usage for some of my httpd processes going up to around 100%. There

apache Perl CGI programs

2010-04-25 Thread Fbsd1
I have Perl and apache installed on my system. Do I have to do anything additional to get apache to run Perl CGI programs? Is putting the perl script in the cgi-bin directory at /usr/local/www/data all it takes to make things work? ___

Re: Advice for finding a leaky Apache (probably PHP) process

2010-04-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/04/2010 02:02:52, Joe Auty wrote: I'm wondering if you guys have any general tips on how to find the Apache process/app that is gobbling up my RAM randomly until my machine crashes and I'm forced to reboot? I'm tired of staring at top and

Re: apache Perl CGI programs

2010-04-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/04/2010 09:38:38, Fbsd1 wrote: I have Perl and apache installed on my system. Do I have to do anything additional to get apache to run Perl CGI programs? Is putting the perl script in the cgi-bin directory at /usr/local/www/data all it takes

Gnome 2.30

2010-04-25 Thread Andrew Hill
Hi does anybody know if Gnome 2.30 will be out soon in the FreeBSD ports? Thanks Andrew Hill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Gnome 2.30

2010-04-25 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/04/2010 07:59:44, Andrew Hill wrote: Hi does anybody know if Gnome 2.30 will be out soon in the FreeBSD ports? I suspect the freebsd-gnome project might have an inkling. Try here: http://wiki.freebsd.org/Gnome and the mailing list here:

ZFS scheduling

2010-04-25 Thread Anselm Strauss
Hi, I noticed that my system gets very slow when I'm doing some simple but intense ZFS operations. For example, I move about 20 Gigabytes of data from one data set to another on the same pool, which is a RAIDZ of 3 500 GB SATA disks. The operations itself runs fast, but meanwhile other things get

Re: Question. Multi Boot

2010-04-25 Thread Da Rock
On Sun, 2010-04-18 at 11:10 -0500, Jorge Biquez wrote: Hello all. I hope this question does not sound so stupid. I have read archives and do gogled searches but would like , if possible, to hear comments based on experience. I have a machine, pentium D 2.4mhz 2gb RAM, 160DD HD XP Pro. As

Re: Why system gcc that is 4.2.1 produces different code than gcc-4.2.1 compiled from sources?

2010-04-25 Thread Leonidas Tsampros
Yuri y...@rawbw.com writes: I ran this simple example: #include stdlib.h #include stdio.h int fib(int AnArg) { if (AnArg = 2) return (1); return (fib(AnArg-1)+fib(AnArg-2)); } int main(int argc, char* argv[]) { int n = atoi(argv[1]); printf(fib(%i)=%i\n, n, fib(n)); } through

Re: Wireless networking question

2010-04-25 Thread Chip Camden
On Apr 24 2010 23:51, S Roberts wrote: I believe its been bundled into the libpciaccess port: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libpciaccess/ Doesn't seem to be there, and google isn't being helpful. A search of freshports.org didn't turn up anything either. Searching

Re: Why system gcc that is 4.2.1 produces different code than gcc-4.2.1 compiled from sources?

2010-04-25 Thread Michaël Grünewald
Leonidas Tsampros wrote: I'm pretty sure that a small difference in execution time does not mean that the produced code is different. Actually, execution time of a process is very sensitive to the environment of this process. See for instance:

Re: Wireless networking question

2010-04-25 Thread Kevin Kinsey
Chip Camden wrote: On Apr 24 2010 23:51, S Roberts wrote: I believe its been bundled into the libpciaccess port: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libpciaccess/ Doesn't seem to be there, and google isn't being helpful. A search of freshports.org didn't turn up anything

Re: Wireless networking question

2010-04-25 Thread S Roberts
Hello Chip, On Sun, 25 Apr 2010 12:10:40 -0700 Chip Camden sterl...@camdensoftware.com wrote: On Apr 24 2010 23:51, S Roberts wrote: I believe its been bundled into the libpciaccess port: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libpciaccess/ Doesn't seem to be there, and

Re: Advice for finding a leaky Apache (probably PHP) process

2010-04-25 Thread Joe Auty
Not to blow off any of the fine suggestions that have been made, but I may have solved my problem, sort of... I need help with one other question though, see below (please and thanks!): I'm not sure what the connection is here between the PHP upgrade, perhaps nothing, but I did notice my

RE: ZFS scheduling

2010-04-25 Thread Dan Naumov
Hi, I noticed that my system gets very slow when I'm doing some simple but intense ZFS operations. For example, I move about 20 Gigabytes of data from one data set to another on the same pool, which is a RAIDZ of 3 500 GB SATA disks. The operations itself runs fast, but meanwhile other things get

USB keyboard: mode switch / numlock freezes

2010-04-25 Thread Anselm Strauss
Hi, I have a Roccat Arvo keyboard that has a number block with integrated positioning keys (arrows, del, end, ...), but no extra keys for them. There is a mode switch button that switches between the two layouts, like the numlock key, but I'm not sure if this really is numlock. For some reason

Re: Wireless networking question

2010-04-25 Thread Chip Camden
On Apr 25 2010 21:26, S Roberts wrote: Hmmm.., you sure your ports system is installed / up-to-date there? Do you have any of the docs that would have shipped with the notebook? If not, I searched ASUS, and found a link to the English version manual here:

diablo-jdk not installing correctly

2010-04-25 Thread herbey zepeda
Hi, I want to install java and tomcat. After some time trying I could not install the JDK, I first tried to install diablo jdk 1.6. I go to /usr/ports/java/diablo-jdk1.6, turns out that I have to go through further step due to licensing, I do that step and go to

Re: Wireless networking question

2010-04-25 Thread Chip Camden
On Apr 25 2010 16:18, Chip Camden wrote: On Apr 25 2010 21:26, S Roberts wrote: Hmmm.., you sure your ports system is installed / up-to-date there? Do you have any of the docs that would have shipped with the notebook? If not, I searched ASUS, and found a link to the English version

ezjail and dmsg -a command

2010-04-25 Thread Fbsd1
I have a directory tree type of ezjail up and running. When in jail console I enter dmesg -a and i get the hosts last boot messages not the jails. Why is this dmesg command issued from within the jail have access to the host world? Something wrong here!

Re: diablo-jdk not installing correctly

2010-04-25 Thread Jonathan Chen
On Sun, Apr 25, 2010 at 07:34:19PM -0400, herbey zepeda wrote: [...] I am concerned because according to the literature diablo is supposed to be the maintained jdk for FreeBSD. And I realize that I am having to download version 7.1 when we are already on version 8.0 of FreeBSD to make java

installing gnome

2010-04-25 Thread Michael Glaz
I installed FreeBSD 8.0. Then I followed the directions on installing Gnome2. I typed pkg_add -r gnome2. Then I added the line gnome_enable=YES to /etc/rc.conf. But to no avail. Gnome doesn't boot. Only the terminal boots up. I also get this error during boot: gdm-binary[1285]:

Re: diablo-jdk not installing correctly

2010-04-25 Thread Charlie Kester
On Sun 25 Apr 2010 at 17:57:27 PDT Jonathan Chen wrote: On Sun, Apr 25, 2010 at 07:34:19PM -0400, herbey zepeda wrote: [...] I am concerned because according to the literature diablo is supposed to be the maintained jdk for FreeBSD. And I realize that I am having to download version 7.1 when

Re: Wireless networking question

2010-04-25 Thread Kevin Kinsey
Chip Camden wrote: On Apr 25 2010 16:18, Chip Camden wrote: On Apr 25 2010 21:26, S Roberts wrote: Hmmm.., you sure your ports system is installed / up-to-date there? Do you have any of the docs that would have shipped with the notebook? If not, I searched ASUS, and found a link to the

HP Proliant ML 150 G5

2010-04-25 Thread William E. Moreno A.
I tried to install FreeBSD 8.0 AMD64 on an HP Proliant ML 150 G5 Intel Xeon quad core but fails. With CentOS 5.4 the installation was Ready.   I would like to know is this product ML 150 G5 is incompatibility with FreeBSD 8.0   I tested FreeBSD with an ML 115 G5 and the installation was ready.

Re: installing gnome

2010-04-25 Thread Lokadamus
Am 26.04.2010 03:22, schrieb Michael Glaz: I installed FreeBSD 8.0. Then I followed the directions on installing Gnome2. I typed pkg_add -r gnome2. Then I added the line gnome_enable=YES to /etc/rc.conf. But to no avail. Gnome doesn't boot. Only the terminal boots up. I also get this

Re: diablo-jdk not installing correctly

2010-04-25 Thread Sergio Tam
2010/4/25 herbey zepeda zepedaher...@gmail.com: Hi, I want to install java and tomcat. After some time trying I could not install the JDK, I first tried to install diablo jdk 1.6. I go to /usr/ports/java/diablo-jdk1.6, turns out that I have to go through further step due to licensing, I do