From: "Yinghai Lu" <yinghai@kernel.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Vegard Nossum" <vegard.nossum@gmail.com>,
"Arkadiusz Miskiewicz" <a.miskiewicz@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: oops while booting with recent git kernel
Date: Fri, 24 Oct 2008 17:19:17 -0700 [thread overview]
Message-ID: <86802c440810241719l3e045a8fl33fd5f348857324e@mail.gmail.com> (raw)
In-Reply-To: <200810250029.35880.rjw@sisk.pl>
On Fri, Oct 24, 2008 at 3:29 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> On Tuesday, 14 of October 2008, Vegard Nossum wrote:
>> On Sun, Oct 12, 2008 at 12:27 PM, Arkadiusz Miskiewicz
>> <a.miskiewicz@gmail.com> wrote:
>> >
>> > Not sure if it's worth to report this before all initial merges happen but
>> > here it is anyway.
>> >
>> > git kernel with latest commit:
>> > commit fd048088306656824958e7783ffcee27e241b361
>> > Date: Sat Oct 11 13:23:48 2008 -0700
>> >
>> > booted on thinkpad z60m results with such oops:
>> > http://carme.pld-linux.org/~arekm/img_2325_small.png
>> >
>> > Config used:
>> > http://carme.pld-linux.org/~arekm/img_2325_small.config
>>
>> Thanks for the report.
>>
>> It seems to be an instance of this (known bad) code:
>> http://lkml.org/lkml/2008/9/4/386
>>
>> So hopefully it will be fixed soon.
>
> Has it been fixed, actually?
should be fixed by in upstream.. already
commit 1cf44baad76b6f20f95ece397c6f643320aa44c9
Author: Ingo Molnar <mingo@elte.hu>
Date: Thu Sep 4 21:26:06 2008 +0200
IO resources: fix/remove printk
Andrew Morton noticed that the printk in kernel/resource.c was buggy:
| start and end have type resource_size_t. Such types CANNOT be printed
| unless cast to a known type.
|
| Because there is a %s following an incorrect %lld, the above code will
| crash the machine.
... and it's probably quite unneeded as well, so remove it.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/kernel/resource.c b/kernel/resource.c
index 414d6fc..fc59dcc 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -549,13 +549,9 @@ static void __init
__reserve_region_with_split(struct resource *root,
}
if (!res) {
- printk(KERN_DEBUG " __reserve_region_with_split:
(%s) [%llx, %llx], res: (%s) [%llx, %llx]\n",
- conflict->name, conflict->start, conflict->end,
- name, start, end);
-
/* failed, split and try again */
- /* conflict coverred whole area */
+ /* conflict covered whole area */
if (conflict->start <= start && conflict->end >= end)
return;
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/kernel/resource.c b/kernel/resource.c
index 414d6fc..fc59dcc 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -549,13 +549,9 @@ static void __init
__reserve_region_with_split(struct resource *root,
}
if (!res) {
- printk(KERN_DEBUG " __reserve_region_with_split:
(%s) [%llx, %llx], res: (%s) [%llx, %llx]\n",
- conflict->name, conflict->start, conflict->end,
- name, start, end);
-
/* failed, split and try again */
- /* conflict coverred whole area */
+ /* conflict covered whole area */
if (conflict->start <= start && conflict->end >= end)
return;
next prev parent reply other threads:[~2008-10-25 0:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-12 10:27 Arkadiusz Miskiewicz
2008-10-13 5:27 ` Dave Young
2008-10-13 19:36 ` oops while booting with recent git kernel (pci_subsys_init?) Arkadiusz Miskiewicz
2008-10-14 4:30 ` oops while booting with recent git kernel Vegard Nossum
2008-10-24 22:29 ` Rafael J. Wysocki
2008-10-25 0:19 ` Yinghai Lu [this message]
2008-10-25 11:18 ` Rafael J. Wysocki
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=86802c440810241719l3e045a8fl33fd5f348857324e@mail.gmail.com \
--to=yinghai@kernel.org \
--cc=a.miskiewicz@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=vegard.nossum@gmail.com \
/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®