Support for multiple VTs simultanously displayed (was: how to design a tablet driver?)

2008-03-06 Thread Peter Ross
As said off-list, sorry for hijacking a thread. This was not my intention.

I move it from -current to -questions and hope that it suits everyone.

On Wed, 5 Mar 2008, Chuck Robey wrote:
 
 Peter Ross wrote:

  I tried to find out whether FreeBSD's 
  infrastructure does not support displaying of more than one VTs at the 
  time, as someone claimed. I would like to configure my laptop to use the 
  small internal monitor as a text console while the external monitor is 
  serving X.
  
 BTW, in fact, you can rather easily get multiple monitors to work with Any
 system using X11, and that happens to include FreeBSD?

I do not deny that X11 is able to support multiple monitors.

The question I had is different, and it is not a X11 question, I believe.

A text console on the internal screen and a X output on the external.. two 
different VTs displayed at the same time using the same graphics card.

In a normal multiple monitor setup the XServer controls both outputs.

I had a discussion with a KGI (Kernel Graphics Interface) developer, with 
Linux experience, now porting KGI to Hurd. He said that Linux does not 
have the kernel infrastructure to support the display of two virtual 
terminals at the same time.

He doubted that FreeBSD has, so I try to find out.

Regards
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Some questions about installing a web server.

2008-03-06 Thread 刘伟南

Hi guys,

I'm a freshman man here. Please do not mind my silly questions.

I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1

I have several questions.
Which platform should I chooses? amd64 or i386?
Is 4G memory enough for 2000 people online?

If you have others suggestions please tell me.
Thanks in advance.

Vivian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Some questions about installing a web server.

2008-03-06 Thread 刘伟南

Hi guys,

I'm a freshman man here. Please do not mind my silly questions.

I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1

I have several questions.
Which platform should I chooses? amd64 or i386?
Is 4G memory enough for 2000 people online?

If you have others suggestions please tell me.
Thanks in advance.

Vivian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: building 32bit port on AMD64 (mplayer)

2008-03-06 Thread Jan Catrysse
Hi,

Thanks for the info. I am trying to use a Blackmagic 10-bit uncompressed
codec. This only exists for windows...
Apparantly this works with the win32 codecs support installed.

Regs,
Jan

-Oorspronkelijk bericht-
Van: Roland Smith [mailto:[EMAIL PROTECTED] 
Verzonden: woensdag 5 maart 2008 20:22
Aan: Jan Catrysse
CC: [EMAIL PROTECTED]
Onderwerp: Re: building 32bit port on AMD64 (mplayer)

On Wed, Mar 05, 2008 at 03:33:43PM +0100, Jan Catrysse wrote:
 I am using FreeBSD 7.0-RELEASE AMD64.
 
 I would need to build /ports/multimedia/mplayer (and I suppose its
 dependencies) in a 32-bit version. This because certain options (win32 
 codec support) doesn't work on the 64bit version.

Are you sure you _need_ those codecs? I'm using mplayer on amd64 and I
haven't found many videos that it doesn't play. Certainly things like
youtube videos work fine without win32 codecs.

 How is this done?

The easiest way is to run i386.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Some questions about installing a web server.

2008-03-06 Thread Vivian Liu

Hi guys,

I'm a freshman man here. Please do not mind my silly questions.

I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1

I have several questions.
Which platform should I chooses? amd64 or i386?
Is 4G memory enough for 2000 people online?

If you have others suggestions please tell me.
Thanks in advance.

Vivian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Ivan Voras
刘伟南 wrote:
 Hi guys,
 
 I'm a freshman man here. Please do not mind my silly questions.
 
 I am ready to install a web server, the main hardwares are as follows:
 CPU 4-core xeon 5410 * 2
 MEM kingston 2G EEC FBD667 * 2
 HD ST146G SAS 15K * 1
 
 I have several questions.
 Which platform should I chooses? amd64 or i386?

Unless you need software that doesn't work on i386, you should install
amd64.

 Is 4G memory enough for 2000 people online?

This is very much dependent on what will the server actually do. For a
simple web (PHP?) application, yes. For a very complex web application,
no. You probably also need a database there, and that will complicate
things.

 If you have others suggestions please tell me.
 Thanks in advance.

I suppose the disk drive specification is a placeholder - you'll
probably need many more drives in real deployment.



signature.asc
Description: OpenPGP digital signature


Re: VPN - Which way to go?

2008-03-06 Thread Alex Zbyslaw

Alphons Fonz van Werven wrote:


Howdy people,

I need to setup a VPN connection to the university's network. Now, 
there's a

chapter in the handbook about VPN over IPsec and there seems to be this
thing called OpenVPN in the ports collection. Which is the better way 
to go?


The handbook still seems only to describe how to do IPSEC over a gif 
tunnel.  I've no idea what the point of that is, but AFAIK, it means you 
can only use that method to connect two FreeBSD machines.


Assuming your university is using IPSEC, then here's a few links I found 
useful is setting up IPSEC and racoon to connect, in this case, to a 
Sonic Wall.


http://www.mail-archive.com/[EMAIL PROTECTED]/msg19089.html

http://www.lacave.net/~fred/racoon/config.html

http://www.netbsd.org/docs/network/ipsec/


You could also investigate http://m0n0.ch/wall/ if you want a dedicated 
firewall that's IPSEC capable.  Never tried it myself, though, just 
found links while investigating IPSEC.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 kde 3 build patch error

2008-03-06 Thread Robin Becker

Matthias Apitz wrote:

El día Wednesday, March 05, 2008 a las 04:02:11PM +, Robin Becker escribió:

I'm trying to build kde3 from ports with 7.0 release and get this patch 
error whilst trying to build cups


===   Running ldconfig



*** Error code 1

Stop in /usr/ports/print/cups-base.
*** Error code 1

...

I run into the same problem and fetched the tar file of the
cups-base-1.3.6 port from FreeBSD which compiles fine;


..
thanks updating the ports tree seems to have fixed that.
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN - Which way to go?

2008-03-06 Thread Wojciech Puchar

I need to setup a VPN connection to the university's network. Now, there's a

you mean VPN client or client  server.

first case - ask what kind of VPN do they use, probably they will know 
about unix client


second case - use ports/net/vtun if you use unix only, ports/net/mpd - 
windoze compatible VPN - you use standard windoze VPN client (VPN card).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


From James Adamati

2008-03-06 Thread James Adamati
Hi, 

How are you doing today? My name is James Adamati I live in London and work in 
a financial institution here in United Kingdom. There is a potential 
transaction relating to a dormant account of one of our deceased customers, 
which I would like us to handle the fund actualization together. Secondly, I 
hope to relocate and acquire a home for my family with a view to establishing 
over there. I will be needing your assistance and co-operation in this 
endeavor. Let me know if I can trust you with the above and more information 
will be sent to you as quickly as possible.For further details,please contact 
me through my private email-
 
Respectfully,
James Adamati



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?

2008-03-06 Thread Simon Street
On Wed, Mar 5, 2008 at 5:14 PM, Mel [EMAIL PROTECTED] wrote:

 On Wednesday 05 March 2008 17:50:45 Mel wrote:
   On Wednesday 05 March 2008 17:11:25 Simon Street wrote:
On Wed, Mar 5, 2008 at 2:32 PM, Mel [EMAIL PROTECTED]
  
   wrote:
 On Wednesday 05 March 2008 12:01:11 Simon Street wrote:
   In addition i've attempted adding:
  
   kern.maxfilesperproc=65536
   kern.ipc.somaxconn=1024
   kern.ipc.maxsockbuf=2097152
   kern.maxprocperuid=9000
   to sysctl.conf
  
   kern.maxproc=10240
   kern.maxfiles=65536
   kern.ipc.nmbclusters=32768
   kern.ipc.maxsockets=51200
   to loader.conf
  
   I've also disabled ipv6 in the kernel (can't remember where I saw
   this suggestion)
  
   Post this I've recompiled apache with:
   [EMAIL PROTECTED] export CFLAGS=-DFD_SETSIZE=12000
   [EMAIL PROTECTED] export CXX_FLAGS=-DFD_SETSIZE=12000
   [EMAIL PROTECTED] /scripts/easyapache (this is the cPanel script 
 that auto
   regens apache/php/addons)
  
   I'm having a hard time believing that this issue only plagues
   FreeBSD and is unfixable!
  
   Anyone got any ideas on what else I can change?

  Well, you're probably not reaching any CPanel users, so how about
 posting the offending script. Companies like to blame others, lawyers
 tell them to.

  What is this script doing anyway, that it needs 12000 open file
 descriptors?

  --
  Mel

  Problem with today's modular software: they start with the modules
 and never get to the software part.
   
The problems php inside apache (700+ sites). Not sure if gmail replied
to my original email properly or not!
   
Basically, PHP refuses (instantly) to resolve dns with mod_php, but
its fine connecting to an IP with the same piece of fsockopen code.
And it will happily resolve the name if its run from the CLI.
   
I've been told by cpanel that this is a FreeBSD bug but I'm having a
hard time accepting that. cPanels third line support seem unable to
fix it and are telling me to switch to CGI/suphp which the customer
isn't happy with due to .htaccess stuff.
   
I'm making an assumption that its a lack of FD's but my attempts to
compile stuff with more seems to be failing, or my assumptions are
wrong.
Code that breaks:
$fp = fsockopen(www.example.com, 80, $errno, $errstr, 30); // Fails
inside apache2.2/mod_php5, works fine with php5cli on same server
$fp = fsockopen(208.77.188.166,  80, $errno, $errstr, 30);// Works all
round
   
The code fails with:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses:
getaddrinfo failed: hostname nor servname provided, or not known in
test.php on line 2
But dns is fine on the server.
  
   Doesn't have anything to do with the DNS, I'm still looking how this can
   be, but the error means that no hostname has been given, since php passes
   NULL to servname by default (see main/network.c around line 202).
   So somewhere along the way the hostname passed to the function gets lost.

  Argh, strike that, the same errorcode is used for unresolvable hostnames. I'm
  gonna take a guess that the process is chrooted into /usr/local and therefore
  cannot access /etc/resolv.conf to know what the nameserver is.
  And, something just entered my mind from way way back - I think if you don't
  have HostnameLookups enabled, that any attempt to do resolving inside a httpd
  child, will fail.

  --


 Mel

  Problem with today's modular software: they start with the modules
 and never get to the software part.


I've copied resolv.conf to /usr/local/etc and HostnameLookups is
already enabled, no joy :( (Have restarted apache also).

Thanks for taking a look though!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Kris Kennaway

Jonathan Chen wrote:

On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:

I have two installed:
diablo-jdk-1.5.0.07.01_9
jdk-1.5.0.14p8,1


The native JDK is the one to use in most cases; eg: if you're
running FreeBSD-7, eclipse won't work properly unless you're using the
native jdk.


I assume you mean native in the sense of compiled for FreeBSD 7 
instead of FreeBSD 6.  They are both native FreeBSD binaries :-)


But yes, you should be using the self-compiled jdk on FreeBSD 7 for 
other reasons: it has better performance.  Once a 7.x build of diablo is 
released you can switch to that.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


From James Adamati

2008-03-06 Thread James Adamati
Hi, 

How are you doing today? My name is James Adamati I live in London and work in 
a financial institution here in United Kingdom. There is a potential 
transaction relating to a dormant account of one of our deceased customers, 
which I would like us to handle the fund actualization together. Secondly, I 
hope to relocate and acquire a home for my family with a view to establishing 
over there. I will be needing your assistance and co-operation in this 
endeavor. Let me know if I can trust you with the above and more information 
will be sent to you as quickly as possible.For further details,please contact 
me through my private email-
 
Respectfully,
James Adamati



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: amd64 or i386 for desktop use?

2008-03-06 Thread RW
On Thu, 6 Mar 2008 07:35:34 +
Colin Adams [EMAIL PROTECTED] wrote:

 On 06/03/2008, RW [EMAIL PROTECTED] wrote:
 
   Everything I've every seen about this suggests that amd64 is
  faster on a few applications, such as mp3 encoding, but generally
  there is very little difference, on average, across desktop
  applications. Do you have any measurements to support that 20%
  figure.
 
 I do on Linux (if that is relevant - I'm not clear if the question is
 FreeBSD specific or not):
 
 See http://colina.demon.co.uk/?q=node/53

but your binary also grows to 5 times the size of the 32-bit version,
it doesn't seem, in any sense, to be a typical desktop application.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


From James Adamati

2008-03-06 Thread James Adamati
Hi, 

How are you doing today? My name is James Adamati I live in London and work in 
a financial institution here in United Kingdom. There is a potential 
transaction relating to a dormant account of one of our deceased customers, 
which I would like us to handle the fund actualization together. Secondly, I 
hope to relocate and acquire a home for my family with a view to establishing 
over there. I will be needing your assistance and co-operation in this 
endeavor. Let me know if I can trust you with the above and more information 
will be sent to you as quickly as possible.For further details,please contact 
me through my private email-
 
Respectfully,
James Adamati



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


From Adamati James

2008-03-06 Thread James Adamati
Hi, 

How are you doing today? My name is James Adamati I live in London and work in 
a financial institution here in United Kingdom. There is a potential 
transaction relating to a dormant account of one of our deceased customers, 
which I would like us to handle the fund actualization together. Secondly, I 
hope to relocate and acquire a home for my family with a view to establishing 
over there. I will be needing your assistance and co-operation in this 
endeavor. Let me know if I can trust you with the above and more information 
will be sent to you as quickly as possible.For further details,please contact 
me through my private email-
 
Respectfully,
James Adamati



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


File Filter for Samba Server

2008-03-06 Thread muhammad hamka
Hi all,

I've run my samba server running on my FreeBSD box. My samba connect to
several workstation (using Windows). I set the sharing for public (Everyone
can read/write/delete files).

The problem is some of my workstation is infected by virus. So everytime i
open that folder, i got a tons of virus (usually consist of , autorun.inf ,
file with .vbs extension and several suspicious executable file). I tried to
set samba-vscan with clamav, but this works only scan and moving those file
to quarantine. But those file will appear again because of virus daemon
running in infected workstation.

i have an idea to set a file filter that uploaded to my storage server. So
that, it can deny the file containing .vbs extension etc. to be written in
my storage. is there any software provide this solution? or any
configuration of samba i miss? thanx

-- 

Muhammad Hamka
#DZR 24#
DZR Corporation: When Friendship Being an Energy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


From James Adamati

2008-03-06 Thread James Adamati
Hi, 

How are you doing today? My name is James Adamati I live in London and work in 
a financial institution here in United Kingdom. There is a potential 
transaction relating to a dormant account of one of our deceased customers, 
which I would like us to handle the fund actualization together. Secondly, I 
hope to relocate and acquire a home for my family with a view to establishing 
over there. I will be needing your assistance and co-operation in this 
endeavor. Let me know if I can trust you with the above and more information 
will be sent to you as quickly as possible.For further details,please contact 
me through my private email-
 
Respectfully,
James Adamati



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-06 Thread Kris Kennaway

Neil Darlow wrote:

Hi,

I have recently upgraded from RELENG_6_3 to RELENG_7_0 via the source 
method. I followed the upgrade instructions in the 7.0 release notes and 
rebuilt all ports successfully.


My hardware is a VIA EPIA PD1 (VIA Centerhauls CPU) with gmirrored 
IDE disks and GELI encrypted swap (using padlock).


My kernel is GENERIC with removal of 386, 486 and 585 CPU support and 
addition of options for:


DEVICE_POLLING, HZ=1000, ALTQ, PFLOG, PFSYNC and QUOTA.

I use PF for my firewalling and device polling on my two integrated Via 
Rhine NICs.


This setup worked great under RELENG_6_2 and RELENG_6_3 (only for a 
short period due to RELENG_7_0 becoming available) with absolutely no 
issues whatever.


Since upgrading to RELENG_7_0 I have a problem when the nightly rotation 
of logfiles occurs. A number of bzip2 processes appear which, with 
syslogd, consume huge amounts of CPU.


FreeBSD 7 switches to bzipping logfiles rather than gzipping.

Looking at the output of top I see that my interrupt CPU usage has 
increased to 46% and userland CPU usage to 44%. The remainder is system 
and there is no idle CPU time left.


This should be unrelated to bzip since that is purely CPU bound.  What 
is causing the interrupts?  Check vmstat -i.  That is likely to be your 
real problem.


Kris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: File Filter for Samba Server

2008-03-06 Thread Erik Norgaard

muhammad hamka wrote:

Hi all,

I've run my samba server running on my FreeBSD box. My samba connect to
several workstation (using Windows). I set the sharing for public (Everyone
can read/write/delete files).

The problem is some of my workstation is infected by virus. So everytime i
open that folder, i got a tons of virus (usually consist of , autorun.inf ,
file with .vbs extension and several suspicious executable file). I tried to
set samba-vscan with clamav, but this works only scan and moving those file
to quarantine. But those file will appear again because of virus daemon
running in infected workstation.

i have an idea to set a file filter that uploaded to my storage server. So
that, it can deny the file containing .vbs extension etc. to be written in
my storage. is there any software provide this solution? or any
configuration of samba i miss? thanx


Is there any reason for anonymous/guest access?

If not, by requiring users to authenticate in order to gain write access 
you can identify the owner(s) of infected hosts and get them cleaned.


Consider if using a logon script can force installation/update of 
ant-virus software on hosts.


Secondly, you might take a look at the veto files parameter. The 
intended use is to prevent user access to system files (such as apple 
share files). It is not clear if it will prevent the infected hosts from 
uploading the files, but it should prevent access to these files and 
hence the infection of other hosts.


Then you can run a cronjob regularly cleaning up the directories.

see smb.conf(5).

Cheers, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0 and VMware tools (was Re: FreeBSD 7RC2 and VMware tools)

2008-03-06 Thread Uwe Laverenz
On Wed, Mar 05, 2008 at 02:44:12PM +0100, Ivan Voras wrote:

 - The only thing that VMWare tools are useful (on FreeBSD) is to get GUI
 features like clipboard sharing and automatic mouse focus grab in X.Org.

You're right, normally you don't need vmware-tools for running FreeBSD as
a guest, but: if your host is an ESX server, you need vmmemctl and the
vmware-guestd for the live­migration of your virtual machine from one ESX
host to another. 

A while ago, VMware decided to release vmware-tools as open source,
maybe someone wants to take a look at it:

http://open-vm-tools.sourceforge.net/

 VMWare tools on Linux seem to include a driver that does something with
 memory management, but it's not available for FreeBSD. You don't need

It is available, it's included in VMware server and also in
open-vm-tools (see link above).

bye,
Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN - Which way to go?

2008-03-06 Thread Wojciech Puchar
I am not an expert in Internet security but it seems to me that IPsec is way 
to go if you are serious about VPN.


and vtun? it uses it's own protocol but it's fast, efficient, and very 
easy to use.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-06 Thread Neil Darlow

Hi,

I have recently upgraded from RELENG_6_3 to RELENG_7_0 via the source 
method. I followed the upgrade instructions in the 7.0 release notes and 
rebuilt all ports successfully.


My hardware is a VIA EPIA PD1 (VIA Centerhauls CPU) with gmirrored 
IDE disks and GELI encrypted swap (using padlock).


My kernel is GENERIC with removal of 386, 486 and 585 CPU support and 
addition of options for:


DEVICE_POLLING, HZ=1000, ALTQ, PFLOG, PFSYNC and QUOTA.

I use PF for my firewalling and device polling on my two integrated Via 
Rhine NICs.


This setup worked great under RELENG_6_2 and RELENG_6_3 (only for a 
short period due to RELENG_7_0 becoming available) with absolutely no 
issues whatever.


Since upgrading to RELENG_7_0 I have a problem when the nightly rotation 
of logfiles occurs. A number of bzip2 processes appear which, with 
syslogd, consume huge amounts of CPU.


Looking at the output of top I see that my interrupt CPU usage has 
increased to 46% and userland CPU usage to 44%. The remainder is system 
and there is no idle CPU time left.


The bzip2 processes appear to be running very slowly. Looking at 
/var/log/ you can see the logfiles have been renamed but not compressed 
although, given a long time, I believe they will be.


I must point out that I'm using SCHED_4BSD and not SCHED_ULE on this 
system. I am aware that ULE has been reported to suffer from this type 
of problem.


I'm at a bit of a loss as to where to look next. At present I am 
rebuilding the kernel with i586 support just in case gcc-4.2.1 has 
introduced a code generation incompatibility that might affect my VIA 
CPU somehow.


Any suggestions gratefully received. Please CC me as I'm not subscribed 
to the list.


Regards,
Neil Darlow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Erik Trulsson
On Thu, Mar 06, 2008 at 07:41:28AM -0500, Robert Huff wrote:
 
 
 Ivan Voras [EMAIL PROTECTED] writes:
 
  I am ready to install a web server, the main hardwares are as follows:
  CPU 4-core xeon 5410 * 2
  MEM kingston 2G EEC FBD667 * 2
  HD ST146G SAS 15K * 1
 
Unless you need software that doesn't work on i386, you should
install amd64.
 
   Um ... they said xeon.  Doesn't that mean ia64?

No, it does not.  ia64 is for Intel's Itanium series CPU's. Completely
different architecture.
amd64 is for those CPU's implementing the AMD64 architecture.  This is
also known as x86-64.  Intel used to call their implementation EMT64, but
I think they have changed that since.  AFAIK all of Intel's recent
x86 CPUs support amd64. (This includes all Core2Duo based CPUs as well
as the Xeon versions thereof.)




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Robert Huff


Ivan Voras [EMAIL PROTECTED] writes:

 I am ready to install a web server, the main hardwares are as follows:
 CPU 4-core xeon 5410 * 2
 MEM kingston 2G EEC FBD667 * 2
 HD ST146G SAS 15K * 1

   Unless you need software that doesn't work on i386, you should
   install amd64.

Um ... they said xeon.  Doesn't that mean ia64?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-06 Thread Neil Darlow

Hi,

Kris Kennaway wrote:
This should be unrelated to bzip since that is purely CPU bound.  What 
is causing the interrupts?  Check vmstat -i.  That is likely to be your 
real problem.


The cause of the high interrupt incidence was failed DMA operations on 
my DVD-RW drive.


The situation arose as follows:
1) My backup program executes at 11:30 UTC and uses growisofs to create 
a DVD on-the-fly.

2) newsyslog executes at 00:00 UTC and compresses the logfiles with bzip2.
3) The DVD-RW drive DMA errors appear.

I've rebooted the system and watched cron execute newsyslog to rotate 
the logs. I have a bzip2 process that's consuming over 90% of CPU. That 
can't be normal?


Regards,
Neil Darlow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Ivan Voras
Vivian Liu wrote:
 Thanks a lot again.
 
 There are running some application has been built using PHP in this web
 box.
 Also need a small mail system and mysql for a game server that running
 on a win2003 machine.
 Maybe I need to upgrade the memory to 8G.

8 GB should be ok for most purposes. But again, you need more disk
drives, not for the space but for performance and resilience to drive
problems (RAID).




signature.asc
Description: OpenPGP digital signature


Re: Some questions about installing a web server.

2008-03-06 Thread Vivian Liu

Thanks Robert,

See http://processorfinder.intel.com/details.aspx?sSpec=SLANW
It may be a 64-bit Intel microprocessor.

Vivian


On Thu, 06 Mar 2008 20:41:28 +0800, Robert Huff [EMAIL PROTECTED] wrote:


Ivan Voras [EMAIL PROTECTED] writes:


I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1


  Unless you need software that doesn't work on i386, you should
  install amd64.


Um ... they said xeon.  Doesn't that mean ia64?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to  
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Vivian Liu

Thanks a lot again.

There are running some application has been built using PHP in this web  
box.
Also need a small mail system and mysql for a game server that running on  
a win2003 machine.

Maybe I need to upgrade the memory to 8G.

Regards.
Vivian


On Thu, 06 Mar 2008 18:07:05 +0800, Ivan Voras [EMAIL PROTECTED] wrote:


刘伟南 wrote:

Hi guys,

I'm a freshman man here. Please do not mind my silly questions.

I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1

I have several questions.
Which platform should I chooses? amd64 or i386?


Unless you need software that doesn't work on i386, you should install
amd64.


Is 4G memory enough for 2000 people online?


This is very much dependent on what will the server actually do. For a
simple web (PHP?) application, yes. For a very complex web application,
no. You probably also need a database there, and that will complicate
things.


If you have others suggestions please tell me.
Thanks in advance.


I suppose the disk drive specification is a placeholder - you'll
probably need many more drives in real deployment.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ZendDebugger.so for FreeBSD 6.x/7.x amd64?

2008-03-06 Thread Olivier Mueller
Hello,

Is there anyone around using the current ZendDebbuger (part of the Zend
Plattform) under Freebsd/amd64?Zend support doesn't seem to be able
to help at the moment...  

I tried the linux version in linux compatibility mode, but it didn't
worked yet.

Thanks  regards,
Olivier

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 kde 3 build patch error

2008-03-06 Thread Robin Becker

Matthias Apitz wrote:

El día Wednesday, March 05, 2008 a las 04:02:11PM +, Robin Becker escribió:

I'm trying to build kde3 from ports with 7.0 release and get this patch 
error whilst trying to build cups

...


After doing portsnap update I get further with building kde3, but am now getting 
stuck with some error related to docbook

..
Making all in doc
rm -rf html
mkdir html
jade -t sgml -d ./website.dsl\#html ./manual.sgml
jade:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:308:0:E: cannot open 
/usr/local/share/sgml/docbook/4.2/iso-amsa.gml (No such file or directory)
jade:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:312:0:E: cannot open 
/usr/local/share/sgml/docbook/4.2/iso-amsb.gml (No such file or directory)
jade:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:316:0:E: cannot open 
/usr/local/share/sgml/docbook/4.2/iso-amsc.gml (No such file or directory)

...

I guess this is some bug building docbook, but is there a better way to get kde 
up and running? Or should I try again with make config-recursive and remove the 
docbook related stuff.

--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SIGHUP and Program Flow in a 6.2 Application

2008-03-06 Thread Martin McCormick
This actually turned out to be a red herring. One of the
things I had to trace was an attempted read from /dev/ttyd0 in
which I was trying to go past the actual read. This appears to
be what thoroughly confused the trace.

There was a logic error in the signal handler which
caused it to never exit and that was what prevented further
signals. It took me a while to figure all that out but it makes
sense.

In my tinkering with embedded systems and
assembly-language programming, one often-times shuts off the
interrupts first thing during an interrupt handler because
disaster results if another interrupt comes in while one is
setting up the jump vector, etc. The signal handler hides all
those details, but it still has to take care of them.

Anyway, when I fixed the logic of the handler, itself
and did not try to trace it, it does work as one would expect.

I appreciate the help as it made me think and re-examine
what was happening. The man page more or less explains it if you
know what to look for but it wasn't close enough to what was
happening here to really help much.

Derek Ragona writes:
Nothing needs to be in your handler function to continue running simply 
return from your function.  However, depending on the signal you may wish 
to call the original signal handler.  Signals like interrupts are chained 
linked lists of handlers.  You can choose to break the chain, and have only 
your handler called, or keep the chain intact calling the other handlers.

In this case, the chain appears to resume on return from the
routine I called on SIGHUP.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


font missing under FLtk

2008-03-06 Thread Lorin Lund

A special font I need for project is found and used by another program
but is not found by a program built with FLtk.  The 'fonts' program in
the FLtk test directory lists very few fonts.  The one I want is not shown.

Any ideas? (on where my installation /configuration might be lacking)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Please help me with my PF config

2008-03-06 Thread Alaor Barroso de Carvalho Neto
Hi guyz, let me explain what I have. I work in a school, we have access to
the internet, two internal networks (academic and administrative) and we
have to connect to some servers in another school because we share databases
and to video-conference. I have a FreeBSD box with PF and squid, i want all
my web traffic to pass through the squid, it's working. I want to academic
net don't be able to communicate with administrative net, and the inverse,
it's working. But I would like to my adm net to communicate with some
servers in the other school network, and only this servers, no other ip
would be accessible, it's NOT working. I can ping to the servers but I can't
connect to the services ports (SQL Server, and so on).

Here's my pf.conf:

BEGIN OF CONFIG

ext_if=em0
adm_if=xl0
acad_if=xl1
cefet_if=xl2
all_if={ em0, xl0, xl1, xl2 }
ext_net=XXX.XXX.XXX.XXX/XX
adm_net=192.168.1.0/24
acad_net=192.168.2.0/24
cefet_net=10.10.0.0/16
cefet_servers={ 10.10.0.10, 10.10.0.15, 10.10.0.213 }
internal_nets={ 192.168.1.0/24, 192.168.2.0/24 }
tcp_services={ ssh, smtp, domain, http, https, ftp, ftp-data, nntp, pop3,
pop3s, auth, 3128 } }
udp_services={ domain, ntp }
proxy_ports={ 80, 8000, 8080, 3128 }
martians={ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8,
169.254.0.0/16, 192.0.2.0/24, 0.0.0.0/8, 240.0.0.0/4 }

set block-policy return

scrub in all

nat on $ext_if from $internal_nets to any - ($ext_if)
nat on $cefet_if from $adm_net to any - ($cefet_if)

rdr on $all_if proto tcp from any to any port $proxy_ports - 127.0.0.1 port
3128

block all
block drop in quick on $ext_if from $martians to any
block drop out quick on $ext_if from any to $martians
block drop quick from $acad_net to $adm_net
block drop quick from $adm_net to $acad_net
pass quick proto icmp from any to any keep state
pass quick from $adm_net to $cefet_servers keep state
pass quick from $cefet_servers to $adm_net keep state
block quick from any to $cefet_net
block quick from $cefet_net to any
pass proto tcp to any port $tcp_services keep state
pass proto udp to any port $udp_services keep state
antispoof for $all_if
END OF CONFIG

cefet_net is the network of the other school, and cefet_servers are the
servers I want to communicate with, I want all ports and protocols to these
servers, but it's not working. I need a light guyz.

Thankz, and sorry my poor english.
Alaor Neto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Wojciech Puchar

I'm a freshman man here. Please do not mind my silly questions.

I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1

I have several questions.
Which platform should I chooses? amd64 or i386?


amd64


Is 4G memory enough for 2000 people online?


what does 2000 people online mean. 2000 people fetching WWW page in the 
same time? if so - pentium 200 with 64MB would suffice :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0 kde 3 build patch error

2008-03-06 Thread Matthias Apitz
El día Thursday, March 06, 2008 a las 01:20:54PM +, Robin Becker escribió:

 Matthias Apitz wrote:
 El día Wednesday, March 05, 2008 a las 04:02:11PM +, Robin Becker 
 escribió:
 
 I'm trying to build kde3 from ports with 7.0 release and get this patch 
 error whilst trying to build cups
 ...
 
 After doing portsnap update I get further with building kde3, but am now 
 getting stuck with some error related to docbook
 ..
 Making all in doc
 rm -rf html
 mkdir html
 jade -t sgml -d ./website.dsl\#html ./manual.sgml
 jade:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:308:0:E: cannot open 
 /usr/local/share/sgml/docbook/4.2/iso-amsa.gml (No such file or directory)
 jade:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:312:0:E: cannot open 
 /usr/local/share/sgml/docbook/4.2/iso-amsb.gml (No such file or directory)
 jade:/usr/local/share/sgml/docbook/4.2/dbcentx.mod:316:0:E: cannot open 
 /usr/local/share/sgml/docbook/4.2/iso-amsc.gml (No such file or directory)
 ...
 
 I guess this is some bug building docbook, but is there a better way to get 
 kde up and running? Or should I try again with make config-recursive and 
 remove the docbook related stuff.

I got the kde3 port installed fine after only updating the cups-base
port to cups-base-1.3.6 (as I wrote yesterday). Now I followed your hint,
removed all the system again (it's only a test machine), installed this
way the ports tree which comes with the 7.0R disk1, did portsnap and
I'm just doing 'make install BATCH=yes' in /usr/ports/x11/kde3;
will let you know if I run into the same problem now;

so, if you are only interested in KDE and if reset to clean state is
an option for you, you could do portsnap _after_ having KDE compiled;

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please help me with my PF config

2008-03-06 Thread Erik Norgaard

Alaor Barroso de Carvalho Neto wrote:
 nat on $ext_if from $internal_nets to any - ($ext_if)
 nat on $cefet_if from $adm_net to any - ($cefet_if)
 rdr on $all_if proto tcp from any to any port $proxy_ports \
 - 127.0.0.1 port 3128

OK, so do these nat rules actually take effect? Which one? Why do you 
need nat from adm_net to cefet_net? It appears there is no such need, 
but then could require a change on cefet_net to tell these hosts the 
route to adm_net.


It is possible that the rdr rule applies even though it appears under 
the nat rule because rdr is applied on the way in while nat is applied 
on the way out. rdr is only applied to tcp, the nat rule then is applied 
to udp and icmp - this will explain why you can ping but not connect 
with tcp.


You can add log statements to your nat rules to see which is applied.


pass quick proto icmp from any to any keep state
pass quick from $adm_net to $cefet_servers keep state
pass quick from $cefet_servers to $adm_net keep state


It appears that ping is passed by the first rule, but other protocols 
are not matched in the second/third rule.



block quick from any to $cefet_net
block quick from $cefet_net to any


Then it is probably blocked here.

Some general considerations:

When writing your ruleset, make sure to add log in any block statement. 
That will show you which rule is applied when a packet is blocked. Once 
things are working remove log statements.


Make your rules as specific as possible. State direction and interfaces 
and avoid the use of any. It is easier to avoid that some other rule 
take effect than the one you intended.


any and lack of direction/interface is fine in policy rules - that is 
when you explicitly state block all.


I usually build my rules like this:

block all # default policy
block in all
block in on $ext_if all
...
block in quick on $ext_if all
...
block in quick all
block out all
...
block out quick all
block quick all # catch up just in case I messed up

It makes it easy to locate any error, and it actually also follows the 
rules of the pf skip ahead optimizer.


Cheers, Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Ivan Voras
Wojciech Puchar wrote:
 
 what does 2000 people online mean. 2000 people fetching WWW page in the
 same time? if so - pentium 200 with 64MB would suffice :)

I think the time of static .html files has passed years ago :)



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 7.0 and VMware tools (was Re: FreeBSD 7RC2 and VMware tools)

2008-03-06 Thread Dimitri Yioulos
On Wednesday 05 March 2008 8:44 am, Ivan Voras wrote:
 Dimitri Yioulos wrote:
  On Tuesday 04 March 2008 12:22 pm, [EMAIL PROTECTED] wrote:
  It seems that everybody tries to hack around the problem...:)
 
  Does somebody know if this is a FreeBSD problem or a VMware problem and
  who should fix it, resp. when is a fix expected?
 
  I mean, in 6.x the VMware tools just work.
 
  That would, indeed, be good to know.

 Um, I've read this thread and I still don't get what is the supposed
 problem is here? I'm using VMWare all the time with FreeBSD since 6.0
 and here are my experiences:

 - The only thing that VMWare tools are useful (on FreeBSD) is to get GUI
 features like clipboard sharing and automatic mouse focus grab in X.Org.
 VMWare tools on Linux seem to include a driver that does something with
 memory management, but it's not available for FreeBSD. You don't need
 VMWare Tools for the following things to work: networking, timer, X.Org
 GUI. - Networking is handled by the le driver (in the old versions of
 FreeBSD there was lnc) or the em driver. These two will work without any
 special configuration of FreeBSD. To use the em driver, you might need to
 modify the VM configuration to include ethernet0.virtualDev = e1000  or
 a similar appropriate line. To use the VMWare vmxnet driver (which as far
 as I can see isn't much different than the le driver), you need to build a
 kernel without the le driver first.
 - Timer problems can be lessened (never solved, even with vmware tools)
 by reducing kern.hz to something like 50 or 100 Hz (in loader.conf), and
 installing ntpd.
 - X.Org can use the generic vmware display driver which is included in
 the default X.Org collection of drivers. Mouse, etc. are also handled
 generically.

 Don't expect great performance, but if you're using VM technology you're
 used to it.


Thank you, Ivan!  Very insightful post on the issue.  As you may know, the 
documentation regarding VMware Server and FreeBSD isn't great (one of the 
burdens we bear :-)  ).  It's not clear about the NIC driver at all; the 
installed le0 iface is working just fine as it is.  I've also got the GUI 
working, but for the most part, it's worthless.  I just thought it best to 
use the the included VMware Tools, as per VMware.

My thanks, also, to everyone else who responded.  Much appreciated.

Dimitri

-- 
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 [EMAIL PROTECTED]


FreeBSD 7.0 BIND high ram usage and weird transfer msg

2008-03-06 Thread Abdullah Ibn Hamad Al-Marri
Hey,

FreeBSD NS3.WeArab.Net 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar  1 21:19:43 
UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NS3  i386

 6713 bind4  440   234M   184M select  16:42  0.00% named

NS3# tail /var/log/messages
Mar  6 14:50:27 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied
Mar  6 14:54:13 NS3 named[6713]: clients-per-query increased to 11
Mar  6 15:02:41 NS3 named[6713]: dumping master file: tmp-LPdMFdRxdo: open: 
permission denied
Mar  6 15:02:41 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied
Mar  6 15:14:19 NS3 named[6713]: dumping master file: tmp-4S91cXt75i: open: 
permission denied
Mar  6 15:14:19 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied
Mar  6 15:28:11 NS3 named[6713]: dumping master file: tmp-TjAwfxT5h0: open: 
permission denied
Mar  6 15:28:11 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied

include /etc/namedb/rndc.key;

controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};

// $FreeBSD: src/etc/namedb/named.conf,v 1.21.2.6 2007/08/17 04:39:15 dougb Exp 
$
//
// Refer to the named.conf(5) and named(8) man pages, and the documentation
// in /usr/share/doc/bind9 for more details.
//
// If you are going to set up an authoritative server, make sure you
// understand the hairy details of how DNS works.  Even with
// simple mistakes, you can break connectivity for affected parties,
// or cause huge amounts of useless Internet traffic.

options {
directory   /etc/namedb;

query-source address 66.90.105.114 port 53;

listen-on port 53 {
66.90.105.114;  // NS3.WeArab.Net
};

allow-transfer {
66.90.108.35;   // NS1.WeArab.Net
65.215.220.147; // NS2.WeArab.Net
};

allow-query { any; };
allow-recursion { any; };

};


etc changed
user expected 0 found 53 modified
gid expected 0 found 53 modified
etc/namedb changed
user expected 0 found 53 modified
gid expected 0 found 53 modified

Freebsd always resets them unless we run named as root


I didn't have alot of ram usage or these problems when I was running FreeBSD 
6.2-STABLE.



Any hints?

 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Paul Schmehl
--On Thursday, March 06, 2008 16:25:44 +0800 ?? [EMAIL PROTECTED] 
wrote:



Hi guys,

I'm a freshman man here. Please do not mind my silly questions.

I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1

I have several questions.
Which platform should I chooses? amd64 or i386?


i386.


Is 4G memory enough for 2000 people online?


Depends on what you're doing.  Should be for most cases.


If you have others suggestions please tell me.


Install and use mod_security to protect your web server from attack.

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Lib Errors After 6.3 - 7 Update

2008-03-06 Thread Dimitri Yioulos
On Tuesday 04 March 2008 9:15 pm, you wrote:
 On Tue, 4 Mar 2008 16:16:44 -0500

 Dimitri Yioulos [EMAIL PROTECTED] wrote:
  Perhaps someone has a better suggestion for you, but I had a similar
  issue with regard to installing VMware Tools.  In my case, I symlinked
  libc.so.5 linked to libc.so.6, and the VMware Tools installation
  proceeded.

 Like Kris said, not really good. An option may be, if you want to limit
 your exposure to compatibility issues, is to use libmap.conf , so you only
 map libc.so.6 as .5 ONLY for certain executables/libraries that depend on
 them.

 I find it this method a much better one to managed - one central place to
 manage library tricks, and is more advanced than symlinking. And you can
 easily transfer it to other systems

 B

 _
 {Beto|Norberto|Numard} Meijome


Thank you, Beto, for increasing my knowledge.  I'll take a look at libmap.conf 
and read any extant info on it.

Dimitri

-- 
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 [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Wojciech Puchar

I have several questions.
Which platform should I chooses? amd64 or i386?


i386.

why?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SIGHUP and Program Flow in a 6.2 Application

2008-03-06 Thread Derek Ragona

At 07:46 AM 3/6/2008, Martin McCormick wrote:

This actually turned out to be a red herring. One of the
things I had to trace was an attempted read from /dev/ttyd0 in
which I was trying to go past the actual read. This appears to
be what thoroughly confused the trace.

There was a logic error in the signal handler which
caused it to never exit and that was what prevented further
signals. It took me a while to figure all that out but it makes
sense.

In my tinkering with embedded systems and
assembly-language programming, one often-times shuts off the
interrupts first thing during an interrupt handler because
disaster results if another interrupt comes in while one is
setting up the jump vector, etc. The signal handler hides all
those details, but it still has to take care of them.

Anyway, when I fixed the logic of the handler, itself
and did not try to trace it, it does work as one would expect.

I appreciate the help as it made me think and re-examine
what was happening. The man page more or less explains it if you
know what to look for but it wasn't close enough to what was
happening here to really help much.


Good to hear you got things working.  Debugging signal handlers and 
interrupt handlers is always a challenge.  I am an old assembly coder too, 
and have done embedded work as well.  It can be very challenging in any 
environment debugging these, particularly with re-entrancy issues.


-Derek



Derek Ragona writes:
Nothing needs to be in your handler function to continue running simply
return from your function.  However, depending on the signal you may wish
to call the original signal handler.  Signals like interrupts are chained
linked lists of handlers.  You can choose to break the chain, and have only
your handler called, or keep the chain intact calling the other handlers.

In this case, the chain appears to resume on return from the
routine I called on SIGHUP.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
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 [EMAIL PROTECTED]


question about wpa and ifconfig scan

2008-03-06 Thread sung.park
Hello, 

 

I have a FreeBSD server which provides access point and DHCP. 

 

I have a FreeBSD computer which is client of access point.  I’m using WPA
encryption for security of wireless connection. 

The client box has solid connection until I type 

 

Ifconfig ath0 scan

 

After scan all of access point it lose connection from access point.  Is
there any way to prohibit losing connection after scan?  

 

Thanks


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.6/1315 - Release Date: 3/6/2008
9:07 AM
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


JDK for FreeBSD 7

2008-03-06 Thread vincenzo romero
A quick question:

1.  Based on the following available downloads:
http://www.freebsdfoundation.org/downloads/java.shtml

seems like there is no SW available for the FreeBSD 7 stable
release?... pls confirm?

2.  Is there a way of (sorry for the naive question) running the
latest for FBSD6 into 7?  kind of like downloading source and
compiling?  if so, any pointers to where I can get source and
instructions?



-- 
best,

Vince
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some questions about installing a web server.

2008-03-06 Thread Dominic Fandrey

Paul Schmehl wrote:
--On Thursday, March 06, 2008 16:25:44 +0800 ?? 
[EMAIL PROTECTED] wrote:



Hi guys,

I'm a freshman man here. Please do not mind my silly questions.

I am ready to install a web server, the main hardwares are as follows:
CPU 4-core xeon 5410 * 2
MEM kingston 2G EEC FBD667 * 2
HD ST146G SAS 15K * 1

I have several questions.
Which platform should I chooses? amd64 or i386?


i386.


Definitely not.


Is 4G memory enough for 2000 people online?


Depends on what you're doing.  Should be for most cases.



With 4G of memory i386 really isn't a choice. Unless you feel adventurous and 
want to try PAE. I'd stick with amd64. All the webserver stuff works fine 
there and it allows you to extend the memory later on if the need arises.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Steven Friedrich
On Thursday 06 March 2008 05:42:05 am Kris Kennaway wrote:
 Jonathan Chen wrote:
  On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:
  I have two installed:
  diablo-jdk-1.5.0.07.01_9
  jdk-1.5.0.14p8,1
 
  The native JDK is the one to use in most cases; eg: if you're
  running FreeBSD-7, eclipse won't work properly unless you're using the
  native jdk.

 I assume you mean native in the sense of compiled for FreeBSD 7
 instead of FreeBSD 6.  They are both native FreeBSD binaries :-)

 But yes, you should be using the self-compiled jdk on FreeBSD 7 for
 other reasons: it has better performance.  Once a 7.x build of diablo is
 released you can switch to that.

 Kris

Ok, so I pkg_deinstall diablo-jdk and tried to install jdk15.
It errors out (I had previously had installed this long ago and didn't have 
any problems tracking it with csup/portupgrade).
WARNING: Your are not building SPONSORS workspace from
 the control build. This will result in a development-only
 build of the J2SE workspace, lacking the installation bundles

WARNING: Your FreeBSD installation is not valid for building a
   the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*.
   Your release is 7.0-RELEASE

ERROR: BOOTDIR does not point to a valid Java 2 SDK
   Check that you have access to
   /usr/local/diablo-jdk1.5.0/bin/java
   and/or check your value of ALT_BOOTDIR.

Exiting because of the above error(s).

gmake: *** [post-sanity] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk15.

And why does it reference diablo?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GTK Compile fail in 7.0-R

2008-03-06 Thread chris
I have tried to re-build all of my ports, but gtk-2 is failing.  Any
suggestions.

the comand I used last was:

portupgrade -Rf --batch gtk-2.12.3

iqr.la im-multipress.la   gtk.immodules
/libexec/ld-elf.so.1: Shared object libm.so.4 not found, required by
libgdk_pixbuf-2.0.so.0
gmake[3]: *** [gtk.immodules] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8'
gmake: *** [all] Error 2
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11-toolkits/gtk20 (gtk-2.12.3)   (new compiler error)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ACPI Problem: acpi_tz0:_TMP value is absurd

2008-03-06 Thread B J
A few weeks ago, I upgraded my Compaq Presario desktop
machine from FreeBSD 6.2 to 6.3.  I soon noticed this
message on the screen.  Apparently, the system is
measuring the temperature of absolute zero.

At first, I thought it to be an installation error on
my part, but reformatting the hard drive and
re-installing 6.3 didn't change anything.  This
message still appears in 7.0.

I installed 6.3 on a Thinkpad laptop but there doesn't
seem to be a problem with that machine.

A search through Google showed that other users are
having the same difficulty but I haven't found a
solution yet.  It's quite frustrating as there doesn't
seem to be a file which I could edit to reset ACPI,
either is there anything in the desktop machine's
BIOS.

Does anyone have any suggestions?  Thank you.

BMJ


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Steven Friedrich
On Thursday 06 March 2008 12:28:33 pm you wrote:
 its there any JDK for amd64 arch from sun ?

 On Fri, Mar 7, 2008 at 1:19 AM, Steven Friedrich [EMAIL PROTECTED]

 wrote:
  On Thursday 06 March 2008 05:42:05 am Kris Kennaway wrote:
   Jonathan Chen wrote:
On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:
I have two installed:
diablo-jdk-1.5.0.07.01_9
jdk-1.5.0.14p8,1
   
The native JDK is the one to use in most cases; eg: if you're
running FreeBSD-7, eclipse won't work properly unless you're using
the native jdk.
  
   I assume you mean native in the sense of compiled for FreeBSD 7
   instead of FreeBSD 6.  They are both native FreeBSD binaries :-)
  
   But yes, you should be using the self-compiled jdk on FreeBSD 7 for
   other reasons: it has better performance.  Once a 7.x build of diablo
   is released you can switch to that.
  
   Kris
 
  Ok, so I pkg_deinstall diablo-jdk and tried to install jdk15.
  It errors out (I had previously had installed this long ago and didn't
  have
  any problems tracking it with csup/portupgrade).
  WARNING: Your are not building SPONSORS workspace from
  the control build. This will result in a development-only
  build of the J2SE workspace, lacking the installation bundles
 
  WARNING: Your FreeBSD installation is not valid for building a
the J2SDK. You must be using FreeBSD 4.1[01]|5.[345]|6.*.
Your release is 7.0-RELEASE
 
  ERROR: BOOTDIR does not point to a valid Java 2 SDK
Check that you have access to
/usr/local/diablo-jdk1.5.0/bin/java
and/or check your value of ALT_BOOTDIR.
 
  Exiting because of the above error(s).
 
  gmake: *** [post-sanity] Error 1
  *** Error code 2
 
  Stop in /usr/ports/java/jdk15.
 
  And why does it reference diablo?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]

Sorry Mohamad, I'm not the expert on java on freebsd.
I sent this to the list so you'll get an answer.

My question was which port should I use and so far, it appears the answer is 
jdk15, but it appears it depends on diablo-jdk.

You might take a look at:
http://www.freebsdfoundation.org/downloads/java.shtml

But it appears that it only helps as long as your're using prior to FreeBSD 7.
I believe these guys are telling me that if I'm running FreeBSD 7 (and I am), 
that I need to use jdk15 (but it appears that it installs/depends on 
diablo-jdk.

Sorry for the second send, I didn't add questions email address...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslogd and bzip2 hogs after 6.3 to 7.0 upgrade

2008-03-06 Thread Mel
On Thursday 06 March 2008 13:14:02 Neil Darlow wrote:

 I've rebooted the system and watched cron execute newsyslog to rotate
 the logs. I have a bzip2 process that's consuming over 90% of CPU. That
 can't be normal?

It's normal.
It's not normal if the files don't get compressed.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Jonathan Chen
On Thu, Mar 06, 2008 at 12:48:49PM -0500, Steven Friedrich wrote:

[...]
 My question was which port should I use and so far, it appears the answer 
 is 
 jdk15, but it appears it depends on diablo-jdk.
 
 You might take a look at:
 http://www.freebsdfoundation.org/downloads/java.shtml
 
 But it appears that it only helps as long as your're using prior to FreeBSD 7.
 I believe these guys are telling me that if I'm running FreeBSD 7 (and I am), 
 that I need to use jdk15 (but it appears that it installs/depends on 
 diablo-jdk.

The diablo-jdk is a build dependancy for the jdk15 port. Once the
jdk15 port has been installed you can safely remove the diablo-jdk.
IIRC, the diablo-jdk on FreeBSD-7 also has a run-dependancy on
misc/compat6 port.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please help me with my PF config

2008-03-06 Thread Alaor Barroso de Carvalho Neto
2008/3/6, Erik Norgaard [EMAIL PROTECTED]:

 You can add log statements to your nat rules to see which is applied.

  pass quick proto icmp from any to any keep state
  pass quick from $adm_net to $cefet_servers keep state
  pass quick from $cefet_servers to $adm_net keep state

 It appears that ping is passed by the first rule, but other protocols
 are not matched in the second/third rule.

  block quick from any to $cefet_net
  block quick from $cefet_net to any

 Then it is probably blocked here.


Thankz, brother, it worked. I need the nat to work with the firewall config
of the other school. Then, I saw in the log that the traffic going through
the 10.10.0.50 (my if) to the servers was being blocked. For me saying that
adm_net should communicate with cefet_server would be enough to the firewall
understand that it should pass trough any if on the way.

I know my config is far away from a good config but it's the first time I
configure an firewall, and I have only basic english knowledge, I'm not
totally sure about I can and I can not do, even since I read the tutorials,
because my english skills aren't good enough. The IN and OUT stuff is
very confusing for me yet.

But thankz a lot, it's working now.

Hugs,
Alaor Neto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Wireless card for an access point

2008-03-06 Thread Mel
On Wednesday 05 March 2008 23:14:36 Ross Penner wrote:

 I currently have a FreeBSD machine that acts as a router and
 fileserver for my local home network. I'm hoping to set up a wireless
 access point so I don't have to steal my neighbour's wireless. The PC
 I'm using for FreeBSD has no free PCI slots so I'm forced to settle
 for a USB device. I'm hoping you all can suggest to me some models
 that have worked for you as an access point. If it counts, I'll be
 running FreeBSD 7.

 Thanks for any suggestions,

I think you're outof luck.
The rum driver's AP support is discouraged and the ural driver doesn't support 
hostap mode. See rum(4) and ural(4).
I don't know of any other USB wireless drivers.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2+PHP+700 sites = DNS Issues?

2008-03-06 Thread Mel
On Thursday 06 March 2008 12:12:05 Simon Street wrote:

 I've copied resolv.conf to /usr/local/etc and HostnameLookups is
 already enabled, no joy :( (Have restarted apache also).


Hmm hmmm.
So apache can look up IP's and write hostname into it's log, but php can't 
resolve anything. If it's got something to do with FDSET, then if it has no 
traffic at all, the problem should go away. Does it? Not sure if you can test 
that, but block all incoming traffic for 30 seconds and run your test script, 
shouldn't be too difficult.

Does this work:
var_dump(gethostbyname(www.example.com));

Maybe it isn't related to resolving at all - like, are there any disallowed 
functions in your php configuration?


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD on IBM x3400?

2008-03-06 Thread Matt Emmerton
Anyone had any luck (or horror stories) with FreeBSD on IBM x3400 systems?  


--
Matt Emmerton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Printing with a laserjet 1018

2008-03-06 Thread Bob Falanga
I would like to try using /usr/local/bin/lpr  but where do I put it?  in the
path?
Bob

On Tue, Mar 4, 2008 at 6:35 PM, Michael Ross [EMAIL PROTECTED] wrote:

 Bob Falanga schrieb:
  First of all, thanks to those who have helped me so far.
  I have configured the printer and everything looks OK, but when I do a
 test
  print the test page goes into the printer queue and stays there for
 ever.
  The printer doesn't even squeak. First I had to use the print driver for
 a
  laserjet 1010 as I couldn't kind a driver for the 1018. Second the
 printer
  does work under the alternate OS.
 
  Any ideas?
 

 HP printer using CUPS, right?
 Try using /usr/local/bin/lpr instead of /usr/bin/lpr.
 Same goes for lprm, lpq and friends.
 Make sure all your apps do.
 Maybe replace /usr/bin/lpr with /usr/local/bin/lpr.
 Repeat after installworld.

 HTH

 Michael

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about wpa and ifconfig scan

2008-03-06 Thread Pietro Cerutti

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

sung.park wrote:
| Hello,

Hello,

| The client box has solid connection until I type
| Ifconfig ath0 scan
| After scan all of access point it lose connection from access point.  Is
| there any way to prohibit losing connection after scan?

I think this is the expected behavior unless your hw supports background
scanning (try ifconfig ath0 bgscan, if it gives SIOCS80211: Invalid
argument then it doesn't :-).

You can use
ifconfig ath0 list scan
to get the latest scan result without initiating a new scan.

Note that the 'scan' command given as non-root user is the same as the
list scan -- a normal user won't be able to cause the disconnection by
issuing a 'scan' command.

| Thanks

Hope this helps,


- --
Pietro Cerutti
[EMAIL PROTECTED]

PGP Public Key:
http://gahr.ch/pgp

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (FreeBSD)

iEYEAREKAAYFAkfQLQ8ACgkQwMJqmJVx945/KQCgiKhY1VKAw6KQ89mGpmZeGe8Q
bv8An1692foO275N62j5z3hzAnbc1EH8
=8AVg
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


some simple Questions

2008-03-06 Thread Nex6
Hi all,

I am new to Freebsd tho, long time Linux/Windows user.

install software:
seems the way to to this is pkg_add -r software-name

system update:
still not sure? tho this is probly something really simple, seems more the
one way to do it.

main difference between packages and ports?


thanks in adavnce.


-Nex6
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some simple Questions

2008-03-06 Thread Bill Moran
In response to Nex6 [EMAIL PROTECTED]:
 
 install software:
 seems the way to to this is pkg_add -r software-name

packages: use pkg_add -r
ports: cd /usr/ports/category/port-name  make install

See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

 system update:
 still not sure? tho this is probly something really simple, seems more the
 one way to do it.

cvsup is the canonical way:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

But stuff like freebsd-upate has streamlined this a lot:
http://www.daemonology.net/freebsd-update/

 main difference between packages and ports?
Packages are precompiled.  Ports are not.  Ports can be made into
packages, the reverse is not true.  See the above link.

-- 
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 [EMAIL PROTECTED]


Re: some simple Questions

2008-03-06 Thread tesolarisc

On Thu, 2008-03-06 at 10:32 -0800, Nex6 wrote:
 Hi all,
 
 I am new to Freebsd tho, long time Linux/Windows user.
 
 install software:
 seems the way to to this is pkg_add -r software-name

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
(you may also have the handbook localy in /usr/share/doc)
  
 
 system update:
 still not sure? tho this is probly something really simple, seems more the
 one way to do it.

have a look at 'man freebsd-update'

 
 main difference between packages and ports?

se handbook above

 
 
 thanks in adavnce.
 
 
 -Nex6
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some simple Questions

2008-03-06 Thread Schiz0
On Thu, Mar 6, 2008 at 1:32 PM, Nex6 [EMAIL PROTECTED] wrote:
 Hi all,

  I am new to Freebsd tho, long time Linux/Windows user.

  install software:
  seems the way to to this is pkg_add -r software-name

There are two ways to install software. Using packages (pkg_add) or
using ports. See my response below for details on how to use ports.

  system update:
  still not sure? tho this is probly something really simple, seems more the
  one way to do it.

FreeBSD comes with the source code for the entire system. So, to
upgrade the system, you need to do two things:
1. Checkout the source code for whatever update you want to use
2. Compile and install that source code.

For the first one, see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

For the second one, see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

  main difference between packages and ports?

Packages are pre-compiled binaries (which are created from the ports).
The ports collection contains small Makefiles. When you install from
ports, it does the following:
1. Downloads the source code from whatever website it is hosted on.
2. Apply the FreeBSD patches/upgrades/whatever
3. Compile that source code
4. Install the binaries to the proper location


  thanks in adavnce.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some simple Questions

2008-03-06 Thread Schiz0
On Thu, Mar 6, 2008 at 2:09 PM, Schiz0 [EMAIL PROTECTED] wrote:
 On Thu, Mar 6, 2008 at 1:32 PM, Nex6 [EMAIL PROTECTED] wrote:
   Hi all,
  
I am new to Freebsd tho, long time Linux/Windows user.
  
install software:
seems the way to to this is pkg_add -r software-name

  There are two ways to install software. Using packages (pkg_add) or
  using ports. See my response below for details on how to use ports.


system update:
still not sure? tho this is probly something really simple, seems more the
one way to do it.

  FreeBSD comes with the source code for the entire system. So, to
  upgrade the system, you need to do two things:
  1. Checkout the source code for whatever update you want to use
  2. Compile and install that source code.

  For the first one, see:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

  For the second one, see:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


main difference between packages and ports?

  Packages are pre-compiled binaries (which are created from the ports).
  The ports collection contains small Makefiles. When you install from
  ports, it does the following:
  1. Downloads the source code from whatever website it is hosted on.
  2. Apply the FreeBSD patches/upgrades/whatever
  3. Compile that source code
  4. Install the binaries to the proper location

  
thanks in adavnce.
  


Ah, something I forgot to add.

The only reason the packages system exist is basically to bypass the
compile time. For example, it would take a long time to compile things
such as OpenOffice, xorg, or KDE. So instead of waiting that long, you
can just install the pre-compiled package and it's ready to go. You
don't have to wait for it to compile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTK Compile fail in 7.0-R

2008-03-06 Thread Mel
On Thursday 06 March 2008 18:45:31 [EMAIL PROTECTED] wrote:
 I have tried to re-build all of my ports, but gtk-2 is failing.  Any
 suggestions.

 the comand I used last was:

 portupgrade -Rf --batch gtk-2.12.3

 iqr.la im-multipress.la   gtk.immodules
 /libexec/ld-elf.so.1: Shared object libm.so.4 not found, required by
 libgdk_pixbuf-2.0.so.0
 gmake[3]: *** [gtk.immodules] Error 1
 gmake[3]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8' gmake: *** [all] Error 2
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
 ** Fix the problem and try again.
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! x11-toolkits/gtk20 (gtk-2.12.3)   (new compiler error)


gtk20 doesn't depend on gdk-pixbuf according to the port, but the gtk2's 
configure script doesn't agree.
In short: the gnome-hack magic is not working for this as it doesn't add 
gdkpixbuf to LIB_DEPENDS. You might wanna report this to the freebsd-gnome 
list.

To make it work for you:
Just do portupgrade -f graphics/gdk-pixbuf, then portupgrade -Rf gtk20 again. 
There's a change you'll run into the same with a different port this time, 
then rinse and repeat.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some simple Questions

2008-03-06 Thread Nex6
Been reading the FreeBSD handbook,

I installed portsnap:
ran:
portsnap fetch  extract  update

then installed portmanager and ran portmanager -u

its now updating.

thanks, for all the replys, in linux land, you either, use the distros tool
(if they have one) or if your on a yum or apt based disrto use that.


-Nex6

On Thu, Mar 6, 2008 at 11:11 AM, Schiz0 [EMAIL PROTECTED] wrote:

  On Thu, Mar 6, 2008 at 2:09 PM, Schiz0 [EMAIL PROTECTED] wrote:
  On Thu, Mar 6, 2008 at 1:32 PM, Nex6 [EMAIL PROTECTED] wrote:
Hi all,
   
 I am new to Freebsd tho, long time Linux/Windows user.
   
 install software:
 seems the way to to this is pkg_add -r software-name
 
   There are two ways to install software. Using packages (pkg_add) or
   using ports. See my response below for details on how to use ports.
 
 
 system update:
 still not sure? tho this is probly something really simple, seems
 more the
 one way to do it.
 
   FreeBSD comes with the source code for the entire system. So, to
   upgrade the system, you need to do two things:
   1. Checkout the source code for whatever update you want to use
   2. Compile and install that source code.
 
   For the first one, see:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
 
   For the second one, see:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
 
 main difference between packages and ports?
 
   Packages are pre-compiled binaries (which are created from the ports).
   The ports collection contains small Makefiles. When you install from
   ports, it does the following:
   1. Downloads the source code from whatever website it is hosted on.
   2. Apply the FreeBSD patches/upgrades/whatever
   3. Compile that source code
   4. Install the binaries to the proper location
 
   
 thanks in adavnce.
   
 

 Ah, something I forgot to add.

 The only reason the packages system exist is basically to bypass the
 compile time. For example, it would take a long time to compile things
 such as OpenOffice, xorg, or KDE. So instead of waiting that long, you
 can just install the pre-compiled package and it's ready to go. You
 don't have to wait for it to compile.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: audio on 5.3

2008-03-06 Thread Dez Accid

Andrew Pantyukhin wrote:

Try this:
cd /boot/kernel/kldload snd*ko
I think running kldload snd_driver.ko will achieve the same results, 
and less typing.


--
Dez Accid

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Kris Kennaway

Steven Friedrich wrote:


But it appears that it only helps as long as your're using prior to FreeBSD 7.
I believe these guys are telling me that if I'm running FreeBSD 7 (and I am), 
that I need to use jdk15 (but it appears that it installs/depends on 
diablo-jdk.


You need a java compiler to compile the java compiler.  Don't ask.  Once 
you have compiled jdk15 you can delete the old diablo.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: some simple Questions

2008-03-06 Thread Wojciech Puchar

I am new to Freebsd tho, long time Linux/Windows user.

install software:
seems the way to to this is pkg_add -r software-name

system update:
still not sure? tho this is probly something really simple, seems more the
one way to do it.

main difference between packages and ports?
files in /usr/ports are rules and patches to build programs from sources, 
excluding sources (which are downloaded when you type make or make 
install)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kldload: exec format error on newly built GENERIC

2008-03-06 Thread Steve Franks
I just added a device driver source file to the appropriate location
and rebuilt:

dystant# cd /usr/src
dystant# make buildkernel KERNCONF=GENERIC
...
dystant# make installkernel KERNCONF=GENERIC
dystant# init 6
...
[EMAIL PROTECTED] /usr/home/steve]$ sudo kldload ucp
kldload: can't load ucp: Exec format error

??? What am I doing wrong?

Thanks,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTK Compile fail in 7.0-R

2008-03-06 Thread Chris Maness

Mel wrote:

On Thursday 06 March 2008 18:45:31 [EMAIL PROTECTED] wrote:
  

I have tried to re-build all of my ports, but gtk-2 is failing.  Any
suggestions.

the comand I used last was:

portupgrade -Rf --batch gtk-2.12.3

iqr.la im-multipress.la   gtk.immodules
/libexec/ld-elf.so.1: Shared object libm.so.4 not found, required by
libgdk_pixbuf-2.0.so.0
gmake[3]: *** [gtk.immodules] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8' gmake: *** [all] Error 2
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11-toolkits/gtk20 (gtk-2.12.3)   (new compiler error)




gtk20 doesn't depend on gdk-pixbuf according to the port, but the gtk2's 
configure script doesn't agree.
In short: the gnome-hack magic is not working for this as it doesn't add 
gdkpixbuf to LIB_DEPENDS. You might wanna report this to the freebsd-gnome 
list.


To make it work for you:
Just do portupgrade -f graphics/gdk-pixbuf, then portupgrade -Rf gtk20 again. 
There's a change you'll run into the same with a different port this time, 
then rinse and repeat.
  
I am not a member of this list.  Could someone that is a member post 
this on freebsd-gnome? (Sorry, my in box is pretty cluttered these days).


--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTK Compile fail in 7.0-R

2008-03-06 Thread Chris Maness

Mel wrote:

On Thursday 06 March 2008 18:45:31 [EMAIL PROTECTED] wrote:
  

I have tried to re-build all of my ports, but gtk-2 is failing.  Any
suggestions.

the comand I used last was:

portupgrade -Rf --batch gtk-2.12.3

iqr.la im-multipress.la   gtk.immodules
/libexec/ld-elf.so.1: Shared object libm.so.4 not found, required by
libgdk_pixbuf-2.0.so.0
gmake[3]: *** [gtk.immodules] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8' gmake: *** [all] Error 2
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11-toolkits/gtk20 (gtk-2.12.3)   (new compiler error)




gtk20 doesn't depend on gdk-pixbuf according to the port, but the gtk2's 
configure script doesn't agree.
In short: the gnome-hack magic is not working for this as it doesn't add 
gdkpixbuf to LIB_DEPENDS. You might wanna report this to the freebsd-gnome 
list.


To make it work for you:
Just do portupgrade -f graphics/gdk-pixbuf, then portupgrade -Rf gtk20 again. 
There's a change you'll run into the same with a different port this time, 
then rinse and repeat.
  

I don't see this port graphics/gdk-pixbuf in the current ports tree.

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


clint port broken on 7-STABLE amd64

2008-03-06 Thread Steve Franks
Just built /devel/clint on my vanilla 7.0 system.  Appears to build
and install fine, but #clint or #clint --help freezes the console, and
ctrl-C initiates a core-dump.  Python appears to run just fine.

Info:

[EMAIL PROTECTED] /usr/home/steve]$ pkg_info | grep clint
clint-0.1.2_4   A static source code checker for C++
[EMAIL PROTECTED] /usr/home/steve]$ pkg_info | grep python
python25-2.5.1_1An interpreted object-oriented programming language
[EMAIL PROTECTED] /usr/home/steve]$
[EMAIL PROTECTED] /usr/home/steve]$ dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-STABLE #9: Thu Mar  6 16:37:28 MST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU  430  @ 1.80GHz (1799.99-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x10661  Stepping = 1
  
Features=0xafebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
  Features2=0xe31dSSE3,RSVD2,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
usable memory = 1051635712 (1002 MB)
avail memory  = 1013256192 (966 MB)
ACPI APIC Table: IntelR AWRDACPI
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
kqemu version 0x00010300
kqemu: KQEMU installed, max_locked_mem=513492kB.
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Mar  6 2008 16:37:11)
acpi0: IntelR AWRDACPI on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3f6f (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
device_attach: acpi_hpet0 attach returned 12
cpu0: ACPI CPU on acpi0
p4tcc0: CPU Frequency Thermal Control on cpu0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xff00-0xff07 mem
0xfde8-0xfdef,0xc000-0xcfff,0xfdf0-0xfdf3 irq
16 at device 2.0 on pci0
agp0: Intel 82945G (945G GMCH) SVGA controller on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
pcm0: Intel 82801G High Definition Audio Controller mem
0xfdff8000-0xfdffbfff irq 16 at device 27.0 on pci0
pcm0: [ITHREAD]
pcib1: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
pci2: ACPI PCI bus on pcib2
pci2: network, ethernet at device 0.0 (no driver attached)
uhci0: UHCI (generic) USB controller port 0xfe00-0xfe1f irq 23 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: UHCI (generic) USB controller port 0xfd00-0xfd1f irq 19 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: UHCI (generic) USB controller port 0xfc00-0xfc1f irq 18 at
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: UHCI (generic) USB controller on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: UHCI (generic) USB controller port 0xfb00-0xfb1f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: UHCI (generic) USB controller on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: Intel 82801GB/R (ICH7) USB 2.0 controller mem
0xfdfff000-0xfdfff3ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb4
uhub4: 8 ports with 8 removable, self powered
pcib3: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib3
vr0: VIA VT6105 Rhine III 10/100BaseTX port 0xde00-0xdeff mem
0xfdaff000-0xfdaff0ff irq 16 at device 2.0 on pci3
vr0: Quirks: 0x0
miibus0: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface PHY 1 on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 

Re: sata slave on intel ICH7

2008-03-06 Thread Dane Miller
Anyone have thoughts on this?  If I'm missing salient details or posting
to the wrong list, please point me in the right direction.

On Wed, 2008-03-05 at 13:54 -0800, Dane Miller wrote:
 Hi,
 
 FreeBSD 6.3-RELEASE detects one of my three SATA disks as ata2-slave.
 I thought SATA did away with the master/slave ugliness of PATA. 
 
 Thinking maybe this was misleading output from FreeBSD, I did some
 concurrent writes using dd.  Sure enough, I see poor performance on
 concurrent writes to ad4 and ad5 (ata2-master and ata2-slave), while I
 see good performance on concurrent writes to ad4 and ad6 (ata2-master,
 ata3-master).  I can provide more details on the write tests I
 performed, but I'm more interested in *why* FreeBSD detects one of my
 SATA disks as a slave...
 
 Here are some details:
 
 6.3-RELEASE FreeBSD 6.3-RELEASE #0 i386
 Motherboard: Intel S3000AH
 BIOS: SATA Mode is set to Enhanced (as opposed to Legacy)
 
 # atacontrol list
 ATA channel 0:
 Master:  no device present
 Slave:   no device present
 ATA channel 1:
 Master:  no device present
 Slave:   no device present
 ATA channel 2:
 Master:  ad4 WDC WD2500KS-00MJB0/02.01C03 Serial ATA II
 Slave:   ad5 WDC WD2500KS-00MJB0/02.01C03 Serial ATA II
 ATA channel 3:
 Master:  ad6 WDC WD2500KS-00MJB0/02.01C03 Serial ATA II
 Slave:   no device present
 
 # grep -i ata /var/run/dmesg.boot 
 atapci0: Intel ICH7 UDMA100 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf irq 18 at device 31.1
 on pci0
 ata0: ATA channel 0 on atapci0
 ata1: ATA channel 1 on atapci0
 atapci1: Intel ICH7 SATA300 controller port
 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af
 mem 0x8820-0x882003ff irq 19 at device 31.2 on pci0
 ata2: ATA channel 0 on atapci1
 ata3: ATA channel 1 on atapci1
 ad4: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-master SATA150
 ad5: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-slave SATA150
 ad6: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata3-master SATA150
 
 Any guidance on this would be greatly appreciated.  Thanks,
 Dane
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTK Compile fail in 7.0-R

2008-03-06 Thread Mel
On Friday 07 March 2008 00:38:35 Chris Maness wrote:
 Mel wrote:
  On Thursday 06 March 2008 18:45:31 [EMAIL PROTECTED] wrote:
  I have tried to re-build all of my ports, but gtk-2 is failing.  Any
  suggestions.
 
  the comand I used last was:
 
  portupgrade -Rf --batch gtk-2.12.3
 
  iqr.la im-multipress.la   gtk.immodules
  /libexec/ld-elf.so.1: Shared object libm.so.4 not found, required by
  libgdk_pixbuf-2.0.so.0
  gmake[3]: *** [gtk.immodules] Error 1
  gmake[3]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
  gmake[2]: *** [all-recursive] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8' gmake: *** [all] Error
  2 ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
  UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
  ** Fix the problem and try again.
  ** Listing the failed packages (-:ignored / *:skipped / !:failed)
  ! x11-toolkits/gtk20 (gtk-2.12.3)   (new compiler error)
 
  gtk20 doesn't depend on gdk-pixbuf according to the port, but the gtk2's
  configure script doesn't agree.
  In short: the gnome-hack magic is not working for this as it doesn't add
  gdkpixbuf to LIB_DEPENDS. You might wanna report this to the
  freebsd-gnome list.
 
  To make it work for you:
  Just do portupgrade -f graphics/gdk-pixbuf, then portupgrade -Rf gtk20
  again. There's a change you'll run into the same with a different port
  this time, then rinse and repeat.

 I don't see this port graphics/gdk-pixbuf in the current ports tree.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/gdk-pixbuf/

What's the output of:
ldd /usr/local/lib/libgdk_pixbuf-2.0.so.0

On 7.x it should look like this:
/usr/local/lib/libgdk_pixbuf-2.0.so.0:
libgmodule-2.0.so.0 = /usr/local/lib/libgmodule-2.0.so.0 (0x3819d000)
libgobject-2.0.so.0 = /usr/local/lib/libgobject-2.0.so.0 (0x381a1000)
libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x3830)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x3839f000)
libm.so.5 = /lib/libm.so.5 (0x381db000)
libc.so.7 = /lib/libc.so.7 (0x3808)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x381f)
libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x38494000)
libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x385eb000)
libicuuc.so.38 = /usr/local/lib/libicuuc.so.38 (0x38612000)
libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x3873)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x39207000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x392fc000)


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: clint port broken on 7-STABLE amd64

2008-03-06 Thread Kris Kennaway

Steve Franks wrote:

Just built /devel/clint on my vanilla 7.0 system.  Appears to build
and install fine, but #clint or #clint --help freezes the console, and
ctrl-C initiates a core-dump.  Python appears to run just fine.


Talk to the clint developers and/or the maintainer.

Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTK Compile fail in 7.0-R

2008-03-06 Thread Chris Maness

Mel wrote:

On Thursday 06 March 2008 18:45:31 [EMAIL PROTECTED] wrote:
  

I have tried to re-build all of my ports, but gtk-2 is failing.  Any
suggestions.

the comand I used last was:

portupgrade -Rf --batch gtk-2.12.3

iqr.la im-multipress.la   gtk.immodules
/libexec/ld-elf.so.1: Shared object libm.so.4 not found, required by
libgdk_pixbuf-2.0.so.0
gmake[3]: *** [gtk.immodules] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8' gmake: *** [all] Error 2
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11-toolkits/gtk20 (gtk-2.12.3)   (new compiler error)




gtk20 doesn't depend on gdk-pixbuf according to the port, but the gtk2's 
configure script doesn't agree.
In short: the gnome-hack magic is not working for this as it doesn't add 
gdkpixbuf to LIB_DEPENDS. You might wanna report this to the freebsd-gnome 
list.


To make it work for you:
Just do portupgrade -f graphics/gdk-pixbuf, then portupgrade -Rf gtk20 again. 
There's a change you'll run into the same with a different port this time, 
then rinse and repeat.
  
I fixed by ripping out gtk20 (make deinstall in the port directory) and 
adding the binary package.  I figured that the binary can't be too far 
out of sync with the rest of the ports since it has just been released, 
but I thin there is some sort of dependency bug.  It should be able to 
compile.


Thanks

--
Chris Maness
(909) 223-9179
http://www.chrismaness.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GTK Compile fail in 7.0-R

2008-03-06 Thread chris
 On Friday 07 March 2008 00:38:35 Chris Maness wrote:
 Mel wrote:
  On Thursday 06 March 2008 18:45:31 [EMAIL PROTECTED] wrote:
  I have tried to re-build all of my ports, but gtk-2 is failing.  Any
  suggestions.
 
  the comand I used last was:
 
  portupgrade -Rf --batch gtk-2.12.3
 
  iqr.la im-multipress.la   gtk.immodules
  /libexec/ld-elf.so.1: Shared object libm.so.4 not found, required
 by
  libgdk_pixbuf-2.0.so.0
  gmake[3]: *** [gtk.immodules] Error 1
  gmake[3]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules/input'
  gmake[2]: *** [all-recursive] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8/modules'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.12.8' gmake: *** [all]
 Error
  2 ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portupgrade.13565.39 env UPGRADE_TOOL=portupgrade
  UPGRADE_PORT=gtk-2.12.3 UPGRADE_PORT_VER=2.12.3 make BATCH=yes
  ** Fix the problem and try again.
  ** Listing the failed packages (-:ignored / *:skipped / !:failed)
  ! x11-toolkits/gtk20 (gtk-2.12.3)   (new compiler error)
 
  gtk20 doesn't depend on gdk-pixbuf according to the port, but the
 gtk2's
  configure script doesn't agree.
  In short: the gnome-hack magic is not working for this as it doesn't
 add
  gdkpixbuf to LIB_DEPENDS. You might wanna report this to the
  freebsd-gnome list.
 
  To make it work for you:
  Just do portupgrade -f graphics/gdk-pixbuf, then portupgrade -Rf gtk20
  again. There's a change you'll run into the same with a different port
  this time, then rinse and repeat.

 I don't see this port graphics/gdk-pixbuf in the current ports tree.

 http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/gdk-pixbuf/

 What's the output of:
 ldd /usr/local/lib/libgdk_pixbuf-2.0.so.0

 On 7.x it should look like this:
 /usr/local/lib/libgdk_pixbuf-2.0.so.0:
 libgmodule-2.0.so.0 = /usr/local/lib/libgmodule-2.0.so.0
 (0x3819d000)
 libgobject-2.0.so.0 = /usr/local/lib/libgobject-2.0.so.0
 (0x381a1000)
 libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x3830)
 libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x3839f000)
 libm.so.5 = /lib/libm.so.5 (0x381db000)
 libc.so.7 = /lib/libc.so.7 (0x3808)
 libintl.so.8 = /usr/local/lib/libintl.so.8 (0x381f)
 libicui18n.so.38 = /usr/local/lib/libicui18n.so.38 (0x38494000)
 libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x385eb000)
 libicuuc.so.38 = /usr/local/lib/libicuuc.so.38 (0x38612000)
 libicudata.so.38 = /usr/local/lib/libicudata.so.38 (0x3873)
 libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x39207000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x392fc000)


 --
 Mel

 Problem with today's modular software: they start with the modules
 and never get to the software part.


ldd /usr/local/lib/libgdk_pixbuf-2.0.so.0
/usr/local/lib/libgdk_pixbuf-2.0.so.0:
libgmodule-2.0.so.0 = /usr/local/lib/libgmodule-2.0.so.0
(0x2819d000)
libgobject-2.0.so.0 = /usr/local/lib/libgobject-2.0.so.0
(0x281a1000)
libglib-2.0.so.0 = /usr/local/lib/libglib-2.0.so.0 (0x2830)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x2839f000)
libm.so.5 = /lib/libm.so.5 (0x281db000)
libc.so.7 = /lib/libc.so.7 (0x2808)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x281f)
libpcre.so.0 = /usr/local/lib/libpcre.so.0 (0x28494000)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


buildworld / ICE / segfault 11

2008-03-06 Thread Lyle Miller

ive done a minimal install of the i386, 7.0 release.

i get ICE segmentation fault 11's when i buildworld.

ive re-buildworld'ed several times after cleaning up from the previous 
failed buildworld.


ive noticed that the ICE segmentation fault 11's happen at different 
places in the build.


anyone else having this problem?

or know what i can do to fix it?

ive read the errata, read stuff in /usr/src, googled it what am i 
missing?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld / ICE / segfault 11

2008-03-06 Thread Kris Kennaway

Lyle Miller wrote:

ive done a minimal install of the i386, 7.0 release.

i get ICE segmentation fault 11's when i buildworld.

ive re-buildworld'ed several times after cleaning up from the previous 
failed buildworld.


ive noticed that the ICE segmentation fault 11's happen at different 
places in the build.


anyone else having this problem?

or know what i can do to fix it?

ive read the errata, read stuff in /usr/src, googled it what am i 
missing?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





You have hardware failure.

Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: buildworld / ICE / segfault 11

2008-03-06 Thread Lyle Miller

Kris Kennaway wrote:

Lyle Miller wrote:

ive done a minimal install of the i386, 7.0 release.

i get ICE segmentation fault 11's when i buildworld.

ive re-buildworld'ed several times after cleaning up from the 
previous failed buildworld.


ive noticed that the ICE segmentation fault 11's happen at different 
places in the build.


anyone else having this problem?

or know what i can do to fix it?

ive read the errata, read stuff in /usr/src, googled it what am i 
missing?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





You have hardware failure.

Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



you are right.  it was bad memory;  good thing for lifetime warranties.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Manually opening TCP ports

2008-03-06 Thread Siraj Shaikh
Hello

I am just wondering if there is a utility (or any feature in FreeBSD)
that allows me to manually open a TCP port on a machine. I am looking
for a way that could either allow me to open ALL or many TCP ports on
a machine.

Also, is there any way of running a service on more than a single
port, or on all or many ports?

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]