Re: MySQL crashes on amd64

2005-10-29 Thread Stefan Cars

Greg 'groggy' Lehey wrote:

[Sequence recovered--see http://www.lemis.com/email/email-format.html]

On Thursday, 13 October 2005 at 17:56:11 +0200, Stefan Cars wrote:


Greg 'groggy' Lehey wrote:


On Wednesday, 12 October 2005 at  9:27:17 +0200, Stefan Cars wrote:



Hi!

We are having troubles with MySQL 4.1 on a amd64 (it's crashing
randomly with Seg fault, signal 11. gdb bt says: Cannot access
memory at address 0x8000). We have got information saying
this is a 64bit related issue and should be fixed by using the i386
version instead of amd64 (this is an Intel Xeon).


Where did you get that information from?



I'd still like to know an answer to this question.


I got information from a guy working on the floor below us, although his 
thoughts were only that amd64 is a bit unstable so that should be the 
problem






What is the way to go when moving from amd64 to i386 ?


If you mean how do I install an i386 kernel on this machine, I can't
think of any way except to start from scratch.  It would be a good
idea to install a separate disk, so you can access the configuration
files and the database on the old disk.  But before doing this, I'd be
very interested in knowing what the problem is.  Is the backtrace
always the same?  Where does it crash?


After doing some testing this is what I found out:

1) Exchanging memory on the machine did not work. Same error.
2) Trying it on another 64 bit machine with same FreeBSD (RC1) creates
EXACT same problem
3) Installing the i386 version of RC1 instead of amd64 on the same
machines and it works terrific. No crash.



Hmm.  That's interesting.  This is obviously not a hardware issue.



The bt is always the same and it always crash the same, look here:

#784 0x in ?? ()
#785 0x247c8d48002454ff in ?? ()
#786 0x01a1c0c748006a10 in ?? ()
#787 0x66fdebf4050f in ?? ()
#788 0x90909066 in ?? ()
#789 0x7fffe778 in ?? ()
#790 0x0006 in ?? ()
#791 0x7fffe7b0 in ?? ()
#792 0x0017 in ?? ()
Cannot access memory at address 0x8000



Without function names instead of ??, it's impossible to say what's
happening here.  You'd need to build with debug symbols.

Since you've been told that this is an issue, it would be good to know
more.  As we've mentioned on other threads, there are reasons to
believe that there are problems with the threading libraries, but
currently we don't have enough information to investigate them.  Note
that the other recent thread refers to problems running in the
configuration you have just installed: see
http://bugs.mysql.com/bug.php?id=12251 for more details.  If you see
anything similar, please let us know.




After doing alot of testing and trying this is some more new information:

It actually DO crash on i386 FreeBSD 6.0-RC1 aswell, but very seldom 
(around once every 4-5th hour, this time we get a Signal 10 instead, see 
below). The errors are reproducable for MySQL 4.1.15 and MySQL 5.0.15 so 
the problem still exists on 5.0.15. Of course we have tried on different 
 machines aswell to make sure it's not hardware related. On a FreeBSD 
5.3 machine Mysql 4.1.15 works fine.



mysqld got signal 10;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help 
diagnose
the problem, but since we have already crashed, something is definitely 
wrong

and this may fail.

key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=99
max_connections=400
threads_connected=44
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections 
= 461820 K

bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Moving down from amd64 to i386 ??

2005-10-13 Thread Stefan Cars

Hi!

After doing some testing this is what I found out:


1) Exchanging memory on the machine did not work. Same error.
2) Trying it on another 64 bit machine with same FreeBSD (RC1) creates 
EXACT same problem
3) Installing the i386 version of RC1 instead of amd64 on the same 
machines and it works terrific. No crash.



The bt is always the same and it always crash the same, look here:

#784 0x in ?? ()
#785 0x247c8d48002454ff in ?? ()
#786 0x01a1c0c748006a10 in ?? ()
#787 0x66fdebf4050f in ?? ()
#788 0x90909066 in ?? ()
#789 0x7fffe778 in ?? ()
#790 0x0006 in ?? ()
#791 0x7fffe7b0 in ?? ()
#792 0x0017 in ?? ()
Cannot access memory at address 0x8000


Greg 'groggy' Lehey wrote:

On Wednesday, 12 October 2005 at  9:27:17 +0200, Stefan Cars wrote:


Hi!

We are having troubles with MySQL 4.1 on a amd64 (it's crashing
randomly with Seg fault, signal 11. gdb bt says: Cannot access
memory at address 0x8000). We have got information saying
this is a 64bit related issue and should be fixed by using the i386
version instead of amd64 (this is an Intel Xeon).



Where did you get that information from?



What is the way to go when moving from amd64 to i386 ?



If you mean how do I install an i386 kernel on this machine, I can't
think of any way except to start from scratch.  It would be a good
idea to install a separate disk, so you can access the configuration
files and the database on the old disk.  But before doing this, I'd be
very interested in knowing what the problem is.  Is the backtrace
always the same?  Where does it crash?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.

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


Moving down from amd64 to i386 ??

2005-10-12 Thread Stefan Cars

Hi!

We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly
with Seg fault, signal 11. gdb bt says: Cannot access memory at address
0x8000). We have got information saying this is a 64bit related
issue and should be fixed by using the i386 version instead of amd64
(this is an Intel Xeon). What is the way to go when moving from amd64 to
i386 ?

/S



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


Re: Moving down from amd64 to i386 ??

2005-10-12 Thread Stefan Cars

Hi!

From what I understand linuxthreads isn't available on amd64 ?  What 
could cause one mysqld process / thread to crash almost every 4th minute 
like this ?


/S

Olivier Nicole wrote:

We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly
with Seg fault, signal 11. gdb bt says: Cannot access memory at address




I am using Mysql 4.1.13 build from the ports, with options
BUILD_OPTIMIZED=yes BUILD_STATIC=yes WITH_LINUXTHREADS=yes on an amd64
machine without any trouble.

olivier

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


Problems with ipfw2 ?

2005-03-24 Thread Stefan Cars
Hi!
I have a very strange problem with our firewall using ipfw2.  Below is 
my configuration file. The firewall is a briding firewall (em2,em3). 
After a few seconds (7-12 seconds) of ICMP pings to a machine behind the 
firewall suddenly starts blocking all traffic to that specific host. 
This is also true for networks that I have permitted at the top of the 
config. It rejects everything regardless of any rules I have made.

Any ideas anyone ?
# Trusted networks
add permit ip from /28 to any
add permit ip from /26 to any
add permit ip from /25 to any
add permit ip from any to any established
# DNS
add permit ip from any to any 53
# ICMP
add permit icmp from any to any
# HTTP
add permit ip from any to any 80
add permit ip from any to any 443
# SSH
add permit ip from any to any 22


# Deny everything else
add deny ip from any to any
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading perl 5.8

2005-02-28 Thread Stefan Cars
Hi!
I'm upgrading perl 5.8 from the ports on a FreeBSD 5.3 machine, the 
problem is that alot of my installed modules doesn't work after the 
update (just a minor update from 5.8.2 to 5.8.6), probably becuase the 
@INC changed and did not include the mach directory of 5.8.2. Is this 
right ? Why can't it include the 5.8.2 mach dir ?

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


Upgrading from 5.2.1 to 5.3 ?

2004-10-20 Thread Stefan Cars
Hi!
Regarding the lib version bumping, what should be considered when 
upgrading from 5.2.1 to 5.3 ? I'm a bit worried about that programs that 
might stop working, should you go with libmap.conf for all of them until 
you are sure everything is rebuilt ?

/S
I read about
 libm.so.2 - libm.so.3
   libhistory.so.4 - libhistory.so.5
   libopie.so.2 - libopie.so.3
   libpcap.so.2 - libpcap.so.3
   libreadline.so.4 - libreadline.so.5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sysadmin magazine benchmarkings

2004-09-13 Thread Stefan Cars
Hi!

I read the article on sys admin magazine
(http://www.samag.com/documents/s=1148/sam0107a/0107a.htm) where they
benchmarked Linux, Windows, Solaris and FreeBSD regarding High-Performance
Network Applications. This article is from 2001 and covers FreeBSD 4.2.
Anyhow, FreeBSD ended last which feels quiet strange, is there anyone that
has any new benchmarking data on how FreeBSD 5 compares ?

/ Stefan

--
Stefan Cars
Snowfall Communications
http://www.snowfall.se
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Megaraid perc4/di management FreeBSD 5.3 ?

2004-09-10 Thread Stefan Cars
Hi!
Is there any management tools for Dells Megaraid perc4/di that work with 
FreeBSD 5.3.

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


ipfw2 or ipfilter

2004-08-16 Thread Stefan Cars
Hi!

I'm looking into if I should go with ipfw2 or ipfilter, anyone that could
point me to some links or tell me pro's and con's (both feature and
performance wise).

Kind Regards,
Stefan Cars

--
Stefan Cars
Snowfall Communications
http://www.snowfall.se
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Keyboard problems (connecting keyboard after boot)

2004-08-01 Thread Stefan Cars
Hi!

I would like to be able to connect the keyboard after boot. It seems this
is the way the ERA (Enhanced Remote Access) works on our Dell machines, is
it possible to get this work ? I've seen somewhere that if the PS/2 isn't
plugged in at boot FreeBSD defaults to USB, is it possible to change this
behavior. ?


Kind Regards,
Stefan Cars

--
Stefan Cars
Snowfall Communications
http://www.snowfall.se
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Monitoring TCP/IP traffic

2004-03-04 Thread Stefan Cars
HI!

tcpdump is a very good program aswell.


/ Stefan

On Thu, 4 Mar 2004, albi wrote:

 On Thu, 4 Mar 2004 11:44:48 + (GMT)
 Francisco Reyes [EMAIL PROTECTED] wrote:

  Is there is anything like TOP for TCP/IP?
  I saw ntop in ports, but it seems only analyzes LAN/internal subnet.

 you could try ethereal (/usr/ports/net/ethereal) ?

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


--
Stefan Cars
Snowfall Communications
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04



__
SNOWFALL DISCLAIMER:
The information contained in this email and in any
attachments is confidential and may be privileged. If you are not the
intended recipient, please destroy this message and notify the sender
immediately. You should not retain, copy or use this email for any
purpose, nor disclose all or any part of its content to any other person.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Snowfall Communications.

Snowfall Communications monitors the content of emails sent and received
via its network for unauthorised use and for other lawful business
purposes. The contents of an attachment to this email may contain viruses
which could damage your computer system. While Snowfall Communications has
taken every reasonable precaution to minimise this risk, we cannot accept
liability for any damage which you sustain as a result of software
viruses. You should carry out your own virus checks before opening the
attachment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1 processor vs. 2

2004-03-03 Thread Stefan Cars
Hi!

Following up on this I'm also looking into buying some servers and have
the almost the same scenario, a MySQL DB together with apache with
mod_perl and embperl, (alot of SQL and dynamic content). Would we be
better off with:

Dual Xeon, 2.4 GHZ with 2GB of RAM or Xeon 3.0 GHZ with 2GB of RAM
and
RAID-1 on three disks or RAID-5 on three disks.


Will the difference between 2.4 and 3.0 really do that much ? Isn't the
SMP system better.

Kind Regards,
Stefan Cars

On Tue, 2 Mar 2004, Scott W wrote:

 Joseph Koenig wrote:

 I'm putting together a system that will host a relatively small database
 (around 20,000 records), as well as run Apache / PHP to search that
 database. I have the option in front of me to use a P III dual 1GHz machine
 with a SCSI Raid 5, or to use a single P4 2.8 GHz with a SCSI Raid 1. Both
 have 1GB RAM. I'm looking to use MySQL as the DB. The site that this machine
 will host gets about 2 million hits per months (yes, hits, not pageviews or
 visitors) from about 21,000 unique visitors. Does anyone have an opinion as
 to which machine will perform best under this scenario? Obviously, both
 would run FreeBSD. Thanks,
 
 Joe Koenig
 Production Manager
 jWeb New Media Design
 [EMAIL PROTECTED]
 http://www.jwebmedia.com/
 636.928.3162
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 Someone else already mentioned this, but RAID-1 will be faster than the
 RAID-5 at the storage level, if the RAID-5 array is a relatively small #
 of drives.  If you're talking about 2 disk RAID-1 versus 10 disks
 RAID-5, those numbers may change.  If the drives are integrated into the
 systems, it's also possible the RAID-1 disks are faster drives than the
 RAID-5 drives...

 If you're going to run the DB and web server on the same system with a
 high percentage of static pages, the SMP system may help out.

 If you have almost all dynamic content is full of complex DB queries,
 the P4 would do better based solely on CPU speed.

 How about RAID-1 on the dual PIII and keep the P4 as a workstation? :-)

 The PIII is likely up to the task, but it really depends on the type of
 content (is _everything_ PHP generating dynamic content, every page
 hitting the DB etc?)

 Scott

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


--
Stefan Cars
Snowfall Communications
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04



__
SNOWFALL DISCLAIMER:
The information contained in this email and in any
attachments is confidential and may be privileged. If you are not the
intended recipient, please destroy this message and notify the sender
immediately. You should not retain, copy or use this email for any
purpose, nor disclose all or any part of its content to any other person.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Snowfall Communications.

Snowfall Communications monitors the content of emails sent and received
via its network for unauthorised use and for other lawful business
purposes. The contents of an attachment to this email may contain viruses
which could damage your computer system. While Snowfall Communications has
taken every reasonable precaution to minimise this risk, we cannot accept
liability for any damage which you sustain as a result of software
viruses. You should carry out your own virus checks before opening the
attachment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1 processor vs. 2

2004-03-03 Thread Stefan Cars
Okey, but if you would compare RAID-1 on two disks compared to RAID-5 on
three disks then ? What would be the faster ?

/ Stefan

On Wed, 3 Mar 2004, Matthew Seaman wrote:

 On Wed, Mar 03, 2004 at 02:53:49PM +0100, Danny Pansters wrote:
  On Wednesday 03 March 2004 14:05, Stefan Cars wrote:
   Dual Xeon, 2.4 GHZ with 2GB of RAM or Xeon 3.0 GHZ with 2GB of RAM
   and
   RAID-1 on three disks or RAID-5 on three disks.
 
  RAID5 on 3 disks? That's useless.

 3 disks is the minimum quantity for RAID5: it's certainly not ideal,
 but it is by no means useless.  RAID5 setups can span 3 or more drives
 -- I don't know what the practical limit is for Vinum or typical PC
 raid controller cards, but the last time I used it (which I admit was
 some years ago) Veritas Volumne Manager under Solaris made the strong
 suggestion that no more than 7 drives be put into one RAID5 group.

   Cheers,

   Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK


--
Stefan Cars
Snowfall Communications
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04



__
SNOWFALL DISCLAIMER:
The information contained in this email and in any
attachments is confidential and may be privileged. If you are not the
intended recipient, please destroy this message and notify the sender
immediately. You should not retain, copy or use this email for any
purpose, nor disclose all or any part of its content to any other person.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Snowfall Communications.

Snowfall Communications monitors the content of emails sent and received
via its network for unauthorised use and for other lawful business
purposes. The contents of an attachment to this email may contain viruses
which could damage your computer system. While Snowfall Communications has
taken every reasonable precaution to minimise this risk, we cannot accept
liability for any damage which you sustain as a result of software
viruses. You should carry out your own virus checks before opening the
attachment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 1 processor vs. 2

2004-03-03 Thread Stefan Cars
Ok. In this case the costs isn't really a problem, so both read and
write will be faster with two disks in a RAID1 vs. three disks in a RAID
5 ? I've read that RAID5 would be faster in read ?

/ Stefan

On Wed, 3 Mar 2004, Matthew Seaman wrote:

 On Wed, Mar 03, 2004 at 10:26:43PM +0100, Stefan Cars wrote:
  Okey, but if you would compare RAID-1 on two disks compared to RAID-5 on
  three disks then ? What would be the faster ?

 RAID1 is going to be faster, both reading and writing, but it will
 take a lot more raw disk space to provide the required usable space.

   Cheers,

   Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK


--
Stefan Cars
Snowfall Communications
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04



__
SNOWFALL DISCLAIMER:
The information contained in this email and in any
attachments is confidential and may be privileged. If you are not the
intended recipient, please destroy this message and notify the sender
immediately. You should not retain, copy or use this email for any
purpose, nor disclose all or any part of its content to any other person.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Snowfall Communications.

Snowfall Communications monitors the content of emails sent and received
via its network for unauthorised use and for other lawful business
purposes. The contents of an attachment to this email may contain viruses
which could damage your computer system. While Snowfall Communications has
taken every reasonable precaution to minimise this risk, we cannot accept
liability for any damage which you sustain as a result of software
viruses. You should carry out your own virus checks before opening the
attachment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Low Profile U320 RAID support

2004-03-03 Thread Stefan Cars
Hi, i have been running with with Adaptec 3410S card on a box and it works
very good.

/S



 Hi:

 I need to build a newer, faster FBSD server to replace one running RAID 1
 with an Adaptec 2100s and have the following requirements for the RAID
 card:

 1 channel (2 preferable)
 U320 SCSI
 low profile (going into a 2RU box, want to avoid a riser)
 supported by FreeBSD 4.9

 I'm not particularly interested in SATA or zero channel solutions unless I
 have no other options (experiences with 0 channel RAID welcome), but I
 can't seem to find anything that meets all of these requirements.

 The Adaptec 2200S would be ideal, but alas, there's no FreeBSD driver for
 it.

 Please respond directly, as I am not subscribed to either list.

 TIA,

 James Smallacombe   PlantageNet, Inc. CEO and Janitor
 [EMAIL PROTECTED] http://3.am
 =

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


--
Stefan Cars
Snowfall Communications
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04



__
SNOWFALL DISCLAIMER:
The information contained in this email and in any
attachments is confidential and may be privileged. If you are not the
intended recipient, please destroy this message and notify the sender
immediately. You should not retain, copy or use this email for any
purpose, nor disclose all or any part of its content to any other person.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Snowfall Communications.

Snowfall Communications monitors the content of emails sent and received
via its network for unauthorised use and for other lawful business
purposes. The contents of an attachment to this email may contain viruses
which could damage your computer system. While Snowfall Communications has
taken every reasonable precaution to minimise this risk, we cannot accept
liability for any damage which you sustain as a result of software
viruses. You should carry out your own virus checks before opening the
attachment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem's using ab

2004-03-01 Thread Stefan Cars
Hi!

I'm trying todo some benchmarking tests some webservers(running FreeBSD
5.2 / apache-2.0.48)  from some other FreeBSD boxes (running 5.2, also
tried with one Linux 2.4. The problem is that after a couple of requests
the script terminates with the error, apr_recv: Connection reset by peer
(54). This happen on some boxes running 4.9 aswell. What could cause this
kind of problem ?

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


RE: Need help: HyperThreading-CPU + FreeBSD-Stable + Multi-threading

2003-12-14 Thread Stefan Cars
Hi!

That was removed, it's not in 4.9!

/ Stefan 

-Original Message-
From: Minnesota Slinky [mailto:[EMAIL PROTECTED] 
Sent: den 14 december 2003 01:13
To: 'Stefan Cars'; 'Rob'
Cc: [EMAIL PROTECTED]
Subject: RE: Need help: HyperThreading-CPU + FreeBSD-Stable +
Multi-threading

I _believe_ there is an options HT #for HyperThreading

In the kernel configuration.

HTH

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan Cars
Sent: Saturday, December 13, 2003 1:58 PM
To: 'Rob'
Cc: [EMAIL PROTECTED]
Subject: RE: Need help: HyperThreading-CPU + FreeBSD-Stable +
Multi-threading


Hi!

This is strange, my system doesn't even show mchdep.hlt_logical_cpus,
very weird. My system have HT

/S 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Sent: den 12 december 2003 15:58
To: [EMAIL PROTECTED]
Subject: Need help: HyperThreading-CPU + FreeBSD-Stable +
Multi-threading


Hello,

Recently I've got a new PC: P4 Titan 2.6 GHz.
It says in the brochure that it has HyperThreading, which I think is
somehow related to the HyperThread thing in the FreeBSD kernel, right?

I know there's this message in /usr/src/UPDATING, which unfortunately
does not clear up the matter for me.

So let me recap what I believe to understand:

For utilizing the advantages of this HyperThreading stuff for users, I
need in the kernel configuration:
   optionsSMP# Symmetric MultiProcessor Kernel
   optionsAPIC_IO# Symmetric (APIC) I/O

Furthermore, I need to set machdep.hlt_logical_cpus to 0 (zero). How
do I add this to the loader so that it is set to zero at every boot
up? Should I simply add to my /boot/loader.conf a line like:

   machdep.hlt_logical_cpus=0

After that, I'm done with the hyperthreading?

Thanks,
Rob.

PS: if you're in the mood, I would appreciate a few words on what this
HyperThreading is about and what advantages I can expect. Thanks too!

___
[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]


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


SMP-stability with 5.2

2003-12-14 Thread Stefan Cars
Hi!

How good is the SMP-stability on 5.2. I'm currently running 4.9 on some
non-critical servers and I'm thinking of installing 5.2, how good is the
SMPng now ?

/ Stefan

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


RE: Need help: HyperThreading-CPU + FreeBSD-Stable + Multi-threading

2003-12-13 Thread Stefan Cars
Hi!

This is strange, my system doesn't even show mchdep.hlt_logical_cpus, very
weird. My system have HT

/S 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Sent: den 12 december 2003 15:58
To: [EMAIL PROTECTED]
Subject: Need help: HyperThreading-CPU + FreeBSD-Stable + Multi-threading


Hello,

Recently I've got a new PC: P4 Titan 2.6 GHz.
It says in the brochure that it has HyperThreading, which I think is
somehow related to the HyperThread thing in the FreeBSD kernel, right?

I know there's this message in /usr/src/UPDATING, which unfortunately does
not clear up the matter for me.

So let me recap what I believe to understand:

For utilizing the advantages of this HyperThreading stuff for users, I
need in the kernel configuration:
   optionsSMP# Symmetric MultiProcessor Kernel
   optionsAPIC_IO# Symmetric (APIC) I/O

Furthermore, I need to set machdep.hlt_logical_cpus to 0 (zero).
How do I add this to the loader so that it is set to zero at every
boot up? Should I simply add to my /boot/loader.conf a line like:

   machdep.hlt_logical_cpus=0

After that, I'm done with the hyperthreading?

Thanks,
Rob.

PS: if you're in the mood, I would appreciate a few words on what this
HyperThreading is about and what advantages I can expect. Thanks too!

___
[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]


Missing machdep.hlt_logical_cpus on hyperthreading..

2003-12-02 Thread Stefan Cars
Hi, i'm reposting this since I didn't get any answer at all...

I'm having a problem, sysctl can't find machdep.hlt_logical_cpus. My machine
is a dual xeon with hyperthreading enabled, running 4.9. I also would like
to know what that Warning: Pentium 4 CPU: PSE disabled means.

See below:

sysctl: unknown oid 'machdep.hlt_logical_cpus'

FreeBSD guldivar.globalwire.se 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Mon Nov
24 14:59:32 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/FLASHZGI  i386

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-RELEASE #1: Mon Nov 24 14:59:32 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/FLASHZGI
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) XEON(TM) CPU 1.80GHz (1799.80-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
 
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
  Hyperthreading: 2 logical CPUs
real memory  = 1073676288 (1048512K bytes)
config di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config q
avail memory = 1041534976 (1017124K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee0
 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  8, version: 0x00178020, at 0xfec0
 io1 (APIC): apic id:  9, version: 0x00178020, at 0xfec8
 io2 (APIC): apic id: 10, version: 0x00178020, at 0xfec80400
Preloaded elf kernel kernel at 0xc0414000.
Preloaded userconfig_script /boot/kernel.conf at 0xc041409c.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 14 entries at 0xc00f3f20
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
IOAPIC #0 intpin 16 - irq 2
IOAPIC #0 intpin 18 - irq 9
IOAPIC #0 intpin 17 - irq 10
pci0: PCI bus on pcib0
pcib1: PCI to PCI bridge (vendor=8086 device=2543) at device 2.0 on pci0
pci2: PCI bus on pcib1
pci2: unknown card (vendor=0x8086, dev=0x1461) at 28.0
pcib2: PCI to PCI bridge (vendor=8086 device=1460) at device 29.0 on pci2
IOAPIC #2 intpin 0 - irq 11
pci4: PCI bus on pcib2
pci4: unknown card (vendor=0x8086, dev=0x1008) at 1.0 irq 11
pcib3: PCI to PCI bridge (vendor=1044 device=a500) at device 3.0 on pci4
pci5: PCI bus on pcib3
asr0: Adaptec Caching SCSI RAID mem 0xf800-0xfbff irq 11 at device
3.1
 on pci4
asr0: major=154
asr0: ADAPTEC 3410S FW Rev. 370F, 4 channel, 256 CCBs, Protocol I2O
pci2: unknown card (vendor=0x8086, dev=0x1461) at 30.0
pcib4: PCI to PCI bridge (vendor=8086 device=1460) at device 31.0 on pci2
pci3: PCI bus on pcib4
pci0: UHCI USB controller at 29.0 irq 2
pcib5: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0
pci1: PCI bus on pcib5
pci1: ATI Mach64-GR graphics accelerator at 2.0 irq 9
fxp0: Intel 82550 Pro/100 Ethernet port 0xc880-0xc8bf mem
0xfe6a-0xfe6bfff
f,0xfe6fe000-0xfe6fefff irq 10 at device 3.0 on pci1
fxp0: Ethernet address 00:e0:81:20:f7:7c
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI to ISA bridge (vendor=8086 device=2480) at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 ATA100 controller port
0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0
x7 irq 9 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: unknown card (vendor=0x8086, dev=0x2483) at 31.3 irq 10
orm0: Option ROMs at iomem
0xc-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcf7ff,0xc
f800-0xd0fff on isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured 

RE: SATA ICH5 on FreeBSD 5.1

2003-12-01 Thread Stefan Cars
Hi!

I did run FreeBSD 5.1 for a limited time on a Dell machine using the ICH5,
it worked fine. Though I don't know how /good/ it worked, on Linux the
driver for ICH5 has serious trouble with interrupts.

/ Stefan 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of RJ45
Sent: den 1 december 2003 10:06
To: [EMAIL PROTECTED]
Subject: SATA ICH5 on FreeBSD 5.1


hello, in the hardware compatibility list I Read SATA ICH ICH2 ICH4 but I
Did not read ICH5. this means that ICH5 conotrollers are not supported by
FreeBSD 5.1 ? or does exist some patch for it?
thanks

Rick


___
[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]


Missing machdep.hlt_logical_cpus on hyperthreading..

2003-11-26 Thread Stefan Cars
Hi!

I'm having a problem, sysctl can't find machdep.hlt_logical_cpus. My machine
is a dual xeon with hyperthreading enabled, running 4.9. I also would like
to know what that Warning: Pentium 4 CPU: PSE disabled means.

See below:

sysctl: unknown oid 'machdep.hlt_logical_cpus'

FreeBSD guldivar.globalwire.se 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Mon Nov
24 14:59:32 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/FLASHZGI  i386

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-RELEASE #1: Mon Nov 24 14:59:32 CET 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/FLASHZGI
Timecounter i8254  frequency 1193182 Hz
CPU: Intel(R) XEON(TM) CPU 1.80GHz (1799.80-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
 
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
  Hyperthreading: 2 logical CPUs
real memory  = 1073676288 (1048512K bytes)
config di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config q
avail memory = 1041534976 (1017124K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0
 cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee0
 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee0
 io0 (APIC): apic id:  8, version: 0x00178020, at 0xfec0
 io1 (APIC): apic id:  9, version: 0x00178020, at 0xfec8
 io2 (APIC): apic id: 10, version: 0x00178020, at 0xfec80400
Preloaded elf kernel kernel at 0xc0414000.
Preloaded userconfig_script /boot/kernel.conf at 0xc041409c.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 14 entries at 0xc00f3f20
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge on motherboard
IOAPIC #0 intpin 16 - irq 2
IOAPIC #0 intpin 18 - irq 9
IOAPIC #0 intpin 17 - irq 10
pci0: PCI bus on pcib0
pcib1: PCI to PCI bridge (vendor=8086 device=2543) at device 2.0 on pci0
pci2: PCI bus on pcib1
pci2: unknown card (vendor=0x8086, dev=0x1461) at 28.0
pcib2: PCI to PCI bridge (vendor=8086 device=1460) at device 29.0 on pci2
IOAPIC #2 intpin 0 - irq 11
pci4: PCI bus on pcib2
pci4: unknown card (vendor=0x8086, dev=0x1008) at 1.0 irq 11
pcib3: PCI to PCI bridge (vendor=1044 device=a500) at device 3.0 on pci4
pci5: PCI bus on pcib3
asr0: Adaptec Caching SCSI RAID mem 0xf800-0xfbff irq 11 at device
3.1
 on pci4
asr0: major=154
asr0: ADAPTEC 3410S FW Rev. 370F, 4 channel, 256 CCBs, Protocol I2O
pci2: unknown card (vendor=0x8086, dev=0x1461) at 30.0
pcib4: PCI to PCI bridge (vendor=8086 device=1460) at device 31.0 on pci2
pci3: PCI bus on pcib4
pci0: UHCI USB controller at 29.0 irq 2
pcib5: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0
pci1: PCI bus on pcib5
pci1: ATI Mach64-GR graphics accelerator at 2.0 irq 9
fxp0: Intel 82550 Pro/100 Ethernet port 0xc880-0xc8bf mem
0xfe6a-0xfe6bfff
f,0xfe6fe000-0xfe6fefff irq 10 at device 3.0 on pci1
fxp0: Ethernet address 00:e0:81:20:f7:7c
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI to ISA bridge (vendor=8086 device=2480) at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 ATA100 controller port
0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0
x7 irq 9 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: unknown card (vendor=0x8086, dev=0x2483) at 31.3 irq 10
orm0: Option ROMs at iomem
0xc-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcf7ff,0xc
f800-0xd0fff on isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not 

Trying to build imap-uw to allow plaintext passwords

2003-02-20 Thread Stefan Cars
Hi!

I have been trying to build the imap-uw port to allow plaintext passwords
for a long time now... Trying with all different possibilities when
compiling, even suspending the make before it actually compiles and going
into work and doing the changes that is noted in the imap-uw source, but
nothing works. Doing make with SSLTYPE=none is not working. Doing make
with WITHOUT_SSL=yes doesn't work... Nothing work.. imapd will refuse to
not use SSL.  Of course I've tried to build the cclient separatley and
done all the above things...  Of course it's possible to build it
separatly from source, and I'm going for that now but I'm very interested
in getting the port to work.

/S


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message