Re: cvsup problems

2004-02-22 Thread Kris Kennaway
On Mon, Feb 23, 2004 at 12:42:13AM -0700, RYAN vAN GINNEKEN wrote:
> I just installed freebsd 4.9 is it the stable branch right now ??? I 
> have been tring to update everything useing cvsup and keep getting the 
> following error below is the important bits to my supfile
> 
> Release not specified for collection "cvsup7.FreeBSD.org"
> 
> # $FreeBSD: V21 /usr/local/etc/cvsup/sup-all ver 1.1 2003/11/17  rmvg
> #==
> # IMPORTANT: Change the next line to use one of the CVSup mirror sites
> # listed at http://www.freebsd.org/doc/handbook/mirrors.html.
> 
> #cvsup1.FreeBSD.org
> cvsup7.FreeBSD.org (maintainer John Polstra <[EMAIL PROTECTED]>), 
> Washington state

  ^ See above :-)

> #cvsup2.jp.FreeBSD.org (maintainer Masafumi NAKANE <[EMAIL PROTECTED]>)
> #cvsup.ca.FreeBSD.org


> #--
> # sources files
> #--
> src-usrsbin
> src-all

Also, the former is redundant.

Kris


pgp0.pgp
Description: PGP signature


cvsup problems

2004-02-22 Thread RYAN vAN GINNEKEN
I just installed freebsd 4.9 is it the stable branch right now ??? I 
have been tring to update everything useing cvsup and keep getting the 
following error below is the important bits to my supfile

Release not specified for collection "cvsup7.FreeBSD.org"

# $FreeBSD: V21 /usr/local/etc/cvsup/sup-all ver 1.1 2003/11/17  rmvg
#==
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
#cvsup1.FreeBSD.org
cvsup7.FreeBSD.org (maintainer John Polstra <[EMAIL PROTECTED]>), 
Washington state
#cvsup2.jp.FreeBSD.org (maintainer Masafumi NAKANE <[EMAIL PROTECTED]>)
#cvsup.ca.FreeBSD.org

###
#
# DANGER!  WARNING!  LOOK OUT!  VORSICHT!
#
# If you add any of the ports or doc collections to this file, be sure to
# specify them with a "tag" value set to ".", like this:
#
#   ports-all tag=.
#   doc-all tag=.
#
# If you leave out the "tag=." portion, CVSup will delete all of
# the files in your ports or doc tree.  That is because the ports and doc
# collections do not use the same tags as the main part of the FreeBSD
# source tree.
#
###
*default host=cvsup.ca.FreeBSD.org
*default prefix=/usr
# The following line is for 4-stable.
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
#--
# sources files
#--
src-usrsbin
src-all
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RAID (ccd/vinum) with 2 harddisks

2004-02-22 Thread Axel S. Gruner
Hi.

Greg 'groggy' Lehey wrote:
On Monday, 23 February 2004 at  8:27:33 +0100, Axel S. Gruner wrote:

Hi.

I want to use RAID on a IBM xSeries 345 with two harddisks.
So the problem is, i can not setup a RAID System via Installation of
FreeBSD (it will be 4.9 or maybe 5.2) and i do not have a System
harddisk so that i can use the other ones as a RAID System.
Is there a way to setup RAID (CCD otr Vinum) on a System with 2
harddisks (mirroring or stripping)?


Yes.  It's described in the man pages.
Oh boy, i need a real large cup of coffee, or some glasses.
Thanks Greg.
asg
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trend micro Virus wall

2004-02-22 Thread Winston Nolan
good morning Robert

i have the following error - and i hope that you will be able to give me
some advice.

./imssd: error while loading shared libraries: liblogshr.so.1: cannot open
shared object file: No such file or directory
i have checked that the file exists and is in the correct directory...
here is the following:

intranet# pwd
/usr/local/etc/trend/trend/imss/lib

-rwxr-   1 imss  imss   393839 Aug  6  2003 liblogshr.so
lrwxr-xr-x   1 root  imss   32 Feb 21 09:57 liblogshr.so.1 ->
/opt/trend/ims
s/lib/liblogshr.so

any advice?

thank you in advance!

Winston

- Original Message - 
From: "Robert Golovniov" <[EMAIL PROTECTED]>
To: "Winston Nolan" <[EMAIL PROTECTED]>
Sent: Friday, February 20, 2004 11:18 AM
Subject: Re: Trend micro Virus wall


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Thursday, February 19, 2004, 10:14:07 AM, Winston Nolan wrote:
>
> WN> I am trying to run Trend's virus wall on Freebsd, but Im not sure how
to do this.
> WN> They do not have a tarball for freebsd - but I was thinking running it
with linux compatability?
> WN> Is there anyone out there that has done this before?
> WN> If so please let me know how/
>
> Had  to change /bin/bash to /usr/local/bin/bash in some scripts before
> could  do  anything  with the files they provide. Then had to manually
> copy  some  of  the  tarred  files to their respective folders. Worked
> then,  but I did not have time to play with the preferences and so on.
> Moreover,  did not have success yet with configuring the Web-interface
> for the program.
>
> Please let me know, Winston, if you have more success than that. :-)
>
> - -- 
>  -=Robert & Beata Golovniov | Lviv, Ukraine=-
> ~~
> mailto:[EMAIL PROTECTED]&Body=Embedded%20key
> ~~
>"Raise your eyes high up and see. Who has created these things?"
> (Isaiah 40:26)
> -BEGIN PGP SIGNATURE-
> Comment: Using PGP/GnuPG for Internet privacy.
>
> iD8DBQFANdCdWh2fA2M/bQcRAlLLAJ9Z5EJH0Ak8SOEzzL7xjiYp72tMWwCgqKON
> oDl+DA5JAdteJwCZ46UZ8eI=
> =LTyn
> -END PGP SIGNATURE-

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


Re: RAID (ccd/vinum) with 2 harddisks

2004-02-22 Thread Greg 'groggy' Lehey
On Monday, 23 February 2004 at  8:27:33 +0100, Axel S. Gruner wrote:
> Hi.
>
> I want to use RAID on a IBM xSeries 345 with two harddisks.
> So the problem is, i can not setup a RAID System via Installation of
> FreeBSD (it will be 4.9 or maybe 5.2) and i do not have a System
> harddisk so that i can use the other ones as a RAID System.
> Is there a way to setup RAID (CCD otr Vinum) on a System with 2
> harddisks (mirroring or stripping)?

Yes.  It's described in the man pages.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


RAID (ccd/vinum) with 2 harddisks

2004-02-22 Thread Axel S. Gruner
Hi.

I want to use RAID on a IBM xSeries 345 with two harddisks.
So the problem is, i can not setup a RAID System via Installation of 
FreeBSD (it will be 4.9 or maybe 5.2) and i do not have a System 
harddisk so that i can use the other ones as a RAID System.
Is there a way to setup RAID (CCD otr Vinum) on a System with 2 
harddisks (mirroring or stripping)?

I would appreciate any suggestions.

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


Re: Kernel build problem after make world

2004-02-22 Thread Kent Stewart
On Sunday 22 February 2004 03:00 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> you are right, should have included the messages in my first mail.
> Sorry.
>
> I followed the procedure in the handbook,
> make buildworld; make buildkernel; make installkernel; reboot; make
> installworld
>
> Intermediate that left me with a new kernel in an old world, which
> worked like i supposed it would.
>
> Is it possible one of the kernel options caused the messages?
> It doesn't seem to me, everything compiled ok, it's the linking
> process complaining. Missing header files??

I had to look at my 5.2-current system. I was hopping your kernel config 
was a commented version of GENERIC. That makes it much easier to see 
errors. With what you have listed, we can't see anything to trigger our 
memory of setup options. I wasn't surprised to not see someone respond 
to your message. You made it really difficult :).

For starters, I think you need the following line
options SCHED_4BSD  #4BSD scheduler

There may be other errors but I didn't have time enough to look at the 
rest of your configuration.

Kent

>
> All my kernel options (see below) seem also in either GENERIC or
> NOTES.
>
> again any help appreciated.
>
> Frans Jaspers [EMAIL PROTECTED]
>
>
> In my make.conf are only perl things.
>
>
> Here's my uname -a
> FreeBSD desktop.localnetwork 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb
> 21 22:18:28 GMT 2004
> root@:/usr/obj/usr/src/sys/FJ_20040221_GENERIC  i386
>
> So that's the running new generic kernel.
>
>
> Here's the errors:
>
> $cd /usr/src
> $make buildkernel KERNCONF=FJ_20040221_01
> --
>
> >>> Kernel build for FJ_20040221_01 started on Sun Feb 22 22:16:49
> >>> GMT 2004
>
> --
> ===> FJ_20040221_01
>
> -- SNIP --
>
> linking kernel
> init_main.o: In function `proc0_init':
> init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
> init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
> init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
> init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
> kern_clock.o: In function `statclock':
>
> --- Many more -
>
> vm_pageout.o(.text+0x170c): undefined reference to `sched_nice'
> machdep.o: In function `cpu_idle':
> machdep.o(.text+0x151e): undefined reference to `sched_runnable'
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/FJ_20040221_01.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> Here's my config file,
>
> machine i386
> cpu I686_CPU
> ident   FJ_20040221_01
> maxusers0
>
>
> options INET
> options INET6
>
> options FFS
> options SOFTUPDATES
> options UFS_ACL
> options UFS_DIRHASH
> options MD_ROOT
> options NFSCLIENT
> options NFSSERVER
> options NFS_ROOT
> options MSDOSFS
> options CD9660
>
> options PROCFS
> options PSEUDOFS
>
> options COMPAT_43
> options COMPAT_FREEBSD4
>
> options KTRACE
>
> options SYSVSHM
> options SYSVMSG
> options SYSVSEM
>
> options _KPOSIX_PRIORITY_SCHEDULING
>
> options KBD_INSTALL_CDEV
>
> options INVARIANT_SUPPORT
>
> device  isa
> device  eisa
> device  pci
>
> device  pci
> device  fdc
> device  ata
> device  atadisk
> device  atapicd
> device  atapifd
> options ATA_STATIC_ID
> device  atkbdc
> device  atkbd
> device  psm
> device  vga
> device  splash
> device  sc
> device  agp
> device  npx
> device  pmtimer
> device  sio
> device  ppc
> device  ppbus
> device  lpt
> device  ppi
> device  miibus
> device  vr
> device  random
> device  loop
> device  ether
> device  ppp
> device  tun
> device  pty
> device  md
> device  gif
> device  faith
> device  uhci
> device  usb
> device  ugen


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Tools for build perls scripts

2004-02-22 Thread Vladimir Yourtaev
Hello all.

I need  tools, like Perl Builder or Komodo,
for development perl scripts under FreeBSD. 
Can you suggest such tools?
-- 

Vladimir Yourtaev <[EMAIL PROTECTED]>
ISD Configuration Management Team <[EMAIL PROTECTED]>

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


make installworld fails at kerberos5

2004-02-22 Thread Stheg Olloydson
Hello,

I'm just learning FreeBSD (Release 4.9). I installed
in January and everything seemed fine. On February 12,
I did a CVSup. buildworld, make and installkernel
produced no errors, but installworld fails, and I
can't figure out why. From my script output file:

===> kerberos5/lib/libvers
===> kerberos5/lib/libasn1
install -C -C -o root -9 wheel -m 444 libans1.a
/usr/lib
install -C -C -o root -9 wheel -m 444 libans1_p.a
/usr/lib
install -C -s -o root -9 whell -m 444 libans1.so.5
/usr/lib
ln -fs libans1.so.5 /usr/lib/libasn1.so
yacc -d
/usr/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1/parse.y
cp y.tab.c parse.c
cp:No such file or directory
*** Error code 1

Stop in /usr/src/kerberos5/lib/libasn1
*** Error code 1

The part I don't understand is that if I look in
/usr/src/kerberos5/lib/libasn1, I see the y.tab.c
created by installworld. I would appreciate any help.
I've been stuck for 10 days now.

Thanks,

Steve

 



__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel Compilation issues/5.2-CURRENT/AMD64

2004-02-22 Thread Jason Lixfeld
On Feb 23, 2004, at 12:38 AM, Peter Wemm wrote:

On Sunday 22 February 2004 08:29 pm, Jason Lixfeld wrote:
make buildkernel keeps failing here:

===> accf_data
cc -O -fPIC   -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include
Stop right here!  You've removed the 'makeoptions NO_MODULES=notyet'
from your config file.  Put it right back in there immediately.
*gulp* when I built my custom kernel, I looked in 
/usr/src/sys/conf/NOTES and /usr/src/sys/amd64/conf/NOTES and found 
nothing pertaining to the use of this makeoption.  I checked google, 
forums, lists, etc and found nothing specific on the use of this so I 
removed it.

Perhaps add a comment saying that you will have weird stuff happen if 
this is not here will help deter people from overzealously removing it, 
as I did.

Thanks!  I'll give it a shot and see what happens.

We don't support kld modules yet.  Your buildkernel is failing because
you're trying to do something that isn't possible with our  toolchain.
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel Compilation issues/5.2-CURRENT/AMD64

2004-02-22 Thread Peter Wemm
On Sunday 22 February 2004 08:29 pm, Jason Lixfeld wrote:
> make buildkernel keeps failing here:
>
> ===> accf_data
> cc -O -fPIC   -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include

Stop right here!  You've removed the 'makeoptions NO_MODULES=notyet'
from your config file.  Put it right back in there immediately.

We don't support kld modules yet.  Your buildkernel is failing because 
you're trying to do something that isn't possible with our  toolchain.
-- 
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I have a dream, of a help/manual/doc system, which is simple to use?

2004-02-22 Thread Malcolm Kay
On Sat, 21 Feb 2004 22:28, Niel wrote:
> Written 21st january 2004.
>
> I have a dream, of a help/manual/doc system, which is simple to use?
>
> I have a dream, of a help/manual/doc system, which is simple, and yet
> comprehensive to use.
>
> When I need help to some question, when using freebsd, I often get very
> confused, and cannot find out how to do it.
>
> Often I find some manual, but then pages and pages start scrolling past my
> eyes, and soon I am very confused, and my brain looses track of what it
> trying to do. Often there is some tecnical abbreviations mixed into the
> explanation, which we do not know at all, what is!
>
> There exist a very comprehensive documentation for freebsd, man, faq etc.
> So far, that is very good. Leave it as it is. That is okay for later
> reading.
>
> But what I am searching for, is very short manuals for every topic and
> program. How to install it, where the files are sitting, how to set-up.
> Just a very simple example, for just to get a basic program running. And
> also a very basic example for using the program, so you at least are
> getting it up and running. Then you can later experiment with more
> complicated items og the programs.
>
> I am also in search for a very big handbook, with cross reference word, for
> ALL words. So you can find out, where to look, every thinkable word you
> might meet, when installing and using freebsd.
>
> I am a newbee, and I cannot simply remember, where I last read -or found a
> subject. I mean, most endusers simply do not have such a glue brain, that
> they can remember. (Many times they simply tells themselves: "Let me stay
> with windows. That I am used to.)
>
> I have tried using linux red hat, caldera and suse, and I have now begun
> using FreeBSD, and I find it the best system so far, with the most easy
> help system. Nothing wrong with that.
>
> To sum up. Please simple manuals for all the some 6.000 programs, shell
> commands, etc, with lots of simple to understand examples, so one at least
> can get started.
>
> This is just a newbees hottest wish.
>
> Even Microsoft have not yet found out, how important above is. It is the
> alpha and omega, for using operating systems and programs, for ordinary
> people. ( I have even found the same problems in manuals for tv, video and
> so on. )
>
> I mean many people have difficulties just reading a simple explanation.
>
> It is okay, to make very sophisticated programs, but it is as important,
> that the enduser can find out, how to use it.
>
> And, please use simple English words. We enduser come from all parts of the
> world, and do not all have the English language as our native language. And
> please no humour! :-) If you live in Africa, you do not know American
> slang?
>
>
> Yes, I still have a dream .*smiling - positive*
>
> Regards,
>
> A freebsd "Grassroot", hoping to saw just a tiny seed in some smart
> programmers mind, so we can start begin really using UNIX type operating
> systems, instead og windows 98!   *serious - thinking - :-) *

I think you are looking for a computer that can read your mind.

In the meantime it is hard to imagine a help system that works better than the 
unix man pages. Admittedly there are some instances of missing man pages,
poorly written pages and pages not conforming to conventions -- but these
represent a very small fraction of the whole. Generally items can be found 
without too much irrelevant garbage to sift through as in Microsoft help systems.
(There is some very useful information hidden away in the Microsoft 
system but have not found out how to find it when it is required -- it only
ever pops up when looking for some totally unrelated information.)

As for the GNU info system, it is a little better the M$ but generally rather
cumbersome -- difficult to find the particular aspect you are looking for.
Better suited for tutorials than as a help reference.

Of course there are also things like KDE help, which states the obvious but in which 
you can't find the non-obvious because it is not there.

So rather than trying to invent a new approach with a new set of shortcomings
try enhancing the existing man pages by filling the gaps and rewriting where 
appropriate. I can appreciate validity of your remarks with respect to the impact
of American slang and humour on non-Americans. On the other hand it can be difficult
to distiguish between slang and idiomatic use of the language. I would prefer pages 
written in International English rather than American. But in regard to programming 
related pages I guess one has to admit that most programming languages are 
based on the American wriiten language rather than English.

For me the man pages make all other attempts at help systems look very Mickey Mouse
(with appologies to Disney).

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

Re: Rebooting problem

2004-02-22 Thread Stephen Liu

Version 5.2
new installation
On rebooting it hangs on
.
syncing disks, buffers remaining ... 5 5
done
Uptime: 45m45s
Shutting down ACPI
Rebooting...
Keyboard reset did not work, attempting CPU shutdown.
It hanged here and I have to make a 'hard reboot' by pressing 'reset' 
key

Kindly advise is it the size of SWAP insufficient?   If 'YES', kindly 
advise how to check it and increase its size.


I had this problem some time back with 5.0 on an older system of 
mine.  I was never able to resolve the problem, as it seemed to be a 
EIDE controller related problem.  I downgraded (to then) 4.7 and never 
had any problems after that.  Just today, however, as I was working on 
upgrading to 5.2 on the same system, the hard drive and the controller 
that had been problematic back then, failed.  I just put in a new hard 
drive and the system works fine (with a new install), so I am assuming 
it may have been an issue with both controller and disk.  I remember 
at the time there was information on the mailing list about their 
being problems with the EIDE controller I was using.  You might want 
to start by making sure that your controller hasn't caused anyone else 
problems (via checking the mailing list archives).  It might also be 
that your hard drive is slowly failing.  If it is a newer drive, I 
would imagine that less likely, though.  Someone else, here may have 
better advice, however, as I don't know too much about the drivers 
built in to the kernel for controllers.  As I said, my short-term 
solution was going back to a more stable version of FreeBSD...
Hi Steve,

Tks for your advice.

This PC is for test only.  The hard drive is a new ATA100 drive 
connected to a ATA Controller.  I have another hard drive, mounted on a 
mobile rack, of similar model running Gentoo on this PC.  It works 
without problem.  I think downgrading to older  version might solve this 
problem.  I will finish testing this version first and then changing to 
verison 4.9 later to continue testing FreeBSD.

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


Problem: Recent Wine won't load Win32 binaries

2004-02-22 Thread G.E. Rafe
Took a look this weekend at compiling the most recent
Wine snapshot (20040213) on our Toshiba Satellite Pro 6100
running 4.9-RELEASE.
Kernel compiled with USER_LDT, SYSVSHM, SYSVSEM, & SYSVMSG.

Previous snapshots ran OK here, but were "buggy".

After getting the binaries & libaries all installed,
attempting to run a "native" Win32 (Win2k) application
returned the message:

err:virtual:map_image FATAL: Need to relocate module from addr 100, but there are 
no relocation records
wine: could not load L"C:\\WINNT\\system32\notepad.exe" as Win32 binary

While attempting to run a "Setup.exe" from a mounted CDROM,
this different message:

err:virtual:map_image Standard load address for a Win32 program (0x0040) not 
available - security-patched kernel ?
wine: could not load L"D:\\Setup.exe" as Win32 binary

The bundled Wine "notepad" starts & runs OK (mostly).

Is it me, or is something up with Wine recently ?
In either case, is there a fix for this "cannot load" problem ?
--
Gary E. RAFE, Ph.D.
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Rebooting problem

2004-02-22 Thread Steven N. Fettig
Stephen Liu wrote:

 **

Hi all folks,

Version 5.2
new installation
On rebooting it hangs on
.
syncing disks, buffers remaining ... 5 5
done
Uptime: 45m45s
Shutting down ACPI
Rebooting...
Keyboard reset did not work, attempting CPU shutdown.
It hanged here and I have to make a 'hard reboot' by pressing 'reset' key

Kindly advise is it the size of SWAP insufficient?   If 'YES', kindly 
advise how to check it and increase its size.

TIA

B.R.
Stephen Liu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
I had this problem some time back with 5.0 on an older system of mine.  
I was never able to resolve the problem, as it seemed to be a EIDE 
controller related problem.  I downgraded (to then) 4.7 and never had 
any problems after that.  Just today, however, as I was working on 
upgrading to 5.2 on the same system, the hard drive and the controller 
that had been problematic back then, failed.  I just put in a new hard 
drive and the system works fine (with a new install), so I am assuming 
it may have been an issue with both controller and disk.  I remember at 
the time there was information on the mailing list about their being 
problems with the EIDE controller I was using.  You might want to start 
by making sure that your controller hasn't caused anyone else problems 
(via checking the mailing list archives).  It might also be that your 
hard drive is slowly failing.  If it is a newer drive, I would imagine 
that less likely, though.  Someone else, here may have better advice, 
however, as I don't know too much about the drivers built in to the 
kernel for controllers.  As I said, my short-term solution was going 
back to a more stable version of FreeBSD...

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


Re: Help with Vinum disk crash...

2004-02-22 Thread Greg 'groggy' Lehey
On Friday, 20 February 2004 at  9:22:21 +1100, Tony Frank wrote:
> Hi,
>
> On Thu, Feb 19, 2004 at 09:46:35AM +0100, Danny Carroll wrote:
>> Thanks for the information...  I really need the space now so I am going to wipe
>> it and start from scratch, although I am not sure if I will use vinum again.
>>
>> I guess my main concern is that when one of my disks crashed, the ufs filesystem
>> got corrupted and I really did not expect that to happen.
>>
>> It could be ignorance on my part, I dont know but perhaps someone can help me
>> understand how this could have happened?
>
> Filesystems can get corrupted if the system crashes and does not cleanly close the
> filesystem first.
> In your case I'm personally not too sure - some more questions perhaps can help.

The kind of corruption caused by an unclean shutdown is nothing like
this.

> - Were you using softupdates on the filesystem?

This shouldn't make any difference.

> - Did the system panic/reboot when the disk crashed without shutting down cleanly?
> - What version of FreeBSD are you / were you running?

>> Another thing, Greg, you mentioned that I should have a second plex if I wanted
>> to protect the data.  You mean like a mirror?  Surely 1 is enough when we are
>> talking raid-5?
>
> Raid-5 should still work if a single subdisk fails.
> In your original post you did not indicate if you were using raid5 setup.

Yes, he did:

V data  State: up   Plexes:   1 Size:320 GB  
P data.p0R5 State: degraded Subdisks: 4 Size:320 GB
S data.p0.s0State: stalePO:0  B Size:106 GB
S data.p0.s1State: up   PO: 3924 kB Size:106 GB
S data.p0.s2State: up   PO: 7848 kB Size:106 GB
S data.p0.s3State: up   PO:   11 MB Size:106 GB

The "R5" on the plex line indicates that it's RAID-5.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Kernel Compilation issues/5.2-CURRENT/AMD64

2004-02-22 Thread Jason Lixfeld
make buildkernel keeps failing here:

===> accf_data
cc -O -fPIC   -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include 
/usr/obj/usr/src/sys/ESHARA/opt_global.h -I. -I@ -I@/../include 
-finline-limit=8000 -fno-common  -I/usr/obj/usr/src/sys/ESHARA 
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx 
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -c /usr/src/sys/netinet/accf_data.c
cc1: sorry, unimplemented: code model kernel not supported in PIC mode
cc1: error: code model `kernel' not supported in the 64 bit mode
*** Error code 1

Stop in /usr/src/sys/modules/accf_data.
*** Error code 1
Stop in /usr/src/sys/modules.
*** Error code 1
Stop in /usr/obj/usr/src/sys/ESHARA.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

I added in CFLAGS= -O -fPIC to /etc/make.conf.

Here's the diff between my custom kernel and the plain vanilla GENERIC. 
 GENERIC compiles fine, but for some reason, there is something missing 
from mine that's in GENERIC that's causing it to fail but I have no 
idea what.  I thought I checked out NOTES pretty thoroughly but I guess 
not.

su-2.05b# diff ESHARA GENERIC
3c3,5
< ident ESHARA
---
> ident GENERIC
> makeoptions   DEBUG=-g# Build kernel with gdb(1) 
debug symbols
> makeoptions   NO_MODULES=not_yet
5a8
> options   INET6   # IPv6 communications protocols
7a11
> options   UFS_ACL # Support for access control 
lists
8a13,17
> 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   MSDOSFS # MSDOS Filesystem
9a19,20
> options   PROCFS  # Process filesystem (requires 
PSEUDOFS)
> options   PSEUDOFS# Pseudo-filesystem framework
11a23,24
> options   SCSI_DELAY=15000# Delay (in ms) before probing 
SCSI
> options   KTRACE  # ktrace(1) support
16a30,38
> options   AHC_REG_PRETTY_PRINT# Print register bitfields in 
debug
> options   AHD_REG_PRETTY_PRINT# Print register bitfields in 
debug
> options   PFIL_HOOKS  # pfil(9) framework
> options   DDB # Enable the kernel debugger
> options   INVARIANTS  # Enable calls of extra sanity 
checking
> options   INVARIANT_SUPPORT   # Extra sanity checks of 
internal structures, required by INVARIANTS
> options   WITNESS # Enable checks to detect 
deadlocks and cycles
> options   WITNESS_SKIPSPIN# Don't run witness on 
spinlocks for speed
> options   SMP # Symmetric MultiProcessor Kernel
21a44,45
> devicepcm
> devicefdc
25a50,51
> deviceatapifd # ATAPI floppy drives
> deviceatapist # ATAPI tape drives
26a53,83
> deviceahb # EISA AHA1742 family
> deviceahc # AHA2940 and onboard AIC7xxx 
devices
> deviceahd # AHA39320/29320 and onboard 
AIC79xx devices
> deviceamd # AMD 53C974 (Tekram DC-390(T))
> deviceisp # Qlogic family
> devicempt # LSI-Logic MPT-Fusion
> devicesym # NCR/Symbios Logic (newer 
chipsets + those of `ncr')
> devicetrm # Tekram DC395U/UW/F DC315U 
adapters
> deviceadv # Advansys SCSI adapters
> deviceadw # Advansys wide SCSI adapters
> deviceaha # Adaptec 154x SCSI adapters
> deviceaic # Adaptec 15[012]x SCSI 
adapters, AIC-6[23]60.
> devicebt  # Buslogic/Mylex MultiMaster 
SCSI adapters
> devicescbus   # SCSI bus (required for SCSI)
> devicech  # SCSI media changers
> deviceda  # Direct Access (disks)
> devicesa  # Sequential Access (tape etc)
> devicecd  # CD
> devicepass# Passthrough device (direct 
SCSI access)
> deviceses # SCSI Environmental Services 
(and SAF-TE)
> deviceamr # AMI MegaRAID
> deviceciss# Compaq Smart RAID 5*
> devicedpt # DPT Smartcache III, IV - See 
NOTES for options
> deviceiir # Intel Integrated RAID
> deviceips # IBM 

Re: Help with Vinum disk crash...

2004-02-22 Thread Greg 'groggy' Lehey
On Thursday, 19 February 2004 at  9:46:35 +0100, Danny Carroll wrote:
> Tony et al,..
>
> Thanks for the information...  I really need the space now so I am going to wipe
> it and start from scratch, although I am not sure if I will use vinum again.
>
> I guess my main concern is that when one of my disks crashed, the
> ufs filesystem got corrupted and I really did not expect that to
> happen.

It normally doesn't.  There's something else going on here.

> Another thing, Greg, you mentioned that I should have a second plex
> if I wanted to protect the data.  You mean like a mirror?  Surely 1
> is enough when we are talking raid-5?

Yes, sorry.  You need either RAID-5 or two plexes.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Help with Vinum disk crash...

2004-02-22 Thread Greg 'groggy' Lehey
On Thursday, 19 February 2004 at  1:04:29 +1100, Tony Frank wrote:
> Hi,
>
> On Wed, Feb 18, 2004 at 01:15:18PM +0100, Danny Carroll wrote:
>> Quoting Tony Frank <[EMAIL PROTECTED]>:
>
>>> So you have a subdisk down which means Vinum can still read from the plex
>>> but has to manually calculate the missing subdisk data.
>> But I assume it cant write till I replace it..
>
> I believe it should function for both read & write in degraded mode.
> Any reads will have to be rebuilt hence there will be a big hit in
> performance.

No, only reads of the missing disk need to be rebuilt.  There's a
detailed discussion of how RAID-5 works in degraded mode at
http://www.vinumvm.org/vinum/implementation.html .

>>> Another option would be to force the particular subdisk down and try the
>>> above steps again.
>> Something like:
>>
>> vinum down data.p0.s0 ???
>
> The command would be "vinum stop data.p0.s0"
> In my case I had to do "vinum stop -f data.p0.s0"

I'm not sure what would happen here, but it could be dangerous.  The
object is already inaccessible.  The different states are maintained
for two main reasons:

1.  It tells the user how they got like that.
2.  It tells Vinum whether the data on the object, if accessible, is
still up to date.  "Crashed" and "down" mean that the data is up
to date, so a 'start' can complete immediately.  "Obsolete" and
"stale" mean that the data is no longer up to date.

If you change the state of a subdisk from "stale" to "down" and then
issue a start command, Vinum  assumes that the object still contains
the correct data, so it sets it "up" with no change.  This will result
in severe data corruption of the kind that you're seeing.

> However this should not have any impact to your situation.  The
> volume is working at the Vinum level (although degraded) The problem
> here is that the data on the vinum volume appears to be somehow
> corrupt.

Correct.  I'm wondering if this happened as the result of something
else, possibly finger trouble.  The answer might be in the missing
information asked for at
http://www.vinumvm.org/vinum/how-to-debug.html.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Help with Vinum disk crash...

2004-02-22 Thread Greg 'groggy' Lehey
On Wednesday, 18 February 2004 at  9:34:29 +0100, Danny Carroll wrote:
> Quoting Greg 'groggy' Lehey <[EMAIL PROTECTED]>:
>> I answered an almost identical question yesterday: it depends on the
>> volume structure, which you haven't stated.  Look at
>> http://www.vinumvm.org/vinum/how-to-debug.html and supply in
>> particular the output of 'vinum list', unless the following applies:
>>
>> If this volume has only one plex, you're lost, unless you can bring up
>> the failed disk long enough to make a backup.
>
> Here is the output:
>
> 20 drives:

As Tony Frank points out, this is 16 too many.  But it shouldn't be
related to your problems.

I don't see the rest of the information I ask for.

> I am only interested in the big one (data) the others were just for
> experimentation  I thought since the plex was setup as raid5 it
> would be ok?

Should be.

> I have 4 106gb subdisks, and see 318Gb of data...  The 4th subdisk
> is becuase of the loss from Raid5 right?

This is the overhead for the RAID-5 parity.

> Did I set this up incorrectly?

Only as noted.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Rebooting problem

2004-02-22 Thread Stephen Liu
 **

Hi all folks,

Version 5.2
new installation
On rebooting it hangs on
.
syncing disks, buffers remaining ... 5 5
done
Uptime: 45m45s
Shutting down ACPI
Rebooting...
Keyboard reset did not work, attempting CPU shutdown.
It hanged here and I have to make a 'hard reboot' by pressing 'reset' key

Kindly advise is it the size of SWAP insufficient?   If 'YES', kindly 
advise how to check it and increase its size.

TIA

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


Re: ed4 on FreeBSD 5.2.1

2004-02-22 Thread Kevin D. Kinsey, DaleCo, S.P.
Banana Flex wrote:

hello!

i'm a new user of FreeBSD and i have a little problem:
i can not use my PCMCIA Ethernet card on FreeBSD 5.2.1 RC2 on an i386 
platform.

how do i install the ed4 driver? i think is the correct driver
because on FreeBSD 4.9 my PCMCIA Ethernet card was properly detected 
and on  FreeBSD 5.2.1 isn't not working :-(
can i install it from the 4.9 Release? how can i?

what is the good way to make it please?
thanks you very much
Banana

Are you sure it's an "ed4" driver?  Isn't
it just "ed"?
IIRC, "ed" requires "device miibus" in
your kernel config ... is it there?  (Note
that you didn't say *what* PCMCIA NIC
you have)
Does your 5.X system see any devices
in your PCMCIA slot?  Maybe you need
pccard or cardbus support ... (no expert
here ... my only laptop is in the junk pile
now ... I've never put FBSD on one ...yet!)
Kevin Kinsey
DaleCo S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail question...

2004-02-22 Thread Kevin D. Kinsey, DaleCo, S.P.
Xpression wrote:

Q:

Hi list, there is a package / tool to protect against spam ??? Thanks...

 



A:  A few ...

<[EMAIL PROTECTED]> [/usr/ports] [21:49]
#make search key=spam | grep port
Path:   /usr/ports/mail/adcomplain
Path:   /usr/ports/mail/bayespam
Path:   /usr/ports/mail/bogofilter
Path:   /usr/ports/mail/bogofilter-qdbm
Path:   /usr/ports/mail/bogofilter-tdb
Path:   /usr/ports/mail/dcc-dccd
Path:   /usr/ports/mail/dspam
Path:   /usr/ports/mail/filtermail
Path:   /usr/ports/mail/hashcash
Path:   /usr/ports/mail/junkfilter
Path:   /usr/ports/mail/mailscanner
Path:   /usr/ports/mail/mailscanner-devel
Path:   /usr/ports/mail/mimedefang
Path:   /usr/ports/mail/p5-Mail-Graph
Path:   /usr/ports/mail/p5-Mail-SpamAssassin
Path:   /usr/ports/mail/p5-Mail-SpamAssassin-snapshot
Path:   /usr/ports/mail/py-spambayes
Path:   /usr/ports/mail/pyzor
Path:   /usr/ports/mail/qconfirm
Path:   /usr/ports/mail/qsf
Path:   /usr/ports/mail/razor-agents
Path:   /usr/ports/mail/relaydb
Path:   /usr/ports/mail/sccmilter
Path:   /usr/ports/mail/smtp-vilter
Path:   /usr/ports/mail/spamass-milter
Path:   /usr/ports/mail/spambnc
Path:   /usr/ports/mail/spamd
Path:   /usr/ports/mail/spamguard
Path:   /usr/ports/mail/spamoracle
Path:   /usr/ports/mail/spamprobe
Path:   /usr/ports/mail/spamstats
Path:   /usr/ports/mail/tmda
Path:   /usr/ports/misc/spamcalc
Path:   /usr/ports/news/cleanfeed
Path:   /usr/ports/news/nntpcache
Path:   /usr/ports/security/amavisd-new
Path:   /usr/ports/sysutils/pipemeter
Path:   /usr/ports/www/p5-Apache-AntiSpam
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE

2004-02-22 Thread Stephen Liu
Mike Jeays wrote:

Version 5.2
new installation
- snip -
   

Create a file .xinitrc in the home directory, containing the single
line 'startkde &' (without the quotes).  Then try startx again.
Hi Mike,

Tks for your advice.

Sorry I forgot to mention in my previous posting;

1)
KDE could not start if editing /etc/ttys as;
.
ttyv8  "user/local/bin/xdm -nodaemon" xterm on secure
.
...
# startkde (on INIT 3/text mode)
...
Kpersonalizer: cannot connect to X server. 
(continue to run on screen)

I suspect whether it was caused by failure on login.  Because after 
booting, the 'Welcom to the XFree86 Project Inc' GUI login popup.  I can 
keyin either as 'root' or as 'username' but can't keyin password.  I 
just typed in password and hit  the GUI login screen popup again 
without mentioning anything.  The X window started with a small Xterm 
window appearing on the screen, mouse working but I could not type on 
it.  I tried many times without a solution.  If changing 'xdm' to 'kdm' 
on the abovementioned line 'ttyv8.', GUI login failed to start. 

# startx  (on INIT 3)

started 3 'Xterm windows'

2)
After starting 3 'Xterm windows' I can start KDE 3.1 from any one of the 
'Xterm window' with;

# startkde

It worked with KDE started.

3) On INIT 3/text mode I can login either as 'root' or as 'user' with 
correct password without problem

Kindly advise how to fix the problem.  TIA

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


Re: Fixing vinum after removing a HDD

2004-02-22 Thread Greg 'groggy' Lehey
On Wednesday, 11 February 2004 at 19:30:52 -0800, Micheas Herman wrote:
> On Wed, 2004-02-11 at 17:02, Greg 'groggy' Lehey wrote:
>> On Wednesday,  4 February 2004 at 19:52:03 +0100, Stijn Hoop wrote:
>>> On Wed, Feb 04, 2004 at 07:41:48PM +0100, [EMAIL PROTECTED] wrote:
 I'm running FreeBSD 4.8 on a system with 5 HDD's. ad0 is to be removed
 from the system. ad1, ad2 and ad3 contain my vinum drives. FreeBSD resides
 on the last disk (da0).

 Can anyone tell me if the following procedure is the right way to do it?
 1. physically remove ad0
 2. vinum resetconfig
 3. change drivenumbers in vinum.conf
 4. run vinum with the new configfile
>>>
>>> As far as my (limited) vinum knowledge goes, you really don't need to do a
>>> resetconfig.
>>
>> Correct.  From the man page:
>>
>>  resetconfig
>>  The resetconfig command completely obliterates the vinum configu-
>>  ration on a system.  Use this command only when you want to com-
>>  pletely delete the configuration.
>>
>> I'm completely baffled that people want to use this command so much.
>> The correct sequence is to remove the drive, replace it with something
>> else with a Vinum partition, and then start the defective objects.
>
> Just a guess (arm chair psychology of users), but I suspect it
> is because they are thinking that they need to "re-setup" their
> drive.
>
> Maybe deleteconfig would be a more self documenting flag.

Hmm, maybe.  I'll think about this.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Growfs Vinum on 5.2-RELEASE

2004-02-22 Thread Greg 'groggy' Lehey
On Monday, 23 February 2004 at 13:51:52 +1030, Michael Ritchie wrote:
> Greg 'groggy' Lehey wrote:
>> What file system?  UFS 1 or UFS 2?  growfs is suffering a bit from
>> lack of love at the moment.  It might be worth putting in a PR.
>
> Thanks for the response,
>
> File system UFS2 (with softupdates, if that matters?).

Not so much.  But growfs does have problems with UFS2.  That PR might
not be a bad idea.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Growfs Vinum on 5.2-RELEASE

2004-02-22 Thread Michael Ritchie
Greg 'groggy' Lehey wrote:
What file system?  UFS 1 or UFS 2?  growfs is suffering a bit from
lack of love at the moment.  It might be worth putting in a PR.
Thanks for the response,

File system UFS2 (with softupdates, if that matters?).

I've sort of worked around the issue at the moment (backed up, 
re-created the filesystem on vinum volume from scratch, and restored), 
but perhaps a PR would help others having the same problem.

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


Re: issue with building intltool-0.30

2004-02-22 Thread Kris Kennaway
On Sun, Feb 22, 2004 at 06:50:33PM -0800, bsd neophyte wrote:
> i was trying to make mozilla from the ports, when i noticed it was taking
> much longer than it should.  in this case it would be 2 days straight (while
> this machine isn't a newer machine, it's a 360mhz sparc64... it shouldn't be
> THIS slow).
>  
> i noticed what was happening was a constant looping of the following:

Verify that all dependencies are up-to-date, e.g. by cvsupping and using
portupgrade -R intltool.

Kris


pgp0.pgp
Description: PGP signature


issue with building intltool-0.30

2004-02-22 Thread bsd neophyte
i was trying to make mozilla from the ports, when i noticed it was taking
much longer than it should.  in this case it would be 2 days straight (while
this machine isn't a newer machine, it's a 360mhz sparc64... it shouldn't be
THIS slow).
 
i noticed what was happening was a constant looping of the following:
 
---
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /usr/local/bin/bash
/config.status
config.status: creating Makefile
cd . && /usr/ports/textproc/intltool/work/intltool-0.30/missing autoconf
WARNING: `autoconf' is missing on your system.  You should only need it if
 you modified `configure.ac'.  You might want to install the
 `Autoconf' and `GNU m4' packages.  Grab them from any GNU
 archive site.
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --libdir=/usr/local/libdata --prefix=/usr/local
--build=sparc64-portbld-freebsd5.2 build_alias=sparc64-portbld-freebsd5.2
--no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for perl... /usr/bin/perl
configure: creating ./config.status

 
i tried making it several times, but the same issue over and over.  i
independantly installed autoconf and m4 and tried to rebuild intltool
alone... but still the same issue.
 
anyone know what to do to sort out this problem?
 
-Sameer
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Growfs Vinum on 5.2-RELEASE

2004-02-22 Thread Greg 'groggy' Lehey
On Sunday,  8 February 2004 at 21:43:19 +1030, Michael Ritchie wrote:
> I have followed the method advocated by Drew Tomlinson on this list
> (October 2002) to create a Vinum volume without losing data.  Everything
> worked ok for the first drive... and then I added the second, and grew
> the file system using growfs ... and then added the third subdisk to the
> plex, and tried to growfs again, and got the following message:
>
> # growfs -N /dev/vinum/data
> new file systemsize is: 195366077 frags
> Warning: 157556 sector(s) cannot be allocated.
> growfs: 381497.4MB (781306752 sectors) block size 16384, fragment size 2048
>using 2076 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
>with soft updates
> super-block backups (for fsck -b #) at:
> ...
> growfs: bad inode number 1 to ginode
>
> ...
>
> I'm running 5.2-RELEASE, with kernel compiled from RELEASE source to
> include IPFW.  Fairly standard stuff.  Is something broken or am I
> doing something wrong??

Sorry about the late response; I appear to have overlooked this issue.

What file system?  UFS 1 or UFS 2?  growfs is suffering a bit from
lack of love at the moment.  It might be worth putting in a PR.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: glib problems..

2004-02-22 Thread Kris Kennaway
On Mon, Feb 23, 2004 at 01:30:05AM +0100, Hugo (6s-gaming.com) wrote:

> I initially added libstdc++ to the system via wget (googled it), because
> version 1.2 of Call of Duty server required it. I have another server on
> 4,8-STABLE, and I downloaded its libstdc++ (no problems compiling there)
> to this system, but the problem remains. Anyone ever ran into this
> problem?

You have damaged your system by doing this.  Reinstall it or recompile
it from source.

Kris


pgp0.pgp
Description: PGP signature


glib problems..

2004-02-22 Thread Hugo (6s-gaming.com)
Hi,

I have this problem on a 4.8-RELEASE-p13 server, whenever compiling
something related with glib:

(...)
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libgcc_s.so.1: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'


I initially added libstdc++ to the system via wget (googled it), because
version 1.2 of Call of Duty server required it. I have another server on
4,8-STABLE, and I downloaded its libstdc++ (no problems compiling there)
to this system, but the problem remains. Anyone ever ran into this
problem?

Kind regards,

Hugo
-- 
http://www.6s-gaming.com - your online store!

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


glib trouble

2004-02-22 Thread Hugo (6s-gaming.com)
i,

I have this problem on a 4.8-RELEASE-p13 server, whenever compiling
something related with glib:

(...)
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libgcc_s.so.1: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'
/usr/lib/libstdc++.so: undefined reference to [EMAIL PROTECTED]'


I initially added libstdc++ to the system via wget (googled it), because
version 1.2 of Call of Duty server required it. I have another server on
4,8-STABLE, and I downloaded its libstdc++ (no problems compiling there)
to this system, but the problem remains. Anyone ever ran into this
problem?

Kind regards,

Hugo
-- 


-- 
http://www.6s-gaming.com - your online store!

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


Re: Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)

2004-02-22 Thread Robert Storey
Yes, I too have encountered the geometry bug a number of times on
different machines, and for awhile it put me off to using FreeBSD. Then
I discovered that if you just hit "g" during the partitioning process,
it finds the correct geometry and you can continue with the
installation. At least, this has worked for me.

Nevertheless, I hope the bug will be fixed eventually. It certainly
scares away potential FBSD users.

regards,
Robert

On Sun, 22 Feb 2004 12:54:42 -0500
"David Markle" <[EMAIL PROTECTED]> wrote:

> Hello all,
>  
> I have a problem installing FreeBSD 5.2.1 onto a Seagate Barracuda
> ST3200822A - 200 GB ATA/100 Hard Drive.  Being a bit gun shy from a
> previous geometry problem mis-install where I almost lost some serious
> data, I am reluctant to just "try" things until they work.  So here
> goes...
>  
> Using the Seagate disk tool, I created a 120 GB NTFS partition and a
> 200 MB FAT16 partition.  Installed Windows XP on the 120 GB part.  I
> want to put FreeBSD on the remaining space (~80 GB).
>  
> The Seagate HD utility states the following:
>  
> LBA Sectors are 390,721,968.
> Standard 512 bytes per sector.
>  
> XBIOS Physical (and HD Spec Sheet from manufacture) (what BSD FDISK
> Sees too).
> C16383
> H16
> S63
>  
> BIOS 
> C24321
> H255
> S63
>  
> When the FreeBSD CD boots and enters sysinstall, I get the usual drive
> geometry error.  I've extensively searched google for some sort of
> method to calculate the true drive geometry with little success.  
>  
> 1. Is the above BIOS info correct ??  
> 2. Ultimately, do I want the drive geometry to match up with the LBA
> sectors ??
> 3. Can anyone point me towards something that correctly calculates any
> drive's TRUE geometry ??
>  
> Any help is greatly appreciated...
>  
> david markle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Disallowed attachment type found in sent message "something for you"

2004-02-22 Thread System Anti-Virus Administrator

Attention: [EMAIL PROTECTED]


A Disallowed attachment type was found in an Email message you sent. 
This Email scanner intercepted it and stopped the entire message
reaching its destination. 

The Disallowed attachment type was reported to be: 

COM files not allowed per Central Online security policy


Please contact your I.T support personnel with any queries regarding this 
policy.


Your message was sent with the following envelope:

MAIL FROM: [EMAIL PROTECTED]
RCPT TO:   [EMAIL PROTECTED] 

... and with the following headers:

---
MAILFROM: [EMAIL PROTECTED]
Received: from unknown (HELO central.net.id) (202.75.45.60)
  by mail.prime.central.net.id with SMTP; 23 Feb 2004 00:24:33 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: something for you
Date: Mon, 23 Feb 2004 08:27:17 +0800
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="50115704"


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


5.2 acpi hangs on PowerEdge 4350 usb controller - should I file an bug report?

2004-02-22 Thread Stephen Hoover
When installing FreeBSD 5.2, booting with acpi enabled, the system hangs
when it detects the server's usb controller. This server (PowerEdge 4350)
has an Intel 440GX chipset with a usb host controller, but it does not have
any usb ports.

If I disable acpi, I can install fine. After compiling a new kernel with all
usb support disabled, I can boot with acpi again.

Even Windows detects the controller with an error (cannot start device)

Should I fill out a bug report for this issue? Just wanted to check with the
gurus first.

Thanks!
Stephen Hoover
Dallas, Texas


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


Re: ssh no longer connecting automatically

2004-02-22 Thread Jonathon McKitrick
On Sun, Feb 22, 2004 at 10:47:13AM -0500, Lowell Gilbert wrote:
: Jonathon McKitrick <[EMAIL PROTECTED]> writes:
: 
: > Any idea why updating to 4.9 stable would give me this error?
: > I have to set it to protocol 1 and log in manually.  The auto login with the
: > id_rsa and authorized_keys doesn't seem to work anymore, but gives this
: > error:
: > 
: > neptune:~> ssh [EMAIL PROTECTED]
: > key_verify failed for server_host_key
: 
: Did the host key change?

Possibly, but if I delete my known_hosts won't it just ask me and then
re-add it to the list with the new key?

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: ISP dialing with callback

2004-02-22 Thread JJB
Try changing the following which you have
sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback auth cbcp E.164 6661313
 set cbcp 6661313

To this
sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback cbcp
 set cbcp 6661313

with 6661313 being the phone number and area code of the phone line
connected to the modem which is to answer the callback call.

You failed to say if you can hear your modem answer the incoming
call, you have to

Configure Modem to answer call using HAYES Commands

ALL external and internal PCI voice phone modems since they were
first developed, have been manufactured to comply to the Hayes
standard. When you turn on your modem or reset it, your modem loads
the 'active configuration profile' into non-volatile memory (NVRAM).
The active configuration profile is a group of configuration
settings, derived from the values of the modem's internal S
registers, that define how the modem will operate. The active
configuration profile can be either the factory-default, or one of
two user defined profiles. The first time your modem is turned on,
the factory-default profile is loaded into the 'active profile in
non-volatile memory (NVRAM). The factory-default profile is stored
in the modem's read-only-memory (ROM) and can not be changed. The
factory-default profile contains standard settings which allow the
majority of users to use their modem without every knowing about the
Hayes standard. Modems are not factory configured to answer incoming
calls by default, so you will have to manually create your own user
profile, enable auto answer on first ring, save it to one of the
user profiles in NVRAM, and tell the modem to use it on power up and
reset as the default profile.

Use 'tip' command to send Hayes commands to permanently configure
the modem to answer incoming calls.

Note: The Hayes modem commands are capital letters and the '0' is a
zero.

On the command line enter

tip comX where X is the com port your modem is on.
AT&F0load the factory default profile0 into current
profile.
ATS0=1   tell current profile to answer on first ring.
AT   Enter AT command 10 times to train modem to 115200 speed
AT&W0write current profile to saved user profile0.
AT&Y0tell modem to load user profile0 as default profile on
power up.

Use  keyboard ~ key followed by . key to exit tip command.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kyryll A
Mirnenko
Sent: Sunday, February 22, 2004 11:42 AM
To: [EMAIL PROTECTED]
Subject: ISP dialing with callback

  This topic seems to be an elder one, but nobody around couldn't
help
me. I need to setup ppp (user) to dial to my callback-ISP. Here're
useful info:

1). IPS uses PAP authentification.
2). Phone number negotiation is unsupported, I need to send it.

When using Windows ppp-dialer (really buggy), everything is OK, so
that's not ISP problem. Direct connection & authentification goes
right, but no incoming call after that. I browsed my logs & only
strange thing I found is there was no phone number I should send (at
least in the readable part, not in the packages sent). Here're my
configs (truncated with dummy logins & passwords :) - the provider
entry is "sitel":

[ /etc/ppp/ppp.conf ]

default:
 set log phase tun chat cbcp command pap
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cual0

 set speed 38400
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT"
 set timeout 180# 3 minute idle timer (the
default)
 enable dns # request DNS info (for
resolv.conf)
 enable vjcomp deflate deflate24 protocomp pred1
 accept vjcomp deflate deflate24 protocomp pred1
 set urgent udp +53

sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback auth cbcp E.164 6661313
 set cbcp 6661313

incoming:
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 set authname CALLER
 set authkey MYPASSWORD

[ /etc/ppp/ppp.secret ]

CALLER  MYPASSWORD  *   *   6661313

[ /etc/ttys ]

console noneunknown off secure
#
ttyv0   "/usr/libexec/getty Pc" cons25u on secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc" cons25u on  secure
ttyv2   "/usr/libexec/getty Pc" cons25u on  secure
ttyv3   "/usr/libexec/getty Pc" cons25u on  secure
ttyv4   "/usr/libexec/getty Pc" cons25u off secure
ttyv5   "/usr/libexec/getty Pc" cons25u off secure
ttyv6   "/usr/libexec/getty Pc" cons25u off secure
ttyv7   "/usr/libexec/getty Pc" cons25u off sec

mail question...

2004-02-22 Thread Xpression
Hi list, there is a package / tool to protect against spam ??? Thanks...

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


Re: Re: Kernel build problem after make world

2004-02-22 Thread fjaspers

Hi,
   
  
you are right, should have included the messages in my first mail. Sorry.
   
  
I followed the procedure in the handbook,
make buildworld; make buildkernel; make installkernel; reboot; make installworld
   
  
Intermediate that left me with a new kernel in an old world, which
worked like i supposed it would.
   
  
Is it possible one of the kernel options caused the messages?
It doesn't seem to me, everything compiled ok, it's the linking process
complaining. Missing header files??
   
  
All my kernel options (see below) seem also in either GENERIC or NOTES.
   
  
again any help appreciated.
   
  
Frans Jaspers [EMAIL PROTECTED]
   
  
   
  
In my make.conf are only perl things.
   
  
   
  
Here's my uname -a
FreeBSD desktop.localnetwork 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb 21 22:18:28 GMT 
2004 root@:/usr/obj/usr/src/sys/FJ_20040221_GENERIC  i386
   
  
So that's the running new generic kernel.
   
  
   
  
Here's the errors:
   
  
$cd /usr/src
$make buildkernel KERNCONF=FJ_20040221_01
--
>>> Kernel build for FJ_20040221_01 started on Sun Feb 22 22:16:49 GMT 2004
--
===> FJ_20040221_01
   
  
-- SNIP --
   
  
linking kernel
init_main.o: In function `proc0_init':
init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
kern_clock.o: In function `statclock':
   
  
--- Many more -
   
  
vm_pageout.o(.text+0x170c): undefined reference to `sched_nice'
machdep.o: In function `cpu_idle':
machdep.o(.text+0x151e): undefined reference to `sched_runnable'
*** Error code 1
   
  
Stop in /usr/obj/usr/src/sys/FJ_20040221_01.
*** Error code 1
   
  
Stop in /usr/src.
*** Error code 1
   
  
Stop in /usr/src.
   
  
   
  
Here's my config file,
  

RE: Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)

2004-02-22 Thread JJB
The bios disk geometry bug has been an 5.2 release show stopper bug
for a lone time. Looks like they still have not corrected it. You
should submit an problem report containing much of the data you have
in this post. The more people who report this bug the higher up in
the severity list it moves and the sooner it will get addressed.
Keep in mind that the 5.x series are developer version releases and
not intended for production use. 5.x version should only be
installed on test machines.  4.9 is the last stable release and the
one people should be using if they want an stable operating system.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David
Markle
Sent: Sunday, February 22, 2004 12:55 PM
To: [EMAIL PROTECTED]
Subject: Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)

Hello all,

I have a problem installing FreeBSD 5.2.1 onto a Seagate Barracuda
ST3200822A - 200 GB ATA/100 Hard Drive.  Being a bit gun shy from a
previous geometry problem mis-install where I almost lost some
serious
data, I am reluctant to just "try" things until they work.  So here
goes
...

Using the Seagate disk tool, I created a 120 GB NTFS partition and a
200
MB FAT16 partition.  Installed Windows XP on the 120 GB part.  I
want to
put FreeBSD on the remaining space (~80 GB).

The Seagate HD utility states the following:

LBA Sectors are 390,721,968.
Standard 512 bytes per sector.

XBIOS Physical (and HD Spec Sheet from manufacture) (what BSD FDISK
Sees
too).
C16383
H16
S63

BIOS
C24321
H255
S63

When the FreeBSD CD boots and enters sysinstall, I get the usual
drive
geometry error.  I've extensively searched google for some sort of
method to calculate the true drive geometry with little success.

1. Is the above BIOS info correct ??
2. Ultimately, do I want the drive geometry to match up with the LBA
sectors ??
3. Can anyone point me towards something that correctly calculates
any
drive's TRUE geometry ??

Any help is greatly appreciated...

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

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


Re: Is inetd a proxy server?

2004-02-22 Thread Marty Landman
At 05:41 PM 2/22/2004, Chris Pressey wrote:

Have you tried pressing the 'i' key when top is running?  It toggles the 
display of idle processes.  (getty is generally
idle.)  This can save a lot of screen real estate.
Thanks Chris, that's perfect. I gotta learn not to post before rereading 
the help page.

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SMP Top program

2004-02-22 Thread Tim Aslat
Hi All,

Just wondering if anyone can point me in the right direction here.  I'm
running a SMP system of dual Xeon CPU's with Htt and I'd like ot know if
there is a version of top which will show information for each CPU as
opposed to just the single set of data.

Is this even possible,, or am I barking up the wrong tree?

Regards

Tim

-- 
Tim Aslat <[EMAIL PROTECTED]>
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020M: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is inetd a proxy server?

2004-02-22 Thread Chris Pressey
On Sun, 22 Feb 2004 17:19:05 -0500
Marty Landman <[EMAIL PROTECTED]> wrote:

> My issue is one of UI, especially for "top". It would be nicer imo if
> those 1/2 doz getty processes were to display on one line somehow...
> maybe indicating the number running and a way for me to expand them if
> needed [which is essentially never which is my point]. So something
> like getty, necessary and there for the appropriate reason, i.e. it
> displays on "top" because it should, nonetheless is a light weight, in
> my case rarely used process that ends up consuming 1/3 or so of the
> screen real estate.

It shouldn't be too hard to modify top to collapse processes with the
same name into a single line.  Possibly more effort than it's worth for
what you want, though.  Have you tried pressing the 'i' key when top is
running?  It toggles the display of idle processes.  (getty is generally
idle.)  This can save a lot of screen real estate.

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


won't buildworld

2004-02-22 Thread Bernardo Marcelo Brummer
I'm trying to upgrade from 4.7 to 4.9 

I made cvsup (src-all), with no problems, then: cd /usr/src and:
make buildworld 

It runs for a while (about 10 -15 minutes) and stops (see message bellow) 

I already tried cvsup three more times but always with the same result. 

Any upgrading hints? 



===> share/info
cd /usr/src/share/info; /usr/obj/usr/src/make.i386/make buildincludes; 
/usr/obj/usr/src/make.i386/make installincludes
===> include
cd /usr/src/include; /usr/obj/usr/src/make.i386/make buildincludes; 
/usr/obj/usr/src/make.i386/make installincludes
creating osreldate.h from newvers.sh
make: no target to make.
*** Error code 2 

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

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

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

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

Stop in /usr/src. 

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


Re: Is inetd a proxy server?

2004-02-22 Thread Marty Landman
At 01:26 PM 2/22/2004, Matthew Seaman wrote:

getty(8) is pretty light weight, and it doesn't take much extra memory to 
run multiple copies of it.  It's also the case that while you may not need 
to log in via the console during normal usage, when you do need console 
access then you generally need it very badly.
Fine if fbsd wants a dozen copies running. In fact since I don't have X 
installed would just as soon have all 12 pf keys mapped to cli consoles for 
if/when am sitting at the console.

My issue is one of UI, especially for "top". It would be nicer imo if those 
1/2 doz getty processes were to display on one line somehow... maybe 
indicating the number running and a way for me to expand them if needed 
[which is essentially never which is my point]. So something like getty, 
necessary and there for the appropriate reason, i.e. it displays on "top" 
because it should, nonetheless is a light weight, in my case rarely used 
process that ends up consuming 1/3 or so of the screen real estate.

You can run apache 1.3.x through inetd -- see the 'ServerType' directive 
in httpd.conf:

http://httpd.apache.org/docs/mod/core.html#servertype

As it says in bright red letters: "Inetd mode is no longer recommended and 
does not always work properly. Avoid it if at all possible."
In that case...

ServerType no longer exists in apache 2.0.x.
Doesn't bother me, I migrated backwards to apache 1.3.x on 3/4 servers 
because it seems the more common version, at least for Unix. My windows 
gateway runs apache 2.0 because it's pretty much restricted to being a 
documentation repository for faqs, manuals, and the like.

I guess it's something I might try if I found out it was still in common 
and accepted commercial use, which from what you've said does not sound 
likely or at least wise.

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP access

2004-02-22 Thread Chuck Swiger
Marty Landman wrote:
At 05:04 PM 2/21/2004, Chuck Swiger wrote:
[ ... ]
% nmap -sP 22 192.168.0.0/24
I don't understand the man page though so assume it's me, not nmap.
Whoops, I switched from recommending using "-p 22" (to just scan the ssh port 
via TCP), to doing ICMP pinging, but I didn't make my suggestion correctly. 
:-)  Olaf provided a better explanation...

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


Re: Nvidia

2004-02-22 Thread Vulpes Velox
On Sun, 22 Feb 2004 18:29:15 +0100
Uwe Laverenz <[EMAIL PROTECTED]> wrote:

> Eduardo Fernandes wrote:
> 
> > how install nvidia drivers in freebsd 5.2?
> 
> AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last
> time I tried was 2 weeks ago with -CURRENT and it did not work. I
> switched back to RELENG_4.

Not sure about 5.2, but they work under 5.2.1rc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT: Longest uptime

2004-02-22 Thread Christian Kratzer
Hi,

On Sun, 22 Feb 2004, Daniela wrote:

> On Saturday 21 February 2004 20:47, Jamie wrote:
> >I'm curious as to what the longest uptimes are people have seen on
> > production servers. We've got a FreeBSD machine here with an uptime of 506
> > days. It is a file server and it also runs spamassassin for another
> > machine. Too bad we have to take it down to replace a motherboard tonight
> > with leaky caps. It would have been fun to see if it could have made it to
> > 999 or higher.
> >
> >I'm curious as to what the highest uptimes people have seen on their
> > servers. With times like that, you can't help but fall in love
> > with FreeBSD!!
>
> I have heard of a machine running FreeBSD 2.2 with 2300+ days uptime and still
> running.
> Mine has only reached 29 days so far, because I patch my system very often.

I just checked back and it's still up ...

--snipp--
[EMAIL PROTECTED]: {8} uname -a
FreeBSD hostname.domain 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Mon Feb  9 18:53:29 
CET 1998 [EMAIL PROTECTED]:/usr/src/sys/compile/XX  i386
[EMAIL PROTECTED]: {9} uptime
 9:44PM  up 2204 days,  2:38, 1 user, load averages: 0.48, 0.24, 0.10
[EMAIL PROTECTED]: {10} date
Sun Feb 22 21:45:29 CET 2004
[EMAIL PROTECTED]: {11}
--snipp--

hostnames and domains changed to protect the innocent.

Of course this does not make much sense and the customer in question
would be well advised with an update. Have been talking to them.

Our own production servers regularly reach 200 days and more. We update things
like ssh and openssl in place and only do full buildworld/installworld
upgrades perhaps once or twice a year. Lot's can be done while staying up.
Jails help a lot of course. Not having external users with shell access also
helps.

Greetings
Christian

-- 
Christian Kratzer   [EMAIL PROTECTED]
CK Software GmbHhttp://www.cksoft.de/
Phone: +49 7452 889 135 Fax: +49 7452 889 136
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: seeking shell scripting resources

2004-02-22 Thread mark rowlands

> 
> Haven't found much around at all on shell programming and 
> would like to start learning it. Any more resources would be 
> most welcome to find out about.
> 
then you haven't looked 

http://www.google.com/search?hl=en&lr=lang_en%7Clang_sv&ie=UTF-8&oe=UTF-
8&safe=off&q=unix+scripting&btnG=Google+Search&lr=lang_en%7Clang_sv

http://www.google.com/search?hl=en&lr=lang_en%7Clang_sv&ie=UTF-8&oe=UTF-
8&safe=off&q=bash+scripting&btnG=Google+Search&lr=lang_en%7Clang_sv

http://freshmeat.net/projects/advancedbashscriptingguide/

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


ed4 on FreeBSD 5.2.1

2004-02-22 Thread Banana Flex
hello!

i'm a new user of FreeBSD and i have a little problem:
i can not use my PCMCIA Ethernet card on FreeBSD 5.2.1 RC2 on an i386 
platform.

how do i install the ed4 driver? i think is the correct driver
because on FreeBSD 4.9 my PCMCIA Ethernet card was properly detected 
and on  FreeBSD 5.2.1 isn't not working :-(
can i install it from the 4.9 Release? how can i?

what is the good way to make it please?
thanks you very much
Banana

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


Re: zsh tutorial

2004-02-22 Thread Gabriel Striewe
On Sun, Feb 22, 2004 at 10:19:57AM -0800, Noah wrote:
> Hi again,
> 
> working on a few different things today.
> 
> is there a good URL for understand zsh out there.
> 
> I am trying to figure out the best and most practical way to setting up the
> .zsh configuration files.
> 
> thanks in advance,
> 
> Noah

A good starting point is http://zsh.sunsite.dk/

I personally recommend: "A User's Guide to the Z-Shell" by Peter
Stephenson, maybe expecially in your case:

http://zsh.sunsite.dk/Guide/zshguide02.html#l13

Besides that:

* "A workshop on Zsh"   by Larry P. Schrof

* "An Introduction  to the Z Shell" by Paul Falstad
   
* "Z-Shell Frequently-Asked Questions"

* Z Shell Manual

There is also a mailing list on zsh, accessible via
http://zsh.sunsite.dk/Arc/mlist.html 

Gabriel

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

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


Re: USB modem support?

2004-02-22 Thread Daniela
On Saturday 21 February 2004 10:11, Tony Frank wrote:
> Hi,
>
> On Sat, Feb 21, 2004 at 02:26:24AM +, Daniela wrote:
> > I'm having problems with an USB ADSL modem (Alcatel Speed Touch). It is
> > recognized at boot time, but when I try to connect, it tells me that the
> > modem is busy.
> > I symlinked /dev/cuaa3 to /dev/ugen1 (that's the device that showed up in
> > the boot messages) and directed the kppp utility to use /dev/cuaa3. I
> > entered all the information it asked me for, and then I got the error
> > message: Modem is busy. My ISP told me to f*** off and get Windoze.
> > Anything else is unsupported.
> >
> > Is it a hardware problem or a classical case of a dumb user?
> > I'm not unexperienced with Ethernet connections, and I have a great
> > knowledge of the TCP/IP standard, but I have never done anything with
> > modems, so I can't even imagine how this stuff works.
>
> Have you tried:
>
> FreeBSD Handbook:
> http://marvin.home.local/doc/en_US.ISO8859-1/books/handbook/pppoa.html

Thank you, that's great but the link above is broken.
Well, I installed that program and followed the instructions it gives me.
Now the tun0 interface is open, but it has no IP associated. I'm stuck here. 
Do I have to use the DHCP client? (Tried it, but it configures the tunnel 
from IP 0.0.0.0 to 255.255.255.255)
I have no clue what to do next.


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


Re: fully deinstall X

2004-02-22 Thread Kent Stewart
On Sunday 22 February 2004 10:17 am, Noah wrote:
> Hi,
>
> how can I fully deinstall X
> I will reinstall after I rebuild my machine with a 4.9-Stable system
>
> # !pkg [/usr/ports/net/cvsup-without-gui]
> pkg_info | grep XFree86
> XFree86-FontServer-4.2.0 XFree86-4 Font Server
> XFree86-Server-4.2.0_3 XFree86-4 X server and related programs
> XFree86-documents-4.2.0 XFree86-4 Document Files
> XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
> XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
> XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts
> XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
> XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
> XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
> imake-4.2.0_1   Imake and other utilities from XFree86
> imake-4.3.0 Imake and other utilities from XFree86
>
>

Do a search on XFree86 and use the dependancies to delete it. You can do 
this the "make search" way or you can use a tool called portsearch that 
is located in
/usr/ports/Tools/scripts/portsearch
I copied it to a convenient location and then aliased it as 
"alias search'portsearch -n $1'". Then if you search ^XFree86-4
you can see all of the dependancies. A number of ports are associated 
with XFree86 and have to be updated at the same time. All I see on a 
search for build-deps is freetype2 and imake but there have always been 
others. 

A portupgrade -Rrf XFree86 would rebuild all of the important ones, 
which includes all of the run-deps, and add any new ones that you need. 
It is handy to not be running X-Windows when you do this.

You can remove all of XFree86 by 
pkg_delete -f 'XFree86*' but you also need to delete both imake's. You 
really have to reinstall everything that uses XFree86-libraries because 
it is a static library and you have to build all of the ports that 
refer to it. To do that, you just add "-r" to the pkg_delete command. 
All you need at that point is the time it takes to do the new installs. 
To rebuild XFree86 and all of the ports that use it can take quite a 
bit of time.

Kent


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP access

2004-02-22 Thread Olaf Hoyer
On Sun, 22 Feb 2004, Marty Landman wrote:

> >Seems to be a bug with nmap V3.00 I use 3.50, and it works. Solution could
> >be an upgrade or exclusion of your own box from the scanning range.
>
> Could you explain how I can do either - or preferably both? My experience
> with ports btw is strictly limited to
>
> make build && make install

Well, you need to update your ports skeleton (anything under /usr/ports)
to an actual state.
Whether you use cvsup, to poll from a cvsup server near you the latest
updates, or you download a tarball from a ftp site near you.
This tarball is about a bit more than 20 MB, so beware with a slow line,
cvsup is normally preferred.

Then you install portupgrade from the ports, and after that you do
simply a: pkg_version -v  to get a list of ports that need updating,
then you simply do a: portupgrade  to have it updated...

For using cvsup, there is a great section in the handbook, and in the
archives there should be some looong threads about ist, so don't be
frightened, its easier than it sounds...

>
> So the arp cache doesn't have nodes on it which it hasn't had activity from
> for a time? This makes sense since I tend to work off my windows
> workstation which is also my gateway.

Yes.

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


Re: fully deinstall X

2004-02-22 Thread David Kanter
I would look at pkg_deinstall.

Noah wrote:
Hi,

how can I fully deinstall X 
I will reinstall after I rebuild my machine with a 4.9-Stable system

# !pkg [/usr/ports/net/cvsup-without-gui]
pkg_info | grep XFree86
XFree86-FontServer-4.2.0 XFree86-4 Font Server
XFree86-Server-4.2.0_3 XFree86-4 X server and related programs
XFree86-documents-4.2.0 XFree86-4 Document Files
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
imake-4.2.0_1   Imake and other utilities from XFree86
imake-4.3.0 Imake and other utilities from XFree86
Thanks in advance,

Noah

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


Re: DHCP access

2004-02-22 Thread Marty Landman
At 12:01 PM 2/22/2004, Olaf Hoyer wrote:

Well, what is formerly called a "Class C" network is now in the new 
CIDR-notation a "/24", meaning that there are 256 IP's in that network.
Thanks for explaining Olaf. Little by little the fog is clearing before my 
eyes, and things which are just words to me today will likely make real 
sense in a month or whatever it takes.

Seems to be a bug with nmap V3.00 I use 3.50, and it works. Solution could 
be an upgrade or exclusion of your own box from the scanning range.
Could you explain how I can do either - or preferably both? My experience 
with ports btw is strictly limited to

make build && make install

Ok, some basics beforehand:

anytime some hosts wants to contact another host, it yells with some 
broadcast on the local collision segment (arp-request) that the Station, 
which has IP-address a.b.c.d. sprays the answer (the MAC-Address on the 
other station) back throughout the segment. This answer is cached by the 
OS for a short time, that for future use no unnecessary lookups have to be 
made.
Ok.

This means, that, if you hook up a station to a LAN, which did not 
participiated in any of the LAN traffic, the arp cache on that station is 
of course empty.
So the arp cache doesn't have nodes on it which it hasn't had activity from 
for a time? This makes sense since I tend to work off my windows 
workstation which is also my gateway.

One way to fill it, is by simply pinging all other hosts on that segment.
Heh, heh. That's really how this started, except I found it to be too time 
consuming to do so.

Maybe I'm getting far afield though. I think what I'm looking to do now is 
schedule an exec through cron which will check for whatever ip's/hostnames 
are on my network. Sounds like upgrading nmap to 3.50 will do it.

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread Scott W
Marty Landman wrote:

I'm new to running my own unix systems and would like to start 
learning the ropes on shell scripting. I've looked at the handbook and 
a few other sources... maybe haven't looked closely enough.

Any recommendations on more involved manuals/explanations/examples of 
how shell scripts should be developed and used?

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

Hi Marty.  There are a few tutorials out there, but I haven't seen any 
really good or 'complete' ones online.  (There may be some, but from 
memory I don't remember finding any).

If you're going to use Bash, give the O'Reilly 'Learning the Bash Shell' 
book a shot.  Another one that does cover other shells is called either 
'Unix Shells' or 'Unix Scripting' (don't recall which and it's at 
work..), which was published 2003 IIRC.

Scott

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


Re: OT: Longest uptime

2004-02-22 Thread Jez Hancock
On Sun, Feb 22, 2004 at 12:28:40PM -0600, Tillman Hodgson wrote:
> On Sun, Feb 22, 2004 at 06:18:18PM +, Jez Hancock wrote:
> > On Sat, Feb 21, 2004 at 11:49:22PM -0400, Marc G. Fournier wrote:
> > > 
> > > Doesn't (or didn't?) Linux have a 'feature' that allowed ppl to save their
> > > uptimes through a reboot?  So, for instance, if it was a schedualed
> > > reboot, uptime still showed one continuous uptime?  I'd imagine that this
> > > would be saved through upgrades as well ...
> > 
> > There's a similar module for fbsd here:
> > 
> > http://garage.freebsd.pl
> > 
> > although the site appears to be down at this moment.
> 
> The irony is delicious ;-)
LOL :P

Actually that site had a module for modifying your uptime I think it was
rather than saving your old uptime.  


-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE

2004-02-22 Thread Matthew Seaman
On Sun, Feb 22, 2004 at 11:07:52AM -0600, Chris wrote:
> On Sunday 22 February 2004 10:33 am, Mike Jeays wrote:
> > On Sun, 22 Feb 2004 23:46:54 +0800
> 
> >
> > Create a file .xinitrc in the home directory, containing the single
> > line 'startkde &' (without the quotes).  Then try startx again.
> 
> 
> Kindly explain the difference between between the following in your .xinitrc 
> file.
> 
> exec startkde
> startkde &
> 

'exec startkde' replaces the .xinitrc process with the startkde process.

'startkde &' starts up a separate startkde process in the background
and then continues executing the .xinitrc process.  That may or may
not be a good thing -- if the .xinitrc process exits (or the stardkde
process that it morphs into in the first instance) then your session
will be deemed to have ended and you'll be dumped back at the shell
prompt.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: OT: Longest uptime

2004-02-22 Thread Tillman Hodgson
On Sun, Feb 22, 2004 at 06:18:18PM +, Jez Hancock wrote:
> On Sat, Feb 21, 2004 at 11:49:22PM -0400, Marc G. Fournier wrote:
> > 
> > Doesn't (or didn't?) Linux have a 'feature' that allowed ppl to save their
> > uptimes through a reboot?  So, for instance, if it was a schedualed
> > reboot, uptime still showed one continuous uptime?  I'd imagine that this
> > would be saved through upgrades as well ...
> 
> There's a similar module for fbsd here:
> 
> http://garage.freebsd.pl
> 
> although the site appears to be down at this moment.

The irony is delicious ;-)

-T


-- 
"Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defense against
complexity." -- David Gelernter, Machine Beauty: Elegance and the Heart of
Technology
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is inetd a proxy server?

2004-02-22 Thread Matthew Seaman
On Sun, Feb 22, 2004 at 11:58:10AM -0500, Marty Landman wrote:
> At 11:12 AM 2/22/2004, Matthew Seaman wrote:
> 
> >A proxy listens to all of your request, and then opens up a second 
> >connection to the real server (or another
> >proxy) for you and replays your request to it -- so all of the traffic is 
> >relayed through the proxy.
> 
> Newbie here Matthew. Could you please explain how a proxy differs from a 
> router? Or are they in many ways intersecting in their functionality? e.g. 
> I've got a class c network in my office and recently learned how to use 
> apache to reverse proxy a request so that http://my-ip-adr/fbsd becomes the 
> same as http://fbsd, where the latter is mapped to the ip addr for my fbsd 
> box on the lan by apache. (which btw is kind of cool)

Sure.  A router deals with network traffic at the IP level --
sometimes described as Layer 3 on the OSI 7 layer model.  In plain
English, the router doesn't care what's inside the packets: it just
looks at the IP numbers in the headers and relays the packets
appropriately.  A router will work for all sorts of traffic -- HTTP,
FTP, SSH, SMTP, whatever (unless you've deliberately added a packet
filter) -- unlike a proxy, which works at the protocol level: thus
you'll get an HTTP proxy or a FTP proxy or a SMTP relay or a DNS
recursive server -- the names vary, but they all do proxy service.
It's also common for proxies to cache previous traffic and reply out
of cache instead of going all the way back to the originating server,
but that's not a requirement.  Sometimes the software used to
implement a proxy is actually identical to the software you'ld use to
implement the originating server -- as commonly seen with most MTAs
and BIND and occasionally Apache HTTPD as you've done -- although
specialised proxying software is more generally used for HTTP and FTP
and the like.
 
> >The point of having inetd(8) is that it provides is a mechanism so that 
> >you don't have to have umpty-dozen different small servers running all of 
> >the time and taking up your process space.
> 
> I notice that mingetty runs ~ half a dozen instances on my box, waiting for 
> console users that will never come since as a rule I do everything thru ssh 
> on my windows workstation. And httpd, though I've cut the child process 
> spec down on the apache conf since it's not needed. Of course the saved 
> cycles aren't needed either in my current environment. :)

getty(8) is pretty light weight, and it doesn't take much extra memory
to run multiple copies of it.  It's also the case that while you may
not need to log in via the console during normal usage, when you do
need console access then you generally need it very badly.  
 
> Could httpd be set up to run via inetd instead of on its own? If so, is it 
> not typically done this way because it is usually the biggie app on 
> servers? Following that reasoning, if a server were primarily used for ftp 
> would it make sense to remove ftpd from inetd's conf file and instead start 
> it as a service, assuming that were possible?

You can run apache 1.3.x through inetd -- see the 'ServerType'
directive in httpd.conf:

http://httpd.apache.org/docs/mod/core.html#servertype

As it says in bright red letters: "Inetd mode is no longer recommended
and does not always work properly. Avoid it if at all possible."
ServerType no longer exists in apache 2.0.x.

If you are running a busy FTP site, then yes, running a standalone FTP
daemon would be a good idea.  However, the server side configuration
for most FTP daemons is a lot simpler than for Apache, so it's
feasible to run ftpd out of inetd for much higher traffic than it
would be for apache.  Another common server where there's an option of
running under inetd is Samba -- however I think the trend nowadays is
to assume that the Samba daemons will run standalone.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Fail to start KDE

2004-02-22 Thread Mike Jeays
On Sun, 22 Feb 2004 11:07:52 -0600
Chris <[EMAIL PROTECTED]> wrote:

> On Sunday 22 February 2004 10:33 am, Mike Jeays wrote:
> > On Sun, 22 Feb 2004 23:46:54 +0800
> 
> >
> > Create a file .xinitrc in the home directory, containing the single
> > line 'startkde &' (without the quotes).  Then try startx again.
> 
> 
> Kindly explain the difference between between the following in your .xinitrc 
> file.
> 
> exec startkde
> startkde &
> 
> -- 
> Best regards,
> Chris
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Not much in practice - I think they will both work.  Exec just says "call
this other script/command, and don't return to the calling script.

-- 
Personal : Mike.Jeays -at- rogers.com  Phone : 613-724-4510
Work : Mike.Jeays -at- statcan.ca  Phone : 613-951-9929 FAX 613-951-0395
Web page : http://members.rogers.com/mike.jeays
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


zsh tutorial

2004-02-22 Thread Noah
Hi again,

working on a few different things today.

is there a good URL for understand zsh out there.

I am trying to figure out the best and most practical way to setting up the
.zsh configuration files.

thanks in advance,

Noah

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


Re: OT: Longest uptime

2004-02-22 Thread Jez Hancock
On Sat, Feb 21, 2004 at 11:49:22PM -0400, Marc G. Fournier wrote:
> 
> Doesn't (or didn't?) Linux have a 'feature' that allowed ppl to save their
> uptimes through a reboot?  So, for instance, if it was a schedualed
> reboot, uptime still showed one continuous uptime?  I'd imagine that this
> would be saved through upgrades as well ...

There's a similar module for fbsd here:

http://garage.freebsd.pl

although the site appears to be down at this moment.


-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fully deinstall X

2004-02-22 Thread Noah
Hi,

how can I fully deinstall X 
I will reinstall after I rebuild my machine with a 4.9-Stable system

# !pkg [/usr/ports/net/cvsup-without-gui]
pkg_info | grep XFree86
XFree86-FontServer-4.2.0 XFree86-4 Font Server
XFree86-Server-4.2.0_3 XFree86-4 X server and related programs
XFree86-documents-4.2.0 XFree86-4 Document Files
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
imake-4.2.0_1   Imake and other utilities from XFree86
imake-4.3.0 Imake and other utilities from XFree86


Thanks in advance,

Noah


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


Re[2]: UNEXPECTED SOFTUPDATES INCONSISTENCY

2004-02-22 Thread Gabriel Ambuehl
Hello Heinrich,

Sunday, February 22, 2004, 5:00:27 PM, you wrote:
> Why that? I can imagine that i lose data in case of a power failure, but
> why in case of a crash?

Well I guess the card COULD still commit the data, however, who knows
if it actually does it?

> And why is write cache only dangerous with softupdates, as you wrote above?

IIRC softupdates relies on the assumption that when the softupdate
changes return, they really ARE on the disk. It's the same with most
RDBMS: because they go to great lengths to ensure the journal is in an
ok state they need to know for sure that the data they wrote to it
actually made it to disk.

> Since i found no word about disabling write cache in the FreeBSD
> handbook or in man tuning(7), i would really like to know, if this is
> just a rumour, or where does it come from?

I can't say for sure, but I have little confidence in write caching
anyhow. It changes semantics the system relies on, for one.




Best regards,
 Gabriel

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


Re: I have a dream, of a help/manual/doc system, which is simple to use?

2004-02-22 Thread Alex de Kruijff
On Sun, Feb 22, 2004 at 09:18:12AM -0600, David Fleck wrote:
> On Sun, 22 Feb 2004, Aaron Peterson wrote:
> > and of course the manual pages that install with each of the some 1
> > add on programs.  "man "
> 
> ...with *each* of them?  Ah, if only that were true..
> dcf>$ man aspell
> No manual entry for aspell

- All of the apps of the FreeBSD system have one or more man pages.

The FreeBSD can not be held responcible for missing man pages for thirth
partie software.

- Most apps out the port system have one or more pages.
- Some apps have there own websites with information. The URL is in the
  port directory; or in the google database.
- Some apps have documentation ins /usr/local/share/doc/

You'll have to make do with what you can find. That just the way it is,
sorry.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: UNEXPECTED SOFTUPDATES INCONSISTENCY

2004-02-22 Thread Gabriel Ambuehl
Hello Heinrich,

Sunday, February 22, 2004, 6:49:46 PM, you wrote:
> what you write does make sense, although i really can't understand why
> this important info is not in the FreeBSD documentation.
> I have disabled write cache, but i will keep softupdates disabled as
> well for now, and see how the system behaves.

I think it was in there. But maybe I'm mixing this with Lehey's excellent but
somewhat dated Complete FreeBSD. Anyway, I've been using softupdates
since they became avalaible and never had a single problem with them.

Can't exactly say the same about ata(4) though but Soren was always
very helpful when problems arised.


Best regards,
 Gabriel

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


Re: xsnow not building

2004-02-22 Thread Kent Stewart
On Sunday 22 February 2004 09:44 am, Noah wrote:
> O
>
> > You have a mixed combo. You have part of 3.3.6 installed and 4.2.
> > You need a clean XFree86-4 for anything to work. Do you have an
> > "XFREE86_VERSION" in your /etc/make.conf. I can't think of anyway
> > you would have both 3.3.6 and 4.2 installed unless you did.
> >
> > It also sounds like you might have an out of date port system. At
> > this point, you might as well upgrade to version XFree86-4.3.0. I
> > would think about getting a working 4.2 before updating. There are
> > some problems with make on the older systems. Port maintainers are
> > using new make options that don't work on the pre-4.9 systems.
> >
> > A current 4.9-stable will be different than what you are using now.
>
> thanks Kent,
>
> I understand what I need to do now.
> well my /usr/ports have teh 4.3.0 version now.  so I dont know how I
> can install 4.2 core distribution

hehehe - I didn't either but it happens :). I created an alias called 
pkgrep that does a "pkg_info | grep $1".  There are a number of things 
that are easier with an alias. You don't make as many typo's and wonder 
what happened.

You need to cvsup ports-all with a "tag=.". The easy way is to update 
your ports, run "portsdb -uU" to get a new set of indexs and get used 
to using portupgrade. It makes being consistant a lot easier :).

>
> also I am cvsup'ing the stable files every night.
>
> how can I guarantee that I am receiving the 4.9-stable files?
>
> this is the entry I am using:
>
> --- snip ---
> *default release=cvs tag=RELENG_4
> --- snip ---
>
> should that work - how can I verify that its the 4.9 kernel and
> system files I am receiving?

Ah, you can cvsup as many times as you want and nothing changes until 
you do a buildworld, build[install]kernel, reboot to single user mode 
and installworld. The exact sequence is always in 
your /usr/src/UPDATING. It sounds like you have most of the pieces but 
they just aren't quite connected.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)

2004-02-22 Thread David Markle
Hello all,
 
I have a problem installing FreeBSD 5.2.1 onto a Seagate Barracuda
ST3200822A - 200 GB ATA/100 Hard Drive.  Being a bit gun shy from a
previous geometry problem mis-install where I almost lost some serious
data, I am reluctant to just "try" things until they work.  So here goes
...
 
Using the Seagate disk tool, I created a 120 GB NTFS partition and a 200
MB FAT16 partition.  Installed Windows XP on the 120 GB part.  I want to
put FreeBSD on the remaining space (~80 GB).
 
The Seagate HD utility states the following:
 
LBA Sectors are 390,721,968.
Standard 512 bytes per sector.
 
XBIOS Physical (and HD Spec Sheet from manufacture) (what BSD FDISK Sees
too).
C16383
H16
S63
 
BIOS 
C24321
H255
S63
 
When the FreeBSD CD boots and enters sysinstall, I get the usual drive
geometry error.  I've extensively searched google for some sort of
method to calculate the true drive geometry with little success.  
 
1. Is the above BIOS info correct ??  
2. Ultimately, do I want the drive geometry to match up with the LBA
sectors ??
3. Can anyone point me towards something that correctly calculates any
drive's TRUE geometry ??
 
Any help is greatly appreciated...
 
david markle
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xsnow not building

2004-02-22 Thread Noah
O
> 
> You have a mixed combo. You have part of 3.3.6 installed and 4.2. 
> You need a clean XFree86-4 for anything to work. Do you have an 
> "XFREE86_VERSION" in your /etc/make.conf. I can't think of anyway 
> you would have both 3.3.6 and 4.2 installed unless you did.
> 
> It also sounds like you might have an out of date port system. At 
> this point, you might as well upgrade to version XFree86-4.3.0. I 
> would think about getting a working 4.2 before updating. There are 
> some problems with make on the older systems. Port maintainers are 
> using new make options that don't work on the pre-4.9 systems.
> 
> A current 4.9-stable will be different than what you are using now.



thanks Kent,

I understand what I need to do now. 
well my /usr/ports have teh 4.3.0 version now.  so I dont know how I can
install 4.2 core distribution

also I am cvsup'ing the stable files every night. 

how can I guarantee that I am receiving the 4.9-stable files?

this is the entry I am using:

--- snip ---
*default release=cvs tag=RELENG_4
--- snip ---

should that work - how can I verify that its the 4.9 kernel and system files I
am receiving?

thanks in advance,

- Noah


> 

> Kent
> 
> -- 
> Kent Stewart
> Richland, WA
> 
> http://users.owt.com/kstewart/index.html
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: Nvidia

2004-02-22 Thread Harald Schmalzbauer
Am Sonntag, 22. Februar 2004 18:29 schrieb Uwe Laverenz:
> Eduardo Fernandes wrote:
> > how install nvidia drivers in freebsd 5.2?
>
> AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time
> I tried was 2 weeks ago with -CURRENT and it did not work. I switched
> back to RELENG_4.

They are working like a charm for 5.2 and even for -current.
They just don't work with the new libptherad (aka libkse) but there's a note 
in UPDATING what to do if one likes to use the nvidia driver with recent 
-current.

-Harry

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


pgp0.pgp
Description: signature


Re: Nvidia

2004-02-22 Thread Antoine Jacoutot
On Sunday 22 February 2004 18:29, Uwe Laverenz wrote:
> AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time
> I tried was 2 weeks ago with -CURRENT and it did not work. I switched
> back to RELENG_4.

Well... it works great under 5.2.

$ cd /usr/ports/x11/nvidia-driver
$ make install clean

$ uname -a
FreeBSD bsdbox.lphp.local 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb 21 21:13:50 
CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BSDBOX  i386

$ kldstat
Id Refs AddressSize Name
 15 0xc040 41f5dc   kernel
 21 0xc082 1ac8a4   nvidia.ko
 31 0xc09cd000 51b48acpi.ko

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


Re: xsnow not building

2004-02-22 Thread Kent Stewart
On Sunday 22 February 2004 09:16 am, Noah wrote:
> FreeBSD 4.8-stable
>
> still getting used to installing X applications here:
>
> xsnow is not building from /usr/ports
>
>
> # make install clean   [/usr/ports/x11/xsnow]
> ===>  Vulnerability check disabled
>
> >> xsnow-1.42.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> >> Attempting to fetch from http://www.euronet.nl/~rja/Xsnow/.
>
> Receiving xsnow-1.42.tar.gz (56752 bytes): 100%
> 56752 bytes transferred in 19.6 seconds (2.83 kBps)
> ===>  Extracting for xsnow-1.42
>
> >> Checksum OK for xsnow-1.42.tar.gz.
>
> ===>  Patching for xsnow-1.42
> ===>   xsnow-1.42 depends on file: /usr/X11R6/lib/X11/config/date.def
> - found ===>   xsnow-1.42 depends on shared library: X11.6 - found
> ===>  Configuring for xsnow-1.42
> env: xmkmf: No such file or directory
> *** Error code 127
>
>
> --- snip ---
>
> % pkg_info | grep XFree86   [~]
> XFree86-3.3.6_11X11R6.3/XFree86 core distribution
> XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
> XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
> XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts
> XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
> XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
> XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
> imake-4.2.0_1   Imake and other utilities from XFree86
> imake-4.3.0 Imake and other utilities from XFree86
>
> --- snip ---
>
> any clues here?

You have a mixed combo. You have part of 3.3.6 installed and 4.2. You 
need a clean XFree86-4 for anything to work. Do you have an 
"XFREE86_VERSION" in your /etc/make.conf. I can't think of anyway you 
would have both 3.3.6 and 4.2 installed unless you did.

It also sounds like you might have an out of date port system. At this 
point, you might as well upgrade to version XFree86-4.3.0. I would 
think about getting a working 4.2 before updating. There are some 
problems with make on the older systems. Port maintainers are using new 
make options that don't work on the pre-4.9 systems. 

A current 4.9-stable will be different than what you are using now.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nvidia

2004-02-22 Thread Uwe Laverenz
Eduardo Fernandes wrote:

how install nvidia drivers in freebsd 5.2?
AFAIK the nvidia drivers don't work with FreeBSD 5.2 anymore. Last time 
I tried was 2 weeks ago with -CURRENT and it did not work. I switched 
back to RELENG_4.

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


gnome2 install failed

2004-02-22 Thread Noah
Hi,

I am attempting to install gnome2 

any clues what I am missing here.  why is pkg-config so old? how do I update it?


checking for pkg-config... /usr/local/bin/pkg-config
configure: error: *** pkg-config too old; version 0.14 or better required.
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/devel/glib20/work/glib-2.2.3/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/devel/libgtop2.
*** Error code 1

Stop in /usr/ports/x11/gnomeapplets2.
*** Error code 1

Stop in /usr/ports/x11/gnome2.



- Noah

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


Re: Clarification needed on Handbook: Tracking for Multiple Machines

2004-02-22 Thread D J Hawkey Jr
OK, I've cross-posted this message to -hackers, to see if we can get
some sort of definitive [to me] answer. Please forgive if it's considered
bad form.

-hackers: There is a thread in -questions in response to my query as
to building the world and kernels for a variety of Intel CPUs on one
machine. For brevity's sake, I won't reproduce the entire thread here.

OK, I guess my question boils down to these, then:

True or False: Setting CPUTYPE to the lowest target CPU ("p2") in
a build machine's make.conf will cripple the performance of target
machines with higher CPUs ("p3", "p4", "i586", "i686", etc.).

If "True", for optimized code across all machines, the code should
just be built on each machine, right?

Thanks,
Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/

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


xsnow not building

2004-02-22 Thread Noah

FreeBSD 4.8-stable

still getting used to installing X applications here:

xsnow is not building from /usr/ports


# make install clean   [/usr/ports/x11/xsnow]
===>  Vulnerability check disabled
>> xsnow-1.42.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://www.euronet.nl/~rja/Xsnow/.
Receiving xsnow-1.42.tar.gz (56752 bytes): 100%
56752 bytes transferred in 19.6 seconds (2.83 kBps)
===>  Extracting for xsnow-1.42
>> Checksum OK for xsnow-1.42.tar.gz.
===>  Patching for xsnow-1.42
===>   xsnow-1.42 depends on file: /usr/X11R6/lib/X11/config/date.def - found
===>   xsnow-1.42 depends on shared library: X11.6 - found
===>  Configuring for xsnow-1.42
env: xmkmf: No such file or directory
*** Error code 127


--- snip ---

% pkg_info | grep XFree86   [~]
XFree86-3.3.6_11X11R6.3/XFree86 core distribution
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
imake-4.2.0_1   Imake and other utilities from XFree86
imake-4.3.0 Imake and other utilities from XFree86

--- snip ---

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


Re: Kernel build problem after make world

2004-02-22 Thread Kent Stewart
On Sunday 22 February 2004 04:28 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I upgraded my system from RELEASE 5.0 to RELENG_5_2.
> Used cvsup to get the sources, made buildworld; made a generic
> kernel; installed world. Everything went well, i was able to boot
> into multi-user mode.
>
> BUT now i would like build a custom kernel. This doesnt work anymore.
> I tried it both ways. (make builkernel KERNCONF=MYKERNEL,
> or config MYKERNEL, make depend; make;)
>
> The kernel sources seem to compile, but when the linker starts my
> screen is flooded with unknown "Unknown referernces errors"
>
> Would anybody known what causes this?
> Should there be some magic new entry in /etc/make.conf?
>

For starters, I think we would need to see the messages. What has me 
concerned is whether you installed your kernel before you did the 
installworld. Version 5.2 has a different statfs, which needs the new 
kernel to run. An old world and a new kernel was fine but an old kernel 
and a new world was a show stopper. You had to use the fixit disk to 
recover your system. 

There are different options in the config file for 5.2 and you would 
need to start with a new GENERIC to create your MYKERNEL. Beyond that, 
I don't have any ideas at this point.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE

2004-02-22 Thread Chris
On Sunday 22 February 2004 10:33 am, Mike Jeays wrote:
> On Sun, 22 Feb 2004 23:46:54 +0800

>
> Create a file .xinitrc in the home directory, containing the single
> line 'startkde &' (without the quotes).  Then try startx again.


Kindly explain the difference between between the following in your .xinitrc 
file.

exec startkde
startkde &

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


Re: DHCP access

2004-02-22 Thread Olaf Hoyer
On Sun, 22 Feb 2004, Marty Landman wrote:

> At 09:42 AM 2/22/2004, Olaf Hoyer wrote:
>
> >The syntax to ping a whole /24 segment would be:
>
> Hi Olaf. Could you please explain what is meant by '/24 segment'? I'm new
> to networking as you can see!


Hi!

Well, what is formerly called a "Class C" network is now in the new
CIDR-notation a "/24", meaning that there are 256 IP's in that network.

A class A is a /8, a class B a /16.

Yes, there are some subtle differencies about how a router addresses
this, but for size they are the same.
>
> # nmap -sP 192.168.0.0/24
>
> Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
> sendto in send_ip_raw: sendto(4, packet, 28, 0, 192.168.0.8, 16) => Can't
> assign requested address
> Sleeping 60 seconds then retrying

Seems to be a bug with nmap V3.00
I use 3.50, and it works. Solution could be an upgrade or exclusion of
your own box from the scanning range.

> >after this you will also have some output from the arp -a command,
> >because the arp cache has to be filled somehow.
>
> swamisalami# arp -a
> ? (192.168.0.0) at ff:ff:ff:ff:ff:ff on ep0 permanent [ethernet]
> delliver (192.168.0.1) at 00:08:74:c0:5e:69 on ep0 [ethernet]
> woody (192.168.0.3) at 00:a0:cc:40:3e:9b on ep0 [ethernet]
> swamisalami (192.168.0.7) at 00:20:af:4d:24:b7 on ep0 permanent [ethernet]
> ? (192.168.0.8) at (incomplete) on ep0 [ethernet]
> penguin (192.168.0.160) at 00:a0:24:75:04:49 on ep0 [ethernet]
> eileen (192.168.0.240) at 00:a0:cc:40:55:cf on ep0 [ethernet]
> ? (192.168.0.255) at ff:ff:ff:ff:ff:ff on ep0 permanent [ethernet]
> swamisalami#
>
> Ok, not sure why the output was broken up into two portions but it has now
> captured all the nodes on my box. Furthermore a subsequent arp -a gives a
> more usable output e.g.

snip

>
> Did you mean then that I should run the nmap followed by the arp -a to get
> a look at all nodes on my class c network? In this case it seems the only
> thing needed for me to put this into a shell script is a way to not have to
> manually interrupt the nmap which seemed to want to keep trying, after
> sleeping for progressively longer periods of time. Unless there is a glitch
> to be worked around somehow on 192.168.0.8 (never in use on my network
> afaik) and that what happened here was not typical behavior.

Ok, some basics beforehand:

anytime some hosts wants to contact another host, it yells with some
broadcast on the local collision segment (arp-request) that the Station,
which has IP-address a.b.c.d. sprays the answer (the MAC-Address on
the other station) back throughout the segment.
This answer is cached by the OS for a short time, that for future use no
unnecessary lookups have to be made.

This means, that, if you hook up a station to a LAN, which did not
participiated in any of the LAN traffic, the arp cache on that station
is of course empty.

One way to fill it, is by simply pinging all other hosts on that
segment.

like:

#!/bin/sh
ping 192.168.0.1
ping 192.168.0.2
.
.
.
ping 192.168.0.254

nmap -sP does exactly the same above, but with less typing effort ;-)


For each station that is up and running, you get a MAC address back, and
therefore the arp cache is populated.

> It would be a nice utility for me to have and perhaps run off cron - i.e.
> to test each connection on my network and report back so I know on a steady
> basis that everything's up and running (or at least reachable).

Yes, would be practicable. You should consider updating nmap, though...

HTH
Olaf


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


Re: Is inetd a proxy server?

2004-02-22 Thread Marty Landman
At 11:12 AM 2/22/2004, Matthew Seaman wrote:

A proxy listens to all of your request, and then opens up a second 
connection to the real server (or another
proxy) for you and replays your request to it -- so all of the traffic is 
relayed through the proxy.
Newbie here Matthew. Could you please explain how a proxy differs from a 
router? Or are they in many ways intersecting in their functionality? e.g. 
I've got a class c network in my office and recently learned how to use 
apache to reverse proxy a request so that http://my-ip-adr/fbsd becomes the 
same as http://fbsd, where the latter is mapped to the ip addr for my fbsd 
box on the lan by apache. (which btw is kind of cool)

The point of having inetd(8) is that it provides is a mechanism so that 
you don't have to have umpty-dozen different small servers running all of 
the time and taking up your process space.
I notice that mingetty runs ~ half a dozen instances on my box, waiting for 
console users that will never come since as a rule I do everything thru ssh 
on my windows workstation. And httpd, though I've cut the child process 
spec down on the apache conf since it's not needed. Of course the saved 
cycles aren't needed either in my current environment. :)

Could httpd be set up to run via inetd instead of on its own? If so, is it 
not typically done this way because it is usually the biggie app on 
servers? Following that reasoning, if a server were primarily used for ftp 
would it make sense to remove ftpd from inetd's conf file and instead start 
it as a service, assuming that were possible?

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UNEXPECTED SOFTUPDATES INCONSISTENCY

2004-02-22 Thread Heinrich Rebehn
Gabriel Ambuehl wrote:
Hello Heinrich,

Sunday, February 22, 2004, 5:00:27 PM, you wrote:

Why that? I can imagine that i lose data in case of a power failure, but
why in case of a crash?


Well I guess the card COULD still commit the data, however, who knows
if it actually does it?

And why is write cache only dangerous with softupdates, as you wrote above?


IIRC softupdates relies on the assumption that when the softupdate
changes return, they really ARE on the disk. It's the same with most
RDBMS: because they go to great lengths to ensure the journal is in an
ok state they need to know for sure that the data they wrote to it
actually made it to disk.

Since i found no word about disabling write cache in the FreeBSD
handbook or in man tuning(7), i would really like to know, if this is
just a rumour, or where does it come from?


I can't say for sure, but I have little confidence in write caching
anyhow. It changes semantics the system relies on, for one.


Best regards,
 Gabriel
Gabriel,
what you write does make sense, although i really can't understand why 
this important info is not in the FreeBSD documentation.
I have disabled write cache, but i will keep softupdates disabled as 
well for now, and see how the system behaves.

Thanks for your help,

	Heinrich

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


ISP dialing with callback

2004-02-22 Thread Kyryll A Mirnenko
  This topic seems to be an elder one, but nobody around couldn't help
me. I need to setup ppp (user) to dial to my callback-ISP. Here're
useful info:

1). IPS uses PAP authentification.
2). Phone number negotiation is unsupported, I need to send it.

When using Windows ppp-dialer (really buggy), everything is OK, so
that's not ISP problem. Direct connection & authentification goes
right, but no incoming call after that. I browsed my logs & only
strange thing I found is there was no phone number I should send (at
least in the readable part, not in the packages sent). Here're my
configs (truncated with dummy logins & passwords :) - the provider
entry is "sitel":

[ /etc/ppp/ppp.conf ]

default:
 set log phase tun chat cbcp command pap
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cual0

 set speed 38400
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT"
 set timeout 180# 3 minute idle timer (the default)
 enable dns # request DNS info (for resolv.conf)
 enable vjcomp deflate deflate24 protocomp pred1
 accept vjcomp deflate deflate24 protocomp pred1
 set urgent udp +53

sitel:
 set phone 2053203
 set authname CALLER
 set authkey MYPASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 add default HISADDR
 set callback auth cbcp E.164 6661313
 set cbcp 6661313
 
incoming:
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255
 set authname CALLER
 set authkey MYPASSWORD

[ /etc/ppp/ppp.secret ]

CALLER  MYPASSWORD  *   *   6661313

[ /etc/ttys ]

console noneunknown off secure
#
ttyv0   "/usr/libexec/getty Pc" cons25u on secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc" cons25u on  secure
ttyv2   "/usr/libexec/getty Pc" cons25u on  secure
ttyv3   "/usr/libexec/getty Pc" cons25u on  secure
ttyv4   "/usr/libexec/getty Pc" cons25u off secure
ttyv5   "/usr/libexec/getty Pc" cons25u off secure
ttyv6   "/usr/libexec/getty Pc" cons25u off secure
ttyv7   "/usr/libexec/getty Pc" cons25u off secure
ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xtermu  off secure
#
ttyd0   "/usr/libexec/getty callback1"  dialup  on
# AND SO ON...

[ /etc/gettytab ]

default:\
:cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\
:if=/etc/issue:

# my callback account
callback1|38400-baud:\
:np:sp#38400:pp=/etc/ppp/callback.ppp:

# AND OTHERS...

[ /etc/ppp/callback.ppp ]

#!/bin/sh
echo "!!! Incoming call. Use kill -TERM $$ to kill it..." | wall -g wheel
exec /usr/sbin/ppp -direct incoming

  That's all. If have a solution or any experience in setting-up
user-ppp callback, reply (workable configs won't be out of place).

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


Re: MySQL error 2013

2004-02-22 Thread Erik Greenwald
On Sat, Feb 21, 2004 at 11:38:11PM -0800, Derrick Ryalls wrote:

> Googling around, I see lots of reference to glibc issues, but I thought
> that only applied to Linux.  I have tried mysql41-server port (fresh
> cvsup), mysql40, and a package mysql323, and they all have the same
> issue.  That leads me to believe that the o/s has the issue, not mysql.
> Does anyone have a clue on what I need to check/upgrade?
> 
> Current system:  FreeBSD 4.9-RC #0: Tue Oct  7

yeah, glibc would be linux only... but there're a couple pr's for this
issue on freebsd right now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/62845
http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/63213

(currently, there is no fix.. the workaround is to connect via a local
socket/pipe).

Mind if I ask what cpu/mb you're operating on?

-- 
-Erik <[EMAIL PROTECTED]> [http://math.smsu.edu/~erik]

The opinions expressed by me are not necessarily opinions. In all probability,
they are random rambling, and to be ignored. Failure to ignore may result in
severe boredom or confusion. Shake well before opening. Keep Refrigerated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fail to start KDE

2004-02-22 Thread Mike Jeays
On Sun, 22 Feb 2004 23:46:54 +0800
Stephen Liu <[EMAIL PROTECTED]> wrote:

> Hi all folks,
> 
> Version 5.2
> new installation
> 
> I encountered problem in starting KDE after installation.
> 
> 1)
> KDE installed
> pkg_info | grep kde
> kde-3.1.4 The "meta-port" for KDE
> kdeaddons-3.1.4 Additional plugins and scripts for some KDE applications
> kdeadmin-3.1.4 KDE applications related to system administration
> kdeartwork-3.1.4_1 Additional themes, sounds, wallpapers and window 
> styles for
> kdebase-3.1.4 This package provides the basic applications for the KDE sy
> kdeedu-3.1.4 Collection of entertaining, educational programs for KDE
> kdegames-3.1.4 Games for the KDE integrated X11 desktop
> kdegraphics-3.1.4 Graphics utilities for the KDE3 integrated X11 desktop
> kdelibs-3.1.4_1 This is the base set of libraries needed by KDE programs
> kdemultimedia-3.1.4 Multimedia utilities for the KDE integrated X11 desktop
> kdenetwork-3.1.4 Network-related programs and modules for KDE
> kdepim-3.1.4 Personal Information Management tools for KDE
> kdesdk-3.1.4 KDE Software Development Kit
> kdetoys-3.1.4 Small applications for KDE
> kdeutils-3.1.4 Utilities for the KDE integrated X11 desktop
> kdevelop-2.1.5 Powerful IDE for developing KDE/Qt-based apps
> 
> 2)
> /home/user/.xinitrc file not found
> 
> ls -al /home/user/
> total 22
> drwxr-xr-x 2 satimis wheel 512 Feb 23 05:58 .
> drwxr-xr-x 3 root wheel 512 Feb 23 07:16 ..
> -rw--- 1 satimis wheel 0 Feb 23 05:58 .Xauthority
> -rw-r--r-- 1 satimis wheel 767 Feb 23 07:16 .cshrc
> -rw-r--r-- 1 satimis wheel 248 Feb 23 07:16 .login
> -rw-r--r-- 1 satimis wheel 158 Feb 23 07:16 .login_conf
> -rw--- 1 satimis wheel 373 Feb 23 07:16 .mail_aliases
> -rw-r--r-- 1 satimis wheel 331 Feb 23 07:16 .mailrc
> -rw-r--r-- 1 satimis wheel 797 Feb 23 07:16 .profile
> -rw--- 1 satimis wheel 276 Feb 23 07:16 .rhosts
> -rw-r--r-- 1 satimis wheel 975 Feb 23 07:16 .shrc
> -rw--- 1 satimis wheel 106 Feb 23 05:58 .xsession-errors
> 
> 3)
> cat /home/user/.xsession-errors
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> Error: Can't open display: :0
> 
> Kindly advise how to fix the problems.
> 
> TIA
> 
> B.R.
> satimis
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Create a file .xinitrc in the home directory, containing the single
line 'startkde &' (without the quotes).  Then try startx again.


-- 
Personal : Mike.Jeays -at- rogers.com  Phone : 613-724-4510
Work : Mike.Jeays -at- statcan.ca  Phone : 613-951-9929 FAX 613-951-0395
Web page : http://members.rogers.com/mike.jeays
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Creative Extigy with FreeBSD 4.9?

2004-02-22 Thread Eric Rescorla
I've got a 4.9 machine which I'd like to interface to my Creative Extigy
external amp for playing MP3s and the like.  For obvious reasons, I'd
like to have that connection be digital. After some research, it looks
like there are two choices:

(1) SPDIF
I've got an Asus P4C-800E mainboard with a built-in interface
that dmesg reports as:

pcm0:  port 0xee80-0xeebf,0xe800-0xe8ff mem 0xfebff400-0xf
ebff4ff,0xfebff800-0xfebff9ff irq 5 at device 31.5 on pci0
pcm0: 

The card has an SPDIF output, but I'm not sure how to get mplayer
(or anything else) to actually use it. I've installed mplayer out
of ports and from reading the not very clear documentation, it
looks like "-ac hwac3" should do the trick, but what I get when
I try that is:

==
Forced audio codec: hwac3
*** Try to upgrade /users/ekr/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec for audio format 0x55.
==

(2) USB
The Extigy has a USB plug in the front so I would think I could
use uaudio, but it's even more unclear to me how that works.
When I plugged it in, nothing interesting happened (i.e. nothing
on the console or syslog suggesting that it even saw the device).
usbd is running.

Any suggestions here would be great!

Thanks,
-Ekr



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


Bind9 startup on 5.2

2004-02-22 Thread J.D. Bronson
I have built Bind9 from src and it runs just fine when started
manually. However no matter what I tried to do with rc.conf
and the named startup script, I cannot get it to start!
I run the script manually and it exists with no output and no success.

How do I troubleshoot this -or- write my own startup and skip this?

(I am used to doing this on 4.9 where startup was very trivial!)

thanks.

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


Re: fail to recognize sound device

2004-02-22 Thread Nathan Kinkade
On Sun, Feb 22, 2004 at 05:38:36PM +0200, [EMAIL PROTECTED] wrote:
> Dear Sirs,
> Thank you for Giving FreeBSD  for free.  Basically I would like to ask
> you about a problem I have with the sound hardware which I wasn't able
> to resolve. And I also have some suggestions to make!
> 
> After Installation when writing #startx, at the prompt KDE loads and I
> get a message than sound driver /dev/pcm couldn't be found. SuSE and
> Redhat both recognize my sound driver as 82801DB AC'97. Further more
> alot of stuff like xmms, and other applications were not installed
> although I checked them to be installed when I was asked. The funny
> thing is that those applications exist in /usr/.../ports. 
> 
> 1:How can I configure my sound device?

Unless something has changed sound is not configured in the default
(generic) kernel.  You can either add 'device pcm' to your kernel config
file and recompile, or you can load the pcm module with
'$kldload snd_pcm'.

> 2:How can I install xmms or other stuff which exist in my hard-drive
> but are not installed?

You may be confused about how the ports work.  Just because a directory
exists in /usr/ports/ doesn't mean that the port is installed.  If you
type 'xmms' at a prompt and XMMS doesn't launch, the either it isn't
installed or your PATH environment variable is non-standard.  To install
applications (if you have an Internet connection), xmms for example, do:

# cd /usr/ports/multimedia/xmms
# make install clean

This will fetch the sources from the Internet, compile and install the
program.  You can also install precompiled packages and perhaps the
easiest way of doing this is to use the /stand/sysinstall program.  Once
sysinstall has initialized goto Configure->Packages.

> 3:How can I configure kdm such that I can switch window manager and I
> do not have to type startx all the time?

The easiest way is to start using display manager that will allow you to
select your window manager.  If you are using KDE, then you may like KDM
which may already be installed if you have KDE installed.  To cause it
to launch on boot, edit the file /etc/ttys and change 'xdm' to 'kdm' in
the following line:

ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure

> Suggestions:
> 1: It would be really attractive if the installation of FreeBSD was as
> easy and comfortable(visual stuff) as SuSE's.

From my perspective, the FreeBSD installer is very intuitive.  Something
doesn't necessarily have to be graphical and point-and-click to be easy
to use and logical.

> 2: It would be nice if kdm or xdm or something was installed and
> needen't have to be configured after installation. For instance during
> the installation the user should be asked if he would like to have xdm
> or kdm installed ...

I could be wrong about this, but I think KDM is installed if you choose
to install KDE3.  XDM comes along with XFree86, too.  Not sure about
whether you are prompted to use one of these by default during install,
though.

> Thanks in advance!
> Looking forward to your answer!
> Drosos.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: Clarification needed on Handbook: Tracking for Multiple Machines

2004-02-22 Thread Tony Frank
Hi,

On Sun, Feb 22, 2004 at 09:07:23AM -0600, D J Hawkey Jr wrote:
> On Feb 23, at 01:05 AM, Tony Frank wrote:
> > 
> > On Sat, Feb 21, 2004 at 11:23:28AM -0600, D J Hawkey Jr wrote:
> > > On Feb 21, at 05:56 PM, Gabriel Ambuehl wrote:
> > > > 
> > > > DJHJ> Second, two machines are of the same architecture, but they have 
> > > > different
> > > > DJHJ> CPUs: One is an Intel PIII, but the other is a PII. Will the world built
> > > > DJHJ> on a PIII be correct for a PII? Similarly, will the kernel for the PII
> > > > DJHJ> built on a PIII be correct for the PII, given the different variables and
> > > > DJHJ> settings in the two kernel configuration files?
> > > > 
> > > > Just make sure you build for 686. If that doesn't work, make it 586 (I
> > > > think the PI qualifies as 686 but I'm not entirely sure). I think the 
> > > > extensions such as
> > > > SSE etc are detected dynamically and shouldn't cause any problem.
> > > > In all my years of messing with builds, I never run into this problem,
> > > > so I guess it's pretty safe.
> > > Yes, both [my] machines define I686_CPU.
> > > 
> > > "Dynamically", as in "at runtime"? I think you're right, but I don't
> > > know for certain, either. This is exactly what I'm wondering about;
> > > the PII has only MMX, for instance, while the PIII has SSE and MMX2.
> > > 
> > > I assume the world's codebase is CPU-agnostic within an architecture,
> > > but I really don't want to assume this; I'd rather know this.
> > 
> > I have PII, Celeron, PIII and P4 in my environment.
> > All these use "I686_CPU" in my kernel configs (I got rid of the other I[345]_CPU 
> > types.
> 
> In a desktop's kernel config:
> machine i386
> cpu I686_CPU
> ident   SHEOL
> 
> In my laptop's kernel config:
> machine i386
> cpu I686_CPU
> ident   CHARON
> 
> Getting difficult, isn't it?  ;-,
> 
> Boot messages on that desktop from kernel built on that desktop:
> CPU: Pentium III/Pentium III Xeon/Celeron (764.35-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>   
> Features=0x383f9ff
> 
> Boot messages on that laptop from kernel built on that laptop:
> CPU: Pentium II/Pentium II Xeon/Celeron (233.87-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
>   
> Features=0x183f9ff
> 
> > In /etc/make.conf I include "CPUTYPE=p2" as the lowest common denominator if 
> > including a CPUTYPE flag.
> > The resulting world & kernel run fine on all the systems.
> > 
> > The higher flags p3 and p4 still just use -march=pentiumpro, however for SSE you
> > will need p3 or p4 as MACHINE_CPU does not include SSE for p2 level.
> > Check out /usr/share/mk/bsd.cpu.mk for specifics.
> 
> If I read things right, the first chunk in bsd.cpu.mk results in
> "CPUTYPE = i686"; the conditional-on-CPU_TYPE-defined assignment
> sees "cpu I686_CPU" in the kernel configs, right?. 

I'm not sure the kernel config is used for this - beyond my current depth. :)

> The second
> chunk in bsd.cpu.mk also results in "CPUTYPE = i686" (fallthrough).
> The third chunk results in "_CPUCFLAGS = -march=pentiumpro", as
> you state. Finally, the last chunk in bsd.cpu.mk results in
> "MACHINE_CPU = i686 i586 i486 i386".
> 
> If I specify "CPUTYPE=p2" in make.conf, and I'm still reading
> things right, the final result in bsd.cpu.mk would be the same
> _CPUCFLAGS, and "MACHINE_CPU = i686 mmx i586 i486 i386".
> 
> But based on the boot messages, it would seem that the features of
> the chips are detected correctly without specifying a CPUTYPE in
> make.conf. So... As things are right now (no CPUTYPE in make.conf),
> it would appear that "CPU feature" code is built into the kernels
> on the respective machines, and that code correctly detects the
> features available. Therefore, I don't see where adding CPUTYPE
> in make.conf would get me anything I'm not already getting?

CPU feature detection is done elsewhere, the make.conf entry I think will just 
set the flag so if code elsewhere is written to check for those flags it
will use the appropriate bits.

> That is, why make things more specific than they have to be?
> I don't see where adding "CPUTYPE=p2" on a PIII build machine
> would change anything for PII and/or PIII target machines. What
> have I missed?

I believe there are one or two areas of code (openssl?) that do make
use of these flags and enable some optimised routines.

Perhaps you can try comparing output of 'openssl speed' after compiling 
with different options?
 (eg for CPUTYPE empty, i686 and p2)

Someone more familiar with the kernel internals might be able to offer more insight 
here.

> > > > DJHJ> /etc/defaults/make.conf doesn't mention KERNCONF; /usr/src/Makefile.inc1
> > > > DJHJ> does. Since /usr/share/mk/sys.mk sucks in /etc/make.conf, that should
> > > > DJHJ> propogate KERNCONF to /usr/src/Makefile, right?
> > 
> > To your original question, yes.
> > Just add a KER

Re: Is inetd a proxy server?

2004-02-22 Thread Matthew Seaman
On Mon, Feb 23, 2004 at 12:05:45AM +0900, Rob wrote:

> I don't know much about proxy servers, so I read the handbook on this issue.
> When reading the proxy server paragraph in the firewalls section, I 
> concluded
> that my inetd superserver is a kind of proxy server. Is that right?

Not really.  Inetd is a program for marshalling other servers.  It
accepts an incoming connection, works out what service it's for, fires
up the appropriate server to deal with it, and substitutes that server
for itself on the end of the connection in order to receive the
request.  So with inetd, you end up dealing with the real server that
can handle your request.  A proxy listens to all of your request, and
then opens up a second connection to the real server (or another
proxy) for you and replays your request to it -- so all of the traffic
is relayed through the proxy.

The point of having inetd(8) is that it provides is a mechanism so that
you don't have to have umpty-dozen different small servers running all
of the time and taking up your process space.  It's less important
nowadays than it used to be, considering how the price of memory and
CPU has fallen, so running loads of different things isn't so
problematic anymore, and how the emphasis now is on security -- which
means not running those services you don't have an immediate use for
-- and speed -- where it's better not to have a process do all of it's
initialization stuff on each connection.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: seeking shell scripting resources

2004-02-22 Thread David Fleck
On Sun, 22 Feb 2004, Julien Gabel wrote:
> Haven't found much around at all on shell programming and would like
> to start learning it. Any more resources would be most welcome to find
> out about.

Shells differ in their programming constructs, so anything you learn in
one shell may not be transferrable to others.  As a personal preference, I
usually try to write scripts for /bin/sh (for portability), unless I need
a ksh or bash construct.  bash is a variant of sh, with a lot of bells and
whistles added, so techniques that work in bash *usually* work in sh (and
ksh).

With that preface, you might try http://www.tldp.org/LDP/abs/html/ as a
start.  It's bash-oriented, but a lot if it will apply to other shells (sh
and ksh, not so much csh and tcsh) as well.

And your system scripts are also an excellent place to learn by example.


--
David Fleck
[EMAIL PROTECTED]

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


Re: Virus found in a message you sent

2004-02-22 Thread Gilad Rom
Mark wrote:
Result: Virus Detected
Virus Name: [EMAIL PROTECTED]
File Attachment: cbkqwkehx.exe
Attachment Status: deleted
--- Original message information follows ---

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


I wonder whether there is any way to block these, and "out-of-office"
bounces on the list?
Thanks,

- Mark
Maybe filter on "A message you sent" style subjects?
Just a random thought...
Gilad

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


Fail to start KDE

2004-02-22 Thread Stephen Liu
Hi all folks,

Version 5.2
new installation
I encountered problem in starting KDE after installation.

1)
KDE installed
pkg_info | grep kde
kde-3.1.4 The "meta-port" for KDE
kdeaddons-3.1.4 Additional plugins and scripts for some KDE applications
kdeadmin-3.1.4 KDE applications related to system administration
kdeartwork-3.1.4_1 Additional themes, sounds, wallpapers and window 
styles for
kdebase-3.1.4 This package provides the basic applications for the KDE sy
kdeedu-3.1.4 Collection of entertaining, educational programs for KDE
kdegames-3.1.4 Games for the KDE integrated X11 desktop
kdegraphics-3.1.4 Graphics utilities for the KDE3 integrated X11 desktop
kdelibs-3.1.4_1 This is the base set of libraries needed by KDE programs
kdemultimedia-3.1.4 Multimedia utilities for the KDE integrated X11 desktop
kdenetwork-3.1.4 Network-related programs and modules for KDE
kdepim-3.1.4 Personal Information Management tools for KDE
kdesdk-3.1.4 KDE Software Development Kit
kdetoys-3.1.4 Small applications for KDE
kdeutils-3.1.4 Utilities for the KDE integrated X11 desktop
kdevelop-2.1.5 Powerful IDE for developing KDE/Qt-based apps

2)
/home/user/.xinitrc file not found
ls -al /home/user/
total 22
drwxr-xr-x 2 satimis wheel 512 Feb 23 05:58 .
drwxr-xr-x 3 root wheel 512 Feb 23 07:16 ..
-rw--- 1 satimis wheel 0 Feb 23 05:58 .Xauthority
-rw-r--r-- 1 satimis wheel 767 Feb 23 07:16 .cshrc
-rw-r--r-- 1 satimis wheel 248 Feb 23 07:16 .login
-rw-r--r-- 1 satimis wheel 158 Feb 23 07:16 .login_conf
-rw--- 1 satimis wheel 373 Feb 23 07:16 .mail_aliases
-rw-r--r-- 1 satimis wheel 331 Feb 23 07:16 .mailrc
-rw-r--r-- 1 satimis wheel 797 Feb 23 07:16 .profile
-rw--- 1 satimis wheel 276 Feb 23 07:16 .rhosts
-rw-r--r-- 1 satimis wheel 975 Feb 23 07:16 .shrc
-rw--- 1 satimis wheel 106 Feb 23 05:58 .xsession-errors
3)
cat /home/user/.xsession-errors
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0
Kindly advise how to fix the problems.

TIA

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


Re: ssh no longer connecting automatically

2004-02-22 Thread Lowell Gilbert
Jonathon McKitrick <[EMAIL PROTECTED]> writes:

> Any idea why updating to 4.9 stable would give me this error?
> I have to set it to protocol 1 and log in manually.  The auto login with the
> id_rsa and authorized_keys doesn't seem to work anymore, but gives this
> error:
> 
> neptune:~> ssh [EMAIL PROTECTED]
> key_verify failed for server_host_key

Did the host key change?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fail to recognize sound device

2004-02-22 Thread [EMAIL PROTECTED]
Dear Sirs,
Thank you for Giving FreeBSD  for free.
Basically I would like to ask you about a problem I have with the sound hardware which 
I wasn't able to resolve. And I also have some suggestions to make!

After Installation when writing #startx, at the prompt KDE loads and I get a message 
than sound driver /dev/pcm couldn't be found. SuSE and Redhat both recognize my sound 
driver as 82801DB AC'97. Further more alot of stuff like xmms, and other applications 
were not installed although I checked them to be installed when I was asked. The funny 
thing is that those applications exist in /usr/.../ports. 

1:How can I configure my sound device?
2:How can I install xmms or other stuff which exist in my hard-drive but are not 
installed?
3:How can I configure kdm such that I can switch window manager and I do not have to 
type startx all the time?

Suggestions:
1: It would be really attractive if the installation of FreeBSD was as easy and 
comfortable(visual stuff) as SuSE's.
2: It would be nice if kdm or xdm or something was installed and needen't have to be 
configured after installation. For instance during the installation the user should be 
asked if he would like to have xdm or kdm installed ...
3: how can I test the performance of freeBSD against SuSE or Redhat?
Thanks in advance!
Looking forward to your answer!
Drosos.



_
http://www.mailbox.gr ÁðïêôÞóôå äùñåÜí ôï ìïíáäéêü óáò e-mail.
http://www.thesuperweb.gr Website ìå ÁóöáëÝò Controlpanel áðü 6 Euro êáé äþñï ôï 
domain óáò!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread Julien Gabel
> Haven't found much around at all on shell programming and would like
> to start learning it. Any more resources would be most welcome to find
> out about.

* Little course / UNIX Shell Scripting:
  http://users.sdsc.edu/~steube/Bshell/

* Tips & tricks / Shell Corner from UnixReview by Ed Schaefer:
  http://www.unixreview.com/columns/schaefer/

It is not FreeBSD specific though.
-- 
-jg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread Marty Landman
At 10:09 AM 2/22/2004, Quintin Riis wrote:

Are you using bash?
I'm new and want to learn scripting to help with running my network. So I'm 
completely flexible as I don't know enough to have any preferences.

Try /usr/ports/shells/bash2/work/bash-2.05b/examples/ for a few examples.
Ok, making /usr/ports/shells/bash2/ now and then I'll see what's in there.

Haven't found much around at all on shell programming and would like to 
start learning it. Any more resources would be most welcome to find out about.

Thanks Quintin.

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I have a dream, of a help/manual/doc system, which is simple to use?

2004-02-22 Thread David Fleck
On Sun, 22 Feb 2004, Aaron Peterson wrote:
> and of course the manual pages that install with each of the some 1
> add on programs.  "man "

...with *each* of them?  Ah, if only that were true..
dcf>$ man aspell
No manual entry for aspell


--
David Fleck
[EMAIL PROTECTED]

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


  1   2   >