Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?]

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


kronos.it at gmail

Sep 5, 2008, 12:17 PM

Post #1 of 23 (3041 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?]

On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead> wrote:
>> Sadly your config just boots, albeit not to userspace due to missing
>> drivers.
>
> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
> kernel dies too early.
> I also managed to get a stack trace :D
>
> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>
> It seems that lockdep is an innocent bystander... the kernel died with
> panic() in __reserve_early, and then took another exception while
> printing the panic (I guess).
> Will add further debug stuff to see wtf is going on.

Hum, kernel says:

http://img177.imageshack.us/my.php?image=overlappingus2.jpg

Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
TEXT DATA BSS

It would appear that the initramfs is overlapping the kernel itself,
is the boot loader (LILO) doing something stupid?

Luca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


peterz at infradead

Sep 5, 2008, 12:25 PM

Post #2 of 23 (2953 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
> > On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead> wrote:
> >> Sadly your config just boots, albeit not to userspace due to missing
> >> drivers.
> >
> > Yes, I managed to boot it with qemu... I tried kgdb - without luck -
> > kernel dies too early.
> > I also managed to get a stack trace :D
> >
> > http://img151.imageshack.us/my.php?image=tracedm1.jpg
> >
> > It seems that lockdep is an innocent bystander... the kernel died with
> > panic() in __reserve_early, and then took another exception while
> > printing the panic (I guess).
> > Will add further debug stuff to see wtf is going on.
>
> Hum, kernel says:
>
> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>
> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
> TEXT DATA BSS
>
> It would appear that the initramfs is overlapping the kernel itself,
> is the boot loader (LILO) doing something stupid?

Suppose it is, lets ask hpa..

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


hpa at kernel

Sep 5, 2008, 1:18 PM

Post #3 of 23 (2955 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

Peter Zijlstra wrote:
> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead> wrote:
>>>> Sadly your config just boots, albeit not to userspace due to missing
>>>> drivers.
>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
>>> kernel dies too early.
>>> I also managed to get a stack trace :D
>>>
>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>>>
>>> It seems that lockdep is an innocent bystander... the kernel died with
>>> panic() in __reserve_early, and then took another exception while
>>> printing the panic (I guess).
>>> Will add further debug stuff to see wtf is going on.
>> Hum, kernel says:
>>
>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>>
>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
>> TEXT DATA BSS
>>
>> It would appear that the initramfs is overlapping the kernel itself,
>> is the boot loader (LILO) doing something stupid?
>
> Suppose it is, lets ask hpa..
>

It definitely looks like it.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 6, 2008, 6:20 AM

Post #4 of 23 (2948 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Fri, Sep 5, 2008 at 10:18 PM, H. Peter Anvin <hpa [at] kernel> wrote:
> Peter Zijlstra wrote:
>>
>> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
>>>
>>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail>
>>> wrote:
>>>>
>>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead>
>>>> wrote:
>>>>>
>>>>> Sadly your config just boots, albeit not to userspace due to missing
>>>>> drivers.
>>>>
>>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
>>>> kernel dies too early.
>>>> I also managed to get a stack trace :D
>>>>
>>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>>>>
>>>> It seems that lockdep is an innocent bystander... the kernel died with
>>>> panic() in __reserve_early, and then took another exception while
>>>> printing the panic (I guess).
>>>> Will add further debug stuff to see wtf is going on.
>>>
>>> Hum, kernel says:
>>>
>>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>>>
>>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
>>> TEXT DATA BSS
>>>
>>> It would appear that the initramfs is overlapping the kernel itself,
>>> is the boot loader (LILO) doing something stupid?
>>
>> Suppose it is, lets ask hpa..
>>
>
> It definitely looks like it.

Is there anything that the kernel could to do confuse lilo?
The issue started appearing with 2.6.27 and the outcome of the boot
process varies between versions and seems sensitive to configuration
changes (though a "bad" kernel consistently fails).

Orthogonal to my problem: the panic() in reserve_early is useless for
debugging since the output won't reach the screen or the serial
console (even worse: the kernel takes an exception while trying to
execute the panic). Is it acceptable to replace it with an
early_printk + hlt?

Luca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


mingo at elte

Sep 6, 2008, 6:41 AM

Post #5 of 23 (2958 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

* H. Peter Anvin <hpa [at] kernel> wrote:

> Peter Zijlstra wrote:
>> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
>>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead> wrote:
>>>>> Sadly your config just boots, albeit not to userspace due to missing
>>>>> drivers.
>>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
>>>> kernel dies too early.
>>>> I also managed to get a stack trace :D
>>>>
>>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>>>>
>>>> It seems that lockdep is an innocent bystander... the kernel died with
>>>> panic() in __reserve_early, and then took another exception while
>>>> printing the panic (I guess).
>>>> Will add further debug stuff to see wtf is going on.
>>> Hum, kernel says:
>>>
>>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>>>
>>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
>>> TEXT DATA BSS
>>>
>>> It would appear that the initramfs is overlapping the kernel itself,
>>> is the boot loader (LILO) doing something stupid?
>>
>> Suppose it is, lets ask hpa..
>>
>
> It definitely looks like it.

yeah. Kernel is loaded at the standard 2MB physical, and goes up to
13.6MB physical. That's a tad large at 11.6 MB but still valid.

ramdisk image goes from 11.6 MB to 14.9 MB - roughly standard size. That
overlaps 2 MB into the kernel image so we have to panic. LILO should
have loaded the ramdisk somewhere else. (or should have aborted the boot
if it cannot do that)

We could perhaps print a prominent warning, delay the boot for 5 seconds
or so via mdelay(5000) and simply not load the ramdisk if this happens?
The kernel is obviously still functional - and such a large vmlinuz
likely has all the built-in drivers to boot up to user-space - the lack
of the ramdisk does not necessarily hurt .

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


mingo at elte

Sep 6, 2008, 7:51 AM

Post #6 of 23 (2942 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

* Luca Tettamanti <kronos.it [at] gmail> wrote:

> On Fri, Sep 5, 2008 at 10:18 PM, H. Peter Anvin <hpa [at] kernel> wrote:
> > Peter Zijlstra wrote:
> >>
> >> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
> >>>
> >>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail>
> >>> wrote:
> >>>>
> >>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead>
> >>>> wrote:
> >>>>>
> >>>>> Sadly your config just boots, albeit not to userspace due to missing
> >>>>> drivers.
> >>>>
> >>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
> >>>> kernel dies too early.
> >>>> I also managed to get a stack trace :D
> >>>>
> >>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
> >>>>
> >>>> It seems that lockdep is an innocent bystander... the kernel died with
> >>>> panic() in __reserve_early, and then took another exception while
> >>>> printing the panic (I guess).
> >>>> Will add further debug stuff to see wtf is going on.
> >>>
> >>> Hum, kernel says:
> >>>
> >>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
> >>>
> >>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
> >>> TEXT DATA BSS
> >>>
> >>> It would appear that the initramfs is overlapping the kernel itself,
> >>> is the boot loader (LILO) doing something stupid?
> >>
> >> Suppose it is, lets ask hpa..
> >>
> >
> > It definitely looks like it.
>
> Is there anything that the kernel could to do confuse lilo? The issue
> started appearing with 2.6.27 and the outcome of the boot process
> varies between versions and seems sensitive to configuration changes
> (though a "bad" kernel consistently fails).

good question. Does your successful 2.6.26 bootup actually _depend_ on
the initrd? Or does it perhaps have enough built-in drivers that make it
boot just fine?

in that case v2.6.26 might just have stomped on the initrd silently,
corrupted it (during kernel decompress), and the initrd unpacker saw the
corruption and ignored it. Userspace wouldnt care as the kernel had all
the drivers it needed.

or perhaps something made your v2.6.27 bzImage larger so that the
overlap happens - while it didnt before.

> Orthogonal to my problem: the panic() in reserve_early is useless for
> debugging since the output won't reach the screen or the serial
> console (even worse: the kernel takes an exception while trying to
> execute the panic). Is it acceptable to replace it with an
> early_printk + hlt?

very much so. I was wondering about that already.

In any case it would make sense to turn that particular overlap
situation into a warning message and disable initrd decompress - and try
to boot with whatever is built-in the kernel.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


yhlu.kernel at gmail

Sep 6, 2008, 9:06 AM

Post #7 of 23 (2946 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Sat, Sep 6, 2008 at 7:51 AM, Ingo Molnar <mingo [at] elte> wrote:
>
> * Luca Tettamanti <kronos.it [at] gmail> wrote:
>
>> On Fri, Sep 5, 2008 at 10:18 PM, H. Peter Anvin <hpa [at] kernel> wrote:
>> > Peter Zijlstra wrote:
>> >>
>> >> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
>> >>>
>> >>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail>
>> >>> wrote:
>> >>>>
>> >>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead>
>> >>>> wrote:
>> >>>>>
>> >>>>> Sadly your config just boots, albeit not to userspace due to missing
>> >>>>> drivers.
>> >>>>
>> >>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
>> >>>> kernel dies too early.
>> >>>> I also managed to get a stack trace :D
>> >>>>
>> >>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>> >>>>
>> >>>> It seems that lockdep is an innocent bystander... the kernel died with
>> >>>> panic() in __reserve_early, and then took another exception while
>> >>>> printing the panic (I guess).
>> >>>> Will add further debug stuff to see wtf is going on.
>> >>>
>> >>> Hum, kernel says:
>> >>>
>> >>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>> >>>
>> >>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
>> >>> TEXT DATA BSS
>> >>>
>> >>> It would appear that the initramfs is overlapping the kernel itself,
>> >>> is the boot loader (LILO) doing something stupid?
>> >>
>> >> Suppose it is, lets ask hpa..
>> >>
>> >
>> > It definitely looks like it.
>>
>> Is there anything that the kernel could to do confuse lilo? The issue
>> started appearing with 2.6.27 and the outcome of the boot process
>> varies between versions and seems sensitive to configuration changes
>> (though a "bad" kernel consistently fails).
>
> good question. Does your successful 2.6.26 bootup actually _depend_ on
> the initrd? Or does it perhaps have enough built-in drivers that make it
> boot just fine?
>
> in that case v2.6.26 might just have stomped on the initrd silently,
> corrupted it (during kernel decompress), and the initrd unpacker saw the
> corruption and ignored it. Userspace wouldnt care as the kernel had all
> the drivers it needed.
>
> or perhaps something made your v2.6.27 bzImage larger so that the
> overlap happens - while it didnt before.
>
>> Orthogonal to my problem: the panic() in reserve_early is useless for
>> debugging since the output won't reach the screen or the serial
>> console (even worse: the kernel takes an exception while trying to
>> execute the panic). Is it acceptable to replace it with an
>> early_printk + hlt?
>
> very much so. I was wondering about that already.

console=uart8250,io,0x3f8,115200n8
could help

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


yhlu.kernel at gmail

Sep 6, 2008, 9:14 AM

Post #8 of 23 (2943 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Sat, Sep 6, 2008 at 6:41 AM, Ingo Molnar <mingo [at] elte> wrote:
>
> * H. Peter Anvin <hpa [at] kernel> wrote:
>
>> Peter Zijlstra wrote:
>>> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
>>>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead> wrote:
>>>>>> Sadly your config just boots, albeit not to userspace due to missing
>>>>>> drivers.
>>>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
>>>>> kernel dies too early.
>>>>> I also managed to get a stack trace :D
>>>>>
>>>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>>>>>
>>>>> It seems that lockdep is an innocent bystander... the kernel died with
>>>>> panic() in __reserve_early, and then took another exception while
>>>>> printing the panic (I guess).
>>>>> Will add further debug stuff to see wtf is going on.
>>>> Hum, kernel says:
>>>>
>>>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>>>>
>>>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
>>>> TEXT DATA BSS
>>>>
>>>> It would appear that the initramfs is overlapping the kernel itself,
>>>> is the boot loader (LILO) doing something stupid?
>>>
>>> Suppose it is, lets ask hpa..
>>>
>>
>> It definitely looks like it.
>
> yeah. Kernel is loaded at the standard 2MB physical, and goes up to
> 13.6MB physical. That's a tad large at 11.6 MB but still valid.
>
> ramdisk image goes from 11.6 MB to 14.9 MB - roughly standard size. That
> overlaps 2 MB into the kernel image so we have to panic. LILO should
> have loaded the ramdisk somewhere else. (or should have aborted the boot
> if it cannot do that)
>
> We could perhaps print a prominent warning, delay the boot for 5 seconds
> or so via mdelay(5000) and simply not load the ramdisk if this happens?
> The kernel is obviously still functional - and such a large vmlinuz
> likely has all the built-in drivers to boot up to user-space - the lack
> of the ramdisk does not necessarily hurt .
>
wonder if lilo is fixing bzImage from 1M, and when it is calculating
pos of ramdisk...base that
later on-same-position uncompressing, put vmlinux from 2M...

it seems kexec is puting initrd as high as possible, or could specify
the ramdisk postion ..

wonder if new lilo could help.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 6, 2008, 10:20 AM

Post #9 of 23 (2946 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Sat, Sep 6, 2008 at 4:51 PM, Ingo Molnar <mingo [at] elte> wrote:
> * Luca Tettamanti <kronos.it [at] gmail> wrote:
>
>> On Fri, Sep 5, 2008 at 10:18 PM, H. Peter Anvin <hpa [at] kernel> wrote:
>> > Peter Zijlstra wrote:
>> >>
>> >> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
>> >>>
>> >>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail>
>> >>> wrote:
>> >>>>
>> >>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead>
>> >>>> wrote:
>> >>>>>
>> >>>>> Sadly your config just boots, albeit not to userspace due to missing
>> >>>>> drivers.
>> >>>>
>> >>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
>> >>>> kernel dies too early.
>> >>>> I also managed to get a stack trace :D
>> >>>>
>> >>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>> >>>>
>> >>>> It seems that lockdep is an innocent bystander... the kernel died with
>> >>>> panic() in __reserve_early, and then took another exception while
>> >>>> printing the panic (I guess).
>> >>>> Will add further debug stuff to see wtf is going on.
>> >>>
>> >>> Hum, kernel says:
>> >>>
>> >>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>> >>>
>> >>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
>> >>> TEXT DATA BSS
>> >>>
>> >>> It would appear that the initramfs is overlapping the kernel itself,
>> >>> is the boot loader (LILO) doing something stupid?
>> >>
>> >> Suppose it is, lets ask hpa..
>> >>
>> >
>> > It definitely looks like it.
>>
>> Is there anything that the kernel could to do confuse lilo? The issue
>> started appearing with 2.6.27 and the outcome of the boot process
>> varies between versions and seems sensitive to configuration changes
>> (though a "bad" kernel consistently fails).
>
> good question. Does your successful 2.6.26 bootup actually _depend_ on
> the initrd? Or does it perhaps have enough built-in drivers that make it
> boot just fine?

The image is mostly modular (e.g. ahci drivers + LVM + fs are on the
ramdisk), see:
http://marc.info/?l=linux-kernel&m=122046971607455&q=p3

> or perhaps something made your v2.6.27 bzImage larger so that the
> overlap happens - while it didnt before.

The compressed image (bzImage) is roughly the same size as older
kernels (2MB), the uncompressed vmlinux is slightly bigger, but not
much (~100k)

452K ./mm/built-in.o
100K ./ipc/built-in.o
8.0K ./security/built-in.o
3.0M ./drivers/built-in.o
4.0K ./usr/built-in.o
216K ./block/built-in.o
96K ./init/built-in.o
292K ./lib/built-in.o
1.3M ./net/built-in.o
16K ./crypto/built-in.o
1.1M ./kernel/built-in.o
1.3M ./fs/built-in.o
4.0K ./sound/built-in.o

Luca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


mingo at elte

Sep 6, 2008, 10:25 AM

Post #10 of 23 (2945 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

* Luca Tettamanti <kronos.it [at] gmail> wrote:

> > or perhaps something made your v2.6.27 bzImage larger so that the
> > overlap happens - while it didnt before.
>
> The compressed image (bzImage) is roughly the same size as older
> kernels (2MB), the uncompressed vmlinux is slightly bigger, but not
> much (~100k)

hm, that doesnt seem to match the ranges that got printed:

| Kernel is loaded at the standard 2MB physical, and goes up to 13.6MB
| physical. That's a tad large at 11.6 MB but still valid.

so how come a ~2MB vmlinux takes 11.6 MB? Is the bss that large for some
reason perhaps?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 6, 2008, 10:29 AM

Post #11 of 23 (2946 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Sat, Sep 6, 2008 at 7:25 PM, Ingo Molnar <mingo [at] elte> wrote:
>
> * Luca Tettamanti <kronos.it [at] gmail> wrote:
>
>> > or perhaps something made your v2.6.27 bzImage larger so that the
>> > overlap happens - while it didnt before.
>>
>> The compressed image (bzImage) is roughly the same size as older
>> kernels (2MB), the uncompressed vmlinux is slightly bigger, but not
>> much (~100k)
>
> hm, that doesnt seem to match the ranges that got printed:

Sorry, the sentence above is not very clear: I meant that with 2.6.27
the uncompressed vmlinux is only slightly bigger than older kernels;
as you stated the size is 11.6MB.

Luca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


7eggert at gmx

Sep 7, 2008, 9:47 AM

Post #12 of 23 (2934 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

Ingo Molnar <mingo [at] elte> wrote:

> In any case it would make sense to turn that particular overlap
> situation into a warning message and disable initrd decompress - and try
> to boot with whatever is built-in the kernel.

If I explicitely tell my system to load a ramdisk, ignoring it is a bug.

I had a similar bug in PAM: One of these modules has a parameter to invert
the check. I copied the tested configuration to an old debian system, which
did not have this parameter, and it decided to ignore it (as if I were just
joking while writing the config files of a security system). Therefore the
system was open for everybody who was not supposed to use it.

I don't think ignoring an intrd will be as serious, but having a panic (and
a timeout) is preferable to starting the wrong configuration.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


hpa at zytor

Sep 7, 2008, 9:26 PM

Post #13 of 23 (2944 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

Bodo Eggert wrote:
>
> I don't think ignoring an intrd will be as serious, but having a panic (and
> a timeout) is preferable to starting the wrong configuration.
>

Most of the time, ignoring the initrd would result in a panic anyway,
and arguably the times it wouldn't, it's going to do something wrong.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


mingo at elte

Sep 8, 2008, 7:30 AM

Post #14 of 23 (2926 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

* Bodo Eggert <7eggert [at] gmx> wrote:

> Ingo Molnar <mingo [at] elte> wrote:
>
> > In any case it would make sense to turn that particular overlap
> > situation into a warning message and disable initrd decompress - and
> > try to boot with whatever is built-in the kernel.
>
> If I explicitely tell my system to load a ramdisk, ignoring it is a
> bug.

we dont really ignore it - we detect that it got corrupted by the
bootloader. (it got overwritten by the kernel image - information has
been destroyed irrevocably)

how we react to that breakage we detect is up to debate: it's fine to
try to continue (presumably a huge vmlinux means it has all the drivers
already) - and if a system relies on an initrd it wont get fast in
bootup anyway.

that's why i suggested to print a warning, do a 5 seconds delay after
that warning via mdelay(5000) so that the user has a chance to notice
what is wrong, and then try to continue. Panicking is just as fine.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 8, 2008, 10:54 AM

Post #15 of 23 (2922 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Sat, Sep 6, 2008 at 6:06 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
> On Sat, Sep 6, 2008 at 7:51 AM, Ingo Molnar <mingo [at] elte> wrote:
>>
>> * Luca Tettamanti <kronos.it [at] gmail> wrote:
>>
>>> On Fri, Sep 5, 2008 at 10:18 PM, H. Peter Anvin <hpa [at] kernel> wrote:
>>> > Peter Zijlstra wrote:
>>> >>
>>> >> On Fri, 2008-09-05 at 21:17 +0200, Luca Tettamanti wrote:
>>> >>>
>>> >>> On Thu, Sep 4, 2008 at 10:51 PM, Luca Tettamanti <kronos.it [at] gmail>
>>> >>> wrote:
>>> >>>>
>>> >>>> On Thu, Sep 4, 2008 at 4:25 PM, Peter Zijlstra <peterz [at] infradead>
>>> >>>> wrote:
>>> >>>>>
>>> >>>>> Sadly your config just boots, albeit not to userspace due to missing
>>> >>>>> drivers.
>>> >>>>
>>> >>>> Yes, I managed to boot it with qemu... I tried kgdb - without luck -
>>> >>>> kernel dies too early.
>>> >>>> I also managed to get a stack trace :D
>>> >>>>
>>> >>>> http://img151.imageshack.us/my.php?image=tracedm1.jpg
>>> >>>>
>>> >>>> It seems that lockdep is an innocent bystander... the kernel died with
>>> >>>> panic() in __reserve_early, and then took another exception while
>>> >>>> printing the panic (I guess).
>>> >>>> Will add further debug stuff to see wtf is going on.
>>> >>>
>>> >>> Hum, kernel says:
>>> >>>
>>> >>> http://img177.imageshack.us/my.php?image=overlappingus2.jpg
>>> >>>
>>> >>> Overlapping early reservations b98000-eff266 RAMDISK to 200000-d09cf7
>>> >>> TEXT DATA BSS
>>> >>>
>>> >>> It would appear that the initramfs is overlapping the kernel itself,
>>> >>> is the boot loader (LILO) doing something stupid?
>>> >>
>>> >> Suppose it is, lets ask hpa..
>>> >>
>>> >
>>> > It definitely looks like it.
>>>
>>> Is there anything that the kernel could to do confuse lilo? The issue
>>> started appearing with 2.6.27 and the outcome of the boot process
>>> varies between versions and seems sensitive to configuration changes
>>> (though a "bad" kernel consistently fails).
>>
>> good question. Does your successful 2.6.26 bootup actually _depend_ on
>> the initrd? Or does it perhaps have enough built-in drivers that make it
>> boot just fine?
>>
>> in that case v2.6.26 might just have stomped on the initrd silently,
>> corrupted it (during kernel decompress), and the initrd unpacker saw the
>> corruption and ignored it. Userspace wouldnt care as the kernel had all
>> the drivers it needed.
>>
>> or perhaps something made your v2.6.27 bzImage larger so that the
>> overlap happens - while it didnt before.
>>
>>> Orthogonal to my problem: the panic() in reserve_early is useless for
>>> debugging since the output won't reach the screen or the serial
>>> console (even worse: the kernel takes an exception while trying to
>>> execute the panic). Is it acceptable to replace it with an
>>> early_printk + hlt?
>>
>> very much so. I was wondering about that already.
>
> console=uart8250,io,0x3f8,115200n8
> could help

Nope, parse_early_param() is called in start_kernel(), my kernel dies
way before it...

> wonder if lilo is fixing bzImage from 1M, and when it is calculating
> pos of ramdisk...base that
> later on-same-position uncompressing, put vmlinux from 2M...

How does LILO decides where to put the initrd (I find LILO code...
obscure)? I mean, it gets a compressed image: how does it know the
size of the uncompressed kernel image? Is it the payload_length in the
real mode header? (answer to self: no, it appears to be the compressed
payload).

> wonder if new lilo could help.

I'm already using the latest version.

Luca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


yhlu.kernel at gmail

Sep 8, 2008, 11:04 AM

Post #16 of 23 (2930 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Mon, Sep 8, 2008 at 10:54 AM, Luca Tettamanti <kronos.it [at] gmail> wrote:

can you post boot log with working kernel + "debug"?

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 8, 2008, 12:14 PM

Post #17 of 23 (2926 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Mon, Sep 8, 2008 at 8:04 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
> On Mon, Sep 8, 2008 at 10:54 AM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>
> can you post boot log with working kernel + "debug"?

This is the map of the early reservations (will send the dmesg + debug later):

[ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 00bbf90000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==>
[0000000000 - 0000001000]
[ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==>
[0000006000 - 0000008000]
[ 0.000000] #2 [0000200000 - 0000d012b8] TEXT DATA BSS ==>
[0000200000 - 0000d012b8]
[ 0.000000] #3 [00037dc000 - 00040fe2d9] RAMDISK ==>
[00037dc000 - 00040fe2d9]
[ 0.000000] #4 [000009c800 - 0000100000] BIOS reserved ==>
[000009c800 - 0000100000]
[ 0.000000] #5 [0000008000 - 000000b000] PGTABLE ==>
[0000008000 - 000000b000]

As a side note: I've bigger older (2.6.26) kernels that boots fine,
and smaller 2.6.27 kernels that do not work, e.g. this one:

Overlapping early reservations b71000-effb43 RAMDISK to 200000-c84ecf
TEXT DATA BSS

Luca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


yhlu.kernel at gmail

Sep 8, 2008, 12:35 PM

Post #18 of 23 (2924 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Mon, Sep 8, 2008 at 12:14 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
> On Mon, Sep 8, 2008 at 8:04 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
>> On Mon, Sep 8, 2008 at 10:54 AM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>
>> can you post boot log with working kernel + "debug"?
>
> This is the map of the early reservations (will send the dmesg + debug later):
>
> [ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 00bbf90000]
> [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==>
> [0000000000 - 0000001000]
> [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==>
> [0000006000 - 0000008000]
> [ 0.000000] #2 [0000200000 - 0000d012b8] TEXT DATA BSS ==>
> [0000200000 - 0000d012b8]
> [ 0.000000] #3 [00037dc000 - 00040fe2d9] RAMDISK ==>
> [00037dc000 - 00040fe2d9]
> [ 0.000000] #4 [000009c800 - 0000100000] BIOS reserved ==>
> [000009c800 - 0000100000]
> [ 0.000000] #5 [0000008000 - 000000b000] PGTABLE ==>
> [0000008000 - 000000b000]
>
> As a side note: I've bigger older (2.6.26) kernels that boots fine,
> and smaller 2.6.27 kernels that do not work, e.g. this one:

that could explain sth. big kernel use more, and lilo put ramdisk
high from 0x37dc000

>
> Overlapping early reservations b71000-effb43 RAMDISK to 200000-c84ecf
> TEXT DATA BSS

need to figure out, lilo put ramdisk so low...

need to know e820 table layout...

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 8, 2008, 1:00 PM

Post #19 of 23 (2925 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Mon, Sep 8, 2008 at 9:35 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
> On Mon, Sep 8, 2008 at 12:14 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>> On Mon, Sep 8, 2008 at 8:04 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
>>> On Mon, Sep 8, 2008 at 10:54 AM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>>
>>> can you post boot log with working kernel + "debug"?
>>
>> This is the map of the early reservations (will send the dmesg + debug later):
>>
>> [ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 00bbf90000]
>> [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==>
>> [0000000000 - 0000001000]
>> [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==>
>> [0000006000 - 0000008000]
>> [ 0.000000] #2 [0000200000 - 0000d012b8] TEXT DATA BSS ==>
>> [0000200000 - 0000d012b8]
>> [ 0.000000] #3 [00037dc000 - 00040fe2d9] RAMDISK ==>
>> [00037dc000 - 00040fe2d9]
>> [ 0.000000] #4 [000009c800 - 0000100000] BIOS reserved ==>
>> [000009c800 - 0000100000]
>> [ 0.000000] #5 [0000008000 - 000000b000] PGTABLE ==>
>> [0000008000 - 000000b000]
>>
>> As a side note: I've bigger older (2.6.26) kernels that boots fine,
>> and smaller 2.6.27 kernels that do not work, e.g. this one:
>
> that could explain sth. big kernel use more, and lilo put ramdisk
> high from 0x37dc000
>
>>
>> Overlapping early reservations b71000-effb43 RAMDISK to 200000-c84ecf
>> TEXT DATA BSS
>
> need to figure out, lilo put ramdisk so low...
>
> need to know e820 table layout...

BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009c800 (usable)
BIOS-e820: 000000000009c800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000bbf90000 (usable)
BIOS-e820: 00000000bbf90000 - 00000000bbf9e000 (ACPI data)
BIOS-e820: 00000000bbf9e000 - 00000000bbfe0000 (ACPI NVS)
BIOS-e820: 00000000bbfe0000 - 00000000bc000000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
last_pfn = 0xbbf90 max_arch_pfn = 0x3ffffffff

dmesg is attached, but I haven't rebooted yet.

Luca
Attachments: dmesg.txt (55.7 KB)


yhlu.kernel at gmail

Sep 8, 2008, 1:46 PM

Post #20 of 23 (2922 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Mon, Sep 8, 2008 at 1:00 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
> On Mon, Sep 8, 2008 at 9:35 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
>> On Mon, Sep 8, 2008 at 12:14 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>> On Mon, Sep 8, 2008 at 8:04 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
>>>> On Mon, Sep 8, 2008 at 10:54 AM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>>>
>>>> can you post boot log with working kernel + "debug"?
>>>
>>> This is the map of the early reservations (will send the dmesg + debug later):
>>>
>>> [ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 00bbf90000]
>>> [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==>
>>> [0000000000 - 0000001000]
>>> [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==>
>>> [0000006000 - 0000008000]
>>> [ 0.000000] #2 [0000200000 - 0000d012b8] TEXT DATA BSS ==>
>>> [0000200000 - 0000d012b8]
>>> [ 0.000000] #3 [00037dc000 - 00040fe2d9] RAMDISK ==>
>>> [00037dc000 - 00040fe2d9]
>>> [ 0.000000] #4 [000009c800 - 0000100000] BIOS reserved ==>
>>> [000009c800 - 0000100000]
>>> [ 0.000000] #5 [0000008000 - 000000b000] PGTABLE ==>
>>> [0000008000 - 000000b000]
>>>
>>> As a side note: I've bigger older (2.6.26) kernels that boots fine,
>>> and smaller 2.6.27 kernels that do not work, e.g. this one:
>>
>> that could explain sth. big kernel use more, and lilo put ramdisk
>> high from 0x37dc000
>>
>>>
>>> Overlapping early reservations b71000-effb43 RAMDISK to 200000-c84ecf
>>> TEXT DATA BSS
>>
>> need to figure out, lilo put ramdisk so low...
>>
>> need to know e820 table layout...
>
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009c800 (usable)
> BIOS-e820: 000000000009c800 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 00000000bbf90000 (usable)
> BIOS-e820: 00000000bbf90000 - 00000000bbf9e000 (ACPI data)
> BIOS-e820: 00000000bbf9e000 - 00000000bbfe0000 (ACPI NVS)
> BIOS-e820: 00000000bbfe0000 - 00000000bc000000 (reserved)
> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
> BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
> last_pfn = 0xbbf90 max_arch_pfn = 0x3ffffffff
>
> dmesg is attached, but I haven't rebooted yet.

so some config works, others not?

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 8, 2008, 2:25 PM

Post #21 of 23 (2921 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Mon, Sep 8, 2008 at 10:46 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
> On Mon, Sep 8, 2008 at 1:00 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>> On Mon, Sep 8, 2008 at 9:35 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
>>> On Mon, Sep 8, 2008 at 12:14 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>>> On Mon, Sep 8, 2008 at 8:04 PM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
>>>>> On Mon, Sep 8, 2008 at 10:54 AM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>>>>>
>>>>> can you post boot log with working kernel + "debug"?
>>>>
>>>> This is the map of the early reservations (will send the dmesg + debug later):
>>>>
>>>> [ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 00bbf90000]
>>>> [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==>
>>>> [0000000000 - 0000001000]
>>>> [ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==>
>>>> [0000006000 - 0000008000]
>>>> [ 0.000000] #2 [0000200000 - 0000d012b8] TEXT DATA BSS ==>
>>>> [0000200000 - 0000d012b8]
>>>> [ 0.000000] #3 [00037dc000 - 00040fe2d9] RAMDISK ==>
>>>> [00037dc000 - 00040fe2d9]
>>>> [ 0.000000] #4 [000009c800 - 0000100000] BIOS reserved ==>
>>>> [000009c800 - 0000100000]
>>>> [ 0.000000] #5 [0000008000 - 000000b000] PGTABLE ==>
>>>> [0000008000 - 000000b000]
>>>>
>>>> As a side note: I've bigger older (2.6.26) kernels that boots fine,
>>>> and smaller 2.6.27 kernels that do not work, e.g. this one:
>>>
>>> that could explain sth. big kernel use more, and lilo put ramdisk
>>> high from 0x37dc000
>>>
>>>>
>>>> Overlapping early reservations b71000-effb43 RAMDISK to 200000-c84ecf
>>>> TEXT DATA BSS
>>>
>>> need to figure out, lilo put ramdisk so low...
>>>
>>> need to know e820 table layout...
>>
>> BIOS-provided physical RAM map:
>> BIOS-e820: 0000000000000000 - 000000000009c800 (usable)
>> BIOS-e820: 000000000009c800 - 00000000000a0000 (reserved)
>> BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
>> BIOS-e820: 0000000000100000 - 00000000bbf90000 (usable)
>> BIOS-e820: 00000000bbf90000 - 00000000bbf9e000 (ACPI data)
>> BIOS-e820: 00000000bbf9e000 - 00000000bbfe0000 (ACPI NVS)
>> BIOS-e820: 00000000bbfe0000 - 00000000bc000000 (reserved)
>> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
>> BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
>> last_pfn = 0xbbf90 max_arch_pfn = 0x3ffffffff
>>
>> dmesg is attached, but I haven't rebooted yet.
>
> so some config works, others not?

Yes, that's correct, but it doesn't seem related to a particular
configuration item (moon phase maybe).
For example the kernel I'm using right now (-rc4-something) has the
same config as a non-working kernel minus LOCKDEP, but git-current
minus LOCKDEP does not work. On another kernel I got a working config
just enabling DEBUG_INFO, in another case I disabled MTD.

Luca
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


yhlu.kernel at gmail

Sep 8, 2008, 3:32 PM

Post #22 of 23 (2924 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Mon, Sep 8, 2008 at 2:25 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:

>>
>> so some config works, others not?
>
> Yes, that's correct, but it doesn't seem related to a particular
> configuration item (moon phase maybe).
> For example the kernel I'm using right now (-rc4-something) has the
> same config as a non-working kernel minus LOCKDEP, but git-current
> minus LOCKDEP does not work. On another kernel I got a working config
> just enabling DEBUG_INFO, in another case I disabled MTD.
>

do you mean tip/master?

http://people.redhat.com/mingo/tip.git/readme.txt

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


kronos.it at gmail

Sep 9, 2008, 2:48 PM

Post #23 of 23 (2890 views)
Permalink
Re: [2.6.27] overlapping early reservations [was: early exception - lockdep related?] [In reply to]

On Tue, Sep 9, 2008 at 12:32 AM, Yinghai Lu <yhlu.kernel [at] gmail> wrote:
> On Mon, Sep 8, 2008 at 2:25 PM, Luca Tettamanti <kronos.it [at] gmail> wrote:
>
>>>
>>> so some config works, others not?
>>
>> Yes, that's correct, but it doesn't seem related to a particular
>> configuration item (moon phase maybe).
>> For example the kernel I'm using right now (-rc4-something) has the
>> same config as a non-working kernel minus LOCKDEP, but git-current
>> minus LOCKDEP does not work. On another kernel I got a working config
>> just enabling DEBUG_INFO, in another case I disabled MTD.
>>
>
> do you mean tip/master?

I mean git pulled from Linus' tree.

Btw, I'm attaching dmesg with debug.

Luca
Attachments: dmesg.txt (32.9 KB)

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.