Re: linux_base-c6 Skype 4.2

2013-05-24 Thread Jerry
On Thu, 23 May 2013 20:09:35 +0200
Matthias Apitz articulated:

 M$ has Linux Skype 4.2 for some Linux distributions, for example for
 F16; would it be possible to run one of these distributions on top of
 linux_base-c6? Is there any work in progress I could support?
 I have enough systems at home running some 10-CURRENT and could use
 one of them for additional tests/work

According to the web site, these are the minimum requirements for a
Linux version of Skype 4.2.0.11

Skype for Linux

1 GHz processor or faster.
256 MB RAM.
100 MB free disk space on your hard drive.
Video card driver with Xv support.
Either a built-in or external microphone is required for voice calls.
An internet connection – broadband is best (GPRS is not supported for voice 
calls).
Qt 4.7 • D-Bus 1.0.0
libasound2 1.0.18
PulseAudio 1.0 (optional)
BlueZ 4.0.0 (optional)

I saw a post, I think it was SlashDot, that the FreeBSD kernel was not
robust enough to handle Skype. You might want to talk to the
developers. You can always download a clean distribution of Skype
from the web site and experiment with it.
http://www.skype.com/en/download-skype/skype-for-computer/

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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

Do I need both gcc-4.2 and gcc-4.3?

2009-05-06 Thread Mike Clarke
Somehow I've ended up with 2 copies of gcc from ports in addition to 
gcc-3.4 in the base system. 

pkg_info suggests that only gcc-4.3 is needed:

  curlew:/home/mike% pkg_info -Rx gcc-4
  Information for gcc-4.2.5_20081126:

  Information for gcc-4.3.4_20090419:

  Required by:
  fftw-2.1.5_5

I'm sure I haven't chosen to install fftw-2.1.5_5, and pkg_info -R 
doesn't show any other ports needing it. I was wondering if I could 
safely deinstall fftw and both the gcc-4 packages but wondered if 
pkg_info only shows the run dependencies and not the build 
dependencies. I don't mind the disk space needed but portupgrade 
sometimes results in having to upgrade 2 copies of gcc which is quite 
time consuming.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do I need both gcc-4.2 and gcc-4.3?

2009-05-06 Thread Anton Shterenlikht
On Wed, May 06, 2009 at 12:51:16PM +0100, Mike Clarke wrote:
 Somehow I've ended up with 2 copies of gcc from ports in addition to 
 gcc-3.4 in the base system. 
 
 pkg_info suggests that only gcc-4.3 is needed:
 
   curlew:/home/mike% pkg_info -Rx gcc-4
   Information for gcc-4.2.5_20081126:
 
   Information for gcc-4.3.4_20090419:
 
   Required by:
   fftw-2.1.5_5
 
 I'm sure I haven't chosen to install fftw-2.1.5_5, and pkg_info -R 
 doesn't show any other ports needing it. I was wondering if I could 
 safely deinstall fftw and both the gcc-4 packages but wondered if 
 pkg_info only shows the run dependencies and not the build 
 dependencies. I don't mind the disk space needed but portupgrade 
 sometimes results in having to upgrade 2 copies of gcc which is quite 
 time consuming.

short answer - do as you wish. Any software you don't need you can
safely remove provided it is not required by some other packages.
Yes, only run dependencies are shown, therefore, from time to 
time I remove some packages which I don't need, and which were built
only to build others, which I do need. HOwever, this is probably
a waste of time, because it is likely that they would be build
again at some point, when the other packages are updated.

Also, I'm fairy certain, though check yourself, that all packages
which require 4.2.5 would be also happy with higher version, i.e.
I'd just leave the highest version of gcc.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


error compiling kdebase 4.2 on AMD64

2009-02-02 Thread Warren Liddell
Im currently running AMD64 4gig FreebSD7.1-STABLE .. below is the error 
msg when trying to compile the new KDE4.2 KDEBASE


--

[  0%] Building CXX object 
apps/lib/konq/CMakeFiles/konq.dir/konq_popupmenuinformation.o
cd /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build/apps/lib/konq  
/usr/bin/c++   -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII 
-D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DMAKE_KONQ_LIB -O2 
-fno-strict-aliasing -pipe -Woverloaded-virtual -fvisibility=hidden 
-fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC 
-I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/build/apps/lib/konq 
-I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq 
-I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/build/apps 
-I/usr/ports/x11/kdebase4/work/kdebase-4.2.0/build 
-I/usr/local/kde4/include -I/usr/local/kde4/include/KDE 
-I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtWebKit 
-I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtAssistant 
-I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/QtTest 
-I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtScript 
-I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtXml 
-I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtOpenGL 
-I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtDesigner 
-I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui 
-I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt 
-I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4 
-I/usr/local/include -o CMakeFiles/konq.dir/konq_popupmenuinformation.o 
-c 
/usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq/konq_popupmenuinformation.cpp
/usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq/konq_popupmenuinformation.cpp: 
In member function 'void KonqPopupMenuInformation::setItems(const 
KFileItemList)':
/usr/ports/x11/kdebase4/work/kdebase-4.2.0/apps/lib/konq/konq_popupmenuinformation.cpp:69: 
error: 'const class KFileItemList' has no member named 'targetUrlList'

*** Error code 1

Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build.
*** Error code 1

Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build.
*** Error code 1

Stop in /usr/ports/x11/kdebase4/work/kdebase-4.2.0/build.
*** Error code 1

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

Stop in /usr/ports/x11/kde4.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ssh + kerberos: problems w/ -current to openbsd 4.2 KDC

2007-12-31 Thread Jacob Yocom-Piatt
have most of the machines here doing ssh authentication via kerberos 
against a heimdal KDC running openbsd 4.2-release. the freebsd 7.0beta4 
host i recently installed will not allow machines to ssh into it using 
kerberos credentials but it (freebsd host) does successfully get and use 
tickets from the KDC when


[gssapi]
   correct_des3_mic = host/[EMAIL PROTECTED]

is added to /etc/krb5.conf.

nothing notable shows up in the KDC logs and the following appears in 
/var/log/auth.log on the freebsd host:


Dec 31 12:46:48 databank1 sshd[24658]: error: ssh_msg_send: write
Dec 31 12:50:14 databank1 sshd[24690]: error: ssh_msg_send: write

the changes made on the freebsd host to accommodate kerberos 
authentication were in /etc/ssh/sshd_config and /etc/pam.d/sshd, 
respectively:


KerberosAuthentication yes
KerberosOrLocalPasswd yes
KerberosTicketCleanup yes
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes

authsufficient  pam_krb5.so no_warn 
try_first_pass

account requiredpam_krb5.so
passwordsufficient  pam_krb5.so no_warn 
try_first_pass


where the lines in /etc/pam.d/sshd were simply uncommented and in the 
original order. debugging outputs from a client trying to ssh into the 
freebsd host are not very enlightening:


...
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,keyboard-interactive

debug1: Next authentication method: gssapi-with-mic
debug1: Delegating credentials
debug1: Authentications that can continue: 
publickey,gssapi-with-mic,keyboard-interactive

debug1: Next authentication method: publickey
...

any clues as to what needs to be done to get this to work correctly 
would be appreciated.


cheers,
jake

--


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


Re: ssh + kerberos: problems w/ -current to openbsd 4.2 KDC

2007-12-31 Thread Tom McLaughlin
On Mon, 2007-12-31 at 14:07 -0600, Jacob Yocom-Piatt wrote:
 have most of the machines here doing ssh authentication via kerberos 
 against a heimdal KDC running openbsd 4.2-release.

I have a similar setup here with an OpenBSD 4.2 KDC and a FreeBSD
7.0-BETA2 machine and I remember it being a hassle.  I set this up
awhile ago and don't totally remember why everything is set the way it
is without reading man pages again but it's New Years Eve here so...
I'll just throw my configuration here at you. ;)

  the freebsd 7.0beta4 
 host i recently installed will not allow machines to ssh into it using 
 kerberos credentials but it (freebsd host) does successfully get and use 
 tickets from the KDC when
 
 [gssapi]
 correct_des3_mic = host/[EMAIL PROTECTED]
 
 is added to /etc/krb5.conf.
 

I have the same line above in krb5.conf on the FreeBSD machine with no
[gssapi] section in the krb5.conf on the OpenBSD machine.

 nothing notable shows up in the KDC logs and the following appears in 
 /var/log/auth.log on the freebsd host:
 
 Dec 31 12:46:48 databank1 sshd[24658]: error: ssh_msg_send: write
 Dec 31 12:50:14 databank1 sshd[24690]: error: ssh_msg_send: write
 
 the changes made on the freebsd host to accommodate kerberos 
 authentication were in /etc/ssh/sshd_config and /etc/pam.d/sshd, 
 respectively:
 
 KerberosAuthentication yes
 KerberosOrLocalPasswd yes
 KerberosTicketCleanup yes
 GSSAPIAuthentication yes
 GSSAPICleanupCredentials yes
 


#PasswordAuthentication no
#PermitEmptyPasswords no

ChallengeResponseAuthentication no

#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes

#UsePAM yes


 authsufficient  pam_krb5.so no_warn 
 try_first_pass
 account requiredpam_krb5.so
 passwordsufficient  pam_krb5.so no_warn 
 try_first_pass
 

I never got pam_krb5 to work and was happy enough with sshd's own GSSAPI
stuff so I just stopped trying to figure out IIRC.

 where the lines in /etc/pam.d/sshd were simply uncommented and in the 
 original order. debugging outputs from a client trying to ssh into the 
 freebsd host are not very enlightening:
 
 ...
 debug1: Authentications that can continue: 
 publickey,gssapi-with-mic,keyboard-interactive
 debug1: Next authentication method: gssapi-with-mic
 debug1: Delegating credentials
 debug1: Authentications that can continue: 
 publickey,gssapi-with-mic,keyboard-interactive
 debug1: Next authentication method: publickey
 ...
 
 any clues as to what needs to be done to get this to work correctly 
 would be appreciated.
 
 cheers,
 jake
 
-- 
| tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org |
| FreeBSD   http://www.FreeBSD.org |

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


Re: About PF 4.2

2007-11-08 Thread Ovi

Atanas Gendov wrote:


Dear developers, I found this mail and I hope this is the right address.
I have questions about new OpenBSD's PF 4.2. I found some interesting
news about PF http://www.onlamp.com/lpt/a/7155
Me and many other people are interested to see PF 4.2 in FreeBSD 7,
because we like FreeBSD, but we use PF. Are you planning to include PF
4.2 in FreeBSD 7 during the Beta versions?
Please give me an answer about PF on FreeBSD! :)

Best Regards,

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

 

Indeed, it would be interesting to have it in 7, as they say they've 
almost dubled PF performance.


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


About PF 4.2

2007-11-06 Thread Atanas Gendov
Dear developers, I found this mail and I hope this is the right address.
I have questions about new OpenBSD's PF 4.2. I found some interesting
news about PF http://www.onlamp.com/lpt/a/7155
Me and many other people are interested to see PF 4.2 in FreeBSD 7,
because we like FreeBSD, but we use PF. Are you planning to include PF
4.2 in FreeBSD 7 during the Beta versions?
Please give me an answer about PF on FreeBSD! :)

Best Regards,

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


[FreeBSD 7.0-CUR/gcc 4.2/portsnap]: portsnap fetch reports illegal portsnap tag!

2007-05-22 Thread O. Hartmann

Hello out here,
since I upgrade my box with the lates FreeBSD 7.0-CUR/AMD64 and gcc 4.2, 
I do not have access to ports via portsnap anymore. Portsnap stops 
running with this error:


# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction
invalid snapshot tag.
Fetching snapshot tag from portsnap2.FreeBSD.org... Illegal instruction
invalid snapshot tag.
Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction
invalid snapshot tag.
No mirrors remaining, giving up.

I removed everything what's in /var/db/portsnap/, but this doesn't help, 
it seems a checksum isn't calculated correctly. Alternatively I used cvsup.


Is there anything wrong? I remember myself of issues with OpenSSL and 
gcc 4.2, so due to the calculation of the checksum this might cause the 
error.


Regards,
Oliver

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


Re: [FreeBSD 7.0-CUR/gcc 4.2/portsnap]: portsnap fetch reports illegal portsnap tag!

2007-05-22 Thread Kris Kennaway
On Tue, May 22, 2007 at 09:04:11PM +0200, O. Hartmann wrote:
 Hello out here,
 since I upgrade my box with the lates FreeBSD 7.0-CUR/AMD64 and gcc 4.2, 
 I do not have access to ports via portsnap anymore. Portsnap stops 
 running with this error:
 
 # portsnap fetch update
 Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
 Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 Fetching snapshot tag from portsnap2.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 No mirrors remaining, giving up.
 
 I removed everything what's in /var/db/portsnap/, but this doesn't help, 
 it seems a checksum isn't calculated correctly. Alternatively I used cvsup.
 
 Is there anything wrong? I remember myself of issues with OpenSSL and 
 gcc 4.2, so due to the calculation of the checksum this might cause the 
 error.

See my reply from when you asked this same question yesterday.

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


Re: [FreeBSD 7.0-CUR/gcc 4.2/portsnap]: portsnap fetch reports illegal portsnap tag!

2007-05-22 Thread Colin Percival
O. Hartmann wrote:
 Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 
 Is there anything wrong? I remember myself of issues with OpenSSL and
 gcc 4.2, so due to the calculation of the checksum this might cause the
 error.

This is the OpenSSL/gcc42 bug being invoked when portsnap calls openssl
to verify a signature.

Colin Percival

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


GCC 4.2

2007-05-21 Thread Robert Huff

Can someone confirm GCC 4.2 is now in the -CURRENT source, and
if so effective what date?
Thanks.


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


Old 4.2 user, with 6.2 newbie questions

2007-05-21 Thread Chuck Grimes
On 18-May-07 [EMAIL PROTECTED] wrote:
 On Fri, May 18, 2007 at 07:33:14AM -0700, Chuck Grimes wrote:
 enabled in inetd.conf. 
 
 My problem is that using the modem to connect to my isp, I can not get
 fetchmail, rsh, rlogin, or ftp to work. They all start just fine and
 then hang. I have to kill the user1 to get the tty1 back. 
 
 I set this new box (6.2) up with a network connection to my old box
 (4.2) as a gateway. When the 4.2 box connects to the isp, I can use
 rsh, rlogin, fetchmail from the new box using the old box as the
 connection. This implies there is something wrong with the new box
 serial connection to my isp. 
 
 However, from the new box (6.2) after starting the dial up connection
 on the serial port, I can use telnet to get to the isp shell account.
 
 What is the difference between how rsh uses the various ip/tcp
 protocols and how telnet? 
 
 Sounds like a routing problem to me, i,e., your ISP is part of a local
 network connection (so you can telnet to it) but your ISP's gateway is
 not set as a default route on the 6.2 box like it is on the 4.2 box.
 
 HTH,
 
 Steve

Thanks for the response. Sorry about my long delayed response. I
worked most of Saturday playing around with ppp and various options in
rc.conf trying to narrow the problem down to some kind of route
problem. In the process I did find some routing problems and fixed
them. 

But there was no improvement in the failure to keep an rsh or
ftp session going over a serial port connection with my isp.

I am going to start another thread under the title ``sio problems?''
and try to figure out what's wrong with my serial port. I suspect
while sio4 works enough to start a link with my isp, it somehow
fails at some point. I think the problem is the serial port
configuration. I suspect the swap during bootup sio0 - sio4 is the
heart of the problem.

With that in mind, I think you are right about a routing problem in
the sense that the mapping of physical serial device (modem) to its
virtual serial device (sio0 - sio4) is mixed up somehow and that in
turn creats the effect of a routing problem. 

Even if a fixed serial port system doesn't help, at least it will be
one more problem fixed.

CG

(this was also delayed by the list server as spam?)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GCC 4.2

2007-05-21 Thread Harald Schmalzbauer
Am Montag, 21. Mai 2007 schrieb Robert Huff:
   Can someone confirm GCC 4.2 is now in the -CURRENT source, and
 if so effective what date?
   Thanks.

It is there! Thanks to the good guys for that work!
I think it hit the tree on saturday.

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


Re: GCC 4.2

2007-05-21 Thread Garrett Cooper

Harald Schmalzbauer wrote:

Am Montag, 21. Mai 2007 schrieb Robert Huff:

Can someone confirm GCC 4.2 is now in the -CURRENT source, and
if so effective what date?
Thanks.


It is there! Thanks to the good guys for that work!
I think it hit the tree on saturday.

-Harry


It's there, but unless you want some major components to break I'd wait 
a bit... good job by the FreeBSD guys for the hard work, bad job by the 
GCC guys by breaking some code.


Also, there's a feature which is present in GCC that FreeBSD may be 
having issues with.


I'd subscribe to current@ and watch the GCC error threads (mostly the 
fPIE one now).


Cheers,

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


gcc 4.2

2007-05-19 Thread Johan Hendriks
 
Hello all.
 
It looks like the current maillist is off line, so that is the reason for my 
question here.
 
I have a question regarding gcc 4.2
 
Do i need to rebuild world twice to actually get it build with 4.2?
first to get it build and installed but (still using gcc3.x)
secondly to actually use gcc 4.2 to do the build again.
 
or is there a quicker way?
 
regards,
Johan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc 4.2

2007-05-19 Thread Kris Kennaway
On Sat, May 19, 2007 at 04:55:27PM +0200, Johan Hendriks wrote:
  
 Hello all.
  
 It looks like the current maillist is off line, so that is the reason for my 
 question here.
  
 I have a question regarding gcc 4.2
  
 Do i need to rebuild world twice to actually get it build with 4.2?
 first to get it build and installed but (still using gcc3.x)
 secondly to actually use gcc 4.2 to do the build again.
  
 or is there a quicker way?

Yeah, just build it once :)

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


RE: gcc 4.2

2007-05-19 Thread Johan Hendriks
 



Van: Kris Kennaway [mailto:[EMAIL PROTECTED]
Verzonden: za 19-5-2007 19:57
Aan: Johan Hendriks
CC: freebsd-questions@freebsd.org
Onderwerp: Re: gcc 4.2



On Sat, May 19, 2007 at 04:55:27PM +0200, Johan Hendriks wrote:
 
 Hello all.
 
 It looks like the current maillist is off line, so that is the reason for my 
 question here.
 
 I have a question regarding gcc 4.2
 
 Do i need to rebuild world twice to actually get it build with 4.2?
 first to get it build and installed but (still using gcc3.x)
 secondly to actually use gcc 4.2 to do the build again.
 
 or is there a quicker way?

Yeah, just build it once :)

Sorry i am proberly wasting your time!
But from you answer i guess a buildworld use the compiler in the src tree?

So it is not using the one already in base system (/usr/bin/gcc).
If not could you explain it in short for me

Thanks fot your time!!

regards,

Johan Hendriks

 


 

 

 

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


Re: gcc 4.2

2007-05-19 Thread Kris Kennaway
On Sat, May 19, 2007 at 09:36:29PM +0200, Johan Hendriks wrote:
  
 
 
 
 Van: Kris Kennaway [mailto:[EMAIL PROTECTED]
 Verzonden: za 19-5-2007 19:57
 Aan: Johan Hendriks
 CC: freebsd-questions@freebsd.org
 Onderwerp: Re: gcc 4.2
 
 
 
 On Sat, May 19, 2007 at 04:55:27PM +0200, Johan Hendriks wrote:
  
  Hello all.
  
  It looks like the current maillist is off line, so that is the reason for 
  my question here.
  
  I have a question regarding gcc 4.2
  
  Do i need to rebuild world twice to actually get it build with 4.2?
  first to get it build and installed but (still using gcc3.x)
  secondly to actually use gcc 4.2 to do the build again.
  
  or is there a quicker way?
 
 Yeah, just build it once :)
 
 Sorry i am proberly wasting your time!
 But from you answer i guess a buildworld use the compiler in the src tree?
 
 So it is not using the one already in base system (/usr/bin/gcc).
 If not could you explain it in short for me
 

It builds the new compiler as part of the bootstrap phase.

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


Old 4.2 user, with 6.2 newbie questions

2007-05-18 Thread Chuck Grimes

Thanks to Ted M and Mikhail G for the help on Fetchmail.

I think I have narrowed the problem down to exclude any configuration
mistakes in fetchmail or sendmail.

I think I have a problem with my serial port sio0 (it has a 56k USR
modem). In dmesg:

dmesg | grep sio:


sio0: configured irq 22 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: 3COM PCI FaxModem port 0x1000-0x1007 irq 22 at device 1.0 on pci7
sio0: moving to sio4
sio4: type 16550A
fwohci0: OHCI version 1.10 (ROM=0)
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
*sio4: 297 more interrupt-level buffer overflows (total 297)

The last line shows an added messages that the sio4 has
overflows. Notice that the sio0 (with 56k modem) has been remapped to
sio4.

Also, my isp uses standand ip/tcp (IPv4, not IPv6). I have both
enabled in inetd.conf. 

My problem is that using the modem to connect to my isp, I can not get
fetchmail, rsh, rlogin, or ftp to work. They all start just fine and
then hang. I have to kill the user1 to get the tty1 back. 

I set this new box (6.2) up with a network connection to my old box
(4.2) as a gateway. When the 4.2 box connects to the isp, I can use
rsh, rlogin, fetchmail from the new box using the old box as the
connection. This implies there is something wrong with the new box
serial connection to my isp. 

However, from the new box (6.2) after starting the dial up connection
on the serial port, I can use telnet to get to the isp shell account.

What is the difference between how rsh uses the various ip/tcp
protocols and how telnet? 

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


Re: Old 4.2 user, with 6.2 newbie questions

2007-05-12 Thread Mikhail Goriachev
Chuck Grimes wrote:

[...]

 My first priority is getting fetchmail running. Here is the
 fetchmailrc dot file:
 
 defaults proto pop3 
 user mailname 
 poll my.isp.com 
 pass x 
 set daemon 840 
 
 As user, I can run fetchmail at the command line, without an error
 message, but it also doesn't get and deliver any mail. I can send
 email to myself, but I am sure it never leaves the machine. The
 [EMAIL PROTECTED] is correct---so sendmail masquerade is working. For
 example, sendmail does not write: [EMAIL PROTECTED], as it
 would without masquerade.


Fetchmail (new one that is) now can be ran in daemon mode so the
following has to be added into /etc/rc.conf:

fetchmail_enable=YES
fetchmail_polling_interval=300



The fetchmailrc file has to be owned by fetchmail:

# ls -al /usr/local/etc/fetchmailrc
-rw---  1 fetchmail  fetchmail  6614 Feb 27 11:57 fetchmailrc



This is the syntax I use in fetchmailrc:

poll pop3.domain.tld proto pop3 no dns
 user USERNAME1, with password PASSWORD1, is USERNAME1 here;
 user USERNAME2, with password PASSWORD2, is USERNAME2 here;
 user USERNAME3, with password PASSWORD3, is USERNAME3 here;



Some users aren't located on the same server. So I redirect their
correspondence with the help of /etc/mail/aliases:

USERNAME3:[EMAIL PROTECTED]



 I changed the permissions on sendmail back to:
 
 $ ll -r-sr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail
 
 from 6.2 default:
 
 $ ll -rwsr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail
 
 I've tried it both ways and niether seems to make any difference.



For all of that, I didn't have to touch sendmail (apart from aliases).


Hopefully this will help you somehow.



Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Old 4.2 user, with 6.2 newbie questions

2007-05-11 Thread Ted Mittelstaedt

sendmail is much newer on 6.2, I would ask on the fetchmail mailing
list if I were you.  I've never used fetchmail myself, but I had
to make a number of changes in various scripts and such that communicated
with sendmail when I updated a server from 4x to 6x as they changed/broke
things in the newer sendmail.  (for security reasons no doubt)

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Chuck Grimes
 Sent: Thursday, May 10, 2007 9:55 PM
 To: freebsd-questions@freebsd.org
 Subject: Old 4.2 user, with 6.2 newbie questions
 
 
 
 I am in the process of moving from 4.2-RELEASE on an old box to
 6.2-RELEASE on a new box (Core 2 Duo, DG965WH mobo, GeForce 7600gs,
 1G RAM, 400G sata drive). I need to figure out a couple of userland
 changes to the default 6.2 installation which took about an hour and
 went great.
 
 I have a shell account on my isp which runs 4.10-STABLE. In my old 4.2
 box I have fetchmail set to log in, get mail and hand it over to local
 sendmail to put it in my local /var/mail/user directory on my old
 machine. I also use rsh (I know, don't) to log in to my shell
 account. I use my own sendmail to send mail out to various lists on
 the old box. I masquerade as my isp in sendmail, which puts the
 appropriate user name on my headers.
 
 Ok. In 6.2 box I've turned off local only mail (no submit.cf) and have
 sendmail maquerade working. I can send email out as a user, but I can't
 retrieve mail on my isp via fetchmail.
 
 I think ppp is configured correctly because I can telnet just fine to
 my shell account, but I can't rsh. It hangs after the password has
 been sent (yes you are not supposed to need a password with rlogin,
 but my isp uses one anyway for minium security). 
 
 If I am root and switch during rsh/rlogin login to my username, I can
 get a little further along. I get the first few system announcements
 on the shell server, and then the terminal hangs. I have to kill the
 rlogin PID to get back the ttyN terminal.
 
 There also seems to be buffer overflows or conflicts between the mouse
 (on a usb port, usm0), 56k modem (PCI, sio0 remapped to sio4?), and
 printer (lpt0). In ppp, I use /dev/cuad4, despite the fact the modem
 is reported in dmesg as on sio0. Whatever is going on at some lower
 layer, all these devices work with random messages about stray
 irq's---so I am ignoring them at the moment. In other words, I can use
 dial-up, the mouse works, and the printer prints (via lp). Seems good
 enough for the moment.
 
 There have obviously been changes to the 6.2 base install that I don't
 know about that probably account for some of these problems. 
 Unfortunately,
 most of these issues are no covered in the manuals that came with 
 the CDs, or
 the coverage was out of date
 
 Suggestions on where to look, things to check and change would be
 greatly appreciated. At the moment I am more interested in getting
 correct behavior, than I am concerned with security. 
 
 My first priority is getting fetchmail running. Here is the
 fetchmailrc dot file:
 
 defaults proto pop3 
 user mailname 
 poll my.isp.com 
 pass x 
 set daemon 840 
 
 As user, I can run fetchmail at the command line, without an error
 message, but it also doesn't get and deliver any mail. I can send
 email to myself, but I am sure it never leaves the machine. The
 [EMAIL PROTECTED] is correct---so sendmail masquerade is working. For
 example, sendmail does not write: [EMAIL PROTECTED], as it
 would without masquerade.
 
 I changed the permissions on sendmail back to:
 
 $ ll -r-sr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail
 
 from 6.2 default:
 
 $ ll -rwsr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail
 
 I've tried it both ways and niether seems to make any difference.
 
 My general impression is that 6.2 has set up restrictions or modified
 rsh and fetcmail---or perhaps these are fine, but don't interact well
 with older verisons, i.e 4.10. Although I can ftp to my shell
 and down load files. 
 
 Also I updated the ports via ftp as root, and everything took forever,
 but seems to work fine. For example I use Magicfilter which was not in
 the cd's, so from ports/printer, I downloaded Magicfilter, compiled
 and installed it and it works fine as a postscript filter for lpr. 
 
 I know these are quite a few questions, but any suggestions on any of
 them would be much appreciated.
 
 CG
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Old 4.2 user, with 6.2 newbie questions

2007-05-10 Thread Chuck Grimes

I am in the process of moving from 4.2-RELEASE on an old box to
6.2-RELEASE on a new box (Core 2 Duo, DG965WH mobo, GeForce 7600gs,
1G RAM, 400G sata drive). I need to figure out a couple of userland
changes to the default 6.2 installation which took about an hour and
went great.

I have a shell account on my isp which runs 4.10-STABLE. In my old 4.2
box I have fetchmail set to log in, get mail and hand it over to local
sendmail to put it in my local /var/mail/user directory on my old
machine. I also use rsh (I know, don't) to log in to my shell
account. I use my own sendmail to send mail out to various lists on
the old box. I masquerade as my isp in sendmail, which puts the
appropriate user name on my headers.

Ok. In 6.2 box I've turned off local only mail (no submit.cf) and have
sendmail maquerade working. I can send email out as a user, but I can't
retrieve mail on my isp via fetchmail.

I think ppp is configured correctly because I can telnet just fine to
my shell account, but I can't rsh. It hangs after the password has
been sent (yes you are not supposed to need a password with rlogin,
but my isp uses one anyway for minium security). 

If I am root and switch during rsh/rlogin login to my username, I can
get a little further along. I get the first few system announcements
on the shell server, and then the terminal hangs. I have to kill the
rlogin PID to get back the ttyN terminal.

There also seems to be buffer overflows or conflicts between the mouse
(on a usb port, usm0), 56k modem (PCI, sio0 remapped to sio4?), and
printer (lpt0). In ppp, I use /dev/cuad4, despite the fact the modem
is reported in dmesg as on sio0. Whatever is going on at some lower
layer, all these devices work with random messages about stray
irq's---so I am ignoring them at the moment. In other words, I can use
dial-up, the mouse works, and the printer prints (via lp). Seems good
enough for the moment.

There have obviously been changes to the 6.2 base install that I don't
know about that probably account for some of these problems. Unfortunately,
most of these issues are no covered in the manuals that came with the CDs, or
the coverage was out of date

Suggestions on where to look, things to check and change would be
greatly appreciated. At the moment I am more interested in getting
correct behavior, than I am concerned with security. 

My first priority is getting fetchmail running. Here is the
fetchmailrc dot file:

defaults proto pop3 
user mailname 
poll my.isp.com 
pass x 
set daemon 840 

As user, I can run fetchmail at the command line, without an error
message, but it also doesn't get and deliver any mail. I can send
email to myself, but I am sure it never leaves the machine. The
[EMAIL PROTECTED] is correct---so sendmail masquerade is working. For
example, sendmail does not write: [EMAIL PROTECTED], as it
would without masquerade.

I changed the permissions on sendmail back to:

$ ll -r-sr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail

from 6.2 default:

$ ll -rwsr-xr-x  1 root  wheel 583680 Jan 11 23:42  sendmail

I've tried it both ways and niether seems to make any difference.

My general impression is that 6.2 has set up restrictions or modified
rsh and fetcmail---or perhaps these are fine, but don't interact well
with older verisons, i.e 4.10. Although I can ftp to my shell
and down load files. 

Also I updated the ports via ftp as root, and everything took forever,
but seems to work fine. For example I use Magicfilter which was not in
the cd's, so from ports/printer, I downloaded Magicfilter, compiled
and installed it and it works fine as a postscript filter for lpr. 

I know these are quite a few questions, but any suggestions on any of
them would be much appreciated.

CG

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


comparing the default compilr with gcc-4.2

2007-04-02 Thread Gary Kline

Enclosed is one of the first comparsions of gcc-3.4 with no
additional switches and gcc-4.2 with the flags -O3 and
loop-unrolling set.  I'll post a couple more of these; but the
nutshell is that is most cases, gcc-4.x seems to be quite an
improvment.  In this test, I did not try gcc-3.4 with any
optimization or loop tweaking.  Some people may not care about
efficieency.  I'll submit my own runs of a floating point test,
and another of basicly integer and function call tests.

gary



/*
 system gcc, no CFLAGS:

gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
 
 */


   FLOPS C Program (Double Precision), V2.0 18 Dec 1992

   Module ErrorRunTime  MFLOPS
(usec)
 1  4.0146e-13  0.0511273.8293
 2 -1.4166e-13  0.0461151.8889
 3  4.7184e-14  0.0500339.8183
 4 -1.2557e-13  0.0482311.0951
 5 -1.3800e-13  0.1006288.2295
 6  3.2380e-13  0.0743390.0978
 7 -8.4583e-11  0.1231 97.5168
 8  3.4867e-13  0.0791379.4285

   Iterations  =  51200
   NullTime (usec) = 0.0040
   MFLOPS(1)   =   185.4108
   MFLOPS(2)   =   186.1495
   MFLOPS(3)   =   277.3309
   MFLOPS(4)   =   361.6132


/*
  gcc42 with CFLAGF -O3 -funroll-loops

gcc version 4.2.0 20070228 (prerelease)
 
 */



   FLOPS C Program (Double Precision), V2.0 18 Dec 1992

   Module ErrorRunTime  MFLOPS  RT inc/(dec)
(usec)
 1  4.0146e-13  0.0422332.1242  21.09%
 2 -1.4166e-13  0.0399175.5128  15.54%
 3  4.7184e-14  0.0435391.0462  14.94%
 4 -1.2557e-13  0.0436343.7848  10.55%
 5 -1.3800e-13  0.1144253.5990  31.65%
 6  3.2380e-13  0.0818354.6371  17.20%
 7 -8.4583e-11  0.1223 98.1568  01.83%
 8  3.4867e-13  0.0912329.0118  (-27.75%)

   Iterations  =  51200
   NullTime (usec) = 0.0003
   MFLOPS(1)   =   214.0898
   MFLOPS(2)   =   186.6407
   MFLOPS(3)   =   270.9620
   MFLOPS(4)   =   349.9180

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

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


upgrade 4.2-?

2006-10-27 Thread opbc
Greetings to all,
Could someone please tell me how to upgrade my venerable 4.2 to the newer
and cooler version(s)?

Lane?

Z. Wade Hampton
Sheridan, Montana
UNIX PINE 4.21

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


Re: upgrade 4.2-?

2006-10-27 Thread Lane
On Friday 27 October 2006 10:05, opbc wrote:
 Greetings to all,
 Could someone please tell me how to upgrade my venerable 4.2 to the newer
 and cooler version(s)?

 Lane?

 Z. Wade Hampton
 Sheridan, Montana
 UNIX PINE 4.21

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

It just occurred to me that you may only be talking about pine when you talk 
about upgrading.  Is this the case?

Previously I thought you were referring to the kernel version.

Please clarify.

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


Re: upgrade 4.2-?

2006-10-27 Thread Jerry McAllister
On Fri, Oct 27, 2006 at 09:05:14AM -0600, opbc wrote:

 Greetings to all,
 Could someone please tell me how to upgrade my venerable 4.2 to the newer
 and cooler version(s)?

I think you can do a series of successive cvsups and makes and merges
and do it all, but since 4.2 is much different than 6.xx, and since that
would involve several successive updates it might be quicker and easier 
to just back up what you need to save and to a clean new install to the 
latest version.  (That would be 6.1 at the moment, but 6.2 is scheduled 
to be out shortly - schedule says Nov 13).

Then reload what you need from backups and voila, you're ready to run
again. 

Otherwise, read carefully the sections in the FreeBSD handbook on cvsup
and updating and make buildxxx and make installxxx and mergemaster.
Follow those instructions and it will work.

jerry

 
 Lane?
 
 Z. Wade Hampton
 Sheridan, Montana
 UNIX PINE 4.21
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrade 4.2-?

2006-10-27 Thread opbc

Hello Jerry,
Thank you for your response.
I am about to acquire the 6.1 disks from friends in Butte, MT.
That will solve my little problem.

:-)
Grins,
Z. Wade Hampton



On Fri, 27 Oct 2006, Jerry McAllister wrote:

 Date: Fri, 27 Oct 2006 16:38:14 -0400
 From: Jerry McAllister [EMAIL PROTECTED]
 To: opbc [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: upgrade 4.2-?
 
 On Fri, Oct 27, 2006 at 09:05:14AM -0600, opbc wrote:
 
  Greetings to all,
  Could someone please tell me how to upgrade my venerable 4.2 to the newer
  and cooler version(s)?
 
 I think you can do a series of successive cvsups and makes and merges
 and do it all, but since 4.2 is much different than 6.xx, and since that
 would involve several successive updates it might be quicker and easier 
 to just back up what you need to save and to a clean new install to the 
 latest version.  (That would be 6.1 at the moment, but 6.2 is scheduled 
 to be out shortly - schedule says Nov 13).
 
 Then reload what you need from backups and voila, you're ready to run
 again. 
 
 Otherwise, read carefully the sections in the FreeBSD handbook on cvsup
 and updating and make buildxxx and make installxxx and mergemaster.
 Follow those instructions and it will work.
 
 jerry
 
  
  Lane?
  
  Z. Wade Hampton
  Sheridan, Montana
  UNIX PINE 4.21
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Z. Wade Hampton
Sheridan, Montana
UNIX PINE 4.21

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


Newbie: compiled and installed gcc-4.2 but ...

2006-09-02 Thread g
i compiled and installed gcc-4.2 using the instruction on the FreeBSD  
web site.  thanks to kris, who directed me to /usr/ports/lang/ 
gcc ...  and pointed out there was something  unusually wrong with  
what i had done before.


how do i use that version?  when i do gcc -v, i get gcc version 3.4.4  
[FreeBSD] 20050518


i would like to replace this version with the gcc-4.2, or at least  
use the 4.2 version on occasion.


thank everyone,

g.




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


Re: Newbie: compiled and installed gcc-4.2 but ...

2006-09-02 Thread Sean M.
Use gcc42, g++42, etc.

--- g [EMAIL PROTECTED] wrote:

 i compiled and installed gcc-4.2 using the instruction on the FreeBSD
  
 web site.  thanks to kris, who directed me to /usr/ports/lang/ 
 gcc ...  and pointed out there was something  unusually wrong with  
 what i had done before.
 
 how do i use that version?  when i do gcc -v, i get gcc version 3.4.4
  
 [FreeBSD] 20050518
 
 i would like to replace this version with the gcc-4.2, or at least  
 use the 4.2 version on occasion.
 
 thank everyone,
 
 g.
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie: compiled and installed gcc-4.2 but ...

2006-09-02 Thread g

Thanks, Sean.

g.

On Sep 2, 2006, at 2:32 PM, Sean M. wrote:


Use gcc42, g++42, etc.

--- g [EMAIL PROTECTED] wrote:


i compiled and installed gcc-4.2 using the instruction on the FreeBSD

web site.  thanks to kris, who directed me to /usr/ports/lang/
gcc ...  and pointed out there was something  unusually wrong with
what i had done before.

how do i use that version?  when i do gcc -v, i get gcc version 3.4.4

[FreeBSD] 20050518

i would like to replace this version with the gcc-4.2, or at least
use the 4.2 version on occasion.

thank everyone,

g.




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




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


g.




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


Re: Default root password for FreeBSD 4.2-RC2

2005-04-15 Thread Jerry McAllister
 
 Hi,
 
 May I know the default root password for FreeBSD 5.4-RC2? My system
 was previously running FreeBSD 5.3-SECURITY. Then I set the option in
 sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
 accidentally rebooted the server. Now I could no longer access the
 server.

There is none.  
When FreeBSD is first installed, you are offered the option, during
installation, to specify a root password.If that was done, then
that is it.   If not, there is no root password.   You could log in
to root without a password - a dangerous situation which should not
be left that way.

But, the system is also set up by default to disallow a root log-in
from a remote host.   So, you would have to be at the console in 
order to log in as root unless that has been modified.

If you are at the console, you will need to do a boot to single user
mode, do an fsck and then mount needed file systems.  Then you can
set the root password and any config stuff to allow logins as needed.

jerry

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

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


Default root password for FreeBSD 4.2-RC2

2005-04-14 Thread MZaini
Hi,

May I know the default root password for FreeBSD 5.4-RC2? My system
was previously running FreeBSD 5.3-SECURITY. Then I set the option in
sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
accidentally rebooted the server. Now I could no longer access the
server.

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


Re: Default root password for FreeBSD 4.2-RC2

2005-04-14 Thread Abu Khaled
On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
 Hi,
 
 May I know the default root password for FreeBSD 5.4-RC2? My system
 was previously running FreeBSD 5.3-SECURITY. Then I set the option in
 sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
 accidentally rebooted the server. Now I could no longer access the
 server.
 
 Thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Hello...
The answer to you question is on the FreeBSD website. Just read the
FAQ - System Administrations.

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


Re: Default root password for FreeBSD 4.2-RC2

2005-04-14 Thread MZaini
Hi,

Section 10.12 in System Administration only addresses the issue when
the person is on site which is not in my case. Since the default
installation would come with its own /etc/passwd, /etc/group,
/etc/master.passwd, /etc/pwd.db, /etc/spwd.db then I should have been
able to login using the root account that came with the default. True
or not?

On 4/15/05, Abu Khaled [EMAIL PROTECTED] wrote:
 On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
  Hi,
 
  May I know the default root password for FreeBSD 5.4-RC2? My system
  was previously running FreeBSD 5.3-SECURITY. Then I set the option in
  sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
  accidentally rebooted the server. Now I could no longer access the
  server.
 
  Thanks
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 Hello...
 The answer to you question is on the FreeBSD website. Just read the
 FAQ - System Administrations.
 
 --
 Kind regards
 Abu Khaled

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


Re: Default root password for FreeBSD 4.2-RC2

2005-04-14 Thread Abu Khaled
On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
 Hi,
 
 Section 10.12 in System Administration only addresses the issue when
 the person is on site which is not in my case. Since the default
 installation would come with its own /etc/passwd, /etc/group,
 /etc/master.passwd, /etc/pwd.db, /etc/spwd.db then I should have been
 able to login using the root account that came with the default. True
 or not?
 
 On 4/15/05, Abu Khaled [EMAIL PROTECTED] wrote:
  On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
   Hi,
  
   May I know the default root password for FreeBSD 5.4-RC2? My system
   was previously running FreeBSD 5.3-SECURITY. Then I set the option in
   sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
   accidentally rebooted the server. Now I could no longer access the
   server.
  
   Thanks
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
  Hello...
  The answer to you question is on the FreeBSD website. Just read the
  FAQ - System Administrations.
 
  --
  Kind regards
  Abu Khaled
 
 

AFAIK there is no default root password.
I checked the default files and didn't find any. It's blank.
-
# $FreeBSD: /repoman/r/ncvs/src/etc/master.passwd,v 1.39 2004/08/01
21:33:47 markm Exp $
#
root::0:0::0:0:Charlie :/root:/bin/csh
..
-

hmmm. Does hitting Enter without entering a password work ?!
Sorry I really don't know.

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


Re: Default root password for FreeBSD 4.2-RC2

2005-04-14 Thread Kevin Kinsey
Abu Khaled wrote:
On 4/15/05, MZaini [EMAIL PROTECTED] wrote:
 

Hi,
Section 10.12 in System Administration only addresses the issue when
the person is on site which is not in my case. Since the default
installation would come with its own /etc/passwd, /etc/group,
/etc/master.passwd, /etc/pwd.db, /etc/spwd.db then I should have been
able to login using the root account that came with the default. True
or not?
   

And with the default /etc/ssh/sshd_config, if you are _not_ at
the console, root logins are _not_ allowed.  Period*.
However, if you had another account from which to
log in to the system, it should not have been deleted,
AFAIK, unless you made a mistake while using mergemaster. 

Kevin Kinsey
*Unless you have specifically enabled them, which is
absolutely _not_ considered a Good Thing(tm).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DRAC with BerkeleyDB 4.2

2005-03-31 Thread Mark

 -Original Message-
 From: Mark [mailto:[EMAIL PROTECTED] 
 Sent: dinsdag 29 maart 2005 19:15
 To: 'FreeBSD-Questions Questions'
 Subject: DRAC with BerkeleyDB 4.2
 
 Hello,
 
 I recently compiled sendmail 8.13.3 for BerkeleyDB 4.2; and everything
 works fine, except that my pophash database (DRAC) is apparently no
 longer read/honored by sendmail.
 
 So, does anyone know how to compile drac-1.12_3 for use with 
 BerkeleyDB 4.2? (FreeBSD 4.10-R). The Makefile offers no options for
 that.

Perhaps it is too early for a 'booster' message, but I was really hoping
someone out there has done this before.

Thanks,

- Mark

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


DRAC with BerkeleyDB 4.2

2005-03-29 Thread Mark

Hello,

I recently compiled sendmail 8.13.3 for BerkeleyDB 4.2; and everything
works fine, except that my pophash database (DRAC) is apparently no longer
read/honored by sendmail.

So, does anyone know how to compile drac-1.12_3 for use with BerkeleyDB
4.2? (FreeBSD 4.10-R). The Makefile offers no options for that.

Thanks,

- Mark

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


Re: unsuccessful upgrade from 4.2 to 4.10 through cvsup+make world

2004-12-22 Thread Lowell Gilbert
Zachary Huang [EMAIL PROTECTED] writes:

 the CVSUP must have worked since  the directory /usr/home/ncvs has these 
 files:
 325587  bytes:
 
 cyber# ls -l
 -rw-r--r--1 root  user   6355 Apr 30  2004 COPYRIGHT
 -rw-r--r--1 root  user   8480 Apr 16  2003 Makefile
 -rw-r--r--1 root  user  24190 May 25  2004 Makefile.inc1
 -rw-r--r--1 root  user   9761 Aug 27  1999 Makefile.upgrade
 -rw-r--r--1 root  user   2699 Apr 26  2002 README
 -rw-r--r--1 root  user  44963 Dec  1 16:35 UPDATING
 drwxr-xr-x   32 root  user512 Dec 21 20:32 bin
 drwxr-xr-x   46 root  user   1024 Dec 21 20:44 contrib
 drwxr-xr-x7 root  user512 Dec 21 20:48 crypto
 drwxr-xr-x   14 root  user   2048 Dec 21 20:48 etc
 drwxr-xr-x   41 root  user   1024 Dec 21 20:49 games
 drwxr-xr-x6 root  user512 Dec 21 20:51 gnu
 drwxr-xr-x6 root  user   1536 Dec 21 20:51 include
 drwxr-xr-x7 root  user512 Dec 21 20:51 kerberos5
 drwxr-xr-x8 root  user512 Dec 21 20:51 kerberosIV
 drwxr-xr-x   57 root  user   1536 Dec 21 20:54 lib
 drwxr-xr-x   35 root  user   1024 Dec 21 20:54 libexec
 drwxr-xr-x   10 root  user512 Dec 21 20:55 release
 drwxr-xr-x   82 root  user   1536 Dec 21 20:55 sbin
 drwxr-xr-x6 root  user512 Dec 21 20:55 secure
 drwxr-xr-x   23 root  user512 Dec 21 20:57 share
 drwxr-xr-x   49 root  user   1024 Dec 21 21:06 sys
 drwxr-xr-x8 root  user512 Dec 21 21:06 tools
 drwxr-xr-x  221 root  user   3584 Dec 21 21:08 usr.bin
 drwxr-xr-x  157 root  user   3072 Dec 21 21:10 usr.sbin
 
 so why were not the binary files updated?

What did you actually do, what results did you expect, and what was
the first place where the results you got were different?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrading from 4.2 to 4.10, succeeded, but still boots 4.2! Help!!!

2004-12-21 Thread Zachary Huang
OK, my old questions might be too simple and I did not get much help from here. 
My old system was 4.2 and I was trying to upgrade to 4.10.  (hardware:
K2-6 350 MHz with 384 meg and 20 gig)

here is what I managed to do:

1). cvsup to RELENG_4_10
here is the supfile

*default host=ftp5.FreeBSD.org
*default base=/usr
*default prefix=/home/ncvs
*default release=cvs tag=RELENG_4_10
*default delete use-rel-suffix
src-all
ports-all

which seemed to be successful (did not see the final message because
too many spams filling on my screen, but it was going for a good 30
min -- could it have stopped in the middle?)  -- how do I stop the
rejected spams showing on the console? very annoying.

2). then I proceeded to  follow the book:
make buildworld 
(config MYKERNEL --this was not in the book)**this should not
mess things up?
make buildkernel KERNEL=MYkernel
make installkernel KERNEL=MYkernel
reboot  (in single user) [1]
make installworld
mergemaster
reboot

no error messages doing all the above steps.

3). I noticed that after reboot the machine was still showing:

cyber# dmesg
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the Uni
versity of California. All rights reserved.
FreeBSD 4.2-RELEASE #1: Thu Dec 16 08:53:22 EST 2004

4). So I recompiled the kernel by doing:
 cd /usr/src/sys/i386/conf
 /usr/sbin/config Mykernel
/cd ../../compile/Mykernel
make depend
make
make install

5). after reboot, I still see the same 4.2. RELEASE! 

6). indeed. all the files in /usr/src seems to be the same as before updating...

-rw-r--r--1 root  wheel   4735 Sep  5  1999 COPYRIGHT
drwxr-xr-x2 root  wheel512 Sep 11  2001 CVS
-rw-r--r--1 root  wheel   7257 Nov  7  2000 Makefile
-rw-r--r--1 root  wheel  24600 Nov 11  2000 Makefile.inc1
-rw-r--r--1 root  wheel   9761 Aug 27  1999 Makefile.upgrade
-rw-r--r--1 root  wheel   2642 Oct 27  2000 README
-rw-r--r--1 root  wheel  30679 Nov 16  2000 UPDATING
drwxr-xr-x   32 root  wheel512 Sep 11  2001 bin
drwxr-xr-x   40 root  wheel   1024 Sep 11  2001 contrib
drwxr-xr-x7 root  wheel512 Dec 19 05:05 crypto
drwxr-xr-x   14 root  wheel   1536 Sep 11  2001 etc
drwxr-xr-x   41 root  wheel   1024 Sep 11  2001 games
drwxr-xr-x7 root  wheel512 Sep 11  2001 gnu
drwxr-xr-x6 root  wheel   1536 Sep 11  2001 include
drwxr-xr-x7 root  wheel512 Dec 19 05:05 kerberos5
drwxr-xr-x8 root  wheel512 Dec 19 05:05 kerberosIV
drwxr-xr-x   55 root  wheel   1024 Sep 11  2001 lib
drwxr-xr-x   33 root  wheel   1024 Sep 11  2001 libexec
drwxr-xr-x8 root  wheel512 Sep 11  2001 release
drwxr-xr-x   74 root  wheel   1536 Sep 11  2001 sbin
drwxr-xr-x6 root  wheel512 Dec 19 05:05 secure
drwxr-xr-x   20 root  wheel512 Sep 11  2001 share
drwxr-xr-x   46 root  wheel   1024 Sep 11  2001 sys
drwxr-xr-x8 root  wheel512 Sep 11  2001 tools
drwxr-xr-x  211 root  wheel   3584 Sep 11  2001 usr.bin
drwxr-xr-x  153 root  wheel   3072 Sep 11  2001 usr.sbin

7). Can someone here tell me what I did wrong?  I was not sure if
cvsup grabbed the right source or not, but usually when I was playing
the tag before, it would give me error messages if the tag was not
correct.

Thanks so much and happy holidays!

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


unsuccessful upgrade from 4.2 to 4.10 through cvsup+make world

2004-12-21 Thread Zachary Huang
the CVSUP must have worked since  the directory /usr/home/ncvs has these files:
325587  bytes:

cyber# ls -l
-rw-r--r--1 root  user   6355 Apr 30  2004 COPYRIGHT
-rw-r--r--1 root  user   8480 Apr 16  2003 Makefile
-rw-r--r--1 root  user  24190 May 25  2004 Makefile.inc1
-rw-r--r--1 root  user   9761 Aug 27  1999 Makefile.upgrade
-rw-r--r--1 root  user   2699 Apr 26  2002 README
-rw-r--r--1 root  user  44963 Dec  1 16:35 UPDATING
drwxr-xr-x   32 root  user512 Dec 21 20:32 bin
drwxr-xr-x   46 root  user   1024 Dec 21 20:44 contrib
drwxr-xr-x7 root  user512 Dec 21 20:48 crypto
drwxr-xr-x   14 root  user   2048 Dec 21 20:48 etc
drwxr-xr-x   41 root  user   1024 Dec 21 20:49 games
drwxr-xr-x6 root  user512 Dec 21 20:51 gnu
drwxr-xr-x6 root  user   1536 Dec 21 20:51 include
drwxr-xr-x7 root  user512 Dec 21 20:51 kerberos5
drwxr-xr-x8 root  user512 Dec 21 20:51 kerberosIV
drwxr-xr-x   57 root  user   1536 Dec 21 20:54 lib
drwxr-xr-x   35 root  user   1024 Dec 21 20:54 libexec
drwxr-xr-x   10 root  user512 Dec 21 20:55 release
drwxr-xr-x   82 root  user   1536 Dec 21 20:55 sbin
drwxr-xr-x6 root  user512 Dec 21 20:55 secure
drwxr-xr-x   23 root  user512 Dec 21 20:57 share
drwxr-xr-x   49 root  user   1024 Dec 21 21:06 sys
drwxr-xr-x8 root  user512 Dec 21 21:06 tools
drwxr-xr-x  221 root  user   3584 Dec 21 21:08 usr.bin
drwxr-xr-x  157 root  user   3072 Dec 21 21:10 usr.sbin

so why were not the binary files updated?

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


Re: upgrading from 4.2 to 4.10, succeeded, but still boots 4.2! Help!!!

2004-12-21 Thread Kent Stewart
On Tuesday 21 December 2004 10:26 pm, Zachary Huang wrote:
 OK, my old questions might be too simple and I did not get much help
 from here. My old system was 4.2 and I was trying to upgrade to 4.10.
  (hardware: K2-6 350 MHz with 384 meg and 20 gig)

 here is what I managed to do:

 1). cvsup to RELENG_4_10
 here is the supfile

 *default host=ftp5.FreeBSD.org
 *default base=/usr
 *default prefix=/home/ncvs
 *default release=cvs tag=RELENG_4_10
 *default delete use-rel-suffix
 src-all
 ports-all

 which seemed to be successful (did not see the final message because
 too many spams filling on my screen, but it was going for a good 30
 min -- could it have stopped in the middle?)  -- how do I stop the
 rejected spams showing on the console? very annoying.

 2). then I proceeded to  follow the book:
 make buildworld
 (config MYKERNEL --this was not in the book)**this should not
 mess things up?
 make buildkernel KERNEL=MYkernel
 make installkernel KERNEL=MYkernel
 reboot  (in single user) [1]
 make installworld
 mergemaster
 reboot

 no error messages doing all the above steps.

 3). I noticed that after reboot the machine was still showing:

 cyber# dmesg
 Copyright (c) 1992-2000 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
 1994 The Regents of the Uni
 versity of California. All rights reserved.
 FreeBSD 4.2-RELEASE #1: Thu Dec 16 08:53:22 EST 2004

 4). So I recompiled the kernel by doing:
  cd /usr/src/sys/i386/conf
  /usr/sbin/config Mykernel
 /cd ../../compile/Mykernel
 make depend
 make
 make install

 5). after reboot, I still see the same 4.2. RELEASE!

 6). indeed. all the files in /usr/src seems to be the same as before
 updating...

 -rw-r--r--1 root  wheel   4735 Sep  5  1999 COPYRIGHT
 drwxr-xr-x2 root  wheel512 Sep 11  2001 CVS
 -rw-r--r--1 root  wheel   7257 Nov  7  2000 Makefile
 -rw-r--r--1 root  wheel  24600 Nov 11  2000 Makefile.inc1
 -rw-r--r--1 root  wheel   9761 Aug 27  1999 Makefile.upgrade
 -rw-r--r--1 root  wheel   2642 Oct 27  2000 README
 -rw-r--r--1 root  wheel  30679 Nov 16  2000 UPDATING
 drwxr-xr-x   32 root  wheel512 Sep 11  2001 bin
 drwxr-xr-x   40 root  wheel   1024 Sep 11  2001 contrib
 drwxr-xr-x7 root  wheel512 Dec 19 05:05 crypto
 drwxr-xr-x   14 root  wheel   1536 Sep 11  2001 etc
 drwxr-xr-x   41 root  wheel   1024 Sep 11  2001 games
 drwxr-xr-x7 root  wheel512 Sep 11  2001 gnu
 drwxr-xr-x6 root  wheel   1536 Sep 11  2001 include
 drwxr-xr-x7 root  wheel512 Dec 19 05:05 kerberos5
 drwxr-xr-x8 root  wheel512 Dec 19 05:05 kerberosIV
 drwxr-xr-x   55 root  wheel   1024 Sep 11  2001 lib
 drwxr-xr-x   33 root  wheel   1024 Sep 11  2001 libexec
 drwxr-xr-x8 root  wheel512 Sep 11  2001 release
 drwxr-xr-x   74 root  wheel   1536 Sep 11  2001 sbin
 drwxr-xr-x6 root  wheel512 Dec 19 05:05 secure
 drwxr-xr-x   20 root  wheel512 Sep 11  2001 share
 drwxr-xr-x   46 root  wheel   1024 Sep 11  2001 sys
 drwxr-xr-x8 root  wheel512 Sep 11  2001 tools
 drwxr-xr-x  211 root  wheel   3584 Sep 11  2001 usr.bin
 drwxr-xr-x  153 root  wheel   3072 Sep 11  2001 usr.sbin

 7). Can someone here tell me what I did wrong?  I was not sure if
 cvsup grabbed the right source or not, but usually when I was playing
 the tag before, it would give me error messages if the tag was not
 correct.


I bet you have a /home/ncvs/src with all of the 4.10 stuff in it :)

Kent
-- 
Kent Stewart
Richland, WA

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


Re: upgrading from 4.2 to 4.10, succeeded, but still boots 4.2! Help!!!

2004-12-21 Thread Giorgos Keramidas
On 2004-12-22 01:26, Zachary Huang [EMAIL PROTECTED] wrote:
 My old system was 4.2 and I was trying to upgrade to 4.10.

 here is what I managed to do:

 1). cvsup to RELENG_4_10
 here is the supfile

 *default host=ftp5.FreeBSD.org
 *default base=/usr
 *default prefix=/home/ncvs
 *default release=cvs tag=RELENG_4_10
 *default delete use-rel-suffix
 src-all
 ports-all

 which seemed to be successful (did not see the final message because
 too many spams filling on my screen, but it was going for a good 30
 min -- could it have stopped in the middle?)  -- how do I stop the
 rejected spams showing on the console? very annoying.

Hint:

This is probably a result of syslog sending the messages to
`/dev/console', which is ttyv0 after you have booted.  The way I see it,
you have two options:

1. Do not login on ttyv0.
2. Redirect the syslog messages to some other vty (i.e. ttyvb)

On systems where I can actually sit in front of the machine, having
access to all the vtys, I usually replace /dev/console with /dev/ttyvb
in syslog.conf.  This still lets me read the messages by hitting ALT+F12
but doesn't clutter the terminals where I may actually login with syslog
messages.

Having said that, pay careful attention to the subtle difference of
base and prefix.  If you really used _this_ supfile shown above,
it seems that you have downloaded a new source tree under /home/ncvs :-)

 2). then I proceeded to  follow the book:
 make buildworld
 (config MYKERNEL --this was not in the book)**this should not
 mess things up?
 make buildkernel KERNEL=MYkernel
 make installkernel KERNEL=MYkernel
 reboot  (in single user) [1]
 make installworld
 mergemaster
 reboot

 no error messages doing all the above steps.

The `config MYKERNEL' part is redundant (not to mention error-prone, if
you are not relatively familiar with the FreeBSD kernel build process).
The buildkernel target handles that just fine.

I noticed that you used MYKERNEL as the kernel config name in the
first command, but MYkernel in the rest.  Capitalization of the kernel
configuration file name *does* matter.

 4). So I recompiled the kernel by doing:
  cd /usr/src/sys/i386/conf
  /usr/sbin/config Mykernel
 /cd ../../compile/Mykernel
 make depend
 make
 make install

Comments about capitalization of Mykernel apply here too.

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


Re: upgrading from 4.2 to 4.10, succeeded, but still boots 4.2! Help!!!

2004-12-21 Thread Joshua Tinnin
On Wed, Dec 22, 2004 at 01:26:17AM -0500, Zachary Huang wrote:
 OK, my old questions might be too simple and I did not get much help from 
 here. 
 My old system was 4.2 and I was trying to upgrade to 4.10.  (hardware:
 K2-6 350 MHz with 384 meg and 20 gig)
 
 here is what I managed to do:
 
 1). cvsup to RELENG_4_10
 here is the supfile
 
 *default host=ftp5.FreeBSD.org
 *default base=/usr
 *default prefix=/home/ncvs
 *default release=cvs tag=RELENG_4_10
 *default delete use-rel-suffix
 src-all
 ports-all

In order to update the ports tree, you have to specify a tag like
ports-all tag=. Anyway ...

 which seemed to be successful (did not see the final message because
 too many spams filling on my screen, but it was going for a good 30
 min -- could it have stopped in the middle?)  -- how do I stop the
 rejected spams showing on the console? very annoying.

You can configure this in /etc/syslog.conf

You can also log what happened by directing output to a file, like:

# cvsup -g -L 2 /path/to/supfile  /var/log/cvsup.log
 
 2). then I proceeded to  follow the book:
 make buildworld 
 (config MYKERNEL --this was not in the book)**this should not
 mess things up?

I honestly don't know. 

 make buildkernel KERNEL=MYkernel
 make installkernel KERNEL=MYkernel

That should be KERNCONF. That's important. If you get that wrong, it
will compile a GENERIC kernel.

As for why it didn't update, I suspect that it didn't actually update
your source. Try cvsupping again, and this time log what happens. If a
lot of source is changed, then you can be pretty sure you never updated
it the first time.

- jt

 reboot  (in single user) [1]
 make installworld
 mergemaster
 reboot
 
 no error messages doing all the above steps.
 
 3). I noticed that after reboot the machine was still showing:
 
 cyber# dmesg
 Copyright (c) 1992-2000 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the Uni
 versity of California. All rights reserved.
 FreeBSD 4.2-RELEASE #1: Thu Dec 16 08:53:22 EST 2004
 
 4). So I recompiled the kernel by doing:
  cd /usr/src/sys/i386/conf
  /usr/sbin/config Mykernel
 /cd ../../compile/Mykernel
 make depend
 make
 make install
 
 5). after reboot, I still see the same 4.2. RELEASE! 
 
 6). indeed. all the files in /usr/src seems to be the same as before 
 updating...
 
 -rw-r--r--1 root  wheel   4735 Sep  5  1999 COPYRIGHT
 drwxr-xr-x2 root  wheel512 Sep 11  2001 CVS
 -rw-r--r--1 root  wheel   7257 Nov  7  2000 Makefile
 -rw-r--r--1 root  wheel  24600 Nov 11  2000 Makefile.inc1
 -rw-r--r--1 root  wheel   9761 Aug 27  1999 Makefile.upgrade
 -rw-r--r--1 root  wheel   2642 Oct 27  2000 README
 -rw-r--r--1 root  wheel  30679 Nov 16  2000 UPDATING
 drwxr-xr-x   32 root  wheel512 Sep 11  2001 bin
 drwxr-xr-x   40 root  wheel   1024 Sep 11  2001 contrib
 drwxr-xr-x7 root  wheel512 Dec 19 05:05 crypto
 drwxr-xr-x   14 root  wheel   1536 Sep 11  2001 etc
 drwxr-xr-x   41 root  wheel   1024 Sep 11  2001 games
 drwxr-xr-x7 root  wheel512 Sep 11  2001 gnu
 drwxr-xr-x6 root  wheel   1536 Sep 11  2001 include
 drwxr-xr-x7 root  wheel512 Dec 19 05:05 kerberos5
 drwxr-xr-x8 root  wheel512 Dec 19 05:05 kerberosIV
 drwxr-xr-x   55 root  wheel   1024 Sep 11  2001 lib
 drwxr-xr-x   33 root  wheel   1024 Sep 11  2001 libexec
 drwxr-xr-x8 root  wheel512 Sep 11  2001 release
 drwxr-xr-x   74 root  wheel   1536 Sep 11  2001 sbin
 drwxr-xr-x6 root  wheel512 Dec 19 05:05 secure
 drwxr-xr-x   20 root  wheel512 Sep 11  2001 share
 drwxr-xr-x   46 root  wheel   1024 Sep 11  2001 sys
 drwxr-xr-x8 root  wheel512 Sep 11  2001 tools
 drwxr-xr-x  211 root  wheel   3584 Sep 11  2001 usr.bin
 drwxr-xr-x  153 root  wheel   3072 Sep 11  2001 usr.sbin
 
 7). Can someone here tell me what I did wrong?  I was not sure if
 cvsup grabbed the right source or not, but usually when I was playing
 the tag before, it would give me error messages if the tag was not
 correct.
 
 Thanks so much and happy holidays!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrading from 4.2 to 4.10

2004-12-19 Thread Zachary Huang
So my system seems to be messed up (see previous messages).  I tried
cvsup to the old system 4.2 and it did not fix the problem.  Today I
tried upgrading using my old 4.2 CD (sysinstall again) but still get
many sendmail error messages (but seems to be sending and receiving
mails file).

1). what is the best way to fix this? I plan to buy the 4.10 Release
CDs, but then what? I boot the system with CD and do upgrade, but
/usr/src will not be changed. is it safe to remove /usr/src first?

2). I do not quite understand if one need to boot into the new system
(4.10) or not, after cvsup to a new source (say 4.10), before doing
the make buildworld. The book does not say so , so I assume not.

3). the FreeBSD book says I need to make sure all the ports are up to
date before installing JAVA but when I got the ports from 4.10 on a
4.8 system (a differen machine), I had trouble installing Linux
Runtime Lib.  So I am confused when the book says up to date, does it
mean to the same release? (i.e. I should have got ports from 4.8 since
my system is 4.8).

Thanks, 

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


Strangeness with FreeBSD 4.2 and CVSUP install

2004-11-17 Thread Ralph
Hey, I have an ancicent box I've inherited, output of
uname -a is:
  bash-2.04# uname -a
FreeBSD dropbox.. 4.2-RELEASE FreeBSD
4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC 
i386

 Obviously, she's got a few miles on her, and cvsup
wasn't installed.  I downloaded the tarball from the
FreeBSD ftp server, untar'd it, and tried to do a make
install, then got this ugliness:

error
  gzip -cn pkg_version.1  pkg_version.1.gz
===  Installing for pkg_install-20040802
===   Generating temporary packing list
ln: illegal option -- h
usage: ln [-fisv] file1 file2
   ln [-fisv] file ... directory
   link file1 file2
*** Error code 1
 
Stop in /usr/ports/sysutils/pkg_install.
*** Error code 1
 
Stop in /usr/ports/textproc/sed_inplace.
*** Error code 1
 
Stop in /usr/ports/lang/ezm3.
*** Error code 1
 
Stop in /usr/ports/net/cvsup.

/error

Can someone help?

Thanks in advance.



__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

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


Re: Strangeness with FreeBSD 4.2 and CVSUP install

2004-11-17 Thread Kevin D. Kinsey, DaleCo, S.P.
Ralph wrote:
Hey, I have an ancicent box I've inherited, output of
uname -a is:
 bash-2.04# uname -a
FreeBSD dropbox.. 4.2-RELEASE FreeBSD
4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC 
i386

Obviously, she's got a few miles on her, and cvsup
wasn't installed.  I downloaded the tarball from the
FreeBSD ftp server, untar'd it, and tried to do a make
install, then got this ugliness:
error
 gzip -cn pkg_version.1  pkg_version.1.gz
===  Installing for pkg_install-20040802
===   Generating temporary packing list
ln: illegal option -- h
usage: ln [-fisv] file1 file2
  ln [-fisv] file ... directory
  link file1 file2
*** Error code 1
Stop in /usr/ports/sysutils/pkg_install.
*** Error code 1
Stop in /usr/ports/textproc/sed_inplace.
*** Error code 1
Stop in /usr/ports/lang/ezm3.
*** Error code 1
Stop in /usr/ports/net/cvsup.
/error
Can someone help?
Thanks in advance.
 

Tried pkg_add?  Probably won't work as it's
unlikely to find packages dated from that time,
but might be worth a shot, as it would only
take a second to try.
You might try looking around for a cvsup
version that's contemporary to the boxen
and going from there.  But a quick Google
doesn't show it to me.  OTOH, it's likely to
need to be stepping stoned quite a bit anyway,
so what not backup the data and do a
clean install of 4.10 or 5.3?
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: Strangeness with FreeBSD 4.2 and CVSUP install

2004-11-17 Thread Kris Kennaway
On Wed, Nov 17, 2004 at 08:36:06AM -0800, Ralph wrote:

  Obviously, she's got a few miles on her, and cvsup
 wasn't installed.  I downloaded the tarball from the
 FreeBSD ftp server, untar'd it, and tried to do a make
 install, then got this ugliness:

The error is because of the vintage of your release, as you can
probably guess (ln -h was added after 4.2)

You can try downloading a cvsup package for a later 4.x release, but
this may not work.  It's worth trying though.

Kris


pgphvPJdHMoJM.pgp
Description: PGP signature


Re: 4.2 - 5.2 passwd format change?

2004-08-05 Thread Peter N. M. Hansteen
Lowell Gilbert [EMAIL PROTECTED] writes:

 I've moved password entries from 4.x to 5.x with no problem.
 
 Did you remember to rebuild the database?

er, it seems that was the problem, exactly. Thanks!

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/   http://www.datadok.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


4.2 - 5.2 passwd format change?

2004-08-04 Thread Peter N. M. Hansteen
I'm in the process of moving users from a 4.2 machine to an updated
setup using 5.2.1. There appears to have been some changes in the
password format (as in the users are not able to log in to the test
system), and the main reference I find is this entry in
/usr/src/UPDATING:

2928:
There was a change in the passwd format.  Need more information.

Any pointers appreciated.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/   http://www.datadok.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: 4.2 - 5.2 passwd format change?

2004-08-04 Thread Chris
Peter N. M. Hansteen wrote:
I'm in the process of moving users from a 4.2 machine to an updated
setup using 5.2.1. There appears to have been some changes in the
password format (as in the users are not able to log in to the test
system), and the main reference I find is this entry in
/usr/src/UPDATING:
2928:
There was a change in the passwd format.  Need more information.
Any pointers appreciated.
Perhaps your best and safest way to upgrade would be to upgrade from 4.2 
to 4.10, then from 4.10 to 5.2.1 - keeping in mind that 5.2.1 is still 
very much experimental.

Perhaps an upgrade from 4.2 - 4.10 and waiting until 5.3-REL comes out 
might be a better suggestion?

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


Re: 4.2 - 5.2 passwd format change?

2004-08-04 Thread Svein Halvor Halvorsen

[Peter N. M. Hansteen, 2004-08-04]
  I'm in the process of moving users from a 4.2 machine to an updated
  setup using 5.2.1. There appears to have been some changes in the
  password format (as in the users are not able to log in to the test
  system), and the main reference I find is this entry in
  /usr/src/UPDATING:


I'm not sure what the change involves (I think they're both version 7),
but the current format is described in passwd(5).

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


Re: 4.2 - 5.2 passwd format change?

2004-08-04 Thread Lowell Gilbert
[EMAIL PROTECTED] (Peter N. M. Hansteen) writes:

 I'm in the process of moving users from a 4.2 machine to an updated
 setup using 5.2.1. There appears to have been some changes in the
 password format (as in the users are not able to log in to the test
 system), and the main reference I find is this entry in
 /usr/src/UPDATING:
 
 2928:
 There was a change in the passwd format.  Need more information.
 
 Any pointers appreciated.

I've moved password entries from 4.x to 5.x with no problem.

Did you remember to rebuild the database?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BerkeleyDB 4.2

2004-07-25 Thread Gerard Seibert
I have tried to locate the latest version of the BerkeleyDB. It is version 
4.2 I believe. I cannot find it in the ports collection. If it is in fact 
not available through the ports collection, would it be all right to just 
download the program and install it?

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


Re: BerkeleyDB 4.2

2004-07-25 Thread Karol Kwiatkowski
Gerard Seibert wrote:
 I have tried to locate the latest version of the BerkeleyDB. It is version 
 4.2 I believe. I cannot find it in the ports collection.

A quick search gives me:

orchid# cd /usr/ports
orchid# make search name=db42
Port:   db42-4.2.52_2
Path:   /usr/ports/databases/db42
Info:   The Berkeley DB package, revision 4.2
Maint:  [EMAIL PROTECTED]
B-deps: libtool-1.5.2_1
R-deps:

Port:   db42-nocrypto-4.2.52_2
Path:   /usr/ports/databases/db42-nocrypto
Info:   The Berkeley DB package, revision 4.2
Maint:  [EMAIL PROTECTED]
B-deps: libtool-1.5.2_1
R-deps:


If I'm not sure about a port name I find ports site very useful:
http://www.freebsd.org/ports/index.html

Cheers,

Karol

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


Re: BerkeleyDB 4.2

2004-07-25 Thread Gerard Seibert
On Sunday, July 25, 2004 1:46:04 PM Karol Kwiatkowski [EMAIL PROTECTED] wrote:

|Date: Sun, 25 Jul 2004 14:39:45 +0200
|From: Karol Kwiatkowski [EMAIL PROTECTED]
|Subject: Re: BerkeleyDB 4.2
|To: Gerard Seibert [EMAIL PROTECTED]
|Cc: [EMAIL PROTECTED]
|Message-ID: [EMAIL PROTECTED]
|Content-Type: text/plain; charset=us-ascii
|
|Gerard Seibert wrote:
| I have tried to locate the latest version of the BerkeleyDB. It is version 
| 4.2 I believe. I cannot find it in the ports collection.
|
|A quick search gives me:
|
|orchid# cd /usr/ports
|orchid# make search name=db42
|Port:   db42-4.2.52_2
|Path:   /usr/ports/databases/db42
|Info:   The Berkeley DB package, revision 4.2
|Maint:  [EMAIL PROTECTED]
|B-deps: libtool-1.5.2_1
|R-deps:
|
|Port:   db42-nocrypto-4.2.52_2
|Path:   /usr/ports/databases/db42-nocrypto
|Info:   The Berkeley DB package, revision 4.2
|Maint:  [EMAIL PROTECTED]
|B-deps: libtool-1.5.2_1
|R-deps:
|
|
|If I'm not sure about a port name I find ports site very useful:
|http://www.freebsd.org/ports/index.html
|
|Cheers,
|
|Karol
|
|-- 
|Karol Kwiatkowski  freebsd at orchid dot homeunix dot org


** Reply Separator **
Sunday, July 25, 2004 5:32:27 PM

Yes, you are correct. I was looking for:

1) BerkeleyDB
2) BerkeleyDB 4.2
3) SleepyCat

and a few other variants. I never thought to just try DB or DB42.

Thanks

Gerard Seibert
[EMAIL PROTECTED]


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


Re: upgrading form 4.2 to 5.x

2004-07-18 Thread Wojciech Puchar
 Brent Bailey writes:

   The customer is running a file server samba also running apache
   running FBSD 4.2, he wants to upgrade using cvsup  the make
   buildworld procedure to upgrade to 5.x.

why they want an upgrade as 4.2 works fine?

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


Re: upgrading form 4.2 to 5.x

2004-07-18 Thread Matthew Seaman
On Sun, Jul 18, 2004 at 01:15:21PM +0200, Wojciech Puchar wrote:
  Brent Bailey writes:
 
The customer is running a file server samba also running apache
running FBSD 4.2, he wants to upgrade using cvsup  the make
buildworld procedure to upgrade to 5.x.
 
 why they want an upgrade as 4.2 works fine?
 
 smells like windows.

True.  Upgrading just for the sake of it is not sensible.  However
there are plenty of valid reasons for wanting to upgrade:

   - Security Advisories: often these will be backported to earlier
 versions, but the only versions where patches will definitely be
 provided are the versions listed as 'supported' on

http://www.freebsd.org/releng/index.html

 Generally any release will be supported for a year from release,
 but there are exceptions.  For instance, 4.8-RELEASE was recently
 announced to have an extended support period which means that it
 will be covered for longer than 4.9-RELEASE and about as long as
 4.10-RELEASE, and the earlier developer preview 5.x-RELEASEs
 weren't supported beyond the next DP release.

   - Ports: These are only really guaranteed to work on the latest 4.x
 or 5.x release, as limited resources mean that those are the only
 OS versions where packages can be built en mass.  While porters
 will not gratuitously break compatability with earlier system
 versions, sometimes this will happen.  New features and bug fixes
 in the compiler tool chain, make(1), the pkg_foo tools and so
 forth can also break compatability with earlier versions.

   - Hardware support: 4.2-RELEASE came out in November 2000.  The
 rate of change in computer hardware since then has been very
 large.  Should one of those servers bite the dust, it's quite
 possible that 4.2-RELEASE wouldn't support the hardware available
 on a replacement system.  Better to do an upgrade calmly and
 carefully and without undue pressure rather than having to rush
 it through to get a replacement system back into production as
 soon as possible.

Now, the question of having to upgrade all the way to 5.x, and
requiring that the upgrade is done in place by the usual
{build,install}{world,kernel} mechanism is a different matter.  My
advice would be to avoid that as likely to cause more trouble than it
really warrants.  The best mechanism for doing this sort of thing is
to start with a spare system, do a clean install of whatever OS
version is chosen (sizing all of the partitions etc. according to the
experience gained with the older systems) and build and configure all
of the required software from scratch.  This will allow you to run the
new system in parallel with the old for testing purposes, and gives
you an easy route to back out the upgrade should it cause problems.

The procedure would be to upgrade each system this manner, and use
each old set of hardware as the spare to build the replacement for the
next system in turn.  

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


pgpDhxk8LjmQs.pgp
Description: PGP signature


upgrading form 4.2 to 5.x

2004-07-17 Thread Brent Bailey
Hello,
My company has been asked to help with the upgrade of several Freebsd
systems that are pretty old. The customer is running a file server samba
also running apache running FBSD 4.2,  he wants to upgrade using cvsup 
the make buildworld procedure to upgrade to 5.x. Im very familier with the
make buildworld procedure however there have been significant changes
between 4.2  5.x  so is this something that can be done without many
problems ? Aside from reading throught the /usr/src/UPDATING file are
there things i should look out for being that the 2 versions are so
differrent.

personally i would recommend going to the lastest stable release 4.10-p2

I welcome this lists thoughts  opions on this matter

thank in advance for any help :-)
-- 
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http://www.bmyster.com
[EMAIL PROTECTED]
207-247-8330



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


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread Remko Lodder
Brent Bailey wrote:
Hello,
My company has been asked to help with the upgrade of several Freebsd
systems that are pretty old. The customer is running a file server samba
also running apache running FBSD 4.2,  he wants to upgrade using cvsup 
the make buildworld procedure to upgrade to 5.x. Im very familier with the
make buildworld procedure however there have been significant changes
between 4.2  5.x  so is this something that can be done without many
problems ? Aside from reading throught the /usr/src/UPDATING file are
there things i should look out for being that the 2 versions are so
differrent.
personally i would recommend going to the lastest stable release 4.10-p2
I welcome this lists thoughts  opions on this matter
thank in advance for any help :-)
Hey Brent,
FreeBSD 5.x has not yet been described as production release ready.
So your customer is best advised to use the 4.x branch, and indeed at 
the moment that is 4.10 (and the patches afterwards ofcourse).

However i am running FreeBSD 5.x as production server in 2 colocated 
boxes without any problems. So it does not mean that it's crashing all 
the time, but there might be bugs that can cause downtime for your 
customer, and he should be willing to risk that problem if you want to 
upgrade to 5.x. If he prefers stablitity, and little downtime you do 
best to upgrade to the latest 4 release with patches.

Since it's a very long while back that i runned 4.x (4.3 ...) i can't 
remember anymore what the huge differences are, perhaps someone else can 
describe that to you.

Cheers!
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread Evren Yurtesen
Remko Lodder wrote:
Brent Bailey wrote:
Hello,
My company has been asked to help with the upgrade of several Freebsd
systems that are pretty old. The customer is running a file server samba
also running apache running FBSD 4.2,  he wants to upgrade using cvsup 
the make buildworld procedure to upgrade to 5.x. Im very familier with 
the
make buildworld procedure however there have been significant changes
between 4.2  5.x  so is this something that can be done without many
problems ? Aside from reading throught the /usr/src/UPDATING file are
there things i should look out for being that the 2 versions are so
differrent.
I believe the only reason to upgrade to 5.x would be if you need a 
feature in 5.x versions which doesnt exist in 4.x versions. Otherwise it 
is best to use 4.x-stable.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrading form 4.2 to 5.x

2004-07-17 Thread Robert Huff

Brent Bailey writes:

  The customer is running a file server samba also running apache
  running FBSD 4.2, he wants to upgrade using cvsup  the make
  buildworld procedure to upgrade to 5.x.

Your familiarity not withstanding, I would recommend against
this.  About the only reason to do this upgrade in-place is the
utter lack of machines on which to put a fresh installation.
The reasons _not_ to do this are legion, starting with
disruption of a production enviroment and the (non-trivial)
possibility it won't work and won't be restorable, all the way to
reclaiming disk space used by abandoned executables/libraries/data.
If desirable, it will also provide the opportunity to increase disk
size and re-partition to meet actual use rather than following
generic guidelines.


Robert Huff


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


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread Helge Oldach
Remko Lodder:
Brent Bailey wrote:

 Hello,
 My company has been asked to help with the upgrade of several Freebsd
 systems that are pretty old. The customer is running a file server samba
 also running apache running FBSD 4.2,  he wants to upgrade using cvsup 
 the make buildworld procedure to upgrade to 5.x. Im very familier with the
 make buildworld procedure however there have been significant changes
 between 4.2  5.x  so is this something that can be done without many
 problems ? Aside from reading throught the /usr/src/UPDATING file are
 there things i should look out for being that the 2 versions are so
 differrent.
 
 personally i would recommend going to the lastest stable release 4.10-p2
 
 I welcome this lists thoughts  opions on this matter
 
 thank in advance for any help :-)

Hey Brent,

FreeBSD 5.x has not yet been described as production release ready.
So your customer is best advised to use the 4.x branch, and indeed at 
the moment that is 4.10 (and the patches afterwards ofcourse).

Furthermore, the advice is to upgrade to a very recent 4.x first, before
taking the step to 5.x. So you´ll probably want to upgrade to 4.10p2 or
4-STABLE anyway. Maybe your customer would like you to go for an updated
4.x first, and go to 5.x later when it will be STABLE.

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


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread Andrew J Caines
Conventional wisdom is that upgrading over major versions is an
interesting academic exercise and an a great display of the power and
flexibility of the platform, but that if you're just trying to get a
working system then a clean install is the preferred method.

With good separation of system, application and data, it shouldn't be
difficult.


-Andrew-
-- 
 ___
| -Andrew J. Caines-   Unix Systems Engineer   [EMAIL PROTECTED]  |
| They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety - Benjamin Franklin, 1759 |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread epilogue
On Sat, 17 Jul 2004 14:50:13 +0200
Remko Lodder [EMAIL PROTECTED] wrote:

 Brent Bailey wrote:
 
  Hello,
  My company has been asked to help with the upgrade of several Freebsd
  systems that are pretty old. The customer is running a file server
  samba also running apache running FBSD 4.2,  he wants to upgrade using
  cvsup  the make buildworld procedure to upgrade to 5.x. Im very
  familier with the make buildworld procedure however there have been
  significant changes between 4.2  5.x  so is this something that can be
  done without many problems ?

hello brent,

though i don't know anyone who has gone this route, i imagine it is
possible.  the reason most people don't cvsup from 4.x to 5.x is because
there is a fundamental change in the filesystem (details of which escape me
now - check the release notes at freebsd.org).  by simply cvsupping, you
will _not_ be able to take advantage of the new filesystem.

if your customer insists upon 5.x, it would probably be best to prepare a
full back-up then:

a) take the machine down, make a fresh install of 5.x, then load back data.

b) build and configure a parallel 5.x machine, load it with the backed-up
data, then find a new use for the 4.x series machine.

hth.


cheers,
epi

  Aside from reading throught the /usr/src/UPDATING file are
  there things i should look out for being that the 2 versions are so
  differrent.
  
  personally i would recommend going to the lastest stable release
  4.10-p2
  
  I welcome this lists thoughts  opions on this matter
  
  thank in advance for any help :-)
 
 Hey Brent,
 
 FreeBSD 5.x has not yet been described as production release ready.
 So your customer is best advised to use the 4.x branch, and indeed at 
 the moment that is 4.10 (and the patches afterwards ofcourse).
 
 However i am running FreeBSD 5.x as production server in 2 colocated 
 boxes without any problems. So it does not mean that it's crashing all 
 the time, but there might be bugs that can cause downtime for your 
 customer, and he should be willing to risk that problem if you want to 
 upgrade to 5.x. If he prefers stablitity, and little downtime you do 
 best to upgrade to the latest 4 release with patches.
 
 Since it's a very long while back that i runned 4.x (4.3 ...) i can't 
 remember anymore what the huge differences are, perhaps someone else can 
 describe that to you.
 
 Cheers!
 
 -- 
 Kind regards,
 
 Remko Lodder   |[EMAIL PROTECTED]
 Reporter DSINet|[EMAIL PROTECTED]
 Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread epilogue
On Sat, 17 Jul 2004 17:14:22 -0400
epilogue [EMAIL PROTECTED] wrote:

 On Sat, 17 Jul 2004 14:50:13 +0200
 Remko Lodder [EMAIL PROTECTED] wrote:
 
  Brent Bailey wrote:
  
   Hello,
   My company has been asked to help with the upgrade of several Freebsd
   systems that are pretty old. The customer is running a file server
   samba also running apache running FBSD 4.2,  he wants to upgrade
   using cvsup  the make buildworld procedure to upgrade to 5.x. Im
   very familier with the make buildworld procedure however there have
   been significant changes between 4.2  5.x  so is this something that
   can be done without many problems ?
 
 hello brent,
 
 though i don't know anyone who has gone this route, i imagine it is
 possible.  the reason most people don't cvsup from 4.x to 5.x is because
 there is a fundamental change in the filesystem (details of which escape
 me now - check the release notes at freebsd.org).

it bugged me not to remember, so i had a look.  it is UFS1 for 4.x vs. UFS2
for 5.x (which can still deal with UFS1).  the following is a very
informative article, one to which should not only help you decide, but to
which you can direct your client, should you so be inclined:

http://www.freebsd.org/releases/5.2.1R/early-adopter.html


epi

p.s.:  removed stable from the post.

 by simply cvsupping, you
 will _not_ be able to take advantage of the new filesystem.
 
 if your customer insists upon 5.x, it would probably be best to prepare a
 full back-up then:
 
 a) take the machine down, make a fresh install of 5.x, then load back
 data.
 
 b) build and configure a parallel 5.x machine, load it with the backed-up
 data, then find a new use for the 4.x series machine.
 
 hth.
 
 
 cheers,
 epi
 
   Aside from reading throught the /usr/src/UPDATING file are
   there things i should look out for being that the 2 versions are so
   differrent.
   
   personally i would recommend going to the lastest stable release
   4.10-p2
   
   I welcome this lists thoughts  opions on this matter
   
   thank in advance for any help :-)
  
  Hey Brent,
  
  FreeBSD 5.x has not yet been described as production release ready.
  So your customer is best advised to use the 4.x branch, and indeed at 
  the moment that is 4.10 (and the patches afterwards ofcourse).
  
  However i am running FreeBSD 5.x as production server in 2 colocated 
  boxes without any problems. So it does not mean that it's crashing all 
  the time, but there might be bugs that can cause downtime for your 
  customer, and he should be willing to risk that problem if you want to 
  upgrade to 5.x. If he prefers stablitity, and little downtime you do 
  best to upgrade to the latest 4 release with patches.
  
  Since it's a very long while back that i runned 4.x (4.3 ...) i can't 
  remember anymore what the huge differences are, perhaps someone else
  can describe that to you.
  
  Cheers!
  
  -- 
  Kind regards,
  
  Remko Lodder   |[EMAIL PROTECTED]
  Reporter DSINet|[EMAIL PROTECTED]
  Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading form 4.2 to 5.x

2004-07-17 Thread Kevin Oberman
 Date: Sat, 17 Jul 2004 17:14:22 -0400
 From: epilogue [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 On Sat, 17 Jul 2004 14:50:13 +0200
 Remko Lodder [EMAIL PROTECTED] wrote:
 
  Brent Bailey wrote:
  
   Hello,
   My company has been asked to help with the upgrade of several Freebsd
   systems that are pretty old. The customer is running a file server
   samba also running apache running FBSD 4.2,  he wants to upgrade using
   cvsup  the make buildworld procedure to upgrade to 5.x. Im very
   familier with the make buildworld procedure however there have been
   significant changes between 4.2  5.x  so is this something that can be
   done without many problems ?
 
 hello brent,
 
 though i don't know anyone who has gone this route, i imagine it is
 possible.  the reason most people don't cvsup from 4.x to 5.x is because
 there is a fundamental change in the filesystem (details of which escape me
 now - check the release notes at freebsd.org).  by simply cvsupping, you
 will _not_ be able to take advantage of the new filesystem.
 
 if your customer insists upon 5.x, it would probably be best to prepare a
 full back-up then:
 
 a) take the machine down, make a fresh install of 5.x, then load back data.
 
 b) build and configure a parallel 5.x machine, load it with the backed-up
 data, then find a new use for the 4.x series machine.

I have gone this route a couple of times. It was an interesting exercise,
but not one I would recommend. It works, but things like the transition
from ufs to ufs2 and new threading libraries and LOTS more make it a
rough way to go. I think the advise to do a fresh install is the best
option if you go to 5, but I'd really recommend staying at 4.10 or
STABLE for now.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BSD 4.2 code

2004-06-24 Thread Daniel M. Berry
Does anyone know if BSD 4.2 code, particularly of vi, is covered by
the original release of BSD code into open source?

thanks

Professor Daniel M. Berry
School of Computer Science
University of Waterloo
200 University Ave. West
Waterloo, Ontario N2L 3G1
Canada
Phone: None, use fax or e-mail
FAX: +1-519-746-5422
[EMAIL PROTECTED]
http://se.uwaterloo.ca/~dberry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: difference between 4.2 and 5.2.1

2004-05-26 Thread Kris Kennaway
On Wed, May 26, 2004 at 01:32:24PM -0700, Amir Vetry wrote:
 Hi team,
 I have couple of questions.  Would you please answer it.
 
 Beside supporting more types of NIC card, what other differences are there
 between 
 FreeBSD 4.2 (or 4.0 series) and 5.2.1 (5.0 Series)?

There are literally thousands of differences, big and small.  The best
place to start is to read the release notes for all the intervening
releases to find out what has changed.

 Also, is multicasting supported on 5.2.1?

Yes, as on 4.x.

Kris


pgpkwXZQqXHO6.pgp
Description: PGP signature


Question_Free BSD 4.2

2003-10-15 Thread Alex Malnoch

 !

  ftp  inetd.conf  ICMP  rc.firewall  
 :

natd[92]: failed to write packet back (permission denied).

   

-- 
Best regards,
 Alex Malnoch  

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


RE: Question_Free BSD 4.2

2003-10-15 Thread den
Hi, 
I think it would be better , if you ask your question in English.
Besides, please post your config file - rc.firewall .
And why have so old version FreeBSD - 4.2 ?
There is newer versions of FreeBSD.

Den.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Malnoch
Sent: Wednesday, October 15, 2003 2:13 PM
To: [EMAIL PROTECTED]
Subject: Question_Free BSD 4.2


 !

  ftp  inetd.conf  ICMP  rc.firewall  
 :

natd[92]: failed to write packet back (permission denied).

   

-- 
Best regards,
 Alex Malnoch  

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


How to downgrade X 4.3 -- 4.2?

2003-10-05 Thread fbsd2
Hi folks,

   I seem to have opened a (new) can of worms by 
cvsuping the ports tree and doing
#portupgrade -Ra

which moved me from XFree86 4.2.0 to 4.3.0 (meta-port).
I'd most like to find out what the problem is eg, see
http://marc.theaimsgroup.com/?l=xfree86m=106537114610303w=2

but was wondering if I could work around it by backing
out the upgrade.  I know I can back out an upgrade to 
the OS by cvsuping to an older date and making world.
But how does one back out a port as complex as X?  Is it 
as simple as downloading an appropriately old version of
the meta-port makefile, eg from
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/x11/XFree86-4/Makefile

say revision 1.142 and

#portupgrade -fR XFree86

or perhaps I would need to get older versions of all the
files in the meta port? Or would I need older versions of
all files in all the dependencies also?  I suppose I could 
cvsup my whole ports tree to the date of the older meta 
port makefile, do the portupgrade, then cvsup the ports 
tree again to get back up to date, refusing changes to the 
x11 category.  Anyone with hints or suggestions other than
'restore disk from backup', or 'do clean install on new 
disk'?  TIA.

Alex


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to downgrade X 4.3 -- 4.2?

2003-10-05 Thread David Fleck
On Sun, 5 Oct 2003, fbsd2 wrote:
 ...but was wondering if I could work around it by backing
 out the upgrade.

I had to do the same thing - 4.3 hosed my system good, and I had to go
back to 4.2.x if I wanted a GUI.  This was a few months ago, so I'm not
sure I'm remembering all the steps, but I think I used pkg_delete to get
rid of all the XFree-*-4.3 ports, and then reinstalled 4.2 from package
files, then ran pkgdb -F to fix all the dependency issues.  It was a pain,
but not that much of a pain.

--
David Fleck
[EMAIL PROTECTED]

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


freebsd 4.2

2003-06-16 Thread #ZOU ZIXUAN#
Hi, all
   who knows from where I can download freebsd 4.2? I need it urgently for my project. 

Best regards 
Zou ZiXuan 
PhD candidate,  
Centre For Multimedia And Network Technology
School Of Computer Engineering
Nanyang Technological University
N4-1c-08, Nanyang Avenue
Singapore 639798
tel:(65)67906579 
website: http://cemnet.ntu.edu.sg http://cemnet.ntu.edu.sg/  


  http://skins.hotbar.com/skins/mailskins/st/082502/082502dog.gif 

  _  

 
http://promos.hotbar.com/promos/promodll.dll?RunPromoEl=hotbar%5felement%3bst%3bSG=RAND=86692
 Upgrade Your Email - Click here! 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 4.2

2003-06-16 Thread #ZOU ZIXUAN#
Hi, all
   who knows from where I can download freebsd 4.2? I need it urgently for my project. 

Best regards 
Zou ZiXuan 
PhD candidate,  
Centre For Multimedia And Network Technology
School Of Computer Engineering
Nanyang Technological University
N4-1c-08, Nanyang Avenue
Singapore 639798
tel:(65)67906579 
website: http://cemnet.ntu.edu.sg http://cemnet.ntu.edu.sg/  


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


Re: freebsd 4.2

2003-06-16 Thread Matthew Seaman
On Mon, Jun 16, 2003 at 03:15:04PM +0800, #ZOU ZIXUAN# wrote:
 Hi, all
who knows from where I can download freebsd 4.2? I need it urgently for my 
 project. 


http://www.freebsdmirrors.org/FBSDsites.php3?showi386ISO=do

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


[ 4.2- 4.7 upgrade halted ]

2003-03-21 Thread Aleksey I. Yurlov
Hi, All.

Have a problems with update system with 4.2-RELEASE to 4.7-RELEASE with 
cvsup.

make buildworld return good result, but when I try to make 
buildkernel KERNCONF=MYKERNEL process stop in a part of depend with 
SCSI devices and halt.
I try to cvsup'ing with 4.7 RELENG and 4.4 RELENG...but the result is 
the same.

If you can, please tell me about the way how I can to upgrade from 4.2 
to 4.7 RELEASE, I need ipfw2 on this box.

Thank you.

--
Best regards, Aleksey I. Yurlov
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: [ 4.2- 4.7 upgrade halted ]

2003-03-21 Thread Lowell Gilbert
Aleksey I. Yurlov [EMAIL PROTECTED] writes:

 Hi, All.
 
 Have a problems with update system with 4.2-RELEASE to 4.7-RELEASE
 with cvsup.
 
 make buildworld return good result, but when I try to make
 buildkernel KERNCONF=MYKERNEL process stop in a part of depend with
 SCSI devices and halt.
 I try to cvsup'ing with 4.7 RELENG and 4.4 RELENG...but the result is
 the same.

Does it happen if you build a GENERIC kernel?  If not, then the
problem is your kernel configuration.

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


RE: [ 4.2- 4.7 upgrade halted ]

2003-03-21 Thread Darren Gamble
Good day,

 make buildworld return good result, but when I try to make 
 buildkernel KERNCONF=MYKERNEL process stop in a part of depend with 
 SCSI devices and halt.

You can't expect much help if you don't post the relevant output.

 I try to cvsup'ing with 4.7 RELENG and 4.4 RELENG...but the result is 
 the same.
 
 If you can, please tell me about the way how I can to upgrade 
 from 4.2 
 to 4.7 RELEASE, I need ipfw2 on this box.

Try the 4.7 GENERIC kernel first.  If that works, then find out what you did
wrong with your kernel config file.


Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948

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


Re: [ 4.2- 4.7 upgrade halted ]

2003-03-21 Thread Aleksey I. Yurlov
Thank you.
The problem was reach out after:
1. rm -fR /usr/obj/usr/src/sys/MYKERNEL
Read /usr/src/UPDATING
2. add to /usr/src/sys/i386/conf/MYKERNEL
device miibus #before fxp0
Thank you, again.
Now I tempararily have 4.3-RELEASE-p34 ;-)
Darren Gamble wrote:
Good day,


make buildworld return good result, but when I try to make 
buildkernel KERNCONF=MYKERNEL process stop in a part of depend with 
SCSI devices and halt.


You can't expect much help if you don't post the relevant output.


I try to cvsup'ing with 4.7 RELENG and 4.4 RELENG...but the result is 
the same.

If you can, please tell me about the way how I can to upgrade 
from 4.2 
to 4.7 RELEASE, I need ipfw2 on this box.


Try the 4.7 GENERIC kernel first.  If that works, then find out what you did
wrong with your kernel config file.

Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


--
Best regards, Aleksey I. Yurlov
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Moving form 4.2 to 4.7

2003-02-04 Thread Jim Xochellis
Hi Bill,

Bill Moran wrote:
 
 Jim Xochellis wrote:
  Hi list,
 
  I have a FreeBSD 4.2 (i386) box that I am using as a router and it is
  mainly running routed, pppd, ipf-filter, ipnat and sshd. I wan't to
  upgrade this machine to FreeBSD 4.7 for security reasons only. Is there
  something really important that I should have in mind when doing this
  upgrade. (Any major compatibility issue, or security issue, patches that
  I should definitely add, etc...)
 
 Are you going to use cvs to update?  You probably want to update to RELENG_4_7
 to get all the latest security fixes for 4.7.  Also, read /usr/src/UPDATING
 carefully and follow the upgrading instructions in the hanbook to the letter.
 4.2 - 4.7 is a pretty long way to go, but I don't know of any reason you
 should fail at it.
 Make sure you make good backups before starting, however, you don't want to
 get burned if I'm wrong.
 

I have to apologize here for the unfortunate use of the term upgrade.
What I really meant is that I will install a fresh FreeBSD 4.7 Release
from the CD and I need to know if I can use the same facilities I am
using now (same programs-deamons) and if I have to make *major* changes
to my configuration files. I dont mind installing the new FreeBSD while
my old router is still working, but having to deal with big surprises
when the new router is up and running is something that I am afraid of.

TIA

Jim Xochellis
Escape Information Services

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



Moving form 4.2 to 4.7

2003-02-03 Thread Jim Xochellis
Hi list,

I have a FreeBSD 4.2 (i386) box that I am using as a router and it is
mainly running routed, pppd, ipf-filter, ipnat and sshd. I wan't to
upgrade this machine to FreeBSD 4.7 for security reasons only. Is there
something really important that I should have in mind when doing this
upgrade. (Any major compatibility issue, or security issue, patches that
I should definitely add, etc...)

TIA

Jim Xochellis
Escape Information Servises

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



Re: Moving form 4.2 to 4.7

2003-02-03 Thread Bill Moran
Jim Xochellis wrote:

Hi list,

I have a FreeBSD 4.2 (i386) box that I am using as a router and it is
mainly running routed, pppd, ipf-filter, ipnat and sshd. I wan't to
upgrade this machine to FreeBSD 4.7 for security reasons only. Is there
something really important that I should have in mind when doing this
upgrade. (Any major compatibility issue, or security issue, patches that
I should definitely add, etc...)


Are you going to use cvs to update?  You probably want to update to RELENG_4_7
to get all the latest security fixes for 4.7.  Also, read /usr/src/UPDATING
carefully and follow the upgrading instructions in the hanbook to the letter.
4.2 - 4.7 is a pretty long way to go, but I don't know of any reason you
should fail at it.
Make sure you make good backups before starting, however, you don't want to
get burned if I'm wrong.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: filesystem disappeared following 4.2 - 4.7 upgrade

2003-02-02 Thread Brent Kearney
On Sun, Feb 02, 2003 at 10:50:09AM -0800, Brent Kearney wrote:
 
 Hello,
 
 I recently updated a system running freebsd 4.2 to 4.7.  I realize
 that there is new ATA code in 4.7.  This system is on a SCSI disk,
 but /home is on a large IDE drive.  
 
 Following a 'make installkernel', I rebooted to single user mode, ran
 installworld, then did mergemaster.  I let mergemaster run the new
 '/dev/MAKEDEV all'.
 
 The 4.2 system called my /home partition /dev/ad0s1e; during boot up 
 of 4.7, I see that the disk is recognized, but is called ad5 instead 
 of ad0.  I haven't changed the hardware at all, btw.  However, there 
 appears to be no /dev/ad5s1e, and furthermore, when I run the disklabel 
 editor, it tells me that there is no filesystem on /dev/ad5.  If I 
 reboot to the old 4.2 kernel, somewhat problematically, I can mount 
 /dev/ad0s1e, and access my files.
 
 The UPDATING file mentioned the new ata code, but didn't say anything
 about the need to re-create filesystems; I must be missing something.
 

I should also mention that softupdates is enabled on my old
/dev/ad0s1e, though I don't know whether that is relevant.

Brent



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



Re: filesystem disappeared following 4.2 - 4.7 upgrade

2003-02-02 Thread Brent Kearney
On Sun, Feb 02, 2003 at 10:59:16AM -0800, Brent Kearney wrote:
 On Sun, Feb 02, 2003 at 10:50:09AM -0800, Brent Kearney wrote:
  
  Hello,
  
  I recently updated a system running freebsd 4.2 to 4.7.  I realize
  that there is new ATA code in 4.7.  This system is on a SCSI disk,
  but /home is on a large IDE drive.  
  
  Following a 'make installkernel', I rebooted to single user mode, ran
  installworld, then did mergemaster.  I let mergemaster run the new
  '/dev/MAKEDEV all'.
  
  The 4.2 system called my /home partition /dev/ad0s1e; during boot up 
  of 4.7, I see that the disk is recognized, but is called ad5 instead 
  of ad0.  I haven't changed the hardware at all, btw.  However, there 
  appears to be no /dev/ad5s1e, and furthermore, when I run the disklabel 
  editor, it tells me that there is no filesystem on /dev/ad5.  If I 
  reboot to the old 4.2 kernel, somewhat problematically, I can mount 
  /dev/ad0s1e, and access my files.
  
  The UPDATING file mentioned the new ata code, but didn't say anything
  about the need to re-create filesystems; I must be missing something.
  
 
 I should also mention that softupdates is enabled on my old
 /dev/ad0s1e, though I don't know whether that is relevant.


OK, another update: fdisk identifies this disk as such:

Disk name: ad5FDISK Partition Editor
DISK Geometry:  7476 cyls/255 heads/63 sectors = 120101940 sectors (58643MB)
Offset   Size(ST)End Name  PType   Desc  SubtypeFlags
0 63 62-  6  unused0
  63  120101877  120101939ad5s1   3freebsd  165C
120101940   1260  120103199-  6 unused0

---

After looking closer at disklabel, I see that it has selected the one and only 
partition on the disk:

   Disk: ad5   Partition name: ad5s1   Free: 120101877 blocks (58643MB)

But still sees no filesystems.  If I do `ls -l /dev/ad5*`, I get only:

   crw-r-  1 root  wheel  116, 0x0001002a Feb  2 02:11 /dev/ad5

No /dev/ad5s1, etc., and `mount /dev/ad5s1 /home` produces only:

   mount: /dev/ad5s1: No such file or directory
  

Do I need to make device nodes for the ad5s1 partition?  I'm not sure how,
if so.

Thanks,

Brent



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



Re: filesystem disappeared following 4.2 - 4.7 upgrade

2003-02-02 Thread Mike Meyer
In [EMAIL PROTECTED], Brent Kearney [EMAIL PROTECTED] typed:
 No /dev/ad5s1, etc., and `mount /dev/ad5s1 /home` produces only:
 
mount: /dev/ad5s1: No such file or directory
   
 
 Do I need to make device nodes for the ad5s1 partition?  I'm not sure how,
 if so.

Yes, you need to make device nodes. Try:

# cd /dev
# ./MAKEDEV ad5s1c
Or s1a, or whatever you were using.

The reason ad0 turned into ad5 is that ata disk devices are now
numbered statically instead of dynamically. This is a good
thing. While it does mean that your drives move when you upgrade the
OS this one time, it also means that they won't move when you add a
drive to the system.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: filesystem disappeared following 4.2 - 4.7 upgrade

2003-02-02 Thread Brent Kearney
On Sun, Feb 02, 2003 at 01:52:30PM -0600, Mike Meyer wrote:
 In [EMAIL PROTECTED], Brent Kearney [EMAIL PROTECTED] typed:
  No /dev/ad5s1, etc., and `mount /dev/ad5s1 /home` produces only:
  
 mount: /dev/ad5s1: No such file or directory
  
  Do I need to make device nodes for the ad5s1 partition?  I'm not sure how,
  if so.
 
 Yes, you need to make device nodes. Try:
 
 # cd /dev
 # ./MAKEDEV ad5s1c
   Or s1a, or whatever you were using.

Thanks Mike;

`/dev/MAKEDEV ad5` made all of the nodes, and I was able to mount 
/dev/ad5s1e, and relieve my panic ;). 

What if this system were an all-IDE system?  I was planning to update
one soon, and will no doubt run into this problem.  The root
filesystem device node will change names, and according to this
thread:  

http://www.freebsd.org/cgi/getmsg.cgi?fetch=2388792+2394647+/usr/local/www/db/text/2003/freebsd-questions/20030112.freebsd-questions

even if I anticipate what the new name will be (how do I do that,
anyways?), updating /etc/fstab before rebooting with the new binaries
won't help.  It doesn't look like anyone followed up on that thread, 
but maybe I'm using the wrong search criteria.  

The note in /usr/src/UPDATING on this new ata code is quite sparse,
given what people may unexpectedly run into when updating on IDE
systems.  That should probably be fixed to include the requirement of
doing not only `MAKEDEV all`, but also `MAKEDEV your device` to
create partition nodes, and whatever needs to be done for booting onto
the newly named partitions, if the / is on one of them.

Best regards,

Brent



 The reason ad0 turned into ad5 is that ata disk devices are now
 numbered statically instead of dynamically. This is a good
 thing. While it does mean that your drives move when you upgrade the
 OS this one time, it also means that they won't move when you add a
 drive to the system.
 
   mike
 -- 
 Mike Meyer [EMAIL PROTECTED]http://www.mired.org/consulting.html
 Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



mergemaster bails 4.2 - 4.7 upgrade

2003-01-19 Thread Brent Kearney

Hello,

I'm attempting an upgrade from FreeBSD 4.2-STABLE to 4.7-STABLE.
Before running installworld (though I've already done buildworld),
I'm running the new mergemaster from /usr/src/...

Below is a log of the mergemaster output; any suggestions are most
welcome.   The error, 

install: /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config: No such file
or directory
*** Error code 71

Doesn't make much sense, since the file
/usr/src/gnu/usr.bin/man/manpath/manpath.config is indeed
there.


Thanks,

Brent


Script started on Sun Jan 19 18:46:41 2003
mocha# mergemaster.sh -C

*** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot

set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`;  while [ $# -gt 0 ] ;  do  
for dir in /usr/share/locale  /usr/share/nls  /usr/local/share/nls;  do  test -d 
/var/tmp/temproot/${dir}  cd /var/tmp/temproot/${dir};  test -L $2  rm -rf $2; 
 test \! -L $1  test -d $1  mv $1 $2;  done;  shift; shift;  done
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/
./bin missing (created)
./boot missing (created)
./boot/defaults missing (created)

snip - truncated several hundred similar lines

./ufs/mfs missing (created)
./ufs/ufs missing (created)
./vm missing (created)
mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p /var/tmp/temproot/
./var/spool/clientmqueue missing (created)
cd /var/tmp/temproot/; rm -f /var/tmp/temproot/sys; ln -s usr/src/sys sys
cd /var/tmp/temproot/usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`;  
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
cd /var/tmp/temproot/usr/share/locale;  set - `grep ^[a-zA-Z] 
/usr/src/etc/locale.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  
shift; shift;  done
cd /var/tmp/temproot/usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`;  
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
/var/tmp/temproot/usr/obj/usr/src/etc created for /usr/src/etc
=== sendmail
/var/tmp/temproot/usr/obj/usr/src/etc/sendmail created for /usr/src/etc/sendmail
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf auth.conf  
crontab csh.cshrc csh.login csh.logout  dhclient.conf dm.conf fbtab ftpusers gettytab 
group  hosts hosts.allow host.conf hosts.equiv hosts.lpd  inetd.conf login.access 
login.conf  motd modems networks newsyslog.conf  pam.conf phones printcap profile 
protocols  rc rc.atm rc.diskless1 rc.diskless2 rc.firewall rc.firewall6  rc.network 
rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown  rc.syscons rc.sysctl remote 
rpc services  shells sysctl.conf syslog.conf usbd.conf  etc.i386/disktab  
etc.i386/rc.i386  etc.i386/ttys  
/usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config  
/usr/src/etc/../usr.bin/mail/misc/mail.rc  
/usr/src/etc/../usr.bin/locate/locate/locate.rc rc.isdn /var/tmp/temproot/etc;  
install -o root -g wheel -m 755  netstart pccard_ether rc.suspend rc.resume 
/var/tmp/temproot/etc;  install -o root -g wheel -m 600  master.passwd nsmb.conf 
opieaccess /var/tmp/temproot/etc;  pwd_mkdb -p -d /var/tmp/temproot/etc 
/var/tmp/temproot/etc/master.passwd
install: /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config: No such file or 
directory
*** Error code 71

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
  the temproot environment




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



4.2

2003-01-06 Thread Mike Hogsett

For a reason that I have no ability to change I have a customer who needs
to install 4.2.  Can I check out RELENG_4_2 from cvsup and get the desired
results?  - or - Are 4.2 Install ISO available somewhere (not
ftp.freebsd.org).

TIA,

 - Mike

 


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



Re: 4.2

2003-01-06 Thread Kent Stewart
On Monday 06 January 2003 11:28 am, Mike Hogsett wrote:
 For a reason that I have no ability to change I have a customer who
 needs to install 4.2.  Can I check out RELENG_4_2 from cvsup and get
 the desired results?  - or - Are 4.2 Install ISO available somewhere
 (not ftp.freebsd.org).


The available tags can be found on
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

Your only choice is RELENG_4_2_0_RELEASE.

For locations of the iso's look at 
http://www.freebsdmirrors.org/FBSDsites.php3

Kent

 TIA,

  - Mike




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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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



Problem compiling 4.2-RELEASE kernel on another 4-4 computer

2002-12-09 Thread Olivier Dony
Hello,

I've got some trouble compiling the 4.2-RELEASE kernel on my 4.4-RELASE
box. The 4.2 one (dentaal) doesn't have enough hd space to do it.
So I cvsup'd src-sys of tag=RELENG_4_0_2-RELEASE into /usr/DENTAAL on my 4.4
one. I tweaked GENERIC into DENTAAL, and ran config DENTAAL. I'm actually 
trying to add IPSEC support in the 4.2 kernel.
Now trying to make depend :

root@titan:/usr/DENTAAL/src/sys/i386/conf# ls
./  ../  DENTAAL  GENERIC  LINT  NEWCARD
root@titan:/usr/DENTAAL/src/sys/i386/conf# /usr/sbin/config DENTAAL   
Don't forget to do a ``make depend''
Kernel build directory is ../../compile/DENTAAL
root@titan:/usr/DENTAAL/src/sys/i386/conf# cd ../../compile/DENTAAL
root@titan:/usr/DENTAAL/src/sys/compile/DENTAAL# make depend
cc -c -O -pipe -fomit-frame-pointer -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include  -D_KERNEL
-include opt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/genas
sym.c
../../i386/i386/genassym.c:76: warning: implicit declaration of function
`__offsetof'
../../i386/i386/genassym.c:76: syntax error before `struct'
../../i386/i386/genassym.c:76: syntax error before `struct'
../../i386/i386/genassym.c:76: syntax error before `struct'
../../i386/i386/genassym.c:76: syntax error before `)'
 and a lot of other alike ...

I assume there is a problem with this __offsetof() macro not being defined, 
but how do I fix the problem? Or is there anything I am doing wrong? Do I
need to provide the kernel config file?

Thanks a lot for any hints

Olivier

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



problems with pkg_add for XFree86 4.2

2002-07-22 Thread Chris Denault

I am trying to install XFree86 4.2 via package add using

zeus:~ pkg_add -rv XFree86-4.2.0_1,1.tgz
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
setting passive mode
opening data connection
initiating transfer
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/La
test/XFree86-4.2.0_1,1.tgz: File unavailable (e.g., file not found, no
access)
pkg_add: unable to fetch
`ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/L
atest/XFree86-4.2.0_1,1.tgz' by URL
pkg_add: 1 package addition(s) failed
zeus:~

Could someone tell me if I am using pkg_add wrong or is there another
place to try and fetch the package from?

Thanks for any help.

-Chris Denault


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



Re: problems with pkg_add for XFree86 4.2

2002-07-22 Thread Brian T. Schellenberger


Actually, I posted about this just yesterday, but not this list.

Set the location to get it from All instead of Latest and you should be 
golden.

On Monday 22 July 2002 07:52 pm, Chris Denault wrote:
| I am trying to install XFree86 4.2 via package add using
|
| zeus:~ pkg_add -rv XFree86-4.2.0_1,1.tgz
| looking up ftp.freebsd.org
| connecting to ftp.freebsd.org:21
| setting passive mode
| opening data connection
| initiating transfer
| Error: FTP Unable to get
| ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/La
| test/XFree86-4.2.0_1,1.tgz: File unavailable (e.g., file not found, no
| access)
| pkg_add: unable to fetch
| `ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/L
| atest/XFree86-4.2.0_1,1.tgz' by URL
| pkg_add: 1 package addition(s) failed
| zeus:~
|
| Could someone tell me if I am using pkg_add wrong or is there another
| place to try and fetch the package from?
|
| Thanks for any help.
|
| -Chris Denault
|
|
| To Unsubscribe: send mail to [EMAIL PROTECTED]
| with unsubscribe freebsd-questions in the body of the message

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

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



RE: XFree86 4.2 screen resolutions

2002-07-12 Thread Balaji, Pavan


Not too sure, but try this:

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth  24
DefaultModes1024x768  --- Added this
SubSection Display
Depth 24
Modes 1024x768 800x600 640x480
EndSubSection
EndSection


Pavan Balaji,
CIS Graduate Student,
Ohio State University

Being happy doesn't mean that everything is perfect... It just means that
you have decided to see beyond the imperfections  --  Rash


 -Original Message-
 From: Jason Barnes [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 12, 2002 1:12 PM
 To: [EMAIL PROTECTED]
 Subject: XFree86 4.2 screen resolutions
 
 
 
   Hi!  I am running FreeBSD 4.6-RELEASE and am just biting the
 bullet to upgrade to XFree86 4.2 for purposes of KDE3.  Everything is
 working -- except that I can't seem to get the screen to go 
 into any mode
 but 640x480 (any color depth).  I want to get to 1024x768 
 (24bit), and I
 know this should be possible because it was running that way 
 under XFree86
 3.3.  I would greatly apreciate any insight you might have into this
 matter.  Here is my XF86Config:
 
 Section ServerLayout
   Identifier XFree86 Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
 EndSection
 
 Section Files
   RgbPath  /usr/X11R6/lib/X11/rgb
   ModulePath   /usr/X11R6/lib/modules
   FontPath /usr/X11R6/lib/X11/fonts/misc/
   FontPath /usr/X11R6/lib/X11/fonts/Speedo/
   FontPath /usr/X11R6/lib/X11/fonts/Type1/
   FontPath /usr/X11R6/lib/X11/fonts/75dpi/
   FontPath /usr/X11R6/lib/X11/fonts/100dpi/
 EndSection
 
 Section Module
   Load  extmod
   Load  xie
   Load  pex5
   Load  glx
   Load  dri
   Load  dbe
   Load  record
   Load  xtrap
   Load  speedo
   Load  type1
 EndSection
 
 Section InputDevice
   Identifier  Keyboard0
   Driver  keyboard
 EndSection
 
 Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol MouseSystems
   Option  Device /dev/sysmouse
 EndSection
 
 Section Monitor
   #DisplaySize  280   210 # mm
   Identifier   Monitor0
   VendorName   JEN
   ModelName1055
   Option  DPMS
 EndSection
 
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option slow_edodram# [bool]
 #Option slow_dram   # [bool]
 #Option fast_dram   # [bool]
 #Option fpm_vram# [bool]
 #Option pci_burst   # [bool]
 #Option fifo_conservative   # [bool]
 #Option fifo_moderate   # [bool]
 #Option fifo_aggressive # [bool]
 #Option pci_retry   # [bool]
 #Option NoAccel # [bool]
 #Option early_ras_precharge # [bool]
 #Option late_ras_precharge  # [bool]
 #Option lcd_center  # [bool]
 #Option set_lcdclk  # i
 #Option set_mclk# freq
 #Option set_refclk  # freq
 #Option show_cache  # [bool]
 #Option HWCursor# [bool]
 #Option SWCursor# [bool]
 #Option ShadowFB# [bool]
 #Option Rotate  # [str]
 #Option UseFB   # [bool]
 #Option mxcr3afix   # [bool]
 #Option XVideo  # [bool]
   Identifier  Card0
   Driver  s3virge
   VendorName  S3
   BoardName   ViRGE/GX2
   BusID   PCI:0:8:0
   VideoRAM4096
 EndSection
 
 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth  24
 # SubSection Display
 # Depth 1
 # EndSubSection
 # SubSection Display
 # Depth 4
 # EndSubSection
 # SubSection Display
 # Depth 8
 # EndSubSection
 # SubSection Display
 # Depth 15
 # EndSubSection
 # SubSection Display
 # Depth 16
 # EndSubSection
   SubSection Display
   Depth 24
   Modes 1024x768 800x600 640x480
   EndSubSection
 EndSection
 
   - Jason Barnes
 
   Jason Wayne Barnes    -- Active on the internet.  
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL

RE: XFree86 4.2 screen resolutions

2002-07-12 Thread Jason Barnes


 Not too sure, but try this:

 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth  24
   DefaultModes1024x768  --- Added this
   SubSection Display
   Depth 24
   Modes 1024x768 800x600 640x480
   EndSubSection
 EndSection

This results in :

Parse error on line 93 of section Screen in file /etc/X11/XF86Config
DefaultModes is not a valid keyword in this section

- Jason


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