6.2 STABLE to 6.2 RELEASE problem

2009-04-13 Thread Philip van Ulden
Hello,

I was wondering if anyone might have some insight into this problem
I'm having.  I've downgraded a 6.2 STABLE system to 6.2 RELEASE for
the purpose of being able to upgrade it via freebsd-update.

I followed the steps as detailed here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

To summarize, the currently recommended way of upgrading FreeBSD from
sources is:

# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# shutdown -r now

Note: There are a few rare cases when an extra run of mergemaster
-p is needed before the buildworld step. These are described in
UPDATING. In general, though, you can safely omit this step if you are
not updating across one or more major FreeBSD versions.

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt). Then run:

# adjkerntz -i
# mount -a -t ufs
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# reboot

Now, after I reboot, I get an error when it tries mounting /usr:

NO WRITE ACCESS
INCONSISTENCIES FOUND, run fsck MANUALLY!

So, I did that and it found some free block inconsistencies and fixed
those but it is still bailing when it tries mounting /usr on the
reboot. I can boot to single user mode and run fsck -p and that is
fine.  I can mount the partition manually and browse through the files
fine.  One other weird thing is that it seems to mount /dev/md0 on
/var as well which doesn't look right.  Nothing in /etc/fstab about
it.  Maybe some other file that got mixed up during mergemaster?  I
said fix later for all files mergemaster came back with.

Does anyone have any suggestions?

Thanks in advance!
Phil.
___
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: 6.2 STABLE to 6.2 RELEASE problem

2009-04-13 Thread Vasadi I. Claudiu Florin

My gues is that you messed something up with mergemaster - /etc/fstab.
Can you post it's content?
___
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: 6.2 STABLE to 6.2 RELEASE problem

2009-04-13 Thread Brian A. Seklecki
On Mon, 2009-04-13 at 16:29 -0230, Philip van Ulden wrote:
 One other weird thing is that it seems to mount /dev/md0 on
 /var as well which doesn't look right.  

That code happens for some reason in /etc/rc.d/var.  That's all I have
for you.  

Your downgrade plan sounds very Linux/Windows'y.  Binary upgrades in
general.  

-- 
Brian A. Seklecki bsekle...@collaborativefusion.com
Collaborative Fusion, Inc.


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


buildkernel error going from 6.2-STABLE to 6.3-STABLE i386

2008-02-13 Thread Doug Poland

Hello,

I'm attempting to build a GENERIC kernel for 6.3-STABLE and am getting 
the following error message:


cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -c

/usr/src/sys/i386/isa/clock.c: In function `DELAY':
/usr/src/sys/i386/isa/clock.c:301: warning: implicit declaration of 
function `cpu_spinwait'
/usr/src/sys/i386/isa/clock.c:301: warning: nested extern declaration of 
`cpu_spinwait'

*** Error code 1

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

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

Stop in /usr/src.


This is a fresh cvsup using:
*default release=cvs tag=RELENG_6

The buildworld step worked without issue.  I've googled but have yet to 
find an answer.  Any ideas?


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


Re: buildkernel error going from 6.2-STABLE to 6.3-STABLE i386

2008-02-13 Thread Greg Groth

Doug Poland wrote:

Hello,

I'm attempting to build a GENERIC kernel for 6.3-STABLE and am getting 
the following error message:


cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -c

/usr/src/sys/i386/isa/clock.c: In function `DELAY':
/usr/src/sys/i386/isa/clock.c:301: warning: implicit declaration of 
function `cpu_spinwait'
/usr/src/sys/i386/isa/clock.c:301: warning: nested extern declaration of 
`cpu_spinwait'

*** Error code 1

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

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

Stop in /usr/src.


This is a fresh cvsup using:
*default release=cvs tag=RELENG_6

The buildworld step worked without issue.  I've googled but have yet to 
find an answer.  Any ideas?




I'm having this same issue trying to build a custom kernel.  I did a 
minimal install, and ran buildworld / buildkernel / installkernel / 
installworld without issue 3 days ago.  However when I try to run 
buildkernel with either my custom config file, or the GENERIC file, I 
get this exact error.  Any help greatly appreciated.


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


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-20 Thread Kris Kennaway

Doug Poland wrote:

Hello,

I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 
and I was wondering what the recommendation is for ports.  Specifically, 
is it necessary to rebuild all ports?


So far, I haven't rebuilt any ports and haven't had any problems...



Yes, it is always necessary when you update to a new major branch (such 
as 6.x - 7.x).


The old applications will continue to run immediately after the upgrade 
and as long as you do not make further changes, but once you start doing 
new port upgrades and installs you will easily create ports that are 
linked to two versions of FreeBSD system libraries, e.g. libc.so.6 and 
libc.so.7.  This doesn't work very well ;-)


Kris

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


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Erik Trulsson
On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:
 Hello,
 
 I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 and I 
 was wondering what the recommendation is for ports.  Specifically, is it 
 necessary to rebuild all ports?
 
 So far, I haven't rebuilt any ports and haven't had any problems...

It is not strictly necessary to rebuild all ports, but I would recommend it
and if you start to install any new ports then you should rebuild all the
old ones first.

Having some ports linked against 6.x libraries while some are linked
against 7.x libraries can very easily lead to problems.
(If one of your old ports (linked against 6.x libraries) provides some
library which is used by one of the new ports (using 7.x libraries) then the
new port can end up using two version of the same system library - both the
6.x version and the 7.x version.  This will almost certainly not work
correctly.)





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


Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Doug Poland

Hello,

I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 
and I was wondering what the recommendation is for ports.  Specifically, 
is it necessary to rebuild all ports?


So far, I haven't rebuilt any ports and haven't had any problems...

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


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Doug Poland

Erik Trulsson wrote:

On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:

Hello,

I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on i386 and I 
was wondering what the recommendation is for ports.  Specifically, is it 
necessary to rebuild all ports?


So far, I haven't rebuilt any ports and haven't had any problems...


It is not strictly necessary to rebuild all ports, but I would recommend it
and if you start to install any new ports then you should rebuild all the
old ones first.

Having some ports linked against 6.x libraries while some are linked
against 7.x libraries can very easily lead to problems.
(If one of your old ports (linked against 6.x libraries) provides some
library which is used by one of the new ports (using 7.x libraries) then the
new port can end up using two version of the same system library - both the
6.x version and the 7.x version.  This will almost certainly not work
correctly.)


Thank you for the info, I think I'll rebuild my ports.  I imagine I 
could then use



# portsclean --libclean

to get rid of those 6.x libraries and have a nice *clean* system.

--
Regards,
Doug

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


Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE

2007-10-19 Thread Boris Samorodov
On Fri, 19 Oct 2007 17:04:22 -0500 Doug Poland wrote:
 Erik Trulsson wrote:
  On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote:
  Hello,
 
  I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on
  i386 and I was wondering what the recommendation is for ports.
  Specifically, is it necessary to rebuild all ports?
 
  So far, I haven't rebuilt any ports and haven't had any problems...
 
  It is not strictly necessary to rebuild all ports, but I would recommend it
  and if you start to install any new ports then you should rebuild all the
  old ones first.
 
  Having some ports linked against 6.x libraries while some are linked
  against 7.x libraries can very easily lead to problems.
  (If one of your old ports (linked against 6.x libraries) provides some
  library which is used by one of the new ports (using 7.x libraries) then the
  new port can end up using two version of the same system library - both the
  6.x version and the 7.x version.  This will almost certainly not work
  correctly.)
 
 Thank you for the info, I think I'll rebuild my ports.  I imagine I
 could then use

 # portsclean --libclean

Shouldn't it remove only libraries from ports?

 to get rid of those 6.x libraries and have a nice *clean* system.

If you want to get a clean system and to get rid of 6.x libraries from
base system you may be interested in make delete-old[-libs|-dirs] at
/usr/src. More info at /usr/src/UPDATING and /usr/src/Makefile.


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


Re: FreeBSD 6.2 - STABLE sysctl: hw.acpi.cpu.cx_lowest: Invalid argument

2007-09-10 Thread George Vanev
On 9/9/07, Bogdan Potishuk [EMAIL PROTECTED] wrote:
 George Vanev said the following on 30.08.2007 12:22:
  Hi,
 
  I tried to build a custom kernel, but i get the following error on boot up:
  hw.acpi.cpu.cx_lowest: C1
  sysctl: hw.acpi.cpu.cx_lowest: Invalid argument
 
  I have updated the source tree.
  I tried to compile and install /usr/src/sys/i386/conf/GENERIC and
  /usr/src/sys/i386/conf/SMP
  The same error occurs.
 
  I have no problem with the precompiled SMP kernel that's initially
  installed.
 
  Any ideas what I did wrong?

 Look at
 http://www.freebsd.org/cgi/query-pr.cgi?pr=108581cat=

 --
 Regards,
 Bogdan
 ---
 KeyID: 0x84B8D5142569D30B
 Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
 Keyserver: keyserver.pgp.com
 ---


Thanks Bogdan, I already did.

It seems the problem is not solved.
How can I help the ACPI team to locate the problem - post dmesg? ...
or some other info?

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


Re: FreeBSD 6.2 - STABLE sysctl: hw.acpi.cpu.cx_lowest: Invalid argument

2007-09-08 Thread Bogdan Potishuk
George Vanev said the following on 30.08.2007 12:22:
 Hi,
 
 I tried to build a custom kernel, but i get the following error on boot up:
 hw.acpi.cpu.cx_lowest: C1
 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument
 
 I have updated the source tree.
 I tried to compile and install /usr/src/sys/i386/conf/GENERIC and
 /usr/src/sys/i386/conf/SMP
 The same error occurs.
 
 I have no problem with the precompiled SMP kernel that's initially
 installed.
 
 Any ideas what I did wrong?

Look at
http://www.freebsd.org/cgi/query-pr.cgi?pr=108581cat=

-- 
Regards,
Bogdan
---
KeyID: 0x84B8D5142569D30B
Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B
Keyserver: keyserver.pgp.com
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.2 - STABLE sysctl: hw.acpi.cpu.cx_lowest: Invalid argument

2007-08-30 Thread George Vanev
Hi,

I tried to build a custom kernel, but i get the following error on boot up:
hw.acpi.cpu.cx_lowest: C1
sysctl: hw.acpi.cpu.cx_lowest: Invalid argument

I have updated the source tree.
I tried to compile and install /usr/src/sys/i386/conf/GENERIC and
/usr/src/sys/i386/conf/SMP
The same error occurs.

I have no problem with the precompiled SMP kernel that's initially
installed.

Any ideas what I did wrong?

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


failed to create swap_zone 6.2-STABLE SMP Kernel

2007-08-19 Thread Tim Daneliuk

I note that this problem has appeared in the past and am wondering
if there is a resolution:

Running 6.2-STABLE on a machine that ran 4.11 flawlessly.  I am seeing the
message failed to create swap_zone right after the 2nd CPU gets
enabled on a Dell PowerEdge 1300.  The system blows out and reboots
therafter.  This same configuration works fine on a more modern Intel
MOBO with a Pentium D, so I'm guessing the problem is hardware dependent.
Booting a generic kernel works fine on the PowerEdge.

The source code is latest STABLE as of earlier today.

Has anyone else seen this and/or is there a workaround?

My exact kernel config is:

include SMP

options IPFIREWALL
options IPDIVERT

options VESA

# System console options

options SC_DISABLE_REBOOT   # disable reboot key sequence
options SC_HISTORY_SIZE=200 # number of history buffer lines
options SC_PIXEL_MODE   # add support for the raster text mode

# The following options will change the default colors of syscons.

options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)


TIA,
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: make buildworld fails on 6.2-STABLE

2007-07-27 Thread Jonathan Chen
On Thu, Jul 26, 2007 at 11:12:26AM -0500, J.D. Bronson wrote:
 so I deleted /usr/src
 redownloaded from a different mirror and tried
 make buildworld again...
 
 It still failed -but this time at a different point:

Standard behaviour of failing hardware - most likely memory.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make buildworld fails on 6.2-STABLE

2007-07-27 Thread JD Bronson

At 08:19 PM 7/27/2007 +1200, Jonathan Chen wrote:

On Thu, Jul 26, 2007 at 11:12:26AM -0500, J.D. Bronson wrote:
 so I deleted /usr/src
 redownloaded from a different mirror and tried
 make buildworld again...

 It still failed -but this time at a different point:

Standard behaviour of failing hardware - most likely memory.


yes. I removed/cleaned/replaced the RAM and it built.
Not sure if the issue will return or not :)

-JD  


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


Re: make buildworld fails on 6.2-STABLE

2007-07-26 Thread J.D. Bronson

so I deleted /usr/src
redownloaded from a different mirror and tried
make buildworld again...

It still failed -but this time at a different point:


mkdep -f .depend -a-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ 
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config 
-DDEFAULT_TARGET_VERSION=\3.4.6\ -DDEFAULT_TARGET_MACHINE=\\ 
/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gcc.c 
/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gccspec.c
echo cc: /usr/obj/usr/src/tmp/usr/lib/libc.a 
/usr/obj/usr/src/gnu/usr.bin/cc/cc/../cc_int/libcc_int.a  .depend

=== gnu/usr.bin/cc/cc1 (depend)
sed -e /^@@ifobjc.*/,/^@@end_ifobjc.*/d  -e /^@@ifc.*/d -e 
/^@@end_ifc.*/d 
/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-parse.in  c-parse.y

yacc -d c-parse.y
yacc: e - line 1811 of c-parse.y, syntax error
{ if ($1 == error_}ark_node)
   ^
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc1.
*** Error code 1

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


Re: make buildworld fails on 6.2-STABLE

2007-07-26 Thread J.D. Bronson

At 09:16 AM 07/26/2007, Heiko Wundram (Beenic) wrote:

Am Donnerstag 26 Juli 2007 15:54:36 schrieb J.D. Bronson:
 internal compiler error: Segmentation fault: 11
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.

Most probably a (physical) memory error.

As the message says, this has pretty much nothing to do with the upping of
world, but is an internal compiler error, which I've only seen on
development snapshots of gcc (improbable that these are distributed with
STABLE), or flaky memory (which is much more likely the cause).

--


thanks - ironically I have never had ANY issue building world on this 
machine until today. I have deleted /usr/src and re cvs'd from a diff 
mirror as a test.


-JD 


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


make buildworld fails on 6.2-STABLE

2007-07-26 Thread J.D. Bronson

Can someone help me with this?
I cvs'd up this am to 6.2-STABLE and now buildworld fails..


In file included from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include/bits/locale_facets.h:2963,

 from /usr/obj/usr/src/tmp/usr/include/c++/3.4/locale:46,
 from 
/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/config/locale/generic/collate_members.cc:36:
/usr/obj/usr/src/tmp/usr/include/c++/3.4/bits/time_members.h:62: 
internal compiler error: Segmentation fault: 11

Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/gnu/lib/libstdc++.
*** Error code 1

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

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





--
J.D. Bronson
Telecommunications Site Support
Aurora West Allis Memorial Hospital
Office: 414.978.8282 Fax: 414.977.5299

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


Re: make buildworld fails on 6.2-STABLE

2007-07-26 Thread Heiko Wundram (Beenic)
Am Donnerstag 26 Juli 2007 15:54:36 schrieb J.D. Bronson:
 internal compiler error: Segmentation fault: 11
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.

Most probably a (physical) memory error.

As the message says, this has pretty much nothing to do with the upping of 
world, but is an internal compiler error, which I've only seen on 
development snapshots of gcc (improbable that these are distributed with 
STABLE), or flaky memory (which is much more likely the cause).

-- 
Heiko Wundram
Product  Application Development
-
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon+49 511 / 590 935 - 15
Fax+49 511 / 590 935 - 29
Mail   [EMAIL PROTECTED]


Beenic Networks GmbH
-
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-20 Thread Stanislav Sedov
On Wed, 18 Jul 2007 23:12:57 +0100
Michael Vaughn [EMAIL PROTECTED] mentioned:

 Hello everyone,
 
 I am contacting -performance, -questions, and -hackers in the hope someone
 helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4
 

Try to run truss(1) on any of apache processes and look what it's doing.

-- 
Stanislav Sedov
ST4096-RIPE


pgptZ0CEO7yv2.pgp
Description: PGP signature


Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-19 Thread Norberto Meijome
On Wed, 18 Jul 2007 23:12:57 +0100
Michael Vaughn [EMAIL PROTECTED] wrote:

 Hello everyone,
 
 I am contacting -performance, -questions, and -hackers in the hope someone
 helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4

[ responding in questions - removed unnecessary lists]

can you please make your php.ini, httpd.conf , enabled extras/* and Include/*
available please?

what's the output of httpd -V and httpd -l

Do you use anything outside of the normal? Any networked file system ?


[...]

 The problem:
 
 Right after starting apache, the loads on the server will climb to 10-40's
 and the application will become unacceptably slow. This will go on until few
 users are using the said application. (note: other servers running older
 FreeBSD versions on dual cpus running the same code don't exhibit this
 system% problem) top shows more than 60% of the CPU time is spent on system:

I would first try to determine if the problem is with your application OR
apache+OS+configuration combo you have here.

- get rid of your application altogether - does apache behave the same way
(without clients hitting it)? If yes, dont worry about your app at all for now
- apache shouldn't load your system like this.

- If load with no-own-app-and-no-clients is ok, use ab to generate some load on
the server , on plain html pages. what happens then?

- I am not sure what would the best way to test PHP load...but there may be out
there some test framework  / standard php applications that can be used as a
point of reference... 

- you can run 
ktrace httpd -X 

and start using your app, and see if you get anything interesting in the output


 I had to lower MaxClients on apache substancially from 128 to 32, or loads
 would quickly go to 40+. (Other servers with dual cpus instead of quad and
 apache 1.3 on freebsd 6.0 don't have this problem)

something is fishy here , I've had (have? ) Apache boxen (i386 though )
with several hundred children  allowed (well, big enough that i had to change
the build defaults ), and it works fine. (i am not comparing apps, of course,
but the server behaviour is what is interesting)

HIH,
B
_
{Beto|Norberto|Numard} Meijome

The freethinking of one age is the common sense of the next.
   Matthew Arnold

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Michael Vaughn

Hello everyone,

I am contacting -performance, -questions, and -hackers in the hope someone
helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4


uname:
FreeBSD 6.2-STABLE Fri Jun 22 12:17:03 UTC 2007 amd64

installed php modules:
php5-5.2.3 PHP Scripting Language (Apache Module and CLI)
php5-gd-5.2.3 The gd shared extension for php
php5-mysql-5.2.3 The mysql shared extension for php
php5-pcre-5.2.3 The pcre shared extension for php
php5-session-5.2.3 The session shared extension for php
php5-simplexml-5.2.3 The simplexml shared extension for php
php5-tokenizer-5.2.3 The tokenizer shared extension for php
php5-xml-5.2.3 The xml shared extension for php

apache version:
apache-2.2.4_2 Version 2.2 of Apache web server with prefork MPM.


system:
real memory = 5100273664 (4864 MB)
avail memory = 4120178688 (3929 MB)

CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2666.78-MHz K8-class CPU)
Logical CPUs per core: 2
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs



The problem:

Right after starting apache, the loads on the server will climb to 10-40's
and the application will become unacceptably slow. This will go on until few
users are using the said application. (note: other servers running older
FreeBSD versions on dual cpus running the same code don't exhibit this
system% problem) top shows more than 60% of the CPU time is spent on system:

CPU states: 19.9% user, 0.0% nice, 73.7% system, 1.7% interrupt, 4.7% idle
Mem: 398M Active, 2226M Inact, 253M Wired, 202M Cache, 214M Buf, 567M Free

The apache processes look like:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
56882 www 1 103 0 139M 17516K select 0 0:03 12.66% httpd
56862 www 1 100 0 139M 21168K CPU2 6 0:06 11.87% httpd
56830 www 1 99 0 138M 19684K select 2 0:09 10.76% httpd
56887 www 1 105 0 139M 17488K select 6 0:01 10.49% httpd
56852 www 1 99 0 138M 20352K select 4 0:06 10.26% httpd
56889 www 1 106 0 139M 17548K select 6 0:01 10.04% httpd
56894 www 1 109 0 139M 17024K select 6 0:01 9.79% httpd
56839 www 1 99 0 138M 21216K select 6 0:06 9.36% httpd
56866 www 1 99 0 138M 17664K select 6 0:04 9.36% httpd
56890 www 1 108 0 138M 16180K select 4 0:01 9.29% httpd
56848 www 1 99 0 138M 20460K select 2 0:06 9.27% httpd
56865 www 1 99 0 138M 18920K select 2 0:05 9.23% httpd
56883 www 1 102 0 138M 16744K select 4 0:02 8.99% httpd
56870 www 1 100 0 139M 18440K select 2 0:03 8.86% httpd
56850 www 1 98 0 138M 21284K select 6 0:05 8.84% httpd
56860 www 1 99 0 138M 19584K select 0 0:05 8.70% httpd
56864 www 1 99 0 139M 18028K select 2 0:04 8.23% httpd
56854 www 1 99 0 138M 20696K select 6 0:05 8.23% httpd
56853 www 1 98 0 138M 19564K select 4 0:06 8.11% httpd
56835 www 1 98 0 139M 20276K CPU6 4 0:07 8.10% httpd
56849 www 1 98 0 138M 19532K select 0 0:05 7.95% httpd
56851 www 1 98 0 139M 20252K select 4 0:05 7.35% httpd
56888 www 1 4 0 139M 17100K sbwait 6 0:01 7.31% httpd
56869 www 1 100 0 139M 18632K select 4 0:02 6.75% httpd
56861 www 1 98 0 139M 18404K select 0 0:04 6.58% httpd
56863 www 1 98 0 139M 20220K select 2 0:03 6.40% httpd
56867 www 1 99 0 138M 17452K select 6 0:03 6.39% httpd
56868 www 1 99 0 138M 18376K select 0 0:03 6.20% httpd
56893 www 1 107 0 138M 12964K select 0 0:00 5.62% httpd
56878 www 1 100 0 138M 16732K select 6 0:02 5.27% httpd
56881 www 1 100 0 138M 16288K select 6 0:01 2.18% httpd


I had to lower MaxClients on apache substancially from 128 to 32, or loads
would quickly go to 40+. (Other servers with dual cpus instead of quad and
apache 1.3 on freebsd 6.0 don't have this problem)


vmstat 1:
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad4 ad6 in sy cs us sy id
0 1 0 1380860 787212 1365 0 0 0 1312 1 0 0 486 559 842 13 22 65
1 1 0 1384588 787128 2724 0 0 0 2581 0 0 88 3038 82956 48776 19 38 43
4 1 0 1399232 782936 3328 0 0 0 2112 0 0 97 3592 101093 66497 24 50 26
0 1 2 1400200 781628 3726 0 0 0 2910 0 0 99 3529 100289 81531 23 58 19
19 1 0 1404000 778556 2263 0 0 0 1141 0 0 62 2964 73572 101432 19 76 5
15 1 1 1402452 776800 2499 0 0 0 1714 0 7 74 2965 68441 102276 19 78 3
15 1 0 1401548 777112 2213 0 0 0 2103 0 0 42 2491 105584 109418 15 79 6
8 1 1 1403324 778856 2606 0 0 0 2748 0 0 84 2996 75288 91676 22 76 2
0 1 3 1396864 781344 2764 0 0 0 3010 0 0 86 3393 90765 85952 25 70 5
1 2 0 1395520 782604 2774 0 0 0 2978 0 0 79 3195 88251 92623 20 63 17
6 1 0 1396096 781832 2641 0 0 0 2195 0 1 82 3347 96322 55942 21 42 37

iostat 1:
tty ad4 ad6 ad8 cpu
tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id
0 28 13.94 4 0.06 16.13 48 0.75 13.94 4 0.06 13 0 21 1 65
0 231 0.00 0 0.00 16.00 68 1.06 0.00 0 0.00 19 0 74 1 5
0 77 0.00 0 0.00 16.00 90 1.40 0.00 0 0.00 17 0 77 2 4
0 77 0.50 1 0.00 16.00 46 0.72 0.50 1 0.00 14 0 82 1 4
0 77 0.00 0 0.00 16.00 83 1.30 0.00 0 0.00 21 0 65 2 12
0 77 0.00 0 0.00 16.00 37 0.58 0.00 0 0.00 18 0 76 1 5
0 77 0.00 0 0.00 16.00 82 1.28 0.00 0 0.00 20 0 74 2 4
0 77 0.00 0 0.00 16.00 68 1.06 0.00 0 0.00 21 0 47 2 30
0 77 0.00 0 0.00 16.00 61 0.95 0.00 0 0.00 20

Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Chuck Swiger

On Jul 18, 2007, at 3:12 PM, Michael Vaughn wrote:

Hello everyone,


Hi--

I am contacting -performance, -questions, and -hackers in the hope  
someone

helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4


Please don't cross-post between multiple FreeBSD lists; pick the most  
appropriate one.


[ ... ]
Right after starting apache, the loads on the server will climb to  
10-40's
and the application will become unacceptably slow. This will go on  
until few
users are using the said application. (note: other servers running  
older

FreeBSD versions on dual cpus running the same code don't exhibit this
system% problem) top shows more than 60% of the CPU time is spent  
on system:


CPU states: 19.9% user, 0.0% nice, 73.7% system, 1.7% interrupt,  
4.7% idle
Mem: 398M Active, 2226M Inact, 253M Wired, 202M Cache, 214M Buf,  
567M Free


The apache processes look like:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
56882 www 1 103 0 139M 17516K select 0 0:03 12.66% httpd
56862 www 1 100 0 139M 21168K CPU2 6 0:06 11.87% httpd
56830 www 1 99 0 138M 19684K select 2 0:09 10.76% httpd
56887 www 1 105 0 139M 17488K select 6 0:01 10.49% httpd

[ ... ]

Your Apache processes are huge; mine typically stay under 20MB in  
VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP  
5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise  
have some significant problems with the way they are coded.


I had to lower MaxClients on apache substancially from 128 to 32,  
or loads
would quickly go to 40+. (Other servers with dual cpus instead of  
quad and

apache 1.3 on freebsd 6.0 don't have this problem)


The fact that your server starts dogging out around 40 processes is  
not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds  
the available physical memory in the system, at which point you start  
swapping excessively and the performance is going to plummet.


You will have to find a way to make those httpd children smaller or  
else reduce the max number you run to 30 or less.


Now this web application isn't the best code out there, but this is  
a quad
cpu server and it's performing a lot worse than some servers I have  
running

with 6.0 with apache 1.3 for over 400 days.

Am I the only one getting terrible performance with apache2 on  
FreeBSD 6 ?


Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2  
+ PHP5 has been as well tested or is as lightweight in resources as  
the older Apache 1.3 or 2.0 flavors are.  It might be worth  
downgrading to an older Apache to test things out, but it really does  
sound like the web app you've got is the problem more than FreeBSD 6  
or the rest of your infrastructure


--
-Chuck

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


Fwd: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Michael Vaughn

On 7/19/07, Chuck Swiger [EMAIL PROTECTED] wrote:


On Jul 18, 2007, at 3:12 PM, Michael Vaughn wrote:
 Hello everyone,

Hi--

 I am contacting -performance, -questions, and -hackers in the hope
 someone
 helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4

Please don't cross-post between multiple FreeBSD lists; pick the most
appropriate one.

[ ... ]
 Right after starting apache, the loads on the server will climb to
 10-40's
 and the application will become unacceptably slow. This will go on
 until few
 users are using the said application. (note: other servers running
 older
 FreeBSD versions on dual cpus running the same code don't exhibit this
 system% problem) top shows more than 60% of the CPU time is spent
 on system:

 CPU states: 19.9% user, 0.0% nice, 73.7% system, 1.7% interrupt,
 4.7% idle
 Mem: 398M Active, 2226M Inact, 253M Wired, 202M Cache, 214M Buf,
 567M Free

 The apache processes look like:
 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
 56882 www 1 103 0 139M 17516K select 0 0:03 12.66% httpd
 56862 www 1 100 0 139M 21168K CPU2 6 0:06 11.87% httpd
 56830 www 1 99 0 138M 19684K select 2 0:09 10.76% httpd
 56887 www 1 105 0 139M 17488K select 6 0:01 10.49% httpd
[ ... ]

Your Apache processes are huge; mine typically stay under 20MB in
VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP
5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise
have some significant problems with the way they are coded.





The SIZE is huge; What they really use is about 20-30Mb as would be

expected.






I had to lower MaxClients on apache substancially from 128 to 32,
 or loads
 would quickly go to 40+. (Other servers with dual cpus instead of
 quad and
 apache 1.3 on freebsd 6.0 don't have this problem)

The fact that your server starts dogging out around 40 processes is
not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds
the available physical memory in the system, at which point you start
swapping excessively and the performance is going to plummet.



Swap: 8000M Total, 8000M Free



You will have to find a way to make those httpd children smaller or

else reduce the max number you run to 30 or less.



I have tried disabling pecl-APC and I already have most of the modules
commented out on
httpd.conf.

Nothing special running, other than php  extensions, and mod_security2. The
least I got was 70Mb per child.


Now this web application isn't the best code out there, but this is
 a quad
 cpu server and it's performing a lot worse than some servers I have
 running
 with 6.0 with apache 1.3 for over 400 days.

 Am I the only one getting terrible performance with apache2 on
 FreeBSD 6 ?

Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2
+ PHP5 has been as well tested or is as lightweight in resources as
the older Apache 1.3 or 2.0 flavors are.  It might be worth
downgrading to an older Apache to test things out, but it really does
sound like the web app you've got is the problem more than FreeBSD 6
or the rest of your infrastructure

I might give 2.0 a go; I felt this was worth mentioning because most of
the cpu time is spent on system, even with just 32 MaxClients.



Do note I mentioned the same app runs on inferior, with loads of 0-4 (not
optimal, but there is no noticeable slowdown there) on FreeBSD 6.0/i386
apache 1.3 (this is 6.2-STABLE/amd64 apache 2.2.4), and that is also part of
the reason I went ahead and mailed the list. It doesn't make sense that a
server with twice the ram, twice the processors and a recent OS version is
spending 70% of the time in system% whereas the old servers running for 400+
days spend about 25% in system%.


Thanks for your reply.





Also

--

-Chuck



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


Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Chuck Swiger

On Jul 18, 2007, at 4:15 PM, Michael Vaughn wrote:

Your Apache processes are huge; mine typically stay under 20MB in
VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP
5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise
have some significant problems with the way they are coded.


The SIZE is huge; What they really use is about 20-30Mb as would be  
expected.


I tend to see 20MB VSIZE and 15-18 MB RES; 140MB VSIZE and 20MB RES  
means 120MB is either swapped out, allocated but never referenced, or  
in inactive memory state.


That memory profile of your apache is surprising and resembles only a  
few cases I ran into, where people were writing huge Perl+DBD/DBI  
scripts via mod_perl that inflated RAM usage significantly and caused  
similar problems until some sanity checking and limiting of result  
sets was implemented in their code.



 I had to lower MaxClients on apache substancially from 128 to 32,
 or loads would quickly go to 40+. (Other servers with dual cpus  
instead of

 quad and apache 1.3 on freebsd 6.0 don't have this problem)

The fact that your server starts dogging out around 40 processes is
not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds
the available physical memory in the system, at which point you start
swapping excessively and the performance is going to plummet.


Swap: 8000M Total, 8000M Free


OK-- was this under your 30+ simultaneous clients load where you  
start seeing problems, or was this at a point where the system was  
closer to idle?



 Am I the only one getting terrible performance with apache2 on
 FreeBSD 6 ?

Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2
+ PHP5 has been as well tested or is as lightweight in resources as
the older Apache 1.3 or 2.0 flavors are.  It might be worth
downgrading to an older Apache to test things out, but it really does
sound like the web app you've got is the problem more than FreeBSD 6
or the rest of your infrastructure


I might give 2.0 a go; I felt this was worth mentioning because  
most of the cpu time is spent on system, even with just 32 MaxClients.


 Do note I mentioned the same app runs on inferior, with loads of  
0-4 (not optimal, but there is no noticeable slowdown there) on  
FreeBSD 6.0/i386 apache 1.3 (this is 6.2-STABLE/amd64 apache  
2.2.4), and that is also part of the reason I went ahead and mailed  
the list. It doesn't make sense that a server with twice the ram,  
twice the processors and a recent OS version is spending 70% of the  
time in system% whereas the old servers running for 400+ days spend  
about 25% in system%.


True enough.  There's a fair difference in memory profile between the  
32-bit x86 flavor of FreeBSD and the AMD64 flavor, although I  
wouldn't expect it to result in such an extreme difference.  It'd be  
interesting to see how the 32-bit version of 6.2 does and whether it  
makes a noticable change, if you get a chance to switch out for  
testing...


--
-Chuck

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


Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-18 Thread Michael Vaughn

On 7/19/07, Chuck Swiger [EMAIL PROTECTED] wrote:


On Jul 18, 2007, at 4:15 PM, Michael Vaughn wrote:
 Your Apache processes are huge; mine typically stay under 20MB in
 VSIZE even with PHP loaded (this is Apache-2.0.59 + PHP 4.4.7 or PHP
 5.2.x).  I suspect your PHP app(s) are leaking memory or otherwise
 have some significant problems with the way they are coded.

 The SIZE is huge; What they really use is about 20-30Mb as would be
 expected.

I tend to see 20MB VSIZE and 15-18 MB RES; 140MB VSIZE and 20MB RES
means 120MB is either swapped out, allocated but never referenced, or
in inactive memory state.



With apache 1.3 I see about 80K size and 35-40K RES (on a 6.2-STABLE
server as of Mon
Feb 26 02:46:31 UTC 2007, dual cpu i386).

That memory profile of your apache is surprising and resembles only a

few cases I ran into, where people were writing huge Perl+DBD/DBI
scripts via mod_perl that inflated RAM usage significantly and caused
similar problems until some sanity checking and limiting of result
sets was implemented in their code.



60M come from pecl-APC (apc.shm_size
= 60), which I've tried setting at 30, and disabling via apc.enabled=0
, both to no avail.

I have, as mentioned before, disabled all the apache modules I did not
need (a quick grep ^LoadModule and ^#LoadModule shows 35 enabled vs 16
disabled) .


 I had to lower MaxClients on apache substancially from 128 to 32,

  or loads would quickly go to 40+. (Other servers with dual cpus
 instead of
  quad and apache 1.3 on freebsd 6.0 don't have this problem)

 The fact that your server starts dogging out around 40 processes is
 not surprising-- 40 * ~140MB per httpd child = 5600 MB, which exceeds
 the available physical memory in the system, at which point you start
 swapping excessively and the performance is going to plummet.

 Swap: 8000M Total, 8000M Free

OK-- was this under your 30+ simultaneous clients load where you
start seeing problems, or was this at a point where the system was
closer to idle?




CPU states: 15.6% user, 0.0% nice, 79.2% system, 0.8% interrupt, 4,4%
idleSwap: 8000M Total,
8000M Free

Taken right now, with a load of 10.18 and 34 apache processes. Swap was the
first thing I checked, it *never* gets used at all.

Compare with the other server on 6.2-STABLE/i386 apache 1.3:

CPU states: 15.4% user, 0.0% nice, 21.3% system, 2.1% interrupt, 61.2% idle

Huge difference, and the server that's performing well is more loaded than
the one with problems, running on inferior hardware (2cpu vs 4cpu).






 Am I the only one getting terrible performance with apache2 on

  FreeBSD 6 ?

 Apache-2.0 + PHP does just fine for me; I'm not sure that Apache-2.2
 + PHP5 has been as well tested or is as lightweight in resources as
 the older Apache 1.3 or 2.0 flavors are.  It might be worth
 downgrading to an older Apache to test things out, but it really does
 sound like the web app you've got is the problem more than FreeBSD 6
 or the rest of your infrastructure

 I might give 2.0 a go; I felt this was worth mentioning because
 most of the cpu time is spent on system, even with just 32 MaxClients.

  Do note I mentioned the same app runs on inferior, with loads of
 0-4 (not optimal, but there is no noticeable slowdown there) on
 FreeBSD 6.0/i386 apache 1.3 (this is 6.2-STABLE/amd64 apache
 2.2.4), and that is also part of the reason I went ahead and mailed
 the list. It doesn't make sense that a server with twice the ram,
 twice the processors and a recent OS version is spending 70% of the
 time in system% whereas the old servers running for 400+ days spend
 about 25% in system%.

True enough.  There's a fair difference in memory profile between the
32-bit x86 flavor of FreeBSD and the AMD64 flavor, although I
wouldn't expect it to result in such an extreme difference.  It'd be
interesting to see how the 32-bit version of 6.2 does and whether it
makes a noticable change, if you get a chance to switch out for
testing...



I can't trash this server and install the i386 version on it.

Tthe closer I have is the 6.2-STABLE
server (exact date mentioned above) which runs on a dual xeon with
4GB ram, on i386. That one is way more loaded and the load is usually
around 1-4, without noticeable slowdowns.


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


bad network performance on 6.2-stable

2007-07-16 Thread Kirill Timofeev

Folks,

I have old PC (P1 75MHz, 64Mb RAM, xl and fxp network interface, internet
connection via pppoe), which was loaded with 4.11-STABLE and served as
internet gateway plus hold samba and squid. I decided to turn it into
wireless access point and upgraded it to 6.2-STABLE. Samba speed dropped
from 2mb/s to 900kb/s. I tryed GENERIC and custom kernels, tryed to play
with polling, but there was no speed increase. I tryed to install
netbsd 3.1on the same hardware and got 2mb/s again, but I would prefer
to stay with
freebsd. Could you please tell me what options should I try to increase
network performance? Please let me know if I should supply more information
about my setup.

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


6.2-stable power management

2007-07-09 Thread J.D. Bronson

Is there any way to verify ALL power management is disabled?
I have totally disabled it in my BIOS and I have
totally disabled it in the hard drives...

Yet I keep hearing a drive spin down and then immediately back up
over and over (at times).

If I install a different OS on this same machine, this does not 
happen..so I am thinking something within 6.2-stable is doing this?


any thoughts or ideas?

-JD

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


Re: 6.2-stable power management

2007-07-09 Thread Pollywog
On Monday 09 July 2007 12:43:45 J.D. Bronson wrote:
 Is there any way to verify ALL power management is disabled?
 I have totally disabled it in my BIOS and I have
 totally disabled it in the hard drives...

 Yet I keep hearing a drive spin down and then immediately back up
 over and over (at times).

 If I install a different OS on this same machine, this does not
 happen..so I am thinking something within 6.2-stable is doing this?

 any thoughts or ideas?

I am not having this problem with FreeBSD 6.2, which I recently installed on a 
laptop in place of kubuntu and I DID have this problem with the same laptop 
when it was running kubuntu.  I did not change any BIOS settings.  The laptop 
would wake me up with all the noise.  With FreeBSD 6.2 the laptop stays quiet 
if I leave it on overnight.

FreeBSD 6.2-RELEASE-p4 (GENERIC) #0: Thu Apr 26 17:40:53 UTC 2007
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2-stable power management

2007-07-09 Thread Pollywog
On Monday 09 July 2007 12:43:45 J.D. Bronson wrote:
 Is there any way to verify ALL power management is disabled?
 I have totally disabled it in my BIOS and I have
 totally disabled it in the hard drives...

 Yet I keep hearing a drive spin down and then immediately back up
 over and over (at times).

 If I install a different OS on this same machine, this does not
 happen..so I am thinking something within 6.2-stable is doing this?

 any thoughts or ideas?

BTW are you running chat clients or mail clients on this computer?
Perhaps something like that is causing this activity, such as when a mail 
client or notifier checks a remote server for mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: device polling on 6.2-stable..use? yes/no?

2007-06-27 Thread Pieter de Goeje
On Tuesday 26 June 2007, JD Bronson wrote:
 Anyone using device polling on 6.2stable (i386) ?
I have been using it.
 I have been reading up on this and seen some good and some bad but
 nothing definitive.
Basically you improve efficiency at the cost of latency, so expect lower CPU 
usage. To reduce latency one can increase HZ.

 I have bge NICs in these machines and they are running as routers,
 and  running pf.

 When I enabled it in the kernel and then via rc.conf (since sysctl
 use is depreciated now) ...I can see a difference in vmstat -i
 presuming thats the correct way to check.
Yes that would work.

 With polling DISABLED...vmstat shows ever increasing values for example:

 vmstat -i
 interrupt  total   rate
 irq4: sio0 3  0
 irq6: fdc010  0
 irq14: ata012210  0
 irq15: ata178834  2
 irq22: bge0   430416 11
 irq23: bge1   917826 24
 cpu0: timer 75098549   2000
 cpu1: timer 75092636   1999
 Total  151630484   4038

 and when I do a large network operation (like ftp an ISO) it
 increases and increaseshowever, with device polling compiled and
 configured (all default values though in sysctl) - I do not see an
 increase in vmstat numbers for the nics...I figured thats good...but
 I might be wrong?
Yup that's good. With polling off, you should never see it increase much 
beyond ~8000 interrupts/sec, the theoretical limit for an 100mbit connection 
with 1500 mtu while doing a big transfer. You can also check with 
systat -vmstat 1.

 I dont do anything higher than WAN(10MB) and LAN(100MB).

 But if anyone has any suggestions or comments  -especially values to
 adjust in sysctl, please chime in.
If you want lower latency (or if you experience packet loss) you could set
the kern.hz tunable (in loader.conf) to something higher than the default 
1000. I believe that people have been using 1 for busy routers. Note that 
this will increase CPU load when the system has no packets to process.

 TIA

 -JD

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


device polling on 6.2-stable..use? yes/no?

2007-06-26 Thread JD Bronson

Anyone using device polling on 6.2stable (i386) ?
I have been reading up on this and seen some good and some bad but 
nothing definitive.


I have bge NICs in these machines and they are running as routers, 
and  running pf.


When I enabled it in the kernel and then via rc.conf (since sysctl 
use is depreciated now) ...I can see a difference in vmstat -i

presuming thats the correct way to check.

With polling DISABLED...vmstat shows ever increasing values for example:

vmstat -i
interrupt  total   rate
irq4: sio0 3  0
irq6: fdc010  0
irq14: ata012210  0
irq15: ata178834  2
irq22: bge0   430416 11
irq23: bge1   917826 24
cpu0: timer 75098549   2000
cpu1: timer 75092636   1999
Total  151630484   4038

and when I do a large network operation (like ftp an ISO) it 
increases and increaseshowever, with device polling compiled and 
configured (all default values though in sysctl) - I do not see an 
increase in vmstat numbers for the nics...I figured thats good...but 
I might be wrong?


I dont do anything higher than WAN(10MB) and LAN(100MB).

But if anyone has any suggestions or comments  -especially values to 
adjust in sysctl, please chime in.


TIA

-JD

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


Re: FreeBSD 6.2-STABLE / Gnome / Beryl (recipe)

2007-06-25 Thread Reid Linnemann

Written by Eduardo Viruena Silva on 06/22/07 19:05


I have to thank to Reid Linnemann from the freebsd-questions list,
for suggesting me compile 6.2-STABLE, and to Jose Luis Enriquez,
for helping me to configure X.


Hope it helps.


Cheers,

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


Glad you got it working. I'm running Beryl on my workstation with an 
intel i865G. I've notice sometimes I run into shm starvation, either 
causing apps like firefox to fail to run or beryl to paint windows with 
empty textures. If you run in to this, try increasing the sysctl 
kern.ipc.shmall. I doubled the default value of 8192 (I think this is in 
bytes) to 16384 and I've not hit any more problems.


I've noticed GLX performance on the intel to be fabulous, using NVIDIA I 
currently get atrocious frame rates (sub-frame-per-second) on glxgears. 
I haven't tested on an ATI chip yet.

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


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-22 Thread Mark Stout
The mountroot was failing to find and mount /dev/da0s1a.  The device
/dev/da0s1a is in /etc/fstab.  Going to the loader prompt and loading the
old kernel booted fine.  So the problem appears to lie somewhere in the boot
files or I added a option/device I probably should not have in the kernel.




 -Original Message-
 From: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 21, 2007 7:51 AM
 To: Mark Stout
 Cc: Mark Stout; [EMAIL PROTECTED]; [EMAIL PROTECTED];
 freebsd-questions@freebsd.org
 Subject: RE: Upgrading to 6.2-RELEASE from 6.2-STABLE


 not sure about fbsd but nbsd tries to resolve the BIOS drive ID (hex
 0x80?) that the 1st stage boot loader loaded off of into a candidate to
 initialize the file system mount from.

 Then it goes after /etc/fstab, which has to agree .

 ~BAS

 On Wed, 2007-06-20 at 21:25 -0700, Mark Stout wrote:
  Well I got the server up and running on the old kernel.  I redid the
  buildworld and buildkernel.  I've held off for now on doing
 installworld and
  installkernel until I get a better understanding of what caused me to go
  into mountroot.  I use the Escape to loader prompt prompt to
 load the old
  kernel.
 
  Does anyone know what causes one to load into a mountroot prompt?
 
 
 
   -Original Message-
   From: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, June 13, 2007 8:52 AM
   To: Mark Stout
   Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
   freebsd-questions@freebsd.org
   Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE
  
  
   entering:
  
   mountroot ufs:da0s1a
  
   ...doesn't work
  
   What does ? command list.
  
   ~BAS
  
   On Tue, 2007-06-12 at 19:37 -0700, Mark Stout wrote:
I couldn't load da0s1a even though /dev/da0s1a is my root
   drive.  Manually load my old kernel from the prompt worked.
   
I believe the mountroot is during the boot load.  I'm not
   anywhere near being able to do anything.
   
I have no idea what the problem is.
   
 [EMAIL PROTECTED] wrote:
   
no idea, but maybe:
boot /boot/kernel/kernel
or
boot /boot/kernel.old/kernel
   
What is 'mountroot' - is that the boot loader or the kernel/system
giving you that?
   
try mounting your root drive!
   
do a `df -k`, anything already mounted?
   
oh!  or try:
fsck
   
did it ask you to login?
   
   
Mark Stout wrote:
 I followed all the steps in the handbook as well as UPDATED
   and after a installworld and mergemaster its booting into
   'mountroot' and nothing I type mounts.  This is a production
   machine so I'm in dire need of assistence.

  [EMAIL PROTECTED] wrote:
 On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:


 Following the tasks in Rebuilding world in the handbook

   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworl
   d.html I removed the
 /usr/obj directory and did a buildworld.  When tryinmg to
   compile the kernel its failing on
 unknown option MD5.  Commenting that out it fails on the
   line above MD5,  options LKM.
  What's happening here?  These two options papear in the
   LINT file.  I can't find anything
 that explains why this would happen.

 A follow-up to my last email.  I copied GENERIC to RADIUS2 and
 symlinked to /root/kernel.  Then added the various LINT options.

 I started commenting out what is failing when I try to
 compile a new
 kernel.  All are from the LINT file.  Is MD5 a default
 that does not
 need to be specifically added?  What about ICMP_BANDLIM?  And
 support for IDE drives. Are these already handed elsewhere
   in GENERIC?

 # These all failed as unknown options:
 unknown option MD5
 unknown option LKM
 unknown option CD9660_ROOTDELAY
 unknown option NSWAPDEV
 unknown option TCP_COMPAT_42
 unknown option ICMP_BANDLIM  (found in Handbook in Chapter
   14 Securing FreeBSD)


 # Do not understand why these are fialing
 config: Error: device acd0 is unknown
 config: Error: device wfd0 is unknown
 config: Error: device wst0 is unknown

 # This failed as a syntax error
 controller  wdc0at isa? port IO_WD1 bio irq 14



 Most of the above looks like old, deprecated
 stuff from 5.x and earlier (the controller wdc0
 line reminds me of 3.x or maybe NetBSD).

 IDE drive support is all handled by ata(4), all
 you should need for those in your kernel config
 is:
 device  ata
 device  atadisk
 device  atapicd
 (and obviously:)
 device eisa
 device pci
 Which are already part of GENERIC.

 /usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
 Try looking at /usr/src/sys/arch/conf/NOTES
 and /usr/src/sys/conf/NOTES for knobs to twist
 and buttons to push

FreeBSD 6.2-STABLE / Gnome / Beryl (recipe)

2007-06-22 Thread Eduardo Viruena Silva



Hello Guys,

After several hours of compilation, I have got
my FreeBSD/Gnome/Beryl working properly.  It took
almost 2 days of compiling processes.

To those who are interested, here is a log of
what I did:


Installed the minimal installation of
FreeBSD 6.2-RELEASE.  When my computer
woke up, I configure its mouse (a PS/2
microsoft optical mouse) by adding
the next lines to /etc/rc.conf:

moused_enable=YES
moused_flags=-z 4
moused_port=/dev/psm0
moused_type=auto

 michelle#  /etc/rc.d/moused start

Once it was working, I installed cvsup-without-gui:

 michelle#  pkg_add -r cvsup-without-gui
 michelle#  rehash

Configured my /etc/cvsupfile as shown:

-/etc/cvsupfile--
*default  host=cvsup.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_6
*default  delete use-rel-suffix

src-all
*default tag=.
ports-all
doc-all
 end of /etc/cvsupfile  -

Updated my system to 6.2-STABLE:

   michelle#  cvsup /etc/cvsupfile

(several hours later... )

Prepared my system to build the world.

   michelle#  cd /etc/src
   michelle#  make buildworld

(several hours later...)

   michelle#  make installworld
   michelle#  mergemaster

This last step makes a lot of questions.
I aswered i (install) to all of them.


Configured my kernel:

   michelle# cd /usr/src/sys/i386/conf
   michelle# cp GENERIC eviruena

Added my particular necessities:

...
   michelle# vi eviruena
   options  SMP
   device   atapicam
   device   drm
   device   i915drm
   device   sound
...
   michelle# config eviruena
   michelle# cd ../compile/eviruena
   michelle# make cleandepend
   michelle# make depend
   michelle# make
   michelle# make install
   michelle# reboot

In this point you have to check that you have
the device file: /dev/agpgart, if you don't,
perhaps your graphic card is not properly
handled by FreeBSD.


I installed Xorg 7.2.  It can be obtained from
FreeBSD packages:

   michelle# pkg_add -r xorg

it can take a lot of time, depending on your
ISP.  Some others (fearless men) prefer to compile
it from the ports, check the file
/usr/ports/UPGRADING  before doing anything.

Now, the problem is to get gnome installed.
I did not find it in the packages of 6-STABLE,
so I compiled it:

   michelle# setenv BATCH yes
   michelle# cd /usr/ports/x11/gnome2
   michelle# make clean install clean

as you can see, I am working with tcsh, if you
prefered bourne shell, you have to type:

export BATCH=yes

instead of:
setenv BATCH yes


(one day later...)

[Michelle (my computer) had some problems to find
opal-2.2.8.tar.gz; I found it by google-ing it, loaded
it in /usr/ports/distfiles and continued Gnome compilation].

Finally, gnome was compiled and installed.

Then, I needed to compile beryl:

michelle# cd /usr/ports/x11-wm/beryl
michelle# make clean install clean


Next, I had to configure X.  It is quite simple, but it is
a little tricky:

   michelle# X -configure

I had to make some changes to the configuration
obtained above, basicly I needed to include some options
that are not loaded by default.  I have to say that I own
an intel motherboard and I am using its graphic card
(it is an i950GM).  The X configuration requires to
include:

(in section ServerLayout)
   Option   AIGLX true

(in secion Device)
Option  XAANoOffscreenPixmaps true
Option  DRI true

(in section Screen)
DefaultDepth 24
Option   AddARGBGLXVisuals True

and, finally, I needed to add another two sections:

   Section Extensions
   Option Composite Enable
   EndSection

   Section dri
  Mode 0666
   EndSection


You must be warned that ATI and Nvidia Cards may requiere some
other options, please take a look at:

 http://wiki.beryl-project.org/index.php/Install/FreeBSD

Of course, you can add any other options in your X configuration,
v. gr., your keyboard layout or your mouse extensions, in
Mexico, for instance, we use Latinamerican keyboard, so I
included:

(in section InputDevice [keyboard])
   Option  XkbRules xorg
   Option  XkbModel pc105
   Option  XkbLayout latam

Now, I had an account and in this account I configured gnome
to start with my X session:

  michelle echo exec gnome-start  .xinitrc
  michelle chmod a+x .xinitrc

and tested X  gnome:

  michelle startx

everything worked ok.  Now, I opened a system terminal and I
typed:

 michelle  beryl-manager

as a consequence of this, a ruby was displayed in my launch bar.
I had wobbly windows, cubic desktops, etc.



I have to thank to Reid Linnemann from the freebsd-questions list,
for suggesting me compile 6.2-STABLE, and to Jose Luis Enriquez,
for helping me to configure X.


Hope it helps.


Cheers,

   Eduardo.
___
freebsd-questions@freebsd.org mailing list
http

Re: FreeBSD 6.2-STABLE / Gnome / Beryl (recipe)

2007-06-22 Thread [LoN]Kamikaze
Eduardo Viruena Silva wrote:
 Hello Guys,
 
 After several hours of compilation, I have got
 my FreeBSD/Gnome/Beryl working properly.  It took
 almost 2 days of compiling processes.
 
 To those who are interested, here is a log of
 what I did:
 

I have a couple of suggestions.

 ...
 
 Once it was working, I installed cvsup-without-gui:
 
  michelle#  pkg_add -r cvsup-without-gui
  michelle#  rehash
 

Why not use csup?

 ...
 
 Prepared my system to build the world.
 
michelle#  cd /etc/src
michelle#  make buildworld
 
 (several hours later...)
 
michelle#  make installworld
michelle#  mergemaster
 
 This last step makes a lot of questions.
 I aswered i (install) to all of them.
 
 
 Configured my kernel:
 
michelle# cd /usr/src/sys/i386/conf
michelle# cp GENERIC eviruena
 
 Added my particular necessities:
 
 ...
michelle# vi eviruena
options  SMP
device   atapicam
device   drm
device   i915drm
device   sound
 ...
michelle# config eviruena
michelle# cd ../compile/eviruena
michelle# make cleandepend
michelle# make depend
michelle# make
michelle# make install
michelle# reboot
 
 In this point you have to check that you have
 the device file: /dev/agpgart, if you don't,
 perhaps your graphic card is not properly
 handled by FreeBSD.

I think the rcommended procedure is to install the new kernel before installing
world. and why did you all this config and depend stuff instead of buildkernel,
installkernel?

 
 I installed Xorg 7.2.  It can be obtained from
 FreeBSD packages:
 
michelle# pkg_add -r xorg

It's a good idea to create the Symlink /usr/X11R6 - /usr/local before
installing anything. I expect future releases to have this out of the box.

 
 it can take a lot of time, depending on your
 ISP.  Some others (fearless men) prefer to compile
 it from the ports, check the file
 /usr/ports/UPGRADING  before doing anything.
 
 Now, the problem is to get gnome installed.
 I did not find it in the packages of 6-STABLE,
 so I compiled it:
 
michelle# setenv BATCH yes
michelle# cd /usr/ports/x11/gnome2
michelle# make clean install clean
 
 as you can see, I am working with tcsh, if you
 prefered bourne shell, you have to type:
 
 export BATCH=yes
 
 instead of:
 setenv BATCH yes
 
 
 (one day later...)
 
 [Michelle (my computer) had some problems to find
 opal-2.2.8.tar.gz; I found it by google-ing it, loaded
 it in /usr/ports/distfiles and continued Gnome compilation].
 
 Finally, gnome was compiled and installed.
 
 Then, I needed to compile beryl:
 
 michelle# cd /usr/ports/x11-wm/beryl
 michelle# make clean install clean
 
 
 Next, I had to configure X.  It is quite simple, but it is
 a little tricky:
 
michelle# X -configure
 
 I had to make some changes to the configuration
 obtained above, basicly I needed to include some options
 that are not loaded by default.  I have to say that I own
 an intel motherboard and I am using its graphic card
 (it is an i950GM).  The X configuration requires to
 include:
 
 (in section ServerLayout)
Option   AIGLX true

This will freeze your system if you use radeon.

 ...
 
 You must be warned that ATI and Nvidia Cards may requiere some
 other options, please take a look at:
 
  http://wiki.beryl-project.org/index.php/Install/FreeBSD
 
 ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-21 Thread Brian A. Seklecki
not sure about fbsd but nbsd tries to resolve the BIOS drive ID (hex
0x80?) that the 1st stage boot loader loaded off of into a candidate to
initialize the file system mount from.

Then it goes after /etc/fstab, which has to agree .

~BAS

On Wed, 2007-06-20 at 21:25 -0700, Mark Stout wrote:
 Well I got the server up and running on the old kernel.  I redid the
 buildworld and buildkernel.  I've held off for now on doing installworld and
 installkernel until I get a better understanding of what caused me to go
 into mountroot.  I use the Escape to loader prompt prompt to load the old
 kernel.
 
 Does anyone know what causes one to load into a mountroot prompt?
 
 
 
  -Original Message-
  From: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 13, 2007 8:52 AM
  To: Mark Stout
  Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
  freebsd-questions@freebsd.org
  Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE
 
 
  entering:
 
  mountroot ufs:da0s1a
 
  ...doesn't work
 
  What does ? command list.
 
  ~BAS
 
  On Tue, 2007-06-12 at 19:37 -0700, Mark Stout wrote:
   I couldn't load da0s1a even though /dev/da0s1a is my root
  drive.  Manually load my old kernel from the prompt worked.
  
   I believe the mountroot is during the boot load.  I'm not
  anywhere near being able to do anything.
  
   I have no idea what the problem is.
  
[EMAIL PROTECTED] wrote:
  
   no idea, but maybe:
   boot /boot/kernel/kernel
   or
   boot /boot/kernel.old/kernel
  
   What is 'mountroot' - is that the boot loader or the kernel/system
   giving you that?
  
   try mounting your root drive!
  
   do a `df -k`, anything already mounted?
  
   oh!  or try:
   fsck
  
   did it ask you to login?
  
  
   Mark Stout wrote:
I followed all the steps in the handbook as well as UPDATED
  and after a installworld and mergemaster its booting into
  'mountroot' and nothing I type mounts.  This is a production
  machine so I'm in dire need of assistence.
   
 [EMAIL PROTECTED] wrote:
On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:
   
   
Following the tasks in Rebuilding world in the handbook
   
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworl
  d.html I removed the
/usr/obj directory and did a buildworld.  When tryinmg to
  compile the kernel its failing on
unknown option MD5.  Commenting that out it fails on the
  line above MD5,  options LKM.
 What's happening here?  These two options papear in the
  LINT file.  I can't find anything
that explains why this would happen.
   
A follow-up to my last email.  I copied GENERIC to RADIUS2 and
symlinked to /root/kernel.  Then added the various LINT options.
   
I started commenting out what is failing when I try to compile a new
kernel.  All are from the LINT file.  Is MD5 a default that does not
need to be specifically added?  What about ICMP_BANDLIM?  And
support for IDE drives. Are these already handed elsewhere
  in GENERIC?
   
# These all failed as unknown options:
unknown option MD5
unknown option LKM
unknown option CD9660_ROOTDELAY
unknown option NSWAPDEV
unknown option TCP_COMPAT_42
unknown option ICMP_BANDLIM  (found in Handbook in Chapter
  14 Securing FreeBSD)
   
   
# Do not understand why these are fialing
config: Error: device acd0 is unknown
config: Error: device wfd0 is unknown
config: Error: device wst0 is unknown
   
# This failed as a syntax error
controller  wdc0at isa? port IO_WD1 bio irq 14
   
   
   
Most of the above looks like old, deprecated
stuff from 5.x and earlier (the controller wdc0
line reminds me of 3.x or maybe NetBSD).
   
IDE drive support is all handled by ata(4), all
you should need for those in your kernel config
is:
device  ata
device  atadisk
device  atapicd
(and obviously:)
device eisa
device pci
Which are already part of GENERIC.
   
/usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
Try looking at /usr/src/sys/arch/conf/NOTES
and /usr/src/sys/conf/NOTES for knobs to twist
and buttons to push.
   
   
  
  
  
  
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  --
  Brian A. Seklecki [EMAIL PROTECTED]
  Collaborative Fusion, Inc.
 
 
 
 
  IMPORTANT: This message contains confidential information and is
  intended only for the individual named. If the reader of this
  message is not an intended recipient (or the individual
  responsible for the delivery of this message to an intended
  recipient), please be advised that any re-use, dissemination,
  distribution or copying of this message is prohibited.  Please
  notify the sender immediately by e-mail if you have received this
  e-mail

6.2-stable/gnome

2007-06-20 Thread Eduardo Viruena Silva


Hello!

My systems says:

FreeBSD michelle.esfm.ipn.mx 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jun 20 
15:14:14 CDT 2007 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/eviruena  i386


I would like to install gnome BUT I CANNOT FIND IT.

If I try:

 pkg_add -r gnome2

I get:

michelle:/home/mrspock pkg_add -r gnome2
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/gnome2.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/gnome2.tbz' 
by URL


the same thing happends if I try:  gnome, gnome2, etc.

Is there a way of installing gnome2 without compiling it from the ports?

(of course, I have the FreeBSD 6.2-RELEASE discs but they are outdated,
the dependences are completely different from the ones used in 6.2-STABLE)

Thanks in advance.

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


Re: 6.2-stable/gnome

2007-06-20 Thread Kris Kennaway
On Wed, Jun 20, 2007 at 09:02:58PM -0500, Eduardo Viruena Silva wrote:
 
 Hello!
 
 My systems says:
 
 FreeBSD michelle.esfm.ipn.mx 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jun 20 
 15:14:14 CDT 2007 
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/eviruena  i386
 
 I would like to install gnome BUT I CANNOT FIND IT.
 
 If I try:
 
  pkg_add -r gnome2
 
 I get:
 
 michelle:/home/mrspock pkg_add -r gnome2
 Error: FTP Unable to get 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/gnome2.tbz:
  
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch 
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/gnome2.tbz'
  
 by URL
 
 the same thing happends if I try:  gnome, gnome2, etc.
 
 Is there a way of installing gnome2 without compiling it from the ports?
 
 (of course, I have the FreeBSD 6.2-RELEASE discs but they are outdated,
 the dependences are completely different from the ones used in 6.2-STABLE)

Wait until it becomes entirely buildable.  Often in the immediate
aftermath of a new gnome release it does not completely build for a
week or so.

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


Re: 6.2-stable/gnome

2007-06-20 Thread Nikola Lecic
On Wed, 20 Jun 2007 21:02:58 -0500 (CDT)
Eduardo Viruena Silva [EMAIL PROTECTED] wrote:

 (of course, I have the FreeBSD 6.2-RELEASE discs but they are
 outdated, the dependences are completely different from the ones used
 in 6.2-STABLE)

I'd say you misunderstood the relationship here: please note that
FreeBSD releases as such have not very much to do with the up-to-date
state of third party software and dependencies in the ports tree. You
can have up-to-date ports tree and installed applications on the latest
release of both CURRENT and STABLE branches (that includes the CD you
have -- you would just pick up the latest ports tree instead of one
shipped on CD).

You can read:

  http://www.freebsd.org/cgi/man.cgi?query=portssektion=7
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/dev-model/release-branches.html

(among other pages) for more details.

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


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-20 Thread Mark Stout
Well I got the server up and running on the old kernel.  I redid the
buildworld and buildkernel.  I've held off for now on doing installworld and
installkernel until I get a better understanding of what caused me to go
into mountroot.  I use the Escape to loader prompt prompt to load the old
kernel.

Does anyone know what causes one to load into a mountroot prompt?



 -Original Message-
 From: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 13, 2007 8:52 AM
 To: Mark Stout
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
 freebsd-questions@freebsd.org
 Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE


 entering:

 mountroot ufs:da0s1a

 ...doesn't work

 What does ? command list.

 ~BAS

 On Tue, 2007-06-12 at 19:37 -0700, Mark Stout wrote:
  I couldn't load da0s1a even though /dev/da0s1a is my root
 drive.  Manually load my old kernel from the prompt worked.
 
  I believe the mountroot is during the boot load.  I'm not
 anywhere near being able to do anything.
 
  I have no idea what the problem is.
 
   [EMAIL PROTECTED] wrote:
 
  no idea, but maybe:
  boot /boot/kernel/kernel
  or
  boot /boot/kernel.old/kernel
 
  What is 'mountroot' - is that the boot loader or the kernel/system
  giving you that?
 
  try mounting your root drive!
 
  do a `df -k`, anything already mounted?
 
  oh!  or try:
  fsck
 
  did it ask you to login?
 
 
  Mark Stout wrote:
   I followed all the steps in the handbook as well as UPDATED
 and after a installworld and mergemaster its booting into
 'mountroot' and nothing I type mounts.  This is a production
 machine so I'm in dire need of assistence.
  
[EMAIL PROTECTED] wrote:
   On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:
  
  
   Following the tasks in Rebuilding world in the handbook
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworl
 d.html I removed the
   /usr/obj directory and did a buildworld.  When tryinmg to
 compile the kernel its failing on
   unknown option MD5.  Commenting that out it fails on the
 line above MD5,  options LKM.
What's happening here?  These two options papear in the
 LINT file.  I can't find anything
   that explains why this would happen.
  
   A follow-up to my last email.  I copied GENERIC to RADIUS2 and
   symlinked to /root/kernel.  Then added the various LINT options.
  
   I started commenting out what is failing when I try to compile a new
   kernel.  All are from the LINT file.  Is MD5 a default that does not
   need to be specifically added?  What about ICMP_BANDLIM?  And
   support for IDE drives. Are these already handed elsewhere
 in GENERIC?
  
   # These all failed as unknown options:
   unknown option MD5
   unknown option LKM
   unknown option CD9660_ROOTDELAY
   unknown option NSWAPDEV
   unknown option TCP_COMPAT_42
   unknown option ICMP_BANDLIM  (found in Handbook in Chapter
 14 Securing FreeBSD)
  
  
   # Do not understand why these are fialing
   config: Error: device acd0 is unknown
   config: Error: device wfd0 is unknown
   config: Error: device wst0 is unknown
  
   # This failed as a syntax error
   controller  wdc0at isa? port IO_WD1 bio irq 14
  
  
  
   Most of the above looks like old, deprecated
   stuff from 5.x and earlier (the controller wdc0
   line reminds me of 3.x or maybe NetBSD).
  
   IDE drive support is all handled by ata(4), all
   you should need for those in your kernel config
   is:
   device  ata
   device  atadisk
   device  atapicd
   (and obviously:)
   device eisa
   device pci
   Which are already part of GENERIC.
  
   /usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
   Try looking at /usr/src/sys/arch/conf/NOTES
   and /usr/src/sys/conf/NOTES for knobs to twist
   and buttons to push.
  
  
 
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 --
 Brian A. Seklecki [EMAIL PROTECTED]
 Collaborative Fusion, Inc.




 IMPORTANT: This message contains confidential information and is
 intended only for the individual named. If the reader of this
 message is not an intended recipient (or the individual
 responsible for the delivery of this message to an intended
 recipient), please be advised that any re-use, dissemination,
 distribution or copying of this message is prohibited.  Please
 notify the sender immediately by e-mail if you have received this
 e-mail by mistake and delete this e-mail from your system.



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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-13 Thread Brian A. Seklecki
entering:

mountroot ufs:da0s1a

...doesn't work

What does ? command list.

~BAS

On Tue, 2007-06-12 at 19:37 -0700, Mark Stout wrote:
 I couldn't load da0s1a even though /dev/da0s1a is my root drive.  Manually 
 load my old kernel from the prompt worked.
 
 I believe the mountroot is during the boot load.  I'm not anywhere near being 
 able to do anything.
 
 I have no idea what the problem is.
 
  [EMAIL PROTECTED] wrote:
 
 no idea, but maybe:
 boot /boot/kernel/kernel   
 or
 boot /boot/kernel.old/kernel
 
 What is 'mountroot' - is that the boot loader or the kernel/system 
 giving you that?
 
 try mounting your root drive!
 
 do a `df -k`, anything already mounted?
 
 oh!  or try:
 fsck
 
 did it ask you to login?
 
 
 Mark Stout wrote:
  I followed all the steps in the handbook as well as UPDATED and after a 
  installworld and mergemaster its booting into 'mountroot' and nothing I 
  type mounts.  This is a production machine so I'm in dire need of 
  assistence.
 
   [EMAIL PROTECTED] wrote:
  On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:
 

  Following the tasks in Rebuilding world in the handbook
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html 
  I removed the
  /usr/obj directory and did a buildworld.  When tryinmg to compile the 
  kernel its failing on
  unknown option MD5.  Commenting that out it fails on the line above 
  MD5,  options LKM.
   What's happening here?  These two options papear in the LINT file.  I 
  can't find anything
  that explains why this would happen.

  A follow-up to my last email.  I copied GENERIC to RADIUS2 and
  symlinked to /root/kernel.  Then added the various LINT options.
 
  I started commenting out what is failing when I try to compile a new
  kernel.  All are from the LINT file.  Is MD5 a default that does not
  need to be specifically added?  What about ICMP_BANDLIM?  And
  support for IDE drives. Are these already handed elsewhere in GENERIC?
 
  # These all failed as unknown options:
  unknown option MD5
  unknown option LKM
  unknown option CD9660_ROOTDELAY
  unknown option NSWAPDEV
  unknown option TCP_COMPAT_42
  unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14 Securing 
  FreeBSD)
 
 
  # Do not understand why these are fialing
  config: Error: device acd0 is unknown
  config: Error: device wfd0 is unknown
  config: Error: device wst0 is unknown
 
  # This failed as a syntax error
  controller  wdc0at isa? port IO_WD1 bio irq 14
 
  
 
  Most of the above looks like old, deprecated
  stuff from 5.x and earlier (the controller wdc0
  line reminds me of 3.x or maybe NetBSD).
 
  IDE drive support is all handled by ata(4), all
  you should need for those in your kernel config
  is:
  device  ata
  device  atadisk
  device  atapicd
  (and obviously:)
  device eisa
  device pci
  Which are already part of GENERIC.
 
  /usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
  Try looking at /usr/src/sys/arch/conf/NOTES
  and /usr/src/sys/conf/NOTES for knobs to twist
  and buttons to push.
 

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




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-13 Thread Mark Stout


 -Original Message-
 From: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 13, 2007 8:52 AM
 To: Mark Stout
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];
 freebsd-questions@freebsd.org
 Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE



 On Tue, 2007-06-12 at 19:37 -0700, Mark Stout wrote:
  I couldn't load da0s1a even though /dev/da0s1a is my root
 drive.  Manually load my old kernel from the prompt worked.
 
  I believe the mountroot is during the boot load.  I'm not
 anywhere near being able to do anything.
 
  I have no idea what the problem is.
 
   [EMAIL PROTECTED] wrote:
 
  no idea, but maybe:
  boot /boot/kernel/kernel
  or
  boot /boot/kernel.old/kernel
 
  What is 'mountroot' - is that the boot loader or the kernel/system
  giving you that?
 
  try mounting your root drive!
 
  do a `df -k`, anything already mounted?
 
  oh!  or try:
  fsck
 
  did it ask you to login?
 
 
  Mark Stout wrote:
   I followed all the steps in the handbook as well as UPDATED
 and after a installworld and mergemaster its booting into
 'mountroot' and nothing I type mounts.  This is a production
 machine so I'm in dire need of assistence.
  
[EMAIL PROTECTED] wrote:
   On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:
  
  
   Following the tasks in Rebuilding world in the handbook
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworl
 d.html I removed the
   /usr/obj directory and did a buildworld.  When tryinmg to
 compile the kernel its failing on
   unknown option MD5.  Commenting that out it fails on the
 line above MD5,  options LKM.
What's happening here?  These two options papear in the
 LINT file.  I can't find anything
   that explains why this would happen.
  
   A follow-up to my last email.  I copied GENERIC to RADIUS2 and
   symlinked to /root/kernel.  Then added the various LINT options.
  
   I started commenting out what is failing when I try to compile a new
   kernel.  All are from the LINT file.  Is MD5 a default that does not
   need to be specifically added?  What about ICMP_BANDLIM?  And
   support for IDE drives. Are these already handed elsewhere
 in GENERIC?
  
   # These all failed as unknown options:
   unknown option MD5
   unknown option LKM
   unknown option CD9660_ROOTDELAY
   unknown option NSWAPDEV
   unknown option TCP_COMPAT_42
   unknown option ICMP_BANDLIM  (found in Handbook in Chapter
 14 Securing FreeBSD)
  
  
   # Do not understand why these are fialing
   config: Error: device acd0 is unknown
   config: Error: device wfd0 is unknown
   config: Error: device wst0 is unknown
  
   # This failed as a syntax error
   controller  wdc0at isa? port IO_WD1 bio irq 14
  
  
  
   Most of the above looks like old, deprecated
   stuff from 5.x and earlier (the controller wdc0
   line reminds me of 3.x or maybe NetBSD).
  
   IDE drive support is all handled by ata(4), all
   you should need for those in your kernel config
   is:
   device  ata
   device  atadisk
   device  atapicd
   (and obviously:)
   device eisa
   device pci
   Which are already part of GENERIC.
  
   /usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
   Try looking at /usr/src/sys/arch/conf/NOTES
   and /usr/src/sys/conf/NOTES for knobs to twist
   and buttons to push.
  


 entering:

 mountroot ufs:da0s1a

 ...doesn't work

 What does ? command list.

 ~BAS


It lists all available drives mount points and then some, e.g. fd0, da0,
da01, da01s, da0s1a, da0s1b, da0s1c, etc., etc.  None of which mounts.
Below is my /etc/fstab.  So obviously da0s1a or /dev/da0s1a should mount.
But it doesn't.  I had to go into the loader prompt, unload the kernel, load
the old kernel and that booted the system.  Now I've restored the backup
copy of my /etc directory from /var/tmp/etc and I re-ran a new buildworld
and buildkernel.  Now I'm about to go and do the installworld and
installkernel.   But I'm hoping to get a better understanding of what
happened before I do.

# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/da0s1b noneswapsw  0   0
/dev/da0s1a /   ufs rw  1   1
/dev/da1s1e /data   ufs rw  2   2
/dev/da0s1g /radius ufs rw  2   2
/dev/da0s1f /usrufs rw  2   2
/dev/da0s1e /varufs rw  2   2
/dev/wcd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0

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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-12 Thread Mark Stout
I followed all the steps in the handbook as well as UPDATED and after a 
installworld and mergemaster its booting into 'mountroot' and nothing I type 
mounts.  This is a production machine so I'm in dire need of assistence.

 [EMAIL PROTECTED] wrote:
On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:

  Following the tasks in Rebuilding world in the handbook
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I 
  removed the
  /usr/obj directory and did a buildworld.  When tryinmg to compile the 
  kernel its failing on
  unknown option MD5.  Commenting that out it fails on the line above MD5,  
  options LKM.
   What's happening here?  These two options papear in the LINT file.  I 
  can't find anything
  that explains why this would happen.

 A follow-up to my last email.  I copied GENERIC to RADIUS2 and
 symlinked to /root/kernel.  Then added the various LINT options.

 I started commenting out what is failing when I try to compile a new
 kernel.  All are from the LINT file.  Is MD5 a default that does not
 need to be specifically added?  What about ICMP_BANDLIM?  And
 support for IDE drives. Are these already handed elsewhere in GENERIC?

 # These all failed as unknown options:
 unknown option MD5
 unknown option LKM
 unknown option CD9660_ROOTDELAY
 unknown option NSWAPDEV
 unknown option TCP_COMPAT_42
 unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14 Securing 
 FreeBSD)


 # Do not understand why these are fialing
 config: Error: device acd0 is unknown
 config: Error: device wfd0 is unknown
 config: Error: device wst0 is unknown

 # This failed as a syntax error
 controller  wdc0at isa? port IO_WD1 bio irq 14


Most of the above looks like old, deprecated
stuff from 5.x and earlier (the controller wdc0
line reminds me of 3.x or maybe NetBSD).

IDE drive support is all handled by ata(4), all
you should need for those in your kernel config
is:
device  ata
device  atadisk
device  atapicd
(and obviously:)
device eisa
device pci
Which are already part of GENERIC.

/usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
Try looking at /usr/src/sys/arch/conf/NOTES
and /usr/src/sys/conf/NOTES for knobs to twist
and buttons to push.

-- 
--



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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-12 Thread Jack Barnett


no idea, but maybe:
   boot /boot/kernel/kernel   
or

   boot /boot/kernel.old/kernel

What is 'mountroot' - is that the boot loader or the kernel/system 
giving you that?


try mounting your root drive!

do a `df -k`, anything already mounted?

oh!  or try:
   fsck

did it ask you to login?


Mark Stout wrote:

I followed all the steps in the handbook as well as UPDATED and after a 
installworld and mergemaster its booting into 'mountroot' and nothing I type 
mounts.  This is a production machine so I'm in dire need of assistence.

 [EMAIL PROTECTED] wrote:
On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:

  

Following the tasks in Rebuilding world in the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I 
removed the
/usr/obj directory and did a buildworld.  When tryinmg to compile the kernel 
its failing on
unknown option MD5.  Commenting that out it fails on the line above MD5,  
options LKM.
 What's happening here?  These two options papear in the LINT file.  I can't 
find anything
that explains why this would happen.
  

A follow-up to my last email.  I copied GENERIC to RADIUS2 and
symlinked to /root/kernel.  Then added the various LINT options.

I started commenting out what is failing when I try to compile a new
kernel.  All are from the LINT file.  Is MD5 a default that does not
need to be specifically added?  What about ICMP_BANDLIM?  And
support for IDE drives. Are these already handed elsewhere in GENERIC?

# These all failed as unknown options:
unknown option MD5
unknown option LKM
unknown option CD9660_ROOTDELAY
unknown option NSWAPDEV
unknown option TCP_COMPAT_42
unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14 Securing 
FreeBSD)


# Do not understand why these are fialing
config: Error: device acd0 is unknown
config: Error: device wfd0 is unknown
config: Error: device wst0 is unknown

# This failed as a syntax error
controller  wdc0at isa? port IO_WD1 bio irq 14




Most of the above looks like old, deprecated
stuff from 5.x and earlier (the controller wdc0
line reminds me of 3.x or maybe NetBSD).

IDE drive support is all handled by ata(4), all
you should need for those in your kernel config
is:
device  ata
device  atadisk
device  atapicd
(and obviously:)
device eisa
device pci
Which are already part of GENERIC.

/usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
Try looking at /usr/src/sys/arch/conf/NOTES
and /usr/src/sys/conf/NOTES for knobs to twist
and buttons to push.

  


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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-12 Thread Mark Stout
I couldn't load da0s1a even though /dev/da0s1a is my root drive.  Manually load 
my old kernel from the prompt worked.

I believe the mountroot is during the boot load.  I'm not anywhere near being 
able to do anything.

I have no idea what the problem is.

 [EMAIL PROTECTED] wrote:

no idea, but maybe:
boot /boot/kernel/kernel   
or
boot /boot/kernel.old/kernel

What is 'mountroot' - is that the boot loader or the kernel/system 
giving you that?

try mounting your root drive!

do a `df -k`, anything already mounted?

oh!  or try:
fsck

did it ask you to login?


Mark Stout wrote:
 I followed all the steps in the handbook as well as UPDATED and after a 
 installworld and mergemaster its booting into 'mountroot' and nothing I type 
 mounts.  This is a production machine so I'm in dire need of assistence.

  [EMAIL PROTECTED] wrote:
 On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:

   
 Following the tasks in Rebuilding world in the handbook
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I 
 removed the
 /usr/obj directory and did a buildworld.  When tryinmg to compile the 
 kernel its failing on
 unknown option MD5.  Commenting that out it fails on the line above MD5,  
 options LKM.
  What's happening here?  These two options papear in the LINT file.  I 
 can't find anything
 that explains why this would happen.
   
 A follow-up to my last email.  I copied GENERIC to RADIUS2 and
 symlinked to /root/kernel.  Then added the various LINT options.

 I started commenting out what is failing when I try to compile a new
 kernel.  All are from the LINT file.  Is MD5 a default that does not
 need to be specifically added?  What about ICMP_BANDLIM?  And
 support for IDE drives. Are these already handed elsewhere in GENERIC?

 # These all failed as unknown options:
 unknown option MD5
 unknown option LKM
 unknown option CD9660_ROOTDELAY
 unknown option NSWAPDEV
 unknown option TCP_COMPAT_42
 unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14 Securing 
 FreeBSD)


 # Do not understand why these are fialing
 config: Error: device acd0 is unknown
 config: Error: device wfd0 is unknown
 config: Error: device wst0 is unknown

 # This failed as a syntax error
 controller  wdc0at isa? port IO_WD1 bio irq 14

 

 Most of the above looks like old, deprecated
 stuff from 5.x and earlier (the controller wdc0
 line reminds me of 3.x or maybe NetBSD).

 IDE drive support is all handled by ata(4), all
 you should need for those in your kernel config
 is:
 device  ata
 device  atadisk
 device  atapicd
 (and obviously:)
 device eisa
 device pci
 Which are already part of GENERIC.

 /usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
 Try looking at /usr/src/sys/arch/conf/NOTES
 and /usr/src/sys/conf/NOTES for knobs to twist
 and buttons to push.

   




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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-12 Thread Spiros Papadopoulos

Hi Mark,

Some months ago i tried to upgrade my source from 5.2 to 6.1.
I did something wrong and It took me 2 to 4 weeks to stabilize my system
and to be honest
i tried so many things that i am not sure what I did exactly and brought it
back to normal.
I remember re-building and re-installing the kernel and suddenly everything
was working properly. I believe that in your case the
problem was caused while using
mergemaster... In general it is not recommended to update to a major version
like this
and the procedure is slightly different than when upgrading from a minor
version.

After what i read and since this is a production machine, i
believe it is better that
you take a (manual...?) back up of the configuration files (even copy 
paste them on paper -
if you cannot boot, mount the drive with a CD) and re-install 6.2clean :(
You have to take the decision whether this will save you time or not, since
after all these it
gets confusing, you cannot really remember what you were doing (4 days ago)
and you may cause even
more problems or waste time if you continue..
It is even more difficult for us to understand what went wrong in your
case...

Ideally you could use a different machine (or hdd - temporarily) to do this
and then
if you want sit down quietly and play with the current one.

Kind Regards

On 12/06/07, Mark Stout [EMAIL PROTECTED] wrote:


I couldn't load da0s1a even though /dev/da0s1a is my root drive.  Manually
load my old kernel from the prompt worked.

I believe the mountroot is during the boot load.  I'm not anywhere near
being able to do anything.

I have no idea what the problem is.

[EMAIL PROTECTED] wrote:

no idea, but maybe:
boot /boot/kernel/kernel
or
boot /boot/kernel.old/kernel

What is 'mountroot' - is that the boot loader or the kernel/system
giving you that?

try mounting your root drive!

do a `df -k`, anything already mounted?

oh!  or try:
fsck

did it ask you to login?


Mark Stout wrote:
 I followed all the steps in the handbook as well as UPDATED and after a
installworld and mergemaster its booting into 'mountroot' and nothing I
type mounts.  This is a production machine so I'm in dire need of
assistence.

  [EMAIL PROTECTED] wrote:
 On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:


 Following the tasks in Rebuilding world in the handbook

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I
removed the
 /usr/obj directory and did a buildworld.  When tryinmg to compile the
kernel its failing on
 unknown option MD5.  Commenting that out it fails on the line above
MD5,  options LKM.
  What's happening here?  These two options papear in the LINT file.  I
can't find anything
 that explains why this would happen.

 A follow-up to my last email.  I copied GENERIC to RADIUS2 and
 symlinked to /root/kernel.  Then added the various LINT options.

 I started commenting out what is failing when I try to compile a new
 kernel.  All are from the LINT file.  Is MD5 a default that does not
 need to be specifically added?  What about ICMP_BANDLIM?  And
 support for IDE drives. Are these already handed elsewhere in GENERIC?

 # These all failed as unknown options:
 unknown option MD5
 unknown option LKM
 unknown option CD9660_ROOTDELAY
 unknown option NSWAPDEV
 unknown option TCP_COMPAT_42
 unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14
Securing FreeBSD)


 # Do not understand why these are fialing
 config: Error: device acd0 is unknown
 config: Error: device wfd0 is unknown
 config: Error: device wst0 is unknown

 # This failed as a syntax error
 controller  wdc0at isa? port IO_WD1 bio irq 14



 Most of the above looks like old, deprecated
 stuff from 5.x and earlier (the controller wdc0
 line reminds me of 3.x or maybe NetBSD).

 IDE drive support is all handled by ata(4), all
 you should need for those in your kernel config
 is:
 device  ata
 device  atadisk
 device  atapicd
 (and obviously:)
 device eisa
 device pci
 Which are already part of GENERIC.

 /usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
 Try looking at /usr/src/sys/arch/conf/NOTES
 and /usr/src/sys/conf/NOTES for knobs to twist
 and buttons to push.






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





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


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-11 Thread Mark Stout


 -Original Message-
 From: Mikhail Goriachev [mailto:[EMAIL PROTECTED]
 Sent: Sunday, June 10, 2007 9:27 AM
 To: Abdullah Ibn Hamad Al-Marri
 Cc: Mark Stout; freebsd-questions@freebsd.org
 Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE
 
 
 Abdullah Ibn Hamad Al-Marri wrote:
  On 6/10/07, Mark Stout [EMAIL PROTECTED] wrote:
 
  So how should I fix this?
 
  Thank you,
  Mark Stout
  
  cd /usr/src
  make cleanworld
  mergemaster -p
  make buildworld
  make buildkernel
  make installkernel
  reboot
  
  cd /usr/src
  make installworld
  mergemaster -iU
  reboot
  
  You are done. :)
 
 
 The *correct* procedure is described in:
 
 /usr/src/Makefile
 
 and even more detailed at:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 

Following the tasks in Rebuilding “world” in the handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I 
removed the /usr/obj directory and did a buildworld.  When tryinmg to compile 
the kernel its failing on unknown option MD5.  Commenting that out it fails 
on the line above MD5,  options LKM.  What's happening here?  These two options 
papear in the LINT file.  I can't find anything that explains why this would 
happen.  


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


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-11 Thread Mark Stout


Thank you,
Mark Stout
VPM Global Internet Services, Inc.
530-626-4218 x205 Office
530-626-7182 Fax
530-554-9295 VoIP
916-240-2850 Cell
www.vpm.com http://www.vpm.com 
 
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual to whom they are addressed.  If you are 
not the intended recipient, you are hereby notified that any use or 
dissemination of this communication is strictly prohibited, and asked to notify 
us immediately, then delete this email. E-mail transmission cannot be 
guaranteed to be secure or error-free and VPM Global Internet Services, Inc. 
does not accept liability for any errors or omissions in the contents of this 
message.  Any views or opinions presented are solely those of the author and do 
not necessarily represent those of VPM Global Internet Services, Inc.



 -Original Message-
 From: Mark Stout [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 11, 2007 9:24 AM
 To: Mikhail Goriachev; Abdullah Ibn Hamad Al-Marri
 Cc: freebsd-questions@freebsd.org
 Subject: RE: Upgrading to 6.2-RELEASE from 6.2-STABLE
 
 
 
 
  -Original Message-
  From: Mikhail Goriachev [mailto:[EMAIL PROTECTED]
  Sent: Sunday, June 10, 2007 9:27 AM
  To: Abdullah Ibn Hamad Al-Marri
  Cc: Mark Stout; freebsd-questions@freebsd.org
  Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE
  
  
  Abdullah Ibn Hamad Al-Marri wrote:
   On 6/10/07, Mark Stout [EMAIL PROTECTED] wrote:
  
   So how should I fix this?
  
   Thank you,
   Mark Stout
   
   cd /usr/src
   make cleanworld
   mergemaster -p
   make buildworld
   make buildkernel
   make installkernel
   reboot
   
   cd /usr/src
   make installworld
   mergemaster -iU
   reboot
   
   You are done. :)
  
  
  The *correct* procedure is described in:
  
  /usr/src/Makefile
  
  and even more detailed at:
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  
 
 Following the tasks in Rebuilding “world” in the handbook 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I 
 removed the 
 /usr/obj directory and did a buildworld.  When tryinmg to compile the kernel 
 its failing on 
 unknown option MD5.  Commenting that out it fails on the line above MD5,  
 options LKM.
  What's happening here?  These two options papear in the LINT file.  I can't 
 find anything 
 that explains why this would happen.  

A follow-up to my last email.  I copied GENERIC to RADIUS2 and symlinked to 
/root/kernel.  Then added the various LINT options.

I started commenting out what is failing when I try to compile a new kernel.  
All are from the LINT file.  Is MD5 a default that does not need to be 
specifically added?  What about ICMP_BANDLIM?  And support for IDE drives. Are 
these already handed elsewhere in GENERIC?

# These all failed as unknown options:
unknown option MD5
unknown option LKM
unknown option CD9660_ROOTDELAY
unknown option NSWAPDEV
unknown option TCP_COMPAT_42
unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14 Securing 
FreeBSD)


# Do not understand why these are fialing
config: Error: device acd0 is unknown
config: Error: device wfd0 is unknown
config: Error: device wst0 is unknown

# This failed as a syntax error
controller  wdc0at isa? port IO_WD1 bio irq 14


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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-11 Thread Mikhail Goriachev

Mark Stout wrote:


Thank you,
Mark Stout
VPM Global Internet Services, Inc.
530-626-4218 x205 Office
530-626-7182 Fax
530-554-9295 VoIP
916-240-2850 Cell
www.vpm.com http://www.vpm.com 
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed.  If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited, and asked to notify us immediately, then delete this email. E-mail transmission cannot be guaranteed to be secure or error-free and VPM Global Internet Services, Inc. does not accept liability for any errors or omissions in the contents of this message.  Any views or opinions presented are solely those of the author and do not necessarily represent those of VPM Global Internet Services, Inc.





-Original Message-
From: Mark Stout [mailto:[EMAIL PROTECTED]
Sent: Monday, June 11, 2007 9:24 AM
To: Mikhail Goriachev; Abdullah Ibn Hamad Al-Marri
Cc: freebsd-questions@freebsd.org
Subject: RE: Upgrading to 6.2-RELEASE from 6.2-STABLE





-Original Message-
From: Mikhail Goriachev [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 10, 2007 9:27 AM
To: Abdullah Ibn Hamad Al-Marri
Cc: Mark Stout; freebsd-questions@freebsd.org
Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE


Abdullah Ibn Hamad Al-Marri wrote:

On 6/10/07, Mark Stout [EMAIL PROTECTED] wrote:

So how should I fix this?

Thank you,
Mark Stout

cd /usr/src
make cleanworld
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot

cd /usr/src
make installworld
mergemaster -iU
reboot

You are done. :)


The *correct* procedure is described in:

/usr/src/Makefile

and even more detailed at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Following the tasks in Rebuilding “world” in the handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I removed the 
/usr/obj directory and did a buildworld.  When tryinmg to compile the kernel its failing on 
unknown option MD5.  Commenting that out it fails on the line above MD5,  options LKM.
 What's happening here?  These two options papear in the LINT file.  I can't find anything 
that explains why this would happen.  


A follow-up to my last email.  I copied GENERIC to RADIUS2 and symlinked to 
/root/kernel.  Then added the various LINT options.

I started commenting out what is failing when I try to compile a new kernel.  
All are from the LINT file.  Is MD5 a default that does not need to be 
specifically added?  What about ICMP_BANDLIM?  And support for IDE drives. Are 
these already handed elsewhere in GENERIC?

# These all failed as unknown options:
unknown option MD5
unknown option LKM
unknown option CD9660_ROOTDELAY
unknown option NSWAPDEV
unknown option TCP_COMPAT_42
unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14 Securing 
FreeBSD)


# Do not understand why these are fialing
config: Error: device acd0 is unknown
config: Error: device wfd0 is unknown
config: Error: device wst0 is unknown

# This failed as a syntax error
controller  wdc0at isa? port IO_WD1 bio irq 14



Do you really need those options? GENERIC is sufficient for production 
use. Try running it first and see how it goes. I'd recommend 
adding/tweaking things only if you understand the outcome and necessity 
of them.



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: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-11 Thread [EMAIL PROTECTED]

On 11/06/07, Mark Stout [EMAIL PROTECTED] wrote:


 Following the tasks in Rebuilding world in the handbook
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I 
removed the
 /usr/obj directory and did a buildworld.  When tryinmg to compile the kernel 
its failing on
 unknown option MD5.  Commenting that out it fails on the line above MD5,  
options LKM.
  What's happening here?  These two options papear in the LINT file.  I can't 
find anything
 that explains why this would happen.

A follow-up to my last email.  I copied GENERIC to RADIUS2 and
symlinked to /root/kernel.  Then added the various LINT options.

I started commenting out what is failing when I try to compile a new
kernel.  All are from the LINT file.  Is MD5 a default that does not
need to be specifically added?  What about ICMP_BANDLIM?  And
support for IDE drives. Are these already handed elsewhere in GENERIC?

# These all failed as unknown options:
unknown option MD5
unknown option LKM
unknown option CD9660_ROOTDELAY
unknown option NSWAPDEV
unknown option TCP_COMPAT_42
unknown option ICMP_BANDLIM  (found in Handbook in Chapter 14 Securing 
FreeBSD)


# Do not understand why these are fialing
config: Error: device acd0 is unknown
config: Error: device wfd0 is unknown
config: Error: device wst0 is unknown

# This failed as a syntax error
controller  wdc0at isa? port IO_WD1 bio irq 14



Most of the above looks like old, deprecated
stuff from 5.x and earlier (the controller wdc0
line reminds me of 3.x or maybe NetBSD).

IDE drive support is all handled by ata(4), all
you should need for those in your kernel config
is:
device  ata
device  atadisk
device  atapicd
(and obviously:)
device eisa
device pci
Which are already part of GENERIC.

/usr/src/sys/arch/conf/LINT doesn't exist in 6.x.
Try looking at /usr/src/sys/arch/conf/NOTES
and /usr/src/sys/conf/NOTES for knobs to twist
and buttons to push.

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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-10 Thread Abdullah Ibn Hamad Al-Marri

On 6/10/07, Mark Stout [EMAIL PROTECTED] wrote:



So how should I fix this?

Thank you,
Mark Stout


cd /usr/src
make cleanworld
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot

cd /usr/src
make installworld
mergemaster -iU
reboot

You are done. :)


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-10 Thread Mikhail Goriachev

Abdullah Ibn Hamad Al-Marri wrote:

On 6/10/07, Mark Stout [EMAIL PROTECTED] wrote:


So how should I fix this?

Thank you,
Mark Stout


cd /usr/src
make cleanworld
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot

cd /usr/src
make installworld
mergemaster -iU
reboot

You are done. :)



The *correct* procedure is described in:

/usr/src/Makefile

and even more detailed at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html



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: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-10 Thread [EMAIL PROTECTED]

On 10/06/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED] wrote:

On 6/10/07, Mark Stout [EMAIL PROTECTED] wrote:


 So how should I fix this?

 Thank you,
 Mark Stout

cd /usr/src
make cleanworld
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot

cd /usr/src
make installworld
mergemaster -iU
reboot

You are done. :)


Start with
# rm -r /usr/obj/*

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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-09 Thread [EMAIL PROTECTED]

On 09/06/07, Mark Stout [EMAIL PROTECTED] wrote:




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 08, 2007 10:30 PM
 To: Mark Stout
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE


 On 08/06/07, Mark Stout [EMAIL PROTECTED] wrote:

 
  I'd prefer to remain at 6.2-STABLE but I can't find where the problem is
  with these IP errors.  I'm figuring I've got a mixed code and that's the
  root cause but I'm not sure.

 Did you remove your object directories before
 starting the build?
 Did you build without an /etc/make.conf?

I did not remove the obj directories and everything in my /etc/make.conf
file is commented out except for USA_RESIDENT and PERL_VER=5.8.8 and
PERL_VERSION=5.8.8



On a mad hunch I would suspect stale files in /usr/obj/
If they are still there (and the cause of your problems)
they will muss up your build on RELENG_6_2 as well.

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


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-09 Thread Mark Stout


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Saturday, June 09, 2007 7:32 PM
 To: Mark Stout
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE


 On 09/06/07, Mark Stout [EMAIL PROTECTED] wrote:
 
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: Friday, June 08, 2007 10:30 PM
   To: Mark Stout
   Cc: freebsd-questions@freebsd.org
   Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE
  
  
   On 08/06/07, Mark Stout [EMAIL PROTECTED] wrote:
  
   
I'd prefer to remain at 6.2-STABLE but I can't find where
 the problem is
with these IP errors.  I'm figuring I've got a mixed code
 and that's the
root cause but I'm not sure.
  
   Did you remove your object directories before
   starting the build?
   Did you build without an /etc/make.conf?
  
  I did not remove the obj directories and everything in my /etc/make.conf
  file is commented out except for USA_RESIDENT and PERL_VER=5.8.8 and
  PERL_VERSION=5.8.8
 

 On a mad hunch I would suspect stale files in /usr/obj/
 If they are still there (and the cause of your problems)
 they will muss up your build on RELENG_6_2 as well.

 --
 --

So how should I fix this?

Thank you,
Mark Stout
VPM Global Internet Services, Inc.
530-626-4218 x205 Office
530-626-7182 Fax
530-554-9295 VoIP
916-240-2850 Cell
www.vpm.com http://www.vpm.com

This email and any files transmitted with it are confidential and intended
solely for the use of the individual to whom they are addressed.  If you are
not the intended recipient, you are hereby notified that any use or
dissemination of this communication is strictly prohibited, and asked to
notify us immediately, then delete this email. E-mail transmission cannot be
guaranteed to be secure or error-free and VPM Global Internet Services, Inc.
does not accept liability for any errors or omissions in the contents of
this message.  Any views or opinions presented are solely those of the
author and do not necessarily represent those of VPM Global Internet
Services, Inc.

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


Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-08 Thread Mark Stout
Hello,

I recently upgraded from 5.4-RELEASE to 6.2-STABLE.  Now I'm having problems
with the TCP stack.  I suspect its because of code differences.  I may have
some older 5.4 code that was used during the build world process.  For
example, here's a partial ifconfig -a output

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 71.4.48.6 netmask 0xfe00 broadcast 71.4.49.255
inet 71.4.48.4 netmask 0x broadcast 71.4.48.4
inet 71.4.48.7 netmask 0x broadcast 71.4.48.7
inet 71.4.48.9 netmask 0x broadcast 71.4.48.9

What's interesting is I can ping 71.4.48.6 from the console.

But I get the following whenever I ping any other aliased IP from the local
console.  I can ping these from other machines.
[root 6] ping 71.4.48.4
PING 71.4.48.4 (71.4.48.4): 56 data bytes
ping: sendto: Invalid argument
ping: sendto: Invalid argument


Looking up a domain using dig I get similar errors.  It actually returns the
info I want but I still get the errors.
[root 7] dig www.google.com
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1151:
internal_send: 71.4.48.2#53: Invalid argument
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1151:
internal_send: 71.4.48.3#53: Invalid argument

71.4.48.2 and 71.4.48.3 are my DNS.


So what I thought I'd do is move to 6.2-RELEASE.  What I wanted to do is
install the source code from
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/src/* and do a
build world and build kernel.  I assume that's really all I need to build a
new system.  Are there any caveats to do an upgrade this way?

Thank you,
Mark Stout
VPM Global Internet Services, Inc.
530-626-4218 x205 Office
530-626-7182 Fax
530-554-9295 VoIP
916-240-2850 Cell
www.vpm.com

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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-08 Thread [EMAIL PROTECTED]

On 08/06/07, Mark Stout [EMAIL PROTECTED] wrote:

Hello,

I recently upgraded from 5.4-RELEASE to 6.2-STABLE.  Now I'm having problems
with the TCP stack.  I suspect its because of code differences.  I may have
some older 5.4 code that was used during the build world process.  For
example, here's a partial ifconfig -a output

fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 71.4.48.6 netmask 0xfe00 broadcast 71.4.49.255
inet 71.4.48.4 netmask 0x broadcast 71.4.48.4
inet 71.4.48.7 netmask 0x broadcast 71.4.48.7
inet 71.4.48.9 netmask 0x broadcast 71.4.48.9

What's interesting is I can ping 71.4.48.6 from the console.

But I get the following whenever I ping any other aliased IP from the local
console.  I can ping these from other machines.
[root 6] ping 71.4.48.4
PING 71.4.48.4 (71.4.48.4): 56 data bytes
ping: sendto: Invalid argument
ping: sendto: Invalid argument


Looking up a domain using dig I get similar errors.  It actually returns the
info I want but I still get the errors.
[root 7] dig www.google.com
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1151:
internal_send: 71.4.48.2#53: Invalid argument
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1151:
internal_send: 71.4.48.3#53: Invalid argument

71.4.48.2 and 71.4.48.3 are my DNS.


So what I thought I'd do is move to 6.2-RELEASE.  What I wanted to do is
install the source code from
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/src/* and do a
build world and build kernel.  I assume that's really all I need to build a
new system.  Are there any caveats to do an upgrade this way?


Iff you really do want to move back to 6.2-RELEASE,
I would advise building from the security branch, so
in your supfile make sure you have
tag=RELENG_6_2

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


RE: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-08 Thread Mark Stout


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 08, 2007 9:12 PM
 To: Mark Stout
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Upgrading to 6.2-RELEASE from 6.2-STABLE


 On 08/06/07, Mark Stout [EMAIL PROTECTED] wrote:
  Hello,
 
  I recently upgraded from 5.4-RELEASE to 6.2-STABLE.  Now I'm
 having problems
  with the TCP stack.  I suspect its because of code differences.
  I may have
  some older 5.4 code that was used during the build world process.  For
  example, here's a partial ifconfig -a output
 
  fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=8VLAN_MTU
  inet 71.4.48.6 netmask 0xfe00 broadcast 71.4.49.255
  inet 71.4.48.4 netmask 0x broadcast 71.4.48.4
  inet 71.4.48.7 netmask 0x broadcast 71.4.48.7
  inet 71.4.48.9 netmask 0x broadcast 71.4.48.9
 
  What's interesting is I can ping 71.4.48.6 from the console.
 
  But I get the following whenever I ping any other aliased IP
 from the local
  console.  I can ping these from other machines.
  [root 6] ping 71.4.48.4
  PING 71.4.48.4 (71.4.48.4): 56 data bytes
  ping: sendto: Invalid argument
  ping: sendto: Invalid argument
 
 
  Looking up a domain using dig I get similar errors.  It
 actually returns the
  info I want but I still get the errors.
  [root 7] dig www.google.com
  /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1151:
  internal_send: 71.4.48.2#53: Invalid argument
  /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1151:
  internal_send: 71.4.48.3#53: Invalid argument
 
  71.4.48.2 and 71.4.48.3 are my DNS.
 
 
  So what I thought I'd do is move to 6.2-RELEASE.  What I wanted to do is
  install the source code from
 
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/src/* and do a
  build world and build kernel.  I assume that's really all I
 need to build a
  new system.  Are there any caveats to do an upgrade this way?

 Iff you really do want to move back to 6.2-RELEASE,
 I would advise building from the security branch, so
 in your supfile make sure you have
 tag=RELENG_6_2


I'd prefer to remain at 6.2-STABLE but I can't find where the problem is
with these IP errors.  I'm figuring I've got a mixed code and that's the
root cause but I'm not sure.


Thank you,
Mark Stout
VPM Global Internet Services, Inc.
530-626-4218 x205 Office
530-626-7182 Fax
530-554-9295 VoIP
916-240-2850 Cell
www.vpm.com http://www.vpm.com

This email and any files transmitted with it are confidential and intended
solely for the use of the individual to whom they are addressed.  If you are
not the intended recipient, you are hereby notified that any use or
dissemination of this communication is strictly prohibited, and asked to
notify us immediately, then delete this email. E-mail transmission cannot be
guaranteed to be secure or error-free and VPM Global Internet Services, Inc.
does not accept liability for any errors or omissions in the contents of
this message.  Any views or opinions presented are solely those of the
author and do not necessarily represent those of VPM Global Internet
Services, Inc.

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


Re: Upgrading to 6.2-RELEASE from 6.2-STABLE

2007-06-08 Thread [EMAIL PROTECTED]

On 08/06/07, Mark Stout [EMAIL PROTECTED] wrote:



I'd prefer to remain at 6.2-STABLE but I can't find where the problem is
with these IP errors.  I'm figuring I've got a mixed code and that's the
root cause but I'm not sure.


Did you remove your object directories before
starting the build?
Did you build without an /etc/make.conf?

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


msk driver (Marvell/SysKonnect Yukon II Gigabit controllers) in 6.2-STABLE

2007-05-28 Thread Serge E. Yakubovich

Hi!

I need a subj driver - msk - for Marvell/SysKonnect Yukon II Gigabit 
controllers (on i386 platform ), which, as announced, was incorporated 
in 6.2-STABLE


Now, can anybody tell me where to find kernel sources for 6.2-STABLE ?
On ftp, both links:


FreeBSD-current - branches/-current
FreeBSD-stable - branches/4.0-stable

points to non-existent dir branches/

In snapshots/200705/6.2-STABLE-200705-i386-disc1.iso, there is nothing 
in sys/ ...


I'm in panic ;)...

any advices ? 10x in advance,

+
With respect,   | [EMAIL PROTECTED]
Serge E. Yakubovich | YSE-RIPE
+



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


Re: msk driver (Marvell/SysKonnect Yukon II Gigabit controllers) in 6.2-STABLE

2007-05-28 Thread boris
 Hi!

 I need a subj driver - msk - for Marvell/SysKonnect Yukon II Gigabit
 controllers (on i386 platform ), which, as announced, was incorporated
 in 6.2-STABLE

 Now, can anybody tell me where to find kernel sources for 6.2-STABLE ?

Tried reading the handbook?

http://freebsd.org/handbook


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


FreeBSD 6.2-STABLE weird ata messages

2007-05-07 Thread Volodymyr Kostyrko

Hi all.

Can someone explain what does this message mean?

(probe1:ata0:0:0:0): Lost target 0???

I'm getting like 10 of 'em per one day. Everything other seems to work fine.

--
Sphinx of black quartz judge my vow!

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


Belkin N1 pccard driver/setup on 6.2.stable

2007-05-04 Thread WizLayer
Greets,

I've recently installed 6.2 Stable on a Compaq Evo N610c, and am running into 
some brick walls.  Was wondering if anyone is sucessfully using a Belkin N1 
wireless card (native BSD driver or ndis, doesn't matter to me so long as it 
works).

Here is the relevant dmesg as pertains to card:
snip
cardbus0: Expecting link target, got 0xe0
cardbus0: Resource not specified in CIS: id=10, size=1
cardbus0: Resource not specified in CIS: id=14, size=1
cardbus0: network, ethernet at device 0.0 (no driver attached)
snip

With the ndis-generated driver loaded, I get the following:
snip
ndis0: Belkin N1 Wireless Notebook Card mem 
0x8800-0x8800,0x8801-0x8801 irq 11 at device 0.0 on cardbus0
ndis0: NDIS API version: 5.0
NDIS: open file /compat/ndis/cb8350.bin failed: 2
ndis0: Ethernet address: my MAC addy
snip

So the error is there, but ifconfig shows the card:

# ifconfig ndis0
ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether my MAC addy
media: IEEE 802.11 Wireless Ethernet autoselect
status: no carrier
ssid  channel 1
authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS

But when I,

# ifconfig ndis0 up scan
ifconfig: unable to get scan results

even though the lights on the card light up.


If anyone has resolved this (or knows what I'm doing wrong), please confer.

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


Re: New Config of Jails 4 port NIC with 6.2 stable

2007-04-21 Thread Oliver Peter
On Thu, Apr 19, 2007 at 01:06:18PM -0700, [EMAIL PROTECTED] wrote:
 Hello Everyone! 

Hi dude,

 A FreeBSD Grasshopper needs help.
 
 Working with 
 
 PIII 1Ghz. 
 1/2 gig ram 
 two 80 gig drives
 One 4 port D-link NIC.
 Freebsd 6.2 stable +Gnome  Xorg, webmin installed
 I have comcast with a Netgear wireless router
 
 I would like to configure the above with Jails
 My aim is Local DNS, DHCP, Apache1.3, MySQL 4, PHP4, etc, etc.
 basic web server stuff.

 Not sure where to start!

Have you already looked into the manpage JAIL(8) ?
This is a good starting point to set up your jail.

Because you use -STABLE ezjail (from ports) will be a little bit
tricky to set up. (make release ...)

 I would like to have a one NIC port stay on web.

So your machine plays gateway, (jail)server AND workstation?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp4lof1uP2Ti.pgp
Description: PGP signature


New Config of Jails 4 port NIC with 6.2 stable

2007-04-19 Thread clubturbo
Hello Everyone! 
A FreeBSD Grasshopper needs help.

Working with 

PIII 1Ghz. 
1/2 gig ram 
two 80 gig drives
One 4 port D-link NIC.
Freebsd 6.2 stable +Gnome  Xorg, webmin installed
I have comcast with a Netgear wireless router

I would like to configure the above with Jails
My aim is Local DNS, DHCP, Apache1.3, MySQL 4, PHP4, etc, etc.
basic web server stuff.

Not sure where to start!
I would like to have a one NIC port stay on web.
After that I am not sure where to go. 

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


Re: 6.2 STABLE?

2007-01-27 Thread Marco Beishuizen
On stardate Fri, 26 Jan 2007, the wise Andreas Widerøe Andersen entered:

 I just finished making and installing world and a new kernel yesterday. I
 had cvsup'ed the latest src/ports with releng 6_2.
 
 I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system.
 
 Am I missing something? :-)
 
 Best regards,
 Andreas

Hi Andreas,

Put releng_6 in your supfile instead of releng_6_2 and you'll get 
6.2-STABLE.

Marco

-- 
Christ died for our sins, so let's not disappoint Him.___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

6.2 STABLE?

2007-01-26 Thread Andreas Widerøe Andersen

I just finished making and installing world and a new kernel yesterday. I
had cvsup'ed the latest src/ports with releng 6_2.

I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system.

Am I missing something? :-)

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


Re: 6.2 STABLE?

2007-01-26 Thread Frank Staals

Andreas Widerøe Andersen wrote:

I just finished making and installing world and a new kernel yesterday. I
had cvsup'ed the latest src/ports with releng 6_2.

I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my 
system.


Am I missing something? :-)

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


From 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html :

RELENG_6

   The line of development for FreeBSD-6.X, also known as FreeBSD 6-STABLE

RELENG_6_2

   The release branch for FreeBSD-6.2, used only for security
   advisories and other critical fixes.

in short: use RELENG_6 if you want 6-STABLE


--
-Frank Staals


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


Re: 6.2 STABLE?

2007-01-26 Thread Vince
Andreas Widerøe Andersen wrote:
 I just finished making and installing world and a new kernel yesterday. I
 had cvsup'ed the latest src/ports with releng 6_2.
 
 I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system.
 
 Am I missing something? :-)
 
Kind of :) its just the naming conventions of FreeBSD. RELEASE means the
stable production release. STABLE means the cvs development branch that
will become the next RELEASE, thus 6.2 is the latest stable release.

If you really want to follow STABLE you need to do it via cvs/cvsup and
recompiling your entire system from time to time. However its name can
(occasionally) be a misnomer as it isnt always as stable as a release.


Hope that helps,

Vince


 Best regards,
 Andreas
 ___
 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: 6.2 STABLE?

2007-01-26 Thread Jerry McAllister
On Fri, Jan 26, 2007 at 10:35:32AM +0100, Andreas Wider?e Andersen wrote:

 I just finished making and installing world and a new kernel yesterday. I
 had cvsup'ed the latest src/ports with releng 6_2.
 
 I thought 6.2 STABLE was out, but a uname-a shows 6.2 RELEASE on my system.
 
 Am I missing something? :-)

No.  You have what you want, I think.
RELEASE is the tested and vetted final product.   
STABLE is just a snapshot of work in progress.

Of course, RELEASE is also a snapshot, but it is frosen, tested, ports
brought up to snuff, etc and then released.   
STABLE is just CURRENT in kind of reliable condition.
Install RELEASE and then CVSUP to   *default tag=RELENG_6_2
or possibly   *default tag=RELENG_6
to keep up to date with security patches.

jerry

 
 Best regards,
 Andreas
 ___
 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]


Servers are using limited amount of memory after upgrade from 6.2-PRE to 6.2-STABLE

2007-01-23 Thread Remy de Ruysscher
Sorry about the previous message, it was send in error.

After upgrading from 6.2-PRERELEASE to 6.2-STABLE all my servers are
terribly slow, the webservers use only 300Mb memory instead of the 
previous 1500Mb. Anything changed between those releases which affects the
memory usage?

FreeBSD uhura.pocketinfo.nl 6.2-STABLE FreeBSD 6.2-STABLE #9: Mon Jan 22
23:07:01 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/UHURA
i386

Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize  1572864 kB
  stacksize  131072 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB


last pid: 23922;  load averages:  0.86,  0.87,  0.85
up 0+09:29:53  10:25:48
95 processes:  1 running, 94 sleeping
CPU states: 13.9% user,  0.0% nice,  3.5% system,  0.1% interrupt, 82.6%
idle
Mem: 265M Active, 455M Inact, 182M Wired, 20K Cache, 112M Buf, 1100M Free

My kernel config:

machine i386#i386 architecture
cpu I686_CPU
ident   UHURA   #Kernel config name
maxusers0   #Dynamically allocate
resources

# LSI Logic SAS controller
device  mpt
device  mfi

#
# Watchdog routines.
#

device  puc

#options MP_WATCHDOG

#options SCHED_ULE  #Use the new ULE kernel
scheduler
optionsSCHED_4BSD   #Use the 4BSD kernel
scheduler e

options DEVICE_POLLING  #Adds network robustness at
slightly higher response times
options HZ=1000 #Polls network ever 1 sec.

options PREEMPTION  #Allow kernel to be
preempted by higher priority threads
options ADAPTIVE_GIANT  #This improves the
performance of SMP machines

options KDB #Kernel debugger
options DDB #Support DDB.
options GDB #Support remote GDB.
makeoptions DEBUG=-g#Build kernel with gdb(1)
debug symbols
options KDB_UNATTENDED  #Automatic reboot on Kernel
panic

#optionsBEEP_ONHALT #Beeps the speaker multiple
times when it is safe to power off the machine
#optionsBEEP_ONHALT_COUNT=3 # Times to beep
#optionsBEEP_ONHALT_PITCH=1500  # Default frequency (in Hz)
#optionsBEEP_ONHALT_PERIOD=250  # Default duration (in
msecs)

options TCP_DROP_SYNFIN #This prevents OS
fingerprinting but breaks support for RFC1644

device  pf  #Use the OpenBSD
packetfilter
device  carp#Enable CARP (OpenBSD)

#optionsDUMMYNET#Dummynet for loadbalancing
#optionsIPFIREWALL  #Enable IPFW firewalling
#optionsIPFIREWALL_VERBOSE  #Enable Logging of packets
#optionsIPFIREWALL_VERBOSE_LIMIT=100
#optionsIPFIREWALL_FORWARD

#optionsIPDIVERT#Divert Sockets
options IPSTEALTH   #Support for stealth
forwarding packets w/o touching the TTL of packets

options SUIDDIR
options INET#InterNETworking
options INET6   #IPv6 communications
protocols

#
# PERFMON causes the driver for Pentium/Pentium Pro performance counters
# to be compiled.  See perfmon(4) for more information.
#
options PERFMON

device  acpi#ACPI support
device  agp #AGP GART support
device  apic#I/O apic

device  ipmi

options GEOM_GPT# GUID Partition Tables.

options MAXDSIZ=(1224*1024*1024)
options DFLDSIZ=(1224*1024*1024)
options MAXSSIZ=(128*1024*1024)

# Optional:
options MPTABLE_FORCE_HTT   # Enable HTT CPUs with the MP Table
options IPI_PREEMPTION

# Broadcom Gigabit Ethernet
device  bce
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates
support
options UFS_DIRHASH #Improve performance on big
directories
options UFS_ACL #Support for access control
lists
options MD_ROOT #MD is a potential root
device
#optionsNFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device,
NFS required
options QUOTA   #Enable disk

FreeBSD 6.2 stable crasches when running dump on mounted snapshot.

2007-01-16 Thread Mattias Björk

Hi there,

When I run dump on a mounted snapshot, my machine panics with the error 
that says the following:


Fatal double fault
Panic: double fault

I can run games in Windows fine and I run setiathome/boinc most of the 
time in Windows when my computer is locked and I'm at work. No problem 
there. It s no problem to make buildkernel and make buildworld with 
-j2. It has never crashed because of load as I can remember.


Im running RAID-1 on this machine the hard disc are ad8xy and ad10xy and 
I do mount everything via the RAID array called ar0xy. My motherboard is 
an Asus A8N5X and I'm using the on board S-ATA controller for my hard 
discs.


I have tried and changed my /etc/fstab so that they mount it from either 
ad8xy or ad10xy instead ( root usr var etc..) But that does not still 
help me with the problem.


I would be happy to provide more info if you want to, so please let me 
know it I'm missing some crucial information. Or perhaps if I should try 
another mailing list then this one.


Below here is my kernel config and make.conf.

KERNEL:

machine i386
cpu I686_CPU
ident   BARABO

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints   # Default places to look for 
devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI

device  apic# I/O APIC

# Bus support.
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   # Static device numbering

# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
#device ses # SCSI Environmental Services (and SAF-TE)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  kbdmux  # keyboard multiplexer

device  vga # VGA video card driver

# syscons is the default console driver, resembling an SCO console
device  sc

device  agp # support several AGP chipsets

# Serial (COM) ports
device  sio # 8250, 16[45]50 based serial ports

# Parallel port
device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer

device  miibus  # MII bus support
device  nve # nVidia nForce MCP on-board Ethernet Networking

# Pseudo devices.
device  loop# Network loopback
device  random  # Entropy device
device  ether   # Ethernet support
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory disks

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device  bpf # Berkeley packet filter

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  usb # USB Bus (required)
device  ugen# 

Re: FreeBSD 6.2 stable crasches when running dump on mounted snapshot.

2007-01-16 Thread Kris Kennaway
On Tue, Jan 16, 2007 at 09:47:47PM +0100, Mattias Bj?rk wrote:
 Hi there,
 
 When I run dump on a mounted snapshot, my machine panics with the error 
 that says the following:
 
 Fatal double fault
 Panic: double fault

You forgot to mention/obtain the important bits of the error ;)

See the chapter on kernel debugging in the developers handbook, then
follow up to stable@ and/or file a PR.

Kris


pgpxYfOXvA18I.pgp
Description: PGP signature


FreeBSD 6.2-STABLE i386 + CPUTYPE?=nocona broke my kernel

2007-01-16 Thread Abdullah Al-Marrie

Hello,

I recompiled my kernel with make.conf has CPUTYPE?=nocona with the
latest src via cvsup.

But that broke my kernel while I have Dual xeon EMT64.

So I think it's not safe to use nocona or prescott with kernel, and I
should stick to cpu i686 instead.

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]