Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2007 21:06:50 +0800
From:      "amin" <amin.scg@gmail.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Servers Crash every few days
Message-ID:  <46cc34e9.18b38c0a.1a4b.ffff9abc@mx.google.com>
In-Reply-To: <20070822120020.1680516A4C2@hub.freebsd.org>
References:  <20070822120020.1680516A4C2@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
I have six servers running FreeBSD 6.2 and all of them have the same config.
My servers are configured to run as a socks5 proxy server.

Lately the servers are going down without any good reasons. How do I check
what are the errors or processes or the state of the server before it goes
down. All of them are running quite well without any reboots for the last
few weeks. My sysctl.conf is as follows:
kern.maxfiles=32768
kern.maxfilesperproc=32768
kern.maxprocperuid=32768
kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=8388608

net.inet.ip.portrange.first=30000
net.inet.ip.portrange.hifirst=30000
net.inet.ip.rtexpire= 1200
net.inet.ip.intr_queue_maxlen=1000

net.inet.tcp.rfc1323=1
#net.inet.tcp.mssdflt=1460

net.inet.udp.recvspace=65535
net.inet.udp.maxdgram=57344

net.inet.tcp.sendspace=65535
net.inet.tcp.recvspace=65535
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535
net.inet.tcp.keepidle=72000
net.inet.tcp.keepintvl=1800

net.inet.icmp.icmplim=300
net.inet.tcp.delayed_ack=0

----------------------
Loader.conf
kern.maxusers=128
kern.maxproc=32768
kern.ipc.nmbclusters=65536
kern.ipc.maxsockets=32768

------------------------

The servers are sending in and out traffic of 30mbit upload and 30mbit
download 24x7 with incoming connections to the proxy server (running ss5
proxy) numbering between 6000-12000 connection. Memory for the servers are
2GB but using top I can get something like below:

last pid:  9269;  load averages:  2.60,  2.30,  2.23
up 1+01:18:38  21:01:47
10114 processes88 running, 10026 sleeping
CPU states: 25.2% user,  0.0% nice, 24.7% system, 17.9% interrupt, 32.2%
idle
Mem: 731M Active, 255M Inact, 796M Wired, 1284K Cache, 112M Buf, 155M Free

This server is running P2P proxy for 100 users connecting thru openvpn.

Is this a configuration issues or hardware issues?
Servers seem to go down at random timing, some last for 3-4 days before it
crashed sometime few hours and sometimes it goes down when have less than
1000 connection and sometimes when the connections is more 10000.

Like now, with 10000 connections, it has been running good for the last 12
hours.

Any pointers?

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of
freebsd-questions-request@freebsd.org
Sent: Wednesday, August 22, 2007 8:00 PM
To: freebsd-questions@freebsd.org
Subject: freebsd-questions Digest, Vol 191, Issue 26

Send freebsd-questions mailing list submissions to
	freebsd-questions@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
	freebsd-questions-request@freebsd.org

You can reach the person managing the list at
	freebsd-questions-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-questions digest..."


Today's Topics:

   1. Re: wildcard usage in fetch (Philip Hallstrom)
   2. Problem with cardbus cards being recognized in my laptop
      (heatonjmark@netscape.net)
   3. What is a "sane" setting for maxdsize when running amd64? it
      seems	many normal suggestions do not apply. (N. Harrington)
   4. Re: What is a "sane" setting for maxdsize when running amd64?
      it	seems many normal suggestions do not apply. (Chuck Swiger)
   5. DJBDNS && IPv6 (Steve Bertrand)
   6. Re: DJBDNS && IPv6 (Steve Bertrand)
   7. ldconfig problem after upgrade 4.11 to 5.5 (Martin Schweizer)
   8. Re: ldconfig problem after upgrade 4.11 to 5.5 (Kris Kennaway)
   9. Re: wildcard usage in fetch (Rakhesh Sasidharan)
  10. Re: ldconfig problem after upgrade 4.11 to 5.5 (Martin Schweizer)
  11. Re: GEOM, Vinum difference (Rakhesh Sasidharan)
  12. Re: ldconfig problem after upgrade 4.11 to 5.5 (Martin Schweizer)
  13. Re: DJBDNS && IPv6 (Matthew Seaman)
  14. Re: Gnome & FreeBSD (Ghirai)
  15. Re: ldconfig problem after upgrade 4.11 to 5.5 (Kris Kennaway)
  16. Re: ldconfig problem after upgrade 4.11 to 5.5 (Kris Kennaway)
  17. Re: ldconfig problem after upgrade 4.11 to 5.5 (Martin Schweizer)
  18. Unlimited CEUs for $49.99 (Dr.Dawn-Elise_Snipes@AllCEUs.com)
  19. ps2ascii. &c. (Gary Kline)
  20. Re: ps2ascii. &c. (Yuri Pankov)
  21. Ports build parameters (knobs) (Gabriel Linder)
  22. Re: ps2ascii. &c. (Predrag Punosevac)
  23. Re: GEOM, Vinum difference (Michel Talon)
  24. It's top shows wrong load percent? (Nguyen Tam Chinh)
  25. Ethernet controllers (King Wong)
  26. Re: What is a "sane" setting for maxdsize when running amd64?
      it	seems many normal suggestions do not apply. (Dag-Erling
Sm?rgrav)
  27. Re: What is a "sane" setting for maxdsize when running amd64?
      it seems many normal suggestions do not apply. (Ganbold)
  28. Re: Ports build parameters (knobs) (Roland Smith)
  29. FreeBSD MBRs (Christopher Key)


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Aug 2007 16:04:47 -0700 (PDT)
From: Philip Hallstrom <freebsd@philip.pjkh.com>
Subject: Re: wildcard usage in fetch
To: fbsd2 <fbsd2@a1poweruser.com>
Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG>
Message-ID: <20070821160431.A56007@bravo.pjkh.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

> fetch -avrpAFU ftp://loginid:password@my.pics.com/IDX/ActivePhotos/*/*.*
>
> The /*/ directory is 2 positions in size and
> contains 00 through 99 as directory names.
> The *.* means all files in this directory.
>
> When I execute this I get logged in but get file
> not found or not available error message.
>
> Is wildcard usage not allowed in ftp?
>
> How would you suggest to accomplish downloading source file
> directory structure and their contents?

You might look into curl.  I know it has some wildcarding capabilities.


------------------------------

Message: 2
Date: Tue, 21 Aug 2007 19:34:24 -0400
From: heatonjmark@netscape.net
Subject: Problem with cardbus cards being recognized in my laptop
To: freebsd-questions@freebsd.org
Message-ID: <8C9B262F13FEDFA-F60-51BF@FWM-M38.sysops.aol.com>
Content-Type: text/plain; charset="us-ascii"

Hi, folks,

I was wondering if I could get some advice on a problem I'm having getting
cardbus cards recognized by my laptop (HP zv6000) running FreeBSD
6.2-RELEASE 0. If I insert a card into the cardbus slot it the insertion is
not recognized by the system. There is no trace that anything even occurred
in dmesg. Likewise if I boot with a card inserted there is seemingly no
recognition that the card is even there. And equally obviously there is no
device created to configure (in my case an atheros based wlan card). The
only trace of it is in dmesg that it sees the bus but does not see the
card... see snip of dmesg below.
snip------------------------------------------------------------------------
---------
cbb0: <TI1510 PCI-CardBus Bridge> at device 4.0 on pci3
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
end
snip------------------------------------------------------------------------
----

My kernel is compiled with the following options...
snip------------------------------------------------------------------------
----------
# PCMCIA and cardbus bridge support
device????????? cbb???????????? # cardbus (yenta) bridge
device????????? pccard????????? # PC Card (16-bit) bus
device????????? cardbus???????? # CardBus (32-bit) bus
end of
snip------------------------------------------------------------------------
-------------------------
and just in case, I added the following line to /etc/rc.conf. I don't think
this entry will help a 32 bit cardbus but I figured It wouldn't hurt since I
could not find an equivalent for cardbus.

pccard_enable="YES"

I would have assumed a dead slot except that it worked when booted with
Windows. And even now I can boot from a Linux live cd and see the insertion
event in dmesg under linux.

Snip of Linux
dmesg-----------------------------------------------------------------------
--------------

[17179744.904000] pccard: CardBus card inserted into slot 0


[17179745.192000] wlan: 0.8.4.2 (0.9.2.1)


[17179745.196000] ath_rate_sample: Unknown symbol ath_hal_computetxtime


[17179745.232000] ath_pci: Unknown symbol ath_rate_tx_complete


[17179745.232000] ath_pci: Unknown symbol _ath_hal_attach


[17179745.232000] ath_pci: Unknown symbol ath_rate_attach


[17179745.232000] ath_pci: Unknown symbol ath_rate_newassoc


[17179745.232000] ath_pci: Unknown symbol ath_hal_computetxtime

End of
snip------------------------------------------------------------------------
------------------------

Any suggestions will be greatly appreciated.

Best Regards,
mark h.


________________________________________________________________________
Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading
spam and email virus protection.


------------------------------

Message: 3
Date: Tue, 21 Aug 2007 16:54:36 -0700 (PDT)
From: "N. Harrington" <drumslayer2@yahoo.com>
Subject: What is a "sane" setting for maxdsize when running amd64? it
	seems	many normal suggestions do not apply.
To: freebsd-amd64@freebsd.org, questions@freebsd.org
Message-ID: <835936.35104.qm@web34510.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1


Hello
 I feel stupid, but I am confused about kern.maxdsiz (or datasize via limits
command) on FreeBSD
amd64.

 I have seen many posts and suggestions to raise it to 1G. However it seems
this only applies to
i386. By default, on servers I have with 4G of physical memory, and 2X that
of swap, I am showing
a reported datasize limit of 33554432KB. far in excess of even my physical
and swap combined!
 I have seen suggestions from mysql for maxdsize to be set to 1G. Obviously
no such problem with
amd64?
 
 Is this just a high number chosen to let things run wild? (basically
unlimited) I have been
having some problems with running squid and my servers locking up. I think,
from the process
exceeding my physical memory and the server getting very unhappy trying use
so much swap. (since
it seems the process size is so unlimited) 

 Could anyone help shed some light on this for me? If I have a server with
4G of memory, what
would be a safe /sane allowable maximum for datasize? (assuming a light
networking load)

 Thanks!

  Nicole



------------------------------

Message: 4
Date: Tue, 21 Aug 2007 17:13:15 -0700
From: Chuck Swiger <cswiger@mac.com>
Subject: Re: What is a "sane" setting for maxdsize when running amd64?
	it	seems many normal suggestions do not apply.
To: N. Harrington <drumslayer2@yahoo.com>
Cc: questions@freebsd.org, freebsd-amd64@freebsd.org
Message-ID: <A502D00B-80A7-4BC6-9842-D0A2A50E2026@mac.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

On Aug 21, 2007, at 4:54 PM, N. Harrington wrote:
> I have seen many posts and suggestions to raise it to 1G. However  
> it seems this only applies to
> i386. By default, on servers I have with 4G of physical memory, and  
> 2X that of swap, I am showing
> a reported datasize limit of 33554432KB. far in excess of even my  
> physical and swap combined!

True...that a big part of what you gain from running in 64-bit mode--  
a huge address space.

>  I have seen suggestions from mysql for maxdsize to be set to 1G.  
> Obviously no such problem with
> amd64?

Right.

>  Is this just a high number chosen to let things run wild?  
> (basically unlimited) I have been
> having some problems with running squid and my servers locking up.  
> I think, from the process
> exceeding my physical memory and the server getting very unhappy  
> trying use so much swap. (since
> it seems the process size is so unlimited)

You should configure squid to use no more than about 60 - 70% of the  
available physical RAM-- ie, set the cache_mem parameter to about 2.5  
or 3GB.

>  Could anyone help shed some light on this for me? If I have a  
> server with 4G of memory, what
> would be a safe /sane allowable maximum for datasize? (assuming a  
> light networking load)

It wouldn't be unreasonable to limit datasize to 3 GB on such a  
machine, assuming that nothing you run will ever need to grow larger...

-- 
-Chuck



------------------------------

Message: 5
Date: Tue, 21 Aug 2007 20:19:55 -0400
From: Steve Bertrand <iaccounts@ibctech.ca>
Subject: DJBDNS && IPv6
To: freebsd-questions@freebsd.org
Cc: mattr@eagle.ca
Message-ID: <46CB812B.3020208@ibctech.ca>
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I am doing some serious testing with IPv6, however I can not get the
name resolution side of things on my DJBDNS DNS servers to work as expected.

On my legacy 4.10 box running BIND, I can resolve v6 addresses
inherently even without v6 enabled in the kernel, but on my
pre-production tinydns boxes (6.2, IPv6 kernel), I can't.

I have installed the port, 'sup'd today on:

FreeBSD 6.2-RELEASE-p6 #0: Wed Jul 18 20:31:03 EDT 2007

...and installed it with the v6 patch in the Makefile turned 'on', but I
can not identify any indication that IPv6 is enabled.

What I'd like to know is:

- is there a special way that I need to use tinydns-conf to create a new
'server'

- what should a proper v6 entry look like in the data file

My research has told me that I should have new 'v6' type binaries in the
./bin directory, but I do not see those.

Any help would be greatly appreciated. I'm sorry if this should be
directed to the djbdns list, however, I know I can compile from source
and get it to work, I just want the port to work for future maintenance
purposes.

Regards,

Steve


------------------------------

Message: 6
Date: Tue, 21 Aug 2007 21:08:14 -0400
From: Steve Bertrand <iaccounts@ibctech.ca>
Subject: Re: DJBDNS && IPv6
To: freebsd-questions@freebsd.org
Cc: mattr@eagle.ca
Message-ID: <46CB8C7E.1040102@ibctech.ca>
Content-Type: text/plain; charset=ISO-8859-1

> - is there a special way that I need to use tinydns-conf to create a new
> 'server'
> 
> - what should a proper v6 entry look like in the data file
> 
> My research has told me that I should have new 'v6' type binaries in the
> ./bin directory, but I do not see those.

To answer my own question, and to ensure quality in the archive, thanks
to this:

http://tomclegg.net/djbdns-ipv6

I managed to solve my own question.

I had to:

# echo WITH_IPV6=yes >> /etc/make.conf

...and now I have:

-rwxr-xr-x  1 root  wheel  78 Aug 21 20:58 add-alias6
-rwxr-xr-x  1 root  wheel  77 Aug 21 20:58 add-host6

...which is what I was looking for.

I don't know what ramifications leaving this in the /etc/make.conf file
will have on future ports, so if someone can answer that, it would be great!

Steve


------------------------------

Message: 7
Date: Wed, 22 Aug 2007 06:22:46 +0200
From: Martin Schweizer <lists_freebsd@bluewin.ch>
Subject: ldconfig problem after upgrade 4.11 to 5.5
To: freebsd-questions@freebsd.org
Message-ID: <20070822042246.GA3497@saturn.pcs.ms>
Content-Type: text/plain; charset="us-ascii"

Hello

After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I
get 
around 63 error messages while the system boot up:

ldconfig: /var/run/ld.so.hints: No such file or directory
          search: trailing characters ignored
          No such file or directory
        0: - lmalloc.1.1: trailing characters ignored. No such file or 
directory
...
...

What did I wrong or what did I forget? Any hints are welcome.

-- 

Regards

Martin 
<info@pc-service.ch>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070822/a6
044428/attachment-0001.pgp

------------------------------

Message: 8
Date: Wed, 22 Aug 2007 00:37:25 -0400
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: ldconfig problem after upgrade 4.11 to 5.5
To: freebsd-questions@freebsd.org
Message-ID: <20070822043725.GA2869@rot26.obsecurity.org>
Content-Type: text/plain; charset="us-ascii"

On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> Hello
> 
> After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING), I
get 
> around 63 error messages while the system boot up:
> 
> ldconfig: /var/run/ld.so.hints: No such file or directory
>           search: trailing characters ignored
>           No such file or directory
>         0: - lmalloc.1.1: trailing characters ignored. No such file or 
> directory
> ...
> ...
> 
> What did I wrong or what did I forget? Any hints are welcome.

Looks like it might be a broken symlink.

Why are you updating to 5.5 though?  You should be using 6.2.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070822/0b
313884/attachment-0001.pgp

------------------------------

Message: 9
Date: Wed, 22 Aug 2007 08:42:30 +0400 (GST)
From: Rakhesh Sasidharan <rakhesh@rakhesh.com>
Subject: Re: wildcard usage in fetch
To: Philip Hallstrom <freebsd@philip.pjkh.com>
Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG>
Message-ID: <20070822084136.M88943@obelix.home.rakhesh.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed


>> fetch -avrpAFU ftp://loginid:password@my.pics.com/IDX/ActivePhotos/*/*.*
>> 
>> The /*/ directory is 2 positions in size and
>> contains 00 through 99 as directory names.
>> The *.* means all files in this directory.
>> 
>> When I execute this I get logged in but get file
>> not found or not available error message.
>> 
>> Is wildcard usage not allowed in ftp?
>> 
>> How would you suggest to accomplish downloading source file
>> directory structure and their contents?
>
> You might look into curl.  I know it has some wildcarding capabilities.

I haven't done ftp'ing around in a while. But a long time ago, when I did, 
I used ncftp. That does wildcarding iirc.

Regards,
 				- Rakhesh
                                 http://rakhesh.com/


------------------------------

Message: 10
Date: Wed, 22 Aug 2007 06:51:18 +0200
From: Martin Schweizer <lists_freebsd@bluewin.ch>
Subject: Re: ldconfig problem after upgrade 4.11 to 5.5
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-questions@freebsd.org
Message-ID: <20070822045118.GB3497@saturn.pcs.ms>
Content-Type: text/plain; charset="us-ascii"

Hello Kris

Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > After I updated my 4.11 to an 5.5 system (following /usr/src/UPDATING),
I get 
> > around 63 error messages while the system boot up:
> > 
> > ldconfig: /var/run/ld.so.hints: No such file or directory
> >           search: trailing characters ignored
> >           No such file or directory
> >         0: - lmalloc.1.1: trailing characters ignored. No such file or 
> > directory
> > ...
> > ...
> > 
> Looks like it might be a broken symlink.
> 
> Why are you updating to 5.5 though?  You should be using 6.2.

If I'm understanding /usr/src/UPDATING correct I should first update to 5.5 
and then to 6.2? Any ideas where I can check this symlink?

-- 

Regards

Martin 
<info@pc-service.ch>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070822/d6
7a2fd9/attachment-0001.pgp

------------------------------

Message: 11
Date: Wed, 22 Aug 2007 08:51:09 +0400 (GST)
From: Rakhesh Sasidharan <rakhesh@rakhesh.com>
Subject: Re: GEOM, Vinum difference
To: freebsd-questions@freebsd.org
Message-ID: <20070822084628.L88943@obelix.home.rakhesh.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed


Lowell Gilbert wrote:

> Rakhesh Sasidharan <rakhesh@rakhesh.com> writes:
>
>> I see that if I want to do disk striping/ concating/ mirroring,
>> FreeBSD offers the GEOM utilities and the Vinum LVM (which fits into
>> the GEOM architecture). Why do we have two different ways of doing the
>> same tasks -- any advantages/ disadvantages to either approach?
>>
>> I did check the archives before posting this question. Got a couple of
>> hits, but they seem to be old info. Hence this question.
>>
>> The GEOM utilities seem to be newer, fancier, and probably the
>> future. Vinum seems to be how things used to happen earlier. After
>> GEOM was introduced, if Vinum had been discarded, I would have
>> understood. But it wasn't. Instead, it was rewritten for GEOM and is
>> probably still actively maintained. So I wonder why we have two ways
>> of doing the same tasks ...
>>
>> What I understand from the archives is that Vinum was _probably_
>> rewritten for GEOM coz the GEOM utilities were still new and not as
>> time tested as Vinum. Is that the case? So will Vinum continue to be
>> around for a while or it be discarded?
>
> geom(4) does not provide RAID.  It provides framework services that
> are used by gvinum(8), (and by many other disk-related capabilities).

Missed that one! :) There's no geom utility for RAID5, so that's 
definitely a difference. Thanks!

Another (related) question: both gvinum and the geom utilities like 
gmirror and gstripe etc provide for RAID0, RAID1, and RAID3. Any 
advantages/ disadvantages of using one instead of the other?

Thanks,

 				- Rakhesh
                                 http://rakhesh.com/


------------------------------

Message: 12
Date: Wed, 22 Aug 2007 07:06:19 +0200
From: Martin Schweizer <lists_freebsd@bluewin.ch>
Subject: Re: ldconfig problem after upgrade 4.11 to 5.5
To: Kris Kennaway <kris@obsecurity.org>, freebsd-questions@freebsd.org
Message-ID: <20070822050618.GA3852@saturn.pcs.ms>
Content-Type: text/plain; charset="us-ascii"

Hello Kris

Am Wed, Aug 22, 2007 at 06:51:18AM +0200 Martin Schweizer schrieb:
> Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > After I updated my 4.11 to an 5.5 system (following
/usr/src/UPDATING), I get 
> > > around 63 error messages while the system boot up:
> > > 
> > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > >           search: trailing characters ignored
> > >           No such file or directory
> > >         0: - lmalloc.1.1: trailing characters ignored. No such file or

> > > directory
> > > ...
> > > ...
> > > 
> > Looks like it might be a broken symlink.
> > 
> > Why are you updating to 5.5 though?  You should be using 6.2.
> 
> If I'm understanding /usr/src/UPDATING correct I should first update to
5.5 
> and then to 6.2? Any ideas where I can check this symlink?

In /etc/defaults/rc.conf I find some pathes which are not valid:

ldconfig_local_dirs="/usr/local/libdata/ldconfig
/usr/X11R6/libdata/ldconfig"
                        # Local directories with ldconfig configuration
files.
ldconfig_local32_dirs="/usr/local/libdata/ldconfig32
/usr/X11R6/libdata/ldconfig32"
                        # Local directories with 32-bit compatibility
ldconfig

Is this the problem?


-- 

Regards
Martin 
<info@pc-service.ch>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070822/15
12638a/attachment-0001.pgp

------------------------------

Message: 13
Date: Wed, 22 Aug 2007 06:37:08 +0100
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Subject: Re: DJBDNS && IPv6
To: Steve Bertrand <iaccounts@ibctech.ca>
Cc: mattr@eagle.ca, freebsd-questions@freebsd.org
Message-ID: <46CBCB84.5050806@infracaninophile.co.uk>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Steve Bertrand wrote:
>> - is there a special way that I need to use tinydns-conf to create a new
>> 'server'
>>
>> - what should a proper v6 entry look like in the data file
>>
>> My research has told me that I should have new 'v6' type binaries in the
>> ./bin directory, but I do not see those.
> 
> To answer my own question, and to ensure quality in the archive, thanks
> to this:
> 
> http://tomclegg.net/djbdns-ipv6
> 
> I managed to solve my own question.
> 
> I had to:
> 
> # echo WITH_IPV6=yes >> /etc/make.conf
> 
> ...and now I have:
> 
> -rwxr-xr-x  1 root  wheel  78 Aug 21 20:58 add-alias6
> -rwxr-xr-x  1 root  wheel  77 Aug 21 20:58 add-host6
> 
> ...which is what I was looking for.
> 
> I don't know what ramifications leaving this in the /etc/make.conf file
> will have on future ports, so if someone can answer that, it would be
great!
>

'WITH_IPV6' inserted into /etc/make.conf in the way you show will
enable IPv6 support in all ports that offer the capability.  It's
the recognised flag for that purpose and documented as such in
/usr/ports/KNOBS.

If you want to limit the effect to a single port, then you can use a
construction like this in /etc/make.conf:

.if ${.CURRDIR:M*/dns/djbdns}
WITH_IPV6=	YES
.fi

Also look at ports-mgmt/portsconf which lets you achieve the same
end but using a different syntax which you may find easier to deal
with.

	Cheers,

	Matthew

- --
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGy8uE8Mjk52CukIwRCBjiAJ99TyDfVH5H51EfzzRqij+lsMYSKwCdEFKv
u4uIqRePKGmdjMB+CNTnqpc=
=PN1d
-----END PGP SIGNATURE-----


------------------------------

Message: 14
Date: Mon, 20 Aug 2007 17:27:41 +0000
From: Ghirai <ghirai@ghirai.com>
Subject: Re: Gnome & FreeBSD
To: Michael S <msherman77@yahoo.com>, freebsd-questions@freebsd.org
Message-ID: <20070820172741.598e46fc.ghirai@ghirai.com>
Content-Type: text/plain; charset=US-ASCII

On Mon, 20 Aug 2007 10:11:54 -0400 (EDT)
Michael S <msherman77@yahoo.com> wrote:

> Thank you all for the suggestions. I am going to take
> into consideration everything everyone wrote.
> 
> Michael
> 
> --- "P.U.Kruppa" <ulrich@pukruppa.net> wrote:
> 
> > On Sun, 19 Aug 2007, Michael S wrote:
> > 
> > > Good day all,
> > >
> > > I decided to add GUI to my GUI-less FreeBSD
> > machine. I
> > > am  considering installing Gnome, which I haven't
> > used
> > > for long while and the last time was on Linux
> > anyway.
> > > The reason is that most of my favorite
> > applications
> > > use gtk libraries, like Firefox, GAIM (can't get
> > used
> > > to the new name),wxPython and others. In short I
> > > wanted to avoid 2 huge sets of libraries (gtk and
> > qt)
> > > by not installing KDE.
> > > I wanted to know how Gnome feels on FreeBSD, is it
> > > polished enough? Are there crashes? Any caveats at
> > > all?
> > There is a minimal gnome installation in
> >  	/usr/ports/x11/gnome2-lite
> > you can start with that and - if you like it - add
> > all the the 
> > other stuff. 
> > One caveat:
> > First install /usr/ports/x11/xorg (i.e. xorg-7.2)
> > and check if 
> > your monitor and graphics card are set up correctly.
> > 
> > Greetings,
> > 
> > Uli.
> > 

I'd suggest you also give xfce a try (http://xfce.org), it's also GTK based,
and lighter than gnome/kde, while still having plenty of features.

-- 
Regards,
Ghirai.


------------------------------

Message: 15
Date: Wed, 22 Aug 2007 02:31:04 -0400
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: ldconfig problem after upgrade 4.11 to 5.5
To: Kris Kennaway <kris@obsecurity.org>, freebsd-questions@freebsd.org
Message-ID: <20070822063102.GA4141@rot26.obsecurity.org>
Content-Type: text/plain; charset=us-ascii

On Wed, Aug 22, 2007 at 06:51:18AM +0200, Martin Schweizer wrote:
> Hello Kris
> 
> Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > After I updated my 4.11 to an 5.5 system (following
/usr/src/UPDATING), I get 
> > > around 63 error messages while the system boot up:
> > > 
> > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > >           search: trailing characters ignored
> > >           No such file or directory
> > >         0: - lmalloc.1.1: trailing characters ignored. No such file or

> > > directory
> > > ...
> > > ...
> > > 
> > Looks like it might be a broken symlink.
> > 
> > Why are you updating to 5.5 though?  You should be using 6.2.
> 
> If I'm understanding /usr/src/UPDATING correct I should first update to
5.5 
> and then to 6.2?

OK.  It may have been easier (and still could be) to just do a binary
upgrade instead.

> Any ideas where I can check this symlink?

Use find(1) to look for libmalloc.so.1.1

Kris


------------------------------

Message: 16
Date: Wed, 22 Aug 2007 02:33:06 -0400
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: ldconfig problem after upgrade 4.11 to 5.5
To: Kris Kennaway <kris@obsecurity.org>, freebsd-questions@freebsd.org
Message-ID: <20070822063304.GB4141@rot26.obsecurity.org>
Content-Type: text/plain; charset=us-ascii

On Wed, Aug 22, 2007 at 07:06:19AM +0200, Martin Schweizer wrote:
> Hello Kris
> 
> Am Wed, Aug 22, 2007 at 06:51:18AM +0200 Martin Schweizer schrieb:
> > Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > > After I updated my 4.11 to an 5.5 system (following
/usr/src/UPDATING), I get 
> > > > around 63 error messages while the system boot up:
> > > > 
> > > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > > >           search: trailing characters ignored
> > > >           No such file or directory
> > > >         0: - lmalloc.1.1: trailing characters ignored. No such file
or 
> > > > directory
> > > > ...
> > > > ...
> > > > 
> > > Looks like it might be a broken symlink.
> > > 
> > > Why are you updating to 5.5 though?  You should be using 6.2.
> > 
> > If I'm understanding /usr/src/UPDATING correct I should first update to
5.5 
> > and then to 6.2? Any ideas where I can check this symlink?
> 
> In /etc/defaults/rc.conf I find some pathes which are not valid:
> 
> ldconfig_local_dirs="/usr/local/libdata/ldconfig
/usr/X11R6/libdata/ldconfig"
>                         # Local directories with ldconfig configuration
files.
> ldconfig_local32_dirs="/usr/local/libdata/ldconfig32
/usr/X11R6/libdata/ldconfig32"
>                         # Local directories with 32-bit compatibility
ldconfig
> 
> Is this the problem?

No, shouldn't be.  You have something left behind on your system that
is causing problems.  Perhaps it was from an even older version than
4.11, if you had done previous upgrades from e.g. 3.x.

Kris


------------------------------

Message: 17
Date: Wed, 22 Aug 2007 08:44:31 +0200
From: Martin Schweizer <lists_freebsd@bluewin.ch>
Subject: Re: ldconfig problem after upgrade 4.11 to 5.5
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-questions@freebsd.org
Message-ID: <20070822064430.GB3852@saturn.pcs.ms>
Content-Type: text/plain; charset="us-ascii"

Hello Kris

Am Wed, Aug 22, 2007 at 02:31:04AM -0400 Kris Kennaway schrieb:
> > 
> > Am Wed, Aug 22, 2007 at 12:37:25AM -0400 Kris Kennaway schrieb:
> > > On Wed, Aug 22, 2007 at 06:22:46AM +0200, Martin Schweizer wrote:
> > > > After I updated my 4.11 to an 5.5 system (following
/usr/src/UPDATING), I get 
> > > > around 63 error messages while the system boot up:
> > > > 
> > > > ldconfig: /var/run/ld.so.hints: No such file or directory
> > > >           search: trailing characters ignored
> > > >           No such file or directory
> > > >         0: - lmalloc.1.1: trailing characters ignored. No such file
or 
> > > > directory
> > > > ...
> > > > ...
> > > > 
> > > Looks like it might be a broken symlink.
> > > 
> > > Why are you updating to 5.5 though?  You should be using 6.2.
> > 
> > If I'm understanding /usr/src/UPDATING correct I should first update to
5.5 
> > and then to 6.2?
> 
> OK.  It may have been easier (and still could be) to just do a binary
> upgrade instead.
> 
> > Any ideas where I can check this symlink?
> 
> Use find(1) to look for libmalloc.so.1.1

The files are all located in /usr/lib/compat/aout. The path is defined in 
/etc/defaults/rc.conf
[snip]
ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout
/usr/local/lib/aout"
[snip]

Any ideas?

-- 

Regards

Martin Schweizer
<info@pc-service.ch>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070822/03
023235/attachment-0001.pgp

------------------------------

Message: 18
Date: Wed, 22 Aug 2007 01:26:41 -0400
From: Dr.Dawn-Elise_Snipes@AllCEUs.com
Subject: Unlimited CEUs for $49.99
To: freebsd-questions@freebsd.org
Message-ID: <69b28befa4342df1f213631d4b14450f@www.allceus.com>
Content-Type: text/plain; charset = "UTF-8"

Affordable, High-Quality CEUs!

--
If you do not want to receive any more special offers or newsletters, 
http://allceus.com/mail_list/?p=unsubscribe&uid=4499e5ff375326efdcd9e044beba
d6f3

To update your preferences and to unsubscribe visit
http://allceus.com/mail_list/?p=preferences&uid=4499e5ff375326efdcd9e044beba
d6f3
Forward a Message to Someone
http://allceus.com/mail_list/?p=forward&uid=4499e5ff375326efdcd9e044bebad6f3
&mid=6

Dr. Dawn-Elise Snipes
dr.dawn-elise_snipes@allceus.com
PO BOX 1688
Alachua, FL 32616


--
Powered by PHPlist, www.phplist.com --




------------------------------

Message: 19
Date: Wed, 22 Aug 2007 00:35:47 -0700
From: Gary Kline <kline@tao.thought.org>
Subject: ps2ascii. &c.
To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Message-ID: <20070822073547.GA31201@thought.org>
Content-Type: text/plain; charset=us-ascii


	Guys,

	If this is a re-post, sorry.  I thought I mailed this to -questions.
	Anyway, where are the pdf and pd and other ghostscript converters?
	I thought these utilities were in the default distribution, but I
	can't find them. pdfps, pdftoascii, and so forth.

	thanks in advance for any help,

	gary




-- 
  Gary Kline  kline@thought.org   www.thought.org  Public Service Unix



------------------------------

Message: 20
Date: Wed, 22 Aug 2007 11:47:15 +0400
From: Yuri Pankov <yuri@darklight.org.ru>
Subject: Re: ps2ascii. &c.
To: Gary Kline <kline@tao.thought.org>
Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org>
Message-ID: <20070822074715.GA2854@darklight.org.ru>
Content-Type: text/plain; charset=us-ascii

On Wed, Aug 22, 2007 at 12:35:47AM -0700, Gary Kline wrote:
> 
> 	Guys,
> 
> 	If this is a re-post, sorry.  I thought I mailed this to -questions.
> 	Anyway, where are the pdf and pd and other ghostscript converters?
> 	I thought these utilities were in the default distribution, but I
> 	can't find them. pdfps, pdftoascii, and so forth.
> 
> 	thanks in advance for any help,
> 
> 	gary
> 
> 
> 
> 
> -- 
>   Gary Kline  kline@thought.org   www.thought.org  Public Service Unix
> 

They are in print/ghostscript-{afpl,gnu,gpl}, though ghostscript-gpl is
preferred one.


HTH,
Yuri


------------------------------

Message: 21
Date: Wed, 22 Aug 2007 09:54:08 +0200
From: Gabriel Linder <linder@jeuxvideo.com>
Subject: Ports build parameters (knobs)
To: FreeBSD Questions <freebsd-questions@freebsd.org>
Message-ID: <20070822095408.61c11ab2@oblivion.jeuxvideo.com>
Content-Type: text/plain; charset=US-ASCII

Hello,

During the build of the graphical portion of my new FreeBSD-powered
laptop I noticed that some knobs are not listed in /usr/ports/KNOBS and
so, I can't add them to make.conf before building the packages.

When I run "make fetch-recursive" for fluxbox, I get :

WITH_DEBUG=yes          Build with debugging symbols
WITH_DOCHTML=yes        Install the HTML documentation
WITH_DOCPDF=yes         Install the PDF documentation
WITH_GNOME=yes          Enable GNOME support
WITH_IMLIB2=yes         Enable Imlib2 (pixmap themes) support
[snip]

and for libiconv :

WITHOUT_EXTRA_ENCODINGS=yes     Disable extra character sets
WITH_EXTRA_PATCHES=yes          Apply extra patches (fixes cp932, adds
EUCJP-MS)

GNOME and DEBUG are listed in /usr/ports/KNOBS, but IMLIB2 and
EXTRA_PATCHES are not... Is there a way to have the full list of
supported build options ? Or maybe I am wrong and these settings are not
supposed to be in make.conf but in /var/db/ports/<portname>/options, if
so please let me know :)


------------------------------

Message: 22
Date: Wed, 22 Aug 2007 01:12:06 -0700
From: Predrag Punosevac <punosevac@math.arizona.edu>
Subject: Re: ps2ascii. &c.
To: Gary Kline <kline@tao.thought.org>,  questions@freebsd.org
Message-ID: <46CBEFD6.9060102@math.arizona.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Gary Kline wrote:
> 	Guys,
>
> 	If this is a re-post, sorry.  I thought I mailed this to -questions.
> 	Anyway, where are the pdf and pd and other ghostscript converters?
> 	I thought these utilities were in the default distribution, but I
> 	can't find them. pdfps, pdftoascii, and so forth.
>
> 	thanks in advance for any help,
>
> 	gary
>
>
>
>
>   
I use ghostscript-gpl-8.57 which is in print.
The commands are actually ps2pdf and pdf2ps. I am not using acscii 
converter but I the command  is
ps2ascii. Are you sure you are using right commands?

The other converters like dvips, dvipdfm are in print.


------------------------------

Message: 23
Date: Wed, 22 Aug 2007 10:37:29 +0200
From: Michel Talon <talon@lpthe.jussieu.fr>
Subject: Re: GEOM, Vinum difference
To: freebsd-questions@freebsd.org
Message-ID: <20070822083729.GA93337@lpthe.jussieu.fr>
Content-Type: text/plain; charset=us-ascii

Rakhesh Sasidharan wrote:

> Another (related) question: both gvinum and the geom utilities like 
> gmirror and gstripe etc provide for RAID0, RAID1, and RAID3. Any 
> advantages/ disadvantages of using one instead of the other?

There has been a polemic between Greg Lehey and PJ Dawidek about the
comparative advantages of raid3 and raid5. You can find the exchanges on
Google. One example being:
http://arkiv.freebsd.se/?ml=freebsd-performance&a=2004-08&t=227183
As far as i remember there are arguments showing that raid3 is better
than raid5 both in terms of speed and of data security. It seems that
raid5 has mostly a hype factor for him, but i may err. Anyways it is for
such reasons that in the modern geom system, raid3 has been implemented
and not raid5. But vinum has been ported to the geom framework for the
benefit of old users, or of people who like it. For example if you are
using FreeBSD-4 or DragonFlyBSD, vinum is the standard tool, and you
may prefer getting expertise in just one tool.

Finally none of these raid systems is really good, both for performance
and security. If you are concerned with your data and want good write
speed, you must buy enough disks and use raid 10. Another important
factor is ease of use.  The geom tools, gmirror, gstripe, graid3, etc.
are *very* easy to use.  The documentation in the man pages is clear,
sufficient for doing work, and not too long. On the contrary, vinum was
traditionaly documented in a very hermetic way. But more recently, Greg
Lehey has provided a very clear chapter of his book on his web site
which can be recommanded, but is not short. Note the documentation is a
critical aspect of such systems because its lack may bite you in case a
disk crashes and you need to adopt correct procedures under stress.
Also for some time the gvinum stuff was extremely buggy, and was
completely non functional when i tried it. I hope it is fixed now.

-- 

Michel TALON



------------------------------

Message: 24
Date: Wed, 22 Aug 2007 16:34:38 +0700
From: "Nguyen Tam Chinh" <unixvn@gmail.com>
Subject: It's top shows wrong load percent?
To: FreeBSD-Questions <freebsd-questions@freebsd.org>
Message-ID:
	<64b284310708220234n4a01cf47r3767079b6c50eb55@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello,

Recently we got some trouble on some FreeBSD 6.2-STABLE servers
(GENERIC kernel). Some python scripts are working on these servers and
after a day or two we get 0% idle in the CPU states. After sometime,
the operating system will unable to do even simple task like resolving
DNS name and the zabbix process can not send outbound packets to the
remote monitoring server. Maybe the top is showing wrong load percent?
vmstat -i shows that some kind of irq0: clk has a maximum value of
1000. Does this matter?
Please advice how to debug this overload problem.
Thank you very much!

--------------------------
%top
last pid: 12901;  load averages:  8.68,  8.65,  8.65    up 1+20:44:06
04:15:12
1438 processes:9 running, 1429 sleeping
CPU states: 38.8% user,  0.0% nice, 60.1% system,  1.2% interrupt,  0.0%
idle
Mem: 191M Active, 784M Inact, 141M Wired, 4K Cache, 112M Buf, 824M Free
Swap: 3883M Total, 3883M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
  893 test     1205  20    0   283M   158M kserel 746:23  0.83% python
  878 test      207  96    0 59864K 39912K select 139:48  0.00% python
  693 zabbix      1 101    5  1876K  1180K RUN      0:31  0.00%
zabbix_agentd
  699 zabbix      1 101    5  1876K  1308K RUN      0:15  0.00%
zabbix_agentd
  719 zabbix      1 101    5  1876K  1308K RUN      0:14  0.00%
zabbix_agentd
  717 zabbix      1 101    5  1876K  1308K RUN      0:14  0.00%
zabbix_agentd
  718 zabbix      1 101    5  1876K  1316K RUN      0:14  0.00%
zabbix_agentd
  666 root        1  96    0  3504K  2936K select   0:04  0.00% sendmail
  660 root        1  96    0  3524K  2692K select   0:02  0.00% sshd

%vmstat -i
interrupt                          total       rate
irq0: clk                      161045527       1000
irq8: rtc                       20609989        127
irq10: fxp0                     84315079        523
irq14: ata0                       341080          2
Total                          266311675       1653

%netstat -m
1100/2485/3585 mbufs in use (current/cache/total)
1092/1730/2822/96000 mbuf clusters in use (current/cache/total/max)
1092/1724 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
2459K/4081K/6540K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/7/16896 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

>From dmesg:

Copyright (c) 1992-2007 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 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Prosussor (1994.95-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
real memory  = 2080309248 (1983 MB)
avail memory = 2029355008 (1935 MB)
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <KM266P AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
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
agp0: <VIA 8235/8237 (Apollo KM400/KM400A) host to PCI bridge> mem
0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xd000-0xd03f mem
0xeb020000-0xeb020fff,0xeb000000-0xeb01ffff irq 10 at device 8.0 on
pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:ee:78:48
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 17.1 on
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]

-- 
With best regards,        |         The Power to Serve
Nguyen Tam Chinh      |      http://www.FreeBSD.org


------------------------------

Message: 25
Date: Wed, 22 Aug 2007 17:51:41 +0800
From: "King Wong" <kingwong@agnesb.com.hk>
Subject: Ethernet controllers
To: <freebsd-questions@FreeBSD.org>
Message-ID: <20070822095318.6919175331@smtp4.hknet.com>
Content-Type: text/plain;	charset="US-ASCII"

Dear Both,

 

Could you help me to check IBM x3250 server Ethernet controllers which can
support FreeBSD? And the Server Ethernet is Broadcom NetXtreme.

 

THX!

 

Best Regards,

 

King Wong

 



------------------------------

Message: 26
Date: Wed, 22 Aug 2007 12:53:34 +0200
From: Dag-Erling Sm?rgrav <des@des.no>
Subject: Re: What is a "sane" setting for maxdsize when running amd64?
	it	seems many normal suggestions do not apply.
To: Chuck Swiger <cswiger@mac.com>
Cc: questions@freebsd.org, "N. Harrington" <drumslayer2@yahoo.com>,
	freebsd-amd64@freebsd.org
Message-ID: <86r6lvalht.fsf@ds4.des.no>
Content-Type: text/plain; charset=utf-8

Chuck Swiger <cswiger@mac.com> writes:
> You should configure squid to use no more than about 60 - 70% of the
> available physical RAM-- ie, set the cache_mem parameter to about 2.5
> or 3GB.

Better yet, don't run Squid at all.  It was designed for a computer
architecture that was already obsolete when Squid was first written.

> It wouldn't be unreasonable to limit datasize to 3 GB on such a
> machine, assuming that nothing you run will ever need to grow
> larger...

...actually, maxdsiz is meaningless in FreeBSD 7, because the new
allocator uses mmap(2) instead of brk(2) / sbrk(2), so malloc() counts
towards the resident set size (ulimit -m), not the data segment size
(ulimit -d).

(unless, of course, your application has its own allocator, in which
case you can kiss performance goodbye)

DES
-- 
Dag-Erling SmC8rgrav - des@des.no


------------------------------

Message: 27
Date: Wed, 22 Aug 2007 18:59:02 +0800
From: Ganbold <ganbold@micom.mng.net>
Subject: Re: What is a "sane" setting for maxdsize when running amd64?
	it seems many normal suggestions do not apply.
To: Dag-Erling Sm?rgrav <des@des.no>
Cc: questions@freebsd.org, freebsd-amd64@freebsd.org
Message-ID: <46CC16F6.7020904@micom.mng.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

Dag-Erling SmC8rgrav wrote:
> Chuck Swiger <cswiger@mac.com> writes:
>   
>> You should configure squid to use no more than about 60 - 70% of the
>> available physical RAM-- ie, set the cache_mem parameter to about 2.5
>> or 3GB.
>>     
>
> Better yet, don't run Squid at all.

Ok, then what do you recommend instead of Squid?

thanks,

Ganbold


>   It was designed for a computer
> architecture that was already obsolete when Squid was first written.
>
>   
>> It wouldn't be unreasonable to limit datasize to 3 GB on such a
>> machine, assuming that nothing you run will ever need to grow
>> larger...
>>     
>
> ..actually, maxdsiz is meaningless in FreeBSD 7, because the new
> allocator uses mmap(2) instead of brk(2) / sbrk(2), so malloc() counts
> towards the resident set size (ulimit -m), not the data segment size
> (ulimit -d).
>
> (unless, of course, your application has its own allocator, in which
> case you can kiss performance goodbye)
>
> DES
>   


-- 
Heuristics are bug ridden by definition. If they didn't have bugs, then 
they'd be algorithms.


------------------------------

Message: 28
Date: Wed, 22 Aug 2007 13:17:17 +0200
From: Roland Smith <rsmith@xs4all.nl>
Subject: Re: Ports build parameters (knobs)
To: Gabriel Linder <linder@jeuxvideo.com>
Cc: FreeBSD Questions <freebsd-questions@freebsd.org>
Message-ID: <20070822111717.GB8632@slackbox.xs4all.nl>
Content-Type: text/plain; charset="us-ascii"

On Wed, Aug 22, 2007 at 09:54:08AM +0200, Gabriel Linder wrote:
> Hello,
> 
> During the build of the graphical portion of my new FreeBSD-powered
> laptop I noticed that some knobs are not listed in /usr/ports/KNOBS and
> so, I can't add them to make.conf before building the packages.

I don't see why not.
 
> When I run "make fetch-recursive" for fluxbox, I get :
> 
> WITH_DEBUG=yes          Build with debugging symbols
> WITH_DOCHTML=yes        Install the HTML documentation
> WITH_DOCPDF=yes         Install the PDF documentation
> WITH_GNOME=yes          Enable GNOME support
> WITH_IMLIB2=yes         Enable Imlib2 (pixmap themes) support
> [snip]
> 
> and for libiconv :
> 
> WITHOUT_EXTRA_ENCODINGS=yes     Disable extra character sets
> WITH_EXTRA_PATCHES=yes          Apply extra patches (fixes cp932, adds
> EUCJP-MS)
> 
> GNOME and DEBUG are listed in /usr/ports/KNOBS, but IMLIB2 and
> EXTRA_PATCHES are not... Is there a way to have the full list of
> supported build options?

Look at the port Makefile.

> Or maybe I am wrong and these settings are not
> supposed to be in make.conf but in /var/db/ports/<portname>/options, if
> so please let me know :)

If they aren't OPTIONS, just list them in make.conf like this;

.if ${.CURDIR:M*/x11-wm/fluxbox}
WITH_IMLIB2=yes
.endif

This way the variables are only defined when make is called from a
directory that ends in x11-wm/fluxbox.

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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070822/9f
5ca9dd/attachment-0001.pgp

------------------------------

Message: 29
Date: Wed, 22 Aug 2007 12:27:51 +0100
From: Christopher Key <cjk32@cam.ac.uk>
Subject: FreeBSD MBRs
To: freebsd-questions@freebsd.org
Message-ID: <46CC1DB7.7040506@cam.ac.uk>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I've a machine with 3 SATA drives.  The first (ad8) with a standard
FreeBSD install in a single slice with /boot/boot0 MBR.  The remaining
two drives (ad10, ad12) are in a RAID1 mirror with 3 slices, and used
for storing data.  They have the /boot/mbr MBR.

After booting off various USB flash drives to try and update the BIOS on
my machine, it got into a state where during startup, it would display
'Missing operating system' and hang.  What seems to have been happening
is that it was trying to boot from one of my data store drives, despite
the boot order of the disks set in the BIOS.

The only solution that I found was to start booting from a USB flash
drive with a boot0 MBR, and to hit F5 to change to booting from my first
drive  After this, the machine then reboots quite happily until I hit F5
again, in which case I get the same 'Missing operating behavior'.  This
persists even while power cycling the machine.

I had imagined the boot process to be entirely stateless, certainly
across power cycles.  The BIOS executes the MBR on the first drive in
its boot boot.  The boot0 MBR then allowed you to either execute the
boot sector from any of the slices on the current drive, or to execute
the MBR from the next drive in the list.

However, this clearly isn't what's happening.  Is it boot0 remembering
my F5 key stroke, or is it more likely that the BIOS is remembering
something?  Does anyone have any recommendations to avoid this in the
future?  Is putting boot0 on all three drives a good idea perhaps?

Regards,

Chris


------------------------------

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

End of freebsd-questions Digest, Vol 191, Issue 26
**************************************************




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46cc34e9.18b38c0a.1a4b.ffff9abc>