Re: 2.6.5-rc2-mm1 does not boot. 2.6.5-rc1-mm2 + small fix from axboe was fine

Luiz Fernando Capitulino
2004-03-22T19:24:18Z

Hi Zwane,

Em Seg, 2004-03-22 às 02:49, Zwane Mwaikambo escreveu:
> On Sun, 21 Mar 2004, Eric Valette wrote:
>
> > > How about the following patch?
> >
> > OK this time, I used the correct original file, applied your patch. But
> > it does not help. This time it freeze immediately after :
> > Freeing unused kernel memory: 216k freed.
> >
> > Thanks anyway for the suggestion and sorry for the mistake on using the
> > wrong version of init/main.c (after partially reverse applying the
> > possible incorrect patch).
>
> The patch actually fixed a bug i thought you were hitting;
>
> Freeing 1nunedlketo lamdlo y:r3elkpfgeeg
> equest at virtual address c06c22a0
> printing eip:
> c06c22a0
> *pde = 00757027
> Oops: 0000 [#1]
> PREEMPT SMP DEBUG_PAGEALLOC
> CPU: 1
> EIP: 0060:[<c06c22a0>] Not tainted VLI
> EFLAGS: 00010213 (2.6.5-rc2-mm1)
> EIP is at prepare_namespace+0x0/0xd0
> eax: 00000002 ebx: 00000000 ecx: c060b2c0 edx: c060b300
> esi: 00000001 edi: 00000000 ebp: dff8ffec esp: dff8ffd4
> ds: 007b es: 007b ss: 0068
> Process swapper (pid: 1, threadinfo=dff8f000 task=dff1fa50)
> Stack: c0103235 00000000 00000000 0000007b c0103170 00000000 00000000 c01051f5
> 00000000 00000000 00000000
> Call Trace:
> [<c0103235>] init+0xc5/0x190
> [<c0103170>] init+0x0/0x190
> [<c01051f5>] kernel_thread_helper+0x5/0x10
>
> Code: Bad EIP value.
> <0>Kernel panic: Attempted to kill init!

I got it, your patch does not fix it, but removing the
initramfs-search-for-init.patch fixed the problem.

--
Luiz Fernando N. Capitulino
<lcapitulino@prefeitura.sp.gov.br>
<http://www.telecentros.sp.gov.br>