View previous topic :: View next topic |
Author |
Message |
chernousov Tux's lil' helper


Joined: 30 May 2004 Posts: 117
|
Posted: Sun Jun 13, 2004 3:07 pm Post subject: 884MB оперативки вместо 1GB |
|
|
Имею машину с гигом оперативки. Kernel был и 2.6.4, и 2.6.5, а сейчас 2.6.6. Странное дело: Code: | # free
total used free shared buffers cached
Mem: 905648 541852 363796 0 35976 275212
...
# cat /proc/meminfo
MemTotal: 905648 kB
... |
Кернел при загрузке тоже что-то говорит на тему 884Mb RAM (905648/1024=~884). Но на самом деле у меня 1Gb. Куда подевались остальные 140 мегов? |
|
Back to top |
|
 |
deadlyFROZEN Tux's lil' helper


Joined: 11 Jun 2004 Posts: 114
|
Posted: Sun Jun 13, 2004 3:17 pm Post subject: предположение |
|
|
попробуй Processor Type Features->High Memory Support->4GB _________________ ...whether tis nobler? from the win to suffer,
from the bugs ´n issues of a commercial system
or to raise your mind against a sea of troubles,
and by a LINUX end them?... |
|
Back to top |
|
 |
ator n00b

Joined: 21 Feb 2004 Posts: 54 Location: Kzn
|
Posted: Sun Jun 13, 2004 3:24 pm Post subject: |
|
|
Похоже что ядро собрано без поддержки CONFIG_HIGHMEM4G=y, в Processor type and features ---> High Memory Support. Вывод омманды dmesg сообщает об этом. |
|
Back to top |
|
 |
chernousov Tux's lil' helper


Joined: 30 May 2004 Posts: 117
|
Posted: Sun Jun 13, 2004 3:50 pm Post subject: |
|
|
Про эту опцию я знаю, но я RTFM, и там написано:
Code: | Linux Kernel v2.6.6 Configuration
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌─────────────────────────────────────────────────────────────── off ───────────────────────────────────────────────────────────────┐
│ CONFIG_NOHIGHMEM: │
│ │
[...skipped...]
│ │
│ If you are compiling a kernel which will never run on a machine with │
│ more than 1 Gigabyte total physical RAM, answer "off" here (default │
│ choice and suitable for most users). │
│ │
[...skipped...]
│ │
│ If the machine has between 1 and 4 Gigabytes physical RAM, then │
│ answer "4GB" here. │
│ │
[...skipped...]
| Не совсем однозначно сочетаются фразы "between 1 and 4 Gigabytes" и "more than 1 Gigabyte". Условие "more than 1 Gigabyte" для моей машины точно не справедливо. Но, в то же время, условие "between 1 and 4 Gigabytes" справедливо лишь если добавить слово "inclusive" ("включительно").
В общем, эксперимент покажет. На досуге пересоберу ядро. |
|
Back to top |
|
 |
chernousov Tux's lil' helper


Joined: 30 May 2004 Posts: 117
|
Posted: Sun Jun 13, 2004 3:54 pm Post subject: |
|
|
ator wrote: | Вывод омманды dmesg сообщает об этом. | На всякий случай dmesg в студию: Code: | ...
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU1] (supports C1, 8 throttling states)
Console: switching to colour frame buffer device 160x64
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
hw_random: RNG not detected
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:DMA
hda: ST3120026A, ATA DISK drive
hdb: ST340016A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdd: CD-W524E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdb: max request size: 128KiB
hdb: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
/dev/ide/host0/bus0/target1/lun0: p1 p2 < p5 >
hdd: ATAPI 40X CD-ROM CD-R/RW drive, 1404kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 160k freed
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB USB2
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 10, pci mem f9877c00
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
found reiserfs format "3.6" with standard journal
reiserfs: using ordered data mode
Reiserfs journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda3) for (hda3)
Using r5 hash to sort names
Adding 506036k swap on /dev/hda2. Priority:-1 extents:1
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:03:02.0: 3Com PCI 3c905C Tornado at 0xd400. Vers LK1.1.19
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-5336 Wed Jan 14 18:29:26 PST 2004
found reiserfs format "3.6" with standard journal
reiserfs: using ordered data mode
Reiserfs journal params: device hdb5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hdb5) for (hdb5)
Using r5 hash to sort names
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 845G Chipset.
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: AGP aperture is 64M @ 0xe0000000
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB USB (Hub #1)
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 11, io base 0000e400
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB USB (Hub #2)
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 3, io base 0000e800
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB USB (Hub #3)
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 5, io base 0000ec00
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Creative EMU10K1 PCI Audio Driver, version 0.20a, 15:51:49 Jun 6 2004
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
vmmon: module license 'unspecified' taints kernel.
/dev/vmmon: Module vmmon: registered with major=10 minor=165
/dev/vmmon: Module vmmon: initialized
vmnet: module license 'unspecified' taints kernel.
/dev/vmnet: open called by PID 7632 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: enabling the bridge
bridge-eth0: up
bridge-eth0: already up
bridge-eth0: attached
/dev/vmnet: open called by PID 7647 (vmnet-natd)
/dev/vmnet: hub 8 does not exist, allocating memory.
/dev/vmnet: port on hub 8 successfully opened
nfs warning: mount version older than kernel
nfs warning: mount version older than kernel
nfs warning: mount version older than kernel
process `snmpd' is using obsolete setsockopt SO_BSDCOMPAT
/dev/vmnet: open called by PID 8176 (vmnet-netifup)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 8195 (vmnet-dhcpd)
/dev/vmnet: port on hub 8 successfully opened
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
/dev/vmnet: open called by PID 8722 (vmware-vmx)
bridge-eth0: set IFF_PROMISC
eth0: Setting promiscuous mode.
/dev/vmnet: port on hub 0 successfully opened
/dev/vmmon: fast clock rate 0 -> 19
/dev/vmmon: fast clock rate 19 -> 27
/dev/vmmon: fast clock rate 27 -> 100
end_request: I/O error, dev fd0, sector 0
floppy0: disk absent or changed during operation
...
| Ничего похожего на обсуждаемую проблему я не вижу. |
|
Back to top |
|
 |
deadlyFROZEN Tux's lil' helper


Joined: 11 Jun 2004 Posts: 114
|
Posted: Sun Jun 13, 2004 4:52 pm Post subject: хех |
|
|
Ну вот. Ты не видишь в dmesg ничего, связанного с этой проблемой, а ядро не видит все твои 1024 мегабайт. Око за око, зуб за зуб  _________________ ...whether tis nobler? from the win to suffer,
from the bugs ´n issues of a commercial system
or to raise your mind against a sea of troubles,
and by a LINUX end them?... |
|
Back to top |
|
 |
chernousov Tux's lil' helper


Joined: 30 May 2004 Posts: 117
|
Posted: Sun Jun 13, 2004 11:13 pm Post subject: |
|
|
Да, действительно, включение в ядре поддержки 4ГБ дало положительный результат. Всем спасибо! |
|
Back to top |
|
 |
deadlyFROZEN Tux's lil' helper


Joined: 11 Jun 2004 Posts: 114
|
Posted: Mon Jun 14, 2004 7:42 am Post subject: |
|
|
ура!  _________________ ...whether tis nobler? from the win to suffer,
from the bugs ´n issues of a commercial system
or to raise your mind against a sea of troubles,
and by a LINUX end them?... |
|
Back to top |
|
 |
|
|
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
|
|