FreeBSD EC2 Status

2011-12-27 Thread Alexandre Biancalana
Hi lists,

 What´s is the current state of FreeBSD running on Amazon EC2 ? Is
this stable ? Looking at Colin's status page
(http://www.daemonology.net/freebsd-on-ec2/) looks like there´s no
active development on that.

 Does someone running production workload with FreeBSD on EC2 ?

 I'm interested in running network (dns and http with accept filter)
and memory/buffer cache intensive applications on m1.small, m1.large
and m2.xlarge instances.

 Any thoughts ?

Best Regards and Happy New Year !

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


Re: lightweight webserver that can run php

2009-04-19 Thread Alexandre Biancalana
On 4/18/09, APseudoUtopia apseudouto...@gmail.com wrote:
 On Sat, Apr 18, 2009 at 2:19 AM, Andrew a...@awdcomp.net wrote:
...


 If you choose to run php via FastCGI, check out PHP-FPM. It's a patch
  that greatly speeds up php's FastCGI performance. It honestly does
  help significantly. There's a FreeBSD port in the Archives Download
  section of the website.
  http://php-fpm.anight.org/

Can you explain PHP-FPM ? Some parts of http://php-fpm.anight.org/ are
not written in english...

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


Re: mtree

2008-11-10 Thread Alexandre Biancalana
On 11/10/08, Garcia, Tony [EMAIL PROTECTED] wrote:
 Another developer received approval to test mtree for our project.  He
  has since left and no one knows anything about this application.  We are
  looking at mtree as a way to provide auditing of machines for
  permissions, ownership and date changes as well as performing cksum on
  each file.   Is there any way you can point me to documentation that
  gives me a high and low level of what mtree can do.  I've tried
  compiling the version that was downloaded, but it fails because it needs
  other files which are not present (like .h files).



  I'd appreciate any help you can provide.  The google returns are far too
  numerous to make heads or tails from.  I also have checked the freebsd
  info but I can't find any documentation.  Thank you.

try:

man mtree

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


Re: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Alexandre Biancalana
On 10/4/08, Don O'Neil [EMAIL PROTECTED] wrote:
  I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that
   didn't help.
  
   Can anyone help me get this new disk installed without having to boot
   off a recovery CD? The server is 500 miles away from me and I don't
   have direct console access.
  
  
   Uhmm... This may seem silly, but did you use fdisk to create a slice
   first before you tried partitioning?
  
  this is NOT needed. actually i don't do it anywhere.
  
  it just may be sysinstall problem, anything else.


 I tried using fdisk first, same problem, won't let me write to the disk.

Do you will use the entire disk in one partition ? If so, just do:
newfs /dev/ad4

Maybe you should to use gjournal for this large filesystem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: carp+openospfd

2008-08-04 Thread Alexandre Biancalana
On 8/1/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 On Friday 01 August 2008 06:54:02 Alexandre Biancalana wrote:
   The firewalls failover this is working great with Carp. My
   difficulties is to configure OpenOSPFD to distribute routes in this
   setup,


 Two points:
  1) Did you try to run OSPF on the CARP interface?
  Or the physical one? I don't think running OSPF
  on the CARP interface will work, cause the CARP
  interface receives nothing while at BACKUP mode.

OpenOSPFD always see CARP interfaces as passive...



 No, OSPF cannot provide load balancing, as FreeBSD does not support
  equal cost multipath routing, that is you can use one and only one
  next hop for a destination. So, in short, OSPF will not do load
  balancing, as it does with other vendors you may be familiar with.

bad news... I remember now that multiple fibs are too new on FreeBSD...

Thinking again, I can survive with equal cost multipath routing and do
the failover via script...

How's good is our ECMP ?  Have someone tested this ?

  If you run CARP on the LAN links as well(which you probably do),
  you should test and see how CARP's ARP level load balancing fits
  your network...

It's working as expected

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


Re: carp+openospfd

2008-07-31 Thread Alexandre Biancalana
On 7/30/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 On Wednesday 30 July 2008 16:56:23 Alexandre Biancalana wrote:
   On 7/30/08, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
On Wednesday 30 July 2008 07:51:52 Alexandre Biancalana wrote:
  Hi list,  (I already ask this on -net, but I get no answers)
 
   I have two 100Mbit link (L2L, lan to lan) between the company and
  our datacenter, on each side I have two redudant (pf+carp)
  firewalls.
 
   I configured one vlan for each 100Mbit link and used carp to do
  the failover between machines on each side, the vlan interfaces are
  configured without ip address (with Max's
  carpdev patch), only carp interfaces have ips.
 
   I want to use OpenOSPFD to distribute our internal routes and do
  automatic failover+loadbalance of this two 100Mbit links.
 
   This work ? Someone have a similar setup ? Any hints ?
   
I think using OSPF and CARP on the same interface could have
 unexpected results.
  
   I see some examples


 You get to have two ways to forward packet to a destination.
  One via CARP and one via OSPF. I think it's a possible source
  of errors.


  
 I would use CARP on the lan to lan link to provide redundancy
 and load balancing. Do you have to use OSPF?
 That is, is there an OSPF domain in which you have to be part of?
  
   I use CARP for firewall redundancy on each side. I want to use OSPF to
   easy distribute routes on my networks, the failover and load balance
   of the links are a desirable plus.


 So, there is an OSPF domain besides the four FreeBSD firewalls, right?

Is what I want to configure


  Could you provide your network's topology?
  Is it something like:
  LAN1CLUSTER1CLUSTER2LAN2
  where:
 CLUSTER1 = CARP(FW1, FW2)
 CLUSTER2 = CARP(FW3, FW4)

  Local Network
Datacenter Network

 FW1 (master)FW3(master)
   Link1(100Mbit)
(10.0.0.49/30) carp206  -- carp20 (10.0.0.50/30)
(10.0.0.45/30) carp207  -- carp30 (10.0.0.46/30)
  Link2 (100Mbit)
 FW2 (slave)  FW4(slave)


Yes, in my setup I want to do failover of the firewalls (if FW1 crash
FW2 assume the two links, firewall rules,etc) and loadbalance+failover
of two 100Mbit links (I want to use the two links together (100+100)
and if one of then fail all the traffic be routed to another)

The firewalls failover this is working great with Carp. My
difficulties is to configure OpenOSPFD to distribute routes in this
setup, the links failover+loadbalance comes naturally after ospf
running.

  For example, in the above diagram you cannot load
  balance the traffic, it will always go through the
  same routers:
   FW1 and FW3 or
   FW1 and FW4 or
   FW2 and FW3 or
   FW2 and FW4.

  It will of course failover in case of a FW failure.

Yes. Only one firewall is master on each side.




   I would use CARP on the lan to lan link to provide redundancy
   and load balancing.


 So, my suggestion above is false, at least with the current
  CARP on FreeBSD.

  Please supply more info about your setup,

I hope that you understand, if not I can draw something more detailed.

Thank you for your time.

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


6.3+tmpfs

2008-07-29 Thread Alexandre Biancalana
Hi List,

 Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary
clamav+ripmime files to speedup a mail filter server.

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


Re: 6.3+tmpfs

2008-07-29 Thread Alexandre Biancalana
On 7/29/08, Kris Kennaway [EMAIL PROTECTED] wrote:
 Alexandre Biancalana wrote:

  Hi List,
 
   Is tmpfs stable on FreeBSD 6.3 ? I want to use it for temporary
  clamav+ripmime files to speedup a mail filter server.
 

  It's not stable on 7.0 or 8.0 either, so no :)

Any viable alternative ? mdconfig -t malloc maybe ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.3+tmpfs

2008-07-29 Thread Alexandre Biancalana
On 7/29/08, Kris Kennaway [EMAIL PROTECTED] wrote:

  Of course :)


  mdconfig -t malloc maybe ?
 

  -t swap is faster and has fewer downsides.

Great !! I should read *all* the man before post...

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


carp+openospfd

2008-07-29 Thread Alexandre Biancalana
Hi list,  (I already ask this on -net, but I get no answers)

 I have two 100Mbit link (L2L, lan to lan) between the company and our
datacenter, on each side I have two redudant (pf+carp) firewalls.

 I configured one vlan for each 100Mbit link and used carp to do the
failover between machines on each side, the vlan interfaces are
configured without ip address (with Max's
carpdev patch), only carp interfaces have ips.

 I want to use OpenOSPFD to distribute our internal routes and do
automatic failover+loadbalance of this two 100Mbit links.

 This work ? Someone have a similar setup ? Any hints ?

 I'm using FreeBSD 7, OpenOSPFD 4 (from ports) and Max's carpdev patch.


 Best Regards,

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


Network interface detection order

2008-05-21 Thread Alexandre Biancalana
Hi list,

 I'm installing some new Dell PowerEdge Servers and I have a question,
this servers came with 2 internal nics and FreeBSD recognize the
interfaces in inversal order, the nic marked as 1 in chassis is bce1
in ifconfig and nic marked as 2 is bce0.

 Someone know why ? Do we have some way to change this or the better
is change interface name ?

Regards,

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


Re: Large file system creation

2008-04-08 Thread Alexandre Biancalana
On 4/8/08, Brian McCann [EMAIL PROTECTED] wrote:
 That looks like what I need.  I've got a seperate 32GB array to boot
  off of, so that's perfect.  Now to just read some man pages.  Thanks!

How many memory do you have in this machine ?? To fsck 9 TB you will
need a LOT of memory
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Large file system creation

2008-04-08 Thread Alexandre Biancalana
On 4/8/08, Brian McCann [EMAIL PROTECTED] wrote:
 Hmm...didn't think of that...didn't think fsck used that much
  RAM...and thought it was independent of the file system size.  Right
  now it's got 2GB.

so better you think a little more before execute and do some tests
before production too... Try gjournal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Large file system creation

2008-04-08 Thread Alexandre Biancalana
On 4/8/08, Wojciech Puchar [EMAIL PROTECTED] wrote:
 
   it will be most likely large 32K blocks, so quick fsck and little RAM
  
  
 
  In my experience with UFS2 and fsck you will want to have a gig of ram per
 TB
  of filesystem.  You can get by with less sometimes, eventually you'll get
  bit.  Most mere mortals don't take UFS2 past 6-8TB in production.
 
  There are of course exceptions
 

  you talk about VM, not real memory. i don't think making 10GB swap is a
 problem.

The problem is the time that it will take to fsck a 9TB filesystem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pcmcia modem yiso c893 support

2007-11-20 Thread Alexandre Biancalana
Hi,

Some one already made this modem work in FreeBSD ?

This card seams to be introduce some usb serial port in the system,
but at my computer this is recognized as generic ugen device but none
of the modules that I tried to load (ucom, uplcom, etc) bind this to a
valid serial port...

Any ideas ?

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


Re: launch x app from non-x tty?

2007-11-19 Thread Alexandre Biancalana
On Nov 19, 2007 3:11 PM, Steve Franks [EMAIL PROTECTED] wrote:
 Is there a way to log in from ssh and pop up a program on the local
 xterminal?  I tried, and got complaints that there was no x, so I
 presume they are locked in tty0, which is a good thing, usually...

Give a look at -X option of ssh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-26 Thread Alexandre Biancalana
On 10/26/07, O. Hartmann [EMAIL PROTECTED] wrote:
 Ulrich Spoerlein wrote:
  On Sun, 21.10.2007 at 18:26:55 +0200, O. Hartmann wrote:
 
  At this point it seems senseless to try out what's going wrong and I need
  some hints or tipps. I read about others successfully running OpenLDAP on
  FBSD 6 and 5, but no one seems running OpenLDAP based services on FBSD 7.

I've this running since 6.x and have just installed this yesterday in
a 7-BETA machine

This that you can try:

 - Do not use nscd (the samba documentation recomend this)
 - Do not the changes in steps, testing betwing each change

What's ldapsearch says ???

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


Re: OpenLDAP 2.3/pam_ldap/nss_ldap: not working in FreeBSD 7.0-PRE!

2007-10-26 Thread Alexandre Biancalana
On 10/26/07, O. Hartmann [EMAIL PROTECTED] wrote:
 playing with ldapsearch gets results as expected. Doing ldapsearch witch
 -D and dn of the admin results in the whole DIT as expected, accessing
 the DIT with uid=user,ou=users,dc=... the same. Accessing LDAP server
 from client via LUMA (tool) is also ok.

Try to change the nss_base_passwd line from:

nss_base_passwd ou=users,dc=office,dc=de?one

to

nss_base_passwd ou=users,dc=office,dc=de?sub
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Windows SSH client?

2007-10-24 Thread Alexandre Biancalana
On 10/24/07, Eric F Crist [EMAIL PROTECTED] wrote:
 Hey folks,

 I'm looking for a good, free, SSH client that has line/column numbers
 at the bottom, similar to SecureCRT.  Any advice is appreciated!


http://www.chiark.greenend.org.uk/~sgtatham/putty/ is great!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What is affected by FreeBSD-SA-07:08.openssl ?

2007-10-04 Thread Alexandre Biancalana
Hi list,

A quick:

$ grep -lr SSL_get_shared_ciphers /usr/src 2 /dev/null
/usr/src/crypto/openssl/apps/s_client.c
/usr/src/crypto/openssl/apps/s_server.c
/usr/src/crypto/openssl/doc/ssleay.txt
/usr/src/crypto/openssl/doc/ssl/ssl.pod
/usr/src/crypto/openssl/ssl/ssl.h
/usr/src/crypto/openssl/ssl/ssl_lib.c
/usr/src/crypto/openssl/util/ssleay.num
/usr/src/secure/lib/libssl/man/ssl.3

Doesn't revel much about what is affected by this bug Have someone made
some deeper analysis about what is affected ?

Best Regards,

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


Backup Large FileServer

2007-09-28 Thread Alexandre Biancalana
Hi list,

  I've to backup a large window$ 2003 FileServer (~800GB) from my new
FreeBSD BackupServer (before I can change this fileserver to FreeBSD).

  I'm trying cygwin+rsync on FileServer side and rsync+hardlinks on
BackupServer side.

  Using rsync the two great advantages are:
 1. Only copy the changes
 2. on the BackupServer side I use hardlinks from the older backups,
with this only space consumed is from file that where changed.

  on the bad side:
 1. Problems with long pathnames
 2. Problems with unicode filenames
 3. Very slow copy ~ 2MB/s (I've doubt if this can be improved using any
other copy method)


  I want hear some ideas from the list about the options available to
accomplish this job.


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


Re: Intel D975XBX2 BTX Halted error

2007-09-21 Thread Alexandre Biancalana
On 9/21/07, Kirby Kuehl [EMAIL PROTECTED] wrote:

 After experiencing overheating problems, I purchased a new CPU and
 motherboard
 Intel D975XBX2
 which has a built in Raid controller Marvell 88SE61xx
 I installed my existing FreeBSD-STABLE drive



I've just installed FreeBSD-CURRENT on this motherboard yesterday without
any problem, but I'm using one areca ARC-1231 not the onboard serial ata
controller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is a sane setting for maxdsize when running amd64? it seems many normal suggestions do not apply.

2007-08-22 Thread Alexandre Biancalana
On 8/22/07, Dag-Erling Smørgrav [EMAIL PROTECTED] wrote:

 Ganbold [EMAIL PROTECTED] writes:
  Dag-Erling Smørgrav [EMAIL PROTECTED] writes:
   Better yet, don't run Squid at all.
  Ok, then what do you recommend instead of Squid?

 That depends on what you use it for...


What the options for forward proxy/cache with user authentication and access
control ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Serial Cable

2007-07-17 Thread Alexandre Biancalana

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


Serial Cable

2007-07-17 Thread Alexandre Biancalana

Hi list,

 Excuse-me for the last message... I hit the wrong key.. eheheheh

 Anymore know some online store that sells console serial cables
(professional made) that work with i386 FreeBSD and that do international
ship (outside USA) ?

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


Re: MS exchange alternatives for FreeBSD

2007-06-27 Thread Alexandre Biancalana

WebCalendar (*webcalendar*.sourceforge.net) can do the job of shared
schedule for iCal compatible clients The problem is that M$ Outlook is
not compatible with the standard... :-( Last time I'm looked, some
opensource plugins could be used for partial compatibility of Outlook with
iCal.

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


Re: Is there a way to undelete?

2007-06-11 Thread Alexandre Biancalana

On 6/11/07, Kyrre Nygård [EMAIL PROTECTED] wrote:


Hello!




Hi !

I'm just curious if there's a way to undo a rm -rf.



There has to be something eqivalent in FreeBSD to all those recovery tools?


Maybe...  after that, mount your filesystem read-only, do a full block copy
(something like dd if=/dev/of/deleted_files of=/some/path/deleted.dd),
pray... and

Install /usr/ports/sysutils/sleuthkit and /usr/ports/sysutils/autopsy

Look at www.sleuthkit.org, this site has useful articles on how to use these
tools.


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


Re: ifstated check commands behavior

2007-03-15 Thread Alexandre Biancalana

On 3/14/07, Alexandre Biancalana [EMAIL PROTECTED] wrote:


Hi list,

  I'm trying to setup ifstated to check two links and if some go down, do
some actions like change pf rules and machine's route.

  My doubt is about the execution order/repetition of the states body of
ifstated.conf, in all configs that I tried just the last check is executed
always, follow and example:

ifstated.conf:
==
loglevel debug

ping1 = '( ping -q -c 1 -t 3 www.site1.com  /dev/null every 10 ) '
ping2 = '( ping -q -c 1 -t 3 www.site2.com  /dev/null every 10 ) '

state one {
if ! ( $ping1  $ping2 ) {
set-state two
}
}

state two {

init {
run logger -p console.notice -t ifstated 'Restarting
network !'
}

if ( $ping  $ping2 ) {
set-state one
}
}

==

# ifstated -dv
ping1 = ( ping -q -c 1 -t 3 www.site1.com  /dev/null every 10 ) 
ping2 = ( ping -q -c 1 -t 3 www.site2.com  /dev/null every 10 ) 
ifstated: initial state: one
ifstated: changing state to one
ifstated: running ping -q -c 1 -t 3 www.site1.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null
ifstated: started
ifstated: changing state to two
ifstated: running ping -q -c 1 -t 3 www.site1.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null


As you can see, after change state ifstated execute only the *last* check
command of the statement (ping2) forever

This is the expected behavior ?




This shouldn't execute all state body until state change  ??



Thanks for any help.

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


ifstated check commands behavior

2007-03-14 Thread Alexandre Biancalana

Hi list,

 I'm trying to setup ifstated to check two links and if some go down, do
some actions like change pf rules and machine's route.

 My doubt is about the execution order/repetition of the states body of
ifstated.conf, in all configs that I tried just the last check is executed
always, follow and example:

ifstated.conf:
==
loglevel debug

ping1 = '( ping -q -c 1 -t 3 www.site1.com  /dev/null every 10 ) '
ping2 = '( ping -q -c 1 -t 3 www.site2.com  /dev/null every 10 ) '

state one {
   if ! ( $ping1  $ping2 ) {
   set-state two
   }
}

state two {

   init {
   run logger -p console.notice -t ifstated 'Restarting
network !'
   }

   if ( $ping  $ping2 ) {
   set-state one
   }
}

==

# ifstated -dv
ping1 = ( ping -q -c 1 -t 3 www.site1.com  /dev/null every 10 ) 
ping2 = ( ping -q -c 1 -t 3 www.site2.com  /dev/null every 10 ) 
ifstated: initial state: one
ifstated: changing state to one
ifstated: running ping -q -c 1 -t 3 www.site1.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null
ifstated: started
ifstated: changing state to two
ifstated: running ping -q -c 1 -t 3 www.site1.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null
ifstated: running ping -q -c 1 -t 3 www.site2.com  /dev/null


As you can see, after change state ifstated execute only the *last* check
command of the statement (ping2) forever

This is the expected behavior ?

I'm running 6-STABLE + ifstated-20050505 (instaled via
/usr/ports/net/ifstated)

Thanks for any help.

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


Re: per-interface default routes?

2007-03-14 Thread Alexandre Biancalana

On 3/14/07, Mark Messier [EMAIL PROTECTED] wrote:


 Route has more information if you want to setup default routes
for interfaces.

I'm familiar with route(8)... but I don't see how that will work.
Can you expand on your comment?

I'm  likely to do the ipfw approach suggested by Wojceich,
as soon as I rebuild with options IPFIREWALL_FORWARD,



This could be done with pf  route-to too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: per-interface default routes?

2007-03-14 Thread Alexandre Biancalana

On 3/14/07, Wojciech Puchar [EMAIL PROTECTED] wrote:


 I'm  likely to do the ipfw approach suggested by Wojceich,
 as soon as I rebuild with options IPFIREWALL_FORWARD,


 This could be done with pf  route-to too.

yes. but ipfw is most universal having all needed things at one place.
firewalling, routing, shaping, etc.




PF too. is all at same place.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as VM host OS?

2006-12-18 Thread Alexandre Biancalana

Anybody knows what's Xen status ??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OpenLDAP crash on write operation with syncprov overlay enabled

2006-11-30 Thread Alexandre Biancalana

Hi list,

 I'm migration an OpenLDAP server from Debian linux to FreeBSD 6-STABLE.

 I exported the database from old server with slapcat and impoted at Free
without any problems. But when I enable syncprov overlay and do any write
operation (ie.: ldapmodify) on the base the OpenLDAP crash with signal 11.

I tested with FreeBSD 6-STABLE (cvsuped sources yesterday), FreeBSD
5-STABLE (cvsuped one month ago) with OpenLDAP 2.3 and 2.4 installed through
ports and packages, on diferent machines PIII SMP, Semprom UP, Centrino UP,
P4 UP. The problem just ocurs when the syncprov overlay is enabled.

Trying to debug this I run slapd through gdb:

Pink:/usr/local/etc/openldap # gdb /usr/local/libexec/slapd
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...(no debugging symbols
found)...
(gdb) run -u ldap -g ldap -d 1
Starting program: /usr/local/libexec/slapd -u ldap -g ldap -d 1
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...@(#) $OpenLDAP: slapd 2.3.30 (Nov 30 2006 11:44:46) $
.(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...@(#) $OpenLDAP: slapd 2.3.30 (Nov 30 2006
11:44:46) $

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3 (LWP 100229)]
0x0807f954 in fe_op_abandon ()
(gdb) bt
#0  0x0807f954 in fe_op_abandon ()
#1  0x0807f957 in fe_op_abandon ()
#2  0x0807f957 in fe_op_abandon ()
#3  0x0807f957 in fe_op_abandon ()
#4  0x0807f957 in fe_op_abandon ()
#5  0x0807f957 in fe_op_abandon ()
#6  0x0807f957 in fe_op_abandon ()
#7  0x0807f957 in fe_op_abandon ()
#8  0x0807f957 in fe_op_abandon ()
#9  0x0807f957 in fe_op_abandon ()
#10 0x0807f957 in fe_op_abandon ()
#11 0x0807f957 in fe_op_abandon ()
#12 0x0807f957 in fe_op_abandon ()
#13 0x0807f957 in fe_op_abandon ()
#14 0x0807f957 in fe_op_abandon ()
#15 0x0807f957 in fe_op_abandon ()
#16 0x0807f957 in fe_op_abandon ()
#17 0x0807f957 in fe_op_abandon ()
#18 0x0807f957 in fe_op_abandon ()
#19 0x0807f957 in fe_op_abandon ()
#20 0x0807f957 in fe_op_abandon ()
#21 0x0807f957 in fe_op_abandon ()
#22 0x0807f957 in fe_op_abandon ()
#23 0x0807f957 in fe_op_abandon ()
#24 0x0807f957 in fe_op_abandon ()
#25 0x0807f957 in fe_op_abandon ()
#26 0x0807f957 in fe_op_abandon ()
#27 0x0807f957 in fe_op_abandon ()
#28 0x0807f957 in fe_op_abandon ()

#29406 0x0807f957 in fe_op_abandon ()
#29407 0x0807f957 in fe_op_abandon ()
#29408 0x0807f957 in fe_op_abandon ()
^ --- This look's like never end.


Follow my slapd.conf:


include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/samba.schema

loglevel1 8 16 256 512 16384
pidfile /var/run/openldap/slapd.pid
argsfile/var/run/openldap/slapd.args

modulepath  /usr/local/libexec/openldap
moduleload  back_hdb

sizelimit unlimited

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 200


access to dn.base=
   by self write
   by * auth

access to attrs=userPassword
   by self write
   by * auth

access to attrs=shadowLastChange
   by self write
   by * read

access to *
   by * read
   by anonymous auth

databasehdb

suffix dc=company,dc=com
rootdn cn=root,dc=company,dc=com
rootpw my_secret_password

directory   /var/db/openldap-data

index objectClass   eq
index cnpres,sub,eq
index snpres,sub,eq
index uid   pres,sub,eq
index displayName   pres,sub,eq
index uidNumber eq
index gidNumber eq
index memberUID eq
index sambaSID  eq
index sambaPrimaryGroupSID  eq
index sambaDomainName   eq
index default   sub
index entryCSN  eq
index entryUUID eq



I'm very pleased to someone that could help me to figure out where is the
problem

Best Regards,

Alexandre Biancalana

Re: Two Dell PE1850s keep locking up...

2006-09-04 Thread Alexandre Biancalana

Hi !

 I´m having the same problem. My machine have 2GB of ram and 1 one
processor, connected to a PowerVault 220 (Storage) and a PowerVault 110T
(LTO 2 Tape Drive).

Copyright (c) 1992-2006 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 6.1-STABLE #0: Fri Aug 11 15:30:34 BRT 2006
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/Jones
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf43  Stepping = 3

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SS
E2,SS,HTT,TM,PBE
 Features2=0x659dSSE3,RSVD2,MON,DS_CPL,EST,TM2,CNTX-ID,CX16,b14
 AMD Features=0x2010NX,LM
 Logical CPUs per core: 2
real memory  = 2147221504 (2047 MB)
avail memory = 2100518912 (2003 MB)
ACPI APIC Table: DELL   PE BKC  
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 4
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 32-55 on motherboard
ioapic2 Version 2.0 irqs 64-87 on motherboard
kbd1 at kbdmux0
acpi0: DELL PE BKC on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
ahc0: Adaptec 3960D Ultra160 SCSI adapter port 0xec00-0xecff mem
0xfe9ff000-0xfe9f irq 39 at device 12.0 on pci2
ahc0: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec 3960D Ultra160 SCSI adapter port 0xe800-0xe8ff mem
0xfe9fe000-0xfe9fefff irq 36 at device 12.1 on pci2
ahc1: [GIANT-LOCKED]
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
amr0: LSILogic MegaRAID 1.53 mem
0xf81f-0xf81f,0xfe9c-0xfe9d irq 46 at device 14.0 on pci2
amr0: delete logical drives supported by controller
amr0: LSILogic PERC 4e/Si Firmware 521S, BIOS H430, 256MB RAM
pcib3: ACPI PCI-PCI bridge at device 0.2 on pci1
pci3: ACPI PCI bus on pcib3
amr1: LSILogic MegaRAID 1.53 mem 0xf80f-0xf80f irq 37 at device
11.0 on pci3
amr1: delete logical drives supported by controller
amr1: LSILogic PERC 4/DC Firmware 351S, BIOS 1.10, 128MB RAM
pcib4: ACPI PCI-PCI bridge at device 4.0 on pci0
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge at device 5.0 on pci0
pci5: ACPI PCI bus on pcib5
pcib6: ACPI PCI-PCI bridge at device 0.0 on pci5
pci6: ACPI PCI bus on pcib6
em0: Intel(R) PRO/1000 Network Connection Version - 6.0.5 port
0xdcc0-0xdcff mem 0xfe5e-0xfe5f irq 64 at device 7.0
on pci6
em0: Ethernet address: 00:14:22:16:ba:37
em0: [FAST]
pcib7: ACPI PCI-PCI bridge at device 0.2 on pci5
pci7: ACPI PCI bus on pcib7
em1: Intel(R) PRO/1000 Network Connection Version - 6.0.5 port
0xccc0-0xccff mem 0xfe3e-0xfe3f irq 65 at device 8.0
on pci7
em1: Ethernet address: 00:14:22:16:ba:38
em1: [FAST]
pcib8: ACPI PCI-PCI bridge at device 6.0 on pci0
pci8: ACPI PCI bus on pcib8
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xace0-0xacff irq 16
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xacc0-0xacdf irq 19
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xaca0-0xacbf irq 18
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: Intel 82801EB/R (ICH5) USB 2.0 controller mem 0xfeb0-0xfeb003ff
irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: Intel 82801EB/R (ICH5) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
uhub4: vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2
uhub4: multiple transaction translators
uhub4: 2 ports with 2 removable, self powered
ukbd0: ATEN ATEN Composite, rev 1.10/1.00, addr 3, iclass 3/1
kbd2 at ukbd0
ums0: ATEN ATEN Composite, 

Re: Firewall Speed

2006-05-19 Thread Alexandre Biancalana

I have a Pentium III 600Mhz 720MB Ram running FreeBSD 4.10 with
IPFW+Nat+Squid+Qmail with Clamav+dnscache, routing 4 internal networks
(around 500 users), 3x 2Mbit/s links and a 1Mb internet link. Everything
works perfect !!

I will change the machine by the same problem that Josh said.

Regards,

Alexandre

On 5/19/06, Josh Paetzel [EMAIL PROTECTED] wrote:


On Thursday 18 May 2006 14:48, Chad Leigh -- Shire.Net LLC wrote:
 On May 18, 2006, at 12:39 PM, Giorgos Keramidas wrote:
  On 2006-05-18 11:03, bc [EMAIL PROTECTED] wrote:
  I want to run 6.1_RELEASE with Packet Filter(PF) configured as
  a gateway using 2 identical 10/100 nics, on an old 450mhz
  pentium with 256 meg ram and an 8 gig HD.
 
  In general, should I expect any speed performance issues with
  internet access base on the processor, ram and bus speeds of
  the MB?  Would the PF config cause any speed performance
  deficiencies?
 
  I had same setup as above but with IPF firewall and received
  complaints about surfing speed so I put them back on a Linksys
  router firewall.
 
  We'd have to see the ruleset to be able to reply in an informed
  manner.  I have seen firewalls doing both filtering  NAT on a
  system, with almost no overhead at all though.
 
  This top output:
 
  http://keramida.serverhive.com/pixelshow-top.txt
 
  shows that a FreeBSD 5.X system with 256 MB of physical memory is
  happily filtering the traffic and doing NAT for more than 100
  users, while still being 97% idle.

 I would think it is more than CPU speed.  The speed of the PCI bus
 and the speed and efficiency of the two network cards being used
 and their drivers may have a bit to do with latency (surfing
 speed)...

 Just a guess
 Chad


I had a dual pentium 100 with 96 megs of RAM that did ipf/ipnat for a
10mbps connection with a couple dozen users.  CPU usage was usually
around 1% and load averages .03 or so.  Latency and throughput were
both acceptable.

The only reason I replaced the box was it was a single point of
failure and the hardware was old enough that I was afraid there would
be some sort of show stopper breakdown.

--
Thanks,

Josh Paetzel
___
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: Enable plugin nppdf.so in firefox?

2006-05-09 Thread Alexandre Biancalana

# cd /usr/ports/www/linuxpluginwrapper
# make all install clean
# cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
/etc/libmap.conf

restart your firefox and open about:plugins url to see your installed
plugins


On 5/8/06, cblasius [EMAIL PROTECTED] wrote:


Hello!

I've a problem with plugin to view PDF file in firefox. Could someone
help me?

Wehen I run firefox from command line I obtain this message:

LoadPlugin: failed to initialize shared library
/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so
[/usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so: Undefined
symbol XtCalloc]

Best regards,
cblasius
___
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]


Log or Journal Filesystem

2006-04-28 Thread Alexandre Biancalana

Hi List,

 Has some news about a log or journal filesystem for FreeBSD ??

 I've looked at gjournal (http://wikitest.freebsd.org/moin.cgi/gjournal)
but it not seen to be a complete solution.

 With the size of filesystems growing as occurs lately I think that's a
very important feature to have.

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


Re: gprof

2006-04-26 Thread Alexandre Biancalana
Any Ideas ?

On 4/19/06, Alexandre Biancalana [EMAIL PROTECTED] wrote:

 Hi list,

   I'm trying to compile my C application with gprof but it is not working.
 This is a multithreaded program that use mysql and openssl libraries.
   Reading the man page I see that is need add -pg to the compile command
 line, but when a do this the following error occurs at linking time

 $ gcc -L/usr/local/lib/mysql -Wall -I. -I.. -I/usr/local/include/mysql -o
 serverd ../log.o ../mem.o ../misc.o ../threads_wrapper.o ../openssl.o db.o
 main.o request.o ssl_server.o ssl_socket.o threads.o threads_control.o
 -pthread -lmysqlclient_r -lssl -pg
 /lib/libcrypto.so.4: undefined reference to `sysconf'
 /lib/libcrypto.so.4: undefined reference to `times'
 /lib/libz.so.3: undefined reference to `feof'
 /lib/libm.so.4: undefined reference to `ldexp'
 /lib/libcrypto.so.4: undefined reference to `chmod'
 /lib/libz.so.3: undefined reference to `clearerr'
 /lib/libm.so.4: undefined reference to `isnan'
 *** Error code 1

 Stop in /usr/home/ale/personal/ale_projects/works/program/server.

 I tried to substitute the -pg compiler flag by -lc_p, with this flag the
 program compile but is not linked with libc_p and don't generate the gprof
 output file...

 $ gcc -L/usr/local/lib/mysql -Wall -I. -I.. -I/usr/local/include/mysql
 -lc_p -o serverd ../log.o ../mem.o ../misc.o ../threads_wrapper.o
 ../openssl.o db.o main.o request.o ssl_server.o ssl_socket.o 
 threads.othreads_control.o -pthread -lmysqlclient_r -lssl
 /usr/lib/libc.so: warning: warning: this program uses f_prealloc(), which
 is not recommended.

 $ ldd serverd
 serverd:
 libmysqlclient_r.so.14 =
 /usr/local/lib/mysql/libmysqlclient_r.so.14 (0x28099000)
 libssl.so.4 = /usr/lib/libssl.so.4 (0x280ed000)
 libpthread.so.2 = /usr/lib/libpthread.so.2 (0x2811b000)
 libc.so.6 = /lib/libc.so.6 (0x2814)
 libcrypto.so.4 = /lib/libcrypto.so.4 (0x28217000)
 libcrypt.so.3 = /lib/libcrypt.so.3 (0x28309000)
 libm.so.4 = /lib/libm.so.4 (0x28321000)
 libz.so.3 = /lib/libz.so.3 (0x28337000)


 This is my system:
 FreeBSD Cruel 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan  3 15:40:07 UTC
 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/CRUEL  i386

   Any ideas ?


  Best Regards,
 Alexandre Biancalana

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


gprof

2006-04-19 Thread Alexandre Biancalana
Hi list,

  I'm trying to compile my C application with gprof but it is not working.
This is a multithreaded program that use mysql and openssl libraries.
  Reading the man page I see that is need add -pg to the compile command
line, but when a do this the following error occurs at linking time

$ gcc -L/usr/local/lib/mysql -Wall -I. -I.. -I/usr/local/include/mysql -o
serverd ../log.o ../mem.o ../misc.o ../threads_wrapper.o ../openssl.o db.o
main.o request.o ssl_server.o ssl_socket.o threads.o threads_control.o
-pthread -lmysqlclient_r -lssl -pg
/lib/libcrypto.so.4: undefined reference to `sysconf'
/lib/libcrypto.so.4: undefined reference to `times'
/lib/libz.so.3: undefined reference to `feof'
/lib/libm.so.4: undefined reference to `ldexp'
/lib/libcrypto.so.4: undefined reference to `chmod'
/lib/libz.so.3: undefined reference to `clearerr'
/lib/libm.so.4: undefined reference to `isnan'
*** Error code 1

Stop in /usr/home/ale/personal/ale_projects/works/program/server.

I tried to substitute the -pg compiler flag by -lc_p, with this flag the
program compile but is not linked with libc_p and don't generate the gprof
output file...

$ gcc -L/usr/local/lib/mysql -Wall -I. -I.. -I/usr/local/include/mysql -lc_p
-o serverd ../log.o ../mem.o ../misc.o ../threads_wrapper.o ../openssl.o
db.o main.o request.o ssl_server.o ssl_socket.o threads.o threads_control.o
-pthread -lmysqlclient_r -lssl
/usr/lib/libc.so: warning: warning: this program uses f_prealloc(), which is
not recommended.

$ ldd serverd
serverd:
libmysqlclient_r.so.14 =
/usr/local/lib/mysql/libmysqlclient_r.so.14 (0x28099000)
libssl.so.4 = /usr/lib/libssl.so.4 (0x280ed000)
libpthread.so.2 = /usr/lib/libpthread.so.2 (0x2811b000)
libc.so.6 = /lib/libc.so.6 (0x2814)
libcrypto.so.4 = /lib/libcrypto.so.4 (0x28217000)
libcrypt.so.3 = /lib/libcrypt.so.3 (0x28309000)
libm.so.4 = /lib/libm.so.4 (0x28321000)
libz.so.3 = /lib/libz.so.3 (0x28337000)


This is my system:
FreeBSD Cruel 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan  3 15:40:07 UTC
2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/CRUEL  i386

  Any ideas ?


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


Keyboard key repetition

2005-05-20 Thread Alexandre Biancalana
Hi list,

  I installed the 5.4-Release an updated to 5-Stable on a friend's
notebook Toshiba A20.
  
  A problem the I never seen before is happening when he start the
X, all the keyboard keys have a lot of repetitions

  I Tried to change the following /etc/rc.conf parameters: 

pcvt_keydel=750   # key repeat delay, 0-3 (250,500,750,1000 msec) (or NO).
pcvt_keyrate=5# keyboard repetition rate 31-0 (2-30 char/sec) (or NO).

and 
keyrate=slow

I tried too the following option in the xorg.conf
Option AutoRepeat 1000 10

And finally I tried to change the timing using KDE.

The repetition raise after this changes but still occurs...

some more ideas ?

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


postgresql 8 abort with signal 10

2005-05-06 Thread Alexandre Biancalana
Hi list,

I'm running postgresql 8.0.1 on FreeBSD 4.11-STABLE, the machine is
and AMD Sempron 2.2, 1GB Ram..

I use postgresql as database for dspam, an spam classification
program. This database have and moderated use, on averange 20
simultaneous conections executing relative big queries using in
clausule.

Watching postgresql logs I see the following messages ocurs a lot of
times in a day:

May  3 06:58:44 e-filter postgres[250]: [21-1] LOG:  server process
(PID 59608) was terminated by signal 10
May  3 06:58:44 e-filter postgres[250]: [22-1] LOG:  terminating any
other active server processes
May  3 06:58:44 e-filter postgres[59605]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59605]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59605]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59605]: [21-4] HINT:  In a moment
you should be able to reconnect to the database and repeat your
command.
May  3 06:58:44 e-filter postgres[59607]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59607]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59607]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59607]: [21-4] HINT:  In a moment
you should be able to reconnect to the database and repeat your
command.
May  3 06:58:44 e-filter postgres[59606]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59606]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59606]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59606]: [21-4] HINT:  In a moment
you should be able to reconnect to the database and repeat your
command.
May  3 06:58:44 e-filter postgres[59626]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59626]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59626]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59626]: [21-4] HINT:  In a moment
you should be able to reconnect to the database and repeat your
command.
May  3 06:58:44 e-filter postgres[59628]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59629]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59629]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59629]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59629]: [21-4] HINT:  In a moment
you should be able to reconnect to the database and repeat your
command.
May  3 06:58:44 e-filter postgres[59628]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59628]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59628]: [21-4] HINT:  In a moment
you should be able to reconnect to the database and repeat your
command.
May  3 06:58:44 e-filter postgres[59609]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59609]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59609]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59609]: [21-4] HINT:  In a moment
you should be able to reconnect to the database and repeat your
command.
May  3 06:58:44 e-filter postgres[59627]: [21-1] WARNING:  terminating
connection because of crash of another server process
May  3 06:58:44 e-filter postgres[59627]: [21-2] DETAIL:  The
postmaster has commanded this server process to roll back the current
transaction and exit, because another server
May  3 06:58:44 e-filter postgres[59627]: [21-3]  process exited
abnormally and possibly corrupted shared memory.
May  3 06:58:44 e-filter postgres[59627]: [21-4] HINT:  In a moment
you should 

Re: USB GPS Receiver

2005-05-04 Thread Alexandre Biancalana
Thank you Mike !!

Now it's working great !



On 5/4/05, Mike Woods [EMAIL PROTECTED] wrote:
 Alexandre Biancalana wrote:
 
 usb in my kernel:
 # USB support
 device  uhci# UHCI PCI-USB interface
 device  ohci# OHCI PCI-USB interface
 device  usb # USB Bus (required)
 device  ugen# Generic
 device  uhid# Human Interface Devices
 device  ulpt# Printer
 device  umass   # Disks/Mass storage - Requires scbus and da
 device  ums # Mouse
 device  ucom
 
 
 device uplcom is what you need for that particular adaptor.
 
 --
 Mike Woods
 Systems Administrator

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


USB GPS Receiver

2005-05-03 Thread Alexandre Biancalana
Hi List,

I shiped and usb gps receiver
(http://www.deluoelectronics.com/customer/product.php?productid=60cat=0page=),
he is detected as ugen but not attached with ucom:

May  3 14:29:38 AleStation kernel: ugen0: Prolific Technology PL2303
Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02, addr 2

My system:
AleStation:/home/ale $ uname -a
FreeBSD AleStation 5.4-STABLE FreeBSD 5.4-STABLE #3: Mon May  2
01:14:29 UTC 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/AleStation  i386


usb in my kernel:
# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
device  uhid# Human Interface Devices
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus and da
device  ums # Mouse
device  ucom


Some ideas ?

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


Re: Serial ATA?

2004-12-23 Thread Alexandre Biancalana
I recently installed two machines with this motherboard. The
controller is supported but your Raid features not




On Thu, 23 Dec 2004 00:59:23 +0100, Michal Mertl [EMAIL PROTECTED] wrote:
 Peterhin wrote:
 
  I would like to move over to FreeBSD from Linux, only been there for a
  year.
 
  I am starting at groung zero. I have read the hardware list for 4.9
  STABLE and
  5.2.1 RELEASE. All I can find in 3.1 Disk Controller with Promise
  ATA100/133
  OEM chip (pdc20265/69)  I am using a ASUS A7N8X-E Deluxe motherboard,
  with a
  Promise PDC20378 Raid Controller and a Western Digital Serial ATA H.D. Will
  FreeBSD work.?
 
 Yes. The controller is definitely supported. I'm not entirely sure about
 RAID functions but they are most probably supported too.
 
 If you have looked at supported hardware for 5.3 you would find a link to
 ata(4) manual page, which lists the controller as supported.
 
 It has been supported for long time but only recently (for 5.2) it got into
 manual pages and even more recently it's reflected in the release
 documentation (for 5.3).
 
 Michal
 ___
 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: AMD Athlon XP 3200+ and reboots under load...

2004-12-13 Thread Alexandre Biancalana
I tested with FreeBSD 4.10 and 5.3. The same problem ocurs, when the
the machine not reboot, varios coredumps in as/gcc hapens during make
buildworld.

Hardware:

Asus A7V600-X
AMD Sempron 2400+
512MB DDR 400

any ideas ??



On Sat, 11 Dec 2004 23:28:17 -0600, Vulpes Velox [EMAIL PROTECTED] wrote:
 On Fri, 10 Dec 2004 19:36:34 -0800 (PST)
 
 
 Minnesota Slinky [EMAIL PROTECTED] wrote:
 
  Hello list.
 
  I am in the process of doing a major upgrade to my
  home server.  I purchased an Asus A7V600-X
  motherboard, an AMD Athlon XP 3200+ processor, and
  installed 1GB of DDR 400 memory.  If it matters, I've
  got two 120 GB Maxtor HDDs in a RAID 1 array.  The
  problem I'm having is that the system reboots half-way
  through a make buildworld.  I'm guessing this has to
  do with heat, but I'm not sure.
 
  Does anyone have any insight?  I've tried telling the
  BIOS to ignore the proc/mobo temp.  Not sure yet if
  that's working.
 
 For checking temp just ssh in and use mbmon while it is going...
 
 I would suspect ram problems. Heat problems from my experience
 generally cause some errors before failing and freezing. Never seen a
 heat problem result in a reboot yet.
 
 The way to check for this is to swap the ram out, after checking heat
 using ssh, mbmon, and a `cd /usr/src/ make buildworld/ cd
 /usr/ports/math/atlas make`. This command series you will also use
 each time as it provides a very good method for taking a system down
 since I've seen problems where just one of those would not take it
 down before.
 
 If you still get it, continue swap out the power supply next.
 Possiblility of not liking extra stress from active hard drive. Had
 this a bit on one old P2 gateway at one time.
 
 If it is still there do the same with proc. By now we should be able
 to safely rule out heat, provided that the sensor is functioning
 properly.
 
 If it still goes down, it is the mother board getting flaky under
 heavy load. This can happen. I had a Abit NF7-S2 that happened with
 lately. Swapped it out and it went away.
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: AMD Athlon XP 3200+ and reboots under load...

2004-12-13 Thread Alexandre Biancalana
Hi !

The case is opened I'm using the same cooling used in another
machine that is working great (Asus A7N8X-X/Sempron 2400+/DDR400).


On Mon, 13 Dec 2004 19:19:25 -0600 (CST), draconius
[EMAIL PROTECTED] wrote:
 what are your temperatures inside the case? what kind of cooling / airflow
 do you have in the case? I have had heat problems before due to bad
 airflow in the case where all the hot air concentraded around the
 processor(s)
 
 -drac
 
 
  I tested with FreeBSD 4.10 and 5.3. The same problem ocurs, when the
  the machine not reboot, varios coredumps in as/gcc hapens during make
  buildworld.
 
  Hardware:
 
  Asus A7V600-X
  AMD Sempron 2400+
  512MB DDR 400
 
  any ideas ??
 
 
 
  On Sat, 11 Dec 2004 23:28:17 -0600, Vulpes Velox [EMAIL PROTECTED]
  wrote:
  On Fri, 10 Dec 2004 19:36:34 -0800 (PST)
 
 
  Minnesota Slinky [EMAIL PROTECTED] wrote:
 
   Hello list.
  
   I am in the process of doing a major upgrade to my
   home server.  I purchased an Asus A7V600-X
   motherboard, an AMD Athlon XP 3200+ processor, and
   installed 1GB of DDR 400 memory.  If it matters, I've
   got two 120 GB Maxtor HDDs in a RAID 1 array.  The
   problem I'm having is that the system reboots half-way
   through a make buildworld.  I'm guessing this has to
   do with heat, but I'm not sure.
  
   Does anyone have any insight?  I've tried telling the
   BIOS to ignore the proc/mobo temp.  Not sure yet if
   that's working.
 
  For checking temp just ssh in and use mbmon while it is going...
 
  I would suspect ram problems. Heat problems from my experience
  generally cause some errors before failing and freezing. Never seen a
  heat problem result in a reboot yet.
 
  The way to check for this is to swap the ram out, after checking heat
  using ssh, mbmon, and a `cd /usr/src/ make buildworld/ cd
  /usr/ports/math/atlas make`. This command series you will also use
  each time as it provides a very good method for taking a system down
  since I've seen problems where just one of those would not take it
  down before.
 
  If you still get it, continue swap out the power supply next.
  Possiblility of not liking extra stress from active hard drive. Had
  this a bit on one old P2 gateway at one time.
 
  If it is still there do the same with proc. By now we should be able
  to safely rule out heat, provided that the sensor is functioning
  properly.
 
  If it still goes down, it is the mother board getting flaky under
  heavy load. This can happen. I had a Abit NF7-S2 that happened with
  lately. Swapped it out and it went away.
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 
 : ***  Fight Back!  It may not be just YOUR life at risk!  * :
 :a.k.a - phoetoid : unix d00d : cowboy kid : pr0nmaster  :
 :  Fully Qualified   M.C.S.E : Minesweeper Consultant  Solitaire Expert :
 :[EMAIL PROTECTED] : http://www.pyrospheric.net  :
 :   [EMAIL PROTECTED] : http://www.unixforums.net :
 :Unix Now!   ...Because friends don't let friends use Microsoft. :
 

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


Re: AMD Athlon XP 3200+ and reboots under load...

2004-12-11 Thread Alexandre Biancalana
I'm having the same problem with Sempron 2400+.

When I do make buildworld or the machine reboot or assembler errors ocurs...



On Sat, 11 Dec 2004 12:59:36 +, Peter Risdon
[EMAIL PROTECTED] wrote:
 Minnesota Slinky wrote:
 
 
  Hello list.
 
  I am in the process of doing a major upgrade to my
  home server.  I purchased an Asus A7V600-X
  motherboard, an AMD Athlon XP 3200+ processor, and
  installed 1GB of DDR 400 memory.  If it matters, I've
  got two 120 GB Maxtor HDDs in a RAID 1 array.  The
  problem I'm having is that the system reboots half-way
  through a make buildworld.  I'm guessing this has to
  do with heat, but I'm not sure.
 
 Do you have any reason to suspect heat?
 
 If you're trying to install 5.3, check /var/log/messages for lines about
 DMA errors. If there are any, you might have hit this DMA bug that
 affects some users (often with Maxtor hard drives).
 
 Peter.
 
 --
 
 the circle squared
 
 network systems and software
 
 http://www.circlesquared.com
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


4.10 Raid1 at boot ?

2004-12-03 Thread Alexandre Biancalana
Hi list,

  I'm mounting a machine (FreeBSD 4.10) that need to have 2 HD's
mirrored tthrough hardware (IDE Raid).

  I looked the Hardware Notes and find the following supported
chipsets that are capable of this:

- Promise Fasttrak-33, -66, -100, -100 TX2/TX4, -133 TX2/TX2000
- HighPoint HPT366 ATA66, HPT370 ATA100, HPT372 ATA133, HPT374 ATA133
- Via 8237

(Some others like Intel ICH5 can do Raid but this need an
driver and just work for windows...(?) I think)

  I just need that the mirror be done at Hardware level and be
transparent to OS.

  I'm looking an Motherboad Asus A7V600-X that comes with VIA VT8237,
this will work ?? I should choose ATA or SATA drives ?

  Someone has some expirence, advise or sugestion ??

 Best Regards,

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


Re: 4.10 Raid1 at boot ?

2004-12-03 Thread Alexandre Biancalana
Thank you for your replay Scott !

But I'm in Brazil and this kind off Adapter is hard to find here,
expensive and the delivery is t slow :((

 Someone know's about some onboard chipset that works correct at FreeBSD 4.10 ??

 Tranks,

Alexandre


On Fri, 3 Dec 2004 10:40:38 -0600, Scott Gerhardt [EMAIL PROTECTED] wrote:
 I have been in your exact situation.
 
 Avoid anything that uses the term Host RAID, this is not true
 hardware RAID and is cheap crap.  Many motherboards such as Intel come
 with this feature with utilize the Adaptec 1210SA or Promise chips,
 avoid them and make sure to disable the onboard raid features before
 trying to install the OS.
 
 I have had success with the 3Ware 8006-2LP two channel RAID card.  It
 is recognized perfectly by FreeBSD and does hardware raid that is
 transparent to the OS.  This card retails for about $225 CAD.
 
 If you can afford it, I would recommend one of the 4 channel SATA RAID
 cards from Adaptec, 3Ware, or LSI.  The will give you the capability of
 doing RAID 5 with 3 or more drives if you ever need to.
 
 Hope that helps.
 
 Thanks,
 
 --
 Scott A. Gerhardt, P.Geo.
 Gerhardt Information Technologies
 
 
 On Dec 3, 2004, at 9:28 AM, Alexandre Biancalana wrote:
 
  Hi list,
 
I'm mounting a machine (FreeBSD 4.10) that need to have 2 HD's
  mirrored tthrough hardware (IDE Raid).
 
I looked the Hardware Notes and find the following supported
  chipsets that are capable of this:
 
  - Promise Fasttrak-33, -66, -100, -100 TX2/TX4, -133 TX2/TX2000
  - HighPoint HPT366 ATA66, HPT370 ATA100, HPT372 ATA133, HPT374
  ATA133
  - Via 8237
 
  (Some others like Intel ICH5 can do Raid but this need an
  driver and just work for windows...(?) I think)
 
I just need that the mirror be done at Hardware level and be
  transparent to OS.
 
I'm looking an Motherboad Asus A7V600-X that comes with VIA VT8237,
  this will work ?? I should choose ATA or SATA drives ?
 
Someone has some expirence, advise or sugestion ??
 
   Best Regards,
 
  Alexandre
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 

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


Re: Slow Adaptec Quad-Nic

2003-09-10 Thread Alexandre Biancalana
Hi People !

The problem persists This machine is connected via sf0 to an link
off 2.5Mbit/s but the max transfer reached is olny 512Kbit/s.

Someone known where could I find some help or who could help me ?!

Regards,
Alexandre


- Original Message - 
From: Alexandre Biancalana [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 08, 2003 12:54 PM
Subject: Slow Adaptec Quad-Nic


 Hi All,

 I have a Firewall/Gateway with an Quad-NIC Adaptec ANA6944A, that
 when I'm doing a big download, the switch port where the machine is
 connected points that's is down and the following messages appear in
 /var/log/messages:

 Sep  8 10:53:41 Krusty /kernel: sf0: watchdog timeout
 Sep  8 10:54:59 Krusty /kernel: sf0: watchdog timeout
 Sep  8 11:01:53 Krusty /kernel: sf0: TX ring full, resetting
 Sep  8 11:01:57 Krusty /kernel: sf0: watchdog timeout
 Sep  8 11:14:37 Krusty /kernel: sf0: watchdog timeout
 Sep  8 11:20:11 Krusty /kernel: sf0: TX ring full, resetting
 Sep  8 11:20:14 Krusty /kernel: sf0: TX ring full, resetting
 Sep  8 11:45:26 Krusty /kernel: sf0: TX ring full, resetting
 Sep  8 12:03:38 Krusty /kernel: sf0: TX ring full, resetting
 Sep  8 12:03:41 Krusty /kernel: sf0: TX ring full, resetting

 The transfers are been slowed down by 1/2 off total bandwitch available
 in this link, that's 1Mbit/s but the transfers don't exceed 700
Kbit/s.

 After google, I have seen some case about that but without an solution.

   Best Regards,

Alexandre


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



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


Slow Adaptec Quad-Nic

2003-09-08 Thread Alexandre Biancalana
Hi All,
  
   I have a Firewall/Gateway with an Quad-NIC Adaptec ANA6944A, that 
when I'm doing a big download, the switch port where the machine is 
connected points that's is down and the following messages appear in 
/var/log/messages:

Sep  8 10:53:41 Krusty /kernel: sf0: watchdog timeout
Sep  8 10:54:59 Krusty /kernel: sf0: watchdog timeout
Sep  8 11:01:53 Krusty /kernel: sf0: TX ring full, resetting
Sep  8 11:01:57 Krusty /kernel: sf0: watchdog timeout
Sep  8 11:14:37 Krusty /kernel: sf0: watchdog timeout
Sep  8 11:20:11 Krusty /kernel: sf0: TX ring full, resetting
Sep  8 11:20:14 Krusty /kernel: sf0: TX ring full, resetting
Sep  8 11:45:26 Krusty /kernel: sf0: TX ring full, resetting
Sep  8 12:03:38 Krusty /kernel: sf0: TX ring full, resetting
Sep  8 12:03:41 Krusty /kernel: sf0: TX ring full, resetting
The transfers are been slowed down by 1/2 off total bandwitch available 
in this link, that's 1Mbit/s but the transfers don't exceed 700 Kbit/s.

After google, I have seen some case about that but without an solution.

 Best Regards,

  Alexandre

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


Re: emulators/vmware2 broken...

2003-09-03 Thread Alexandre Biancalana
Hi,

   Someone could help me with this !? Some advise !?  Some place where 
can I find a solution !?

 Regards,
Alexandre
Alexandre Biancalana wrote:

Hi All,

   I'm fighting with the following problem to install emulators/vmware2.

   cc -O -pipe   
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include 
-I/usr/ports/emulators/vmwa
e2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd
I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include 
-I/sys -I/usr/ports/emulators/vmwar
2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ 
-DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wre
undant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -
format-extensions -ansi -DKLD_MODULE -nostdinc -I- 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-onl
/include 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/wo
k/vmware-distrib/vmmon-only/freebsd 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/includ 

-I/sys 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ 
-I. -I@ -I@/../inc
ude -I/usr/include  -mpreferred-stack-boundary=2 -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c /usr/ports/emulators/vmw
re2/work/vmware-distrib/vmmon-only/freebsd/hostif.c
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `FindMPN':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:184: 
invalid operands to binary 
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:188: 
invalid type argument of `una
y *'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `HostIF_LookupUserMPN
:
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `HostIF_LockPage':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `CheckFunc':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
*** Error code 1

Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1
Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1
Stop in /usr/ports/emulators/vmware2/work/vmware-distrib.
*** Error code 1
Stop in /usr/ports/emulators/vmware2.
*** Error code 1
Stop in /usr/ports/emulators/vmware2.

That's my machine:

Copyright (c) 1992-2003 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 4.9-PRERELEASE #0: Sat Aug 30 17:49:40 BRT 2003
   [EMAIL PROTECTED]:/usr/src/sys/compile/Cruel
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 860884854 Hz
CPU: Intel Pentium III (860.88-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x686  Stepping = 6
 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE 

real memory  = 268091392 (261808K bytes)
avail memory = 257105920 (251080K bytes)
Preloaded elf kernel kernel at 0xc03b5000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fbc30
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82820 host to AGP bridge mem 0xf400-0xf7ff at 
device 0.0 on pci0
pcib1: PCI to PCI bridge (vendor=8086 device=250f) at device 1.0 on 
pci0
pci1: PCI bus on pcib1
pci1: NVidia Riva Ultra Vanta TNT2 graphics accelerator at 0.0 irq 9
pcib2: Intel 82801AA (ICH) Hub to PCI bridge at device 30.0 on pci0
pci2: PCI bus on pcib2
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xec80-0xecff mem 
0xfbfffc00-0xfbfffc7f irq 5 at device 12.0 on pci2
xl0: Ethernet address: 00:b0:d0:50:c9:a7
miibus0: MII bus on xl0
xlphy0: 3c905C 10/100 internal PHY on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: Intel 82801AA (ICH) PCI to LPC bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH ATA66 controller port 0xffa0-0xffaf at device 
31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801AA (ICH) USB controller port 0xff80-0xff9f irq 11

emulators/vmware2 broken...

2003-09-01 Thread Alexandre Biancalana
Hi All,

   I'm fighting with the following problem to install emulators/vmware2.

   cc -O -pipe   
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include 
-I/usr/ports/emulators/vmwa
e2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd
I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include 
-I/sys -I/usr/ports/emulators/vmwar
2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ 
-DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wre
undant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -
format-extensions -ansi -DKLD_MODULE -nostdinc -I- 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-onl
/include 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/wo
k/vmware-distrib/vmmon-only/freebsd 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/includ
-I/sys 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ 
-I. -I@ -I@/../inc
ude -I/usr/include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes 
Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c /usr/ports/emulators/vmw
re2/work/vmware-distrib/vmmon-only/freebsd/hostif.c
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `FindMPN':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:184: 
invalid operands to binary 
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:188: 
invalid type argument of `una
y *'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `HostIF_LookupUserMPN
:
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `HostIF_LockPage':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: 
In function `CheckFunc':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:185: 
warning: `pte' might be used
ninitialized in this function
*** Error code 1

Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1
Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1
Stop in /usr/ports/emulators/vmware2/work/vmware-distrib.
*** Error code 1
Stop in /usr/ports/emulators/vmware2.
*** Error code 1
Stop in /usr/ports/emulators/vmware2.

That's my machine:

Copyright (c) 1992-2003 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 4.9-PRERELEASE #0: Sat Aug 30 17:49:40 BRT 2003
   [EMAIL PROTECTED]:/usr/src/sys/compile/Cruel
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 860884854 Hz
CPU: Intel Pentium III (860.88-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0x686  Stepping = 6
 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 268091392 (261808K bytes)
avail memory = 257105920 (251080K bytes)
Preloaded elf kernel kernel at 0xc03b5000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fbc30
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82820 host to AGP bridge mem 0xf400-0xf7ff at 
device 0.0 on pci0
pcib1: PCI to PCI bridge (vendor=8086 device=250f) at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: NVidia Riva Ultra Vanta TNT2 graphics accelerator at 0.0 irq 9
pcib2: Intel 82801AA (ICH) Hub to PCI bridge at device 30.0 on pci0
pci2: PCI bus on pcib2
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xec80-0xecff mem 
0xfbfffc00-0xfbfffc7f irq 5 at device 12.0 on pci2
xl0: Ethernet address: 00:b0:d0:50:c9:a7
miibus0: MII bus on xl0
xlphy0: 3c905C 10/100 internal PHY on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: Intel 82801AA (ICH) PCI to LPC bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH ATA66 controller port 0xffa0-0xffaf at device 31.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801AA (ICH) USB controller port 0xff80-0xff9f irq 11 at 
device 31.2 on pci0
usb0: Intel 82801AA (ICH) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: