* 2.6.16-rc5 huge memory detection regression @ 2006-03-07 10:50 Martin MOKREJŠ 2006-03-07 12:15 ` Andrew Morton 0 siblings, 1 reply; 12+ messages in thread From: Martin MOKREJŠ @ 2006-03-07 10:50 UTC (permalink / raw) To: LKML [-- Attachment #1: Type: text/plain, Size: 391 bytes --] Hi, I just tested 2.6.16-rc5 kernel on MSI 9136 dual Xeon server motherboard with 16 GB of memory and the kernel detects only 8 GB of RAM instead. 2.6.15 kernel detected properly 16 GB. I haven't tested any kernel revisions in between these two, but could if you point me in a specific direction. Attaching diff(1) output of dmesg(1) outputs. Please Cc: me in replies. Thanks! Martin [-- Attachment #2: boot-2.6.15_to_16-rc5.diff --] [-- Type: text/plain, Size: 11993 bytes --] --- tmp/boot-2.6.15.txt 2006-03-07 11:45:48.015509048 +0100 +++ tmp/boot-2.6.16-rc5.txt 2006-03-07 11:45:48.029506920 +0100 @@ -1,4 +1,4 @@ -Linux version 2.6.15 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 20:20:06 MET 2006 +Linux version 2.6.16-rc5 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 19:58:24 MET 2006 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009a800 (usable) BIOS-e820: 000000000009a800 - 00000000000a0000 (reserved) @@ -12,16 +12,16 @@ BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) - BIOS-e820: 0000000100000000 - 0000000430000000 (usable) -16256MB HIGHMEM available. + BIOS-e820: 0000000100000000 - 0000000230000000 (usable) +8064MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f6af0 NX (Execute Disable) protection: active -On node 0 totalpages: 4390912 +On node 0 totalpages: 2293760 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 225280 pages, LIFO batch:31 - HighMem zone: 4161536 pages, LIFO batch:31 + HighMem zone: 2064384 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 PTLTD ) @ 0x000f6a70 ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0xcff726a2 @@ -58,16 +58,18 @@ mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) mapped IOAPIC to ffffb000 (fec10000) +Enabling fast FPU save and restore... done. +Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) -Detected 2993.281 MHz processor. +Detected 2993.175 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) -Memory: 16632528k/17563648k available (2699k kernel code, 142932k reserved, 1389k data, 196k init, 15859136k highmem) +Memory: 8309408k/9175040k available (2725k kernel code, 77456k reserved, 1415k data, 200k init, 7470528k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. -Calibrating delay using timer specific routine.. 5991.31 BogoMIPS (lpj=11982622) +Calibrating delay using timer specific routine.. 5995.49 BogoMIPS (lpj=11990992) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 @@ -76,52 +78,50 @@ CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Physical Processor ID: 0 -CPU: After all inits, caps: bfebfbff 20100000 00000000 00000080 0000641d 00000000 00000000 +CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000641d 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (24) available CPU0: Thermal monitoring enabled -mtrr: v2.0 (20020519) -Enabling fast FPU save and restore... done. -Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. tbxface-0109 [02] load_tables : ACPI Tables successfully acquired -Parsing all Control Methods:........................................................................................................................................ +Parsing all Control Methods: Table [DSDT](id 0005) - 404 Objects with 54 Devices 136 Methods 12 Regions -ACPI Namespace successfully loaded at root c0579d9c +ACPI Namespace successfully loaded at root c0588170 evxfevnt-0091 [03] enable : Transition to ACPI mode successful CPU0: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01 Booting processor 1/6 eip 2000 Initializing CPU#1 -Calibrating delay using timer specific routine.. 5985.50 BogoMIPS (lpj=11971016) +Calibrating delay using timer specific routine.. 5985.79 BogoMIPS (lpj=11971595) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 monitor/mwait feature present. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Physical Processor ID: 3 -CPU: After all inits, caps: bfebfbff 20100000 00000000 00000080 0000641d 00000000 00000000 +CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000641d 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel P4/Xeon Extended MCE MSRs (24) available CPU1: Thermal monitoring enabled CPU1: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01 -Total of 2 processors activated (11976.81 BogoMIPS). +Total of 2 processors activated (11981.29 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs +migration_cost=4000 NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 3.00 entry at 0xfd663, last bus=9 PCI: Using MMCONFIG -ACPI: Subsystem revision 20050902 -evgpeblk-0988 [06] ev_create_gpe_block : GPE 00 to 1F [_GPE] 4 regs on int 0x9 -evgpeblk-0996 [06] ev_create_gpe_block : Found 5 Wake, Enabled 2 Runtime GPEs in this block +ACPI: Subsystem revision 20060127 +evgpeblk-0941 [06] ev_create_gpe_block : GPE 00 to 1F [_GPE] 4 regs on int 0x9 +evgpeblk-1037 [05] ev_initialize_gpe_bloc: Found 5 Wake, Enabled 2 Runtime GPEs in this block Completing Region/Field/Buffer/Package initialization:................................................... Initialized 12/12 Regions 0/0 Fields 36/36 Buffers 3/15 Packages (413 nodes) Executing all Device _STA and_INI methods:............................................................ -60 Devices found containing: 60 _STA, 2 _INI methods +60 Devices found - executed 1 _STA, 2 _INI methods ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) @@ -224,7 +224,7 @@ SGI XFS with no debug enabled Initializing Cryptographic API io scheduler noop registered -io scheduler anticipatory registered +io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered radeonfb_pci_register BEGIN @@ -237,9 +237,9 @@ ACPI: Power Button (CM) [PWRB] ACPI: Processor [CPU0] (supports 8 throttling states) ACPI: Processor [CPU1] (supports 8 throttling states) -acpi_processor-0507 [06] processor_get_info : Error getting cpuindex for acpiid 0x2 -acpi_processor-0507 [06] processor_get_info : Error getting cpuindex for acpiid 0x3 -Real Time Clock Driver v1.12 +acpi_processor-0495 [06] processor_get_info : Error getting cpuindex for acpiid 0x2 +acpi_processor-0495 [06] processor_get_info : Error getting cpuindex for acpiid 0x3 +Real Time Clock Driver v1.12ac Non-volatile memory driver v1.2 Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds). Hangcheck: Using monotonic_clock(). @@ -255,16 +255,19 @@ 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A FDC 0 is a National Semiconductor PC87306 loop: loaded (max 8 devices) -Intel(R) PRO/1000 Network Driver - version 6.1.16-k2 +Intel(R) PRO/1000 Network Driver - version 6.3.9-k2 Copyright (c) 1999-2005 Intel Corporation. acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:08:02.0[A] -> GSI 25 (level, low) -> IRQ 18 +e1000: 0000:08:02.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:09:b6:c1:7a e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:08:03.0[A] -> GSI 26 (level, low) -> IRQ 19 +e1000: 0000:08:03.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:09:b6:c1:7b e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:09:01.0[A] -> GSI 17 (level, low) -> IRQ 20 +e1000: 0000:09:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:0e:0c:84:83:71 e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection LXT970: Registered new driver LXT971: Registered new driver @@ -303,14 +306,22 @@ Type: Direct-Access ANSI SCSI revision: 05 st: Version 20050830, fixed bufsize 32768, s/g segs 256 SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) +sda: Write Protect is off +sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) +sda: Write Protect is off +sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 sd 0:0:0:0: Attached scsi disk sda SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB) +sdb: Write Protect is off +sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB) +sdb: Write Protect is off +sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back sdb: sdb1 sd 1:0:0:0: Attached scsi disk sdb @@ -319,7 +330,6 @@ ieee1394: Initialized config rom entry `ip1394' video1394: Installed video1394 module ieee1394: raw1394: /dev/raw1394 device initialized -sbp2: $Rev: 1306 $ Ben Collins <bcollins@debian.org> ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1) ieee1394: sbp2: Try serialize_io=0 for better performance usbmon: debugfs is not available @@ -330,7 +340,7 @@ input: PC Speaker as /class/input/input0 i2c /dev entries driver NET: Registered protocol family 2 -IP route cache hash table entries: 1048576 (order: 10, 4194304 bytes) +IP route cache hash table entries: 524288 (order: 9, 2097152 bytes) TCP established hash table entries: 524288 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 524288 bind 65536) @@ -341,13 +351,12 @@ p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available Starting balanced_irq Using IPI Shortcut mode -input: AT Translated Set 2 keyboard as /class/input/input1 BIOS EDD facility v0.16 2004-Jun-25, 2 devices found UDF-fs: No VRS found XFS mounting filesystem sda4 Ending clean XFS mount for filesystem: sda4 VFS: Mounted root (xfs filesystem) readonly. -Freeing unused kernel memory: 196k freed +Freeing unused kernel memory: 200k freed Adding 31254448k swap on /dev/sda2. Priority:-1 extents:1 across:31254448k XFS mounting filesystem sdb1 Ending clean XFS mount for filesystem: sdb1 @@ -358,6 +367,7 @@ uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: irq 16, io base 0x00001400 +usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 22 @@ -365,6 +375,7 @@ uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: irq 22, io base 0x00001420 +usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 @@ -375,6 +386,7 @@ ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 3 ehci_hcd 0000:00:1d.7: irq 23, io mem 0xd0001400 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 +usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 4 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 10:50 2.6.16-rc5 huge memory detection regression Martin MOKREJŠ @ 2006-03-07 12:15 ` Andrew Morton 2006-03-07 12:25 ` Martin MOKREJŠ 2006-03-07 12:28 ` Martin MOKREJŠ 0 siblings, 2 replies; 12+ messages in thread From: Andrew Morton @ 2006-03-07 12:15 UTC (permalink / raw) To: Martin MOKREJ__; +Cc: linux-kernel Martin MOKREJ__ <mmokrejs@ribosome.natur.cuni.cz> wrote: > > I just tested 2.6.16-rc5 kernel on MSI 9136 dual Xeon server > motherboard with 16 GB of memory and the kernel detects only 8 GB of > RAM instead. 2.6.15 kernel detected properly 16 GB. I haven't tested > any kernel revisions in between these two, but could if you point me > in a specific direction. Attaching diff(1) output of dmesg(1) outputs. > Please Cc: me in replies. Thanks! > Martin > > > [boot-2.6.15_to_16-rc5.diff text/plain (12156 bytes)] The diff is useful. > --- tmp/boot-2.6.15.txt 2006-03-07 11:45:48.015509048 +0100 > +++ tmp/boot-2.6.16-rc5.txt 2006-03-07 11:45:48.029506920 +0100 > @@ -1,4 +1,4 @@ > -Linux version 2.6.15 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 20:20:06 MET 2006 > +Linux version 2.6.16-rc5 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 19:58:24 MET 2006 > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 000000000009a800 (usable) > BIOS-e820: 000000000009a800 - 00000000000a0000 (reserved) > @@ -12,16 +12,16 @@ > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) > BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) > - BIOS-e820: 0000000100000000 - 0000000430000000 (usable) > -16256MB HIGHMEM available. > + BIOS-e820: 0000000100000000 - 0000000230000000 (usable) > +8064MB HIGHMEM available. These numbers are what the BIOS is telling the kernel about your machine. Was the BIOS changed? If not, you might need to wiggle those DIMMs or something. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 12:15 ` Andrew Morton @ 2006-03-07 12:25 ` Martin MOKREJŠ 2006-03-07 19:36 ` Andrew Morton 2006-03-07 12:28 ` Martin MOKREJŠ 1 sibling, 1 reply; 12+ messages in thread From: Martin MOKREJŠ @ 2006-03-07 12:25 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel Hi Andrew, Andrew Morton wrote: > Martin MOKREJ__ <mmokrejs@ribosome.natur.cuni.cz> wrote: > >> I just tested 2.6.16-rc5 kernel on MSI 9136 dual Xeon server >> motherboard with 16 GB of memory and the kernel detects only 8 GB of >> RAM instead. 2.6.15 kernel detected properly 16 GB. I haven't tested >> any kernel revisions in between these two, but could if you point me >> in a specific direction. Attaching diff(1) output of dmesg(1) outputs. >> Please Cc: me in replies. Thanks! >> Martin >> >> >>[boot-2.6.15_to_16-rc5.diff text/plain (12156 bytes)] > > > The diff is useful. > > >> --- tmp/boot-2.6.15.txt 2006-03-07 11:45:48.015509048 +0100 >> +++ tmp/boot-2.6.16-rc5.txt 2006-03-07 11:45:48.029506920 +0100 >> @@ -1,4 +1,4 @@ >> -Linux version 2.6.15 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 20:20:06 MET 2006 >> +Linux version 2.6.16-rc5 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 19:58:24 MET 2006 >> BIOS-provided physical RAM map: >> BIOS-e820: 0000000000000000 - 000000000009a800 (usable) >> BIOS-e820: 000000000009a800 - 00000000000a0000 (reserved) >> @@ -12,16 +12,16 @@ >> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) >> BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) >> BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) >> - BIOS-e820: 0000000100000000 - 0000000430000000 (usable) >> -16256MB HIGHMEM available. >> + BIOS-e820: 0000000100000000 - 0000000230000000 (usable) >> +8064MB HIGHMEM available. > > > These numbers are what the BIOS is telling the kernel about your machine. > Was the BIOS changed? No, it hasn't since we got the motherboard. Yes, it is 1.20 instead of 1.50. The MSI web is such a crap I couldn't first of all get the file at all and once found on a local reseller's page the zip file contains no Changelog, so I have no clue what happened between 1.20 and 1.50 BIOS revision. > > If not, you might need to wiggle those DIMMs or something. It is really something else, 16GB can be seen under 2.6.15, 2.6.15-rc1 (if I remember right my previous kernel version). I can reproduce just by booting with "wrong" kernel version. Any other recommendation? Except flashing and praying? I haven't touched the BIOS setting either, I worked completely remotely. Martin ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 12:25 ` Martin MOKREJŠ @ 2006-03-07 19:36 ` Andrew Morton 2006-03-07 21:08 ` Dave Hansen 0 siblings, 1 reply; 12+ messages in thread From: Andrew Morton @ 2006-03-07 19:36 UTC (permalink / raw) To: Martin MOKREJ__; +Cc: linux-kernel, Dave Hansen Martin MOKREJ__ <mmokrejs@ribosome.natur.cuni.cz> wrote: > > ... > > > >> --- tmp/boot-2.6.15.txt 2006-03-07 11:45:48.015509048 +0100 > >> +++ tmp/boot-2.6.16-rc5.txt 2006-03-07 11:45:48.029506920 +0100 > >> @@ -1,4 +1,4 @@ > >> -Linux version 2.6.15 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 20:20:06 MET 2006 > >> +Linux version 2.6.16-rc5 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 19:58:24 MET 2006 > >> BIOS-provided physical RAM map: > >> BIOS-e820: 0000000000000000 - 000000000009a800 (usable) > >> BIOS-e820: 000000000009a800 - 00000000000a0000 (reserved) > >> @@ -12,16 +12,16 @@ > >> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > >> BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) > >> BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) > >> - BIOS-e820: 0000000100000000 - 0000000430000000 (usable) > >> -16256MB HIGHMEM available. > >> + BIOS-e820: 0000000100000000 - 0000000230000000 (usable) > >> +8064MB HIGHMEM available. > > > > > > These numbers are what the BIOS is telling the kernel about your machine. > > Was the BIOS changed? > > No, it hasn't since we got the motherboard. Yes, it is 1.20 instead > of 1.50. The MSI web is such a crap I couldn't first of all get the > file at all and once found on a local reseller's page the zip file > contains no Changelog, so I have no clue what happened between 1.20 > and 1.50 BIOS revision. > > > > > If not, you might need to wiggle those DIMMs or something. > > It is really something else, 16GB can be seen under 2.6.15, > 2.6.15-rc1 (if I remember right my previous kernel version). > I can reproduce just by booting with "wrong" kernel version. > Any other recommendation? Except flashing and praying? > I haven't touched the BIOS setting either, I worked completely remotely. > Are you sure that it was 2.6.15 which found the full 16G? Because there was a change which could have affected this. But it was merged in late October and was present in 2.6.15. You could try a `patch -p1 -R < this:' diff-tree f014a556e714dfb02502e3be6146a39ca625f33c (from 750deaa4021da1cf9fdb1e20861a10c76fd7f2bc) Author: Dave Hansen <haveblue@us.ibm.com> Date: Sun Oct 30 14:59:37 2005 -0800 [PATCH] fixup bogus e820 entry with mem= This was reported because someone was getting oopses reading /proc/iomem. It was tracked down to a zero-sized 'struct resource' entry which was located right at 4GB. You need two conditions to hit this bug: a BIOS E820_RAM area starting at exactly the boundary where you specify mem= (to get a zero-sized entry), and for the legacy_init_iomem_resources() loop to skip that resource (which only happens at exactly 4G). I think the killing zero-sized e820 entry is the easiest way to fix this. Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index 9b8c8a1..b48ac63 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c @@ -389,14 +389,24 @@ static void __init limit_regions(unsigne } } for (i = 0; i < e820.nr_map; i++) { - if (e820.map[i].type == E820_RAM) { - current_addr = e820.map[i].addr + e820.map[i].size; - if (current_addr >= size) { - e820.map[i].size -= current_addr-size; - e820.nr_map = i + 1; - return; - } + current_addr = e820.map[i].addr + e820.map[i].size; + if (current_addr < size) + continue; + + if (e820.map[i].type != E820_RAM) + continue; + + if (e820.map[i].addr >= size) { + /* + * This region starts past the end of the + * requested size, skip it completely. + */ + e820.nr_map = i; + } else { + e820.nr_map = i + 1; + e820.map[i].size -= current_addr - size; } + return; } } ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 19:36 ` Andrew Morton @ 2006-03-07 21:08 ` Dave Hansen 2006-03-07 23:16 ` Martin MOKREJŠ ` (2 more replies) 0 siblings, 3 replies; 12+ messages in thread From: Dave Hansen @ 2006-03-07 21:08 UTC (permalink / raw) To: Andrew Morton; +Cc: Martin MOKREJ__, linux-kernel [-- Attachment #1: Type: text/plain, Size: 943 bytes --] On Tue, 2006-03-07 at 11:36 -0800, Andrew Morton wrote: > Because there was a change which could have affected this. But it was > merged in late October and was present in 2.6.15. It certainly is possible that my patch caused the bug. However, my patch only affects limit_regions(), which is only called when the user specifies a mem= argument on the command-line. When they do this, in addition to the BIOS-e820 printout, they should also see a "user-defined physical RAM map:", which I don't see in the diff. Also, I'm pretty sure that this e820 printout runs before parse_cmdline_early(), where limit_regions() is called. Martin, in any case, I have debugged things in that code recently, and I'd be happy to help you fix your problem. I've attached a patch that does a ton of e820 debug printks. If you could get me a full copy of your dmesg with that applied, I should be able to locate the problem a bit more quickly. -- Dave [-- Attachment #2: e820-debug.patch --] [-- Type: text/x-patch, Size: 3410 bytes --] --- include/asm-i386/mach-visws/setup_arch_post.h | 0 work-dave/arch/i386/kernel/setup.c | 27 +++++++++++++++++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff -puN arch/i386/kernel/setup.c~e820-debug arch/i386/kernel/setup.c --- work/arch/i386/kernel/setup.c~e820-debug 2006-03-07 12:47:23.000000000 -0800 +++ work-dave/arch/i386/kernel/setup.c 2006-03-07 13:07:49.000000000 -0800 @@ -363,11 +363,13 @@ static void __init probe_roms(void) } } +static void __init print_memory_map(char *who); static void __init limit_regions(unsigned long long size) { unsigned long long current_addr = 0; int i; + print_memory_map("limit_regions start"); if (efi_enabled) { efi_memory_desc_t *md; void *p; @@ -404,8 +406,10 @@ static void __init limit_regions(unsigne e820.nr_map = i + 1; e820.map[i].size -= current_addr - size; } + print_memory_map("limit_regions endfor"); return; } + print_memory_map("limit_regions endfunc"); } static void __init add_memory_region(unsigned long long start, @@ -413,6 +417,7 @@ static void __init add_memory_region(uns { int x; + printk("add_memory_region(%016Lx, %016Lx, %d)\n", start, size, type); if (!efi_enabled) { x = e820.nr_map; @@ -518,17 +523,21 @@ static int __init sanitize_e820_map(stru ____________________33__ ______________________4_ */ - + printk("sanitize start\n"); /* if there's only one memory region, don't bother */ - if (*pnr_map < 2) + if (*pnr_map < 2) { + printk("sanitize bail 0\n"); return -1; + } old_nr = *pnr_map; /* bail out if we find any unreasonable addresses in bios map */ for (i=0; i<old_nr; i++) - if (biosmap[i].addr + biosmap[i].size < biosmap[i].addr) + if (biosmap[i].addr + biosmap[i].size < biosmap[i].addr) { + printk("sanitize bail 1\n"); return -1; + } /* create pointers for initial change-point information (for sorting) */ for (i=0; i < 2*old_nr; i++) @@ -622,6 +631,7 @@ static int __init sanitize_e820_map(stru memcpy(biosmap, new_bios, new_nr*sizeof(struct e820entry)); *pnr_map = new_nr; + printk("sanitize end\n"); return 0; } @@ -652,6 +662,7 @@ static int __init copy_e820_map(struct e unsigned long long size = biosmap->size; unsigned long long end = start + size; unsigned long type = biosmap->type; + printk("copy_e820_map() start: %016Lx size: %016Lx end: %016Lx type: %ld\n", start, size, end, type); /* Overflow in 64 bits? Ignore the memory map. */ if (start > end) @@ -662,11 +673,17 @@ static int __init copy_e820_map(struct e * Not right. Fix it up. */ if (type == E820_RAM) { + printk("copy_e820_map() type is E820_RAM\n"); if (start < 0x100000ULL && end > 0xA0000ULL) { - if (start < 0xA0000ULL) + printk("copy_e820_map() lies in range...\n"); + if (start < 0xA0000ULL) { + printk("copy_e820_map() start < 0xA0000ULL\n"); add_memory_region(start, 0xA0000ULL-start, type); - if (end <= 0x100000ULL) + } + if (end <= 0x100000ULL) { + printk("copy_e820_map() end <= 0x100000ULL\n"); continue; + } start = 0x100000ULL; size = end - start; } diff -puN include/asm-i386/mach-default/setup_arch_post.h~e820-debug include/asm-i386/mach-default/setup_arch_post.h diff -puN include/asm-i386/mach-visws/setup_arch_post.h~e820-debug include/asm-i386/mach-visws/setup_arch_post.h _ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 21:08 ` Dave Hansen @ 2006-03-07 23:16 ` Martin MOKREJŠ 2006-03-07 23:26 ` Dave Hansen 2006-03-09 10:31 ` Martin MOKREJŠ [not found] ` <440E172D.7000406@ribosome.natur.cuni.cz> 2 siblings, 1 reply; 12+ messages in thread From: Martin MOKREJŠ @ 2006-03-07 23:16 UTC (permalink / raw) To: Dave Hansen; +Cc: Andrew Morton, linux-kernel [-- Attachment #1: Type: text/plain, Size: 1155 bytes --] Hi Dave, thanks for answer, the dmesg output is attached. I haven't tried reverting your patch as suggested by Andrew yet. Would do tommorow if still desired. M. Dave Hansen wrote: > On Tue, 2006-03-07 at 11:36 -0800, Andrew Morton wrote: > >>Because there was a change which could have affected this. But it was >>merged in late October and was present in 2.6.15. > > > It certainly is possible that my patch caused the bug. However, my > patch only affects limit_regions(), which is only called when the user > specifies a mem= argument on the command-line. When they do this, in > addition to the BIOS-e820 printout, they should also see a "user-defined > physical RAM map:", which I don't see in the diff. Also, I'm pretty > sure that this e820 printout runs before parse_cmdline_early(), where > limit_regions() is called. > > Martin, in any case, I have debugged things in that code recently, and > I'd be happy to help you fix your problem. I've attached a patch that > does a ton of e820 debug printks. If you could get me a full copy of > your dmesg with that applied, I should be able to locate the problem a > bit more quickly. [-- Attachment #2: boot-2.6.16-rc5-patched.txt --] [-- Type: text/plain, Size: 21326 bytes --] Linux version 2.6.16-rc5 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #2 SMP Wed Mar 8 00:06:33 MET 2006 BIOS-provided physical RAM map: sanitize start sanitize end copy_e820_map() start: 0000000000000000 size: 000000000009a800 end: 000000000009a800 type: 1 copy_e820_map() type is E820_RAM add_memory_region(0000000000000000, 000000000009a800, 1) copy_e820_map() start: 000000000009a800 size: 0000000000005800 end: 00000000000a0000 type: 2 add_memory_region(000000000009a800, 0000000000005800, 2) copy_e820_map() start: 00000000000e0000 size: 0000000000020000 end: 0000000000100000 type: 2 add_memory_region(00000000000e0000, 0000000000020000, 2) copy_e820_map() start: 0000000000100000 size: 00000000cfe70000 end: 00000000cff70000 type: 1 copy_e820_map() type is E820_RAM add_memory_region(0000000000100000, 00000000cfe70000, 1) copy_e820_map() start: 00000000cff70000 size: 0000000000007000 end: 00000000cff77000 type: 3 add_memory_region(00000000cff70000, 0000000000007000, 3) copy_e820_map() start: 00000000cff77000 size: 0000000000009000 end: 00000000cff80000 type: 4 add_memory_region(00000000cff77000, 0000000000009000, 4) copy_e820_map() start: 00000000cff80000 size: 0000000000080000 end: 00000000d0000000 type: 2 add_memory_region(00000000cff80000, 0000000000080000, 2) copy_e820_map() start: 00000000e0000000 size: 0000000010000000 end: 00000000f0000000 type: 2 add_memory_region(00000000e0000000, 0000000010000000, 2) copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end: 00000000fec10000 type: 2 add_memory_region(00000000fec00000, 0000000000010000, 2) copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2 add_memory_region(00000000fee00000, 0000000000001000, 2) copy_e820_map() start: 00000000ff800000 size: 0000000000400000 end: 00000000ffc00000 type: 2 add_memory_region(00000000ff800000, 0000000000400000, 2) copy_e820_map() start: 00000000fffffc00 size: 0000000000000400 end: 0000000100000000 type: 2 add_memory_region(00000000fffffc00, 0000000000000400, 2) copy_e820_map() start: 0000000100000000 size: 0000000330000000 end: 0000000430000000 type: 1 copy_e820_map() type is E820_RAM add_memory_region(0000000100000000, 0000000330000000, 1) BIOS-e820: 0000000000000000 - 000000000009a800 (usable) BIOS-e820: 000000000009a800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000cff70000 (usable) BIOS-e820: 00000000cff70000 - 00000000cff77000 (ACPI data) BIOS-e820: 00000000cff77000 - 00000000cff80000 (ACPI NVS) BIOS-e820: 00000000cff80000 - 00000000d0000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) BIOS-e820: 0000000100000000 - 0000000430000000 (usable) 16256MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f6af0 NX (Execute Disable) protection: active On node 0 totalpages: 4390912 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 4161536 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 PTLTD ) @ 0x000f6a70 ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0xcff726a2 ACPI: FADT (v001 INTEL LINDHRST 0x06040000 PTL 0x00000003) @ 0xcff76e61 ACPI: SPCR (v001 PTLTD $UCRTBL$ 0x06040000 PTL 0x00000001) @ 0xcff76ed5 ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0xcff76f25 ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0xcff76f99 ACPI: MCFG (v001 PTLTD MCFG 0x06040000 LTP 0x00000000) @ 0xcff76fc1 ACPI: DSDT (v001 Intel LINDHRST 0x06040000 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:4 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x06] enabled) Processor #6 15:4 APIC version 20 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x03] address[0xfec10000] gsi_base[24]) IOAPIC[1]: apic_id 3, version 32, address 0xfec10000, GSI 24-47 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 2 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at d1000000 (gap: d0000000:10000000) Built 1 zonelists Kernel command line: root=/dev/sda4 ide=reverse console=ttyS0,57600n8 console=tty0 idebus=66 udev ide_setup: ide=reverse : Enabled support for IDE inverse scan order. ide_setup: idebus=66 mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) mapped IOAPIC to ffffb000 (fec10000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 2993.242 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 16632472k/17563648k available (2725k kernel code, 142992k reserved, 1415k data, 200k init, 15859136k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 5995.55 BogoMIPS (lpj=11991114) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 monitor/mwait feature present. using mwait in idle threads. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Physical Processor ID: 0 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000641d 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (24) available CPU0: Thermal monitoring enabled Checking 'hlt' instruction... OK. tbxface-0109 [02] load_tables : ACPI Tables successfully acquired Parsing all Control Methods: Table [DSDT](id 0005) - 404 Objects with 54 Devices 136 Methods 12 Regions ACPI Namespace successfully loaded at root c0588170 evxfevnt-0091 [03] enable : Transition to ACPI mode successful CPU0: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01 Booting processor 1/6 eip 2000 Initializing CPU#1 Calibrating delay using timer specific routine.. 5985.56 BogoMIPS (lpj=11971121) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 monitor/mwait feature present. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Physical Processor ID: 3 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000641d 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel P4/Xeon Extended MCE MSRs (24) available CPU1: Thermal monitoring enabled CPU1: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01 Total of 2 processors activated (11981.11 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=8000 NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 3.00 entry at 0xfd663, last bus=9 PCI: Using MMCONFIG ACPI: Subsystem revision 20060127 evgpeblk-0941 [06] ev_create_gpe_block : GPE 00 to 1F [_GPE] 4 regs on int 0x9 evgpeblk-1037 [05] ev_initialize_gpe_bloc: Found 5 Wake, Enabled 2 Runtime GPEs in this block Completing Region/Field/Buffer/Package initialization:................................................... Initialized 12/12 Regions 0/0 Fields 36/36 Buffers 3/15 Packages (413 nodes) Executing all Device _STA and_INI methods:............................................................ 60 Devices found - executed 1 _STA, 2 _INI methods ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO PCI quirk: region 1180-11bf claimed by ICH4 GPIO PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 PCI: PXH quirk detected, disabling MSI for SHPC device PCI: PXH quirk detected, disabling MSI for SHPC device Boot video device is 0000:08:01.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE1A._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE1A.PXHA._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE1A.PXHB._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE2A._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE2B._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE3A._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE3B._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIX._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 6 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 14 15) *9 ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 6 7 *10 11 14 15) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0401 pnp: PnP ACPI: found 11 devices Generic PHY: Registered new driver SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report PCI: Bridge: 0000:01:00.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:01:00.2 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:02.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:04.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:05.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:06.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:07.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.0 IO window: 2000-2fff MEM window: d0100000-d01fffff PREFETCH window: d8000000-dfffffff PCI: Bridge: 0000:00:1e.0 IO window: 3000-3fff MEM window: d0200000-d02fffff PREFETCH window: d1000000-d10fffff acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:02.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable PCI: Setting latency timer of device 0000:01:00.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable PCI: Setting latency timer of device 0000:01:00.2 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:04.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:05.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:06.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:07.0 to 64 PCI: Setting latency timer of device 0000:00:1e.0 to 64 Simple Boot Flag at 0x3a set to 0x1 Machine check exception polling timer started. IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com> highmem bounce pool size: 64 pages SGI XFS with no debug enabled Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered radeonfb_pci_register BEGIN ACPI: PCI Interrupt 0000:08:01.0[A] -> GSI 24 (level, low) -> IRQ 17 radeonfb (0000:08:01.0): Found 0k of DDR 32 bits wide videoram radeonfb (0000:08:01.0): cannot map FB ACPI: PCI interrupt for device 0000:08:01.0 disabled radeonfb: probe of 0000:08:01.0 failed with error -5 ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] ACPI: Processor [CPU0] (supports 8 throttling states) ACPI: Processor [CPU1] (supports 8 throttling states) acpi_processor-0495 [06] processor_get_info : Error getting cpuindex for acpiid 0x2 acpi_processor-0495 [06] processor_get_info : Error getting cpuindex for acpiid 0x3 Real Time Clock Driver v1.12ac Non-volatile memory driver v1.2 Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds). Hangcheck: Using monotonic_clock(). PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A serial8250: ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A FDC 0 is a National Semiconductor PC87306 loop: loaded (max 8 devices) Intel(R) PRO/1000 Network Driver - version 6.3.9-k2 Copyright (c) 1999-2005 Intel Corporation. acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:08:02.0[A] -> GSI 25 (level, low) -> IRQ 18 e1000: 0000:08:02.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:09:b6:c1:7a e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:08:03.0[A] -> GSI 26 (level, low) -> IRQ 19 e1000: 0000:08:03.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:09:b6:c1:7b e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:09:01.0[A] -> GSI 17 (level, low) -> IRQ 20 e1000: 0000:09:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:0e:0c:84:83:71 e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection LXT970: Registered new driver LXT971: Registered new driver Linux video capture interface: v1.00 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 66MHz system bus speed for PIO modes ICH5: IDE controller at PCI slot 0000:00:1f.1 ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 21 ICH5: chipset revision 2 ICH5: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1460-0x1467, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x1468-0x146f, BIOS settings: hdc:pio, hdd:pio Probing IDE interface ide0... hda: SONY DVD-ROM DDU1615, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hda: ATAPI 40X DVD-ROM drive, 254kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 libata version 1.20 loaded. ata_piix 0000:00:1f.2: version 1.05 ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: SATA max UDMA/133 cmd 0x14A8 ctl 0x149E bmdma 0x1470 irq 21 ata2: SATA max UDMA/133 cmd 0x14A0 ctl 0x149A bmdma 0x1478 irq 21 ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:207f ata1: dev 0 ATA-7, max UDMA/133, 390721968 sectors: LBA48 ata1: dev 0 configured for UDMA/133 scsi0 : ata_piix ata2: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:207f ata2: dev 0 ATA-7, max UDMA/133, 390721968 sectors: LBA48 ata2: dev 0 configured for UDMA/133 scsi1 : ata_piix Vendor: ATA Model: ST3200826AS Rev: 3.03 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: ST3200826AS Rev: 3.03 Type: Direct-Access ANSI SCSI revision: 05 st: Version 20050830, fixed bufsize 32768, s/g segs 256 SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 sd 0:0:0:0: Attached scsi disk sda SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back sdb: sdb1 sd 1:0:0:0: Attached scsi disk sdb sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 1:0:0:0: Attached scsi generic sg1 type 0 ieee1394: Initialized config rom entry `ip1394' video1394: Installed video1394 module ieee1394: raw1394: /dev/raw1394 device initialized ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1) ieee1394: sbp2: Try serialize_io=0 for better performance usbmon: debugfs is not available usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /class/input/input0 input: PC Speaker as /class/input/input1 i2c /dev entries driver NET: Registered protocol family 2 IP route cache hash table entries: 1048576 (order: 10, 4194304 bytes) TCP established hash table entries: 524288 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 524288 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available Starting balanced_irq Using IPI Shortcut mode BIOS EDD facility v0.16 2004-Jun-25, 2 devices found UDF-fs: No VRS found XFS mounting filesystem sda4 Ending clean XFS mount for filesystem: sda4 VFS: Mounted root (xfs filesystem) readonly. Freeing unused kernel memory: 200k freed Adding 31254448k swap on /dev/sda2. Priority:-1 extents:1 across:31254448k XFS mounting filesystem sdb1 Ending clean XFS mount for filesystem: sdb1 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended USB Universal Host Controller Interface driver v2.3 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: irq 16, io base 0x00001400 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: irq 22, io base 0x00001420 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 128 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 3 ehci_hcd 0000:00:1d.7: irq 23, io mem 0xd0001400 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 4 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex process `named' is using obsolete setsockopt SO_BSDCOMPAT ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 23:16 ` Martin MOKREJŠ @ 2006-03-07 23:26 ` Dave Hansen 0 siblings, 0 replies; 12+ messages in thread From: Dave Hansen @ 2006-03-07 23:26 UTC (permalink / raw) To: Martin MOKREJŠ; +Cc: Andrew Morton, linux-kernel On Wed, 2006-03-08 at 00:16 +0100, Martin MOKREJŠ wrote: > Hi Dave, > thanks for answer, the dmesg output is attached. I haven't tried > reverting your patch as suggested by Andrew yet. Would do tommorow > if still desired. ... > 16256MB HIGHMEM available. > 896MB LOWMEM available. That looks to me like your top 8GB is back, right? That printk() patch _really_ shouldn't have fixed it. Can you verify by booting back into your bad kernel? -- Dave ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 21:08 ` Dave Hansen 2006-03-07 23:16 ` Martin MOKREJŠ @ 2006-03-09 10:31 ` Martin MOKREJŠ 2006-03-09 15:31 ` Dave Hansen [not found] ` <440E172D.7000406@ribosome.natur.cuni.cz> 2 siblings, 1 reply; 12+ messages in thread From: Martin MOKREJŠ @ 2006-03-09 10:31 UTC (permalink / raw) To: Dave Hansen; +Cc: Andrew Morton, linux-kernel [-- Attachment #1: Type: text/plain, Size: 1061 bytes --] Hey, it happened on my third reboot retry. This time only 12GB detected. Dave Hansen wrote: > On Tue, 2006-03-07 at 11:36 -0800, Andrew Morton wrote: > >>Because there was a change which could have affected this. But it was >>merged in late October and was present in 2.6.15. > > > It certainly is possible that my patch caused the bug. However, my > patch only affects limit_regions(), which is only called when the user > specifies a mem= argument on the command-line. When they do this, in > addition to the BIOS-e820 printout, they should also see a "user-defined > physical RAM map:", which I don't see in the diff. Also, I'm pretty > sure that this e820 printout runs before parse_cmdline_early(), where > limit_regions() is called. > > Martin, in any case, I have debugged things in that code recently, and > I'd be happy to help you fix your problem. I've attached a patch that > does a ton of e820 debug printks. If you could get me a full copy of > your dmesg with that applied, I should be able to locate the problem a > bit more quickly. [-- Attachment #2: boot-2.6.16-rc5-git12-e820-patch --] [-- Type: text/plain, Size: 21271 bytes --] Linux version 2.6.16-rc5-git12 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #5 SMP Thu Mar 9 11:22:22 MET 2006 BIOS-provided physical RAM map: sanitize start sanitize end copy_e820_map() start: 0000000000000000 size: 000000000009a800 end: 000000000009a800 type: 1 copy_e820_map() type is E820_RAM add_memory_region(0000000000000000, 000000000009a800, 1) copy_e820_map() start: 000000000009a800 size: 0000000000005800 end: 00000000000a0000 type: 2 add_memory_region(000000000009a800, 0000000000005800, 2) copy_e820_map() start: 00000000000e0000 size: 0000000000020000 end: 0000000000100000 type: 2 add_memory_region(00000000000e0000, 0000000000020000, 2) copy_e820_map() start: 0000000000100000 size: 00000000cfe70000 end: 00000000cff70000 type: 1 copy_e820_map() type is E820_RAM add_memory_region(0000000000100000, 00000000cfe70000, 1) copy_e820_map() start: 00000000cff70000 size: 0000000000007000 end: 00000000cff77000 type: 3 add_memory_region(00000000cff70000, 0000000000007000, 3) copy_e820_map() start: 00000000cff77000 size: 0000000000009000 end: 00000000cff80000 type: 4 add_memory_region(00000000cff77000, 0000000000009000, 4) copy_e820_map() start: 00000000cff80000 size: 0000000000080000 end: 00000000d0000000 type: 2 add_memory_region(00000000cff80000, 0000000000080000, 2) copy_e820_map() start: 00000000e0000000 size: 0000000010000000 end: 00000000f0000000 type: 2 add_memory_region(00000000e0000000, 0000000010000000, 2) copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end: 00000000fec10000 type: 2 add_memory_region(00000000fec00000, 0000000000010000, 2) copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2 add_memory_region(00000000fee00000, 0000000000001000, 2) copy_e820_map() start: 00000000ff800000 size: 0000000000400000 end: 00000000ffc00000 type: 2 add_memory_region(00000000ff800000, 0000000000400000, 2) copy_e820_map() start: 00000000fffffc00 size: 0000000000000400 end: 0000000100000000 type: 2 add_memory_region(00000000fffffc00, 0000000000000400, 2) copy_e820_map() start: 0000000100000000 size: 0000000230000000 end: 0000000330000000 type: 1 copy_e820_map() type is E820_RAM add_memory_region(0000000100000000, 0000000230000000, 1) BIOS-e820: 0000000000000000 - 000000000009a800 (usable) BIOS-e820: 000000000009a800 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000cff70000 (usable) BIOS-e820: 00000000cff70000 - 00000000cff77000 (ACPI data) BIOS-e820: 00000000cff77000 - 00000000cff80000 (ACPI NVS) BIOS-e820: 00000000cff80000 - 00000000d0000000 (reserved) BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) BIOS-e820: 0000000100000000 - 0000000330000000 (usable) 12160MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f6af0 NX (Execute Disable) protection: active On node 0 totalpages: 3342336 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 3112960 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 PTLTD ) @ 0x000f6a70 ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0xcff726a2 ACPI: FADT (v001 INTEL LINDHRST 0x06040000 PTL 0x00000003) @ 0xcff76e61 ACPI: SPCR (v001 PTLTD $UCRTBL$ 0x06040000 PTL 0x00000001) @ 0xcff76ed5 ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0xcff76f25 ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0xcff76f99 ACPI: MCFG (v001 PTLTD MCFG 0x06040000 LTP 0x00000000) @ 0xcff76fc1 ACPI: DSDT (v001 Intel LINDHRST 0x06040000 MSFT 0x0100000e) @ 0x00000000 ACPI: PM-Timer IO Port: 0x1008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:4 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x06] enabled) Processor #6 15:4 APIC version 20 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 ACPI: IOAPIC (id[0x03] address[0xfec10000] gsi_base[24]) IOAPIC[1]: apic_id 3, version 32, address 0xfec10000, GSI 24-47 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 2 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at d1000000 (gap: d0000000:10000000) Built 1 zonelists Kernel command line: root=/dev/sda4 ide=reverse console=ttyS0,57600n8 console=tty0 idebus=66 udev ide_setup: ide=reverse : Enabled support for IDE inverse scan order. ide_setup: idebus=66 mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) mapped IOAPIC to ffffb000 (fec10000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 2993.119 MHz processor. Using pmtmr for high-res timesource Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 12470940k/13369344k available (2725k kernel code, 110224k reserved, 1415k data, 200k init, 11664832k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 5995.45 BogoMIPS (lpj=11990905) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 monitor/mwait feature present. using mwait in idle threads. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Physical Processor ID: 0 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000641d 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU0: Intel P4/Xeon Extended MCE MSRs (24) available CPU0: Thermal monitoring enabled Checking 'hlt' instruction... OK. tbxface-0109 [02] load_tables : ACPI Tables successfully acquired Parsing all Control Methods: Table [DSDT](id 0005) - 404 Objects with 54 Devices 136 Methods 12 Regions ACPI Namespace successfully loaded at root c0588170 evxfevnt-0091 [03] enable : Transition to ACPI mode successful CPU0: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01 Booting processor 1/6 eip 2000 Initializing CPU#1 Calibrating delay using timer specific routine.. 5985.56 BogoMIPS (lpj=11971132) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 CPU: After vendor identify, caps: bfebfbff 20100000 00000000 00000000 0000641d 00000000 00000000 monitor/mwait feature present. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Physical Processor ID: 3 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000641d 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel P4/Xeon Extended MCE MSRs (24) available CPU1: Thermal monitoring enabled CPU1: Intel(R) Xeon(TM) CPU 3.00GHz stepping 01 Total of 2 processors activated (11981.01 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=4000 NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 3.00 entry at 0xfd663, last bus=9 PCI: Using MMCONFIG ACPI: Subsystem revision 20060127 evgpeblk-0941 [06] ev_create_gpe_block : GPE 00 to 1F [_GPE] 4 regs on int 0x9 evgpeblk-1037 [05] ev_initialize_gpe_bloc: Found 5 Wake, Enabled 2 Runtime GPEs in this block Completing Region/Field/Buffer/Package initialization:................................................... Initialized 12/12 Regions 0/0 Fields 36/36 Buffers 3/15 Packages (413 nodes) Executing all Device _STA and_INI methods:............................................................ 60 Devices found - executed 1 _STA, 2 _INI methods ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO PCI quirk: region 1180-11bf claimed by ICH4 GPIO PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 PCI: PXH quirk detected, disabling MSI for SHPC device PCI: PXH quirk detected, disabling MSI for SHPC device Boot video device is 0000:08:01.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE1A._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE1A.PXHA._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE1A.PXHB._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE2A._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE2B._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE3A._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE3B._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIX._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 11 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 6 7 10 11 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 14 15) *9 ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 6 7 *10 11 14 15) Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI init pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0401 pnp: PnP ACPI: found 11 devices Generic PHY: Registered new driver SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report PCI: Bridge: 0000:01:00.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:01:00.2 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:02.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:04.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:05.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:06.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:07.0 IO window: disabled. MEM window: disabled. PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.0 IO window: 2000-2fff MEM window: d0100000-d01fffff PREFETCH window: d8000000-dfffffff PCI: Bridge: 0000:00:1e.0 IO window: 3000-3fff MEM window: d0200000-d02fffff PREFETCH window: d1000000-d10fffff acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:02.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable PCI: Setting latency timer of device 0000:01:00.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable PCI: Setting latency timer of device 0000:01:00.2 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:04.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:05.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:06.0 to 64 acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:00:07.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:07.0 to 64 PCI: Setting latency timer of device 0000:00:1e.0 to 64 Simple Boot Flag at 0x3a set to 0x1 Machine check exception polling timer started. IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com> highmem bounce pool size: 64 pages SGI XFS with no debug enabled Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered radeonfb_pci_register BEGIN ACPI: PCI Interrupt 0000:08:01.0[A] -> GSI 24 (level, low) -> IRQ 17 radeonfb (0000:08:01.0): Found 0k of DDR 32 bits wide videoram radeonfb (0000:08:01.0): cannot map FB ACPI: PCI interrupt for device 0000:08:01.0 disabled radeonfb: probe of 0000:08:01.0 failed with error -5 ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] ACPI: Processor [CPU0] (supports 8 throttling states) ACPI: Processor [CPU1] (supports 8 throttling states) acpi_processor-0495 [06] processor_get_info : Error getting cpuindex for acpiid 0x2 acpi_processor-0495 [06] processor_get_info : Error getting cpuindex for acpiid 0x3 Real Time Clock Driver v1.12ac Non-volatile memory driver v1.2 Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds). Hangcheck: Using monotonic_clock(). PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12 serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A serial8250: ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A FDC 0 is a National Semiconductor PC87306 loop: loaded (max 8 devices) Intel(R) PRO/1000 Network Driver - version 6.3.9-k4 Copyright (c) 1999-2005 Intel Corporation. acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:08:02.0[A] -> GSI 25 (level, low) -> IRQ 18 e1000: 0000:08:02.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:09:b6:c1:7a e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:08:03.0[A] -> GSI 26 (level, low) -> IRQ 19 e1000: 0000:08:03.0: e1000_probe: (PCI:66MHz:32-bit) 00:11:09:b6:c1:7b e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection acpi_bus-0201 [01] bus_set_power : Device is not power manageable ACPI: PCI Interrupt 0000:09:01.0[A] -> GSI 17 (level, low) -> IRQ 20 e1000: 0000:09:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:0e:0c:84:83:71 e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection LXT970: Registered new driver LXT971: Registered new driver Linux video capture interface: v1.00 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 66MHz system bus speed for PIO modes ICH5: IDE controller at PCI slot 0000:00:1f.1 ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 21 ICH5: chipset revision 2 ICH5: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1460-0x1467, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0x1468-0x146f, BIOS settings: hdc:pio, hdd:pio Probing IDE interface ide0... hda: SONY DVD-ROM DDU1615, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hda: ATAPI 40X DVD-ROM drive, 254kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 libata version 1.20 loaded. ata_piix 0000:00:1f.2: version 1.05 ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1f.2 to 64 ata1: SATA max UDMA/133 cmd 0x14A8 ctl 0x149E bmdma 0x1470 irq 21 ata2: SATA max UDMA/133 cmd 0x14A0 ctl 0x149A bmdma 0x1478 irq 21 ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:207f ata1: dev 0 ATA-7, max UDMA/133, 390721968 sectors: LBA48 ata1: dev 0 configured for UDMA/133 scsi0 : ata_piix ata2: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:207f ata2: dev 0 ATA-7, max UDMA/133, 390721968 sectors: LBA48 ata2: dev 0 configured for UDMA/133 scsi1 : ata_piix Vendor: ATA Model: ST3200826AS Rev: 3.03 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: ST3200826AS Rev: 3.03 Type: Direct-Access ANSI SCSI revision: 05 st: Version 20050830, fixed bufsize 32768, s/g segs 256 SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 sd 0:0:0:0: Attached scsi disk sda SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB) sdb: Write Protect is off sdb: Mode Sense: 00 3a 00 00 SCSI device sdb: drive cache: write back sdb: sdb1 sd 1:0:0:0: Attached scsi disk sdb sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 1:0:0:0: Attached scsi generic sg1 type 0 ieee1394: Initialized config rom entry `ip1394' video1394: Installed video1394 module ieee1394: raw1394: /dev/raw1394 device initialized ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1) ieee1394: sbp2: Try serialize_io=0 for better performance usbmon: debugfs is not available usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver mice: PS/2 mouse device common for all mice input: PC Speaker as /class/input/input0 i2c /dev entries driver NET: Registered protocol family 2 IP route cache hash table entries: 524288 (order: 9, 2097152 bytes) TCP established hash table entries: 524288 (order: 10, 4194304 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 524288 bind 65536) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available Starting balanced_irq Using IPI Shortcut mode BIOS EDD facility v0.16 2004-Jun-25, 2 devices found UDF-fs: No VRS found XFS mounting filesystem sda4 Ending clean XFS mount for filesystem: sda4 VFS: Mounted root (xfs filesystem) readonly. Freeing unused kernel memory: 200k freed Adding 31254448k swap on /dev/sda2. Priority:-1 extents:1 across:31254448k XFS mounting filesystem sdb1 Ending clean XFS mount for filesystem: sdb1 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended USB Universal Host Controller Interface driver v2.3 ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:1d.0: irq 16, io base 0x00001400 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:1d.1: irq 22, io base 0x00001420 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 128 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 3 ehci_hcd 0000:00:1d.7: irq 23, io mem 0xd0001400 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 4 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex process `named' is using obsolete setsockopt SO_BSDCOMPAT ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-09 10:31 ` Martin MOKREJŠ @ 2006-03-09 15:31 ` Dave Hansen 0 siblings, 0 replies; 12+ messages in thread From: Dave Hansen @ 2006-03-09 15:31 UTC (permalink / raw) To: Martin MOKREJŠ; +Cc: Andrew Morton, linux-kernel On Thu, 2006-03-09 at 11:31 +0100, Martin MOKREJŠ wrote: > copy_e820_map() start: 0000000100000000 size: 0000000230000000 end: 0000000330000000 type: 1 > copy_e820_map() type is E820_RAM copy_e820_map() is really the first place that the kernel sees what the BIOS has put in the e820 map. Since something is wrong _this_ early, I really have to point the finger at the hardware again. It simply didn't tell Linux that there was RAM there. -- Dave ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <440E172D.7000406@ribosome.natur.cuni.cz>]
[parent not found: <1141774459.9274.142.camel@localhost.localdomain>]
* Re: 2.6.16-rc5 huge memory detection regression [not found] ` <1141774459.9274.142.camel@localhost.localdomain> @ 2006-03-09 11:00 ` Martin MOKREJŠ 2006-03-09 15:34 ` Dave Hansen 0 siblings, 1 reply; 12+ messages in thread From: Martin MOKREJŠ @ 2006-03-09 11:00 UTC (permalink / raw) To: Dave Hansen, LKML, Andrew Morton [-- Attachment #1: Type: text/plain, Size: 1836 bytes --] Dave Hansen wrote: > On Wed, 2006-03-08 at 00:28 +0100, Martin MOKREJŠ wrote: > >>Ehm, I don't know why the kernel now sees 16GB. I rebooted again >>with the vanilla 2.6.16-rc5 patched with only your e820 patch ... >>how could print calls fix the problem? I am working completely >>remotely. :(( > > > The suggestion to jiggle the DIMMs seems appropriate again. :) So when the machine claims to have only 12GB of RAM, I see with lshw(1): *-bank:6 description: DIMM DDR Synchronous 266 MHz (3.8 ns) [empty] product: CM75SD2048RLP-3200 vendor: physical id: 6 serial: 00000000 slot: DIMM 7 clock: 266MHz (3.7594ns) *-bank:7 description: DIMM DDR Synchronous 266 MHz (3.8 ns) [empty] product: CM75SD2048RLP-3200 vendor: physical id: 7 serial: 00000000 slot: DIMM 8 clock: 266MHz (3.7594ns) I am only curious why the product: field is not empty but rather shows type of the actual module. All eight DIMMS are same Corsair 2GB RAM modules (sorry, I think I wrote Kingston previously but is not true). Moreover, the modules are at 266MHz and not on 333MHz, the board would take only 6 modules at 333MHz. So lshw should report -2700 instead of -3200. Inspecting their serial numbers in the invoice I see: 340540434 340540435 330541284 330541283 330541282 330541281 330541280 330541279 Yes, 2 are different. I guess your question would be whether those 2 unseen DIMMS are the first two serial numbers ... I can't say now but definitely when only 8 GB of RAM are detected the problem would include additional two DIMMs. So, what would you recommend now. To flash from BIOS 1.20 to 1.50 and pray? ;-) Martin [-- Attachment #2: lshw-12GB.txt --] [-- Type: text/plain, Size: 21419 bytes --] phylo description: Tower Computer product: MS-9136 vendor: MSI version: Revision 0C serial: 0123456789 width: 32 bits capabilities: smbios-2.3 dmi-2.3 configuration: administrator_password=enabled boot=normal chassis=tower frontpanel_password=disabled keyboard_password=disabled power-on_password=disabled *-core description: Motherboard product: MS-9136 vendor: MSI physical id: 0 version: Revision 0C serial: 9876543210 slot: L1 Cache for CPU#2 *-firmware description: BIOS vendor: Phoenix Technologies,Ltd physical id: 0 version: 6.0.1.20 (11/03/2004) size: 118KB capacity: 960KB capabilities: pci pnp upgrade shadowing escd cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy720 int13floppy2880 int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification netboot *-cpu:0 description: CPU product: Intel(R) Xeon(TM) CPU 3.00GHz vendor: Intel Corp. physical id: 4 bus info: cpu@0 version: 15.4.1 serial: 0000-0F41-0000-0000-0000-0000 slot: CPU#1 size: 3GHz capacity: 3600MHz width: 64 bits clock: 200MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc pni monitor ds_cpl cid cx16 xtpr cpufreq configuration: id=0 *-cache:0 description: L1 cache physical id: 6 slot: L1 Cache for CPU#1 size: 16KB capacity: 16KB capabilities: burst pipeline-burst internal write-back data *-cache:1 description: L2 cache physical id: 7 slot: L2 Cache for CPU#1 size: 1MB capacity: 1MB capabilities: burst internal write-back unified *-logicalcpu:0 description: Logical CPU physical id: 0.1 width: 64 bits capabilities: logical *-logicalcpu:1 description: Logical CPU physical id: 0.2 width: 64 bits capabilities: logical *-cpu:1 description: CPU product: Intel(R) Xeon(TM) CPU 3.00GHz vendor: Intel Corp. physical id: 5 bus info: cpu@1 version: 15.4.1 serial: 0000-0F41-0000-0000-0000-0000 slot: CPU#2 size: 3GHz capacity: 3600MHz width: 64 bits clock: 200MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc pni monitor ds_cpl cid cx16 xtpr cpufreq configuration: id=6 *-cache:0 description: L1 cache physical id: 9 slot: L1 Cache for CPU#2 size: 16KB capacity: 16KB capabilities: burst pipeline-burst internal write-back data *-cache:1 description: L2 cache physical id: a slot: L2 Cache for CPU#2 size: 1MB capacity: 1MB capabilities: burst internal write-back unified *-logicalcpu:0 description: Logical CPU physical id: 6.1 width: 64 bits capabilities: logical *-logicalcpu:1 description: Logical CPU physical id: 6.2 width: 64 bits capabilities: logical *-memory description: System Memory physical id: 28 slot: System board or motherboard size: 12GB *-bank:0 description: DIMM DDR Synchronous 266 MHz (3.8 ns) product: CM74SD2048RLP-2100 vendor: \x7f physical id: 0 serial: 00000000 slot: DIMM 1 size: 2GB width: 64 bits clock: 266MHz (3.7594ns) *-bank:1 description: DIMM DDR Synchronous 266 MHz (3.8 ns) product: CM74SD2048RLP-2100 vendor: \x7f physical id: 1 serial: 00000000 slot: DIMM 2 size: 2GB width: 64 bits clock: 266MHz (3.7594ns) *-bank:2 description: DIMM DDR Synchronous 266 MHz (3.8 ns) product: CM75SD2048RLP-3200 vendor: \x7f physical id: 2 serial: 00000000 slot: DIMM 3 size: 2GB width: 64 bits clock: 266MHz (3.7594ns) *-bank:3 description: DIMM DDR Synchronous 266 MHz (3.8 ns) product: CM75SD2048RLP-3200 vendor: \x7f physical id: 3 serial: 00000000 slot: DIMM 4 size: 2GB width: 64 bits clock: 266MHz (3.7594ns) *-bank:4 description: DIMM DDR Synchronous 266 MHz (3.8 ns) product: CM75SD2048RLP-3200 vendor: \x7f physical id: 4 serial: 00000000 slot: DIMM 5 size: 2GB width: 64 bits clock: 266MHz (3.7594ns) *-bank:5 description: DIMM DDR Synchronous 266 MHz (3.8 ns) product: CM75SD2048RLP-3200 vendor: \x7f physical id: 5 serial: 00000000 slot: DIMM 6 size: 2GB width: 64 bits clock: 266MHz (3.7594ns) *-bank:6 description: DIMM DDR Synchronous 266 MHz (3.8 ns) [empty] product: CM75SD2048RLP-3200 vendor: \x7f physical id: 6 serial: 00000000 slot: DIMM 7 clock: 266MHz (3.7594ns) *-bank:7 description: DIMM DDR Synchronous 266 MHz (3.8 ns) [empty] product: CM75SD2048RLP-3200 vendor: \x7f physical id: 7 serial: 00000000 slot: DIMM 8 clock: 266MHz (3.7594ns) *-pci description: Host bridge product: E7520 Memory Controller Hub vendor: Intel Corporation physical id: 100 bus info: pci@00:00.0 version: 0c width: 32 bits clock: 33MHz *-generic UNCLAIMED product: E7525/E7520 Error Reporting Registers vendor: Intel Corporation physical id: 0.1 bus info: pci@00:00.1 version: 0c width: 32 bits clock: 33MHz *-system:0 UNCLAIMED description: System peripheral product: E7520 DMA Controller vendor: Intel Corporation physical id: 1 bus info: pci@00:01.0 version: 0c width: 32 bits clock: 33MHz capabilities: cap_list resources: iomemory:d0000000-d0000fff irq:10 *-pci:0 description: PCI bridge product: E7525/E7520/E7320 PCI Express Port A vendor: Intel Corporation physical id: 2 bus info: pci@00:02.0 version: 0c width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master cap_list *-pci:0 description: PCI bridge product: 6700PXH PCI Express-to-PCI Bridge A vendor: Intel Corporation physical id: 0 bus info: pci@01:00.0 version: 09 width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master cap_list *-pci:1 description: PCI bridge product: 6700PXH PCI Express-to-PCI Bridge B vendor: Intel Corporation physical id: 0.2 bus info: pci@01:00.2 version: 09 width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master cap_list *-pci:1 description: PCI bridge product: E7525/E7520 PCI Express Port B vendor: Intel Corporation physical id: 4 bus info: pci@00:04.0 version: 0c width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master cap_list *-pci:2 description: PCI bridge product: E7520 PCI Express Port B1 vendor: Intel Corporation physical id: 5 bus info: pci@00:05.0 version: 0c width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master cap_list *-pci:3 description: PCI bridge product: E7520 PCI Express Port C vendor: Intel Corporation physical id: 6 bus info: pci@00:06.0 version: 0c width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master cap_list *-pci:4 description: PCI bridge product: E7520 PCI Express Port C1 vendor: Intel Corporation physical id: 7 bus info: pci@00:07.0 version: 0c width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master cap_list *-pci:5 description: PCI bridge product: 6300ESB 64-bit PCI-X Bridge vendor: Intel Corporation physical id: 1c bus info: pci@00:1c.0 version: 02 width: 32 bits clock: 66MHz capabilities: pci normal_decode bus_master cap_list *-display description: VGA compatible controller product: Radeon RV100 QY [Radeon 7000/VE] vendor: ATI Technologies Inc physical id: 1 bus info: pci@08:01.0 version: 00 size: 128MB width: 32 bits clock: 66MHz capabilities: vga cap_list resources: iomemory:d8000000-dfffffff ioport:2000-20ff iomemory:d0100000-d010ffff irq:17 *-network:0 description: Ethernet interface product: 82541GI/PI Gigabit Ethernet Controller vendor: Intel Corporation physical id: 2 bus info: pci@08:02.0 logical name: eth0 version: 00 serial: 00:11:09:b6:c1:7a size: 1GB/s capacity: 1GB/s width: 32 bits clock: 66MHz capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegociation configuration: autonegociation=on broadcast=yes driver=e1000 driverversion=6.3.9-k4 duplex=full firmware=N/A ip=195.113.57.18 link=yes multicast=yes port=twisted pair speed=1GB/s resources: iomemory:d0140000-d015ffff iomemory:d0120000-d013ffff ioport:2400-243f irq:18 *-network:1 description: Ethernet interface product: 82541GI/PI Gigabit Ethernet Controller vendor: Intel Corporation physical id: 3 bus info: pci@08:03.0 logical name: eth1 version: 00 serial: 00:11:09:b6:c1:7b capacity: 1GB/s width: 32 bits clock: 66MHz capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegociation configuration: autonegociation=on broadcast=yes driver=e1000 driverversion=6.3.9-k4 firmware=N/A ip=192.168.1.254 link=no multicast=yes port=twisted pair resources: iomemory:d0180000-d019ffff iomemory:d0160000-d017ffff ioport:2440-247f irq:19 *-usb:0 description: USB Controller product: 6300ESB USB Universal Host Controller vendor: Intel Corporation physical id: 1d bus info: pci@00:1d.0 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd resources: ioport:1400-141f irq:16 *-usbhost product: UHCI Host Controller vendor: Linux 2.6.16-rc5-git12 uhci_hcd physical id: 1 bus info: usb@1 logical name: usb1 version: 2.06 capabilities: usb-1.10 configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s *-usb:1 description: USB Controller product: 6300ESB USB Universal Host Controller vendor: Intel Corporation physical id: 1d.1 bus info: pci@00:1d.1 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd resources: ioport:1420-143f irq:22 *-usbhost product: UHCI Host Controller vendor: Linux 2.6.16-rc5-git12 uhci_hcd physical id: 1 bus info: usb@2 logical name: usb2 version: 2.06 capabilities: usb-1.10 configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s *-system:1 UNCLAIMED description: System peripheral product: 6300ESB Watchdog Timer vendor: Intel Corporation physical id: 1d.4 bus info: pci@00:1d.4 version: 02 width: 32 bits clock: 33MHz resources: iomemory:d0001000-d000100f *-system:2 UNCLAIMED description: PIC product: 6300ESB I/O Advanced Programmable Interrupt Controller vendor: Intel Corporation physical id: 1d.5 bus info: pci@00:1d.5 version: 02 width: 32 bits clock: 33MHz capabilities: io_x_-apic bus_master cap_list *-usb:2 description: USB Controller product: 6300ESB USB2 Enhanced Host Controller vendor: Intel Corporation physical id: 1d.7 bus info: pci@00:1d.7 version: 02 width: 32 bits clock: 33MHz capabilities: ehci bus_master cap_list configuration: driver=ehci_hcd resources: iomemory:d0001400-d00017ff irq:23 *-usbhost product: EHCI Host Controller vendor: Linux 2.6.16-rc5-git12 ehci_hcd physical id: 1 bus info: usb@3 logical name: usb3 version: 2.06 capabilities: usb-2.00 configuration: driver=hub maxpower=0mA slots=4 speed=480.0MB/s *-pci:6 description: PCI bridge product: 82801 PCI Bridge vendor: Intel Corporation physical id: 1e bus info: pci@00:1e.0 version: 0a width: 32 bits clock: 33MHz capabilities: pci normal_decode bus_master *-network description: Ethernet interface product: 82541PI Gigabit Ethernet Controller vendor: Intel Corporation physical id: 1 bus info: pci@09:01.0 logical name: eth2 version: 05 serial: 00:0e:0c:84:83:71 capacity: 1GB/s width: 32 bits clock: 66MHz capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegociation configuration: autonegociation=on broadcast=yes driver=e1000 driverversion=6.3.9-k4 firmware=N/A ip=192.168.2.254 link=no multicast=yes port=twisted pair resources: iomemory:d0220000-d023ffff iomemory:d0200000-d021ffff ioport:3000-303f irq:20 *-isa UNCLAIMED description: ISA bridge product: 6300ESB LPC Interface Controller vendor: Intel Corporation physical id: 1f bus info: pci@00:1f.0 version: 02 width: 32 bits clock: 33MHz capabilities: isa bus_master *-ide:0 description: IDE interface product: 6300ESB PATA Storage Controller vendor: Intel Corporation physical id: 1f.1 bus info: pci@00:1f.1 version: 02 width: 32 bits clock: 33MHz capabilities: ide bus_master configuration: driver=PIIX_IDE resources: ioport:1460-146f iomemory:d1100000-d11003ff irq:21 *-ide description: IDE Channel 0 physical id: 0 bus info: ide@0 logical name: ide0 clock: 33MHz *-cdrom description: DVD reader product: SONY DVD-ROM DDU1615 physical id: 0 bus info: ide@0.0 logical name: /dev/hda version: FYS2 capabilities: packet atapi cdrom removable nonmagnetic dma lba iordy audio dvd configuration: mode=udma2 *-disc physical id: 0 logical name: /dev/hda *-ide:1 description: IDE interface product: 6300ESB SATA Storage Controller vendor: Intel Corporation physical id: 1f.2 bus info: pci@00:1f.2 logical name: scsi0 logical name: scsi1 version: 02 width: 32 bits clock: 66MHz capabilities: ide bus_master emulated configuration: driver=ata_piix resources: ioport:14a8-14af ioport:149c-149f ioport:14a0-14a7 ioport:1498-149b ioport:1470-147f irq:21 *-disk:0 description: SCSI Disk product: ST3200826AS vendor: ATA physical id: 0 bus info: scsi@0:0.0.0 logical name: /dev/sda version: 3.03 serial: 3ND1H3NW size: 186GB capabilities: partitioned partitioned:dos configuration: ansiversion=5 *-volume:0 description: Linux filesystem partition physical id: 1 bus info: scsi@0:0.0.0,1 logical name: /dev/sda1 capacity: 86MB capabilities: primary bootable *-volume:1 description: Linux swap / Solaris partition physical id: 2 bus info: scsi@0:0.0.0,2 logical name: /dev/sda2 capacity: 29GB capabilities: primary nofs *-volume:2 description: Linux filesystem partition physical id: 3 bus info: scsi@0:0.0.0,3 logical name: /dev/sda3 capacity: 37GB capabilities: primary *-volume:3 UNCLAIMED description: Linux filesystem partition physical id: 4 bus info: scsi@0:0.0.0,4 capacity: 119GB capabilities: primary *-disk:1 description: SCSI Disk product: ST3200826AS vendor: ATA physical id: 1 bus info: scsi@1:0.0.0 logical name: /dev/sdb version: 3.03 serial: 3ND13NH3 size: 186GB capabilities: partitioned partitioned:dos configuration: ansiversion=5 *-volume description: Linux filesystem partition physical id: 1 bus info: scsi@1:0.0.0,1 logical name: /dev/sdb1 capacity: 186GB capabilities: primary *-serial description: SMBus product: 6300ESB SMBus Controller vendor: Intel Corporation physical id: 1f.3 bus info: pci@00:1f.3 version: 02 width: 32 bits clock: 33MHz configuration: driver=i801_smbus resources: ioport:1440-145f irq:10 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-09 11:00 ` Martin MOKREJŠ @ 2006-03-09 15:34 ` Dave Hansen 0 siblings, 0 replies; 12+ messages in thread From: Dave Hansen @ 2006-03-09 15:34 UTC (permalink / raw) To: Martin MOKREJŠ; +Cc: LKML, Andrew Morton On Thu, 2006-03-09 at 12:00 +0100, Martin MOKREJŠ wrote: > So, what would you recommend now. To flash from BIOS 1.20 to 1.50 > and pray? ;-) If it were hardware from a large vendor, I'd probably call support and get them to ship me new parts. :) Other than the BIOS update, there's not a whole lot you can do other than move the DIMMS around and hope they prefer certain slots to others. -- Dave ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: 2.6.16-rc5 huge memory detection regression 2006-03-07 12:15 ` Andrew Morton 2006-03-07 12:25 ` Martin MOKREJŠ @ 2006-03-07 12:28 ` Martin MOKREJŠ 1 sibling, 0 replies; 12+ messages in thread From: Martin MOKREJŠ @ 2006-03-07 12:28 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel BTW, BIOS during the POST test shows all 16GB, it is only linux-2.6.16-rc5 who get's it wrong. Even the summary window provided by BIOS just before grub gets loaded shows 16GB of RAM. I don't believe it is anything else then the kernel. Andrew Morton wrote: > Martin MOKREJ__ <mmokrejs@ribosome.natur.cuni.cz> wrote: > >> I just tested 2.6.16-rc5 kernel on MSI 9136 dual Xeon server >> motherboard with 16 GB of memory and the kernel detects only 8 GB of >> RAM instead. 2.6.15 kernel detected properly 16 GB. I haven't tested >> any kernel revisions in between these two, but could if you point me >> in a specific direction. Attaching diff(1) output of dmesg(1) outputs. >> Please Cc: me in replies. Thanks! >> Martin >> >> >>[boot-2.6.15_to_16-rc5.diff text/plain (12156 bytes)] > > > The diff is useful. > > >> --- tmp/boot-2.6.15.txt 2006-03-07 11:45:48.015509048 +0100 >> +++ tmp/boot-2.6.16-rc5.txt 2006-03-07 11:45:48.029506920 +0100 >> @@ -1,4 +1,4 @@ >> -Linux version 2.6.15 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 20:20:06 MET 2006 >> +Linux version 2.6.16-rc5 (root@phylo) (gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP Mon Mar 6 19:58:24 MET 2006 >> BIOS-provided physical RAM map: >> BIOS-e820: 0000000000000000 - 000000000009a800 (usable) >> BIOS-e820: 000000000009a800 - 00000000000a0000 (reserved) >> @@ -12,16 +12,16 @@ >> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) >> BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved) >> BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved) >> - BIOS-e820: 0000000100000000 - 0000000430000000 (usable) >> -16256MB HIGHMEM available. >> + BIOS-e820: 0000000100000000 - 0000000230000000 (usable) >> +8064MB HIGHMEM available. > > > These numbers are what the BIOS is telling the kernel about your machine. > Was the BIOS changed? > > If not, you might need to wiggle those DIMMs or something. ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-03-09 15:35 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-07 10:50 2.6.16-rc5 huge memory detection regression Martin MOKREJŠ
2006-03-07 12:15 ` Andrew Morton
2006-03-07 12:25 ` Martin MOKREJŠ
2006-03-07 19:36 ` Andrew Morton
2006-03-07 21:08 ` Dave Hansen
2006-03-07 23:16 ` Martin MOKREJŠ
2006-03-07 23:26 ` Dave Hansen
2006-03-09 10:31 ` Martin MOKREJŠ
2006-03-09 15:31 ` Dave Hansen
[not found] ` <440E172D.7000406@ribosome.natur.cuni.cz>
[not found] ` <1141774459.9274.142.camel@localhost.localdomain>
2006-03-09 11:00 ` Martin MOKREJŠ
2006-03-09 15:34 ` Dave Hansen
2006-03-07 12:28 ` Martin MOKREJŠ
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®