* 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
@ 2008-11-20 9:22 Dmitry Nezhevenko
2008-11-22 20:44 ` Rafael J. Wysocki
0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Nezhevenko @ 2008-11-20 9:22 UTC (permalink / raw)
To: linux-kernel
Hi folks. This is first time I've tried 2.6.28-git (cloned git a few hours ago).
And got this:
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000007ffd0000 (usable)
[ 0.000000] BIOS-e820: 000000007ffd0000 - 000000007ffde000 (ACPI data)
[ 0.000000] BIOS-e820: 000000007ffde000 - 0000000080000000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
[ 0.000000] DMI present.
[ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working it around.
[ 0.000000] last_pfn = 0x7ffd0 max_arch_pfn = 0x100000
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
[ 0.000000] mtrr: your BIOS has set up an incorrect mask, fixing it up.
[ 0.000000] Modules linked in:
[ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.28-rc5 #1
[ 0.000000] Call Trace:
[ 0.000000] [<c012b86f>] warn_slowpath+0x6f/0x90
[ 0.000000] [<c0373031>] inet_rtm_newroute+0x21/0x50
[ 0.000000] [<c02593c4>] number+0x2b4/0x2c0
[ 0.000000] [<c0259ff3>] vsnprintf+0x393/0x670
[ 0.000000] [<c0144fd1>] up+0x11/0x40
[ 0.000000] [<c012c069>] release_console_sem+0x189/0x1d0
[ 0.000000] [<c01124da>] generic_get_mtrr+0xea/0x120
[ 0.000000] [<c04db85f>] mtrr_trim_uncached_memory+0x7d/0x374
[ 0.000000] [<c03a569a>] printk+0x17/0x1b
[ 0.000000] [<c011edbc>] pat_init+0x7c/0xa0
[ 0.000000] [<c01129ac>] post_set+0x1c/0x50
[ 0.000000] [<c03a569a>] printk+0x17/0x1b
[ 0.000000] [<c04d7b52>] e820_end_pfn+0xb5/0xd3
[ 0.000000] [<c04d6016>] setup_arch+0x518/0x802
[ 0.000000] [<c04d8cc7>] reserve_early_overlap_ok+0x3f/0x47
[ 0.000000] [<c04cf5dc>] start_kernel+0x58/0x334
[ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
[ 0.000000] kernel direct mapping tables up to 377fe000 @ 10000-16000
Can I just ignore this?
--
WBR, Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
2008-11-20 9:22 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120() Dmitry Nezhevenko
@ 2008-11-22 20:44 ` Rafael J. Wysocki
2008-11-22 21:43 ` Yinghai Lu
0 siblings, 1 reply; 7+ messages in thread
From: Rafael J. Wysocki @ 2008-11-22 20:44 UTC (permalink / raw)
To: Dmitry Nezhevenko; +Cc: linux-kernel, Ingo Molnar, Yinghai Lu, Venki Pallipadi
On Thursday, 20 of November 2008, Dmitry Nezhevenko wrote:
> Hi folks. This is first time I've tried 2.6.28-git (cloned git a few hours ago).
> And got this:
>
> [ 0.000000] BIOS-provided physical RAM map:
> [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
> [ 0.000000] BIOS-e820: 0000000000100000 - 000000007ffd0000 (usable)
> [ 0.000000] BIOS-e820: 000000007ffd0000 - 000000007ffde000 (ACPI data)
> [ 0.000000] BIOS-e820: 000000007ffde000 - 0000000080000000 (ACPI NVS)
> [ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
> [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
> [ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
> [ 0.000000] DMI present.
> [ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working it around.
> [ 0.000000] last_pfn = 0x7ffd0 max_arch_pfn = 0x100000
> [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
> [ 0.000000] ------------[ cut here ]------------
> [ 0.000000] WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
> [ 0.000000] mtrr: your BIOS has set up an incorrect mask, fixing it up.
> [ 0.000000] Modules linked in:
> [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.28-rc5 #1
> [ 0.000000] Call Trace:
> [ 0.000000] [<c012b86f>] warn_slowpath+0x6f/0x90
> [ 0.000000] [<c0373031>] inet_rtm_newroute+0x21/0x50
> [ 0.000000] [<c02593c4>] number+0x2b4/0x2c0
> [ 0.000000] [<c0259ff3>] vsnprintf+0x393/0x670
> [ 0.000000] [<c0144fd1>] up+0x11/0x40
> [ 0.000000] [<c012c069>] release_console_sem+0x189/0x1d0
> [ 0.000000] [<c01124da>] generic_get_mtrr+0xea/0x120
> [ 0.000000] [<c04db85f>] mtrr_trim_uncached_memory+0x7d/0x374
> [ 0.000000] [<c03a569a>] printk+0x17/0x1b
> [ 0.000000] [<c011edbc>] pat_init+0x7c/0xa0
> [ 0.000000] [<c01129ac>] post_set+0x1c/0x50
> [ 0.000000] [<c03a569a>] printk+0x17/0x1b
> [ 0.000000] [<c04d7b52>] e820_end_pfn+0xb5/0xd3
> [ 0.000000] [<c04d6016>] setup_arch+0x518/0x802
> [ 0.000000] [<c04d8cc7>] reserve_early_overlap_ok+0x3f/0x47
> [ 0.000000] [<c04cf5dc>] start_kernel+0x58/0x334
> [ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
> [ 0.000000] kernel direct mapping tables up to 377fe000 @ 10000-16000
>
> Can I just ignore this?
Hm, not sure (added some CCs).
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
2008-11-22 20:44 ` Rafael J. Wysocki
@ 2008-11-22 21:43 ` Yinghai Lu
2008-11-23 9:57 ` Dmitry Nezhevenko
0 siblings, 1 reply; 7+ messages in thread
From: Yinghai Lu @ 2008-11-22 21:43 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Dmitry Nezhevenko, linux-kernel, Ingo Molnar, Venki Pallipadi
On Sat, Nov 22, 2008 at 12:44 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> On Thursday, 20 of November 2008, Dmitry Nezhevenko wrote:
>> Hi folks. This is first time I've tried 2.6.28-git (cloned git a few hours ago).
>> And got this:
>>
>> [ 0.000000] BIOS-provided physical RAM map:
>> [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>> [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>> [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
>> [ 0.000000] BIOS-e820: 0000000000100000 - 000000007ffd0000 (usable)
>> [ 0.000000] BIOS-e820: 000000007ffd0000 - 000000007ffde000 (ACPI data)
>> [ 0.000000] BIOS-e820: 000000007ffde000 - 0000000080000000 (ACPI NVS)
>> [ 0.000000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
>> [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
>> [ 0.000000] BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
>> [ 0.000000] DMI present.
>> [ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working it around.
>> [ 0.000000] last_pfn = 0x7ffd0 max_arch_pfn = 0x100000
>> [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
>> [ 0.000000] ------------[ cut here ]------------
>> [ 0.000000] WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
>> [ 0.000000] mtrr: your BIOS has set up an incorrect mask, fixing it up.
>> [ 0.000000] Modules linked in:
>> [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.28-rc5 #1
>> [ 0.000000] Call Trace:
>> [ 0.000000] [<c012b86f>] warn_slowpath+0x6f/0x90
>> [ 0.000000] [<c0373031>] inet_rtm_newroute+0x21/0x50
>> [ 0.000000] [<c02593c4>] number+0x2b4/0x2c0
>> [ 0.000000] [<c0259ff3>] vsnprintf+0x393/0x670
>> [ 0.000000] [<c0144fd1>] up+0x11/0x40
>> [ 0.000000] [<c012c069>] release_console_sem+0x189/0x1d0
>> [ 0.000000] [<c01124da>] generic_get_mtrr+0xea/0x120
>> [ 0.000000] [<c04db85f>] mtrr_trim_uncached_memory+0x7d/0x374
>> [ 0.000000] [<c03a569a>] printk+0x17/0x1b
>> [ 0.000000] [<c011edbc>] pat_init+0x7c/0xa0
>> [ 0.000000] [<c01129ac>] post_set+0x1c/0x50
>> [ 0.000000] [<c03a569a>] printk+0x17/0x1b
>> [ 0.000000] [<c04d7b52>] e820_end_pfn+0xb5/0xd3
>> [ 0.000000] [<c04d6016>] setup_arch+0x518/0x802
>> [ 0.000000] [<c04d8cc7>] reserve_early_overlap_ok+0x3f/0x47
>> [ 0.000000] [<c04cf5dc>] start_kernel+0x58/0x334
>> [ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
>> [ 0.000000] kernel direct mapping tables up to 377fe000 @ 10000-16000
>>
>> Can I just ignore this?
can we get whole boot message? also cat /proc/mtrr
YH
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
2008-11-22 21:43 ` Yinghai Lu
@ 2008-11-23 9:57 ` Dmitry Nezhevenko
2008-11-23 23:41 ` Yinghai Lu
0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Nezhevenko @ 2008-11-23 9:57 UTC (permalink / raw)
To: Yinghai Lu; +Cc: Rafael J. Wysocki, linux-kernel, Ingo Molnar, Venki Pallipadi
On Sat, Nov 22, 2008 at 01:43:25PM -0800, Yinghai Lu wrote:
>
> can we get whole boot message? also cat /proc/mtrr
>
> YH
dmesg: http://inhex.net/dion/tmp/dmesg-2.6.28-rc5.txt
/proc/mtrr:
reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg04: base=0x0000f8000 ( 0MB), size= 32KB, count=1: write-protect
reg05: base=0x0000dc000 ( 0MB), size= 8KB, count=1: write-back
Same message exists in 2.6.27 dmesg:
mtrr: your BIOS has set up an incorrect mask, fixing it up.
However it isn't warning.
--
WBR, Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
2008-11-23 9:57 ` Dmitry Nezhevenko
@ 2008-11-23 23:41 ` Yinghai Lu
2008-11-23 23:42 ` Ingo Molnar
0 siblings, 1 reply; 7+ messages in thread
From: Yinghai Lu @ 2008-11-23 23:41 UTC (permalink / raw)
To: Dmitry Nezhevenko
Cc: Rafael J. Wysocki, linux-kernel, Ingo Molnar, Venki Pallipadi
On Sun, Nov 23, 2008 at 1:57 AM, Dmitry Nezhevenko <dion@inhex.net> wrote:
> On Sat, Nov 22, 2008 at 01:43:25PM -0800, Yinghai Lu wrote:
>>
>> can we get whole boot message? also cat /proc/mtrr
>>
>> YH
>
> dmesg: http://inhex.net/dion/tmp/dmesg-2.6.28-rc5.txt
>
> /proc/mtrr:
> reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
> reg04: base=0x0000f8000 ( 0MB), size= 32KB, count=1: write-protect
> reg05: base=0x0000dc000 ( 0MB), size= 8KB, count=1: write-back
so that patch workaround your BIOS setup with mtrr mask setting.
YH
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
2008-11-23 23:41 ` Yinghai Lu
@ 2008-11-23 23:42 ` Ingo Molnar
2008-11-24 5:59 ` Dmitry Nezhevenko
0 siblings, 1 reply; 7+ messages in thread
From: Ingo Molnar @ 2008-11-23 23:42 UTC (permalink / raw)
To: Yinghai Lu
Cc: Dmitry Nezhevenko, Rafael J. Wysocki, linux-kernel,
Venki Pallipadi
* Yinghai Lu <yinghai@kernel.org> wrote:
> On Sun, Nov 23, 2008 at 1:57 AM, Dmitry Nezhevenko <dion@inhex.net> wrote:
> > On Sat, Nov 22, 2008 at 01:43:25PM -0800, Yinghai Lu wrote:
> >>
> >> can we get whole boot message? also cat /proc/mtrr
> >>
> >> YH
> >
> > dmesg: http://inhex.net/dion/tmp/dmesg-2.6.28-rc5.txt
> >
> > /proc/mtrr:
> > reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
> > reg04: base=0x0000f8000 ( 0MB), size= 32KB, count=1: write-protect
> > reg05: base=0x0000dc000 ( 0MB), size= 8KB, count=1: write-back
>
> so that patch workaround your BIOS setup with mtrr mask setting.
so the kernel was right to issue a warning.
Ingo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120()
2008-11-23 23:42 ` Ingo Molnar
@ 2008-11-24 5:59 ` Dmitry Nezhevenko
0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Nezhevenko @ 2008-11-24 5:59 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Yinghai Lu, Rafael J. Wysocki, linux-kernel, Venki Pallipadi
On Mon, Nov 24, 2008 at 12:42:52AM +0100, Ingo Molnar wrote:
> >
> > > /proc/mtrr:
> > > reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
> > > reg04: base=0x0000f8000 ( 0MB), size= 32KB, count=1: write-protect
> > > reg05: base=0x0000dc000 ( 0MB), size= 8KB, count=1: write-back
> >
> > so that patch workaround your BIOS setup with mtrr mask setting.
>
> so the kernel was right to issue a warning.
Ok. Thanks.
Btw.. Should it really be a warning, that taints kernel? As I said,
2.6.27 has same message, however it's just printk().
--
WBR, Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-11-24 6:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 9:22 2.6.28 git: WARNING: at arch/x86/kernel/cpu/mtrr/generic.c:404 generic_get_mtrr+0xea/0x120() Dmitry Nezhevenko
2008-11-22 20:44 ` Rafael J. Wysocki
2008-11-22 21:43 ` Yinghai Lu
2008-11-23 9:57 ` Dmitry Nezhevenko
2008-11-23 23:41 ` Yinghai Lu
2008-11-23 23:42 ` Ingo Molnar
2008-11-24 5:59 ` Dmitry Nezhevenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox