Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not seeing all installed memory...?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
FxChiP
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2003
Posts: 103

PostPosted: Tue Jun 19, 2007 6:51 pm    Post subject: Not seeing all installed memory...? Reply with quote

I have an iBook G3, 800 MHz, 640 MB of RAM (128 onboard + 512 I installed meself). Radeon 7500 Mobility w/ 32 MB VRAM, shimmed because of video issues, a CD-ROM drive and a 30 GB hard drive.

Okay, here's the problem: I mentioned that I have 640 MB of RAM, but Linux is apparently only seeing 384 MB of it -- in fact, here's nearly the first line of /var/log/dmesg:

Quote:
Total memory = 384MB; using 1024kB for hash table (at cff00000)


I have even tried compiling the kernel for High Memory Support. No luck.

Back when I used OS X, it reported a full 640 MB of memory.

What could be going on?
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Wed Jun 20, 2007 2:06 pm    Post subject: Reply with quote

from the file /usr/src/linux/Documentation/kernel-parameters.txt:

Code:
mem=nn[KMG]     [KNL,BOOT] Force usage of a specific amount of memory
                        Amount of memory to be used when the kernel is not able
                        to see the whole system memory or for test.

Try to use mem=640M as kernel boot parameter.
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
FxChiP
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2003
Posts: 103

PostPosted: Wed Jun 20, 2007 4:18 pm    Post subject: Reply with quote

Did try. And the kernel's getting the parameters properly, too, from the looks of it:

Quote:
Kernel command line: root=/dev/hda11 ro force_monitor=1 mem=640M


(ignore the force_monitor=1 part; I was trying to get that passed to the orinoco module back when I still had it compiled into the kernel. Didn't work, but that's okay.)

Still sees 384 MB. :/
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jun 21, 2007 12:19 pm    Post subject: Reply with quote

Can you post the whole dmesg please?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
FxChiP
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2003
Posts: 103

PostPosted: Thu Jun 21, 2007 4:18 pm    Post subject: Reply with quote

Quote:
Using PowerMac machine description
Total memory = 384MB; using 1024kB for hash table (at cff00000)
Linux version 2.6.21-gentoo-r2fx (root@IdBook) (gcc version 4.1.2 (Gentoo 4.1.2)) #3 Tue Jun 19 12:55:06 EDT 2007
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0xc0
Mapped at 0xfdfc0000
Found a Pangea mac-io controller, rev: 0, mapped at 0xfdf40000
Processor NAP mode on idle enabled.
PowerMac motherboard: iBook 2 rev. 2
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
Entering add_active_range(0, 0, 98304) 0 entries of 256 used
Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0
nvram: Checking bank 0...
nvram: gen0=658, gen1=659
nvram: Active bank is: 1
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Top of RAM: 0x18000000, Total RAM: 0x18000000
Memory hole size: 0MB
Zone PFN ranges:
DMA 0 -> 98304
Normal 98304 -> 98304
HighMem 98304 -> 98304
early_node_map[1] active PFN ranges
0: 0 -> 98304
On node 0 totalpages: 98304
DMA zone: 768 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 97536 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
HighMem zone: 0 pages used for memmap
Built 1 zonelists. Total pages: 97536
Kernel command line: root=/dev/hda11 ro force_monitor=1 mem=640M
mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 4 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
PID hash table entries: 2048 (order: 11, 8192 bytes)
GMT Delta read from XPRAM: 0 minutes, DST: off
time_init: decrementer frequency = 24.835245 MHz
time_init: processor frequency = 800.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
High memory: 0k
Memory: 383360k/393216k available (4364k kernel code, 9416k reserved, 164k data, 207k bss, 192k init)
Calibrating delay loop... 49.53 BogoMIPS (lpj=24768)
Mount-cache hash table entries: 512
device-tree: Duplicate name in /cpus/PowerPC,750@0, renamed to "l2-cache#1"
device-tree: Duplicate name in /pci@f2000000/mac-io@17/gpio@50, renamed to "extint-gpio4@5c#1"
NET: Registered protocol family 16
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
channel 0 bus <multibus>
channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
channel 0 bus <multibus>
PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
channel 1 bus <multibus>
channel 2 bus <multibus>
PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[40] MMIO=[f5000000-f50007ff] Max Packet=[2048] IR/IT contexts=[8/8]
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
Thermal assist unit using timers, shrink_timer: 2000 jiffies
squashfs: version 3.2 (2007/01/02) Phillip Lougher
fuse init (API version 7.8)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
Linux agpgart interface v0.102 (c) Dave Jones
agpgart: Detected Apple UniNorth/Pangea chipset
agpgart: configuring for size idx: 8
agpgart: AGP aperture is 32M @ 0x0
[drm] Initialized drm 1.1.0 20060810
PCI: Enabling device 0000:00:10.0 (0086 -> 0087)
[drm] Initialized radeon 1.25.0 20060524 on minor 0
radeonfb (0000:00:10.0): Invalid ROM signature 0 should be 0xaa55
radeonfb: Retrieved PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=180.00 Mhz, System=180.00 MHz
radeonfb: PLL min 12000 max 35000
i2c_adapter i2c-2: unable to read EDID block.
i2c_adapter i2c-2: unable to read EDID block.
i2c_adapter i2c-2: unable to read EDID block.
i2c_adapter i2c-3: unable to read EDID block.
i2c_adapter i2c-3: unable to read EDID block.
i2c_adapter i2c-3: unable to read EDID block.
radeonfb: Monitor 1 type LCD found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
radeonfb: Using Firmware dividers 0x000600ad from PPLL 0
radeonfb: Dynamic Clock Power Management enabled
Console: switching to colour frame buffer device 128x48
radeonfb: Backlight initialized (radeonbl0)
radeonfb (0000:00:10.0): ATI Radeon LW
loop: loaded (max 8 devices)
sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
PHY ID: 4061e4, addr: 0
eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:71:ca:74
eth0: Found BCM5221 PHY
MacIO PCI driver attached to Pangea chipset
input: Macintosh mouse button emulation as /class/input/input0
apm_emu: APM Emulation 0.5 initialized.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
adb: starting probe task...
ieee1394: Host added: ID:BUS[0-00:1023] GUID[000a95fffe71ca74]
adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
input: ADB keyboard as /class/input/input1
input: ADB Powerbook buttons as /class/input/input2
ADB mouse at 3, handler set to 4 (trackpad)
input: ADB mouse as /class/input/input3
adb: finished probe task...
ide0: Found Apple KeyLargo ATA-4 controller, bus ID 2, irq 19
Probing IDE interface ide0...
hda: TOSHIBA MK3021GAS, ATA DISK drive
hdb: LG CD-ROM CRN-8245B, ATAPI CD/DVD-ROM drive
hda: Enabling Ultra DMA 2
hdb: Enabling Ultra DMA 2
ide0 at 0xd903c000-0xd903c007,0xd903c160 on irq 19
hda: max request size: 128KiB
hda: 58605120 sectors (30005 MB), CHS=58140/16/63, UDMA(33)
hda: cache flushes supported
hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7 hda8 hda9 hda10 hda11
hdb: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
video1394: Installed video1394 module
ieee1394: raw1394: /dev/raw1394 device initialized
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: Enabling device 0001:10:18.0 (0000 -> 0002)
ohci_hcd 0001:10:18.0: OHCI Host Controller
ohci_hcd 0001:10:18.0: new USB bus registered, assigned bus number 1
ohci_hcd 0001:10:18.0: irq 27, io mem 0x80081000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
PCI: Enabling device 0001:10:19.0 (0000 -> 0002)
ohci_hcd 0001:10:19.0: OHCI Host Controller
ohci_hcd 0001:10:19.0: new USB bus registered, assigned bus number 2
ohci_hcd 0001:10:19.0: irq 28, io mem 0x80080000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
PowerMac i2c bus uni-n 1 registered
PowerMac i2c bus uni-n 0 registered
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50 2007 UTC).
input: PowerMac Beep as /class/input/input4
ALSA device list:
#0: PowerMac Snapper (Dev 24) Sub-frame 0
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
tunl0: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
input: PMU as /class/input/input5
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 192k init
orinoco 0.15 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin <proski@gnu.org>, et al)
airport 0.15 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
airport: Physical address 80030000
eth1: Hardware identity 0005:0001:0001:0002
eth1: Station identity 001f:0001:0008:0028
eth1: Firmware determined as Lucent/Agere 8.40
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:30:65:20:4B:CD
eth1: Station name "HERMES I"
eth1: ready
airport: Card registered for interface eth1
EXT3 FS on hda11, internal journal
Adding 524280k swap on /dev/hda10. Priority:-1 extents:1 across:524280k
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sat Jun 23, 2007 7:58 pm    Post subject: Reply with quote

The amount of memory you see is strange. It means that the system sees the onboard RAM (128MB) and half the additional module (256MB). First try to remove, clean and reinstall the additional module, in case there is a bad contact.

Also you said it used to work in the past. When did the memory "disappear" ?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jun 25, 2007 9:10 pm    Post subject: Reply with quote

Are you sure the memory shows up in OSX? Can you try booting an Install CD to check?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum