Re: 4GB RAM with an intel core 2 processor



Baldur Gislason wrote:
I recently tried to upgrade my Dell workstation from 2GB to 4GB RAM.
It's an Optiplex 755 with an Intel Core 2 Quad Q6600 processor. I'm running 7.0-RC1
When I install the 2 extra memory modules, the kernel tells me on startup
that it's ignoring 640MB memory above 4GB, leaving me with a total of 3.375GB
of accessible memory. However when X starts (using a PCI-e Geforce with nvidia driver)
the system reboots.
Now, I took a quick look at PAE and discovered that the PAE kernel is
not meant for anything but headless systems, most of the drivers (including USB!) are out and no
module support either.

Do I have any options for using my 4GB of RAM and still retain USB and the nvidia driver?


At the top of the 32 bit address space is a large region that is
reserved for addressing system and peripheral devices. It's typically
the top 256-768MB of the address space. Any RAM that is mapped into
this space is not available, so what system designers typically do these
days is exclude this region from RAM, and map the RAM that would be
otherwise lost into the address space to be above the 32-bit limit.
That's why it says that it's "ignoring" 640MB of RAM; it knows that it's
there, but since the OS is confined to a 32-bit address space, it knows
it can't get to it.

I would guess that the reason you're getting panic/reboot in X is
because you're using a graphics card with a lot of on-board RAM. The
video driver is trying to map this RAM into the CPU's address space, and
there simply isn't enough room for it because you have the space full
of RAM (and the above mentioned reserved space for other devices).

With the PAE kernel, modules aren't allowed because PAE caused system
data structures to change in a way that module builds couldn't cope with
at the time the PAE was written. I believe that that might not be the
case any longer, so long as you use the "buildkernel" method and don't
try to individually compile modules. It's worth testing. Also, USB was
very unreliable in 64-bit environments at the time that PAE was written,
so it was also excluded. So what's really happened here is that the PAE
kernel config file has probably just gotten stale and in need of a
review.

I don't know if PAE will fix your X video problems, though. Probably
the better bet all around is to run amd64.

Scott


_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [PATCH 2.6.24] mm: BadRAM support for broken memory
    ... This is the latest version of the BadRAM patch, ... run Linux on broken memory. ... a new kernel appeared, ... the BadRAM subsystem dealing with statically challanged RAM modules. ...
    (Linux-Kernel)
  • Re: Patch 4/6 randomize the stack pointer
    ... > it," so perhaps this would be a good compromise. ... less than 512M of memory to keep track of. ... what about the case where you have gobs of RAM and need a highmem ... Kernel data structures, no. ...
    (Linux-Kernel)
  • Re: Allocating kernel memory
    ... > I never complained about the real memory that was used but pointed out ... > that a large portion of the kernel virtual address space is used up. ... RAM you should avoid PAE, ... But it was limited to 1GB of physical RAM. ...
    (comp.os.linux.development.system)
  • Re: Newbie Setting up xserver
    ... Could be, but now that I know that low memory is causing the problem, I will ... The kernel gobbles up the rest of the physical memory huh. ... Actually my RAM is split into two ... >it could be that some of the processes related to setting the timezone ...
    (comp.os.linux.setup)
  • Re: OS-question
    ... MacOS X supports>4GB of RAM on IA32 and so does FreeBSD but I don't know ... Linux can use up to 64 Gigabytes of physical memory on x86 systems. ... If you are compiling a kernel which will never run on a machine with ...
    (comp.arch)

Loading