2008-10-12 08:28:16

by Arkadiusz Miskiewicz

[permalink] [raw]
Subject: oops while booting with recent git kernel


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

--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/


2008-10-13 05:27:57

by Dave Young

[permalink] [raw]
Subject: Re: oops while booting with recent git kernel

On Sun, Oct 12, 2008 at 6:27 PM, Arkadiusz Miskiewicz<[email protected]> wrote:>> Not sure if it's worth to report this before all initial merges happen but> here it is anyway.
I saw similar oops while "reboot" with eip "strnlen", but only once.My kernel version is 2.6.27
>> 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>> --> Arkadiusz Miśkiewicz PLD/Linux Team> arekm / maven.pl http://ftp.pld-linux.org/> --> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in> the body of a message to [email protected]> More majordomo info at http://vger.kernel.org/majordomo-info.html> Please read the FAQ at http://www.tux.org/lkml/>


-- Regardsdave????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?

2008-10-13 19:40:20

by Arkadiusz Miskiewicz

[permalink] [raw]
Subject: Re: oops while booting with recent git kernel (pci_subsys_init?)

On Monday 13 of October 2008, Dave Young wrote:
> On Sun, Oct 12, 2008 at 6:27 PM, Arkadiusz Miskiewicz
>
> <[email protected]> wrote:
> > Not sure if it's worth to report this before all initial merges happen
> > but here it is anyway.
>
> I saw similar oops while "reboot" with eip "strnlen", but only once.
> My kernel version is 2.6.27

Just tested with today git (latest commit is):

commit a447c0932445f92ce6f4c1bd020f62c5097a7842
Author: Steven Whitehouse <[email protected]>
Date: Mon Oct 13 10:46:57 2008 +0100

and the oops still happens, so I guess this is real problem.

> > 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


--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/

2008-10-14 04:30:32

by Vegard Nossum

[permalink] [raw]
Subject: Re: oops while booting with recent git kernel

On Sun, Oct 12, 2008 at 12:27 PM, Arkadiusz Miskiewicz
<[email protected]> 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.


Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036

2008-10-24 22:24:59

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: oops while booting with recent git kernel

On Tuesday, 14 of October 2008, Vegard Nossum wrote:
> On Sun, Oct 12, 2008 at 12:27 PM, Arkadiusz Miskiewicz
> <[email protected]> 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?

Rafael

2008-10-25 00:19:28

by Yinghai Lu

[permalink] [raw]
Subject: Re: oops while booting with recent git kernel

On Fri, Oct 24, 2008 at 3:29 PM, Rafael J. Wysocki <[email protected]> wrote:
> On Tuesday, 14 of October 2008, Vegard Nossum wrote:
>> On Sun, Oct 12, 2008 at 12:27 PM, Arkadiusz Miskiewicz
>> <[email protected]> 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 <[email protected]>
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>

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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>

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;

2008-10-25 11:13:36

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: oops while booting with recent git kernel

On Saturday, 25 of October 2008, Yinghai Lu wrote:
> On Fri, Oct 24, 2008 at 3:29 PM, Rafael J. Wysocki <[email protected]> wrote:
> > On Tuesday, 14 of October 2008, Vegard Nossum wrote:
> >> On Sun, Oct 12, 2008 at 12:27 PM, Arkadiusz Miskiewicz
> >> <[email protected]> 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

OK, thanks.