mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Conny Seidel <conny.seidel@amd.com>
To: Yinghai Lu <yinghai@kernel.org>
Cc: "Petkov, Borislav" <Borislav.Petkov@amd.com>,
	Ingo Molnar <mingo@elte.hu>, "H. Peter Anvin" <hpa@zytor.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: unable to handle kernel paging request at 40000000 __alloc_memory_core_early+0x147/0x1d6
Date: Fri, 9 Jul 2010 22:42:31 +0200	[thread overview]
Message-ID: <20100709224231.5736113b@marah.osrc.amd.com> (raw)
In-Reply-To: <4C37841F.4030500@kernel.org>


[-- Attachment #1.1: Type: text/plain, Size: 1826 bytes --]

On Fri, 9 Jul 2010 16:18:39 -0400
Yinghai Lu <yinghai@kernel.org> wrote:

>On 07/09/2010 12:52 PM, Conny Seidel wrote:
>> Hi,
>>
>> On Fri, 9 Jul 2010 15:08:52 -0400
>> Yinghai Lu <yinghai@kernel.org> wrote:
>>
>>> On 07/09/2010 07:54 AM, Borislav Petkov wrote:
>>>> Hi,
>>>>
>>>> this is something we're getting during testing on one of our boxes
>>>> here, a dual socket Magny-Cours machine. It is oopsing on the addr
>>>> variable in __alloc_memory_core_early() after converting it to a
>>>> virtual address in order to clear the mem region at it. I've
>>>> removed the "#if 0.. #endif" around the printk which dumps the
>>>> ranges in the early node map for more info.
>>>>
>>>> It's latest -git, 32bit build, config is attached.
>>>>
>>>
>>> can not duplicate on all my setup.
>>>
>>> but look at the code there is limit problem with 32 bit...
>>>
>>> please check if it will fix the problem.
>>>
>>> and we will need to rebase early_res to memblock patchset.
>>>
>>> Thanks
>>>
>>> Yinghai Lu
>>>
>>
>> I'm sorry but the patch isn't working.

<snip>

>can you send out boot log from start?
>
>YH
>

Sure. see the complete log in the attached file.

Conny

##
##################################################################
# Email : conny.seidel@amd.com            GnuPG-Key : 0xA6AB055D #
# Fingerprint: 17C4 5DB2 7C4C C1C7 1452 8148 F139 7C09 A6AB 055D #
##################################################################
# Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach      #
# General Managers: Alberto Bozzo, Andrew Bowd                   #
# Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen #
#               HRB Nr. 43632                                    #
##################################################################

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: boot.log --]
[-- Type: text/x-log, Size: 6863 bytes --]

root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.35-rc4+ root=/dev/sda2 console=ttyS0,115200 ip=dhcp ar
temis_host=bancroft earlyprintk=serial,ttyS0,115200
   [Linux-bzImage, setup=0x3400, size=0xff6e80]

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35-rc4+ (root@hernando) (gcc version 4.1.2 20070115 (SUSE Linux)) #3 SMP Fri Jul 9 22:24:53 CEST 2010
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 0000000000088c00 (usable)
[    0.000000]  BIOS-e820: 0000000000088c00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000cc000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000c7e60000 (usable)
[    0.000000]  BIOS-e820: 00000000c7e60000 - 00000000c7e6b000 (ACPI data)
[    0.000000]  BIOS-e820: 00000000c7e6b000 - 00000000c7e6d000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000c7e6d000 - 00000000c7eff000 (reserved)
[    0.000000]  BIOS-e820: 00000000c7f00000 - 00000000c8000000 (reserved)
[    0.000000]  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000]  BIOS-e820: 0000000100000000 - 0000000238000000 (usable)
[    0.000000] bootconsole [earlyser0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI present.
[    0.000000] Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
[    0.000000] last_pfn = 0x238000 max_arch_pfn = 0x1000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] Scanning 0 areas for low memory corruption
[    0.000000] modified physical RAM map:
[    0.000000]  modified: 0000000000000000 - 0000000000010000 (reserved)
[    0.000000]  modified: 0000000000010000 - 0000000000088c00 (usable)
[    0.000000]  modified: 0000000000088c00 - 00000000000a0000 (reserved)
[    0.000000]  modified: 00000000000cc000 - 0000000000100000 (reserved)
[    0.000000]  modified: 0000000000100000 - 00000000c7e60000 (usable)
[    0.000000]  modified: 00000000c7e60000 - 00000000c7e6b000 (ACPI data)
[    0.000000]  modified: 00000000c7e6b000 - 00000000c7e6d000 (ACPI NVS)
[    0.000000]  modified: 00000000c7e6d000 - 00000000c7eff000 (reserved)
[    0.000000]  modified: 00000000c7f00000 - 00000000c8000000 (reserved)
[    0.000000]  modified: 00000000e0000000 - 00000000f0000000 (reserved)
[    0.000000]  modified: 00000000fec00000 - 00000000fec10000 (reserved)
[    0.000000]  modified: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  modified: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000]  modified: 0000000100000000 - 0000000238000000 (usable)
[    0.000000] found SMP MP-table at [c00f72a0] f72a0
[    0.000000] init_memory_mapping: 0000000000000000-00000000375fe000
[    0.000000] ACPI: RSDP 000f7220 00024 (v02 PTLTD )
[    0.000000] ACPI: XSDT c7e60915 0009C (v01 PTLTD  ? XSDT   06040000  LTP 00000000)
[    0.000000] ACPI: FACP c7e66d6a 000F4 (v03 AMD    Dinar    06040000 AMD  000F4240)
[    0.000000] ACPI: DSDT c7e609b1 063B9 (v02    AMD    SB700 06040000 MSFT 03000000)
[    0.000000] ACPI: FACS c7e6cfc0 00040
[    0.000000] ACPI: TCPA c7e66ed2 00032 (v02 AMD             06040000 PTEC 00000000)
[    0.000000] ACPI: IVRS c7e66f04 000A8 (v01  AMD     RD890S 06040000 AMD  00000000)
[    0.000000] ACPI: EINJ c7e66fac 001B0 (v01 PTL    WHEAPTL  06040000 PTL  00000001)
[    0.000000] ACPI: HEST c7e6715c 002AC (v01 PTL    WHEAPTL  06040000 PTL  00000001)
[    0.000000] ACPI: BERT c7e67408 00030 (v01 PTL    WHEAPTL  06040000 PTL  00000001)
[    0.000000] ACPI: SSDT c7e67438 000E1 (v01 wheaos  wheaosc 06040000 INTL 20050624)
[    0.000000] ACPI: ERST c7e67519 00270 (v01 PTL    WHEAPTL  06040000 PTL  00000001)
[    0.000000] ACPI: SLIT c7e67789 0003C (v01 AMD    F10      06040000 AMD  00000001)
[    0.000000] ACPI: SRAT c7e677c5 002A0 (v02 AMD    F10      06040000 AMD  00000001)
[    0.000000] ACPI: SSDT c7e67a65 03294 (v01 AMD    POWERNOW 06040000 AMD  00000001)
[    0.000000] ACPI: SSDT c7e6acf9 000F5 (v01 AMD-K8 AMD-ACPI 06040000  AMD 00000001)
[    0.000000] ACPI: APIC c7e6adee 0019E (v01 PTLTD  ? APIC   06040000  LTP 00000000)
[    0.000000] ACPI: MCFG c7e6af8c 0003C (v01 PTLTD    MCFG   06040000  LTP 00000000)
[    0.000000] ACPI: HPET c7e6afc8 00038 (v01 PTLTD  HPETTBL  06040000  LTP 00000001)
[    0.000000] Reserving total of 4c00 pages for numa KVA remap
[    0.000000] kva_start_pfn ~ 32800 max_low_pfn ~ 375fe
[    0.000000] max_pfn = 238000
[    0.000000] 8202MB HIGHMEM available.
[    0.000000] 885MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 375fe000
[    0.000000]   low ram: 0 - 375fe000
[    0.000000] sparse_early_mem_map_alloc: sparsemem memory map backing failed some memory will not be available.
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x000375fe
[    0.000000]   HighMem  0x000375fe -> 0x00238000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[6] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x00000088
[    0.000000]     0: 0x00000100 -> 0x0007ee00
[    0.000000]     1: 0x00080000 -> 0x000c7e60
[    0.000000]     1: 0x00100000 -> 0x00136a00
[    0.000000]     2: 0x00138000 -> 0x001b6e00
[    0.000000]     3: 0x001b8000 -> 0x00236e00
[    0.000000] BUG: Int 6: CR2 (null)
[    0.000000]      EDI 00000005  ESI f3a00800  EBP c2837ed4  ESP c2837e94
[    0.000000]      EBX 00000001  EDX 00000006  ECX (null)  EAX (null)
[    0.000000]      err (null)  EIP c2cefab5   CS 00000060  flg 00010046
[    0.000000] Stack: fffffff4 (null) f3a00000 000b6a00 00000005 00080000 00000001 00000002
[    0.000000]        00000002 00000001 00000002 f3a00000 c2837f04 c2c8dccb (null) c2837f04
[    0.000000]        00000004 001fb1d8 c34e67a0 (null) 00000004 fffba000 (null) c2837f1c
[    0.000000] Pid: 0, comm: swapper Not tainted 2.6.35-rc4+ #3
[    0.000000] Call Trace:
[    0.000000]  [<c222ee55>] hlt_loop+0x0/0x3
[    0.000000]  [<c2cefab5>] ? free_area_init_node+0x641/0x6c4
[    0.000000]  [<c2c8dccb>] free_area_init_nodes+0xa0a/0xb27
[    0.000000]  [<c2c7916c>] paging_init+0x1bc/0x1df
[    0.000000]  [<c2c55b0b>] setup_arch+0x1826/0x1a38
[    0.000000]  [<c2c822be>] ? __reserve_early+0x17e/0x19a
[    0.000000]  [<c112cea4>] ? init_cgroup_css+0xd5/0x110
[    0.000000]  [<c2c4c50e>] start_kernel+0x1d1/0xc42
[    0.000000]  [<c2c4b1d9>] i386_start_kernel+0x1d9/0x1ef

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-07-09 20:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-09 14:54 BUG: " Borislav Petkov
2010-07-09 19:08 ` Yinghai Lu
2010-07-09 19:52   ` Conny Seidel
2010-07-09 20:18     ` Yinghai Lu
2010-07-09 20:42       ` Conny Seidel [this message]
2010-07-09 22:07         ` Yinghai Lu
2010-07-09 23:51           ` Conny Seidel
2010-07-10  1:03             ` Yinghai Lu
2010-07-10  8:14               ` Conny Seidel
2010-07-10 18:40             ` [PATCH -v3] x86,nobootmem: make alloc_bootmem_node fall back to other node when 32bit numa are used Yinghai Lu
2010-07-20 18:35             ` Yinghai Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100709224231.5736113b@marah.osrc.amd.com \
    --to=conny.seidel@amd.com \
    --cc=Borislav.Petkov@amd.com \
    --cc=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®