Re: enable linux compatibility

2005-01-29 Thread Thomas Foster
have you tried running any Linux binaries?  Have you installed any of the 
linux_base emulator ports?

Try downloading a linux binary or installing a linux based application from 
ports.. if you do not get any elf binary errors then yo umost likely have 
the linux compatibility enabled correctly.  The only other thing to watch 
for are any programs that might require linprocfs

Hope this helps..
T
- Original Message - 
From: saravanan ganapathy [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, January 28, 2005 9:34 PM
Subject: Re: enable linux compatibility


--- Lowell Gilbert
[EMAIL PROTECTED] wrote:
saravanan ganapathy [EMAIL PROTECTED] writes:
 Hai

 I tried to enable linux compatibility on my
freebsd
 (5.3 Release)kernel by adding 'options
COMPAT_LINUX'
 in my kernel config file and recompiled the kernel
 using this file.But even after, this is not
enabled.

 kldstat o/p shows as

 # kldstat
 Id Refs AddressSize Name
  13 0xc040 5ef620   kernel
  2   14 0xc09f 537f0acpi.ko
Right.  You installed it directly into your kernel,
instead of as a
kernel module.  Therefore, it does not show up in a
list of kernel
modules.
 The 'linux' command also not found.
Not needed.
 What may be the problem?
You haven't tried anything that *uses* the linux
compatibility.
What do you want it for?
How do I confirm that linux compatibility has been
enabled?
Sarav

__
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Re: starting mt-daapd

2005-01-29 Thread Thomas Foster
Heres a good example mt-daapd config file.. try using something similar to 
this..

and make sure your editor isnt leaving garbage characters in the file:
##
web_root/path/to/mt-daapd/admin-root
port3689
admin_pwpassword
db_dir  /var/cache/mt-daapd
mp3_dir /path/to/music
servername  Music
runas   nobody
playlist/etc/mt-daapd.playlist
extensions .mp3,.m4a,.m4p
logfile /var/log/mt-daapd.log
rescan_interval 300
process_m3u 1
scan_type  0
compress 1
-
 Original Message - 
From: Alan Curtis [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Friday, January 28, 2005 7:00 PM
Subject: starting mt-daapd


I installed mt-daapd and used the default config file in
but when I try to start it using
/usr/local/etc/rc.d/mt-daapd.sh start
I get the following message
Invalid config directive:
Error reading config file (/usr/local/etc/mt-daapd.conf)
I deleted all the empty lines and now get the message
2005-01-29 02:53:24: Starting rendezvous daemon
2005-01-29 02:53:24: Starting signal handler
2005-01-29 02:53:24: Loading playlists
2005-01-29 02:53:24: Initializing database
2005-01-29 02:53:24: Starting mp3 scan
2005-01-29 02:53:24: Starting web server from 
/usr/local/share/mt-daapd/admin-root on port 3689
2005-01-29 02:53:24: Rendezvous pipe closed... Exiting
2005-01-29 02:53:24: Aborting

in the log file.
How do I get this thing running?
Alan

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


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


make buildworld error

2005-01-29 Thread Gert Cuykens
...
cd /usr/src/etc; make buildincludes; make installincludes
=== etc/sendmail
=== etc/sendmail

--
 stage 4.2: building libraries
--
cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64 
MACHINE=amd64  CPUTYPE=amd64 
GROFF_BIN_PATH=/usr/obj/usr/src/amd64/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/amd64/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/amd64/legacy/usr/share/tmac 
_SHLIBDIRPREFIX=/usr/obj/usr/src/amd64  INSTALL=sh
/usr/src/tools/install.sh 
PATH=/usr/obj/usr/src/amd64/legacy/usr/sbin:/usr/obj/usr/src/amd64/legacy/usr/bin:/usr/obj/usr/src/amd64/legacy/usr/games:/usr/obj/usr/src/amd64/usr/sbin:/usr/obj/usr/src/amd64/usr/bin:/usr/obj/usr/src/amd64/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/amd64 -DNOFSCHG
-DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPROFILE  libraries
cd /usr/src;  make -f Makefile.inc1 _startup_libs;  make -f
Makefile.inc1 _prebuild_libs;  make -f Makefile.inc1 _generic_libs;
=== gnu/lib/csu
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tconfig.h
echo '#ifndef GCC_TCONFIG_H' tconfig.h
echo '#define GCC_TCONFIG_H' tconfig.h
echo '#ifdef IN_GCC' tconfig.h
echo '# include ansidecl.h'tconfig.h
echo '#endif'tconfig.h
echo '#define USED_FOR_TARGET'   tconfig.h
echo '#endif /* GCC_TCONFIG_H */'tconfig.h
make -f /usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
MFILE=/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools/Makefile
GCCDIR=/usr/src/gnu/lib/csu/../../../contrib/gcc tm.h
echo '#ifndef GCC_TM_H'  tm.h
echo '#define GCC_TM_H'  tm.h
echo '#ifdef IN_GCC' tm.h
echo '#include i386/biarch64.h'tm.h
echo '#include i386/i386.h'tm.h
echo '#include i386/unix.h'tm.h
echo '#include i386/att.h' tm.h
echo '#include dbxelf.h'   tm.h
echo '#include elfos.h'tm.h
echo '#include freebsd-native.h'   tm.h
echo '#include freebsd-spec.h' tm.h
echo '#include freebsd.h'  tm.h
echo '#include i386/freebsd.h' tm.h
echo '#include i386/x86-64.h'  tm.h
echo '#include i386/freebsd64.h'   tm.h
echo '#include freebsd64-fix.h'tm.h
echo '#include defaults.h' tm.h
echo '#if !defined GENERATOR_FILE  !defined USED_FOR_TARGET'  tm.h
echo '# include insn-constants.h'  tm.h
echo '# include insn-flags.h'  tm.h
echo '#endif'tm.h
echo '#endif'tm.h
echo '#define EXTRA_MODES_FILE i386/i386-modes.def'  tm.h
echo '#endif /* GCC_TM_H */' tm.h
rm -f .depend
mkdep -f .depend -a -DCRT_BEGIN   -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
-I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
cc -O -pipe -march=amd64 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
-finhibit-size-directive -fno-inline-functions  -fno-exceptions
-fno-zero-initialized-in-bss  -fno-omit-frame-pointer
-fno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. 
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  -g0 -DCRT_BEGIN  -c
-o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
value (amd64) for -march= switch
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
value (amd64) for -mtune= switch
*** Error code 1

Stop in /usr/src/gnu/lib/csu.
*** 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.
7rxI#

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


RE: Basic Info on Wireless Router Installation and Performance

2005-01-29 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bob Perry
 Sent: Friday, January 28, 2005 11:33 PM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Basic Info on Wireless Router Installation and Performance


 Ted,
 What linebacker did you have in mind?


Bob, who is your telephone company?

Ted

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


RE: Missing INDEX file in Ports.

2005-01-29 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Julien Gabel
 Sent: Friday, January 28, 2005 1:39 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Missing INDEX file in Ports.
 
 
  Your missing the point.  INDEX is supposed to be in the RELEASES
  on the CDROMs because the CD's are supposed to be self-contained,
  ie: you should not require an Internet connection to get a complete
  install.  Otherwise there's no point in even bothering to release
  the CDROMS in the first place.
 
  Yeah, I totally agree, INDEX should be included in 
 ports.tar.gz for at
  least RELEASES.
 
 Included or not, the release is self contained (and don't require an
 internet in that case) since the INDEX or INDEX-5 file can always be
 generated from the local ports tree, via :
   # cd /usr/ports; make index
 

So can many of the utilities - like perl and X - that are now
supplied as binaries.

I guess you want to go back to the 386BSD days when you had
to build all those things yourself.  I think you deserve to have
your FreeBSD taken away for a month and be forced to run Solaris
2.5.1.  That will teach you to smart off about being able to generate
things.  How would you like a Sendmail upgrade to take 2
hours, eh?  Or let's see even better - how about bootstrapping
a usable version of gcc on a SunOS box?  Been there, done that.
We don't want to go back to those days.  There's a reason that
precompiled and pregenerated stuff is included in the UNIX
distributions.

Neither Disk 1's require KDE or GNOME to be generated from the
sources, either.


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


Re: Switching Tomcat 4 to Tomcat 5

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 10:34:10 +0100, Java News [EMAIL PROTECTED] wrote:
 Hi,
 Some ports as eg. jetspeed or axis requires Tomcat 4 to install, I
 have already installed Tomcat but 5.0 version. So when I make a port
 install of eg. axis this port also installs Tomcat 4.1, which I don't
 want on my system. What can I do to prevent of installing such
 dependency and use Tomcat 5 instead?
 
 Best regards,
 Lee
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-java
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

did you try to edit the make.conf

WITH_TOMCAT_VER=5

i dont know what you have to write excatly for tomcat do ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Missing INDEX file in Ports

2005-01-29 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Kris Kennaway
 Sent: Friday, January 28, 2005 8:51 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org; Michael C. Shultz
 Subject: Re: Missing INDEX file in Ports
 
 
 On Fri, Jan 28, 2005 at 03:34:46AM -0800, Ted Mittelstaedt wrote:
 
  INDEX has been included with every CDROM pressing of FreeBSD 4.x
  previously.  And this will be the last 4.X pressing.  So, it must
  have required a really severe space
  crunch to justify this significant of a deviation.
 
 It was probably just forgotten.  Talk to the release engineers.
 

Yes, that is my feeling as well.  Glad to see your not using some
silly justification to explain that it was deliberately left out. :-)

My intent on the initial post was to find out if others were seeing
the same thing.  Since they are, it's time to e-mail the release
people.  Unfortunately, though, from the looks of the docs coming
out of them, there's little interest in the release team on the 4.xx
line anymore so this is probably an exercise in futility.

Unfortunately the disappointing thing is that the 3.X release had
the same kind of thing happen.  The very last 3.X release of FreeBSD
had several broken things - notably ESDI support, bad144 no longer
worked, even when a few revs earlier it was working fine.  Now
we are seeing the same thing with 4.11 - a niggly problem that
marrs the normally perfect release.  I am concerned that if something
like INDEX was forgotten, that there's going to be other things
forgotten as well.  Sigh.  We really must learn when to quit on these
release trains.  4.10 was a perfect cap on a successful 4.x run.

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


Re: enable linux compatibility

2005-01-29 Thread Dick Hoogendijk
On 29 Jan Thomas Foster wrote:
 Try downloading a linux binary or installing a linux based application
 from ports.. if you do not get any elf binary errors then yo umost
 likely have the linux compatibility enabled correctly.  The only other
 thing to watch for are any programs that might require linprocfs

My FreeBSD-4.11R system gives me on portupgrade linux_base an upgrade
to some RH-7.3 linux release. Lots of other ports seem to relate to
linux_base-8. If I deinstall linux_base, WHAT other port package do I
really need (want). There is lots of them nowadays (redhat, debian,
suse; I lost track..)

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


realplayer-10 on my FBSD-4.10

2005-01-29 Thread Gary Kline

A few days ago I got help from this list in getting an 
update of realplayer-10 working on my laptop.  The laptop
has v5.3.  Here I'm still using 4.10 and have run into
new problems.   realplayer-8 worked fine, BTW.

When I type %realplay, after a few seconds the following is
printed to stdout:

No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

I poked around, finally found that both fontconfig and
linux-fontconfig were installed.  I found fonts.conf in
/usr/X11R6/etc/fonts but don't understand what needs
to be configured.  Anybody else know what I'm doing wrong?

(/etc/libmap.conf looks okay, I have linux_base 8 and the
linuxpluginwrapper installed.  I'm stumped.

thanks for any light!

gary




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

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


RE: ISDN connection problems

2005-01-29 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Stefan Pietsch
 Sent: Friday, January 28, 2005 6:25 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: ISDN connection problems


 Ted Mittelstaedt wrote:

  The problem may very well not be the 3com card.  But unless you try
  swapping with a different ethernet card, you aren't going to
 have proof
  that it isn't - unless you stumble across the solution before you get
  desperate enough to actually try swapping the card.  But,
 since you want
  to gamble on doing that, good luck to you.


 I replaced the 3com card with an Intel 82559 Pro/100, but it
 made no change.
 So I think I will step back to 4.11R, maybe it solves the problem ...

If it doesen't then your probably going to need to try another ISDN
card.

By the way, have you by chance priced out ISDN routers lately?  For
example:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItemcategory=73321item=5746457
512rd=1ssPageName=WDVW

Cisco 1603's are going for under $20USD.  The 1603 is the Euro version
of Cisco's ISDN router and understands the Euro ISDN switches (in
contrast to the 1604 which doesen't have an ST interface and only
understands American ISDN switches)

At the ISP I work at we still do a lot of dialup ISDN because we are
the only ISP left in town that will guarentee multilinking.  During
the last year I've pretty much told all customers that we are only
supporting the Cisco 1604 anymore, simply because the things are so
darn cheap now that it's less of an annoyance factor to me to deal
with more than one kind of router.  (Despite the fact that I've
configured more than a dozen different brands of ISDN routers during
the heyday of ISDN)

Ted

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


I only want stable software

2005-01-29 Thread Pat Maddox
I used CVSUP to keep my system up to date.  How do I know that it's
not installing unstable software?  I want to keep my software stable,
but not in the version branching sense.  I just don't want it crashing
my server at all.  Is there any way to ensure that I only install high
quality stable software?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I only want stable software

2005-01-29 Thread Andrew P.
Pat Maddox wrote:
I used CVSUP to keep my system up to date.  How do I know that it's
not installing unstable software?  I want to keep my software stable,
but not in the version branching sense.  I just don't want it crashing
my server at all.  Is there any way to ensure that I only install high
quality stable software?
You should use RELENG_4_11 or RELENG_5_3 tags to have cvsup download
security patches only. It's probably the most reliable way to keep your
system as stable as it gets. Just use the following line in your cvsup
supfile:
src-all tag=RELENG_5_3
You could use tag=. for doc-all, and you should use it for ports-all.
Best wishes,
Andrew P.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Seeking performance tuning pointers/tracking down GIANT

2005-01-29 Thread Lucky Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I read man tuning and did some goggling. Yet questions remain.

System:
Dual processor Intel PentiumPro motherboard. FreeBSD 5.3 SMP kernel. fxp
100baseT NIC.

I am managing a system that is running tor, a fairly network intensive
service. See http://tor.eff.org
The service processes about 7Mbps symmetric traffic sustained. top shows
about 33% CPU idle. There is plenty of inactive/free RAM. While server
throughput grew steadily over time, throughput appears to have hit a ceiling
at between 7 and 8 Mbps. The bottleneck is not upstream from the server. I
am trying to track down the bottleneck inside the server that is
establishing this ceiling. I played around with various sysctl variables,
but to no effect. One thing that I do notice is that the main tor process
tends to spend a fair amount of time in GIANT.

Does perhaps one of the readers of this list have any suggestions how to
determine where the bottleneck may be found and if so how to remove it?

Thanks,
- --Luck

Content-Type: text/plain



This email was not PGP encrypted. My next email to you could be PGP encrypted,
if you click on to the URL below:

https://keys.cypherpunks.to/b/b.e?r=freebsd-questions%40freebsd.comn=hFP433Ce%2FD7ivfZPVmDksg%3D%3D


-BEGIN PGP SIGNATURE-
Version: 1537

iQIVAwUBQftodwRVjUj9NCi0AQIj1RAAwhWTaeGc/XBossmqvfyWac3LqEDqJF3r
MhC660n+ixh5Bc4ajOuOY4402YSLhdzkMY9dU5rJvONW3LnXikDQiPE40QCCaxNn
euwKIVMI7E+IeqCn2cx+br7ZQEkEF6JT4kJXmvi142TWNrKyuV/2GDky3I4hj068
la+8J+Xp6toOB5FemlUs7oMApZkcqnA1ixNO/nrNXoke2NaZu+sxjWTelVOv5r8T
ewuOgUL+uWvJ+cyGR6heXgsgynVoeVBm+rkv7LrEGS9WJPQJI72u46pYFFlQfDFz
X96qiJALHTky8ey/+e/jB2+LUoq3e3UsxKPN+dJ7JuddasvkfciOJ4/ry6se1/Jv
0YQQeNu7Z7c2qomk7SOs66AQYlCiwXJc3AfQl7wKTYSTwaXSNBkbeq6j8+gTeWQx
p5JZmu4cmkK5YN4wMxpWhNAdcUryHlCCpVNj6cPjPNqnQsdXfIhpT9qlnS4OjcPd
ne8ZbD3e+uEyvoQJHwo+XQ8UNkYww31U95aOlNcirVgGhe7vtKxULp2tHMebk271
Ift0KGTWAnJBIO0EFfonekzLaTiEparv32rgFHI//hMksdkfv9qRNYaMYFcOgvqg
96dWZ0czd6MeQaLzRU8642keDHXiq5znXnOcUyNhRt45C30cFrKm0mgu0fqq3SV8
QIsAS69/Sbg=
=I6BX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Free BSD 5.3 SMP Kernel

2005-01-29 Thread Robert Slade
Hi,

I am new to Free BSD ( and Linux) and have just setup a rather old
Proliant 5000 as a test machine. It has Quad PII processors and I would
like to make use of them. The Install CDs only come with the 'Standard'
kernel. Looking through the handbook implies that support for multiple
processors in 5.3 was removed due to problems.

I have seen references to a 5.3 SMP kernal though, is it possible to get
hold of this, or do I have to wait for 5.4 to be released? If so when is
this likely to be released.

Sorry if this is a simple question.

Thanks

Rob



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


Re: cyrus-imapd22 installation problem

2005-01-29 Thread Serge Kestens
 Hello

 I have been trying to install the cyrus-imapd22 port without but I keep
 receiving the same error.

 /usr/bin/install -c -o root -g wheel -s -m 755 notifyd
 /usr/local/cyrus/bin
 /usr/local/lib/perl5/5.8.2/man/man3/Cyrus::IMAP.3: No such file or
 directory
 *** Error code 1

 I have searched the port check all of the ports dependencies but I do can
 not
 find which port installs Cyrus::IMAP. I believe I have all the
 dependencies
 installed. I have only seen one other person with this problem so I
 believe I
 am doing something wrong. I am not sure  what.


 Aaron

 OpenSP-1.5_5  needs updating (port has 1.5_6)
 apache-2.0.49 needs updating (port has 2.0.52_4)
 aspell-0.50.5 needs updating (port has 0.60.2)
 autoconf-2.13.000227_5  =  up-to-date with port
 autoconf-2.53_1   needs updating (port has 2.53_3)
 autoconf-2.53_3 =  up-to-date with port
 autoconf-2.57_1 ?  error - origin not found
 autoconf-2.59_2 =  up-to-date with port
 automake-1.4.6_1=  up-to-date with port
 automake-1.5_2,1=  up-to-date with port
 automake-1.7.5_1?  error - origin not found
 bison-1.75_2=  up-to-date with port
 cclient-2002d,1   needs updating (port has 2004a,1)
 cups-base-1.1.20.0needs updating (port has 1.1.22.0_2)
 cvsnt-2.0.34  needs updating (port has 2.0.58d_1)
 cvsup-16.1_3  needs updating (port has 16.1h)
 cyrus-sasl-2.1.20_1 =  up-to-date with port
 cyrus-sasl-saslauthd-2.1.20_1  =  up-to-date with port
 db4-4.0.14_1,1  =  up-to-date with port
 db42-4.2.52_3   =  up-to-date with port
 docbook-sk-4.1.2_3  =  up-to-date with port
 docbook-xml-4.2_1   =  up-to-date with port
%


I think it will search the Cyrus::IMAP.3 in the wrong place.
You've installed perl version 5.8.5, not 5.8.2 as you can see in the error
message.
 /usr/local/lib/perl5/5.8.2/man/man3/Cyrus::IMAP.3
Maybe you didn't executed use.perl port after the latest installation of
perl.

Hopefully, i've send you in the right direction.
Serge Kestens

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


Re: Free BSD 5.3 SMP Kernel

2005-01-29 Thread Jon Mercer
I'm just guessing, but it sounds like you come from a Linux background.

What you want to do is roll your own kernel by copying
the /usr/src/sys/i386/conf/GENERIC file
to /usr/src/sys/i386/conf/MYSYSTEMNAME

Upper case system names are traditionally used for the kernel config
file in unix. HP-UX is the same, IIRC.

Edit in:

quote
# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC
/quote

You will also want to change things like ident to MYSYSTEMNAME. There
are a plethora of other options to have a play with as well. 

after you've finished editing go to /usr/src and run

make buildkernel KERNCONF=MYSYSTEMNAME

then

make installkernel KERNCONF=MYSYSTEMNAME

then reboot. 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html 
will help you tremendously. Personally I find the whole process much simpler 
than configuring a Linux kernel.

Regards,

Jon


On Sat, 2005-01-29 at 11:12 +, Robert Slade wrote:
 Hi,
 
 I am new to Free BSD ( and Linux) and have just setup a rather old
 Proliant 5000 as a test machine. It has Quad PII processors and I would
 like to make use of them. The Install CDs only come with the 'Standard'
 kernel. Looking through the handbook implies that support for multiple
 processors in 5.3 was removed due to problems.
 
 I have seen references to a 5.3 SMP kernal though, is it possible to get
 hold of this, or do I have to wait for 5.4 to be released? If so when is
 this likely to be released.
 
 Sorry if this is a simple question.
 
 Thanks
 
 Rob
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
---
Achean Ltdhttp://www.achean.com
Jon Mercer  [EMAIL PROTECTED]  Director
---

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


Re: Free BSD 5.3 SMP Kernel

2005-01-29 Thread Jorn Argelo
On Sat, 29 Jan 2005 11:12:57 +, Robert Slade wrote
 Hi,
 
 I am new to Free BSD ( and Linux) and have just setup a rather old
 Proliant 5000 as a test machine. It has Quad PII processors and I would
 like to make use of them. The Install CDs only come with the 'Standard'
 kernel. Looking through the handbook implies that support for 
 multiple processors in 5.3 was removed due to problems.
 
 I have seen references to a 5.3 SMP kernal though, is it possible to 
 get hold of this, or do I have to wait for 5.4 to be released? If so 
 when is this likely to be released.
 
 Sorry if this is a simple question.

You'll have to recompile the kernel with SMP support. If you don't want to 
compile your own kernel, you can use SMP, located in /usr/src/sys/i386/conf. 
If you don't have that, you don't have your kernel sources installed.

See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.
html for more information. Do read every page of that chapter.

Jorn

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

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


Re: make buildworld error

2005-01-29 Thread Donald J. O'Neill
On Saturday 29 January 2005 02:56 am, Gert Cuykens wrote:
 ...
 cd /usr/src/etc; make buildincludes; make installincludes
 === etc/sendmail
 === etc/sendmail

 --

  stage 4.2: building libraries

 --
 cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64
 MACHINE=amd64  CPUTYPE=amd64

 snip 

 -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
 -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  -g0 -DCRT_BEGIN  -c
 -o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
 /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
 value (amd64) for -march= switch
 /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
 value (amd64) for -mtune= switch
 *** Error code 1

 Stop in /usr/src/gnu/lib/csu.
 *** 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.
 7rxI#

 how do i fix this ?
 ___
Gert

What do you have in your /usr/src/sys/amd64/conf/config file, show me 
about the first 30 lines of it.

show me your /etc/make.conf file.

Don
-- 
Donald J. O'Neill
[EMAIL PROTECTED]

I'm not totally useless,
I can be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread dkouroun
Dear FreeBSD list,
I have an AMD Athlon-XP with 1.5GB RAM.
Unfortunately my FreeBSD 4.10 throws a memory allocation 
error when in a simple C++ program I try to allocate 
with new 512MB of RAM or more. Until 511MB it goes fine!

Is there any kernel specific feature I should tweak? 
What is the problem here? I didn't have such problems
with 5.3 Release although it is generally more unstable!

Here is the simple C++ program I used:
--

#include iostream
using namespace std;

int main(int argc, char* argv[])
{
   if (argc != 2)
   {
  cout  usage:   argv[0]   mem(memory to allocate in bytes)\n;
  cout  examp:   argv[0]   1024\n;
  exit(1);
   }

   long int bytes = strtol(argv[1], NULL, 0);
   char* buffer = new char[bytes];
   cout  memory allooated succesfully =   bytes/1024.0/1024.0  MB \n;
   delete[] buffer;
   cout  allocated memory is now free\n;
   return 0;
}

#g++ memalloc -o run
#./run 536870912

which when I tried to run gave a:
-
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Abort (core dumped)

Here is the output of my top command:

last pid:   432;  load averages:  0.00,  0.00,  0.00  up 0+00:35:2313:37:10
38 processes:  1 running, 37 sleeping

Mem: 63M Active, 39M Inact, 55M Wired, 24K Cache, 50M Buf, 1343M Free
Swap: 3056M Total, 3056M Free


  PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
  183 root   2   0 84824K 19864K select   0:05  0.00%  0.00% XFree86
  190 root   2   0  8916K  7720K poll 0:02  0.00%  0.00% gconfd-2
  360 root   2   0 10620K  9720K select   0:02  0.00%  0.00% emacs
  242 root   2   0 12464K  9124K poll 0:02  0.00%  0.00% metacity
  248 root   2   0 21148K 15472K poll 0:01  0.00%  0.00% nautilus
  246 root   2   0 17032K 13108K poll 0:01  0.00%  0.00% gnome-panel
  264 root   2   0 16104K 12124K poll 0:01  0.00%  0.00% wnck-applet
  266 root   2   0 14148K  9560K poll 0:01  0.00%  0.00% mixer_applet2
  188 root   2   0 16124K 10760K poll 0:01  0.00%  0.00% gnome-session
  197 root   2   0 16076K 10288K poll 0:01  0.00%  0.00% gnome-settings
  268 root   2   0 14924K 11012K poll 0:00  0.00%  0.00% clock-applet
  108 root   2   0   920K   528K select   0:00  0.00%  0.00% moused
  270 root   2   0  4492K  3552K select   0:00  0.00%  0.00% xterm
  432 root  31   0  1912K  1084K RUN  0:00  0.00%  0.00% top
  195 root   2   0  5188K  3588K poll 0:00  0.00%  0.00% bonobo-activat
  250 root   2   0  6552K  3928K poll 0:00  0.00%  0.00% gnome-vfs-daem
  271 root  18   0  1424K  1172K pause0:00  0.00%  0.00% csh
  240 root   2   0  7688K  4656K poll 0:00  0.00%  0.00% gnome-smproxy

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


RE: Missing INDEX file in Ports.

2005-01-29 Thread Julien Gabel
 Your missing the point.  INDEX is supposed to be in the RELEASES
 on the CDROMs because the CD's are supposed to be self-contained,
 ie: you should not require an Internet connection to get a complete
 install.  Otherwise there's no point in even bothering to release
 the CDROMS in the first place.

 Included or not, the release is self contained (and don't require an
 internet in that case) since the INDEX or INDEX-5 file can always be
 generated from the local ports tree, via :
   # cd /usr/ports; make index

 So can many of the utilities - like perl and X - that are now
 supplied as binaries.

Not self-contained on the disk1.

I said 'make index', not 'make fetchindex'.  The case of packages
themselves are another thing, i think.  I tend to think that this
file was forgotten during the release's process (but i don't know),
i just want to point the fact that it can be self-generated without
a network connection.  Nothing more.

 I guess you want to go back to the 386BSD days when you had
 to build all those things yourself.  I think you deserve to have
 your FreeBSD taken away for a month and be forced to run Solaris
 2.5.1.  That will teach you to smart off about being able to generate
 things.  How would you like a Sendmail upgrade to take 2
 hours, eh?  Or let's see even better - how about bootstrapping
 a usable version of gcc on a SunOS box?  Been there, done that.
 We don't want to go back to those days.  There's a reason that
 precompiled and pregenerated stuff is included in the UNIX
 distributions.

 Neither Disk 1's require KDE or GNOME to be generated from the
 sources, either.

Nothing wrong here, however that was not my point in this post.

-- 
-jpeg.

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


Re: Backup to CD-Rs and DVDs

2005-01-29 Thread Xian
On Saturday 29 January 2005 01:51, Carleton Vaughn wrote:
 Ian Moore wrote:
  Anyway, to backup /usr directly to a dvd(+rw), I use the this command:
  dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/dvd=/dev/fd/0 '
  /usr This gives you a dvd or series of dvds with the dump file on them.
  You can then boot from CD2 (live system) and use restore to restore the
  data. If the link above is the one I think it is, it gives you an example
  restore command.

 I'm in the same boat as Xian.  I want to backup to DVD so I can upgrade to
 5.3.  dump in 4.10 does not have a -P option, and growisofs says nothing
 about handling spanning, so how do I span my dump over multiple DVDs?

 dump -h0 -B 4589840 -S /usr says I'm going to need 6.18 tapes.  I'm going
 to crack open a beer and just pipe it, to see what happens.

 Then some day if all goes well I will split /usr into /usr and /usr/home,
 'cause this is ridiculous.

 Thanks.

I have another machine running 4.9 (also without the -P option for dump) and 
the way I get round it is to create the dump on another disk in pieces then 
transfer them to another machine for burning.

 dump usual args -Bsize of dvd -f /home/usr.dump /usr

/usr and /home are on different disks. Then when dump asks me if the next 
volume is ready I move /home/usr.dump to /home/usr/dump.1, then tell dump 
yes. And so on until dump has finished

However I am having some issues with this. I transfer them to another machine, 
(checking the md5 of them is the same before and after transfer them), and 
test it with restore

 restore -Nxvb 2 -f usr.dump.1

and the first volume works fine, it says 'End-of-tape encountered'. I start 
the next volume and it tells me 

 unexpected tape header
 abort? [yn]

What could be doing this and how do I fix it?
-- 
/Xian

Never put off until tomorrow what you can avoid altogether
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread Matthias Buelow
[EMAIL PROTECTED] wrote:
I have an AMD Athlon-XP with 1.5GB RAM.
Unfortunately my FreeBSD 4.10 throws a memory allocation 
error when in a simple C++ program I try to allocate 
with new 512MB of RAM or more. Until 511MB it goes fine!
what's the output of ulimit -d?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: OpenLDAP doesn't start

2005-01-29 Thread Kvesdn Gbor
Hello,

Thanks a lot, You're right, I installed the OpenLDAP with SASL, but I've
reinstalled without the WITH_SASL macro, and it is working now. I'm going to
use the LDAP server only from localhost for mail authentication, thus I
don't think, I'll need the SASL support in this case.

Cheers,

Gbor Kvesdn

-Original Message-
From: Jonathan Chen [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 28, 2005 8:18 PM
To: K?vesd?n G?bor
Cc: freebsd-questions@freebsd.org
Subject: Re: OpenLDAP doesn't start

What's happened here is that prior to you installing OpenLDAP+SASL,
you installed a port which used LDAP and brought in a dependancy on
OpenLDAP *without* SASL (eg: KDE). The thing to do now is to rebuild
all ports which depend on LDAP so that it now depends on
OpenLDAP+SASL.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  If you're right 90% of the time, why quibble about the remaining 3%?

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


panic on boot

2005-01-29 Thread Xian
I woke up this morning to find that my computer had rebooted and panicked as 
soon as the kernel had started to run. it said:

 The rights of the University...
panic: vm_page_insert: alredy inserted
uptime: 0s

in bright white on the screen. All I could do was switch it off and on and it 
just did it again. Help: how do I fix it? It was running 4.9R.
This is my home web server that I use quite a lot from college. It is 
extremely old - its a P90.

Thank God for getting me to play around with taking backups 2 days ago.
-- 
/Xian

The release of atom power has changed everything except our way of 
thinking...the solution to this problem lies in the heart of mankind. If only 
I had known, I should have become a watchmaker.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup to CD-Rs and DVDs

2005-01-29 Thread Ian Moore
On Sat, 29 Jan 2005 22:30, Xian wrote:
 On Saturday 29 January 2005 01:51, Carleton Vaughn wrote:
  Ian Moore wrote:
   Anyway, to backup /usr directly to a dvd(+rw), I use the this command:
   dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/dvd=/dev/fd/0
   ' /usr This gives you a dvd or series of dvds with the dump file on
   them. You can then boot from CD2 (live system) and use restore to
   restore the data. If the link above is the one I think it is, it gives
   you an example restore command.
 
  I'm in the same boat as Xian.  I want to backup to DVD so I can upgrade
  to 5.3.  dump in 4.10 does not have a -P option, and growisofs says
  nothing about handling spanning, so how do I span my dump over multiple
  DVDs?
 
  dump -h0 -B 4589840 -S /usr says I'm going to need 6.18 tapes.  I'm
  going to crack open a beer and just pipe it, to see what happens.
 
  Then some day if all goes well I will split /usr into /usr and /usr/home,
  'cause this is ridiculous.
 
  Thanks.

 I have another machine running 4.9 (also without the -P option for dump)
 and the way I get round it is to create the dump on another disk in pieces
 then transfer them to another machine for burning.

  dump usual args -Bsize of dvd -f /home/usr.dump /usr

 /usr and /home are on different disks. Then when dump asks me if the next
 volume is ready I move /home/usr.dump to /home/usr/dump.1, then tell dump
 yes. And so on until dump has finished

 However I am having some issues with this. I transfer them to another
 machine, (checking the md5 of them is the same before and after transfer
 them), and test it with restore

  restore -Nxvb 2 -f usr.dump.1

 and the first volume works fine, it says 'End-of-tape encountered'. I start
 the next volume and it tells me

  unexpected tape header
  abort? [yn]

 What could be doing this and how do I fix it?

That was how I was considering doing backups in DVD sized chunks until I found 
out the -P option in 5.3.
I've just tried doing it in 5.3  works. Here's what I actually did:

%sudo dump -1 -B 5 -f /mnt/backups/var.dump /var
When prompted for tape 2, in a second xterm I did:
%sudo mv var.dump var.dump.1
Then back in xterm1, I said yes to the continue prompt. The dump completed.

To restore I did:
%restore -Nxvf /mnt/backups/var.dump.1
When asked which tape to use, I said 1
When prompted for tape 2, in xterm2 I did:
%sudo mv var.dump.1 var.dump.a
%sudo mv var.dump var.dump.1
Then back in xterm1:
End-of-tape encountered
You have read volumes: 1
Specify next volume #: 2
Mount tape volume 2
Enter ``none'' if there are no more tapes
otherwise enter tape name (default: /mnt/backups/var.dump.1) none
extract file ./db/entropy/saved-entropy.6
snip
extract file ./tmp/kdecache-root/ksycoca
Add links
Set directory mode, owner, and times.
set owner/mode for '.'? [yn] n

So it works in 5.3, maybe there is a bug in the old dump or restore program?
NB, I didn't need to use -b 2 in the restore command. Perhaps you should try 
it without that switch.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpTsHuZPUT7d.pgp
Description: PGP signature


Re: panic on boot

2005-01-29 Thread Mike Hauber
On Saturday 29 January 2005 08:15 am, Xian wrote:
 I woke up this morning to find that my computer had rebooted
 and panicked as soon as the kernel had started to run. it said:

  The rights of the University...
 panic: vm_page_insert: alredy inserted
 uptime: 0s

 in bright white on the screen. All I could do was switch it off
 and on and it just did it again. Help: how do I fix it? It was
 running 4.9R. This is my home web server that I use quite a lot
 from college. It is extremely old - its a P90.

 Thank God for getting me to play around with taking backups 2
 days ago.

I've seen this on various lists before, and I _think_ the general 
consensus was to first check the RAM by taking all the modules 
out but one and then adding them back until the panic returns.

Hope that helps

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


Re: make buildworld error

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 05:40:25 -0600, Donald J. O'Neill
[EMAIL PROTECTED] wrote:

 What do you have in your /usr/src/sys/amd64/conf/config file, show me
 about the first 30 lines of it.

config is the kernel config right ?
i only did make cleanworld and make buildworld wasnt compiling the
kernel yet. I got the error while building world.


# /usr/src/sys/amd64/conf/gert #
###

machine amd64
cpu HAMMER
ident   GERT   

options SCHED_4BSD  # ?
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options NTFS# NT File System
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_IA32 # Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.
options NO_MIXED_MODE   # SK8N
options ATA_STATIC_ID   # Static device numbering
options UDF # DJO 

device  atpic   # 8259A compatability
device  acpi# Bus support
device  isa # Bus support
device  pci # Bus support
device  fdc # Floppy drives
device  ata # ATA and ATAPI devices
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
device  ses # SCSI Environmental Services (and SAF-TE)
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse
device  vga # VGA video card driver
device  splash  # Splash screen and screen saver support
device  sc  # syscons is the default console
driver, resembling an SCO console
device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus
device  sio # 8250, 16[45]50 based serial ports
device  ppc # Parallel port
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device
device  miibus  # RealTek 8129/8139
device  rl  # RealTek 8129/8139
device  loop# Network loopback
device  mem # Memory and kernel memory devices
device  io  # I/O device
device  random  # Entropy device
device  ether   # Ethernet support
device  sl  # 

Re: make buildworld error

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen [EMAIL PROTECTED] wrote:

 Seems to me you specified amd64 in /etc/makeconf.
 If i remember correctly from some posts ago this is obsolete.
 You can however switch to 32-bit mode by specifying athlon-xp.
 Otherwise everything should be auto detected by gcc.

why is this obsolete it always worked that way ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic on boot

2005-01-29 Thread Xian
On Saturday 29 January 2005 13:15, Xian wrote:
 I woke up this morning to find that my computer had rebooted and panicked
 as soon as the kernel had started to run. it said:

  The rights of the University...
 panic: vm_page_insert: alredy inserted
 uptime: 0s

 in bright white on the screen. All I could do was switch it off and on and
 it just did it again. Help: how do I fix it? It was running 4.9R.
 This is my home web server that I use quite a lot from college. It is
 extremely old - its a P90.

 Thank God for getting me to play around with taking backups 2 days ago.

OK a little more research with some 5.3 install floppies. They can't boot 
either because init dies due to a maloc error.
The BIOS only finds a bit more than 900,000KB of memory. I used to have 128MB 
in 4 sticks of 32MB. This looks like one of the sticks has died to me.
Anyone else have any ideas?

-- 
/Xian

In C we had to code our own bugs. In C++ we can inherit them
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Synaptics Touchpad driver

2005-01-29 Thread Loren M. Lang
Does anyone know of the status of the Synaptics Touchpad driver for
freebsd and what features it currently supports?  Currently it's just
using the regular ps/2 driver so I have very little control over
customizing it.  A found a few driver patches that are at least a year
old and I heard that there was work on adding the driver to the 5.3
kernel, but I can't seem to find any more recent information.
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: making music

2005-01-29 Thread Loren M. Lang
On Wed, Jan 26, 2005 at 08:59:28AM +0100, Gert Cuykens wrote:
 Does freebsd has programs to make music ? like sonar or logic or fruityloops ?

fluidsynth and spiralsynth.  Also, you might try checking out
http://www.linux-sound.org/  They may have some more software that runs
on FreeBSD.  All the programs mentioned so far can be found on that site
and there is still a lot more that should run on BSD.

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

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse and Touchpad with moused

2005-01-29 Thread Loren M. Lang
On Fri, Jan 28, 2005 at 09:59:31PM +0100, Paul Kaletta wrote:
 Hi,
 
 I have a notebook that has a build in touchpad. I also have an
 USB-mouse.
 
 I figured out that I can use both simultaneously when I have two
 moused-daemons running, one for psm0 (the Touchpad) and one for usm0
 (the USB-Mouse). (I might be wrong about the exact names, but I can't
 check, since I'm not under FreeBSD right now). This way I can use both
 mice in X and on the console.
 
 But I wasn't able to figure out the correct rc.conf settings.
 
 Could anyone help me out on this one? Manually starting moused can't be
 the solution.
 
 It also would be very cool if moused would start automatically when I
 plug in the USB-Mouse. How can I do this?

On my system, FreeBSD 5.3, the usb moused is started automatically by
usbd, do you have usbd_enable=YES in your rc.conf?

 
 Bye
 
 Paul
 
 ps: After writing this down, I just had an idea. Maybe the right way to
 do this is to only set up the touchpad in rc.conf (obvious), and somehow
 make the USB daemon start moused for the external mouse when it is
 recognized. How can I do this?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup to CD-Rs and DVDs.

2005-01-29 Thread Julien Gabel
 I'm in the same boat as Xian.  I want to backup to DVD so I can
 upgrade to 5.3.  dump in 4.10 does not have a -P option, and growisofs
 says nothing about handling spanning, so how do I span my dump over
 multiple DVDs?

 Then some day if all goes well I will split /usr into /usr and
 /usr/home, 'cause this is ridiculous.


There is 2 limitations here:
  - The dump's option '-P' is relatively new, and not supported on old
releases;
  - A file can't be larger than 2Gb using an ISO 9660 file system.

Knowing these 2 points here, here is a sh(1) shell script than i use
and which do the following:
  1/ Backup a remote FreeBSD system on a local DVD writer;
  2/ Currently 5.X since i hardcoded the dump's option '-L') but that
 is easily bypassed;
  3/ Over ssh;
  4/ Using a remote user which must be in the group 'operator';
  5/ Because i use the same grown iso fs to hold all the backuped fs,
 this script need a local temporary space which size just need to
 be the size of the larger compressed remote fs (generally /usr
 or /home) not a sum of all of these;
  6/ Automatically get the fs to backup from the remote fstab (begining
 with the root fs).

As it is a little _home_script_, there is some caveats to know:
  - It must launch as root from the local system in order to be able
to write to the local DVD burner;
  - It assume that that the larger compressed remote fs is lesser than
the 2Gb limitation (you can for example set the nodump flag on
/usr/ports/distfiles/*, if this is not an issue for you, to decrease
the size of the /usr dump);
  - Some commands/options are hardcoded;
  - May be extended to managed more than one copy of each backuped fs
if there is sufficiently space left on the DVD...

Oh, yes... to restore just do the following (/home for example):
  # mount -t cd9660 /dev/cd0 /cdrom
  # cd /home; gzip -dc /cdrom/home/dump.gz | restore -ivf -

-- 
-jpeg.

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


Re: About mount root and usr -ro?

2005-01-29 Thread Lowell Gilbert
perikillo [EMAIL PROTECTED] writes:

If you have a machine running only a firewall, there some
 advantages mounting / and  /usr -ro
 or is dangers?

It makes sense, especially if there won't be users on the machine.

 Once you setup your rules, disable every thing we dont need, and
 closing the box for a long time the box will be alone.

Raised securelevels are helpful here.  [This is pretty much the only
situation for which I think securelevels are helpful.]  Disabling
things you don't need is *always* a good idea.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: enable linux compatibility

2005-01-29 Thread Lowell Gilbert
Dick Hoogendijk [EMAIL PROTECTED] writes:

 On 29 Jan Thomas Foster wrote:
  Try downloading a linux binary or installing a linux based application
  from ports.. if you do not get any elf binary errors then yo umost
  likely have the linux compatibility enabled correctly.  The only other
  thing to watch for are any programs that might require linprocfs
 
 My FreeBSD-4.11R system gives me on portupgrade linux_base an upgrade
 to some RH-7.3 linux release. Lots of other ports seem to relate to
 linux_base-8. If I deinstall linux_base, WHAT other port package do I
 really need (want). There is lots of them nowadays (redhat, debian,
 suse; I lost track..)

/usr/ports/UPDATING describes how to update to linux_base-8.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing the JDK without Xorg

2005-01-29 Thread Lowell Gilbert
Pat Maddox [EMAIL PROTECTED] writes:

 I've installed the native jdk14 successfully, but noticed that it
 installed Xorg along with it.  I imagine that's a dependency for the
 Java plugin or something.  I'm using this machine just as a test
 server, I won't be using X at all, so I'd like to build jdk14 without
 having to build and install Xorg as well.  Is it possible to do that?

The actual dependency in the jdk14 port seems to be Open Motif, and
there are no knobs to turn it off.  I'm not sure why that is; you may
need to talk to the port authors (or try changing it yourself) to
understand why it's required.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread antenneX

- Original Message - 
From: Matthias Buelow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Saturday, January 29, 2005 7:01 AM
Subject: Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in
4.10


 [EMAIL PROTECTED] wrote:

  I have an AMD Athlon-XP with 1.5GB RAM.
  Unfortunately my FreeBSD 4.10 throws a memory allocation
  error when in a simple C++ program I try to allocate
  with new 512MB of RAM or more. Until 511MB it goes fine!

 what's the output of ulimit -d?

What's the trick to running ulimit?

command not found yet whereis sez it is a shell builtin command.

Jack

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


Re: Installing the JDK without Xorg

2005-01-29 Thread Pat Maddox
Thanks for the help.  I got a suggestion on a forum to build it as a
package...make MINIMAL=yes package  I haven't created a package from
a port, so I'm not entirely sure what that'll do.  It installed Java
fine and left me with a bzip2 file.  Does this mean I can just copy
that file to any other machine I'm using and install Java as a
package, so I don't have to wait the long time for it to build?  Or
would it be better just to build it all on each machine anyway?


On 29 Jan 2005 09:56:11 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Pat Maddox [EMAIL PROTECTED] writes:
 
  I've installed the native jdk14 successfully, but noticed that it
  installed Xorg along with it.  I imagine that's a dependency for the
  Java plugin or something.  I'm using this machine just as a test
  server, I won't be using X at all, so I'd like to build jdk14 without
  having to build and install Xorg as well.  Is it possible to do that?
 
 The actual dependency in the jdk14 port seems to be Open Motif, and
 there are no knobs to turn it off.  I'm not sure why that is; you may
 need to talk to the port authors (or try changing it yourself) to
 understand why it's required.

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


Re: Squid 2.5.7_8 - 2.5.7_9 portupgrade fails

2005-01-29 Thread Lowell Gilbert
Juha Saarinen [EMAIL PROTECTED] writes:

 Trying to update Squid, as portaudit complains about the existing
 version, but not having much success despite make clean and refetching
 the sources:
 
 ===  Applying distribution patches for squid-2.5.7_9
 ===  Applying extra patch /usr/ports/www/squid/files/follow_xff-2.5.patch
 1 out of 5 hunks failed--saving rejects to src/structs.h.rej
 *** Error code 1

Yep; that patch looks broken.

 OPTIONS=...
 SQUID_FOLLOW_XFF Follow X-Forwarded-For headers off \
 ...
 
 Why is the patch being applied nevertheless?

By default, it isn't being applied for me.
Try make rmconfig clean and try again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread markzero
  what's the output of ulimit -d?
 
 What's the trick to running ulimit?
 
 command not found yet whereis sez it is a shell builtin command.
 
 Jack
 

What about limits?

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgpXZZaTvjCl5.pgp
Description: PGP signature


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread John
On Sat, Jan 29, 2005 at 08:58:21AM -0600, antenneX wrote:
 
 - Original Message - 
 From: Matthias Buelow [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Sent: Saturday, January 29, 2005 7:01 AM
 Subject: Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in
 4.10
 
 
  [EMAIL PROTECTED] wrote:
 
   I have an AMD Athlon-XP with 1.5GB RAM.
   Unfortunately my FreeBSD 4.10 throws a memory allocation
   error when in a simple C++ program I try to allocate
   with new 512MB of RAM or more. Until 511MB it goes fine!
 
  what's the output of ulimit -d?
 
 What's the trick to running ulimit?
 
 command not found yet whereis sez it is a shell builtin command.

You must be using a csh-derivative.  It is a built-in for the Bourne-
shell family of shells.

Now that you bring it up, I'm not sure how you get this functionality
from a csh environment - I guess just create a script that is just
#/bin/sh

ulimit $*

or something like that...

Did you try doing a man ulimit?  It should give the builtin command
support matrix...
-- 

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


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread John
On Sat, Jan 29, 2005 at 03:04:51PM +, markzero wrote:
   what's the output of ulimit -d?
  
  What's the trick to running ulimit?
  
  command not found yet whereis sez it is a shell builtin command.
  
  Jack
  
 
 What about limits?

Ah - there it is - thanks. (blush)
-- 

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


Xorg config failure - help requested

2005-01-29 Thread Alan E. Beard
Folks:
Your kind help is solicited in the matter of an xorg config which fails
to initialize on
  (EE) Screen(s) found, but none have a usable configuration.
Hardware is Sony PCV-L640, which is packaged from the manufacturer with
an LCD display, Sony part number PCVA-15XTAP2.  The maker's spec on the
display calls out native resolution of 1024x768, and vidcontrol seems to
confirm this.  Additionally, DDC seems to find the display and read a
reasonable set of parms. This notwithstanding, xorg server
initialization fails.
I've tried explicitly specifying DisplaySize, HorizSync, VertRefresh in 
the Monitor block of the conf file, to no avail.

Log files, config files, and supporting data below.
Any ideas concerning some means of torturing this config into working
will be welcome.
Thanks.
AEB
**
/var/log/Xorg.0.log
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: FreeBSD 5.3 i386 [ELF] 
Current Operating System: FreeBSD susanna.aebeard.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sat Jan 22 07:38:39 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 22 January 2005
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Wed Jan 26 09:56:29 2005
(++) Using config file: /root/xorg.conf.new
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/CID/.
	Entry deleted from font path.
	(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/CID/).
(**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.2
	X.Org Video Driver: 0.7
	X.Org XInput driver : 0.4
	X.Org Server Extension : 0.2
	X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=X.Org Foundation
	compiled for 6.8.1, module version = 1.0.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=X.Org Foundation
	compiled for 6.8.1, module version = 1.0.0
	ABI class: X.Org Video Driver, version 0.7
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01
(II) PCI: 00:03:0: chip 104c,8009 card 104d,8032 rev 01 class 0c,00,10 hdr 00
(II) PCI: 00:05:0: chip 1180,0475 card fffc, rev 80 class 06,07,00 hdr 02
(II) PCI: 00:06:0: chip 12eb,0003 card 104d,807c rev 03 class 04,01,00 hdr 00
(II) PCI: 00:07:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr 00
(II) PCI: 00:08:0: chip 104d,808a card 104d,808c rev 01 class 05,01,00 hdr 00
(II) PCI: 00:0a:0: chip 11c1,044e card 13e0,0405 rev 00 class 07,80,00 hdr 00
(II) PCI: 00:0b:0: chip 10ec,8139 card 1186,1300 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 1002,5052 card 104d,808b rev 00 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0088 (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1  0   0xd000 - 0xdfff (0x1000) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1  0   0xdf00 - 0xdfef (0xf0) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1  0   0xdff0 - 0xe3ff (0x410) MX[B]
(II) 

Re: I need a cuppa...

2005-01-29 Thread John
On Sat, Jan 15, 2005 at 09:05:22PM -0800, Tabor Kelly wrote:
 Jonathan Chen wrote:
  On Sat, Jan 15, 2005 at 09:06:17PM -0600, John wrote:
  
 OK, I must be dumb as a rock, because this has to have been discussed
 and documented 16 ways from Sunday, but I've looked in the FAQ,
 and looked in the Handbook, and I've gone through my copy of the
 latest edition of _The Complete FreeBSD_, but I simply do NOT get
 how to get Java support for FreeBSD.  I don't need the JDK, unless
 that's the only way to get a viable JRE.
  
  
  You can't get a separate 1.4+ JRE for FreeBSD, you need to install the
  JDK; the JDK is available as a port in java/jdk14.
  
  Cheers.
 
 But make sure you have linprocfs mounted before you try to build it (and 
 obviously linux emulation).
 
 PS- Linux emulation is for bootstrapping purposes. java/jdk14 requires 
 java/linux-sun-jdk14 to compile, afterwards java/linux-sun-jdk14 can be 
 safely removed.

This whole process if VERY arcane and confusing for me!

I have tried to follow the instructions, but of course, some parts
have moved forward during the interim.

I have just done a cvsup of ports-all, because I couldn't find
the parts on Sun that were old enough to match 5.3-RELEASE (!!),
but having done all that, and signing all the license agreements,
and downloading the various files, it is STILL grabbing and
downloading stuff.

I have linux.ko loaded, and I mounted linprocfs, but it is saying
things like:
==
Warning: This JDK may be unstable. You are advised to use the native
FreeBSD JDK, in ports/java/jdk14.

This Java VM will attempt to obtain some system information by
accessing files in linux's procfs.  You must install the Linux
emulation procfs filesystem for this to work correctly.  The JVM
will exhibit various problems otherwise.  This can be accomplished
by adding the following line to your /etc/fstab file:

 linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then, as root, executing the commands:

kldload linprocfs
mount /compat/linux/proc

==

Should I be concerned?  I thought I'd already done all the prereq's,
but it is still complianing.  I AM DOING exactly what it says - I
got this output as a result of a make in /ports/java/jdk14.


Right now, it is grabbing all SORTS of linux distributions.

basesystem, libelf, libacl, filesystem - it's as if I'm trying
to build all of Linux in my FreeBSD tree.

This just doesn't seem right!
-- 

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


Re: Xorg config failure - help requested

2005-01-29 Thread John
On Sat, Jan 29, 2005 at 10:47:08AM -0500, Alan E. Beard wrote:
 Folks:
 
 Your kind help is solicited in the matter of an xorg config which fails
 to initialize on
(EE) Screen(s) found, but none have a usable configuration.
 
 Hardware is Sony PCV-L640, which is packaged from the manufacturer with
 an LCD display, Sony part number PCVA-15XTAP2.  The maker's spec on the
 display calls out native resolution of 1024x768, and vidcontrol seems to
 confirm this.  Additionally, DDC seems to find the display and read a
 reasonable set of parms. This notwithstanding, xorg server
 initialization fails.
 
 I've tried explicitly specifying DisplaySize, HorizSync, VertRefresh in 
 the Monitor block of the conf file, to no avail.
 
 Log files, config files, and supporting data below.
 
 Any ideas concerning some means of torturing this config into working
 will be welcome.

I had the same sorts of problems trying to use the x config scripts.

My advice is to ignore the config scripts and follow the simple
procedure in the FreeBSD handbook - X -configure and then test,
check the log file to see if the monitor information is in there,
or if not, search the web for an X11 entry for your monitor, or
dig up the monitor specs and build it by hand.  Other than the
monitor part, it is quick and easy.

Now I have X.org up and runnning on four different machines - and
I'm loving it!
-- 

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


Re: I need a cuppa...

2005-01-29 Thread Pat Maddox
I'm not sure if you've seen the below link or not, but it worked
perfectly for me as I was trying to get Java working.
http://www.brettsbsd.net/~estrabd/blog/index.php?/archives/21_Java_1.4_on_FreeBSD_4.10_in_8_steps.html

Hope that helps some.




On Sat, 29 Jan 2005 10:10:00 -0600, John [EMAIL PROTECTED] wrote:
 On Sat, Jan 15, 2005 at 09:05:22PM -0800, Tabor Kelly wrote:
  Jonathan Chen wrote:
   On Sat, Jan 15, 2005 at 09:06:17PM -0600, John wrote:
  
  OK, I must be dumb as a rock, because this has to have been discussed
  and documented 16 ways from Sunday, but I've looked in the FAQ,
  and looked in the Handbook, and I've gone through my copy of the
  latest edition of _The Complete FreeBSD_, but I simply do NOT get
  how to get Java support for FreeBSD.  I don't need the JDK, unless
  that's the only way to get a viable JRE.
  
  
   You can't get a separate 1.4+ JRE for FreeBSD, you need to install the
   JDK; the JDK is available as a port in java/jdk14.
  
   Cheers.
 
  But make sure you have linprocfs mounted before you try to build it (and
  obviously linux emulation).
 
  PS- Linux emulation is for bootstrapping purposes. java/jdk14 requires
  java/linux-sun-jdk14 to compile, afterwards java/linux-sun-jdk14 can be
  safely removed.
 
 This whole process if VERY arcane and confusing for me!
 
 I have tried to follow the instructions, but of course, some parts
 have moved forward during the interim.
 
 I have just done a cvsup of ports-all, because I couldn't find
 the parts on Sun that were old enough to match 5.3-RELEASE (!!),
 but having done all that, and signing all the license agreements,
 and downloading the various files, it is STILL grabbing and
 downloading stuff.
 
 I have linux.ko loaded, and I mounted linprocfs, but it is saying
 things like:
 ==
 Warning: This JDK may be unstable. You are advised to use the native
 FreeBSD JDK, in ports/java/jdk14.
 
 This Java VM will attempt to obtain some system information by
 accessing files in linux's procfs.  You must install the Linux
 emulation procfs filesystem for this to work correctly.  The JVM
 will exhibit various problems otherwise.  This can be accomplished
 by adding the following line to your /etc/fstab file:
 
  linprocfs   /compat/linux/proc   linprocfs   rw   0  0
 
 and then, as root, executing the commands:
 
 kldload linprocfs
 mount /compat/linux/proc
 
 ==
 
 Should I be concerned?  I thought I'd already done all the prereq's,
 but it is still complianing.  I AM DOING exactly what it says - I
 got this output as a result of a make in /ports/java/jdk14.
 
 Right now, it is grabbing all SORTS of linux distributions.
 
 basesystem, libelf, libacl, filesystem - it's as if I'm trying
 to build all of Linux in my FreeBSD tree.
 
 This just doesn't seem right!
 --
 
 John Lind
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: I need a cuppa...

2005-01-29 Thread Pat Maddox
I don't think I ever saw that message you got, but I remember that it
did download a ton of Xorg stuff because there was a motif dependency
or something.  As far as linux goes...you need to have linux emulation
enabled, because you use a linux JDK to build the native one.  So make
sure you've got linux emulation working, install the linux-sun jdk,
and then build the native JDK.  It's all detailed in that link I gave
you.


On Sat, 29 Jan 2005 10:21:47 -0600, John [EMAIL PROTECTED] wrote:
 On Sat, Jan 29, 2005 at 09:19:01AM -0700, Pat Maddox wrote:
  I'm not sure if you've seen the below link or not, but it worked
  perfectly for me as I was trying to get Java working.
  http://www.brettsbsd.net/~estrabd/blog/index.php?/archives/21_Java_1.4_on_FreeBSD_4.10_in_8_steps.html
 
  Hope that helps some.
 
 I'll check it out.
 
 Did you get the same message and did it fetch huge chunks of linux
 in the process?
 --
 
 John Lind
 [EMAIL PROTECTED]

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


break in /sysutils/dar?

2005-01-29 Thread Mike Hauber
I'm trying to install the /sysutils/dar port (so I can install 
kdar).  Build is fine, but I get the following when trying to 
'make install':


...
make  install-exec-hook
cd //usr/local/bin ; upx -9 dar dar_xform dar_slave dar_manager 
dar_cp
 Ultimate Packer for eXecutables
   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 
2004
UPX 1.25 Markus F.X.J. Oberhumer  Laszlo Molnar
Jun 29th 2004

File size Ratio  Format  Name
      --   ---   ---
upx: dar: IOException: file is write protected -- skipped
upx: dar_xform: IOException: file is write protected -- skipped
upx: dar_slave: IOException: file is write protected -- skipped
upx: dar_manager: IOException: file is write protected -- skipped
upx: dar_cp: IOException: file is write protected -- skipped

Packed 0 files.
*** Error code 1

Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src/dar_suite.
*** Error code 1

Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src/dar_suite.
*** Error code 1

Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src/dar_suite.
*** Error code 1

Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src.
*** Error code 1

Stop in /usr/ports/sysutils/dar/work/dar-2.1.5.
*** Error code 1

Stop in /usr/ports/sysutils/dar.
wizard# 



Any ideas (am I doing something wrong), or should this be reported 
as a bug?  I've googled it and checked the project's forum but 
didn't find anything.

Thanks,

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


ipfw statefull ruleset problem

2005-01-29 Thread Gerard Meijer
Hi everyone,

I have a question regarding my statefull ipfw ruleset. I have the following 
rules:

---begin---
$cmd 00015 check-state

#www
$cmd 00200 allow tcp from any to any 80 out via $pif setup keep-state

#mail
$cmd 00231 allow tcp from any to any 110 out via $pif setup keep-state

#ftp
$cmd 00283 allow tcp from any to any 21 out via $pif setup keep-state

# Allow in standard www function because I have apache server
$cmd 00400 allow tcp from any to me 80 in via $pif setup limit src-addr 2

# Allow in FTP
$cmd 00410 allow tcp from any to me 21 in via $pif setup limit src-addr 2

# Allow in mail
$cmd 00420 allow tcp from any to me 110 in via $pif
---end---
(there are a lot more rules, but these are the ones that it's about)

The problem that I'm having is that I can't check mail, and can't FTP and see a 
lot of:

ipfw: 299 Deny TCP [my-server-ip]:80 [some-ip]:[some-port-other-than-80] out 
via em0

messages in my logfile.

When I try to check mail I see in my log:

ipfw: 299 Deny TCP [my-server-ip]:110 
[my-home-pc-ip]:[some-port-other-than-110] out via em0

What happens (I think, as far as I understand ipfw), there is an connection 
setup on port 21/80/110 (ftp/http/mail), which is allowed by the rules. A 
dynamic rules is created, but then the other computer switches ports. The 
check-state command checks for a dynamic rule, but the port doesn't match 
anymore and so it doesn't find a dynamic rule and the other rules also don't 
apply, since they only allow connection initialization. Am I correct?

I can solve all this by putting in the rule:

# $cmd 00020 allow tcp from any to any established

But I learned that that is not the right way to do this in a statefull ruleset, 
because the dynamic rules don't have any use in this way. So what is the right 
way to solve this?

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


Re: enable linux compatibility

2005-01-29 Thread Thomas Foster
Well, personally I use linux_base-8.. but you can use whichever suits your 
needs.. exactly what linux binaries are you attempting to run on this 
system?

T
- Original Message - 
From: Dick Hoogendijk [EMAIL PROTECTED]
To: Thomas Foster [EMAIL PROTECTED]
Cc: freebsd-questions freebsd-questions@freebsd.org
Sent: Saturday, January 29, 2005 2:04 AM
Subject: Re: enable linux compatibility


On 29 Jan Thomas Foster wrote:
Try downloading a linux binary or installing a linux based application
from ports.. if you do not get any elf binary errors then yo umost
likely have the linux compatibility enabled correctly.  The only other
thing to watch for are any programs that might require linprocfs
My FreeBSD-4.11R system gives me on portupgrade linux_base an upgrade
to some RH-7.3 linux release. Lots of other ports seem to relate to
linux_base-8. If I deinstall linux_base, WHAT other port package do I
really need (want). There is lots of them nowadays (redhat, debian,
suse; I lost track..)
--
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja

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


Re: Free BSD 5.3 SMP Kernel

2005-01-29 Thread Robert Slade
Jon,

On Sat, 2005-01-29 at 11:24, Jon Mercer wrote:
 I'm just guessing, but it sounds like you come from a Linux background.
 
Sort of, I have used Linux in the past (including building Kernels) but
only came back to it recently I've also played with Solaris on a Sun
Ultra. I'm looking to replace some of my servers etc which are running
W2K server. I have tried Fedora but it is not stable enough for a
production environment. Hence Free BSD. BTW neither FC2 or 3 will
install on the Proliant - probably due to lack of EISA support. 

 What you want to do is roll your own kernel by copying
 the /usr/src/sys/i386/conf/GENERIC file
 to /usr/src/sys/i386/conf/MYSYSTEMNAME
 
 Upper case system names are traditionally used for the kernel config
 file in unix. HP-UX is the same, IIRC.
 
 Edit in:
 
 quote
 # To make an SMP kernel, the next two are needed
 options SMP # Symmetric MultiProcessor Kernel
 device  apic# I/O APIC
 /quote
 
 You will also want to change things like ident to MYSYSTEMNAME. There
 are a plethora of other options to have a play with as well. 
 
 after you've finished editing go to /usr/src and run
 
 make buildkernel KERNCONF=MYSYSTEMNAME

Its running now, but taking it's time. I'm not surprised as it only
running on 1 cylinder so to speak.


 
 then
 
 make installkernel KERNCONF=MYSYSTEMNAME
 
 then reboot. 
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html 
 will help you tremendously. Personally I find the whole process much simpler 
 than configuring a Linux kernel.
 
 Regards,
 
 Jon
 
 
 On Sat, 2005-01-29 at 11:12 +, Robert Slade wrote:
  Hi,
  
  I am new to Free BSD ( and Linux) and have just setup a rather old
  Proliant 5000 as a test machine. It has Quad PII processors and I would
  like to make use of them. The Install CDs only come with the 'Standard'
  kernel. Looking through the handbook implies that support for multiple
  processors in 5.3 was removed due to problems.
  
  I have seen references to a 5.3 SMP kernal though, is it possible to get
  hold of this, or do I have to wait for 5.4 to be released? If so when is
  this likely to be released.
  
  Sorry if this is a simple question.
  
  Thanks
  
  Rob
Again many thanks.

Rob

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


realplayer

2005-01-29 Thread Steven Friedrich
I've installed linux-realplayer, but about:plugins says:

Helix DNA Plugin: RealPlayer G2 Plug-In Compatible

File name: nphelix.so
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.404 built 
with gcc 3.2.0 on Dec 14 2004

Is this realplayer 10?

If so, how come when I go to realplayer.com to test it, nothing works?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg config failure - help requested

2005-01-29 Thread Alan E. Beard
On Sat, 29 Jan 2005, John wrote:
On Sat, Jan 29, 2005 at 10:47:08AM -0500, Alan E. Beard wrote:
 Folks:
 
 Your kind help is solicited in the matter of an xorg config which fails
 to initialize on
(EE) Screen(s) found, but none have a usable configuration.
 
 Hardware is Sony PCV-L640, which is packaged from the manufacturer with
 an LCD display, Sony part number PCVA-15XTAP2.  The maker's spec on the
 display calls out native resolution of 1024x768, and vidcontrol seems to
 confirm this.  Additionally, DDC seems to find the display and read a
 reasonable set of parms. This notwithstanding, xorg server
 initialization fails.
 
 I've tried explicitly specifying DisplaySize, HorizSync, VertRefresh in 
 the Monitor block of the conf file, to no avail.
 
 Log files, config files, and supporting data below.
 
 Any ideas concerning some means of torturing this config into working
 will be welcome.

I had the same sorts of problems trying to use the x config scripts.
My advice is to ignore the config scripts and follow the simple
procedure in the FreeBSD handbook - X -configure and then test,
check the log file to see if the monitor information is in there,
or if not, search the web for an X11 entry for your monitor, or
dig up the monitor specs and build it by hand.  Other than the
monitor part, it is quick and easy.
The procedure you describe above was executed in this case; the conf file 
in the original message was generated by 'Xorg -configure', and the log 
file was generated by 'Xorg -conf /root/xorg.conf.new'.  Additionally, the 
same release of xorg is running successfully on three of my 12 machines - 
the others run x clients only (in the case of the headless boxes), or (in 
two cases) are still running 4.10 with XFree86. This problem appears to be 
specific to the particular hardware configuration described in my initial 
note. (By way of explanation, the machine in question had run W2K until 
last week, but I decided to upgrade it to FreeBSD 5.3 for better 
reliability and improved function.) I have searched the X.org archives 
(and even resorted to google) for config information specific to the 
display called out above - with null result.

Now I have X.org up and runnning on four different machines - and
I'm loving it!
See above. Perhaps a detailed look at the log file will reveal to you a 
clue which I have overlooked.  I've not yet tried an explcit 'modeline' 
config - but my interpretation of the log from a subsequent run with the 
explicit monitor parms generated by -configure (but commented out in the 
auto-generated config) uncommented seems to indicate that the 
initialization process is failing to read the Monitor block, or the 
values are being overridden.

Any substantive notions will be welcome.
Regards,
AEB
--
Alan E. Beard [EMAIL PROTECTED]
AEBeard Consulting; 4109 Chelsea Ln; Lakeland FL 33809
863.815.2529
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DNS

2005-01-29 Thread ZaiD Dashti
hello
i have finished of installing my freebsd, and i ran a DNS server (named)
my DNS server listens only to my local network and it does not listens to
real world (i mean for resolving).
how can i make it to listen to the real world?
thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS

2005-01-29 Thread Thomas Foster
Does it have a publically accessible interface that can be accessed via an 
internet connection, or is it behind a Firewall/NAT/Router?  Is UDP port 53 
accessible if it is behind a Router?  Are you hosting a publically 
resolvable domain name?

T
- Original Message - 
From: ZaiD Dashti [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Saturday, January 29, 2005 9:14 AM
Subject: DNS


hello
i have finished of installing my freebsd, and i ran a DNS server (named)
my DNS server listens only to my local network and it does not listens to
real world (i mean for resolving).
how can i make it to listen to the real world?
thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Re: DNS

2005-01-29 Thread Chris
ZaiD Dashti wrote:
hello
i have finished of installing my freebsd, and i ran a DNS server (named)
my DNS server listens only to my local network and it does not listens to
real world (i mean for resolving).
how can i make it to listen to the real world?
thanks
1. Purchase the O'Reilly book on Bind
http://www.oreilly.com/catalog/dns4/
ISBN: 0-596-00158-4
2. Read said book
3. Read book again
4. Go here: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html

--
Best regards,
Chris
Real programmers don't advertise their hangovers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


message for port developers

2005-01-29 Thread Gert Cuykens
you know those blue configuration screens where you can select some
configuration options ?

Is it possible to first do ALL configuration screens of all the
dependencies before building the ports ?

So you know there will not be any screens until its done and you can
spend the time doing something els ?

Cant be that hart to do or am i mistaken ?

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


Anyone made pkgtools.conf's ALT_PKGDEP work?

2005-01-29 Thread Kirk Strauser
I have this in my pkgtools.conf:

  ALT_PKGDEP = {
'apache-1.3.*'  = 'apache+mod_ssl-1.3.*',
'openldap-client-*' = 'openldap-sasl-client-*',
'openldap-server-*' = 'openldap-sasl-server-*'
  }

However, I still get errors like this all the time after upgrading ports:

# portversion -vL=
Stale dependency: gtk-qt-engine-0.6 -- openldap-client-2.2.19 -- manually 
run 'pkgdb -F' to fix, or specify -O to force.

It seems that the ALT_PKGDEP values should be rewriting that dependency on
openldap-client-2.2.19 to openldap-sasl-client-2.2.19 automatically but it
never does.  Has anyone made this work, or should I file a PR?
-- 
Kirk Strauser


pgpfaWUb6H7T2.pgp
Description: PGP signature


Re: DNS

2005-01-29 Thread ZaiD Dashti
yes i have a ADSL router, and i redirect all ports to freebsd machine
when i connect to apache server (from outside my network and also locally) 
it work, but i don't know why DNS gaves me timeout.
there is no nating or firewall, only router, yes the udp is accessable

i'm trying to run DNS server, cuz i want to host my domain (just for 
learning how to host)


From: Thomas Foster [EMAIL PROTECTED]
To: ZaiD Dashti [EMAIL PROTECTED],freebsd-questions@freebsd.org
Subject: Re: DNS
Date: Sat, 29 Jan 2005 09:20:37 -0800
Does it have a publically accessible interface that can be accessed via an 
internet connection, or is it behind a Firewall/NAT/Router?  Is UDP port 53 
accessible if it is behind a Router?  Are you hosting a publically 
resolvable domain name?

T
- Original Message - From: ZaiD Dashti [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Saturday, January 29, 2005 9:14 AM
Subject: DNS

hello
i have finished of installing my freebsd, and i ran a DNS server (named)
my DNS server listens only to my local network and it does not listens to
real world (i mean for resolving).
how can i make it to listen to the real world?
thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



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


Re: message for port developers

2005-01-29 Thread Phil Schulz
On 01/29/05 18:42, Gert Cuykens wrote:
you know those blue configuration screens where you can select some
configuration options ?
Is it possible to first do ALL configuration screens of all the
dependencies before building the ports ?
So you know there will not be any screens until its done and you can
spend the time doing something els ?
Cant be that hart to do or am i mistaken ?
I'm not a port developer but I think you are looking for either `make 
configure` or the BATCH variable.

 If you know which ports you want to install on your system, you can do 
a `make configure' for each port (where it is availeable) and then have 
a skript fire up the `make install's. I'm not sure though if that works 
recursively, i.e. you run `make configure' for e.g. the Gnome meta port 
and you configure all the dependencies with that one command. Why don't 
you try it? ;-)
 If you think the default options are ok for you, you can add a line 
like BATCH=yes in /etc/make.conf and the ports will be built w/o any 
user interaction. Very useful for large builds.

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


Re: message for port developers

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 11:47:02 -0600, Kirk Strauser [EMAIL PROTECTED] wrote:
 On Saturday 29 January 2005 11:42 am, Gert Cuykens wrote:
 
  Cant be that hart to do or am i mistaken ?
 
 Unfortunately, you're mistaken.  Some of those option screens would cause new
 ports to be installed, so before building the top-level port you'd have to
 recursively walk the dependency list to configure those other ports, store
 the user-chosen options somewhere, and then re-walk the dependency list to
 actually build them.
 
 Sure, it *could* be done, but I imagine it'd involved a huge amount of effort.
 --
 Kirk Strauser

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


Re: DNS

2005-01-29 Thread Chris
From: Thomas Foster [EMAIL PROTECTED]
To: ZaiD Dashti 
[EMAIL PROTECTED],freebsd-questions@freebsd.org
Subject: Re: DNS
Date: Sat, 29 Jan 2005 09:20:37 -0800

Does it have a publically accessible interface that can be accessed 
via an internet connection, or is it behind a Firewall/NAT/Router?  Is 
UDP port 53 accessible if it is behind a Router?  Are you hosting a 
publically resolvable domain name?

T
- Original Message - From: ZaiD Dashti [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Saturday, January 29, 2005 9:14 AM
Subject: DNS

hello
i have finished of installing my freebsd, and i ran a DNS server (named)
my DNS server listens only to my local network and it does not 
listens to
real world (i mean for resolving).
how can i make it to listen to the real world?

thanks

Properly formated:
ZaiD Dashti wrote:
 yes i have a ADSL router, and i redirect all ports to freebsd machine
 when i connect to apache server (from outside my network and also
 locally) it work, but i don't know why DNS gaves me timeout.
 there is no nating or firewall, only router, yes the udp is accessable

 i'm trying to run DNS server, cuz i want to host my domain (just for
 learning how to host)



Contact your ISP - if you wish to host your domain, you need to be 
authoritive. Most DSL providers (that I have dealt with) will not do that.

--
Best regards,
Chris
If everything is coming your way, you're in the
wrong lane.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: message for port developers

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz [EMAIL PROTECTED] wrote:
 I'm not a port developer but I think you are looking for either `make
 configure` or the BATCH variable.
 
   If you know which ports you want to install on your system, you can do
 a `make configure' for each port (where it is availeable) and then have
 a skript fire up the `make install's. I'm not sure though if that works
 recursively, i.e. you run `make configure' for e.g. the Gnome meta port
 and you configure all the dependencies with that one command. Why don't
 you try it? ;-)
   If you think the default options are ok for you, you can add a line
 like BATCH=yes in /etc/make.conf and the ports will be built w/o any
 user interaction. Very useful for large builds.
 
 HTH,
 
 Phil.


BATCH=yes i can not do because some configuration leave some very nice toys out.

Now lets see you can call all dependencies with this if your index is working :)

make pretty-print-build-depends-list
so with some grep magic you could tell to do make config in all does
dependencies. Now the trickie part how do you find out the new
dependencies after does configure screens ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: message for port developers

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 19:17:46 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz [EMAIL PROTECTED] wrote:
  I'm not a port developer but I think you are looking for either `make
  configure` or the BATCH variable.
 
If you know which ports you want to install on your system, you can do
  a `make configure' for each port (where it is availeable) and then have
  a skript fire up the `make install's. I'm not sure though if that works
  recursively, i.e. you run `make configure' for e.g. the Gnome meta port
  and you configure all the dependencies with that one command. Why don't
  you try it? ;-)
If you think the default options are ok for you, you can add a line
  like BATCH=yes in /etc/make.conf and the ports will be built w/o any
  user interaction. Very useful for large builds.
 
  HTH,
 
  Phil.
 
 
 BATCH=yes i can not do because some configuration leave some very nice toys 
 out.
 
 Now lets see you can call all dependencies with this if your index is working 
 :)
 
 make pretty-print-build-depends-list
 so with some grep magic you could tell to do make config in all does
 dependencies. Now the trickie part how do you find out the new
 dependencies after does configure screens ?
 

a maybe updating the index and do the same thing all over again until
there are no new dependencies ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: message for port developers

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 19:22:18 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sat, 29 Jan 2005 19:17:46 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
  On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz [EMAIL PROTECTED] wrote:
   I'm not a port developer but I think you are looking for either `make
   configure` or the BATCH variable.
  
 If you know which ports you want to install on your system, you can do
   a `make configure' for each port (where it is availeable) and then have
   a skript fire up the `make install's. I'm not sure though if that works
   recursively, i.e. you run `make configure' for e.g. the Gnome meta port
   and you configure all the dependencies with that one command. Why don't
   you try it? ;-)
 If you think the default options are ok for you, you can add a line
   like BATCH=yes in /etc/make.conf and the ports will be built w/o any
   user interaction. Very useful for large builds.
  
   HTH,
  
   Phil.
  
 
  BATCH=yes i can not do because some configuration leave some very nice toys 
  out.
 
  Now lets see you can call all dependencies with this if your index is 
  working :)
 
  make pretty-print-build-depends-list
  so with some grep magic you could tell to do make config in all does
  dependencies. Now the trickie part how do you find out the new
  dependencies after does configure screens ?
 
 
 a maybe updating the index and do the same thing all over again until
 there are no new dependencies ?
 

can you update the index after a configure that adds a extra
dependencie to the port ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: message for port developers

2005-01-29 Thread Phil Schulz
On 01/29/05 19:27, Gert Cuykens wrote:
On Sat, 29 Jan 2005 19:22:18 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
On Sat, 29 Jan 2005 19:17:46 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz [EMAIL PROTECTED] wrote:
I'm not a port developer but I think you are looking for either `make
configure` or the BATCH variable.
 If you know which ports you want to install on your system, you can do
a `make configure' for each port (where it is availeable) and then have
a skript fire up the `make install's. I'm not sure though if that works
recursively, i.e. you run `make configure' for e.g. the Gnome meta port
and you configure all the dependencies with that one command. Why don't
you try it? ;-)
 If you think the default options are ok for you, you can add a line
like BATCH=yes in /etc/make.conf and the ports will be built w/o any
user interaction. Very useful for large builds.
HTH,
Phil.
BATCH=yes i can not do because some configuration leave some very nice toys 
out.
If you know what specific options you are looking for, you could 
configure the ports by hand and install them later. I think not all 
ports can be build with BATCH defined, at least that's what ports(7) 
suggests.

Now lets see you can call all dependencies with this if your index is working :)
make pretty-print-build-depends-list
so with some grep magic you could tell to do make config in all does
dependencies. Now the trickie part how do you find out the new
dependencies after does configure screens ?
a maybe updating the index and do the same thing all over again until
there are no new dependencies ?

can you update the index after a configure that adds a extra
dependencie to the port ?
I don't know.
I don't think it would be very efficient in terms of effort vs. use. How 
many ports do you really want to install with non-default options? And 
how often do you re-configure them?

You probably want to wait for an opinion from someone else who knows 
more, though.

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


Re: Adding a partition

2005-01-29 Thread David J. Weller-Fahy
* David J. Weller-Fahy [EMAIL PROTECTED] [2005-01-29 00:49 +0100]:
 h: 52487298 1038090244.2BSD 2048 16384 28552
 
  You will need to be booted in such a way as nothing on that slice
  is mounted to be able to write the new label, I believe.

 Ah!  That's what I was missing.  Thanks for the tip, I'll try it out
 tomorrow and let the list know how it goes.

I booted into single user mode, did the deed, and rebooted.  All is well
so far.  Thanks for the tip!

Regards,
-- 
dave [ please don't CC me ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipmon writes to security.* in 5.3

2005-01-29 Thread Joe Kraft
I have a 5.3-STABLE machine with ipfilter built into the kernel.  When 
running ipmon logging to syslog, the information is being dumped to the 
security.* service instead of the local0.* service like the handbook 
says it should.

I've taken a quick look at the code and it appears it should be going to 
local0.* like expected and like it did for me on 4.10, but it's not.

I see the following in UPDATE:
20041003:
The pfil API has gained an additional argument to pass an inpcb.
You should rebuild all pfil consuming modules: ipfw, ipfilter
and pf.
but I don't think that should affect me since I installed 5.3-RELEASE 
and have rebuilt to the current (two weeks ago) 5.3-STABLE.

Does anyone have any recommendations?  Pointers to blatantly obvious 
documentation are perfectly acceptable, if warranted.

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


Re: message for port developers

2005-01-29 Thread Erik Trulsson
On Sat, Jan 29, 2005 at 06:42:55PM +0100, Gert Cuykens wrote:
 you know those blue configuration screens where you can select some
 configuration options ?
 
 Is it possible to first do ALL configuration screens of all the
 dependencies before building the ports ?

Not currently, no.

 
 So you know there will not be any screens until its done and you can
 spend the time doing something els ?
 
 Cant be that hart to do or am i mistaken ?

It has already been implemented, but not yet commited to the ports
tree.  See PR 76254 for a patch.



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


Re: message for port developers

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 19:41:49 +0100, Phil Schulz [EMAIL PROTECTED] wrote:
 On 01/29/05 19:27, Gert Cuykens wrote:
  On Sat, 29 Jan 2005 19:22:18 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 
 On Sat, 29 Jan 2005 19:17:46 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 
 On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz [EMAIL PROTECTED] wrote:
 
 I'm not a port developer but I think you are looking for either `make
 configure` or the BATCH variable.
 
   If you know which ports you want to install on your system, you can do
 a `make configure' for each port (where it is availeable) and then have
 a skript fire up the `make install's. I'm not sure though if that works
 recursively, i.e. you run `make configure' for e.g. the Gnome meta port
 and you configure all the dependencies with that one command. Why don't
 you try it? ;-)
   If you think the default options are ok for you, you can add a line
 like BATCH=yes in /etc/make.conf and the ports will be built w/o any
 user interaction. Very useful for large builds.
 
 HTH,
 
 Phil.
 
 
 BATCH=yes i can not do because some configuration leave some very nice 
 toys out.
 
 
 If you know what specific options you are looking for, you could
 configure the ports by hand and install them later. I think not all
 ports can be build with BATCH defined, at least that's what ports(7)
 suggests.
 
 Now lets see you can call all dependencies with this if your index is 
 working :)
 
 make pretty-print-build-depends-list
 so with some grep magic you could tell to do make config in all does
 dependencies. Now the trickie part how do you find out the new
 dependencies after does configure screens ?
 
 
 a maybe updating the index and do the same thing all over again until
 there are no new dependencies ?
 
 
 
  can you update the index after a configure that adds a extra
  dependencie to the port ?
 
 
 I don't know.
 
 I don't think it would be very efficient in terms of effort vs. use. How
 many ports do you really want to install with non-default options? And
 how often do you re-configure them?
 
 You probably want to wait for an opinion from someone else who knows
 more, though.
 
 Phil.
 

Lest see how far we can get you have to help me do because i suck at
development :)

main{
newdependencies= yes;
dependencies = make pretty-print-run-depends-list;

WHILE newdependencies=yes DO
configure(dependencies);
dependencies=(make pretty-print-run-depends-list) - (currentdependencies)
IF dependencies = nulll {
newdependencies = no
}
}

function configure(dependencies){
WHILE dependencies DO{
grep(dependencies,i);
make configure;}
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: message for port developers

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 20:21:08 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sat, 29 Jan 2005 19:41:49 +0100, Phil Schulz [EMAIL PROTECTED] wrote:
  On 01/29/05 19:27, Gert Cuykens wrote:
   On Sat, 29 Jan 2005 19:22:18 +0100, Gert Cuykens [EMAIL PROTECTED] 
   wrote:
  
  On Sat, 29 Jan 2005 19:17:46 +0100, Gert Cuykens [EMAIL PROTECTED] 
  wrote:
  
  On Sat, 29 Jan 2005 19:01:57 +0100, Phil Schulz [EMAIL PROTECTED] 
  wrote:
  
  I'm not a port developer but I think you are looking for either `make
  configure` or the BATCH variable.
  
If you know which ports you want to install on your system, you can do
  a `make configure' for each port (where it is availeable) and then have
  a skript fire up the `make install's. I'm not sure though if that works
  recursively, i.e. you run `make configure' for e.g. the Gnome meta port
  and you configure all the dependencies with that one command. Why don't
  you try it? ;-)
If you think the default options are ok for you, you can add a line
  like BATCH=yes in /etc/make.conf and the ports will be built w/o any
  user interaction. Very useful for large builds.
  
  HTH,
  
  Phil.
  
  
  BATCH=yes i can not do because some configuration leave some very nice 
  toys out.
  
 
  If you know what specific options you are looking for, you could
  configure the ports by hand and install them later. I think not all
  ports can be build with BATCH defined, at least that's what ports(7)
  suggests.
 
  Now lets see you can call all dependencies with this if your index is 
  working :)
  
  make pretty-print-build-depends-list
  so with some grep magic you could tell to do make config in all does
  dependencies. Now the trickie part how do you find out the new
  dependencies after does configure screens ?
  
  
  a maybe updating the index and do the same thing all over again until
  there are no new dependencies ?
  
  
  
   can you update the index after a configure that adds a extra
   dependencie to the port ?
  
 
  I don't know.
 
  I don't think it would be very efficient in terms of effort vs. use. How
  many ports do you really want to install with non-default options? And
  how often do you re-configure them?
 
  You probably want to wait for an opinion from someone else who knows
  more, though.
 
  Phil.
 
 
 Lest see how far we can get you have to help me do because i suck at
 development :)
 

damn forgot to rename currentdependencies to dependencies

 main{
 newdependencies= yes;
 dependencies = make pretty-print-run-depends-list;
 
 WHILE newdependencies=yes DO
 configure(dependencies);
 dependencies=(make pretty-print-run-depends-list) - (dependencies)
 IF dependencies = nulll {
 newdependencies = no
 }
 }
 
 function configure(dependencies){
 WHILE dependencies DO{
 grep(dependencies,i);
 make configure;}
 }

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


Network problem after upgrade from 5.1 to 5.3

2005-01-29 Thread Aleksander Rozman - Andy
Hi !
I am long time user of FreeBSD and for must updates so far I hadn't had 
much to do (maybe option here and option there, but networking never 
changes), but after upgrade from 5.1 to 5.3 everything stoped working. 
Since I couldn't rebuild kernel (some internal problems), I decided to 
delete everything and reinstal from scratch (last time I did this was when 
disk crashed, and that was about 5 years ago). But now again nothing works. 
I didn't change any configuration files since instalation except, rc.conf, 
and copied my firewall.conf and natd.conf...

Even after recompiled I couldn't use network. My FreeBSD is used as server 
and also router for my internal network (using NAT).

Problem:
==
If I disable firewall, natd is turned down so inside computers can't get to 
internet through FreeBSD box, if enabled, then nothing works. It seems like 
small trouble in Firewall, but I don't know why. I usually didn't make any 
changes to firewall since I am not guru there...


Config:
=
 FreeBSD BOX- dc0: external IP
  |
 V
  rl0: internal IP 192.168.44.1   -  Hub
I was using NATD and firewall (I have my own rules for both and everything 
worked before), I have compiled IPDIVERT and IPFIREWALL into kernel.

Startup rc.conf:
===
defaultrouter=xx.xx.5.1   # Set to default gateway (or NO).
firewall_enable=YES   # Set to YES to enable firewall functionality
firewall_silent=YES
firewall_type=/etc/firewall.conf  # Firewall type (see /etc/rc.firewall)
gateway_enable=YES# Set to YES if this host will be a gateway.
hostname=atechnet.dhs.org # Set this!
ifconfig_dc0=inet xx.xx.5.51 netmask 255.255.255.0
ifconfig_lo0=inet 127.0.0.1 netmask 255.255.255.0
ifconfig_rl0=inet 192.168.44.1 netmask 255.255.255.0
natd_enable=YES   # Enable natd (if firewall_enable ==YES).
natd_flags=-s -u -f /etc/natd.conf
natd_interface=dc0
network_interfaces=auto
natd.conf  (This is just for redirection of emule ports)
===
redirect_port tcp 192.168.44.2:4662 4662
redirect_port udp 192.168.44.2:4672 4672
redirect_port tcp 192.168.44.2:4711 4711
redirect_port tcp 192.168.44.1:5432 5432
redirect_port udp 192.168.44.1:5432 5432
firewall.conf   (this is open firewall with added ports for redirection)
=
add 00050 set 0 divert 8668 ip from any to any
add 00100 set 0 allow ip from any to any
add 00200 set 0 deny ip from any to 127.0.0.0/8
add 00300 set 0 deny ip from 127.0.0.0/8 to any
add 1 set 0 allow udp from any 4672 to 192.168.44.2 dst-port 4672
add 10001 set 0 allow tcp from any 4662 to 192.168.44.2 dst-port 4662
add 10002 set 0 allow tcp from any 4711 to 192.168.44.2 dst-port 4711
add 65000 set 0 allow ip from any to any

Please help me, I need to make my server active again, but I can't do that 
unless whole network is working...

Andy

**
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
* [EMAIL PROTECTED] * Sentinel, BH 90210, True's Trooper,   *
*[EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*
* ICQ-UIC: 4911125   *
* PGP key available  *http://www.atechnet.dhs.org/~andy/ *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld error

2005-01-29 Thread Donald J. O'Neill
On Saturday 29 January 2005 07:55 am, Gert Cuykens wrote:
 On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen 
[EMAIL PROTECTED] wrote:
  Seems to me you specified amd64 in /etc/makeconf.
  If i remember correctly from some posts ago this is obsolete.
  You can however switch to 32-bit mode by specifying athlon-xp.
  Otherwise everything should be auto detected by gcc.

 why is this obsolete it always worked that way ?

Gert,

I had not seen this post until now, and I'm not sure about the question 
your asking about. 

It seems to me, he is saying that using CPUTYPE=?amd64 in your 
make.conf is obsolete.

Your error message would seem to confirm ths

cc -O -pipe -march=amd64 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
-finhibit-size-directive -fno-inline-functions  -fno-exceptions
-fno-zero-initialized-in-bss  -fno-omit-frame-pointer
-fno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
-I/usr/src/gnu/lib/csu/../../../contrib/gcc -I. 
-I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  -g0 -DCRT_BEGIN  -c
-o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
value (amd64) for -march= switch
/usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
value (amd64) for -mtune= switch
*** Error code 1

You see the bottom 4 lines? I see a bad  value (amd64) for -march= 
switch and a bad (amd64) for -mtune= switch . Try changing you 
make.conf file to use CPUTYPE=?hammer, if that works go on to the 
next step. If it fails, see if you've got a similar error message.

Try removing CPUTYPE=? whaterver you now  from your make.conf file. 
This is probably the way that will work.

Please, send me this information, I need to know!
What is the supfile you're using?
Have you done a recent cvsup?
Did you dump the refuse file? Please do so if you haven't already, it 
takes care of a lot of cvsup problems.
Have you ever done a successful buildworld sequence on the computer?

Don

-- 
Donald J. O'Neill
[EMAIL PROTECTED]

I'm not totally useless,
I can be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld error

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 13:27:15 -0600, Donald J. O'Neill
[EMAIL PROTECTED] wrote:
 On Saturday 29 January 2005 07:55 am, Gert Cuykens wrote:
  On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen
 [EMAIL PROTECTED] wrote:
   Seems to me you specified amd64 in /etc/makeconf.
   If i remember correctly from some posts ago this is obsolete.
   You can however switch to 32-bit mode by specifying athlon-xp.
   Otherwise everything should be auto detected by gcc.
 
  why is this obsolete it always worked that way ?
 
 Gert,
 
 I had not seen this post until now, and I'm not sure about the question
 your asking about.
 
 It seems to me, he is saying that using CPUTYPE=?amd64 in your
 make.conf is obsolete.
 
 Your error message would seem to confirm ths
 
 cc -O -pipe -march=amd64 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
 -finhibit-size-directive -fno-inline-functions  -fno-exceptions
 -fno-zero-initialized-in-bss  -fno-omit-frame-pointer
 -fno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
 -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
 -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  -g0 -DCRT_BEGIN  -c
 -o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
 /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
 value (amd64) for -march= switch
 /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
 value (amd64) for -mtune= switch
 *** Error code 1
 
 You see the bottom 4 lines? I see a bad  value (amd64) for -march=
 switch and a bad (amd64) for -mtune= switch . Try changing you
 make.conf file to use CPUTYPE=?hammer, if that works go on to the
 next step. If it fails, see if you've got a similar error message.
 
 Try removing CPUTYPE=? whaterver you now  from your make.conf file.
 This is probably the way that will work.
 
 Please, send me this information, I need to know!
 What is the supfile you're using?
 Have you done a recent cvsup?
 Did you dump the refuse file? Please do so if you haven't already, it
 takes care of a lot of cvsup problems.
 Have you ever done a successful buildworld sequence on the computer?
 
 Don
 
 --
 Donald J. O'Neill
 [EMAIL PROTECTED]
 
 I'm not totally useless,
 I can be used as a bad example.
 

yep i did it a few times before i could build world and kernel without
any troubles.
the world i am now using is done that way

7rxI# uname -a
FreeBSD 7rxI 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Nov 30 11:49:43 CET
2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/gert  amd64
7rxI#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread dkouroun
This is the output of my ulimit:

#ulimit -a | grep data
data seg size (kbytes, -d) 524288
#

So what is next?
Is it possible to embed that information in the kernel? 
Or, how is this information set by default? Is there any specific
.conf file I should edit?

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



Re: make buildworld error

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 20:33:12 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sat, 29 Jan 2005 13:27:15 -0600, Donald J. O'Neill
 [EMAIL PROTECTED] wrote:
  On Saturday 29 January 2005 07:55 am, Gert Cuykens wrote:
   On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen
  [EMAIL PROTECTED] wrote:
Seems to me you specified amd64 in /etc/makeconf.
If i remember correctly from some posts ago this is obsolete.
You can however switch to 32-bit mode by specifying athlon-xp.
Otherwise everything should be auto detected by gcc.
  
   why is this obsolete it always worked that way ?
 
  Gert,
 
  I had not seen this post until now, and I'm not sure about the question
  your asking about.
 
  It seems to me, he is saying that using CPUTYPE=?amd64 in your
  make.conf is obsolete.
 
  Your error message would seem to confirm ths
 
  cc -O -pipe -march=amd64 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
  -finhibit-size-directive -fno-inline-functions  -fno-exceptions
  -fno-zero-initialized-in-bss  -fno-omit-frame-pointer
  -fno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
  -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
  -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  -g0 -DCRT_BEGIN  -c
  -o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
  /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
  value (amd64) for -march= switch
  /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
  value (amd64) for -mtune= switch
  *** Error code 1
 
  You see the bottom 4 lines? I see a bad  value (amd64) for -march=
  switch and a bad (amd64) for -mtune= switch . Try changing you
  make.conf file to use CPUTYPE=?hammer, if that works go on to the
  next step. If it fails, see if you've got a similar error message.
 
  Try removing CPUTYPE=? whaterver you now  from your make.conf file.
  This is probably the way that will work.
 
  Please, send me this information, I need to know!
  What is the supfile you're using?
  Have you done a recent cvsup?
  Did you dump the refuse file? Please do so if you haven't already, it
  takes care of a lot of cvsup problems.
  Have you ever done a successful buildworld sequence on the computer?
 
  Don
 
  --
  Donald J. O'Neill
  [EMAIL PROTECTED]
 
  I'm not totally useless,
  I can be used as a bad example.
 
 
 yep i did it a few times before i could build world and kernel without
 any troubles.
 the world i am now using is done that way
 
 7rxI# uname -a
 FreeBSD 7rxI 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Nov 30 11:49:43 CET
 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/gert  amd64
 7rxI#
 

it stoped working after a cvsup i will remove the refuse file and do
some test with the make.conf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld error

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 20:37:59 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
 On Sat, 29 Jan 2005 20:33:12 +0100, Gert Cuykens [EMAIL PROTECTED] wrote:
  On Sat, 29 Jan 2005 13:27:15 -0600, Donald J. O'Neill
  [EMAIL PROTECTED] wrote:
   On Saturday 29 January 2005 07:55 am, Gert Cuykens wrote:
On Sat, 29 Jan 2005 11:17:59 +0100, Peter Harmsen
   [EMAIL PROTECTED] wrote:
 Seems to me you specified amd64 in /etc/makeconf.
 If i remember correctly from some posts ago this is obsolete.
 You can however switch to 32-bit mode by specifying athlon-xp.
 Otherwise everything should be auto detected by gcc.
   
why is this obsolete it always worked that way ?
  
   Gert,
  
   I had not seen this post until now, and I'm not sure about the question
   your asking about.
  
   It seems to me, he is saying that using CPUTYPE=?amd64 in your
   make.conf is obsolete.
  
   Your error message would seem to confirm ths
  
   cc -O -pipe -march=amd64 -DIN_GCC -DHAVE_LD_EH_FRAME_HDR
   -finhibit-size-directive -fno-inline-functions  -fno-exceptions
   -fno-zero-initialized-in-bss  -fno-omit-frame-pointer
   -fno-unit-at-a-time -I/usr/src/gnu/lib/csu/../../../contrib/gcc/config
   -I/usr/src/gnu/lib/csu/../../../contrib/gcc -I.
   -I/usr/src/gnu/lib/csu/../../usr.bin/cc/cc_tools  -g0 -DCRT_BEGIN  -c
   -o crtbegin.o /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c
   /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
   value (amd64) for -march= switch
   /usr/src/gnu/lib/csu/../../../contrib/gcc/crtstuff.c:1: error: bad
   value (amd64) for -mtune= switch
   *** Error code 1
  
   You see the bottom 4 lines? I see a bad  value (amd64) for -march=
   switch and a bad (amd64) for -mtune= switch . Try changing you
   make.conf file to use CPUTYPE=?hammer, if that works go on to the
   next step. If it fails, see if you've got a similar error message.
  
   Try removing CPUTYPE=? whaterver you now  from your make.conf file.
   This is probably the way that will work.
  
   Please, send me this information, I need to know!
   What is the supfile you're using?
   Have you done a recent cvsup?
   Did you dump the refuse file? Please do so if you haven't already, it
   takes care of a lot of cvsup problems.
   Have you ever done a successful buildworld sequence on the computer?
  
   Don
  
   --
   Donald J. O'Neill
   [EMAIL PROTECTED]
  
   I'm not totally useless,
   I can be used as a bad example.
  
 
  yep i did it a few times before i could build world and kernel without
  any troubles.
  the world i am now using is done that way
 
  7rxI# uname -a
  FreeBSD 7rxI 5.3-STABLE FreeBSD 5.3-STABLE #0: Tue Nov 30 11:49:43 CET
  2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/gert  amd64
  7rxI#
 
 
 it stoped working after a cvsup i will remove the refuse file and do
 some test with the make.conf
 

###
# supfile #
##

*default tag=RELENG_5
*default host=cvsup15.FreeBSD.org
*default prefix=/usr
*default base=/usr
*default release=cvs
*default delete use-rel-suffix
src-all
ports-all tag=.
doc-all
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: make buildworld error

2005-01-29 Thread Subhro


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Donald J. O'Neill
 Sent: Sunday, January 30, 2005 0:57
 To: Gert Cuykens
 Cc: freebsd-questions@freebsd.org
 Subject: Re: make buildworld error
 
snip

 You see the bottom 4 lines? I see a bad  value (amd64) for -march=
 switch and a bad (amd64) for -mtune= switch . Try changing you
 make.conf file to use CPUTYPE=?hammer, if that works go on to the
 next step. If it fails, see if you've got a similar error message.

The correct way would be CPUTYPE=k8 as all Hammers are basically having K8
cores. This is also revealed in dmesg.

snip

Regards
S.
Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: make buildworld error

2005-01-29 Thread Gert Cuykens
On Sun, 30 Jan 2005 01:11:32 +0530, Subhro [EMAIL PROTECTED] wrote:
 The correct way would be CPUTYPE=k8 as all Hammers are basically having K8
 cores. This is also revealed in dmesg.

my dmesg
CPU: AMD Athlon(tm) 64 FX-53 Processor (2400.01-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0xf5a  Stepping = 10  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread markzero
 This is the output of my ulimit:
 
 #ulimit -a | grep data
 data seg size (kbytes, -d) 524288
 #
 
 So what is next?
 Is it possible to embed that information in the kernel? 
 Or, how is this information set by default? Is there any specific
 .conf file I should edit?
 
 Thank you all!

You'll want to change your default segment size in /etc/login.conf.
You'll need to re-generate the database after editing with cap_mkdb too. 

Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1


pgp7xUO3xDToy.pgp
Description: PGP signature


Re: Cyrus IMAP crashes after reading /etc/krb5.conf

2005-01-29 Thread Scot Hetzel
On Fri, 28 Jan 2005 21:59:21 -0500, Mikhail Teterin
[EMAIL PROTECTED] wrote:
 Hello!
 
 I'm trying to configure a freshly built mail/cyrus-imapd22 to work and
 authenticate accounts -- Kerberos and plain text.
 
 The GSSAPI authentication works already. After doing kinit, I can do ``imtest
 -m GSSAPI hostname'' and it succeeds.
 
 Now I'm trying to login with plain text (over SSL). Cyrus' imapd keeps
 crashing from SIGBUS. According to ktrace, this happens right after reading
 the krb5.conf (I replaced our domain with example below):
 
The freebsd-security list is for security issue with the FreeBSD
operating system.
Your question involves a port question. freebsd-questions, cyrus
mailing list, or freebsd-ports is where you should have posted.

You'll need to use gdb on the cyrus-imapd .core file to find out where
it is failing.
You'll also need a version of the cyrus-imapd compiled with debugging
symbols to get something usefull out of gdb.

i.e.

gdb /usr/ports/mail/cyrus-imapd22/work/cyrus-imapd-2.2*/location of
file/name of cyrus-imapd -c /location of core file/name of
cyrus-imapd.core

(check the man page, I'm not sure -c is correct for the core file)

then use bt (backtrace) in gdb and it will show you the src file 
function where the failure is occuring. You may also want to look at
the values of some of the variables (i.e. p varname, p *varname, p
varname)

Scot

PS. I BCC freebsd-security, do not post any replies there.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Seeking performance tuning pointers/tracking down GIANT

2005-01-29 Thread Chuck Swiger
Lucky Green wrote:
System:
Dual processor Intel PentiumPro motherboard. FreeBSD 5.3 SMP kernel. fxp
100baseT NIC.
I am managing a system that is running tor, a fairly network intensive
service. See http://tor.eff.org
The service processes about 7Mbps symmetric traffic sustained. top shows
about 33% CPU idle. There is plenty of inactive/free RAM. While server
throughput grew steadily over time, throughput appears to have hit a ceiling
at between 7 and 8 Mbps.
You can't do more than around 8-10 megabytes per second of actual data via a 
100 Mbs link due to network protocol overhead, packet collisions, and such. 
If you want this thing to go significantly faster, consider gigabit ethernet.

[ If you're only getting 8 megabits per second, then that's another case... ]
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: break in /sysutils/dar?

2005-01-29 Thread Lowell Gilbert
Mike Hauber [EMAIL PROTECTED] writes:

 I'm trying to install the /sysutils/dar port (so I can install 
 kdar).  Build is fine, but I get the following when trying to 
 'make install':
 
 
 ...
 make  install-exec-hook
 cd //usr/local/bin ; upx -9 dar dar_xform dar_slave dar_manager 
 dar_cp
  Ultimate Packer for eXecutables
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 
 2004
 UPX 1.25 Markus F.X.J. Oberhumer  Laszlo Molnar
 Jun 29th 2004
 
 File size Ratio  Format  Name
   --   ---   ---
 upx: dar: IOException: file is write protected -- skipped
 upx: dar_xform: IOException: file is write protected -- skipped
 upx: dar_slave: IOException: file is write protected -- skipped
 upx: dar_manager: IOException: file is write protected -- skipped
 upx: dar_cp: IOException: file is write protected -- skipped
 
 Packed 0 files.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src/dar_suite.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src/dar_suite.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src/dar_suite.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/dar/work/dar-2.1.5/src.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/dar/work/dar-2.1.5.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/dar.
 wizard# 
 
 
 
 Any ideas (am I doing something wrong), or should this be reported 
 as a bug?  I've googled it and checked the project's forum but 
 didn't find anything.

It just built and for me; perhaps you forgot to install as root?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One-line global string replace in all files with sed (or awk?)

2005-01-29 Thread Juha Saarinen
On Fri, 28 Jan 2005 17:54:06 +0200, Giorgos Keramidas
[EMAIL PROTECTED] wrote:
 I honestly feel pity for the Windows using friends I have in cases like
 this.

Don't do that, just point them to:

http://www.microsoft.com/windows/sfu/default.asp

and to:

http://www.interopsystems.com/tools/

Not perfect by any means, but surprisingly helpful at times.

;)

-- 

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


Re: make buildworld error

2005-01-29 Thread Donald J. O'Neill
On Saturday 29 January 2005 01:49 pm, Gert Cuykens wrote:
 On Sun, 30 Jan 2005 01:11:32 +0530, Subhro [EMAIL PROTECTED] 
wrote:
  The correct way would be CPUTYPE=k8 as all Hammers are basically
  having K8 cores. This is also revealed in dmesg.

 my dmesg
 CPU: AMD Athlon(tm) 64 FX-53 Processor (2400.01-MHz K8-class CPU)
   Origin = AuthenticAMD  Id = 0xf5a  Stepping = 10
 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
GE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2

Gert,

Take the advice of Subhro, this should cut playing around time down.
Ignore the two examples I gave, unless you want to see what happens.

Don

-- 
Donald J. O'Neill
[EMAIL PROTECTED]

I'm not totally useless,
I can be used as a bad example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld error

2005-01-29 Thread Gert Cuykens
On Sat, 29 Jan 2005 14:45:52 -0600, Donald J. O'Neill
[EMAIL PROTECTED] wrote:
 On Saturday 29 January 2005 01:49 pm, Gert Cuykens wrote:
  On Sun, 30 Jan 2005 01:11:32 +0530, Subhro [EMAIL PROTECTED]
 wrote:
   The correct way would be CPUTYPE=k8 as all Hammers are basically
   having K8 cores. This is also revealed in dmesg.
 
  my dmesg
  CPU: AMD Athlon(tm) 64 FX-53 Processor (2400.01-MHz K8-class CPU)
Origin = AuthenticAMD  Id = 0xf5a  Stepping = 10
  Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P
 GE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
 
 Gert,
 
 Take the advice of Subhro, this should cut playing around time down.
 Ignore the two examples I gave, unless you want to see what happens.
 
 Don
 
 --
 Donald J. O'Neill
 [EMAIL PROTECTED]
 
 I'm not totally useless,
 I can be used as a bad example.
 

k8 seems to work thx guy's :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Docs for Berkeley Make?

2005-01-29 Thread Jonathon McKitrick

Hi all,

I just got the O'Reilly book on GNU Make, but I'd really like to focus on
Berkeley Make when possible.  Where can I find some good examples (other
than the source tree makefiles, which are very complex) and documentation on
the differences between the two versions of make?

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


Re: Docs for Berkeley Make?

2005-01-29 Thread Giorgos Keramidas
On 2005-01-29 20:53, Jonathon McKitrick [EMAIL PROTECTED] wrote:
 I just got the O'Reilly book on GNU Make, but I'd really like to focus
 on Berkeley Make when possible.  Where can I find some good examples
 (other than the source tree makefiles, which are very complex) and
 documentation on the differences between the two versions of make?

If you have the doc package set installed, look in:

/usr/share/doc/psd/12.make

If not, the same documents are available as part of the online FreeBSD
documentation set:

http://docs.FreeBSD.org/

This is not a comparison of GNU make and BSD make.  It's just a guide
for BSD make.  I believe it's a guide that is better than trying to
decipher the makefiles of the src/ tree.  AFAIK, the latter tend to
depend on a lot of features of the src/share/mk/* stuff, which are not
necessarily available and do not work exactly the same with all versions
of BSD make out there.

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


Re: Squid 2.5.7_8 - 2.5.7_9 portupgrade fails

2005-01-29 Thread Juha Saarinen
On 29 Jan 2005 10:03:08 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 By default, it isn't being applied for me.
 Try make rmconfig clean and try again.

Yes, that works. Probably the usual operator error. 

-- 

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


2 quick firewall questions for FreBSD

2005-01-29 Thread Andy Firman

First, if one were to deploy FreeBSD 5.3 as a standard
web and email server, would it need a firewall?
I don't see the point because only ports like 25 for 
smtp, 110 for pop, 80 for http, etc... will be listening
and open for connections with or without a firewall.

Second, I would like to replace my Linux gateway running
Shorewall.  Shorewall is a nice package for managing the 
netfilter firewall capabilities of the Linux kernel.
Is there something similar for FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2 quick firewall questions for FreBSD

2005-01-29 Thread Chris
Andy Firman wrote:
First, if one were to deploy FreeBSD 5.3 as a standard
web and email server, would it need a firewall?
I don't see the point because only ports like 25 for 
smtp, 110 for pop, 80 for http, etc... will be listening
and open for connections with or without a firewall.

Second, I would like to replace my Linux gateway running
Shorewall.  Shorewall is a nice package for managing the 
netfilter firewall capabilities of the Linux kernel.
Is there something similar for FreeBSD?
Let's look at #2 - Is this server running a WM? If so, why?
--
Best regards,
Chris
If the faulty part is in stock, it didn't need replacing
in the first place.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2 quick firewall questions for FreBSD

2005-01-29 Thread albi
Andy Firman wrote:
Second, I would like to replace my Linux gateway running
Shorewall.  Shorewall is a nice package for managing the 
netfilter firewall capabilities of the Linux kernel.
Is there something similar for FreeBSD?
personally i don't like Shorewall at all
but.. imho m0n0wall rocks : http://www.m0n0.ch/wall/
:)
- based on FreeBSD
- you can run it from a soekris, or from cdrom+floppy or from hdd
- more responsive (at configuring) than some hardware-routers i've tried
- features amongst others portforwarding, VPN, traffic shaper,
  traffic grapher
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2 quick firewall questions for FreBSD

2005-01-29 Thread Pat Maddox
Having a firewall prevents rogue programs from opening up other ports
on your machine.  You have to worry about services you don't install
and configure just as much (maybe even more so) as the services you do
install.


On Sat, 29 Jan 2005 12:50:51 -0900, Andy Firman [EMAIL PROTECTED] wrote:
 
 First, if one were to deploy FreeBSD 5.3 as a standard
 web and email server, would it need a firewall?
 I don't see the point because only ports like 25 for
 smtp, 110 for pop, 80 for http, etc... will be listening
 and open for connections with or without a firewall.
 
 Second, I would like to replace my Linux gateway running
 Shorewall.  Shorewall is a nice package for managing the
 netfilter firewall capabilities of the Linux kernel.
 Is there something similar for FreeBSD?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: 2 quick firewall questions for FreBSD

2005-01-29 Thread Thomas Foster
For FreeBSD.. I highly recommend PF
http://www.section6.net/help/pf.php
Hope this helps
T
- Original Message - 
From: Andy Firman [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Saturday, January 29, 2005 1:50 PM
Subject: 2 quick firewall questions for FreBSD


First, if one were to deploy FreeBSD 5.3 as a standard
web and email server, would it need a firewall?
I don't see the point because only ports like 25 for
smtp, 110 for pop, 80 for http, etc... will be listening
and open for connections with or without a firewall.
Second, I would like to replace my Linux gateway running
Shorewall.  Shorewall is a nice package for managing the
netfilter firewall capabilities of the Linux kernel.
Is there something similar for FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


Re: Installing the JDK without Xorg

2005-01-29 Thread Ian Moore
On Sun, 30 Jan 2005 01:29, Pat Maddox wrote:
 Thanks for the help.  I got a suggestion on a forum to build it as a
 package...make MINIMAL=yes package  I haven't created a package from
 a port, so I'm not entirely sure what that'll do.  It installed Java
 fine and left me with a bzip2 file.  Does this mean I can just copy
 that file to any other machine I'm using and install Java as a
 package, so I don't have to wait the long time for it to build?  Or
 would it be better just to build it all on each machine anyway?

Yes, making a package means you can install that on other machines using 
pkg_add. This is a great idea, since you don't have to go through the agony 
of building the linux jdk again to bootstrap the compile on the other 
machine(s).
One caveat - if you have make options that optimise the build for a particular 
processor, you may run into trouble running it on other processors.

Cheers,
Ian


 On 29 Jan 2005 09:56:11 -0500, Lowell Gilbert

 [EMAIL PROTECTED] wrote:
  Pat Maddox [EMAIL PROTECTED] writes:
   I've installed the native jdk14 successfully, but noticed that it
   installed Xorg along with it.  I imagine that's a dependency for the
   Java plugin or something.  I'm using this machine just as a test
   server, I won't be using X at all, so I'd like to build jdk14 without
   having to build and install Xorg as well.  Is it possible to do that?
 
  The actual dependency in the jdk14 port seems to be Open Motif, and
  there are no knobs to turn it off.  I'm not sure why that is; you may
  need to talk to the port authors (or try changing it yourself) to
  understand why it's required.

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

-- 
Ian
GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpk7WwMg89iY.pgp
Description: PGP signature


Re: Installing the JDK without Xorg

2005-01-29 Thread Pat Maddox
I built it on an Athlon XP, couple years old, and I'm going to install
the jdk on a Barton machine.  So it should work if I install it as a
package...

On the other hand, it's a production server, so I imagine I should
probably just build it from scratch, just to be safe.


On Sun, 30 Jan 2005 09:08:47 +1030, Ian Moore [EMAIL PROTECTED] wrote:
 On Sun, 30 Jan 2005 01:29, Pat Maddox wrote:
  Thanks for the help.  I got a suggestion on a forum to build it as a
  package...make MINIMAL=yes package  I haven't created a package from
  a port, so I'm not entirely sure what that'll do.  It installed Java
  fine and left me with a bzip2 file.  Does this mean I can just copy
  that file to any other machine I'm using and install Java as a
  package, so I don't have to wait the long time for it to build?  Or
  would it be better just to build it all on each machine anyway?
 
 Yes, making a package means you can install that on other machines using
 pkg_add. This is a great idea, since you don't have to go through the agony
 of building the linux jdk again to bootstrap the compile on the other
 machine(s).
 One caveat - if you have make options that optimise the build for a particular
 processor, you may run into trouble running it on other processors.
 
 Cheers,
 Ian
 
 
  On 29 Jan 2005 09:56:11 -0500, Lowell Gilbert
 
  [EMAIL PROTECTED] wrote:
   Pat Maddox [EMAIL PROTECTED] writes:
I've installed the native jdk14 successfully, but noticed that it
installed Xorg along with it.  I imagine that's a dependency for the
Java plugin or something.  I'm using this machine just as a test
server, I won't be using X at all, so I'd like to build jdk14 without
having to build and install Xorg as well.  Is it possible to do that?
  
   The actual dependency in the jdk14 port seems to be Open Motif, and
   there are no knobs to turn it off.  I'm not sure why that is; you may
   need to talk to the port authors (or try changing it yourself) to
   understand why it's required.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 --
 Ian
 GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc
 
 

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


/var Full ?

2005-01-29 Thread GRF .
  I am running FBSD 5.2.1 and my /var partition is giving me cannot write 
to disk errors, disk is full.  I cleared out what I could and got it down to 
about 98% but I have some strange findings which I will show below.
[/var] df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   248M55M   173M24%/
devfs 1.0K   1.0K 0B   100%/dev
/dev/ad0s1e   248M38K   228M 0%/tmp
/dev/ad0s1f70G53G11G83%/usr
/dev/ad0s1d   248M   223M   4.5M98%/var

#cd /var
# du -hd1
2.0K./account
6.0K./at
16K./backups
4.0K./crash
390K./cron
5.8M./db
2.0K./empty
2.0K./heimdal
508K./log
1.9M./mail
4.0K./msgs
2.0K./preserve
40K./run
2.0K./rwho
66K./spool
1.3M./tmp
20K./yp
2.0K./games
1.0M./ftp
394K./usermin
2.0K./.snap
11M.
Now how can /var be 11Meg and also fill up 98% or 223 Meg at the same time?  
What is eating up my partition space?  Uptime is 149 days and I suppose I'm 
due for a reboot but I have others with processes going on the box and I 
hate to reboot.

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


Re: realplayer-10 on my FBSD-4.10

2005-01-29 Thread Gary Kline
On Sat, Jan 29, 2005 at 02:06:16AM -0800, Gary Kline wrote:
 
   A few days ago I got help from this list in getting an 
   update of realplayer-10 working on my laptop.  The laptop
   has v5.3.  Here I'm still using 4.10 and have run into
   new problems.   realplayer-8 worked fine, BTW.
 
   When I type %realplay, after a few seconds the following is
   printed to stdout:
 
 No fonts found; this probably means that the fontconfig
 library is not correctly configured. You may need to
 edit the fonts.conf configuration file. More information
 about fontconfig can be found in the fontconfig(3) manual
 page and on http://fontconfig.org
 
   I poked around, finally found that both fontconfig and
   linux-fontconfig were installed.  I found fonts.conf in
   /usr/X11R6/etc/fonts but don't understand what needs
   to be configured.  Anybody else know what I'm doing wrong?
 
   (/etc/libmap.conf looks okay, I have linux_base 8 and the
   linuxpluginwrapper installed.  I'm stumped.
 
===

sOrry to reply to my own post, but in doing a reinstall
of linux-realplayer I see some Gome hooks.  Is the
No fonts found err related to something-gnome that I'm
missng??

gary

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

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


Re: Installing the JDK without Xorg

2005-01-29 Thread Pat Maddox
On Sun, 30 Jan 2005 09:22:19 +1030, Ian Moore [EMAIL PROTECTED] wrote:
 On Sun, 30 Jan 2005 09:13, Pat Maddox wrote:
  I built it on an Athlon XP, couple years old, and I'm going to install
  the jdk on a Barton machine.  So it should work if I install it as a
  package...
 Pardon my ignorance, but what is a Barton machine? I've never heard of such
 a beast.
It's just a particular core for the Athlon. 
http://www.anandtech.com/cpuchipsets/showdoc.aspx?i=1783p=2


 
  On the other hand, it's a production server, so I imagine I should
  probably just build it from scratch, just to be safe.
 
 You can always try the package  see if it runs without errors.
It should work, they're both Athlons.  I just wonder if there'd be any
benefit at all to building it from scratch on the production machine. 
I'm not sure, really.  It's not a big deal for me to build it, time
isn't of the essence or anything.

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


Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

2005-01-29 Thread Matthias Buelow
John wrote:
what's the output of ulimit -d?
You must be using a csh-derivative.  It is a built-in for the Bourne-
shell family of shells.
the csh correspondent is limit.
it only affects the shell and its children (so put a setting in 
/etc/profile, /etc/csh.login, or configure the limit via /etc/login.conf 
if you want it to be global).

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


  1   2   >