From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,caed2c3ff541b587,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-02-25 08:51:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!tower.bluewin.CH!not-for-mail From: Michael Keller Newsgroups: comp.os.linux.alpha Subject: Wrong amount of memory detected on AS1200 / rawhide/tincup Date: Mon, 25 Feb 2002 17:41:09 +0100 Organization: www.042.ch Message-ID: NNTP-Posting-Host: tower.bluewin.ch (195.186.55.199) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1014655868 6861532 195.186.55.199 (16 [7321]) X-Orig-Path: not-for-mail User-Agent: Pan/0.11.1 (Unix) X-Comment-To: ALL Xref: archiver1.google.com comp.os.linux.alpha:4961 Folks. I've got here a rawhide/tincup having 2 CPUs and 2 GB RAM [1], which shows a strange behaviour concerning the RAM: While booting the 2.2.20 - kernel without a mem= option supplied [2], it first seems to detect all the 2 GB of RAM [2.1], but it then crops it to 1 GB. On the running system, the output of top confirms that only 1 GB RAM is used. With 2.4.17 and the option mem=2048M supplied [3], the system behaves identically, reducing the forced 2 GB to 1 GB [3.1]. Finally, 2.4.17 without a mem= option [4] crashes [4.2] after having detected 4 GB RAM and reduced it to 2 [4.1]. Does anybody have an idea what could be wrong with my system or the linux kernel? [1] P00>>>sho conf Compaq Computer Corporation AlphaServer 1200 Console V6.0-4 OpenVMS PALcode V1.21-2, Digital UNIX PALcode V1.23-2 Module Type Rev Name System Motherboard 0 0000 mthrbrd0 Memory 256 MB DIMM 0 0000 mem0 Memory 256 MB DIMM 0 0000 mem1 Memory 256 MB DIMM 0 0000 mem2 Memory 256 MB DIMM 0 0000 mem3 Memory 256 MB DIMM 0 0000 mem4 Memory 256 MB DIMM 0 0000 mem5 Memory 256 MB DIMM 0 0000 mem6 Memory 256 MB DIMM 0 0000 mem7 CPU (4MB Cache) 3 0003 cpu0 CPU (4MB Cache) 3 0003 cpu1 Bridge (IOD0/IOD1) 600 0032 iod0/iod1 PCI Motherboard a 0000 saddle0 P00>>>sho mem Slot Type MB Base ---- ---- ---- -------- 0 DIMM 256 0 1 DIMM 256 20000000 2 DIMM 256 40000000 3 DIMM 256 60000000 4 DIMM 256 80000000 5 DIMM 256 a0000000 6 DIMM 256 c0000000 7 DIMM 256 e0000000 Total 2048 [2] Linux version 2.2.20 (root@bw138isd) (gcc version 2.95.4 (Debian prerelease)) #1 SMP Sat Feb 23 12:51:59 CET 2002 Booting on Rawhide variation Tincup using machine vector Rawhide from SRM Command line: ro root=3001 console=ttyS0,9600 [2.1] Cropping memory from 3840MB to 2048MB mcpcia_init_arch: allocating for 4 hoses SMP: 2 CPUs probed -- cpu_present_mask = 3 mcpcia_init_hoses: found 2 hoses HWRPB cycle frequency (531914893) seems inaccurate - using the measured value of 532795224 Hz Using epoch = 1952 Console: colour VGA+ 80x25 Calibrating delay loop... 528.12 BogoMIPS [2.2] Memory: 1023992k available Dentry hash table entries: 262144 (order 9, 4096k) Buffer cache hash table entries: 524288 (order 9, 4096k) Page cache hash table entries: 262144 (order 8, 2048k) [3] Linux version 2.4.17 (root@bw138isd) (gcc version 3.0.3) #1 SMP Sat Feb 23 18:16:01 CET 2002 Booting on Rawhide variation Tincup using machine vector Rawhide from SRM Command line: ro root=3001 mem=2048M console=ttyS0,9600 memcluster 0, usage 1, start 0, end 256 memcluster 1, usage 0, start 256, end 32768 memcluster 2, usage 0, start 65536, end 98304 memcluster 3, usage 0, start 131072, end 163840 memcluster 4, usage 0, start 196608, end 229376 memcluster 5, usage 0, start 262144, end 294912 memcluster 6, usage 0, start 327680, end 360448 memcluster 7, usage 0, start 393216, end 425984 memcluster 8, usage 0, start 458752, end 491515 memcluster 9, usage 1, start 491515, end 491520 setup: forcing memory size to 2097152K (from 3932120K). freeing pages 256:1024 freeing pages 1396:32768 freeing pages 65536:98304 freeing pages 131072:163840 freeing pages 196608:229376 reserving pages 1396:1400 SMP: 2 CPUs probed -- cpu_present_mask = 3 On node 0 totalpages: 262144 zone(0): 262144 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: ro root=3001 mem=2048M console=ttyS0,9600 mcpcia_init_hoses: found 2 hoses Using epoch = 1952 Turning on RTC interrupts. Console: colour VGA+ 80x25 Calibrating delay loop... 1060.36 BogoMIPS [3.1] Memory: 1008632k/2097152k available (1646k kernel code, 37896k reserved, 352k data, 296k init) Dentry-cache hash table entries: 262144 (order: 9, 4194304 bytes) Inode-cache hash table entries: 131072 (order: 8, 2097152 bytes) Mount-cache hash table entries: 32768 (order: 6, 524288 bytes) Buffer-cache hash table entries: 131072 (order: 7, 1048576 bytes) Page-cache hash table entries: 262144 (order: 8, 2097152 bytes) [4] Linux version 2.4.17 (root@bw138isd) (gcc version 3.0.3) #1 SMP Sat Feb 23 18:16:01 CET 2002 Booting on Rawhide variation Tincup using machine vector Rawhide from SRM Command line: ro root=3001 console=ttyS0,9600 memcluster 0, usage 1, start 0, end 256 memcluster 1, usage 0, start 256, end 32768 memcluster 2, usage 0, start 65536, end 98304 memcluster 3, usage 0, start 131072, end 163840 memcluster 4, usage 0, start 196608, end 229376 memcluster 5, usage 0, start 262144, end 294912 memcluster 6, usage 0, start 327680, end 360448 memcluster 7, usage 0, start 393216, end 425984 memcluster 8, usage 0, start 458752, end 491515 memcluster 9, usage 1, start 491515, end 491520 freeing pages 256:1024 freeing pages 1396:32768 freeing pages 65536:98304 freeing pages 131072:163840 freeing pages 196608:229376 freeing pages 262144:294912 freeing pages 327680:360448 freeing pages 393216:425984 freeing pages 458752:491515 reserving pages 1396:1404 SMP: 2 CPUs probed -- cpu_present_mask = 3 On node 0 totalpages: 491515 zone(0): 491515 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: ro root=3001 console=ttyS0,9600 mcpcia_init_hoses: found 2 hoses Using epoch = 1952 Turning on RTC interrupts. Console: colour VGA+ 80x25 Calibrating delay loop... 1060.36 BogoMIPS [4.1] Memory: 2028480k/3932120k available (1646k kernel code, 66584k reserved, 352k data, 296k init) Dentry-cache hash table entries: 262144 (order: 9, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 4194304 bytes) Mount-cache hash table entries: 65536 (order: 7, 1048576 bytes) Buffer-cache hash table entries: 262144 (order: 8, 2097152 bytes) Page-cache hash table entries: 524288 (order: 9, 4194304 bytes) POSIX conformance testing by UNIFIX Using heuristic of 2147483647 cycles. SMP starting up secondaries. Calibrating delay loop... 1065.48 BogoMIPS SMP: Total of 2 processors activated (2132.09 BogoMIPS). Waiting on wait_init_idle (map = 0x2) All processors have done init_idle Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Diskquotas version dquot_6.4.0 initialized Journalled Block Device driver loaded pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A block: 128 slots per queue, batch=32 DAC960: ***** DAC960 RAID Driver Version 2.4.11 of 11 October 2001 ***** DAC960: Copyright 1998-2001 by Leonard N. Zubkoff [4.2] Unable to handle kernel paging request at virtual address 000000000000002c CPU 0 swapper(0): Oops 0 pc = [] ra = [] ps = 0007 Not tainted v0 = 0000000000000000 t0 = ffffffff80000000 t1 = 0000000080000000 t2 = 0000000000000000 t3 = fffffc0000a5c3e8 t4 = 0000000000000000 t5 = fffffc0000a5bcc4 t6 = fffffffffffffffe t7 = fffffc0000a00000 s0 = 0000000000000005 s1 = fffffc00effa01f0 s2 = 0000000040000001 s3 = fffffc0000a03ed8 s4 = fffffc00effa01b0 s5 = fffffcf902258000 s6 = fffffc00effa0000 a0 = 0000000000000002 a1 = 0000000000000000 a2 = 0000000000000060 a3 = 0000000000000020 a4 = fffffc0000a98048 a5 = fffffc0000a05460 t8 = 000000000000001f t9 = 0000000000000001 t10= fffffc0000a5bcd8 t11= fffffc0000a352c0 pv = fffffc00009a5120 at = 0000000000000000 gp = fffffc0000a579e0 sp = fffffc0000a03df8 Trace:fffffc0000816164 fffffc0000817238 fffffc00008201cc fffffc0000817ab8 fffffc0000810bd8 fffffc0000812314 fffffc0000820390 fffffc0000812328 fffffc00008100d8 fffffc000081001c Code: a4440000 4821f621 40220521 40230403 44201c83 2fe00000 <2f83002c> 22030024 Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing boot failure Regards Michael Keller -- GCS/CC/E/IT d- s+: a- C++ UL++++/S++$ P+ L+++ E- W++ N+++ o? K? w O(++) M- V !PS !PE Y? PGP+ t 5? X R !tv b+ DI+ D++ G e+++ h-- r++ y+