Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Christian Zachariasen
On Fri, May 9, 2008 at 4:55 AM, Nerius Landys [EMAIL PROTECTED] wrote:

 Howdy.  I purchased a 1U 10 inch deep server machine a few months ago:

 http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a

 The CPU is a Xeon 3xxx dual core 2.4 GHz.  The machine has no case fans, by
 design.

 It's sitting in a well-ventilated rack in a data center.  Oddly, when there
 are no machines below and above it, the machine gets hotter.  Seems that
 machines above and below help to cool it down.  I have the coretemp
 kernel
 module loaded on the FreeBSD 7.0 OS, and I saw that the CPU core temp(s)
 hit
 70 degrees Celsius during a compile of GCC.  Is this too hot?  Should I
 complain to the people who assembled the computer?  At the time this
 happened there were supposedly no surrounding machines.  This machine has
 given me no problems.  At idle when conditions are good (meaning A/C is
 working properly and there are machines above and below it) my CPU temps
 are
 below 40.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


As with so many other things in the computer world, it depends. With no case
fans, it's weird that the computer gets colder if it has something above and
underneath it. But there are so many factors when it comes to case
temperatures and air flow that it's nearly impossible to tell why. If
there's a huge cooler on top of the Xeon (Processor wind tunnel), then it
could be that closing the ventilation holes in the top and bottom of the
case makes the air flow more directly from the front to the back of the
case.

It seems the Xeon shuts down the system automatically if it reaches 105 C. I
don't know if this is any pointer to what a reasonable 100% load-temperature
could be, but I know processors nowadays run much cooler than they used to.
(I'm used to AMD Athlons on or above 70 C idle)

I'd say you should be fine if you haven't seen any instability at 70 C with
100% load.

You could try this if you want to be sure:

---
On Tue, Feb 28, 2006 at 12:27:07PM -0800, Don O'Neil wrote:
 What is the best way to 'burn in' or 'stress test' a new system w/
FreeBSD?
 I'd like to stress test the CPU, Memory, Disk, etc.. To make sure the
 hardware is 100% good before putting it in production.

Doing something like a buildworld -j64 loop (if you have enough
memory, otherwise reduce -j level to avoid swapping) is going to
exercise your system a fair bit.

Kris
---


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


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Josh Carroll
On Thu, May 8, 2008 at 10:55 PM, Nerius Landys [EMAIL PROTECTED] wrote:
 Howdy.  I purchased a 1U 10 inch deep server machine a few months ago:
 http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a

 The CPU is a Xeon 3xxx dual core 2.4 GHz.  The machine has no case fans, by
 design.

Which exact Xeon part number is it? You can look up the thermal
specification on Intel's web site:

http://processorfinder.intel.com

Looks like most of the 2.4 GHz Xeons' maximum operating temperature is
65C, but one of them is 85C. So let's hope you have that particular
part (the X3220). :)

Anyway, that should confirm whether it is too hot or not.

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


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Wojciech Puchar

The CPU is a Xeon 3xxx dual core 2.4 GHz.  The machine has no case fans, by
design.


no fans by design?! looks like bad design, intel xeon draw a lot of power.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Wojciech Puchar

As with so many other things in the computer world, it depends. With no case
fans, it's weird that the computer gets colder if it has something above and


no it's not. the machines above and below has proper cooling, and 
transfers this machine heat by conduction - rack cases are mostly metal 
and conduct heat well.

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


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Christian Zachariasen
On Fri, May 9, 2008 at 9:08 AM, Wojciech Puchar 
[EMAIL PROTECTED] wrote:

 As with so many other things in the computer world, it depends. With no
 case
 fans, it's weird that the computer gets colder if it has something above
 and


 no it's not. the machines above and below has proper cooling, and transfers
 this machine heat by conduction - rack cases are mostly metal and conduct
 heat well.


I've very little experience with computers in racks, but if the machines are
actually touching, then yes, this could be the case.

The 65 C temperature a previous poster was talking about is not the maximum
operating temperature for the actual processor, it's the maximum temperature
in the case while the computer is operating. As far as I know CPU
temperatures are measured on the actual processor die, and the case
temperature will normally be *much* lower.

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


JOBUG - Johannesburg BSD User Group?

2008-05-09 Thread Rudi Kramer - MWEB
Hello,

 

I was wondering if we have any South Africa's living in JHB that would
be interested in starting up a BSD user group?

 

Regards
Rudi

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


How to config ipv6 for this instance

2008-05-09 Thread Xiaobo Zhu
Hi,
I have read some tutor and spent hours on configuring ipv6 on my
desktop with FreeBSD, but still can't get it work.
The network administrator only suggested the configuration on windows
xp platform(come as follows), so would any one tell me what should I
do to get it work on FreeBSD.
Many thanks!

// Configurations works on Windows XP
ipv6 install
netsh
netshinterface ipv6 isatap set router 202.112.95.129
netshinterface ipv6 add route ::/0 2 2001:da8:207:1:0:5efe:202.112.95.129
// ifconfig rl0 output
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::21a:92ff:febf:ab3d%rl0 prefixlen 64 scopeid 0x2
inet 172.16.120.226 netmask 0xfe00 broadcast 172.16.121.255
ether 00:1a:92:bf:ab:3d
media: Ethernet autoselect (10baseT/UTP)
status: active

// uname -a output
FreeBSD zhu.net 6.2-RELEASE FreeBSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hdparm equivalent

2008-05-09 Thread Thomas Herzog

hi,

is there a hdparm equivalent tool, to set the power-save or spin-down 
behavior of sata-disk?

or can i to it via sysctl or so?

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


Re: hdparm equivalent

2008-05-09 Thread Vince Hoffman
Thomas Herzog wrote:
 hi,
 
 is there a hdparm equivalent tool, to set the power-save or spin-down
 behavior of sata-disk?
 or can i to it via sysctl or so?
sysutils/ataidle in ports at the moment. I believe atacontrol has grown
some support for this in current.


vince
 
 thanks
 Thomas
 ___
 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: hdparm equivalent

2008-05-09 Thread Thomas Herzog

many thanks for this fast answer.

thomas

Vince Hoffman wrote:

Thomas Herzog wrote:

hi,

is there a hdparm equivalent tool, to set the power-save or spin-down
behavior of sata-disk?
or can i to it via sysctl or so?

sysutils/ataidle in ports at the moment. I believe atacontrol has grown
some support for this in current.


vince

thanks
Thomas
___
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]


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


Re: Apache 2.2.8 + mod_authnz_ldap

2008-05-09 Thread Mel
On Friday 09 May 2008 02:03:01 n j wrote:
 Hello,

 did anyone experience any problems trying to install mod_authnz_ldap
 with Apache 2.2.8 on FreeBSD 6.3?

 I ran into the following trouble:

 mod_authnz_ldap.c:41:2: #error mod_authnz_ldap requires APR-util to
 have LDAP support built in. To fix add --with-ldap to ./configure
 which caused Stop in
 /usr/ports/www/apache22/work/httpd-2.2.8/modules/aaa. *** Error code
 1.

What are you using for apr? The one that comes with apache itself, or the 
devel/apr port?
I found in practice that even though the APR from ports option contains a 
warning, it works better if you have more software depending on apr (i.e., 
subversion) and it's also better manageable with the plugins (in my case 
db4*). F.e., I don't have to rebuild apache, if I want to migrate to the 
latest and greatest db4 minor release.

-- 
Mel

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


slapd won't start with nss_ldap.conf

2008-05-09 Thread Robert Fitzpatrick
On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and
pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf
present, it just hangs and nothing in the messages or debug logs. I just
copied ldap.conf to nss_ldap.conf, see contents below. As soon as I rm
the nss_ldap.conf file, slapd starts without delay, but of course, our
logins, etc. do not work until I re-create the file or symlink to
ldap.conf afterward...

host 127.0.0.1
base dc=example,dc=com
binddn cn=manager,dc=example,dc=com
bindpw secret
nss_base_passwd ou=People,dc=example,dc=com?one
nss_base_shadow ou=People,dc=example,dc=com?one
nss_base_group  ou=group,dc=example,dc=com?one

I have verified all the above to work with simple binds and all is fine
after slapd is started and nss_ldap.conf is in place. I have openldap
working with postfix and cyrus-imapd a long time on this box and now
using with samba for file shares, but have this issue with nss_ldap.conf
and trying to smooth out my boot process. Can someone suggest a solution
or point me to some info for help?

I am also have a hard time getting slapd to start early on boot. I am
using the port install built WITH_RCORDER=yes, but it still starts near
the end of the boot. Is there something more that I need to do and
somewhere to check that WITH_RCORDER=yes in make.conf was applied during
build? Any suggestion from someone experienced would be appreciated.

-- 
Robert

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


Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread n j
 What are you using for apr? The one that comes with apache itself, or the
  devel/apr port?

AFAICT, the one that comes with Apache itself.

It would seem that mod_authnz_ldap required mod_ldap to be compiled in
Apache to work. Having little or no experience at all with Apache +
LDAP combination so far, this was not really straightforward to me.

However, that combined with the (relatively) recent introduction of
OPTIONS to apache22 port leads me to ask the question if the Makefile
OPTIONS framework allows for dependencies (i.e. I mark one, the
framework automatically ticks other options my selection depends on).
Or, in this case, selecting mod_authnz_ldap automatically selects
mod_ldap. From the (scarce) documentation in the Porters Handbook, it
would seem that this is not currently possible, yet it doesn't seem
impossible to invoke another dialog and warn the user about inclusion
of additional options. Can anyone provide some insight into this?

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


Re: ports missing after a upgrade

2008-05-09 Thread Geert Geurts
I cannot find the version anymore because of Xorg being broken and
complains about libxau.so.0 on startup
But I think it must be at the latest version of FreeBSD 6.0.

Greetings,
Geert


On Wed, 2008-05-07 at 13:33 +0100, RW wrote:
 On Wed, 07 May 2008 13:42:00 +0200
 Geert Geurts [EMAIL PROTECTED] wrote:
 
  I was stupid enough to do it in X so it got stuck after some time...
  I killed it and started it again using 
 
 That's not normally a problem.
 
xorg-libraries-7.3_1 /x11/xorg-libraries restoring original port
  from backup
xorg-libraries-7.3_1 /x11/xorg-libraries failed to restore from
  backup
 
 How old was xorg? Have you already been through the 7.2 upgrade?
 
 ___
 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]


Questions from a Total samba Novice.

2008-05-09 Thread Martin McCormick
I just found out that I will need to copy some files
from a FreeBSD system to a Windows shared drive on our network so that
Windows users can have access to the files.

After reading a little documentation and talking to a
cowworker, I was under the impression that this would allow
windows clients to access files on the FreeBSD system, kind of
the reverse of what I wanted. Then I read the man page for the
samba suite and it says:

   smbclient(1)
  The smbclient program implements a simple ftp-like client.  This  is
  useful for accessing SMB shares on other compatible servers (such as
  Windows NT), and can also be used to allow a UNIX box to print to  a
  printer  attached  to  any  SMB server (such as a PC running Windows
  NT).

That sounds like I could push a file across when needed and be
done with it rather than trying to coordinate the remote users
to get the file at some time after I left it in a given
directory.

Is that just wishful thinking or will it work that way
when properly configured? I need to be able to tell others in
this group what is possible and that one little paragraph seems
to say one can copy out from the UNIX box to the shared drive.

Any particular gotchas regarding XP which soon will be
Vista in this neck of the woods?

I apologize for some of the dumb questions as I do not
personally use Windows. I use FreeBSD, Mac and Linux.

We have a huge Windows base on our campus, however, so
for now, I need to export some log files to the Windows world.

Thanks for any useful ideas and for your patience.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread Mel
On Friday 09 May 2008 15:15:05 n j wrote:
  What are you using for apr? The one that comes with apache itself, or the
   devel/apr port?

 AFAICT, the one that comes with Apache itself.

 It would seem that mod_authnz_ldap required mod_ldap to be compiled in
 Apache to work. Having little or no experience at all with Apache +
 LDAP combination so far, this was not really straightforward to me.

If this is a fixed dependency, then it's a bug in the port's Makefile. If it's 
not set in stone (i.e.: mod_authnz_ldap could also work with 
mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill 
the option to use mod_fictional_3rdparty_ldap.

Set in stone would mean, if there is a port mod_fictional_3rdparty_ldap, or 
enough people have complained that they cannot use 
mod_fictional_3rdparty_ldap, even though there's not a port for it.

-- 
Mel

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


Re: Questions from a Total samba Novice.

2008-05-09 Thread Ivan Voras
Martin McCormick wrote:
   I just found out that I will need to copy some files
 from a FreeBSD system to a Windows shared drive on our network so that
 Windows users can have access to the files.
 
   After reading a little documentation and talking to a
 cowworker, I was under the impression that this would allow
 windows clients to access files on the FreeBSD system, kind of
 the reverse of what I wanted. Then I read the man page for the
 samba suite and it says:
 
smbclient(1)
 The smbclient program implements a simple ftp-like client.  This  is
 useful for accessing SMB shares on other compatible servers (such as
 Windows NT), and can also be used to allow a UNIX box to print to  a
 printer  attached  to  any  SMB server (such as a PC running Windows
 NT).
 
 That sounds like I could push a file across when needed and be
 done with it rather than trying to coordinate the remote users
 to get the file at some time after I left it in a given
 directory.
 
   Is that just wishful thinking or will it work that way
 when properly configured? I need to be able to tell others in
 this group what is possible and that one little paragraph seems
 to say one can copy out from the UNIX box to the shared drive.

Hi,

After reading all this I'm still not certain about what do you want to
do. If you are trying to just transfer some files from a FreeBSD machine
to a Windows machine (or in the other direction) once, without much
configuration, smbclient will let you do that. Run it on the FreeBSD
machine and connect to a Windows machine.

If you want to make the FreeBSD machine into a server for Windows
machines (i.e. the files will always be on the FreeBSD machine but
Windows users can access them, i.e. the FreeBSD machine will share
files), then you need to configure Samba properly (edit smb.conf).

   Any particular gotchas regarding XP which soon will be
 Vista in this neck of the woods?

No particular problems. Once configured, Samba works without additional
maintenance.




signature.asc
Description: OpenPGP digital signature


Re: Questions from a Total samba Novice.

2008-05-09 Thread Dimitri Yioulos
On Friday 09 May 2008 9:49 am, Ivan Voras wrote:
 Martin McCormick wrote:
  I just found out that I will need to copy some files
  from a FreeBSD system to a Windows shared drive on our network so that
  Windows users can have access to the files.
 
  After reading a little documentation and talking to a
  cowworker, I was under the impression that this would allow
  windows clients to access files on the FreeBSD system, kind of
  the reverse of what I wanted. Then I read the man page for the
  samba suite and it says:
 
 smbclient(1)
The smbclient program implements a simple ftp-like client.  This  is
useful for accessing SMB shares on other compatible servers (such as
Windows NT), and can also be used to allow a UNIX box to print to  a
printer  attached  to  any  SMB server (such as a PC running Windows
NT).
 
  That sounds like I could push a file across when needed and be
  done with it rather than trying to coordinate the remote users
  to get the file at some time after I left it in a given
  directory.
 
  Is that just wishful thinking or will it work that way
  when properly configured? I need to be able to tell others in
  this group what is possible and that one little paragraph seems
  to say one can copy out from the UNIX box to the shared drive.

 Hi,

 After reading all this I'm still not certain about what do you want to
 do. If you are trying to just transfer some files from a FreeBSD machine
 to a Windows machine (or in the other direction) once, without much
 configuration, smbclient will let you do that. Run it on the FreeBSD
 machine and connect to a Windows machine.

 If you want to make the FreeBSD machine into a server for Windows
 machines (i.e. the files will always be on the FreeBSD machine but
 Windows users can access them, i.e. the FreeBSD machine will share
 files), then you need to configure Samba properly (edit smb.conf).

  Any particular gotchas regarding XP which soon will be
  Vista in this neck of the woods?

 No particular problems. Once configured, Samba works without additional
 maintenance.

If you just want to transfer files to the Win box on an ad hoc, periodic 
basis, why not just set up ssh on your FreeBSD box and use WinSCP on the Win 
box?  Simpler than setting up Samba (though we use it very successfully 
here).

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Questions from a Total samba Novice.

2008-05-09 Thread Wojciech Puchar

  smbclient(1)
  The smbclient program implements a simple ftp-like client.  This  is
  useful for accessing SMB shares on other compatible servers (such as
  Windows NT), and can also be used to allow a UNIX box to print to  a
  printer  attached  to  any  SMB server (such as a PC running Windows
  NT).




smbclient connects to any SMB server (be it Windows or unix or whatever) 
and perform fetch, upload and other operations from command line.


it's good to:

testing your samba setup (if you need)
fetching/uploading files to windoze from unix, if windoze has folder 
sharing enabled.



if you need file server for use with windoze - configure smb.conf properly 
and run samba with


smbd_enable=YES
nmbd_enable=YES


in /etc/rc.conf

and then by

/usr/local/etc/rc.d/samba start (or stop/restart)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bge1: watchdog timeout -- resetting bge1: link state changed to DOWN

2008-05-09 Thread Brian A. Seklecki

On Tue, 2008-05-06 at 23:35 +0300, Indiana Jones wrote:
 If anybody could provide a solid solution, I'd be most grateful.
 
 I have this  box that works as an Internet router and I have two NICs 
 in it, 3com 3C996-SX and 3C996-T, the later is bge1 on which I get 
 this persistent ERROR below, the first one, bge0 is OK!

Welcome to the world of Broadcom.  Imagine our surprise when Dell
started shipping embedded bge(4) and bce(4).

~BAS


 The result of this error is blackouts and instability of the Internet 
 connections!
  
 May  2 14:09:48 GBRT2 kernel: bge1: watchdog timeout -- resetting
 Ma

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


Re: hdparm equivalent

2008-05-09 Thread Wojciech Puchar

atacontrol


On Fri, 9 May 2008, Thomas Herzog wrote:


hi,

is there a hdparm equivalent tool, to set the power-save or spin-down 
behavior of sata-disk?

or can i to it via sysctl or so?

thanks
Thomas
___
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: Questions from a Total samba Novice.

2008-05-09 Thread Stephen Allen

(forgot to send to list the first time)



Hi Martin,

You don't need samba if all you want to do is copy files from FreeBSD to 
a Windows system.  The easiest way to do it is to mount an existing 
Windows share, on FreeBSD.  This will give you access to the Windows 
share, but nothing is shared out on your FreeBSD box.


Let's assume you have a non-protected share (called MYSHARE) on a 
Windows server called FRED.  Let's also assume you have prepared a mount 
point on FreeBSD for this share, called /mnt/fred.


All you need to do is:

 $ mount -t smbfs //FRED/MYSHARE /mnt/fred

If you need to specify a username/password combo to access the share, try:

 $ mount -t smbfs //[EMAIL PROTECTED]/MYSHARE /mnt/fred

You will need to input a password, but if you want to save the password 
so it's used automatically, use /etc/nsmb.conf (see the man page), but 
here's an example.


 [SNAP-CMS]
 addr=192.168.0.4
 [SNAP-CMS:BACKUP]
 password=$$14b5d4732371b1c00e5d2f5cd96

The hashed password was created by using 'smbutil crypt' and inputting 
the real password (see the man page).


Obviously you need to make sure the permissions on /etc/nsmb.conf are 
secure.


If you want it to automount at startup, then /etc/fstab could contain:

 //[EMAIL PROTECTED]/MYSHARE  /mnt/fred  smbfs  rw  0 0


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


Re: Questions from a Total samba Novice.

2008-05-09 Thread Warren Block

On Fri, 9 May 2008, Martin McCormick wrote:


I just found out that I will need to copy some files
from a FreeBSD system to a Windows shared drive on our network so that
Windows users can have access to the files.


Some alternatives have been mentioned, but you might also consider 
mount_smbfs(8).


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions from a Total samba Novice.

2008-05-09 Thread Gerard
On Fri, 9 May 2008 16:40:01 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 smbclient connects to any SMB server (be it Windows or unix or
 whatever) and perform fetch, upload and other operations from command
 line.
 
 it's good to:
 
 testing your samba setup (if you need)
 fetching/uploading files to windoze from unix, if windoze has folder 
 sharing enabled.
 
 
 if you need file server for use with windoze - configure smb.conf
 properly and run samba with
 
 smbd_enable=YES
 nmbd_enable=YES
 
 
 in /etc/rc.conf
 
 and then by
 
 /usr/local/etc/rc.d/samba start (or stop/restart)

You only need: samba_enable=YES in the /etc/rc.conf file to make
samba start automatically upon reboot, or even if it is started
manually for that matter.

If you need 'windbindd, that is enabled separately.

If you need shares mounted automatically, you can put them in
the /etc/fstab file. See the Samba documentation or subscribe to the
Samba list.

-- 
Gerard
[EMAIL PROTECTED]

Did you know that clones never use mirrors?

Ambrose Bierce, The Devil's Dictionary


signature.asc
Description: PGP signature


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Jerry McAllister
On Fri, May 09, 2008 at 08:10:40AM +0200, Christian Zachariasen wrote:

 On Fri, May 9, 2008 at 4:55 AM, Nerius Landys [EMAIL PROTECTED] wrote:
 
  Howdy.  I purchased a 1U 10 inch deep server machine a few months ago:
 
  http://www.abmx.com/1u-10inch-deep-supermicro-mini-server-p-366.html?osCsid=80f3951929d5a7ae27a51733627ee18a
 
  The CPU is a Xeon 3xxx dual core 2.4 GHz.  The machine has no case fans, by
  design.
 
  It's sitting in a well-ventilated rack in a data center.  Oddly, when there
  are no machines below and above it, the machine gets hotter.  Seems that
  machines above and below help to cool it down.  I have the coretemp
  kernel
  module loaded on the FreeBSD 7.0 OS, and I saw that the CPU core temp(s)
  hit
  70 degrees Celsius during a compile of GCC.  Is this too hot?  Should I
  complain to the people who assembled the computer?  At the time this
  happened there were supposedly no surrounding machines.  This machine has
  given me no problems.  At idle when conditions are good (meaning A/C is
  working properly and there are machines above and below it) my CPU temps
  are
  below 40.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 As with so many other things in the computer world, it depends. With no case
 fans, it's weird that the computer gets colder if it has something above and
 underneath it. But there are so many factors when it comes to case
 temperatures and air flow that it's nearly impossible to tell why. If
 there's a huge cooler on top of the Xeon (Processor wind tunnel), then it
 could be that closing the ventilation holes in the top and bottom of the
 case makes the air flow more directly from the front to the back of the
 case.

Could be or some other bernouli/venturi effect.
Many systems will get hot when the cabinet is opened because
it breaks the airflow path in some way.

jerry


 
 It seems the Xeon shuts down the system automatically if it reaches 105 C. I
 don't know if this is any pointer to what a reasonable 100% load-temperature
 could be, but I know processors nowadays run much cooler than they used to.
 (I'm used to AMD Athlons on or above 70 C idle)
 
 I'd say you should be fine if you haven't seen any instability at 70 C with
 100% load.
 
 You could try this if you want to be sure:
 
 ---
 On Tue, Feb 28, 2006 at 12:27:07PM -0800, Don O'Neil wrote:
  What is the best way to 'burn in' or 'stress test' a new system w/
 FreeBSD?
  I'd like to stress test the CPU, Memory, Disk, etc.. To make sure the
  hardware is 100% good before putting it in production.
 
 Doing something like a buildworld -j64 loop (if you have enough
 memory, otherwise reduce -j level to avoid swapping) is going to
 exercise your system a fair bit.
 
 Kris
 ---
 
 
 Regards,
 Christian Zachariasen
 ___
 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]


FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Good morning.

I recently upgraded our two email gateways from 4.8 to 6.2. The required 
software was upgraded as well which consists of MailScanner and 
Sendmail. Both had been keep up to date so it was not a jump in required 
resources.


The issue I am seeing is that my server load, under the same traffic 
load, has increased 4 times or more. Where previously we saw a high load 
on the servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade 
Sendmail has begun to timeout connections.


I have been digging through the system, mail lists, forums, anything to 
help determine the cause of the increased load. Here are some examples 
of what I am seeing.


bash-2.05b# vmstat -w2
 procs  memory  pagedisks faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr da0 da1   in   sy  cs us 
sy id
12 5 0 2234516 199864  772   4   0   4 431 447   0   0  485  564 927 29 
 4 67
11 6 0 2229788 181352 8631   0   0   0 5597   0   0   0  294 2592 1236 
45  5 50
 9 5 0 2227208 168144 6456   0   0   0 4607   0   2   0  278 1333 898 
46  4 50
11 5 0 2229068 175868 5164   0   0   0 5423   0   0   0  212  766 541 47 
 3 50
14 7 0 1948392 236296 8136   0   0   0 12382   0  14   0  368 4135 1504 
42  8 50
 4 3 2 1744620 321024 7550   0   0   0 13454   0  23   6  752 11417 
3919 42  8 50
12 5 0 1951788 258944 12490   0   0   0 11295   0   0   5  727 18566 
4844 40 10 50
16 6 0 2155668 214324 8231   0   0   0 4230   0   1  29  724 15531 4381 
41  9 50
 8 6 1 2044828 242084 4567   0   0   0 9119   0   0  12  774 12196 3225 
43  7 50



bash-2.05b# top
last pid: 85205;  load averages: 12.89, 13.78, 14.66 
 up 
47+15:51:31  15:20:01

126 processes: 12 running, 79 sleeping, 35 zombie
CPU states: 43.8% user,  0.0% nice,  6.3% system,  0.0% interrupt, 50.0% 
idle

Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M Free
Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse

I am suspicious of the kernel being the culprit because the system looks 
as if it is not working very hard, CPU load never shows above 50% idle. 
I found one thread which mentions that as an issue and offers a patch.


http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html

Currently I am running the SMP-GENERIC kernel and sysctl shows the 
following.


hw.model: Intel(R) Xeon(TM) CPU 2.40GHz
machdep.hlt_logical_cpus: 0
machdep.hyperthreading_allowed: 0
kern.smp.cpus: 4
I see dev.cpu.0 through dev.cpu.3

Can anyone offer a solution? Is this a known issue I can easily correct? 
At this point I am left with either rolling back to 4.11 or trying 
another OS.


I am thinking I have missed something obvious and I need to make a 
sysctl change to get the system working properly. Any help is 
appreciated, I'm losing mail.


Thanks,

Dave

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Makefile OPTIONS (was: Re: Apache 2.2.8 + mod_authnz_ldap)

2008-05-09 Thread n j
 If this is a fixed dependency, then it's a bug in the port's Makefile. If it's
  not set in stone (i.e.: mod_authnz_ldap could also work with
  mod_fictional_3rdparty_ldap), then applying the logic you suggest, would kill
  the option to use mod_fictional_3rdparty_ldap.

  Set in stone would mean, if there is a port mod_fictional_3rdparty_ldap, or
  enough people have complained that they cannot use
  mod_fictional_3rdparty_ldap, even though there's not a port for it.

It seems that the main problem arises from usage of OPTIONS.

If I had specified WITH_LDAP_MODULES (a category), both modules (ldap
and authnz_ldap) would have been included. If I had specified
WITH_LDAP, according to 'make show-options', it would have implied the
option WITH_LDAP_MODULES. However, when modules are selected through
OPTIONS dialog, AUTHNZ_LDAP means just AUTHNZ_LDAP and LDAP means just
LDAP.

Theoretically, this is not an error in port's Makefile, rather
something that gives even more flexibility to the user. However, the
same can't be said for user-friendliness. And to comment on your
message, I see no other LDAP-related options in Apache which would
make this a fixed dependency.

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


Re: Questions from a Total samba Novice.

2008-05-09 Thread Martin McCormick
Warren Block writes:
Some alternatives have been mentioned, but you might also consider 
mount_smbfs(8).

I hope I managed to thank each of you who responded as I
feel like I know where I need to go next thanks to all the great
suggestions.

I would have had to enabled nfs client if using
mount_smbfs, correct?

When I built the system in question, I did not enable
nfs capabilities and don't really want to if I can avoid doing
so.

It sounds like smbclient fits the bill for now, but
thanks to all of you for making things more clear. 

It seems that /usr/ports/net/samba3 gives one a whole
boatload of possibilities.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions from a Total samba Novice.

2008-05-09 Thread Stephen Allen

Hi Martin,


I would have had to enabled nfs client if using
mount_smbfs, correct?


Nopes - stick to using the mount command.  Depending on the filesystem 
you specify (with the -t option), it will call the relevant mount 
command itself (eg. mount_smbfs, mount_nfs).



When I built the system in question, I did not enable
nfs capabilities and don't really want to if I can avoid doing
so.


You don't need it.


It sounds like smbclient fits the bill for now, but
thanks to all of you for making things more clear. 


It seems that /usr/ports/net/samba3 gives one a whole
boatload of possibilities.


Although installing samba will give you smbclient and a load of other 
things, if you don't need them I wouldn't install it.  From what you've 
previously explained, everything can be done with the (already supplied) 
mount command.


Steve :)

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


How to get best results from FreeBSD-questions

2008-05-09 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2008-05-09 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Matthew Seaman

DAve wrote:

Good morning.

I recently upgraded our two email gateways from 4.8 to 6.2. The required 
software was upgraded as well which consists of MailScanner and 
Sendmail. Both had been keep up to date so it was not a jump in required 
resources.


The issue I am seeing is that my server load, under the same traffic 
load, has increased 4 times or more. Where previously we saw a high load 
on the servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade 
Sendmail has begun to timeout connections.


FreeBSD 6.2 is I believe slower than 4.11 for single processor systems
and processes which pretty much run single threaded -- ie. exactly what
you're trying to run.  This would cause exactly the sort of symptoms you're
seeing.

Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core
type stuff but has also regained the sort of performance levels you could
get from 4.x at the sort of tasks 4.x is really good at.  You should evaluate
SCHED_4BSD vs. SCHED_ULE for your workload.  SCHED_4BSD is still the default
in 7.0, but SCHED_ULE gives better numbers for many workloads, and it only
missed being the default in 7.0 because it hadn't had enough time to settle
into the tree before the release.  SCHED_ULE will be the default from 7.1
onwards.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Chuck Swiger

On May 9, 2008, at 8:54 AM, DAve wrote:
The issue I am seeing is that my server load, under the same traffic  
load, has increased 4 times or more. Where previously we saw a high  
load on the servers of 5 to 8, we are now seeing 14 to 17. Since the  
upgrade Sendmail has begun to timeout connections.


You should look more into the status of the various processes, and how  
long it takes your mail scanning to process a message compared to  
previously.  It might be the case that the config under 6.2 is  
allowing more instances to run at once and is just barely nudging the  
system into excessive paging.  Once that happens, performance drops  
and the system load increases significantly.


Do a couple of ps aux | head -20 every 5 minutes or so, and put that  
data somewhere on a website, the process states will help give a  
better picture of what's going on.


[ ... ]

bash-2.05b# top
last pid: 85205;  load averages: 12.89, 13.78,  
14.66   
up 47+15:51:31  15:20:01

126 processes: 12 running, 79 sleeping, 35 zombie
CPU states: 43.8% user,  0.0% nice,  6.3% system,  0.0% interrupt,  
50.0% idle
Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M  
Free

Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse

I am suspicious of the kernel being the culprit because the system  
looks as if it is not working very hard, CPU load never shows above  
50% idle. I found one thread which mentions that as an issue and  
offers a patch.


http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html

Currently I am running the SMP-GENERIC kernel and sysctl shows the  
following.


hw.model: Intel(R) Xeon(TM) CPU 2.40GHz
machdep.hlt_logical_cpus: 0
machdep.hyperthreading_allowed: 0
kern.smp.cpus: 4
I see dev.cpu.0 through dev.cpu.3

Can anyone offer a solution? Is this a known issue I can easily  
correct? At this point I am left with either rolling back to 4.11 or  
trying another OS.


It might be reasonable to try hyperthreading enabled, as your type of  
load might be improved by it on


--
-Chuck

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


correct #define in source to specify FBSD vs. linux?

2008-05-09 Thread Steve Franks
On and on I charge porting linux engineering tools.  Major pita.  I
see a bunch of #ifdef __APPLE__ lines to pull in alternate headers;
what's the equiv for FreeBSD?

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


Re: correct #define in source to specify FBSD vs. linux?

2008-05-09 Thread Chuck Swiger

On May 9, 2008, at 10:56 AM, Steve Franks wrote:

On and on I charge porting linux engineering tools.  Major pita.  I
see a bunch of #ifdef __APPLE__ lines to pull in alternate headers;
what's the equiv for FreeBSD?


__FreeBSD__

You might find the output of touch foo.h ; cpp -dM fooo.h  
interesting...


--
-Chuck

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


mounting linux partitions

2008-05-09 Thread Isaac Mushinsky
I have installed a linux distro on a partition of my machine (latest
Mandriva i686, default installation). I only need it to use a piece of
software for Nikon Coolscan IV film scanner (yes, sane works, but a cheap
commercial package called vuescan has better interface and uses some
hardware features like infrared channel that sane does not support, at least
in current stable version).

Now I would like to mount ext3 partition from FreeBSD at least for reading,
or vice versa, UFS2 from linux for writing. With kernel option EXT2FS, I can


$ mount -t etx2fs /dev/ad12s7 /linux

but then if I do

$ ls /linux

I get a 'Bad file descriptor' for directory /linux. e2fsprogs are installed,
and fsck.ext2 or fsck.ext3 think well of the partition. Also, df seems to
show it correctly, with size and free space.

I have FreeBSD 7.0 for amd64, Linux is 32-bit version. Also the partition is
'extended', i.e. fdisk on FreeBSD shows a DOS partition, but linux's fdisk
shows a couple of ext3 partitions. However, /dev/ad12s7 does correspond to
the correct linux partition and, when mounted, df shows the right size and
utilization.

Any advice how to share a partition between these 2 systems? I only want to
use linux to scan the film and store the pictures on disk, then boot into
FreeBSD where I spend most of my life as a user. I feel more comfortable
pulling from FreeBSD rather than pushing to it because (1) it is easier for
me to recompile FreeBSD kernel or install packages if necessary, and (2) I
would mind much less a corruption on the linux partition than on UFS; I can
simply reinstall the default installation for Linux, but FreeBSD has
important data and is finely tuned for me over the years.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Wojciech Puchar
software was upgraded as well which consists of MailScanner and Sendmail. 
Both had been keep up to date so it was not a jump in required resources.


The issue I am seeing is that my server load, under the same traffic load, 
has increased 4 times or more. Where previously we saw a high load on the 
servers of 5 to 8, we are now seeing 14 to 17. Since the upgrade Sendmail has 
begun to timeout connections.


do you feel that system goes slower?
i think it's just the matter of calculation method - 6.* may calculate it 
different way.


just change in your sendmail config the values in place of xx

define(`confQUEUE_LA', `xx')
define(`confREFUSE_LA', `xx')


as just accepting mail isn't a problem i set confREFUSE_LA very high
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Wojciech Puchar

FreeBSD 6.2 is I believe slower than 4.11 for single processor systems
and processes which pretty much run single threaded -- ie. exactly what
you're trying to run.  This would cause exactly the sort of symptoms you're
seeing.


and what most unix users do.


Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core
type stuff but has also regained the sort of performance levels you could


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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Chuck Swiger

On May 9, 2008, at 11:30 AM, Wojciech Puchar wrote:
Try 7.0 instead -- it has all of the speed at multi-threaded, multi- 
core
type stuff but has also regained the sort of performance levels you  
could


so 4.11 is fastest?


For single-processor systems, FreeBSD 4.11 does very well at a lot of  
tasks.  However, Dave apparently has a 4-CPU system (~8 threads if he  
enabled hyperthreading), and for real SMP hardware, more recent  
versions of FreeBSD generally perform better than 4.x would.


--
-Chuck

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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Wojciech Puchar wrote:
software was upgraded as well which consists of MailScanner and 
Sendmail. Both had been keep up to date so it was not a jump in 
required resources.


The issue I am seeing is that my server load, under the same traffic 
load, has increased 4 times or more. Where previously we saw a high 
load on the servers of 5 to 8, we are now seeing 14 to 17. Since the 
upgrade Sendmail has begun to timeout connections.


do you feel that system goes slower?
i think it's just the matter of calculation method - 6.* may calculate 
it different way.


just change in your sendmail config the values in place of xx

define(`confQUEUE_LA', `xx')
define(`confREFUSE_LA', `xx')


as just accepting mail isn't a problem i set confREFUSE_LA very high


It is already set to higher than the load we see. I don't see sendmail 
refusing connections. What happens is I try to test sendmail from 
another server and the connection never completes. I'm knockin', 
sendmail ain't answering.


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Wojciech Puchar wrote:

FreeBSD 6.2 is I believe slower than 4.11 for single processor systems
and processes which pretty much run single threaded -- ie. exactly what
you're trying to run.  This would cause exactly the sort of symptoms 
you're

seeing.


and what most unix users do.


Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core
type stuff but has also regained the sort of performance levels you could


so 4.11 is fastest?


I would be inclined to try another version if I knew what the cause of 
this issue was exactly, and I saw in the release notes that the issue 
was resolved in 7.X. But I cannot just try a new version on a production 
server as an experiment. I've hosed this up enough thinking 6.2 was out 
long enough to not surprise me.


I've not compared them on any server running multiple CPUs, but on a 
single physical CPU server I've yet to see 5.X or 6.X keep up with 4.X. 
I've been poo poo'd heartily for saying so, more than once.


I would hope, and I do think, this is easily solved. I've already had 
one private email stating a binary upgrade to 6.3 solved the same 
problem for them. I wish I could find that email again 8^(


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [SSHd] Increasing wait time?

2008-05-09 Thread Christian Laursen
Peter Boosten [EMAIL PROTECTED] writes:

 No, I was more thinking of:

 ssh -L :your.own.host:22 [EMAIL PROTECTED]

 and then open a new shell:

 scp -P  the-file-you-want-to-copy [EMAIL PROTECTED]:

 This works easiest with agent forwarding, but I guess any
 authentication will do.

It is also worth taking a look at the ProxyCommand option.

For the case above something like this should be put in ~/.ssh/config:

Host your.own.host-tunneled
  HostKeyAlias your.own.host
  ProxyCommand ssh [EMAIL PROTECTED] nc your.own.host 22

The you can just do ssh your.own.host-tunneled and go through
your.friends.host transparently.

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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Chuck Swiger wrote:

On May 9, 2008, at 11:30 AM, Wojciech Puchar wrote:

Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core
type stuff but has also regained the sort of performance levels you 
could


so 4.11 is fastest?


For single-processor systems, FreeBSD 4.11 does very well at a lot of 
tasks.  However, Dave apparently has a 4-CPU system (~8 threads if he 
enabled hyperthreading), and for real SMP hardware, more recent versions 
of FreeBSD generally perform better than 4.x would.


Single CPU quad core.

ps -aux output is up, look under the FBSD dir. I also put up both 
dmesg.boot files from the servers.


http://pixelhammer.com/Dan/

I do appreciate the assistance.

DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports missing after a upgrade

2008-05-09 Thread RW
On Fri, 09 May 2008 15:24:03 +0200
Geert Geurts [EMAIL PROTECTED] wrote:

 I cannot find the version anymore because of Xorg being broken and
 complains about libxau.so.0 on startup
 But I think it must be at the latest version of FreeBSD 6.0.


In that case you should read the 20070519 entry in /usr/ports/UPDATING
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


growisofs: inapropriate ioctl for device

2008-05-09 Thread Steve Franks
I get the following from growisofs -Z/dev/acd0=image.iso:

:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

My burner was previously installed in my 6.3 amd64 system without issues.

dmesg reports (after growisofs fails):

...
acd0: DVDR NEC DVD RW ND-3500AG/2.16 at ata0-master UDMA33
...
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x06
acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x20 ascq=0x00
acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x26 ascq=0x00
sks=0x00 0x00 0x07
...

I have atapicam loaded.

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


Re: growisofs: inapropriate ioctl for device

2008-05-09 Thread Josh Carroll
On Fri, May 9, 2008 at 4:31 PM, Steve Franks [EMAIL PROTECTED] wrote:
 I get the following from growisofs -Z/dev/acd0=image.iso:

:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device


Use /dev/cd0, not /dev/acd0.

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


freebsd7 on older machines

2008-05-09 Thread prad
i can't seem to boot the cdrom on older hardware (500MHz and down).
i read somewhere that the older drives aren't supported by the
installation cdrom.

i want to create a series of 'dumb terminals' which can ssh -Y into a
faster machine. if necessary i suppose i can floppy in and then install
via nfs. or i can setup the hd on another machine that does support the
install cdrom and then transfer to the older machine.

here are the specific questions:

1. do older machines work better with older versions of freebsd?
2. if i dd a hd (with freebsd) onto another hd will i have a problem
with the mbr and be unable to boot?
3. are there any other ideas for install? 

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slapd won't start with nss_ldap.conf

2008-05-09 Thread Jonathan McKeown
On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote:
 On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and
 pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf
 present, it just hangs and nothing in the messages or debug logs. I just
 copied ldap.conf to nss_ldap.conf, see contents below.

To try and identify the problem, can I ask - when you say slapd doesn't start, 
how long have you waited?

There is a chicken-and-egg problem with slapd on a host which is running 
nss_ldap. To start a process, the system has to adopt the user and group 
privileges of the process owner, which means enumerating all the groups for 
that user from every source of group information - including LDAP on a system 
running nss_ldap.

So, to start slapd, the system needs the group info for user ldap - from 
slapd. It times out and retries a few times, and eventually starts slapd 
using the group information from /etc/passwd and /etc/group, but the timeout 
and retry options by default take several minutes.

The delay can be even longer depending how many other services are being 
started first and therefore how many nss_ldap lookup timeouts occur during 
boot.

There are a number of possible solutions depending which version of nss_ldap 
you're running - searching for nss_ldap bind_policy nss_reconnect_tries will 
produce a number of suggestions and ``problem reports''.

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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Chuck Swiger

On May 9, 2008, at 11:55 AM, DAve wrote:
For single-processor systems, FreeBSD 4.11 does very well at a lot  
of tasks.  However, Dave apparently has a 4-CPU system (~8 threads  
if he enabled hyperthreading), and for real SMP hardware, more  
recent versions of FreeBSD generally perform better than 4.x would.


Single CPU quad core.


OK.

ps -aux output is up, look under the FBSD dir. I also put up both  
dmesg.boot files from the servers.


MailScanner is what is taking up all of the load; tuning that area is  
where you need to focus.


Things which come to mind are trying to limit the max number of  
children of that being run to something smaller, perhaps 8 or so.   
Yes, they recommend running 5 * #CPUs, but they also think their  
instances are going to be around 20MB in size, but yours are running  
at 100+ MB size.


You might find that running sa-update and sa-compile nightly might  
improve your SpamAssassin performance; I've got a crontab setup which  
runs the following nightly:


% cat /usr/local/bin/update-spamassassin
#! /bin/sh

PATH=$PATH:/usr/local/bin

sa-update --allowplugins --gpgkey  
D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel  
saupdates.openprotect.com --channel updates.spamassassin.org

sa-compile

kill -HUP `cat /var/run/vscan/spamd.pid`

(If you aren't running spamd because MailScanner uses builtin  
interface to SpamAssassin, comment out the last line.  But do check  
the sa-compile docs, you have to make a change for it to be used)


Regards,
--
-Chuck

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


Re: slapd won't start with nss_ldap.conf

2008-05-09 Thread Robert Fitzpatrick
On Fri, 2008-05-09 at 22:44 +0200, Jonathan McKeown wrote:
 On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote:
  On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and
  pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf
  present, it just hangs and nothing in the messages or debug logs. I just
  copied ldap.conf to nss_ldap.conf, see contents below.
 
 So, to start slapd, the system needs the group info for user ldap - from 
 slapd. It times out and retries a few times, and eventually starts slapd 
 using the group information from /etc/passwd and /etc/group, but the timeout 
 and retry options by default take several minutes.
 

Seems my core problem is something wrong with the openldap setup on that
box. I had taken the slave ldap server up to 2.3.41 and it was not
having this slapd/nss_ldap startup problem. I don't know if it is bad
with a synrepl slave earlier version that the master, but I just didn't
want to mess with the master until it proved OK and all seems perfectly
great on the slave except my boot order issue

Thanks for the response, and yes, the openldap list owner finally
rejected my message and gave me the pointer to start slapd with the
owner and group by id instead of name. After reading the start script to
get the owner and group by id in the rc.conf file, I am now starting the
process in that way. While doing that I realize that I can handle boot
order by name of the file and gave it a prefix of 001. I will test my
changes tomorrow when I go on site to replace a UPS. If all goes well on
the slave, I'll upgrade the master and see if my pesky nss_ldap issue
goes away. And, yes, I was only waiting the length of time it normally
took when the nss_ldap.conf file was missing, few seconds max.

-- 
Robert

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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Chuck Swiger wrote:

On May 9, 2008, at 11:55 AM, DAve wrote:
For single-processor systems, FreeBSD 4.11 does very well at a lot of 
tasks.  However, Dave apparently has a 4-CPU system (~8 threads if he 
enabled hyperthreading), and for real SMP hardware, more recent 
versions of FreeBSD generally perform better than 4.x would.


Single CPU quad core.


OK.

ps -aux output is up, look under the FBSD dir. I also put up both 
dmesg.boot files from the servers.


MailScanner is what is taking up all of the load; tuning that area is 
where you need to focus.


Things which come to mind are trying to limit the max number of children 
of that being run to something smaller, perhaps 8 or so.  Yes, they 
recommend running 5 * #CPUs, but they also think their instances are 
going to be around 20MB in size, but yours are running at 100+ MB size.


You might find that running sa-update and sa-compile nightly might 
improve your SpamAssassin performance; I've got a crontab setup which 
runs the following nightly:


% cat /usr/local/bin/update-spamassassin
#! /bin/sh

PATH=$PATH:/usr/local/bin

sa-update --allowplugins --gpgkey 
D1C035168C1EBC08464946DA258CDB3ABDE9DC10 --channel 
saupdates.openprotect.com --channel updates.spamassassin.org

sa-compile

kill -HUP `cat /var/run/vscan/spamd.pid`

(If you aren't running spamd because MailScanner uses builtin interface 
to SpamAssassin, comment out the last line.  But do check the sa-compile 
docs, you have to make a change for it to be used)


Regards,


I appologize I should have given more info.

We do run sa-update, and sa-compile. We also run 0 scores on most DNSBL 
tests as we run those at the mta level along with milter-greylist, 
milter-ahead, pipelining rejection, and greet pause. We have been 
running a very trimmed down and fine tuned system for about two years 
now with good results. I do think the upgrade to SA 3.2.4 is very heavy, 
considerably more resource usage than 3.1.8 which we were running prior 
to the OS upgrade.


I have not changed the settings for MailScanner from our previous 
install with respect to number of children or to batch size. Previous 
testing showed that 13 MS children with a batch size of 10 messages was 
optimal. I can certainly give that a try.  I will look at enabling 
Hyperthreading as well.


I've also found this, which may be a clue to the suggestion that a 
binary upgrade to 6.3 was a solution.


DAve
http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070986.html

--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slapd won't start with nss_ldap.conf

2008-05-09 Thread Jonathan McKeown
On Friday 09 May 2008 23:09, Robert Fitzpatrick wrote:
 On Fri, 2008-05-09 at 22:44 +0200, Jonathan McKeown wrote:
  On Friday 09 May 2008 14:36, Robert Fitzpatrick wrote:
   On a FreeBSD 6.1 with openldap-server-2.3.39, I have setup nss_ldap and
   pam_ldap, but cannot get slapd to start as long as I have nss_ldap.conf
   present, it just hangs and nothing in the messages or debug logs. I
   just copied ldap.conf to nss_ldap.conf, see contents below.
 
  So, to start slapd, the system needs the group info for user ldap - from
  slapd. It times out and retries a few times, and eventually starts slapd
  using the group information from /etc/passwd and /etc/group, but the
  timeout and retry options by default take several minutes.

 Seems my core problem is something wrong with the openldap setup on that
 box. I had taken the slave ldap server up to 2.3.41 and it was not
 having this slapd/nss_ldap startup problem. I don't know if it is bad
 with a synrepl slave earlier version that the master, but I just didn't
 want to mess with the master until it proved OK and all seems perfectly
 great on the slave except my boot order issue

It depends what else you upgraded while changing the openldap server. Earlier 
versions of nss_ldap had much shorter timeouts, I believe, which means the 
problem only manifested itself after a certain version of nss_ldap.

 Thanks for the response, and yes, the openldap list owner finally
 rejected my message and gave me the pointer to start slapd with the
 owner and group by id instead of name. After reading the start script to
 get the owner and group by id in the rc.conf file, I am now starting the
 process in that way. While doing that I realize that I can handle boot
 order by name of the file and gave it a prefix of 001.

Errr, not sure what you're talking about here: man rcorder will tell you the 
normal way to control startup order on a recent FreeBSD. I think you'd have 
to be doing something rather unusual to force the old behaviour you seem to 
be talking about... As far as starting up with a numeric id rather than a 
user name, I'm not sure that will stop the lookup of group information which 
is actually causing the problem.

Good luck.

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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread DAve

Chuck Swiger wrote:

On May 9, 2008, at 8:54 AM, DAve wrote:
The issue I am seeing is that my server load, under the same traffic 
load, has increased 4 times or more. Where previously we saw a high 
load on the servers of 5 to 8, we are now seeing 14 to 17. Since the 
upgrade Sendmail has begun to timeout connections.


You should look more into the status of the various processes, and how 
long it takes your mail scanning to process a message compared to 
previously.  It might be the case that the config under 6.2 is allowing 
more instances to run at once and is just barely nudging the system into 
excessive paging.  Once that happens, performance drops and the system 
load increases significantly.


Do a couple of ps aux | head -20 every 5 minutes or so, and put that 
data somewhere on a website, the process states will help give a better 
picture of what's going on.


[ ... ]

bash-2.05b# top
last pid: 85205;  load averages: 12.89, 13.78, 
14.66  up 
47+15:51:31  15:20:01

126 processes: 12 running, 79 sleeping, 35 zombie
CPU states: 43.8% user,  0.0% nice,  6.3% system,  0.0% interrupt, 
50.0% idle

Mem: 1008M Active, 582M Inact, 211M Wired, 78M Cache, 112M Buf, 122M Free
Swap: 4096M Total, 304M Used, 3792M Free, 7% Inuse

I am suspicious of the kernel being the culprit because the system 
looks as if it is not working very hard, CPU load never shows above 
50% idle. I found one thread which mentions that as an issue and 
offers a patch.


http://lists.freebsd.org/pipermail/freebsd-bugs/2007-February/022526.html

Currently I am running the SMP-GENERIC kernel and sysctl shows the 
following.


hw.model: Intel(R) Xeon(TM) CPU 2.40GHz
machdep.hlt_logical_cpus: 0
machdep.hyperthreading_allowed: 0
kern.smp.cpus: 4
I see dev.cpu.0 through dev.cpu.3

Can anyone offer a solution? Is this a known issue I can easily 
correct? At this point I am left with either rolling back to 4.11 or 
trying another OS.


It might be reasonable to try hyperthreading enabled, as your type of 
load might be improved by it on




Funny that, enabling hyperthreading immediately dropped my load by half, 
I see CPU0, CPU1, CPU2, CPU3 now in top. I also see my CPU load 
reporting correctly as well. I see ranges from 10% idle to 80% idle, not 
locked at 50% and above.


That seems to have cured several ills. I will know more Monday at 8:30am 
when the business email traffic kicks in.


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd7 on older machines

2008-05-09 Thread Manolis Kiagias



prad wrote:

i can't seem to boot the cdrom on older hardware (500MHz and down).
i read somewhere that the older drives aren't supported by the
installation cdrom.

i want to create a series of 'dumb terminals' which can ssh -Y into a
faster machine. if necessary i suppose i can floppy in and then install
via nfs. or i can setup the hd on another machine that does support the
install cdrom and then transfer to the older machine.

here are the specific questions:

1. do older machines work better with older versions of freebsd?
2. if i dd a hd (with freebsd) onto another hd will i have a problem
with the mbr and be unable to boot?
3. are there any other ideas for install? 

  


You may have old motheboards (or BIOS) that do not support el-torito (no 
emulation) boot, i.e. they can only boot from CD like a floppy (think 
Windows 98 CD boot). In this case booting from floppies will allow you 
to start (installation will continue from CD). It is not fast, but it 
works. A friend of mine is running a 6.3-RELEASE (obviously console 
only) on a 200 Mhz Pentium with 48Mb or RAM. It performs reasonably well 
for this spec (as long as you don't compile anything). I once installed 
6.1 on a Pentium Pro, 64Mb RAM using floppies + CD, it worked. Even got 
X running!
I have successfully installed 7.0 on an AMD K6-2 500Mhz -  had to 
disable ACPI or weird things would happen. Haven't tried any lower spec 
machine with 7. As for your questions:


1. I guess some newer versions may not work at all with very old 
hardware. Not something I tested though. Look at the hardware release 
notes for minimum requirements.


2. Sorry, never tried it

3. Connect the hard disk to a newer machine, install there and transfer 
to the older one. There are good chances of success. If the machine is 
really old, you may need to disable acpi during startup for everything 
to work properly.

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


Re: FBSD 6.2 Xeon 2.4ghz CPU and high load

2008-05-09 Thread Matthew Seaman

Wojciech Puchar wrote:

FreeBSD 6.2 is I believe slower than 4.11 for single processor systems
and processes which pretty much run single threaded -- ie. exactly what
you're trying to run.  This would cause exactly the sort of symptoms 
you're

seeing.


Actually I was mistaken: I saw 4.11 and 2.4GHz Xeon and assumed the OP was using
2004-era hardware.  The whole Quad Core thing just didn't register.


and what most unix users do.


It is what a lot of unix users have done historically, but now that there is 
good
support coming through for highly threaded, parallelized applications, 
developers
are going to write more and users are going to run more applications that 
exploit
that.

It's not a Unix way versus Other OS Way thing -- its a response to the 
change
in direction hardware development has taken over the past several years.   Chip
manufacturers have all but given up on the race to outdo each other on the MHz
or GHz rating of their products.  Nowadays it's all about how many CPU cores and
how much cache RAM there is on each chip.  4 cores and 8MB is just the latest
step in that evolutionary arms race.  


Try 7.0 instead -- it has all of the speed at multi-threaded, multi-core
type stuff but has also regained the sort of performance levels you could


so 4.11 is fastest?


It depends very much on the application load you have to support and the sort
of hardware you have available.  For the sort of multicore chips that are all 
the
rage nowadays, I'd go with 7.0 every time, even running single threaded
applications.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread xSAPPYx
Also something to keep in mind, most (all?) new procs have thermal
cuttoffs that will kill themselves before any damage happens. If you
box hasn't shut down in weird ways or underclocked itself, you are
probably good to go. It's something to keep your eye on, but I
wouldn't worry too much about it if you aren't experiencing any
problems.


On Fri, May 9, 2008 at 12:14 AM, Christian Zachariasen
[EMAIL PROTECTED] wrote:
 On Fri, May 9, 2008 at 9:08 AM, Wojciech Puchar 
 [EMAIL PROTECTED] wrote:

 As with so many other things in the computer world, it depends. With no
 case
 fans, it's weird that the computer gets colder if it has something above
 and


 no it's not. the machines above and below has proper cooling, and transfers
 this machine heat by conduction - rack cases are mostly metal and conduct
 heat well.


 I've very little experience with computers in racks, but if the machines are
 actually touching, then yes, this could be the case.

 The 65 C temperature a previous poster was talking about is not the maximum
 operating temperature for the actual processor, it's the maximum temperature
 in the case while the computer is operating. As far as I know CPU
 temperatures are measured on the actual processor die, and the case
 temperature will normally be *much* lower.

 Christian Zachariasen
 ___
 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: [CRON] Recommended FTP client to download and upload files?

2008-05-09 Thread Gilles
On Sat, 03 May 2008 16:46:27 +0200, Gilles [EMAIL PROTECTED]
wrote:
What command-line FTP client would you recommend for this?

It looks like lftp is not running like I thought it would :/ Until I
ran the following commands manually instead of through CRON, some
files on the remote source FTP server dated May 6th/7th were not
downloaded locally and then uploaded to the target remote FTP server:

1. Here's the script:

# cat /var/sync.bash 

#!/usr/local/bin/bash
echo Downloading from Source FTP
lftp -u joe,sixpack -e mirror -vn ./files /var/depot  bye
ftp.source.com

echo Uploading to Target FTP
lftp -u joe,sixpack -e mirror -vnR /var/depot ./downloads  bye
ftp.target.com

2. When run manually:

# ./sync.bash 
Downloading from Source FTP
Total : 1 directory, 41 files, 0 symlinks
Uploading to Target FTP
Total : 1 directory, 41 files, 0 symlinks
To be removed: 0 directories, 2 files, 0 symlinks

3. CRON:

# crontab -l
5,35 * * * * /var/sync.bash /dev/null 21

= What does To be removed: 0 directories, 2 files, 0 symlinks
actually mean?

Thanks for any tip.

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


Re: coretemp 70C = CPU too hot?

2008-05-09 Thread Nerius Landys
Thanks for all the replies guys.  I called the manufacturer and it turns out
that there's a manual speed controller on the CPU fan.  I'm going to take
the top off my case and crank it up all the way at my first opportunity.
That will at least help a little bit.  Thanks again.  I still think 70
Celcius is too high.

On Fri, May 9, 2008 at 4:03 PM, xSAPPYx [EMAIL PROTECTED] wrote:

 Also something to keep in mind, most (all?) new procs have thermal
 cuttoffs that will kill themselves before any damage happens. If you
 box hasn't shut down in weird ways or underclocked itself, you are
 probably good to go. It's something to keep your eye on, but I
 wouldn't worry too much about it if you aren't experiencing any
 problems.


 On Fri, May 9, 2008 at 12:14 AM, Christian Zachariasen
 [EMAIL PROTECTED] wrote:
  On Fri, May 9, 2008 at 9:08 AM, Wojciech Puchar 
  [EMAIL PROTECTED] wrote:
 
  As with so many other things in the computer world, it depends. With no
  case
  fans, it's weird that the computer gets colder if it has something
 above
  and
 
 
  no it's not. the machines above and below has proper cooling, and
 transfers
  this machine heat by conduction - rack cases are mostly metal and
 conduct
  heat well.
 
 
  I've very little experience with computers in racks, but if the machines
 are
  actually touching, then yes, this could be the case.
 
  The 65 C temperature a previous poster was talking about is not the
 maximum
  operating temperature for the actual processor, it's the maximum
 temperature
  in the case while the computer is operating. As far as I know CPU
  temperatures are measured on the actual processor die, and the case
  temperature will normally be *much* lower.
 
  Christian Zachariasen
  ___
  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]

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


Re: [CRON] Recommended FTP client to download and upload files?

2008-05-09 Thread Gilles
On Sat, 10 May 2008 01:53:13 +0200, Gilles [EMAIL PROTECTED]
wrote:
It looks like lftp is not running like I thought it would

Found what it was: The script worked fine when ran manually, but
failed when ran by CRON because it couldn't locate lftp:

Downloading from Source FTP
/var/sync.bash: line 3: lftp: command not found
Uploading to Target FTP
/var/sync.bash: line 6: lftp: command not found

Moral of the story: Start by leaving error messages as is before
redirectering them to /dev/null once the script proved to work.

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


How to config ipv6 for this instance

2008-05-09 Thread Xiaobo Zhu
Hi,
I have read the handbook and spent hours on the configuration of ipv6
on laptop, but still can't get it done.
The local network administrator only suggest the following steps to
setup ipv6 on windows xp and it works fine on that platform. I just
don't know to get it work on FreeBSD, would anyone guide me in detail
so I can also help the people aroud me.
Many thanks!

// The following steps make ipv6 works fine on windows xp
ipv6 install
netsh  interface ipv6 isatap set router 202.112.95.129
netsh interface ipv6 add route ::/0 2 2001:da8:207:1:0:5efe:202.112.95.129

// Here is the output of uname -a of my laptop
FreeBSD zhu.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
10:40:27 UTC [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 i386

// Output of ifconfig -a
fwe0: flags=108943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NEEDSGIANT
mtu 1500
options=8VLAN_MTU
inet6 fe80::e0:18ff:fe86:69cb%fwe0 prefixlen 64 scopeid 0x1
ether 02:e0:18:86:69:cb
ch 1 dma 0
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet6 fe80::21a:92ff:febf:ab3d%rl0 prefixlen 64 scopeid 0x2
inet 172.16.120.226 netmask 0xfe00 broadcast 172.16.121.255
ether 00:1a:92:bf:ab:3d
media: Ethernet autoselect (10baseT/UTP)
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00

// My /etc/rc.conf file
# -- sysinstall generated deltas -- # Sat May 10 03:05:25 2008
# Created: Sat May 10 03:05:25 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter=172.16.120.1
hostname=zhu.net
ifconfig_rl0=inet 172.16.120.226  netmask 255.255.254.0
keymap=us.iso
keyrate=fast
sshd_enable=YES
usbd_enable=YES
ipv6_enable=YES

# added by xorg-libraries port
local_startup=/usr/local/etc/rc.d
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]