portupgrade -a question

2004-06-04 Thread Jarrod Wageman
Hello, I have a freebsd box I just set up and I am wondering about some things. I just 
ran `make buildworld` installworld
and all that after an extensive cvsup. I still have perl version 5.6 something. The 
new version according to perl.com is 5.8
I ran portupgrade -a and it didn't upgrade anything. Do I need to move to the CURRENT 
source tree to get these new packages
installed? It seems I have many dated packages on this freebsd box. Here is the steps 
I take to update...

cvsup -g -L 2 supfile I am using the stable tree.

portsdb -Uu

portversion -l 
(nothing ever returns)

portupgrade -a
(this says something like: No need to upgrade fvwm-blahversion)

(according to a freebsd site I found off of google, this is the proper way to go about 
updating)

pkgdb -Fu

My kernel is updated, my source tree is updated. But perl is an old version, openssh 
is an old version.

Maybe I do not understand how the stable tree works, or ports in itself works, are the 
security and bug fixes patched 
and the version numbers maintained? That seems a bit odd to me. Anyhow I am a noob. 
Thanks for your time and
patience.

J.W.
-- 
Friends don't let friends support microsoft. www.gentoo.org


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


uuencode(1) doesn't work?

2004-06-04 Thread Darren Pilgrim
I'm trying to uuencode some data, but uuencode doesn't seem to work
properly.  I'm using FreeBSD 4.8-RELEASE-p22.  Here are some examples:

$ date | uuencode
usage: uuencode [-m] [-o outfile] [infile] remotefile
   b64encode [-o outfile] [infile] remotefile
$ cat /etc/rc.conf | uuencode
usage: uuencode [-m] [-o outfile] [infile] remotefile
   b64encode [-o outfile] [infile] remotefile
$

Specifying a filename, rather than using a pipe, doesn't seem to work
either:

$ uuencode file
begin 644 file

After printing the begin line it idles.  A debug copy of uuencode run
with gdb shows the program stopping on the read() call trying to get
data (fread() called from the while loop in encode()).

Anyone know why?


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


Memory used by caching name server?

2004-06-04 Thread Rob
Hi,
This is on FreeBSD 4-Stable.
I have set up a caching name server. About its cached data base,
I found out:
  1) data base is kept in memory
  2) the maximum memory is adjustable in named.conf, for example:
datasize 20M;
But without specifying the datasize, how much memory is used by
default. The named.conf man page is rather cryptic:
   datasize
   The maximum amount of data memory the server may use.
   The default value is default.
Elsewhere, I found that this default means a system dependent value.
In any case, how can I find out what is the memory used by my server
on my system? Is there a 'ndc arg' command for this?
This is important when I consider to increase the memory limit.
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


GRE issues

2004-06-04 Thread D.D.W. Downey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Trying to set up GRE here for routing a /29 to the house. I am using the 
following configuration and not sure what the problem is. I get a single 
packet through from the DSL box to the remote box then I get total packet 
loss. I can ping the 192.168.3.1 from 192.168.2.1 but not vis versa.
If i assign an IP to my rl0 on the DSL box from the AssignedBlock it pings 
locally but not from the internet. In fact it bounces back and forth between 
the upstream's and my gre tunnel over which that block's assignment is 
handed. Totally unsure what I'm doing wrong here.

Here's the setup:

NOTE: AssignedBlock, LocalIP and RemoteIP are internet IP addresses/blocks per 
box. 

On DSL box:

ifconfig gre1 create
ifconfig gre1 192.168.3.1 192.168.2.1 link1
ifconfig gre1 tunnel LocalIP RemoteIP
route add -net XXX.XXX.XXX.137/29 192.168.2.1

On remote box:

ifconfig gre1 create
ifconfig gre1 192.168.2.1 192.168.3.1 link1
ifconfig gre1 tunnel LocalIP RemoteIP
route add -net XXX.XXX.XXX.137/29 192.168.3.1

- -- 
D.D.W. Downey
CyberSpace Technologies, Inc.
AS64567-OCCAID


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

iD8DBQFAwB5tDQ32jEgJHCgRAmy6AJ9xBOL66Z91Lc5dp8kIfTZuWAcsiQCfRndA
xDSmFo3BqFxfAIBnxTA8TQ8=
=KzGJ
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uuencode(1) doesn't work?

2004-06-04 Thread Stijn Hoop
On Thu, Jun 03, 2004 at 11:41:08PM -0700, Darren Pilgrim wrote:
 I'm trying to uuencode some data, but uuencode doesn't seem to work
 properly.  I'm using FreeBSD 4.8-RELEASE-p22.  Here are some examples:
 
 $ date | uuencode
 usage: uuencode [-m] [-o outfile] [infile] remotefile
b64encode [-o outfile] [infile] remotefile
 $ cat /etc/rc.conf | uuencode
 usage: uuencode [-m] [-o outfile] [infile] remotefile
b64encode [-o outfile] [infile] remotefile
 $
 
 Specifying a filename, rather than using a pipe, doesn't seem to work
 either:
 
 $ uuencode file
 begin 644 file
 
 After printing the begin line it idles.  A debug copy of uuencode run
 with gdb shows the program stopping on the read() call trying to get
 data (fread() called from the while loop in encode()).
 
 Anyone know why?

It has insane arcane syntax -- you need to specify 'file' because that's
what's written in the begin line, PLUS you need to give it data:

$ uuencode file  file  file.uu

should work.

--Stijn

-- 
If today is the first day of the rest of your life, what the hell was
yesterday?


pgpHglO3qKN2X.pgp
Description: PGP signature


Re: portupgrade -a question

2004-06-04 Thread Andy Smith
[long lines rewrapped, please try to keep lines below about 72
characters]

On Thu, Jun 03, 2004 at 11:34:16PM +, Jarrod Wageman wrote:
 Hello, I have a freebsd box I just set up and I am wondering about
 some things. I just ran `make buildworld` installworld and all
 that after an extensive cvsup. I still have perl version 5.6
 something. The new version according to perl.com is 5.8 I ran
 portupgrade -a and it didn't upgrade anything. Do I need to move
 to the CURRENT source tree to get these new packages installed?

No, you need to install the /usr/ports/lang/perl5.8 to get perl
5.8.x.  Then if you keep your ports collection up-to-date the other
commands (such as portversion) will tell you when a newer port is
available.

Don't forget to do

 # use.perl port

if you want the port's perl to be the system default.

-- 
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B


pgpDFioGrmfsC.pgp
Description: PGP signature


FreeBSD TCP/IP

2004-06-04 Thread Yuriy Coureelo
Dear Sir!

I have a FreeBSD TCP/IP stack. Trying to understand IP program
realization. I am interested in everything like struct mbuf, mbuf
cluster and so on. How frames transferred from ethernet driver to ip
layer. ether_demux(), ipinput() functions.

Would you point me a documentation that I should read to find out answers
to my questions, please?

Sincerely yours
Yuriy Coureelo [EMAIL PROTECTED]

Engineer
Telecommunication Equipment Division
Micran Company
Tomsk, Russia


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


Re: how to attach class C net to an interface?

2004-06-04 Thread Artem Koutchine
  I have a server with one interface and many virtual web hosts.
  I have been given class C network to use for the virtual
  web hosts and jails on the server. How to i tell the interface
  that all addresses of some A1.A2.A3.A4  0xFF00 
  network belong to the interface. Do i specify 250-some aliases?
  Or there is a better way?
  
 
 Unfortunately, there is no built-in solution I know of to add aliases in 
 bulk - you need to issue individual ifconfig commands.  As such, you can 
 do it on the command-line using a loop such as this:
 
 for (( foo = 1; foo  255; foo++ )); \
 do ifconfig fxp1 alias 172.16.100.$foo netmask 0x; \
 done
 
 This will add the aliases 172.16.100.1 through 172.16.100.254 to the 
 fxp1 interface.  All you need to do is change the command to reflect 
 your requirements for the network number and interface name, and you 
 should be good to go.  You can add this command into /etc/rc.local to 
 have it run at startup.
 

Thank you for the scrip. I will then asign a single main ip to the interface
in rc.conf and then run this script from /usr/local/etc/rc.d because i think
rc.local is merged after each cvp/buildworld/installworld/mergmaster,
so /usr/local/etc/rc.d is a safer place to to keep it. Right or not?

The other question, will assigning 200+ ip addresses  degrade tcp/ip
perfomance noticeably? 

How to i spell noticably or noticaebly?  :)

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


FreeBSD4 COMPAT

2004-06-04 Thread Reed L. O'Brien
what if I don't compile FreeBSD4 into the FreeBSD5 kernel?
do I wind up with problems in the ports??
TIA
reed
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to attach class C net to an interface?

2004-06-04 Thread Kevin Stevens
On Jun 4, 2004, at 00:36, Artem Koutchine wrote:
The other question, will assigning 200+ ip addresses  degrade tcp/ip
perfomance noticeably?
It is a common practice, and I haven't heard of problems with it.  
Remember that the same-subnet mask is /32 regardless of what the 
primary address mask is.

How to i spell noticably or noticaebly?  :)
Apparently you spell it both ways.  ;)  Correct is noticeably, as in 
English has noticeably inconsistent rules for both spelling and 
pronunciation.

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


Re: Upgrading to 4.10 using cvsup(Pleeeease! I'm halfway there!!!)

2004-06-04 Thread Matthew Seaman
On Thu, Jun 03, 2004 at 11:36:46PM +0200, Henrik W Lund wrote:

 As Mr. Simon Barner stated, you can save a whole lot of downloading by 
 first installing the 4.9 sources off of the CD-ROM, then cvsupping using 
 the supfile you just made. This will get you only those files that are 
 different between 4.9 and 4.10, and only the bits of them in which the 
 differences lie. If you start out with an empty /usr/src, you'll pull 
 down around 300MB of source code (give or take, depending on what 
 packages you download). If it's already populated by 4.9 sources, you 
 can cut back considerably on this.

This is very good advice, and using cvsup regularly to pull down the
updates to your copy of the system sources will not unduely tax a 56k
modem connection.  Ditto for the ports tree.

However when using cvsup(1) to take over a collection of sources
obtained elsewhere (ie. copied from the installation media) you should
be aware of these very useful one-time procedures:

http://www.cvsup.org/faq.html#adopt
http://www.cvsup.org/faq.html#adoptupgrade

Although, obviously you will need to substitute 'RELENG_4_10' or
'RELENG_4_9_0_RELEASE' at appropriate points.

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



pgpudBsnXRwuv.pgp
Description: PGP signature


Re: Memory used by caching name server?

2004-06-04 Thread Rob
Rob wrote:
Hi,
This is on FreeBSD 4-Stable.
I have set up a caching name server. About its cached data base,
I found out:
  1) data base is kept in memory
  2) the maximum memory is adjustable in named.conf, for example:
datasize 20M;
But without specifying the datasize, how much memory is used by
default. The named.conf man page is rather cryptic:
   datasize
   The maximum amount of data memory the server may use.
   The default value is default.
Elsewhere, I found that this default means a system dependent value.
In any case, how can I find out what is the memory used by my server
on my system? Is there a 'ndc arg' command for this?
This is important when I consider to increase the memory limit.
I'm adding additional comments to my own email.
When I do not have the caching name server running, I do this:
  # swapinfo ; ndc start ; swapinfo
  Device  512-blocks UsedAvail Capacity  Type
  /dev/ad0s1b  99312 356095752 4%Interleaved
  new pid is 1714
  Device  512-blocks UsedAvail Capacity  Type
  /dev/ad0s1b  99312 356095752 4%Interleaved
No change at all in memory usage. If named keeps its cache in memory,
why do I not see any changes of available swap space when starting named?
Or does named claim memory on the fly, as it is caching?
If so, how can I find out what is the maximum it can claim on my machine?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD TCP/IP

2004-06-04 Thread sigsegv
On Fri, 4 Jun 2004 14:21:38 +0600, Yuriy Coureelo [EMAIL PROTECTED] wrote:
Dear Sir!
I have a FreeBSD TCP/IP stack. Trying to understand IP program
realization. I am interested in everything like struct mbuf, mbuf
cluster and so on. How frames transferred from ethernet driver to ip
layer. ether_demux(), ipinput() functions.
Have a look at the book written by Richard Stevens The Implementation 
(TCP/IP Illustrated, Volume 2) here is a link:
http://www.amazon.com/exec/obidos/tg/detail/-/020163354X/ref=sib_rdr_dp/104-9931268-0446302?%5Fencoding=UTF8no=283155me=ATVPDKIKX0DERst=books
I haven't read the book, so I don't know if it has what you're asking, but 
I know the book describes BSD TCP/IP implementation in details
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IBM e325 ServeRAID-6M on FreeBSD 5.x

2004-06-04 Thread Ganbold
Hi,
We are planning to purchase IBM e325 server with ServeRAID-6M and Dual AMD 
Opteron 2.2Ghz CPU.
Did somebody make FreeBSD 5.x work on IBM e325 server with ServeRAID-6M before?
Are there any known problems and issues?
Will FreeBSD 5.x work on it?

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


Re: FreeBSD4 COMPAT

2004-06-04 Thread Matthew Seaman
On Thu, Jun 03, 2004 at 03:52:40AM -0400, Reed L. O'Brien wrote:
 what if I don't compile FreeBSD4 into the FreeBSD5 kernel?
 do I wind up with problems in the ports??

That's not a kernel option.  remember that FreeBSD has an integrated
kernel and system -- shlibs, standard applications -- and that for
best results you need to compile both of them (from the same set of
sources).

All the COMPAT4X option in /etc/make.conf does is cause a pre-compiled
copy of libc.so.4 and other vital shlibs from 4.x to be installed.
That the OS major version is 4 and the libc ABI version is likewise 4
is no coincidence.  You can achieve the same effect in an alternate
manner by installing the misc/compat4x port.

However, you don't generally have to do that: it's only necessary when
you need to install software where only a pre-compiled 4.x version is
available.  Aside from a few commercial closed source offerings,
there's only a few ports which will compile under 4.x but not under
5.x, and that number is shrinking all the time.  If you're allergic to
compiling it yourself, then 5.x packages are readily available.

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


pgpcDA65l9p4t.pgp
Description: PGP signature


Re: how to attach class C net to an interface?

2004-06-04 Thread Matthew Seaman
On Fri, Jun 04, 2004 at 11:36:10AM +0400, Artem Koutchine wrote:

  for (( foo = 1; foo  255; foo++ )); \
  do ifconfig fxp1 alias 172.16.100.$foo netmask 0x; \
  done

 Thank you for the scrip. I will then asign a single main ip to the interface
 in rc.conf and then run this script from /usr/local/etc/rc.d because i think
 rc.local is merged after each cvp/buildworld/installworld/mergmaster,
 so /usr/local/etc/rc.d is a safer place to to keep it. Right or not?

Probably the best place to put this is in a file named 'start_if.fxp1'
assuming fxp1 is the interface you want all this to happen to.  That
will be read into /etc/rc.network and executed by this bit of code:

for ifn in ${network_interfaces}; do
if [ -r /etc/start_if.${ifn} ]; then
. /etc/start_if.${ifn}
eval showstat_$ifn=1
fi

This effectively lets you introduce custom bits of shell script into
the standard /etc/rc.network script without having to worry about
keeping that script patched and in synch across system updates.

There isn't a similar 'stop_if.fxp1' facility -- just disabling the
interface usually does the trick.
 
 The other question, will assigning 200+ ip addresses  degrade tcp/ip
 perfomance noticeably? 

Hard to say.  Probably not a huge amount, but it will depend on your
hardware amongst other things.  The only way to know for sure is to
run some tests yourself.  

 How to i spell noticably or noticaebly?  :)

noticeably

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


pgp3iMNm8uCPf.pgp
Description: PGP signature


Re: FreeBSD4 COMPAT

2004-06-04 Thread Kris Kennaway
On Fri, Jun 04, 2004 at 09:42:52AM +0100, Matthew Seaman wrote:
 On Thu, Jun 03, 2004 at 03:52:40AM -0400, Reed L. O'Brien wrote:
  what if I don't compile FreeBSD4 into the FreeBSD5 kernel?
  do I wind up with problems in the ports??
 
 That's not a kernel option.  remember that FreeBSD has an integrated
 kernel and system -- shlibs, standard applications -- and that for
 best results you need to compile both of them (from the same set of
 sources).

Actually I think he's talking about COMPAT_FREEBSD4.  This should only
be needed if you want to run 4.x binaries.

Kris


pgpH3iYb8sCjX.pgp
Description: PGP signature


Re: statistical program for FreeBSD?

2004-06-04 Thread Matthew Seaman
On Thu, Jun 03, 2004 at 08:58:43PM -0500, Gary wrote:

 Does anyone know of a statistical program that will run in FreeBSD? I am
 looking for one that will run the Heckman's Phase 2 model, as SPSS will not
 run it. The only one I know of is SAS, but it is for windows only.. (costs a
 lot of money too, and is prohibitive) g
 
 thanks for any input..  I know it is a long-shot.

Hmmm... I've done the odd bit of Statistical work in my time, but I've
never heard of Heckman's Phase 2 model.  Which unfortunately
suggests that you're going to need something rather more sophisticated
than the general run of the mill available in ports.

If you:

% cd /usr/ports
% make search key=statistics

you will get a long list of ports that do something to do with
statistics.  For the most part that's either gathering statistical
data from the operation of some program, or processing that data
usually in a relatively simple manner to produce various graphs and
reports.  However amidst the muck there are one or two glitters of
what might be gems.  There's math/xldlas and math/xlispstat which are
general purpose statistics packages.  There are a number of modules
for various programming languages that implement statistical
functions, eg. math/p5-Statistics-Table-F

There are also some symbolic mathematics programs which might serve:
math/jacal and math/maxima

However, probably your best bet is the math/R port, whose pkg-desc is
as follows:

From http://www.R-project.org/about.html:

R is a language and environment for statistical computing and graphics.
It is a GNU project which is similar to the S language and environment
which was developed at Bell Laboratories (formerly ATT, now Lucent
Technologies) by John Chambers and colleagues. R can be considered as a
different implementation of S. There are some important differences,
but much code written for S runs unaltered under R. 

R provides a wide variety of statistical (linear and nonlinear modelling,
classical statistical tests, time-series analysis, classification,
clustering, ...) and graphical techniques, and is highly extensible.
The S language is often the vehicle of choice for research in statistical
methodology, and R provides an Open Source route to participation in that
activity. 

One of R's strengths is the ease with which well-designed
publication-quality plots can be produced, including mathematical symbols
and formulae where needed. Great care has been taken over the defaults for
the minor design choices in graphics, but the user retains full control. 

WWW: http://www.R-project.org/

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


pgp8ZSawaOpIS.pgp
Description: PGP signature


Re: IBM e325 ServeRAID-6M on FreeBSD 5.x

2004-06-04 Thread Scott Long
Ganbold wrote:
Hi,
We are planning to purchase IBM e325 server with ServeRAID-6M and Dual 
AMD Opteron 2.2Ghz CPU.
Did somebody make FreeBSD 5.x work on IBM e325 server with ServeRAID-6M 
before?
Are there any known problems and issues?
Will FreeBSD 5.x work on it?

thanks in advance,
Ganbold
The serveraid cards should work, but I haven't audited the driver for
64-bit cleanliness.  I also haven't heard of any reports, positive nor
negative, about it, so it's up to you if you want to experiment.  If it
doesn't work, let me  know.
Scott
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD TCP/IP

2004-06-04 Thread Matthew Seaman
On Fri, Jun 04, 2004 at 09:21:25AM +0100, [EMAIL PROTECTED] wrote:
 On Fri, 4 Jun 2004 14:21:38 +0600, Yuriy Coureelo [EMAIL PROTECTED] wrote:
 
 Dear Sir!
 
 I have a FreeBSD TCP/IP stack. Trying to understand IP program
 realization. I am interested in everything like struct mbuf, mbuf
 cluster and so on. How frames transferred from ethernet driver to ip
 layer. ether_demux(), ipinput() functions.
 
 
 Have a look at the book written by Richard Stevens The Implementation 
 (TCP/IP Illustrated, Volume 2) here is a link:
 http://www.amazon.com/exec/obidos/tg/detail/-/020163354X/ref=sib_rdr_dp/104-9931268-0446302?%5Fencoding=UTF8no=283155me=ATVPDKIKX0DERst=books
 I haven't read the book, so I don't know if it has what you're asking, but 
 I know the book describes BSD TCP/IP implementation in details

Stevens is good, but if you need a more FreeBSD specific reference,
then try McKusick and Neville-Neil on The Design and Implementation
of the FreeBSD Operating System.  You can order it already, but it's
not actually going to be published until August.

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


pgpK1ltCwQNpm.pgp
Description: PGP signature


After upgrade to 4.10 dsl not working anymore

2004-06-04 Thread Sven Hohage
I've upgraded 4.10 prerelease this morning to 4.10.
Everything went smooth but unfortunately ppp dialup isn't working anymore.
I've looked in ppp.log and it connects but immediately is disconnected.
It states connected ...opening - dialdial- carrier...Disconnected
I've read in another mail that it could be a bug. So I tried the advice 
and entered a different date-tag in my supfile to recompile all but the 
only possibility to go from Freebsd online is the XP  box as ics...
In this setting I  can't update the source because cvsup complaints to 
being not able to get the ip-adress..
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Odd characters in filename

2004-06-04 Thread Joachim Dagerot
I unpacked a rar file and find myself standing with a lot of files
with strange characters like accents etc.

When I do tab for completion the characters 'escapes' to for example
\264 (backward slash).

I tried to write a small rename method in java but neither the
File.list() or by providing the filename in args[0] makes java
understand these odd characters.

How can I rename these files in a not too manual way?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2.1 SMP problems

2004-06-04 Thread Dave Raven
Hi all,
   Installed 5.2.1 on a high load server - albeit not recommended - and 
it was working perfectly with SMP support. It picked up 4 cpu's and 
appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
Anyway, the box was as I said under quite a bit of load, and would die 
about once a day - just reboot. I looked into it a bit and found 
whenever I put more load on (e.g. a make install in ports) it would 
panic - vm_load_page or something like that - sorry about being so 
vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
one normal Xeon + HT for the second (no idea how to disable that - but I 
don't need to)... its been running perfect for 4 days now and I put it 
under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
couldn't find anything about it at first glimpse...

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


Re: Odd characters in filename

2004-06-04 Thread Matthew Seaman
On Fri, Jun 04, 2004 at 11:41:38AM +0200, Joachim Dagerot wrote:
 I unpacked a rar file and find myself standing with a lot of files
 with strange characters like accents etc.
 
 When I do tab for completion the characters 'escapes' to for example
 \264 (backward slash).
 
 I tried to write a small rename method in java but neither the
 File.list() or by providing the filename in args[0] makes java
 understand these odd characters.
 
 How can I rename these files in a not too manual way?

Hmmm... something like this:

% perl -e 'for(@ARGV) { ($f = $_) =~ s/[^[:ascii:]]/_/g; rename $_, $f; }' \   
filename...

which will replace all non-ascii characters with '_'.  This doesn't
take any account of possible name collisions and it will probably get
it's knickers in a twist if you use it to rename whole directory
trees, rather than just files in the current directory.

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


pgpXkdxDkLANl.pgp
Description: PGP signature


Re: Portupgrade -N for gimp-devel : install help

2004-06-04 Thread Jonathan Chen
On Fri, Jun 04, 2004 at 01:07:45AM -0400, Bruce Hunter wrote:

[...]
 Well, that is funny. I do cvsup -g -L 2 /root/ports-supfile
 it updates my ports with the current. I only have graphics/gimp1 and
 graphics/gimp-devel.
 Why don't I have have graphics/gimp??
 What am I doing wrong when updating my ports collection?

Sounds like your cvsup file is incorrect. Post it to the list and
we'll tell you what's wrong with it; you probably have a tag on the
ports (you shouldn't).

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
I don't want to achive immortality through my works..
 I want to achieve it through not dying - Woody Allen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No request found

2004-06-04 Thread The MOSIS Service
Your e-mail message to [EMAIL PROTECTED] was processed by our automated
e-mail system, which generated this reply because your message was not
understood.  If this reply is not clear, or if you need further help,
please send e-mail to [EMAIL PROTECTED]


New MOSIS Users
===

If you are a new MOSIS user, please visit our web site at:

http://www.mosis.org/

We have a set of web forms that allow you to interact with MOSIS
and submit designs for fabrication.  You can find them at:

http://www.mosis.org/Webforms/menu-webforms.html


Contacting MOSIS Support


If your message has a question or request that requires the attention
of the MOSIS support staff, you have three choices:

1. Use the Attention web form - see
   http://www.mosis.org/Webforms/menu-webforms.html

2. Send the message to [EMAIL PROTECTED]

3. Send an Attention message to [EMAIL PROTECTED] in
   the following format:

request: attention
(Put message here)
request: end


Interacting with E-mail Processor
=

If your message was intended for the automated e-mail processing
software, you received this reply because the software couldn't find
any requests in the body of your message.  Common reasons for this
include:

1. You omitted the Request: keyword, misspelled it or forgot 
   the colon.

2. Your mail sending software sent a multipart MIME message.
   The e-mail processor does not yet support multipart MIME.
 
3. Your mail sending software did not separate the message
   header from the message body with a blank line (one with
   no characters).  The e-mail processor looks only at the
   body of your message.

For help with the e-mail interface, see:

http://www.mosis.org/Customer/Email/email-system.html

We also have a set of web forms that allow you to interact with MOSIS
and submit designs for fabrication.  You can find them at:

   http://www.mosis.org/Webforms/menu-webforms.html


Mosis-Reply-Id: 00100832-001-001


The MOSIS Service   Support   [EMAIL PROTECTED]
Information Sciences Institute  Web   http://www.mosis.org
University of Southern California   Phone 310.448.9400
4676 Admiralty Way, Suite 700   Fax   310.823.5624
Marina del Rey, CA 90292
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: natd, ipfw and MS netmeeting

2004-06-04 Thread Christoph P. Kukulies
On Fri, Jun 04, 2004 at 07:37:15AM +0800, Khairil Yusof wrote:
 On Thu, 2004-06-03 at 11:26 +0200, Christoph Kukulies wrote:
 
  Anyway, the prsent (simple) natd rules don't seem to suffice.
 
 If I'm not wrong, ms netmeeting and msn messenger (audio,video) do not
 work over nat. There are some third party windows utilities available to
 enable this to work. I have not experience in them, but google for nat
 messenger or nat netmeeting should turn up some links.

Wasn't there something like 'proxy arp' that could give the connecting
computer in the LAN the same IP as the gateway? (not really but something
that way).


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


please help my mail and me!

2004-06-04 Thread jsha

hello.

i'm running postfix on a freebsd 5 server.

i need squirrelmail to work, and to do that i installed
cyrus-imapd22 and cyrus-sasl / cyrus-sasl-saslauthd.

if i combine postfix with cyrus, like putting
mailbox_transport = cyrus in my main.cf, what will happen
to my system accounts? will they still arrive the usual
way with imap as an extention for these system users to
retrieve their mail apart from imap users?

and what's the best way of managing imap users?

i put my configuration up at www.terrabionic.com/mail
can anybody see anything wrong here?

thank you SO MUCH.

--
j.

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


Re: please help my mail and me!

2004-06-04 Thread Cordula's Web
 if i combine postfix with cyrus, like putting
 mailbox_transport = cyrus in my main.cf, what will happen
 to my system accounts? will they still arrive the usual
 way with imap as an extention for these system users to
 retrieve their mail apart from imap users?

Use fallback_transport instead of mailbox_transport
if you want mail to your system accounts to be stored in
Postfix's local store rather than LMTP/Cyrus. Mail sent
to addresses without Unix account/alias will be sent to
LMTP.

 and what's the best way of managing imap users?

cyradm

-- 
Cordula's Web. http://www.cordula.ws/

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


help me make a Mail Server choice

2004-06-04 Thread Perica Veljanovski
Hi again

It turned out to be a public mail server as well! The choice for the MTA
on fell on postfix :) Now I have to chose POP/IMAP and Virus/Spam.

I would appreciate if you can give me some input on your experience with
Cyrus or Courier, since they are my choices for pop/imap. Also I'd like
some suggestions on what to use for virus/spam protection, and how they
are implemented in postfix?


My first mail on the subject from 2004-06-01:

I have some trouble choosing between postfix and qmail for the new
corporate mail server I'll be making. I'm looking for the one with least
administrative overhead (since I run a one man show) and security is a
big issue. Also, I'm looking for some guidance (choices) for POP, IMAP
and webMail interface as well as Virus and SPAM (preferably free)
protection.

Another issue is the FreeBSD version. Should I stay with the 4.x-STABLE
or should I go with the 5.x. If I set up a 5.2-Release, will the upgrade
to 5.3-STABLE be enough, or is there a possibility that I will have to
reformat and do a clean 5.3 install.


10x ahead
-- 
 


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


Re: 5.2.1 SMP problems

2004-06-04 Thread Albert Shih
 Le 04/06/2004 à 11:47:14+0200, Dave Raven a écrit
 Hi all,
Installed 5.2.1 on a high load server - albeit not recommended - and 
 it was working perfectly with SMP support. It picked up 4 cpu's and 
 appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
 Anyway, the box was as I said under quite a bit of load, and would die 
 about once a day - just reboot. I looked into it a bit and found 
 whenever I put more load on (e.g. a make install in ports) it would 
 panic - vm_load_page or something like that - sorry about being so 
 vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
 one normal Xeon + HT for the second (no idea how to disable that - but I 
 don't need to)... its been running perfect for 4 days now and I put it 
 under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
 couldn't find anything about it at first glimpse...
 

Have you shure this problem is with FreeBSD ?

First check your memory with some software like memtest86 (http://www.memtest86.com/)

When I've this kind of problem, always it's because some error in RAM.

Regards



--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Jun 4 13:43:52 CEST 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help me make a Mail Server choice

2004-06-04 Thread Reko Turja
It turned out to be a public mail server as well! The choice for the 
MTA
on fell on postfix :) Now I have to chose POP/IMAP and Virus/Spam.

I would appreciate if you can give me some input on your experience 
with
Cyrus or Courier, since they are my choices for pop/imap. Also I'd 
like

I've been using cyrus for couple of years now and it's quite robust  
fast. In addition it merges nicely with postfix, so there are no 
problems on that front either. The biggest drawback with Cyrus is the 
learning curve - The documentation is a bit lacking, but the 
mailinglists help there. ( I have to admit that when choosing my 
IMAP-server back then the license was one of the main factors...)

In addition many of the webmail systems like Squirrel or Horde work 
nicely on Cyrus.

-Reko 

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


Re: help me make a Mail Server choice

2004-06-04 Thread Reko Turja
It turned out to be a public mail server as well! The choice for the 
MTA
on fell on postfix :) Now I have to chose POP/IMAP and Virus/Spam.

I would appreciate if you can give me some input on your experience 
with
Cyrus or Courier, since they are my choices for pop/imap. Also I'd 
like

I've been using cyrus for couple of years now and it's quite robust  
fast. In addition it merges nicely with postfix, so there are no 
problems on that front either. The biggest drawback with Cyrus is the 
learning curve - The documentation is a bit lacking, but the 
mailinglists help there. ( I have to admit that when choosing my 
IMAP-server back then the license was one of the main factors...)

In addition many of the webmail systems like Squirrel or Horde work 
nicely on Cyrus.

-Reko 

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


Re: Memory used by caching name server?

2004-06-04 Thread Olaf Hoyer
On Fri, 4 Jun 2004, Rob wrote:

 No change at all in memory usage. If named keeps its cache in memory,
 why do I not see any changes of available swap space when starting named?

 Or does named claim memory on the fly, as it is caching?
 If so, how can I find out what is the maximum it can claim on my machine?


Hi!

named claims memory on the fly.
On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
database, being the resolver for the machine that creates from http-logs
colorful pictures and other fancy things...

I also don't know what the exact default is, IIRC named takes all
memory it gets.

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: statistical program for FreeBSD?

2004-06-04 Thread Mike Jeays
On Thu, 2004-06-03 at 21:58, Gary wrote:
 Hi all,
 
 Does anyone know of a statistical program that will run in FreeBSD? I am
 looking for one that will run the Heckman's Phase 2 model, as SPSS will not
 run it. The only one I know of is SAS, but it is for windows only.. (costs a
 lot of money too, and is prohibitive) g
 
 thanks for any input..  I know it is a long-shot.
 

There is an open-source statistical package known as R, with web page
at http://www.r-project.org/.  Here is the first paragraph or two.  I
know of professional statisticians at work who speak highly of it, even
though my organization purchases a site license for SAS.

Introduction to R

R is a language and environment for statistical computing and graphics.
It is a GNU project which is similar to the S language and environment
which was developed at Bell Laboratories (formerly ATT, now Lucent
Technologies) by John Chambers and colleagues. R can be considered as a
different implementation of S. There are some important differences, but
much code written for S runs unaltered under R.

R provides a wide variety of statistical (linear and nonlinear
modelling, classical statistical tests, time-series analysis,
classification, clustering, ...) and graphical techniques, and is highly
extensible. The S language is often the vehicle of choice for research
in statistical methodology, and R provides an Open Source route to
participation in that activity.

One of R's strengths is the ease with which well-designed
publication-quality plots can be produced, including mathematical
symbols and formulae where needed. Great care has been taken over the
defaults for the minor design choices in graphics, but the user retains
full control.

R is available as Free Software under the terms of the Free Software
Foundation's GNU General Public License in source code form. It compiles
and runs on a wide variety of UNIX platforms and similar systems
(including FreeBSD and Linux), Windows and MacOS.


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


Re: Memory used by caching name server?

2004-06-04 Thread Rob
Olaf Hoyer wrote:
On Fri, 4 Jun 2004, Rob wrote:

No change at all in memory usage. If named keeps its cache in memory,
why do I not see any changes of available swap space when starting named?
Or does named claim memory on the fly, as it is caching?
If so, how can I find out what is the maximum it can claim on my machine?

Hi!
named claims memory on the fly.
On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
database, being the resolver for the machine that creates from http-logs
colorful pictures and other fancy things...
Waaauw, that sounds rather dangerous to me. I have a caching nameserver
running on an old Pentium-I with 32 Mb of ram (48 Mb swap). I am still
using it in a testing enviroment, moderately using the named's cache.
So far total memory usage by the OS is very low (swap is hardly used).
I wonder if named would eat up all the ram in a production enviroment.
Can't imagine that, actually. Nowhere I have seen warnings against
such disaster. But then there is this option for the named configuration
file, that limits the cache memory usage.
Elsewhere, I have read that named uses 1 Mb maximum by default. But
I read that in an out-dated document. I assume meanwhile things have
changed/improved.
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NTPD hangs on boot

2004-06-04 Thread Edward Carmody
Hi,

Recently did a cvsup and make world procedure, have a couple glitches.

NTP will no longer start by enabling it in rc.conf.  At each boot I see the
starting nptd...and then nothing; the booting process hangs.  I have to
kill nptd via ctrl-c.  Then boot process proceeds normally.  I can manually
start nptd from the command line, and it starts, runs and syncs up normally.

Probably related, after the make world, sendmail also gave me trouble,
complaining that it could find file after configuration file (all of which
existed).  Then it would inform me that Recipient names must be specified
as if I was trying to use sendmail to send a message.  I screwed around with
this for a while, to no avail, then just installed postfix 'cause I missed
my mail server too much.  That fixed the issue with sendmail hanging up the
boot.

Any clues to what I might have done wrong, or neglected to do?  I'm puzzled,
have man'd, googled, and not found much...


/ed

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


test

2004-06-04 Thread Edward Carmody


Edward Carmody, CCNP
Systems Engineer
ShoreGroup, Inc.
M: 845-649-7791
F: 646-349-3506
[EMAIL PROTECTED]


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


Freebsd Loading error

2004-06-04 Thread WyteWolf
I have recently downloaded the two ISO's of the FreeBSD realease

I am having trouble making a image of the kern and mfsboot *.flp files using rawrite

Copying the kern.flp to a floppy disk is impossible, also how may i create this 
bootdisk and load the OS and install it, I have extracted the ISO files but i cannot 
work out how to install it.

Kind regards,

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


ipnat and ipfw dummynet

2004-06-04 Thread Nelis Lamprecht
Hi,

I'm interested to hear how people utilise dummynet in a NAT environment.
How does one create a pipe for a NAT network without effecting the
actual LAN speed ? For example, on the gateway:

$fwcmd add pipe 1 ip from 192.168.1.0/24 to any out
$fwcmd add pipe 2 ip from any to 192.168.1.0/24 in
$fwcmd pipe 1 config bw 128Kbit/s
$fwcmd pipe 2 config bw 128Kbit/s

The above example would be fine if 192.168.1.0/24 were only talking to
the internet but unfortunately it also effects the machines from talking
to each other internally. The only interface you can specify is the
internal interface(bge1) because this is the only time that ipfw will
see the addresses before they are passed to NAT(ipnat) and will not be
seen on the external interface(bge0). So basically the above example
should be written as:

$fwcmd add pipe 1 ip from 192.168.1.0/24 to any out via bge1
$fwcmd add pipe 2 ip from any to 192.168.1.0/24 in via bge1

This however will also give 192.168.1.0/24 an internal LAN speed of
128Kbit/s which is to say quite humorous ;-)

What is the solution to this ? ..I'm obviously missing something. The
internal interface is not firewalled.


Many thanks,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Re: help me make a Mail Server choice

2004-06-04 Thread Bill Moran
Perica Veljanovski [EMAIL PROTECTED] wrote:

 Hi again
 
 It turned out to be a public mail server as well! The choice for the MTA
 on fell on postfix :) Now I have to chose POP/IMAP and Virus/Spam.
 
 I would appreciate if you can give me some input on your experience with
 Cyrus or Courier, since they are my choices for pop/imap. Also I'd like
 some suggestions on what to use for virus/spam protection, and how they
 are implemented in postfix?

In addition to whatever else you do, use a greylister to prevent virus/spam.
I've been playing with different techniques for months, and the greylister
is the best I've used so far.  It never has a false positive, rejects virus/spam
before using up all the bandwidth to send it, uses almost no CPU and (in my
experience) stops about 95% of the viruses and spams.

http://projects.puremagic.com/greylisting/

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipnat and ipfw dummynet

2004-06-04 Thread Nelis Lamprecht
Sorry, I failed to point out my current network configuration.

I have 2 internal networks which use NAT, one class C ( 192.96.48.0/24 )
and one rfc1918 ( 192.168.1.0/24 ).

The internal interface(bge1) is configured with the class c network and
I have added a route to bge1 for 192.168.1.0/24. All traffic on the
192.96.48.0/24 network internally is routed via the gateway to get to
the 192.168.1.0 network.

Hope that makes sense.

Nelis

On Fri, 2004-06-04 at 14:43, Nelis Lamprecht wrote:
 Hi,
 
 I'm interested to hear how people utilise dummynet in a NAT environment.
 How does one create a pipe for a NAT network without effecting the
 actual LAN speed ? For example, on the gateway:
 
 $fwcmd add pipe 1 ip from 192.168.1.0/24 to any out
 $fwcmd add pipe 2 ip from any to 192.168.1.0/24 in
 $fwcmd pipe 1 config bw 128Kbit/s
 $fwcmd pipe 2 config bw 128Kbit/s
 
 The above example would be fine if 192.168.1.0/24 were only talking to
 the internet but unfortunately it also effects the machines from talking
 to each other internally. The only interface you can specify is the
 internal interface(bge1) because this is the only time that ipfw will
 see the addresses before they are passed to NAT(ipnat) and will not be
 seen on the external interface(bge0). So basically the above example
 should be written as:
 
 $fwcmd add pipe 1 ip from 192.168.1.0/24 to any out via bge1
 $fwcmd add pipe 2 ip from any to 192.168.1.0/24 in via bge1
 
 This however will also give 192.168.1.0/24 an internal LAN speed of
 128Kbit/s which is to say quite humorous ;-)
 
 What is the solution to this ? ..I'm obviously missing something. The
 internal interface is not firewalled.
 
 
 Many thanks,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Re: Freebsd Loading error

2004-06-04 Thread Bill Moran
[Please read http://www.lemis.com/questions.html]

WyteWolf [EMAIL PROTECTED] wrote:
 I have recently downloaded the two ISO's of the FreeBSD realease
 
 I am having trouble making a image of the kern and mfsboot *.flp files using
 rawrite

What OS are you using to create them?  I seem to remember having considerable
difficulty using rawrite on Windows NT, and I seem to remember that the solution
was a proper combination of command line switches.  Unfortunately, I don't
remember the exact incantation.

Beyond that, you should probably provide more detail of what the problem is,
if you actually want a useful answer.  We're not psychic.

 Copying the kern.flp to a floppy disk is impossible,

It's also wrong.

 also how may i create
 this bootdisk and load the OS and install it, I have extracted the ISO files
 but i cannot work out how to install it.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
See section 2.2.7 on preparing the installation media.  If you can tell us
exactly what procedure you're trying to follow, and exactly how it is failing,
I'm sure we can provide specific pointers.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HDD-UDMA-100 support at setup

2004-06-04 Thread Volker Lieder
Hello,
I want to install a Freebsd 4.9 System with a 40GB UDMA-100 HDD.
After the CD has booted i got an error while the IDE-Bus is scanning.
Has anybody solved this Problem?
On other Systems it is possible to solve this problems with
deactivating this function in the bios, but this bios 
hasn't such a switchbutton.

Any idea?

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


Re: Freebsd Loading error

2004-06-04 Thread Bill Moran
WyteWolf [EMAIL PROTECTED] wrote:

 ok...
 I am using Windows ME and no other
 
 First of all, I have downloaded the ISO images.
 extracted them and that is all, I have followed the instructions to create a
 bootdisk and have failed.
 that is about it.
 I'm am looking to install freebsd and load freebsd, that's about it.
 What more than that could I explain?

1) Use reply-all to send to both me and the mailing list, unfortunately, I don't
   have time to handle everyone with a question on a one on one basis
2) Read this: http://www.lemis.com/questions.html and follow the advice there
   on what needs reported.

With what little information you've provided, I can only answer Either you're
doing it wrong or your computer is broken.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Make release for sparc64 target on i386 system

2004-06-04 Thread Sven Willenberger
I seem to be running into brick walls making a 5.2.1-RELEASE-P8 for
sparc64 arch on an i386 system. I have tried the following using the
latest sources from cvsup:

1)simple make buildworld to populate /usr/obj
 - make -DMAKE_ISOS -DNOPORTREADMES release \ 
   BUILDNAME=5.2.1-RELEASE-P8-Sparc64 \
   CHROOTDIR=/var/release2 \
   CVSROOT=/var/ncvs \
   RELEASETAG=RELENG_5_2 \
   TARGET_ARCH=sparc64

 - this works until the time to create the isos at which point the whole
thing bails with:
sh -e /usr/src/release/scripts/doFS.sh sunlabel
 /R/stage/mfsroot/mfsroot /R/stage /mnt  4096 /R/stage/mfsfd 8192 auto
+ export BLOCKSIZE=512
+ DISKLABEL=sunlabel
+ shift
+ MACHINE=
+ shift
+ FSIMG=/R/stage/mfsroot/mfsroot
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=4096
+ shift
+ FSPROTO=/R/stage/mfsfd
+ shift
+ FSINODE=8192
+ shift
+ FSLABEL=auto
+ shift
+ [ 4096 -eq 0 -a auto = auto ]
+ deadlock=20
+ uname -r
+ [ -f /R/stage/trees/base/boot/boot ]
+ BOOT=-r
+ dofs_md
+ true
+ rm -f /R/stage/mfsroot/mfsroot
+ [ x != x ]
+ dd of=/R/stage/mfsroot/mfsroot if=/dev/zero count=4096 bs=1k
+ mdconfig -a -t vnode -f /R/stage/mfsroot/mfsroot
+ MDDEVICE=md0
+ [ ! -c /dev/md0 ]
+ trap umount /mnt; mdconfig -d -u md0 EXIT
+ sunlabel -w -r md0 auto
Obsolete -r flag ignored
+ newfs -O1 -i 8192 -o space -m 0 /dev/md0c
fstab: /etc/fstab:0: No such file or directory
newfs: /dev/md0c: could not find special device
+ umount /mnt
umount: /mnt: not a file system root directory
*** Error code 1

Stop in /usr/src/release.
+ umount /dev
*** Error code 1

Stop in /usr/src/release.

2) figuring this was because of the wrong world being used to create the
release I did:

make -j8 buildworld TARGET=sparc64
this created the /usr/obj/sparc64 structure

then:
 - make TARGET_ARCH=sparc64 MAKEOBJDIRPREFIX=/usr/obj/sparc64 \
  -DMAKE_ISOS -DNOPORTREADMES release \
  BUILDNAME=5.2.1-RELEASE-P8-Sparc64 \
  CHROOTDIR=/var/release2 \
  CVSROOT=/var/ncvs \
  RELEASETAG=RELENG_5_2

resulted in:
.
.
.=== sys
=== sys/boot
=== sys/boot/ficl
=== sys/boot/i386
=== sys/boot/i386/mbr
install  -o root -g wheel -m 444   mbr /var/release2/boot
install: mbr: No such file or directory
*** Error code 71

Stop in /usr/src/sys/boot/i386/mbr.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src/release.

So the question is (two-fold): is it possible to make a sparc64 release
with isos on an i386 system and if so, how exactly?

Thanks,

Sven


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


Re: Make release for sparc64 target on i386 system

2004-06-04 Thread Kris Kennaway
On Fri, Jun 04, 2004 at 09:41:46AM -0400, Sven Willenberger wrote:
 I seem to be running into brick walls making a 5.2.1-RELEASE-P8 for
 sparc64 arch on an i386 system. I have tried the following using the
 latest sources from cvsup:

I don't think you can cross-target releases.  For example, the
filesystems have a different endianness on sparc64 and i386.

Kris

pgp985ziMBG7r.pgp
Description: PGP signature


x-forwarding problem - no window contents

2004-06-04 Thread Simon Timms
Hi,
I.m having a problem with x-forwarding.  I have looked through past
questions but I haven.t seen anything on this particular topic.  I have
two FreeBSD 5.2_1 machines at home, one of which I run headless.  Usually
I manage the headless machine from windows using x-forwarding and either
exceed or x-win and putty.  Recently I decided that I hate windows so much
that it was time to change fulltime to FreeBSD on my desktop however a
problem arises.  When I forward anything from the server to my desktop
machine I don't get the contents of any window.  The window frame appears
along with the title and is sized correctly but there is nothing inside
the frame.

I have tried using several different window managers and different users
in the hopes it was some sort of setting I had accidentally triggered
but to no avail.  Has anybody seen this before and how do I fix it?
I assume that it is a problem on the desktop machine since forwarding
does work between the server and other boxes.

Thanks,
Simon


Appologies if this is a double post it seems that my first attempt was
lost somewhere in the bit bucket in the sky.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: statistical program for FreeBSD?

2004-06-04 Thread Gary
Hi Matthew and Mike,

On Fri, 4 Jun 2004 10:20:03 +0100 UTC (6/4/2004, 4:20 AM -0500 UTC my time),
Matthew Seaman wrote:

M Hmmm... I've done the odd bit of Statistical work in my time, but I've
M never heard of Heckman's Phase 2 model.  Which unfortunately
M suggests that you're going to need something rather more sophisticated
M than the general run of the mill available in ports.

Actually it is called Heckman's 2 step model, or Heckman Two-Step Selection
Correction Estimation..

He won the Nobel Prize for this in 2000, for his development of theory
and methods for analyzing selective samples - Empirical Microeconomics

as described here.

http://www.bsos.umd.edu/econ/panagariya/apecon/ET/et18-oct00.htm


M If you:

M % cd /usr/ports
M % make search key=statistics

M you will get a long list of ports that do something to do with
M statistics.  For the most part that's either gathering statistical
M data from the operation of some program, or processing that data
M usually in a relatively simple manner to produce various graphs and
M reports.  However amidst the muck there are one or two glitters of
M what might be gems.  There's math/xldlas and math/xlispstat which are
M general purpose statistics packages.  There are a number of modules
M for various programming languages that implement statistical
M functions, eg. math/p5-Statistics-Table-F

This is just excellent news. Thank you, as always, for your detailed,
informative responses.

M There are also some symbolic mathematics programs which might serve:
M math/jacal and math/maxima

M However, probably your best bet is the math/R port, whose pkg-desc is
M as follows:

M From http://www.R-project.org/about.html:

This is a great place to start... I am deeply indebted to both you and Mike
for this information... Thanks very much.  Ain't open source grand LOL..

-- 
Gary

The beatings will continue until morale improves.

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


Re: x-forwarding problem - no window contents

2004-06-04 Thread Bart Silverstrim
On Jun 4, 2004, at 10:10 AM, Simon Timms wrote:
I have tried using several different window managers and different 
users
in the hopes it was some sort of setting I had accidentally triggered
but to no avail.  Has anybody seen this before and how do I fix it?
I assume that it is a problem on the desktop machine since forwarding
does work between the server and other boxes.
Does compression (-C) on ssh have any effect?  I've noticed some 
programs run very slow without compression (and even then, 
still run with a bit of lag...like Pan... :-(

Does it work better if you connect to a ssh-forwarded VNC session?
Anything showing up in logs for ssh?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: x-forwarding problem - no window contents

2004-06-04 Thread Kris Kennaway
On Fri, Jun 04, 2004 at 08:10:08AM -0600, Simon Timms wrote:
 Hi,
 I.m having a problem with x-forwarding.  I have looked through past
 questions but I haven.t seen anything on this particular topic.  I have
 two FreeBSD 5.2_1 machines at home, one of which I run headless.  Usually
 I manage the headless machine from windows using x-forwarding and either
 exceed or x-win and putty.  Recently I decided that I hate windows so much
 that it was time to change fulltime to FreeBSD on my desktop however a
 problem arises.  When I forward anything from the server to my desktop
 machine I don't get the contents of any window.  The window frame appears
 along with the title and is sized correctly but there is nothing inside
 the frame.
 
 I have tried using several different window managers and different users
 in the hopes it was some sort of setting I had accidentally triggered
 but to no avail.  Has anybody seen this before and how do I fix it?
 I assume that it is a problem on the desktop machine since forwarding
 does work between the server and other boxes.

How are you doing the X Forwarding?  Exporting DISPLAY directly?
Tunneling over SSH with ssh -X or ssh -Y (you probably want the
latter)?

Kris


pgpbPGVDUqFNU.pgp
Description: PGP signature


Re: Memory used by caching name server?

2004-06-04 Thread Olaf Hoyer
On Fri, 4 Jun 2004, Rob wrote:

 
  named claims memory on the fly.
  On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
  database, being the resolver for the machine that creates from http-logs
  colorful pictures and other fancy things...

 Waaauw, that sounds rather dangerous to me. I have a caching nameserver
 running on an old Pentium-I with 32 Mb of ram (48 Mb swap). I am still
 using it in a testing enviroment, moderately using the named's cache.
 So far total memory usage by the OS is very low (swap is hardly used).

 I wonder if named would eat up all the ram in a production enviroment.
 Can't imagine that, actually. Nowhere I have seen warnings against
 such disaster. But then there is this option for the named configuration
 file, that limits the cache memory usage.

Well, some colleagues have some Machines with 512MB RAM running, also
bind 9, but with no given limit on size. They serve as resolvers to
several thousands of dedicated servers (customers servers) and use more
than 200MB RAM without being limited.

The example on Solaris is in a scenarion where a dedicated host has to
chew more than 30 GB http logs a day, does reverse lookups and then does
some statistics on them, so the named has to look up pretty much domain
names...

This special host has more than 10 CPU in it, so you can imagine the
power needed...

On other hosts, where I also run named as caching resolver, I have about
3-4 MB memory footprint for normal use...


HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: x-forwarding problem - no window contents

2004-06-04 Thread Simon Timms
On Fri, 4 Jun 2004, Kris Kennaway wrote:

 On Fri, Jun 04, 2004 at 08:10:08AM -0600, Simon Timms wrote:
  Hi,
  I.m having a problem with x-forwarding.  I have looked through past
  questions but I haven.t seen anything on this particular topic.  I have
  two FreeBSD 5.2_1 machines at home, one of which I run headless.  Usually
  I manage the headless machine from windows using x-forwarding and either
  exceed or x-win and putty.  Recently I decided that I hate windows so much
  that it was time to change fulltime to FreeBSD on my desktop however a
  problem arises.  When I forward anything from the server to my desktop
  machine I don't get the contents of any window.  The window frame appears
  along with the title and is sized correctly but there is nothing inside
  the frame.
 
  I have tried using several different window managers and different users
  in the hopes it was some sort of setting I had accidentally triggered
  but to no avail.  Has anybody seen this before and how do I fix it?
  I assume that it is a problem on the desktop machine since forwarding
  does work between the server and other boxes.

 How are you doing the X Forwarding?  Exporting DISPLAY directly?
 Tunneling over SSH with ssh -X or ssh -Y (you probably want the
 latter)?

Oooh, you know I think I'm just doing 'ssh' and expecting it to work or
give me a huge obvious error.  I have enabled ForwardX11 in
/etc/ssh/ssh_conf on the desktop.  You're probably right that it is a
question of '-X' or '-Y'.  I shall have to try this out when I get home
tonight.  What is the difference between trusted and untrusted X11
forwarding?

 Kris


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


pearpc

2004-06-04 Thread Brian Henning
Greetings:

For some reason my port of pearpc will not compile. Does anyone know of a place
where I could find a package of it?

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


Re: x-forwarding problem - no window contents

2004-06-04 Thread Kris Kennaway
On Fri, Jun 04, 2004 at 08:59:31AM -0600, Simon Timms wrote:

 Oooh, you know I think I'm just doing 'ssh' and expecting it to work or
 give me a huge obvious error.  I have enabled ForwardX11 in
 /etc/ssh/ssh_conf on the desktop.  You're probably right that it is a
 question of '-X' or '-Y'.  I shall have to try this out when I get home
 tonight.  What is the difference between trusted and untrusted X11
 forwarding?

Untrusted is safer when you don't trust the security of the machine
you're connecting to, but it doesn't work for a lot of X applications.

Kris


pgpMZiOK9lDxu.pgp
Description: PGP signature


interleaved swap? (5.2.1)

2004-06-04 Thread J.D. Bronson
[shadow] 8:11:34am /var/log swapinfo
Device  1K-blocks UsedAvail Capacity
/dev/da0s1b   10485760  1048576 0%
I noticed on some FreeBSD machines I see an entry like this:
Type
Interleaved
How come its missing?


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail only accepting local connections

2004-06-04 Thread Andy Clements
It is not a foolish question.  While I didn't have sendmail_enable=NO 
in my /etc/rc.conf, I didn't have
sendmail_enable=YES either.  When I added sendmail_enable=YES, it 
finally accepted outside
connections.  Yea! THANKS!  I knew it was some small detail that I 
missed.  Sometimes you just
need that small reminder.

Thanks again!
--Andy Clements
Dan MacMillan wrote:
-Original Message-
From: Andy Clements
 

I'm having problems getting sendmail to accept anything but local
connections.
   

This may be a foolish question, but you don't have sendmail_enable=NO or
some such in your /etc/rc.conf, do you?
-Danny
.
 

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


Re: Memory used by caching name server?

2004-06-04 Thread Rob
Olaf Hoyer wrote:
On Fri, 4 Jun 2004, Rob wrote:

named claims memory on the fly.
On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
database, being the resolver for the machine that creates from http-logs
colorful pictures and other fancy things...
Waaauw, that sounds rather dangerous to me. I have a caching nameserver
running on an old Pentium-I with 32 Mb of ram (48 Mb swap). I am still
using it in a testing enviroment, moderately using the named's cache.
So far total memory usage by the OS is very low (swap is hardly used).
I wonder if named would eat up all the ram in a production enviroment.
Can't imagine that, actually. Nowhere I have seen warnings against
such disaster. But then there is this option for the named configuration
file, that limits the cache memory usage.
Well, some colleagues have some Machines with 512MB RAM running, also
bind 9, but with no given limit on size. They serve as resolvers to
several thousands of dedicated servers (customers servers) and use more
than 200MB RAM without being limited.
The example on Solaris is in a scenarion where a dedicated host has to
chew more than 30 GB http logs a day, does reverse lookups and then does
some statistics on them, so the named has to look up pretty much domain
names...
This special host has more than 10 CPU in it, so you can imagine the
power needed...
On other hosts, where I also run named as caching resolver, I have about
3-4 MB memory footprint for normal use...
How do you actually figure out how much memory is consumed by named?
I still have no idea how to do that, so I have no idea how much
my poor old Pentium-I is suffering from the named cache
Knowing how to do that, would help me already a little further.
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD4 COMPAT

2004-06-04 Thread Matthew Seaman
On Fri, Jun 04, 2004 at 11:09:04AM -0400, Reed L. O'Brien wrote:
 Matthew, et al:
 
 The info below is interesting and I appreciate it.  I think O wasn't 
 clear enough though.  I meant to ask about a kernel option.  Speifically
 options COMPAT_FREEBSD4 #Compatible with FreeBSD4
 
 Does that provide the same result as decribed below?

Right -- that is a kernel option, but it's new in 5.x and I have yet
to get my paws on a 4.x system.

However it's a standard option in the GENERIC kernel, so I'd say you
should incorporate it unless you have a specific reason not to.  Mind
you, as what it seems to do is enable some 4.x specific syscalls (see
/usr/src/sys/conf/NOTES), you will have to enable it in the same
circumstances as you would need the COMPAT4X stuff I described before.

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


pgp2kulQxsHrL.pgp
Description: PGP signature


Re: interleaved swap? (5.2.1)

2004-06-04 Thread Kris Kennaway
On Fri, Jun 04, 2004 at 10:10:19AM -0500, J.D. Bronson wrote:
 [shadow] 8:11:34am /var/log swapinfo
 
 Device  1K-blocks UsedAvail Capacity
 /dev/da0s1b   10485760  1048576 0%
 
 
 I noticed on some FreeBSD machines I see an entry like this:
 
 Type
 Interleaved
 
 How come its missing?

What are you going to interleave your one swap device with?

Kris

pgpcQMa5eBiKW.pgp
Description: PGP signature


Re: interleaved swap? (5.2.1)

2004-06-04 Thread J.D. Bronson
At 10:35 AM 06/04/2004, Kris Kennaway wrote:
On Fri, Jun 04, 2004 at 10:10:19AM -0500, J.D. Bronson wrote:
 [shadow] 8:11:34am /var/log swapinfo

 Device  1K-blocks UsedAvail Capacity
 /dev/da0s1b   10485760  1048576 0%


 I noticed on some FreeBSD machines I see an entry like this:

 Type
 Interleaved

 How come its missing?
What are you going to interleave your one swap device with?
Kris
Its just that before (on a 4.x machine??) even with one device, thats what 
it would say. I never ever have configured more than 1 swap device :)




--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 5.2.1 SMP problems

2004-06-04 Thread Dave Raven
Well all the tests I ran (about 2 memory testers and 2 benchmarks) caused
the box to die - even the make installs did half the time. Now that I've
disabled SMP there are no problems, and the same tests are working
perfectly...

The only thing I've changed is the SMP support, and now its been running for
4 days, before it wouldn't run for 12 hours

Thanks
Dave

-Original Message-
From: Albert Shih [mailto:[EMAIL PROTECTED] 
Sent: 04 June 2004 01:47 PM
To: Dave Raven
Cc: [EMAIL PROTECTED]
Subject: Re: 5.2.1 SMP problems


 Le 04/06/2004 à 11:47:14+0200, Dave Raven a écrit
 Hi all,
Installed 5.2.1 on a high load server - albeit not recommended - and 
 it was working perfectly with SMP support. It picked up 4 cpu's and 
 appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
 Anyway, the box was as I said under quite a bit of load, and would die 
 about once a day - just reboot. I looked into it a bit and found 
 whenever I put more load on (e.g. a make install in ports) it would 
 panic - vm_load_page or something like that - sorry about being so 
 vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
 one normal Xeon + HT for the second (no idea how to disable that - but I 
 don't need to)... its been running perfect for 4 days now and I put it 
 under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
 couldn't find anything about it at first glimpse...
 

Have you shure this problem is with FreeBSD ?

First check your memory with some software like memtest86
(http://www.memtest86.com/)

When I've this kind of problem, always it's because some error in RAM.

Regards



--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Jun 4 13:43:52 CEST 2004

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


How to make a screenshot?

2004-06-04 Thread Andrew L. Gould
How can I make a screenshot of what's on my monitor?  (I searched the
archives unsuccessfully for screenshot.)

I'm running FreeBSD 4.10.

Thanks,

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


Re: 5.2.1 SMP problems

2004-06-04 Thread Bill Moran
Dave Raven [EMAIL PROTECTED] wrote:

 Well all the tests I ran (about 2 memory testers and 2 benchmarks) caused
 the box to die - even the make installs did half the time. Now that I've
 disabled SMP there are no problems, and the same tests are working
 perfectly...
 
 The only thing I've changed is the SMP support, and now its been running for
 4 days, before it wouldn't run for 12 hours

You may want to take this problem to hackers@ (with more details about the panic
and the hardware involved - the actual panic message and dmesg output) and see
if anyone is aware of the problem.

Since 5 is in heavy development, it's possible that this problem has already
been dealt with and fixed in 5-CURRENT.  If not, I'm sure the development team
would be interested in your assistance in fixing it.

 
 Thanks
 Dave
 
 -Original Message-
 From: Albert Shih [mailto:[EMAIL PROTECTED] 
 Sent: 04 June 2004 01:47 PM
 To: Dave Raven
 Cc: [EMAIL PROTECTED]
 Subject: Re: 5.2.1 SMP problems
 
 
  Le 04/06/2004 à 11:47:14+0200, Dave Raven a écrit
  Hi all,
 Installed 5.2.1 on a high load server - albeit not recommended - and 
  it was working perfectly with SMP support. It picked up 4 cpu's and 
  appeared to be using them all. (The box is a dual 2.4gig Xeon machine). 
  Anyway, the box was as I said under quite a bit of load, and would die 
  about once a day - just reboot. I looked into it a bit and found 
  whenever I put more load on (e.g. a make install in ports) it would 
  panic - vm_load_page or something like that - sorry about being so 
  vague. Anyway I took out SMP support, and now it boots with 2 cpu's - 
  one normal Xeon + HT for the second (no idea how to disable that - but I 
  don't need to)... its been running perfect for 4 days now and I put it 
  under SERIOUS load.. has anyone else had SMP problems on 5.2.1? I 
  couldn't find anything about it at first glimpse...
  
 
 Have you shure this problem is with FreeBSD ?
 
 First check your memory with some software like memtest86
 (http://www.memtest86.com/)
 
 When I've this kind of problem, always it's because some error in RAM.
 
 Regards
 
 
 
 --
 Albert SHIH
 Universite de Paris 7 (Denis DIDEROT)
 U.F.R. de Mathematiques.
 Heure local/Local time:
 Fri Jun 4 13:43:52 CEST 2004
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to make a screenshot?

2004-06-04 Thread joel.criqui
If you use kde, there is an application called knsapshot. it allows to do screenshot 
and to save it in a jpg fromat


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew L. Gould
Sent: 04 June 2004 17:23
To: [EMAIL PROTECTED]
Subject: How to make a screenshot?


How can I make a screenshot of what's on my monitor?  (I searched the
archives unsuccessfully for screenshot.)

I'm running FreeBSD 4.10.

Thanks,

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


Re: How to make a screenshot?

2004-06-04 Thread Chris
On Friday 04 June 2004 11:23 am, Andrew L. Gould wrote:
 How can I make a screenshot of what's on my monitor?  (I searched the
 archives unsuccessfully for screenshot.)

 I'm running FreeBSD 4.10.


Gimp and if you use KDE, KSnapshop



 Thanks,

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

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


Re: interleaved swap? (5.2.1)

2004-06-04 Thread Dan Nelson
In the last episode (Jun 04), Kris Kennaway said:
 On Fri, Jun 04, 2004 at 10:10:19AM -0500, J.D. Bronson wrote:
  [shadow] 8:11:34am /var/log swapinfo
  
  Device  1K-blocks UsedAvail Capacity
  /dev/da0s1b   10485760  1048576 0%
  
  I noticed on some FreeBSD machines I see an entry like this:
  
  Type
  Interleaved
  
  How come its missing?
 
 What are you going to interleave your one swap device with?

Actually there used to be a Type column in 4.x and earlier, which
would read Interleaved or Sequential.  The current code always
round-robins across all swap devices, so it's meaningless now.

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


Re: How to make a screenshot?

2004-06-04 Thread sigsegv
Andrew L. Gould wrote:
How can I make a screenshot of what's on my monitor?  (I searched the
archives unsuccessfully for screenshot.)
I'm running FreeBSD 4.10.
Thanks,
Andrew
Gimp is an image manipulation program similar to Photoshop or 
PaintShopPro, which can also grab screenshots etc. Run Gimp and then 
select File-Acquire-Screen_Shot. Assuming you're connected to the 
Internet, you can install Gimp via ftp:

$ su
Password:
athlon1000# pkg_add -r gimp
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2.1-release/Latest/gimp.tbz...

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


tcpd and inetd.conf

2004-06-04 Thread Lasse Danielsen
Not sure if this is a bug or not, but...

On FBSD 5.2.1-p6 and 4.10 (at least) I've tried to make an entry in
inetd.conf work...
I don't want to depend on inetd starting with the flags '-wW', but would
like to make the tcpd daemon take care of things.
This seem like an impossible task. If I add this line in inetd.conf for
instance:

  my-service stream tcp nowait root /usr/libexec/tcpd
/usr/local/libexec/myservice

and then start inetd with '/usr/sbin/inetd -c 40', all entries for
'my-service' is ignored in /etc/hosts.allow. If I start inetd with the '-wW'
flags, the rules set in hosts.allow is used as it should.

Am I doing something wrong?

PS! If you happen to answer this one - can you please CC me? I'm not (yet)
on the mailing-lists..

Regards,
Lasse Danielsen

Never argue with an idiot. He'll drag you down to his level, then beat you
with experience.

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


Re: How to make a screenshot?

2004-06-04 Thread Cordula's Web
  How can I make a screenshot of what's on my monitor?  (I searched the
  archives unsuccessfully for screenshot.)
 
 Gimp is an image manipulation program similar to Photoshop or 
 PaintShopPro, which can also grab screenshots etc. Run Gimp and then 
 select File-Acquire-Screen_Shot. Assuming you're connected to the 

Or just use xwd(1).

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: How to make a screenshot?

2004-06-04 Thread Martin Hudec
Hello,
Andrew L. Gould wrote:
How can I make a screenshot of what's on my monitor?  (I searched the
archives unsuccessfully for screenshot.)
	Or what about ImageMagick? :) and its import utility? Maybe it is big 
weapon for something so small.. but ImageMagick is imho very useful 
piece of software to do some image manipulation stuff..

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


Re: How to make a screenshot?

2004-06-04 Thread Andrew L. Gould
On Fri,  4 Jun 2004 18:41:02 +0200 (CEST)
Cordula's Web [EMAIL PROTECTED] wrote:

   How can I make a screenshot of what's on my monitor?  (I searched
   the archives unsuccessfully for screenshot.)
  
  Gimp is an image manipulation program similar to Photoshop or 
  PaintShopPro, which can also grab screenshots etc. Run Gimp and then
  
  select File-Acquire-Screen_Shot. Assuming you're connected to the 
 
 Or just use xwd(1).
 
 -- 
 Cordula's Web. http://www.cordula.ws/

Thanks to all who replied.

I tried both gimp and ksnapshot from within xfce4.  (I have KDE
installed for Konqueror's webdav functionality.)  Both worked great.

I flubbed my first attempt with xwd -- I need to spend more time with
it's man page.

Thanks again,

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


RE: How to make a screenshot?

2004-06-04 Thread JJB
DO any of the suggestions made so for work from the command line or
do they all just run under x?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Martin
Hudec
Sent: Friday, June 04, 2004 1:06 PM
To: Andrew L. Gould
Cc: [EMAIL PROTECTED]
Subject: Re: How to make a screenshot?

Hello,

Andrew L. Gould wrote:

 How can I make a screenshot of what's on my monitor?  (I searched
the
 archives unsuccessfully for screenshot.)

Or what about ImageMagick? :) and its import utility? Maybe
it is big
weapon for something so small.. but ImageMagick is imho very useful
piece of software to do some image manipulation stuff..


Cheers,

Martin

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


crom output?

2004-06-04 Thread Gary Kline

Here's the latest in the Continuing Adventures of tracking
down why my main server crashes in the wee hours (usually).

I had the memory replaced and am no longer losing tons of
file to badly alloc'd index nodes. *but*, over the weeks
that I've ket a /var/log/console.log, tao has usually gone
down just after 03:00, when the periodic/daily scripts are
run.  

So: is there any magic-knob I can turn to catch exactly 
which daily file is causing this?   (It may be time to get
a newer hard drive, but t hat's another issue.)

thanks, people,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: How to make a screenshot?

2004-06-04 Thread Michal Pasternak
Andrew L. Gould [Fri, Jun 04, 2004 at 12:17:10PM -0500]:
 
 I flubbed my first attempt with xwd -- I need to spend more time with
 it's man page.

Try:

xwd | xwdtopnm | pnmtojpeg   foo.jpg

... and xli (xloadimage) for lightweight image viewing program.

Gimp, ImageMagick, ksnapshot are too heavyweight IMO if you just want a
screenshot.
-- 
m


pgprFOoVKWgGO.pgp
Description: PGP signature


Re: How to make a screenshot?

2004-06-04 Thread Michal Pasternak
JJB [Fri, Jun 04, 2004 at 01:22:27PM -0400]:
 DO any of the suggestions made so for work from the command line or
 do they all just run under x?

screen has a hardcopy function (C-a h) and a log function (C-a H), if you
want to play with textmode.


pgpjHMgA7fFFm.pgp
Description: PGP signature


security level and fsck

2004-06-04 Thread J.D. Bronson
is there any connection to fsck not be able to run when
I am at security level 3 under 5.2.1?
That seems odd, but sure seems to be the case.


--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to make a screenshot?

2004-06-04 Thread Andrew L. Gould
On Fri, 4 Jun 2004 19:29:41 +0200
Michal Pasternak [EMAIL PROTECTED] wrote:

 Andrew L. Gould [Fri, Jun 04, 2004 at 12:17:10PM -0500]:
  
  I flubbed my first attempt with xwd -- I need to spend more time
  with it's man page.
 
 Try:
 
   xwd | xwdtopnm | pnmtojpeg   foo.jpg
 
 ... and xli (xloadimage) for lightweight image viewing program.
 
 Gimp, ImageMagick, ksnapshot are too heavyweight IMO if you just want
 a screenshot.
 -- 
 m
 

Today, getting it done for the first time, quickly, was the priority. 
The hardware had idle resources; I did not.

Tonight, the part of me that has always been fascinated by piping will
revisit the commands you provided above.

Thank you for your help,

Andrew

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


Re: security level and fsck

2004-06-04 Thread Erik Trulsson
On Fri, Jun 04, 2004 at 12:32:51PM -0500, J.D. Bronson wrote:
 is there any connection to fsck not be able to run when
 I am at security level 3 under 5.2.1?
 
 That seems odd, but sure seems to be the case.

That sounds very likely.  I would imagine that fsck needs write access
to the raw disks in order to do its job, but such access is not allowed
under securelevel 2 and above.
fsck is normally run very early in the boot-sequence - before the
securelevel is raised - so in normal operation that would not be any
major problem.


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


Re: security level and fsck

2004-06-04 Thread Bill Moran
Erik Trulsson [EMAIL PROTECTED] wrote:

 On Fri, Jun 04, 2004 at 12:32:51PM -0500, J.D. Bronson wrote:
  is there any connection to fsck not be able to run when
  I am at security level 3 under 5.2.1?
  
  That seems odd, but sure seems to be the case.
 
 That sounds very likely.  I would imagine that fsck needs write access
 to the raw disks in order to do its job, but such access is not allowed
 under securelevel 2 and above.
 fsck is normally run very early in the boot-sequence - before the
 securelevel is raised - so in normal operation that would not be any
 major problem.

What about 5's background fsck?  Is that set up so it's able to run after
the securelevel has been raised?  Background fsck seems to wait a minute or
so for the machine to boot before it starts.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: security level and fsck

2004-06-04 Thread J.D. Bronson
At 01:00 PM 06/04/2004, Bill Moran wrote:
What about 5's background fsck?  Is that set up so it's able to run after
the securelevel has been raised?  Background fsck seems to wait a minute or
so for the machine to boot before it starts.
that was sorta my question too. I do see it run LATER after boot (60s) and 
when already in securelevel 3.

I dont know if the background process has more rights or not, but if I do 
it manually I see:

(NO WRITE)
on the command.



--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: security level and fsck

2004-06-04 Thread Erik Trulsson
On Fri, Jun 04, 2004 at 02:00:36PM -0400, Bill Moran wrote:
 Erik Trulsson [EMAIL PROTECTED] wrote:
 
  On Fri, Jun 04, 2004 at 12:32:51PM -0500, J.D. Bronson wrote:
   is there any connection to fsck not be able to run when
   I am at security level 3 under 5.2.1?
   
   That seems odd, but sure seems to be the case.
  
  That sounds very likely.  I would imagine that fsck needs write access
  to the raw disks in order to do its job, but such access is not allowed
  under securelevel 2 and above.
  fsck is normally run very early in the boot-sequence - before the
  securelevel is raised - so in normal operation that would not be any
  major problem.
 
 What about 5's background fsck?  Is that set up so it's able to run after
 the securelevel has been raised?  Background fsck seems to wait a minute or
 so for the machine to boot before it starts.

I don't run 5.x so I don't know for sure, but it certainly sounds like
background fsck does not work well together with a securelevel 2 or
above.  So if you want to run at a high securelevel you can't use
background fsck.


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


Mail Scan Alert!

2004-06-04 Thread Email Administrator
Bu mesaja ekli olan bir eklenti otomatik olarak silindi.
Eklentinin silinme sebebi: 
Olasý Kötü Niyetli E-Posta Ýçeriði Bulundu 
Eklenti ismi: your_picture.pif 

Hacettepe Üniversitesi e-posta sistemi aþaðýda belirtilen 
uzantýlara sahip tüm eklentileri silmektedir. Bu eklentilerin 
silinme sebebi, genellikle virüs, truva atý gibi kötü niyetli 
programlar içermeleridir. 
Otomatik olarak silinen eklenti uzantýlarý: 
exe, bat, scr, pif, cmd, vbs, com 
  - Hacettepe University E-Posta Servisleri

-- 
An attachment that was attached to this message has been removed. 
The reason given for removal: 
Possible Malicious Email Content Detected 
Attachment name: your_picture.pif 

Hacettepe University mail system automatically removes attachments 
with the following extensions. The reason for removal is that, files 
with these extensions generally include malicious programs like viruses, 
trojan horses etc.
Automatically removed attachment extensions: 
exe, bat, scr, pif, cmd, vbs, com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MIME-Tools, sendmail or Eudora?

2004-06-04 Thread Greg Barniskis
Please feel free to send me to another forum (Eudora, MIME-Tools or
sendmail) as appropriate. I just thought I would start here for clues,
(and in the hope of finding a server-side magic bullet, since I cannot
really control the senders or receivers of the messages in question).
We're using FreeBSD 4.9 on our mail server, with a sendmail configuration
not much modified from the default except for domain name, acceptable
relays, and masquerading. Whenever we get a message that has been
handled with X-Mailer: MIME-tools 5.411 (Entity 5.404), which we see
most frequently on Bugtraq, we have a problem reading it in Eudora.
On the server side, peering into the mailbox file in /var/mail shows that
the message is intact, but that the message body's lines are using a
Windows-like line break (CRLF), as opposed to normal messages
that are using only a line feed. Ironically, my Windows-based email client
(Eudora) will not render the Windows-like message bodies properly.
I see  http://search.cpan.org/dist/MIME-tools/lib/MIME/Tools/traps.pod,
but it's not clear (to me) where in the sender-server-receiver chain this
discrepancy between CRLF and LF should be addressed.
Is the problem here that:
(a) the sender is not formatting the message correctly
(b) my server is not rewriting the message correctly
(c) the Windows client is not rendering the message correctly
Is there anything I can do to my FreeBSD/sendmail server configuration
to make this a non-issue?

--
Greg Barniskis
Library Interchange Network (LINK)
South Central Library System (SCLS) 

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


Getting Compaq WL110 card to work

2004-06-04 Thread Yasir Malik
Hello,
I have NetBSD 2.0 BETA installed on my laptop.  Unfortunately, NetBSD does
not support my Compaq WL110 wireless card.  I looked at the
FreeBSD man pages and saw that FreeBSD does support my wireless card.  I
thought I would be able to take the card's id and other pertinent
information from the FreeBSD source code and put it in an appropriate file
in the NetBSD source and recompile my kernel.  I poked around the FreeBSD
source code and found the file sys/dev/wi/if_wi_pccard.c which had an
array called wi_pccard_products.  This was similar to a structure found in
the NetBSD source file dev/pcmcia/if_wi_pcmcia.c.  I figured that I
would be able to get my card id from there.  However, the card is not
listed in the array; however, all the other cards seem to be listed there.
The Compaq NC5004 is listed, but that uses a
different chip.  I'm guessing that wi(4) falsely states that it
supports my wireless card.

I don't know much about driver programming, but am I missing something
here?  Even if the if_wi_pccard.c did have my card listed, would I be able
to use it port it over to NetBSD (assuming I got all of the #define
statements, too)?  NetBSD supports the Hermes chip.

BTW, my wireless card does work:  it works fine on my Windows 2000
partition.

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


Re: How to make a screenshot?

2004-06-04 Thread Stijn Hoop
On Fri, Jun 04, 2004 at 01:22:27PM -0400, JJB wrote:
 DO any of the suggestions made so for work from the command line or
 do they all just run under x?

If in X but you want a command line, install ImageMagick and use

$ convert X: screenshot.jpg

then point to the window you want a screenshot of. There's probably a
'window id' option if you want to fully automate this.

--Stijn

-- 
I wish there was a knob on the TV to turn up the intelligence.  There's a knob
called `brightness', but it doesn't work.
-- Gallagher


pgpwlFeWkHSSI.pgp
Description: PGP signature


Re: crom output?

2004-06-04 Thread Mark

Don't buy a new drive yet, I'm having the same problems, built a debug kernel
but get complaints of not enough free space to save debug. Thought it was ntpd
causing the panic, killed it and made 4 day uptime but it's gone back to the 24th
hour panic. 



On Fri, Jun 04, 2004 at 10:28:46AM -0700, Gary Kline wrote:
 
   Here's the latest in the Continuing Adventures of tracking
   down why my main server crashes in the wee hours (usually).
 
   I had the memory replaced and am no longer losing tons of
   file to badly alloc'd index nodes. *but*, over the weeks
   that I've ket a /var/log/console.log, tao has usually gone
   down just after 03:00, when the periodic/daily scripts are
   run.  
 
   So: is there any magic-knob I can turn to catch exactly 
   which daily file is causing this?   (It may be time to get
   a newer hard drive, but t hat's another issue.)
 
   thanks, people,
 
   gary
 
 
 -- 
Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

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


dump backup question

2004-06-04 Thread matiaspinedo

   Hi,

  I'm running FreeBSD 5.1 and I'm trying to backup= a filesystem
   which is quite large with many files. I'm using dump, and= using a
   remote tape. I'm also using cron to make a daily backup with d= ump
   level 9, and a weekly dump with level 0. The problem I have is that   during the 
dump process there is a need for interaction, and
   providing= lots of yes when I get prompted if I want to continue
   with the new v= olume. How can I avoid this ? I want the backup to be
   automatic, with n= o need for interaction.



   Thanks,



   Matias

   __   Todavía no tenés tu Ciudad 
Internet Mail? Obtenelo ahora! -   [1]http://webmai= l.ciudad.com.ar
   Descargá Gratis el nuevo Internet Explorer= 6.0, el mejor software
   para actualizar tu PC. [2]Hacé click acá.

References

   1. 3D'http://webmail.ciudad.com.ar'/
   2. 3D'http://www.ci=/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running FreeBSD/PostgreSQL on high-end dual Xeon box

2004-06-04 Thread Kenji M
Thanks guys!
After doing some additional reading and your comments I think
staying with FreeBSD coupled with a good RAID controller would
probably be the least hassle, reliable, and good performing 
setup.

I am looking at a dual Xeon box using an Adpatec 2200S RAID
controller with the write buffer backup battery module.
We will also probably install 4GB of ram.

Now the new question is which RAID level would provide the best
balance of performance and reliability... I currently have a
similar setup that has RAID 0+1 with one hot spare ready in case
of mirror disk failure.

I had been considering the same setup, but it might make sense just
to use 3 disk RAID5 with hot spare ready.  The new RAID controller
implementation might not buy us much by using 0+1 vs. 5.

Any thoughts?

-Kenji

On Thu, Jun 03, 2004 at 06:40:07PM -0400, Charles Swiger wrote:
 On Jun 3, 2004, at 5:42 PM, Kenji M wrote:
 I am currently specing a 2U dual Xeon server and hope to use
 RAID 0+1 capability.  The question is for PostgreSQL admins...
 
 1) Which RAID controller should we use?
 
 You haven't mentioned whether you plan to use SCSI or IDE drives.  The 
 PERC RAID controller in Dell's PowerEdge's works quite well for the 
 former, but you might consider the 3ware twe if you're doing IDE.
 
 2) Considering Q1, does it not even make sense to use 
 FreeBSD+PostgreSQL
 and bite the bullet and go with Linux (assuming it has better hw RAID
 support) and run PostgreSQL on that using a fancier journaling 
 filesystem.
 
 Hmm.  What makes you think that a journalling filesystem gains you much 
 when you are running a database?
 
 Databases do their own transaction management using two-phase commit 
 and logfiles for rollback in case of a crash using a few very large 
 files, which they'll write to directly using async/directIO (whatever 
 the term you wish to use is), rather than using OS/filesystem 
 buffering
 
 -- 
 -Chuck

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


Problem with AMD PCnet/Home internal phy

2004-06-04 Thread J. Seth Henry
Guys,
I asked about this during the reign of FreeBSD 4.7 - and no one had any ideas, 
so I thought I would toss this question back out now that three new versions 
have crept up - and none indicated any changes to the pcn driver.

I have a Compaq IA-1 internet appliance with an AMD 79C978 (PCnet/Home) 
ethernet adapter built-in. Both internal PHY's (the 1Mbit/s HPNA and 
10Mbits/s 10base-T) are attached to hardware.

The problem is that the pcn driver doesn't seem to see them. It looks for an 
external PHY on the MII bus, and failing to find one, doesn't load the 
driver.

dmesg output:
pcn0: AMD PCnet/Home HomePNA port 0x1c00-0x1c1f mem 0x4120-0x4120001f 
irq 9 at device 5.0 on pci0
pcn0: Ethernet address: 00:01:fa:ff:ac:57
pcn0: MII without any PHY!
device_probe_and_attach: pcn0 attach returned 6

pciconf output (relevant section)
[EMAIL PROTECTED]:5:0: class=0x02 card=0x20001022 chip=0x20011022 rev=0x52 
hdr=0x00
vendor   = 'Advanced Micro Devices (AMD)'
device   = 'AM79C978 PCnet Single Chip Home Networking Controller 
1/10Mbps'
class= network
subclass = ethernet

Is there a way to get the pcn driver to use the internal PHY's? I'd like to 
use this interface, as it would obviate the need for an external USB ethernet 
adapter. 

Also, how does this driver work with regular PCI HPNA/ethernet cards based on 
this chip? The driver claims it supports these cards, but I'm not sure how if 
it can't use the onboard HPNA PHY?

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


Intel ICH4 : unable to map IO port space

2004-06-04 Thread Seb
Hello
I'm running FreeBSD 5.2.1 Release on a laptop computer equipped with the
Intel ICH4 82801DB audio chipset. Sound doesn't work at all, and I have the
following error message in the kernel log :
pcm0: Intel ICH4 (82801DB) port 0xe100-0xe13f,0xe000-0xe0ff at device 31.5
on pci0
pcm0: unable to map IO port space
device_probe_and_attach: pcm0 attach returned 6
I've searched the Web and mail archives, and tried to change the values of
pci.allow_unsupported_io_range and hw.pci.enable_io_modes, without any
effect.
Some messages said that setting the BIOS to Non PNP OS installed can solve
this problem, but I don't have this option in my BIOS, and no upgrade is
available for it.
When I boot with ACPI disabled, I still have the same error message,
moreover the whole system crashes right after it with a general protection
fault.
The sound used to work under Linux.
Thank you for your help,
Sebastien


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


Re: crom output?

2004-06-04 Thread Gary Kline
On Fri, Jun 04, 2004 at 03:20:05PM -0500, Mark wrote:
 
 Don't buy a new drive yet, I'm having the same problems, built a debug kernel
 but get complaints of not enough free space to save debug. Thought it was ntpd
 causing the panic, killed it and made 4 day uptime but it's gone back to the 24th
 hour panic. 
 

Hmm..  There was no 'panic' in my log; just:

Jun  3 19:29:07 tao /kernel: Jun  3 19:29:07 tao su: kline to root on /dev/ttypr
Jun  4 03:06:34 tao /kernel: swapon: adding /dev/ad0s2b as swap device
Jun  4 03:06:34 tao /kernel: Automatic boot in progress...

There were possibly (many) 'bad' binaries.  (Previously,
/bin/sh and /usr/bin/nice caused cores.).  If there are
no debug knows, I guess I'll script everything in daily
and run it with script.

Please do keep me posted

gary

PS:  I'm back-revving to 4.8.  See what that buys me. 


 
 
 On Fri, Jun 04, 2004 at 10:28:46AM -0700, Gary Kline wrote:
  
  Here's the latest in the Continuing Adventures of tracking
  down why my main server crashes in the wee hours (usually).
  
  I had the memory replaced and am no longer losing tons of
  file to badly alloc'd index nodes. *but*, over the weeks
  that I've ket a /var/log/console.log, tao has usually gone
  down just after 03:00, when the periodic/daily scripts are
  run.  
  
  So: is there any magic-knob I can turn to catch exactly 
  which daily file is causing this?   (It may be time to get
  a newer hard drive, but t hat's another issue.)
  
  thanks, people,
  
  gary
  
  
  -- 
 Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 -- 
 --
 **
 The information contained in this communication is confidential, private,
 proprietary, or otherwise privileged and is intended only for the use of the
 addressee.  Unauthorized use, disclosure, distribution or copying is strictly
 prohibited and may be unlawful.  If you have received this communication in
 error, please notify the sender immediately.
 **
 ==
 

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: NTPD hangs on boot

2004-06-04 Thread Giorgos Keramidas
On 2004-06-03 20:59, Edward Carmody [EMAIL PROTECTED] wrote:

 Recently did a cvsup and make world procedure, have a couple glitches.

- Which version of FreeBSD are you running?

- What version did you update to?

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


Re: NTPD hangs on boot

2004-06-04 Thread Bill Campbell
On Fri, Jun 04, 2004, Giorgos Keramidas wrote:
On 2004-06-03 20:59, Edward Carmody [EMAIL PROTECTED] wrote:

 Recently did a cvsup and make world procedure, have a couple glitches.

- Which version of FreeBSD are you running?

- What version did you update to?

In my experience, ntp hanging on boot usually means the network is down
and/or DNS isn't working properly.  The AMD automounter does the same
thing.

My usual workaround it to boot into single user mode, and add exit commands
to the startup scripts for ntp and amd so they don't attempt to start.
Once I have everything on the network working, most particularly DNS, then
I remove these exit commands.

On machines running SYSV scripts (e.g. OpenPKG.org things on FreeBSD) that
aren't generally on the network, I put an exit immediately after the
``start'' case where I can comment it out to start the service when on the
network.  This allows the ``stop'' function to work properly if the service
is running, preventing locking problems that might occur if the exit were
at the top of the script.

-- 
Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``My reading of history convinces me that most bad government results
from too much government.'' --Thomas Jefferson.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


more on fsck with securelevel

2004-06-04 Thread J.D. Bronson
I did set this in /etc/rc.conf:
fsck_y_enable=YES
But I was wondering if this might be a good idea too:
(looking at the defaults)
fsck_y_enable=NO  # Set to YES to do fsck -y if the initial preen fails.
background_fsck=YES   # Attempt to run fsck in the background where possible.
background_fsck_delay=60 # Time to wait (seconds) before starting the fsck.
..might it not be prudent to set 'background_fsck=NO' when running in 
secure mode?

Eventhough I shut down carefully, sometimes it still feels the need to run 
fsck (even with soft updates)...but when running securelevel, is it 
actually going to accomplish anything?

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


Re: more on fsck with securelevel

2004-06-04 Thread Brooks Davis
On Fri, Jun 04, 2004 at 05:05:34PM -0500, J.D. Bronson wrote:
 I did set this in /etc/rc.conf:
 fsck_y_enable=YES
 
 But I was wondering if this might be a good idea too:
 (looking at the defaults)
 
 fsck_y_enable=NO  # Set to YES to do fsck -y if the initial preen 
 fails.
 background_fsck=YES   # Attempt to run fsck in the background where 
 possible.
 background_fsck_delay=60 # Time to wait (seconds) before starting the 
 fsck.
 
 ..might it not be prudent to set 'background_fsck=NO' when running in 
 secure mode?
 
 Eventhough I shut down carefully, sometimes it still feels the need to run 
 fsck (even with soft updates)...but when running securelevel, is it 
 actually going to accomplish anything?

I think just setting background_fsck_delay=0 may allow bgfsck to work.
Once fsck has opened the FS, I think it should keep it open and writes
should work.  I'm not 100% sure of that though.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpO6OHCjVJBu.pgp
Description: PGP signature


Re: FreeBSD and Sony Clie

2004-06-04 Thread Victor Gregorio
I have been meaning to post my solution for a while now. Brent from the
[EMAIL PROTECTED] mailing list helped me with the birda
command. 

The command that worked for me is: 

/usr/local/bin/irs -d /dev/cuaa1 -y /dev/ptypv -c -e 

I can then connect via serial device /dev/ttypv at a rate of 115200.

Thanks Brent.

-Victor

On Fri, 2004-05-21 at 18:18, Victor Gregorio wrote:
 Has anyone had any luck getting a Sony Clie to sync with 
 gpilotd/pilot-link/jpilot/anything on FreeBSD?
 
 I have had no success with USB syncing using uvisor, and limited success 
 using IrDA (/dev/cuaa1 on my IBM R40).  Through IrDA, birda sees the 
 device.  I cannot get any application to take advantage of this 
 connection though.
 
 Any advice on where to look next would be greatly appreciated.
 
 Thanks, Victor
 

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


Re: Running FreeBSD/PostgreSQL on high-end dual Xeon box

2004-06-04 Thread Chuck Swiger
Kenji M wrote:
I had been considering the same setup, but it might make sense just
to use 3 disk RAID5 with hot spare ready.  The new RAID controller
implementation might not buy us much by using 0+1 vs. 5.
Any thoughts?
I doubt many databases recommend RAID-5; using RAID 0+1 is likely to be a 
better choice.

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


Re: more on fsck with securelevel

2004-06-04 Thread Bill Moran
Brooks Davis [EMAIL PROTECTED] wrote:

 On Fri, Jun 04, 2004 at 05:05:34PM -0500, J.D. Bronson wrote:
  I did set this in /etc/rc.conf:
  fsck_y_enable=YES
  
  But I was wondering if this might be a good idea too:
  (looking at the defaults)
  
  fsck_y_enable=NO  # Set to YES to do fsck -y if the initial preen 
  fails.
  background_fsck=YES   # Attempt to run fsck in the background where 
  possible.
  background_fsck_delay=60 # Time to wait (seconds) before starting the 
  fsck.
  
  ..might it not be prudent to set 'background_fsck=NO' when running in 
  secure mode?
  
  Eventhough I shut down carefully, sometimes it still feels the need to run 
  fsck (even with soft updates)...but when running securelevel, is it 
  actually going to accomplish anything?
 
 I think just setting background_fsck_delay=0 may allow bgfsck to work.
 Once fsck has opened the FS, I think it should keep it open and writes
 should work.  I'm not 100% sure of that though.

fsck_y_enable determines what happens when a normal fsck fails.  If it's set
to NO, you're dumped into single-user mode with a scary message.  If it's
set to YES, then fsck is rerun with the -y option.  Setting it to YES will
allow the system to boot automatically under almost all conditions, but you may
lose data that you could have recovered if you'd run fsck manually ... assuming
you know what you're doing well enough to recover that data.

background_fsck controls whether the initial boot fsck is run in the background,
after booting, or in the foreground during the boot, forcing the boot process
to wait on it (background_fsck=NO is basically the same behaviour as pre-5
systems)

background_fsck_delay is pretty obvious.

Hopefully, that will help you reach a config that works for you.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] 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

2004-06-04 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

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, -newbies 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 mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  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
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters 

  1   2   >