[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090315203802.GA14625@elte.hu>
Date: Sun, 15 Mar 2009 21:38:02 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: "H. Peter Anvin" <hpa@...or.com>, Yinghai Lu <yinghai@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [crash] Re: Latest brk patchset
* Jeremy Fitzhardinge <jeremy@...p.org> wrote:
> H. Peter Anvin wrote:
>> Well, the semantics are different; the .bss section is zeroed while the
>> brk isn't, and the brk symbols don't necessarily point to the data
>> associated with those particular symbols, unlike (of course) the bss.
>>
>> It's not a big issue, obviously, it just seems cleaner to me that way.
>>
>
> OK, I just added a couple of changes to:
>
> * make the brk reservation symbols have the form ".brk.NAME" to make
> them inaccessible from C, and to make them look obviously
> different from normal symbols (more like sections, since it is
> their size that's more important than their address)
> * Put all the brk stuff in a .brk section
> * Mention alignment in the comment for the slop space
>
> J
>
> The following changes since commit 1e08816af0bc345995c3f26ce4eaba1171ffb531:
> Ingo Molnar (1):
> Merge branch 'linus'
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git push/x86/brk
the previous kit in tip:x86/setup-memory is causing crashes. One
of them is:
init_memory_mapping: 0000000000000000-00000000377fe000
0000000000 - 00377fe000 page 4k
Kernel panic - not syncing: Cannot find space for the kernel
page tables
Pid: 0, comm: swapper Not tainted
2.6.29-rc8-tip-02516-g83219b0-dirty #35476
Call Trace:
[<c0128b7b>] panic+0x4b/0x100
[<c074a989>] init_memory_mapping+0x429/0x430
[<c0cde790>] setup_arch+0x430/0x890
[<c0148f4e>] ? lockdep_init_map+0x2e/0x150
[<c036f392>] ? __spin_lock_init+0x32/0x60
[<c01298d0>] ? printk+0x20/0x30
[<c0cdc966>] start_kernel+0xc6/0x330
[<c0cdc321>] i386_start_kernel+0x41/0x50
full crashlog below, config attached.
Ingo
--------------->
kernel /boot/bzImage-32 root=/dev/sda1 earlyprintk=serial,ttyS0,115200,keep con
sole=tty debug initcall_debug enforcing=0 apic=verbose ignore_loglevel sysrq_al
ways_enabled selinux=0 nmi_watchdog=0 3 panic=1
[Linux-bzImage, setup=0x2a00, size=0x556aa0]
Linux version 2.6.29-rc8-tip-02516-g83219b0-dirty (mingo@...ne) (gcc version 4.2.2) #35476 Sun Mar 15 18:17:42 CET 2009
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
NSC Geode by NSC
Cyrix CyrixInstead
Centaur CentaurHauls
Transmeta GenuineTMx86
Transmeta TransmetaCPU
UMC UMC UMC UMC
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
console [earlyser0] enabled
debug: ignoring loglevel setting.
DMI 2.3 present.
last_pfn = 0x3fff0 max_arch_pfn = 0x100000
MTRR default type: uncachable
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF uncachable
C0000-C7FFF write-protect
C8000-FFFFF uncachable
MTRR variable ranges enabled:
0 base 0000000000 mask FFC0000000 write-back
1 disabled
2 disabled
3 disabled
4 disabled
5 disabled
6 disabled
7 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
get_mtrr: cpu0 reg00 base=0000000000 size=0000040000 write-back
e820 update range: 0000000000001000 - 0000000000010000 (usable) ==> (reserved)
Scanning 1 areas for low memory corruption
modified physical RAM map:
modified: 0000000000000000 - 0000000000001000 (usable)
modified: 0000000000001000 - 0000000000010000 (reserved)
modified: 0000000000010000 - 000000000009f800 (usable)
modified: 000000000009f800 - 00000000000a0000 (reserved)
modified: 00000000000f0000 - 0000000000100000 (reserved)
modified: 0000000000100000 - 000000003fff0000 (usable)
modified: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
modified: 000000003fff3000 - 0000000040000000 (ACPI data)
modified: 00000000e0000000 - 00000000f0000000 (reserved)
modified: 00000000fec00000 - 0000000100000000 (reserved)
init_memory_mapping: 0000000000000000-00000000377fe000
0000000000 - 00377fe000 page 4k
Kernel panic - not syncing: Cannot find space for the kernel page tables
Pid: 0, comm: swapper Not tainted 2.6.29-rc8-tip-02516-g83219b0-dirty #35476
Call Trace:
[<c0128b7b>] panic+0x4b/0x100
[<c074a989>] init_memory_mapping+0x429/0x430
[<c0cde790>] setup_arch+0x430/0x890
[<c0148f4e>] ? lockdep_init_map+0x2e/0x150
[<c036f392>] ? __spin_lock_init+0x32/0x60
[<c01298d0>] ? printk+0x20/0x30
[<c0cdc966>] start_kernel+0xc6/0x330
[<c0cdc321>] i386_start_kernel+0x41/0x50
Rebooting in 1 seconds..BUG: Int 14: CR2 f0010057
EDI c0b083e0 ESI (null) EBP c0cdbdb0 ESP c0cdbd78
EBX 0000006c EDX 0000000e ECX f000ff53 EAX 00000001
err 00000002 EIP c014a0da CS 00000060 flg 00010086
Stack: c0cdbffc c0cdbff8 c0cdb000 c0cdb000 (null) c0cdbdcc c0cdbdcc 00000046
(null) (null) c0cdbde0 c014a805 (null) 00000001 00000001 (null)
c0749e9b 0000006c c03609ec 0000005c 0000006c (null) c0cdbe00 c077733b
Pid: 0, comm: swapper Not tainted 2.6.29-rc8-tip-02516-g83219b0-dirty #35476
Call Trace:
[<c0cdc28a>] hlt_loop+0x0/0xe
[<c014a0da>] ? __lock_acquire+0x4a/0x6f0
[<c014a805>] lock_acquire+0x85/0x100
[<c0749e9b>] ? klist_next+0x1b/0xb0
[<c03609ec>] ? vsnprintf+0x6c/0x430
[<c077733b>] _spin_lock+0x3b/0x70
[<c0749e9b>] ? klist_next+0x1b/0xb0
[<c0749e9b>] klist_next+0x1b/0xb0
[<c040087d>] next_device+0xd/0x20
[<c04008cd>] bus_find_device+0x3d/0x70
[<c037af81>] no_pci_devices+0x21/0x40
[<c037a4b0>] ? find_anything+0x0/0x10
[<c03802f0>] pci_get_subsys+0x20/0x80
[<c0380370>] pci_get_device+0x20/0x30
[<c0117180>] mach_reboot_fixups+0x40/0x60
[<c0113c68>] native_machine_emergency_restart+0x88/0x1d0
[<c01138e3>] __machine_emergency_restart+0x13/0x20
[<c0113962>] machine_emergency_restart+0x12/0x20
[<c0136c4d>] emergency_restart+0xd/0x10
[<c0128c05>] panic+0xd5/0x100
[<c074a989>] init_memory_mapping+0x429/0x430
[<c0cde790>] setup_arch+0x430/0x890
[<c0148f4e>] ? lockdep_init_map+0x2e/0x150
[<c036f392>] ? __spin_lock_init+0x32/0x60
[<c01298d0>] ? printk+0x20/0x30
[<c0cdc966>] start_kernel+0xc6/0x330
[<c0cdc321>] i386_start_kernel+0x41/0x50�
View attachment "config" of type "text/plain" (63439 bytes)
Powered by blists - more mailing lists