Re: Dual Opterons don't see all memory

2007-09-27 Thread Paul Schmehl
--On Thursday, September 27, 2007 06:35:53 +0100 Matthew Seaman 
[EMAIL PROTECTED] wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Erich Dollansky wrote:


Paul Schmehl wrote:

--On September 26, 2007 9:06:57 PM -0700 Eric Osterweil
[EMAIL PROTECTED] wrote:


On Sep 26, 2007, at 8:57 PM, Erich Dollansky wrote:


Eric Osterweil wrote:


make use of it's 6GB of memory, and FreeBSD can only see about 4GB
of it.
Can anyone help me figure out how to make use of the missing GB?
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007


this looks like a 32 bit binary to me.

You either need a 64 bit binary or you need to enable PAE.

Just build a custom kernel for 64 bits.



Ahh... To do this, do I just specify the CPUTYPE in the /etc/make.conf
as:
CPUTYPE=amd64
?


No.  Add options SMP to GENERIC or use the SMP conf file that's
already there (and includes GENERIC).  Then recompile the kernel per
the handbook.


he still has to set the CPU type also in this config file to amd64.


If the OP has installed FreeBSD i386 then changing the CPU type in
/etc/make.conf won't magically get him FreeBSD amd64 --- it will just
get him FreeBSD i386 optimized for AMD processors running in 32bit
mode.

As far as I know, there is no simple way to start with a 32-bit
system and the FreeBSD sources and recompile and reinstall everything
into a 64-bit system.  (Although the opposite direction is apparently
possible on 7-CURRENT, but it's a guru-only level of difficulty.)

The best and most effective answer here is to start by downloading
an amd64 installation CD and redo the whole thing from scratch.

Thanks, Matthew.  Guess I should stop assuming that the OP used the right 
distro to begin with


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Dual Opterons don't see all memory

2007-09-27 Thread Wojciech Puchar
I've recently taken ownership of a server (dual Opterons) in my research 
group.  Whereas it was previously running linux, it is now running FreeBSD. 
Everything seems to be going great, except linux was able to make use of it's 
6GB of memory, and FreeBSD can only see about 4GB of it.


Can anyone help me figure out how to make use of the missing GB?


use FreeBSD/amd64 not i386.

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


Dual Opterons don't see all memory

2007-09-26 Thread Eric Osterweil

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey everyone,

I've recently taken ownership of a server (dual Opterons) in my  
research group.  Whereas it was previously running linux, it is now  
running FreeBSD.  Everything seems to be going great, except linux  
was able to make use of it's 6GB of memory, and FreeBSD can only see  
about 4GB of it.


Can anyone help me figure out how to make use of the missing GB?

I'm happy to copy and paste any information I can to see if anyone  
can help, but for starters, here's the head of dmesg:


# dmesg | head -40
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.

FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 246 (1992.65-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0xf5a  Stepping = 10
   
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2

  AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
real memory  = 4227792896 (4031 MB)
avail memory = 4139991040 (3948 MB)
ACPI APIC Table: A M I  OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-23 on motherboard
ioapic1 Version 1.1 irqs 24-27 on motherboard
ioapic2 Version 1.1 irqs 28-31 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,  
RF5413)

acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x5008-0x500b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 6.0 on pci0
pci3: ACPI PCI bus on pcib1
ohci0: OHCI (generic) USB controller mem 0xfeafc000-0xfeafcfff irq  
19 at device 0.0 on pci3

ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1

Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG+yIEK/tq6CJjZQIRAheHAJ4peCDmRvoyqlWvdfaC0ED31uZHeACfUoWp
hMzExpJUMw+sp+qu5LWogSI=
=xavJ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual Opterons don't see all memory

2007-09-26 Thread Erich Dollansky

Hi,


Eric Osterweil wrote:


make use of it's 6GB of memory, and FreeBSD can only see about 4GB of it.

Can anyone help me figure out how to make use of the missing GB?

FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007


this looks like a 32 bit binary to me.

You either need a 64 bit binary or you need to enable PAE.

Just build a custom kernel for 64 bits.


real memory  = 4227792896 (4031 MB)
avail memory = 4139991040 (3948 MB)


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


Re: Dual Opterons don't see all memory

2007-09-26 Thread Aryeh Friedman
I have the same problem on a intel duo x6850 what options/flags do I
need to set in /usr/src/Makefile and/or /usr/src/sys/i386/conf/GENERIC
to make it compile 64 bit not 32?

--Aryeh

PS I think some of the nvidia issues I have posted might be due to this

On 9/27/07, Erich Dollansky [EMAIL PROTECTED] wrote:
 Hi,


 Eric Osterweil wrote:

  make use of it's 6GB of memory, and FreeBSD can only see about 4GB of it.
 
  Can anyone help me figure out how to make use of the missing GB?
 
  FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007

 this looks like a 32 bit binary to me.

 You either need a 64 bit binary or you need to enable PAE.

 Just build a custom kernel for 64 bits.

  real memory  = 4227792896 (4031 MB)
  avail memory = 4139991040 (3948 MB)

 Erich
 ___
 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: Dual Opterons don't see all memory

2007-09-26 Thread Eric Osterweil

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sep 26, 2007, at 8:57 PM, Erich Dollansky wrote:


Hi,


Eric Osterweil wrote:

make use of it's 6GB of memory, and FreeBSD can only see about 4GB  
of it.

Can anyone help me figure out how to make use of the missing GB?
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007


this looks like a 32 bit binary to me.

You either need a 64 bit binary or you need to enable PAE.

Just build a custom kernel for 64 bits.



Ahh... To do this, do I just specify the CPUTYPE in the /etc/ 
make.conf as:

CPUTYPE=amd64
?

Thanks a lot for the quick response!

Eric

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG+yxhK/tq6CJjZQIRAjpiAKCInEOQtDgn4o6yU1T/8gyaeCqFPQCfdJK5
6q5BBIEz+Kqq3O8nB3LmDFE=
=hU8Z
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual Opterons don't see all memory

2007-09-26 Thread Paul Schmehl
--On September 26, 2007 9:06:57 PM -0700 Eric Osterweil 
[EMAIL PROTECTED] wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sep 26, 2007, at 8:57 PM, Erich Dollansky wrote:


Hi,


Eric Osterweil wrote:


make use of it's 6GB of memory, and FreeBSD can only see about 4GB
of it.
Can anyone help me figure out how to make use of the missing GB?
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007


this looks like a 32 bit binary to me.

You either need a 64 bit binary or you need to enable PAE.

Just build a custom kernel for 64 bits.



Ahh... To do this, do I just specify the CPUTYPE in the /etc/make.conf
as:
CPUTYPE=amd64
?

No.  Add options SMP to GENERIC or use the SMP conf file that's already 
there (and includes GENERIC).  Then recompile the kernel per the handbook.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Dual Opterons don't see all memory

2007-09-26 Thread Eric Osterweil

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sep 26, 2007, at 9:20 PM, Paul Schmehl wrote:

--On September 26, 2007 9:06:57 PM -0700 Eric Osterweil  
[EMAIL PROTECTED] wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sep 26, 2007, at 8:57 PM, Erich Dollansky wrote:


Hi,


Eric Osterweil wrote:


make use of it's 6GB of memory, and FreeBSD can only see about 4GB
of it.
Can anyone help me figure out how to make use of the missing GB?
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007


this looks like a 32 bit binary to me.

You either need a 64 bit binary or you need to enable PAE.

Just build a custom kernel for 64 bits.



Ahh... To do this, do I just specify the CPUTYPE in the /etc/ 
make.conf

as:
CPUTYPE=amd64
?

No.  Add options SMP to GENERIC or use the SMP conf file that's  
already there (and includes GENERIC).  Then recompile the kernel  
per the handbook.


That was the first thing I did. This is the kernel that's failing to  
see the memory. :-/


Is there anything else I might need to do too?

Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG+zAzK/tq6CJjZQIRAi7/AKCNt/t1rDreSpku/RzhZBi4EK+pcQCfUHdU
IZk9CxLq9BlLb0IUWUBkuN8=
=Vobp
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual Opterons don't see all memory

2007-09-26 Thread Erich Dollansky

Hi,


Paul Schmehl wrote:
--On September 26, 2007 9:06:57 PM -0700 Eric Osterweil 
[EMAIL PROTECTED] wrote:



On Sep 26, 2007, at 8:57 PM, Erich Dollansky wrote:


Eric Osterweil wrote:


make use of it's 6GB of memory, and FreeBSD can only see about 4GB
of it.
Can anyone help me figure out how to make use of the missing GB?
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007


this looks like a 32 bit binary to me.

You either need a 64 bit binary or you need to enable PAE.

Just build a custom kernel for 64 bits.



Ahh... To do this, do I just specify the CPUTYPE in the /etc/make.conf
as:
CPUTYPE=amd64
?

No.  Add options SMP to GENERIC or use the SMP conf file that's already 
there (and includes GENERIC).  Then recompile the kernel per the handbook.



he still has to set the CPU type also in this config file to amd64.

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


Re: Dual Opterons don't see all memory

2007-09-26 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Erich Dollansky wrote:

 Paul Schmehl wrote:
 --On September 26, 2007 9:06:57 PM -0700 Eric Osterweil
 [EMAIL PROTECTED] wrote:

 On Sep 26, 2007, at 8:57 PM, Erich Dollansky wrote:

 Eric Osterweil wrote:

 make use of it's 6GB of memory, and FreeBSD can only see about 4GB
 of it.
 Can anyone help me figure out how to make use of the missing GB?
 FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007

 this looks like a 32 bit binary to me.

 You either need a 64 bit binary or you need to enable PAE.

 Just build a custom kernel for 64 bits.


 Ahh... To do this, do I just specify the CPUTYPE in the /etc/make.conf
 as:
 CPUTYPE=amd64
 ?

 No.  Add options SMP to GENERIC or use the SMP conf file that's
 already there (and includes GENERIC).  Then recompile the kernel per
 the handbook.

 he still has to set the CPU type also in this config file to amd64.

If the OP has installed FreeBSD i386 then changing the CPU type in
/etc/make.conf won't magically get him FreeBSD amd64 --- it will just
get him FreeBSD i386 optimized for AMD processors running in 32bit
mode.

As far as I know, there is no simple way to start with a 32-bit
system and the FreeBSD sources and recompile and reinstall everything
into a 64-bit system.  (Although the opposite direction is apparently
possible on 7-CURRENT, but it's a guru-only level of difficulty.)

The best and most effective answer here is to start by downloading
an amd64 installation CD and redo the whole thing from scratch.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+0E58Mjk52CukIwRCETCAKCMup1KJEH3jZNewCNG0Faz2IqiLACdGvpc
ObU/d7KOx+4qvJ3IY/QcsTY=
=1mOs
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual Opterons don't see all memory

2007-09-26 Thread Eric Osterweil

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Sep 26, 2007, at 10:35 PM, Matthew Seaman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Erich Dollansky wrote:


Paul Schmehl wrote:

--On September 26, 2007 9:06:57 PM -0700 Eric Osterweil
[EMAIL PROTECTED] wrote:


On Sep 26, 2007, at 8:57 PM, Erich Dollansky wrote:


Eric Osterweil wrote:




snip
Ahh... To do this, do I just specify the CPUTYPE in the /etc/ 
make.conf

as:
CPUTYPE=amd64
?


No.  Add options SMP to GENERIC or use the SMP conf file that's
already there (and includes GENERIC).  Then recompile the kernel per
the handbook.


he still has to set the CPU type also in this config file to amd64.


If the OP has installed FreeBSD i386 then changing the CPU type in
/etc/make.conf won't magically get him FreeBSD amd64 --- it will just
get him FreeBSD i386 optimized for AMD processors running in 32bit
mode.

As far as I know, there is no simple way to start with a 32-bit
system and the FreeBSD sources and recompile and reinstall everything
into a 64-bit system.  (Although the opposite direction is apparently
possible on 7-CURRENT, but it's a guru-only level of difficulty.)

The best and most effective answer here is to start by downloading
an amd64 installation CD and redo the whole thing from scratch.

Cheers,

Matthew


Ahh... gotcha.  I guess it's good that I asked before I loaded the  
machine up and invested a lot of time in it.  I can nuke it if that's  
what has to be done.


Thanks,

Eric

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG+0UIK/tq6CJjZQIRAuwwAJ9X0MIlij9g+O6TNvflq1dOAE+GMwCeJDpL
PVjv3wiYxhbrj01FcPqwzDw=
=ySXY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]