Re: i386 pda patches
From: Andrew Morton
Date: Mon Sep 25 2006 - 01:34:52 EST
On Sun, 24 Sep 2006 17:40:14 -0700
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> Andrew Morton wrote:
> > I am unable to correlate what's in Andi's tree with the PDA-related emails
> > on this list. Why is this?
> >
>
> I'm not sure what's in Andi's tree. He mentioned that he had trouble
> merging a previous patch I had, but it wasn't a particularly big change.
>
> Andi, where can I get your tree?
>
> > Anyway, the PDA patches are causing my little old dual-pIII to reboot about
> > one second into the boot process.
> >
>
> Interesting. Have there been any other complaints about -mm crashing?
> There's nothing in here which is "new cpu"; it should work the same all
> the way back to an i386.
It may be related to the .config, rather than the CPU type.
> > Bisection says:
> >
> > x86_64-mm-i386-pda-asm-offsets.patch
> > x86_64-mm-i386-pda-basics.patch OK
> > x86_64-mm-i386-pda-init-pda.patch oops
> > x86_64-mm-i386-pda-use-gs.patch reboot
> > x86_64-mm-i386-pda-user-abi.patch BAD
> > x86_64-mm-i386-pda-vm86.patch
> > x86_64-mm-i386-pda-smp-processorid.patch
> > x86_64-mm-i386-pda-current.patch
> >
> >
> > So x86_64-mm-i386-pda-init-pda.patch causes the below oops and
> > x86_64-mm-i386-pda-use-gs.patch causes the instareboot.
> >
> >
> >
> > Compat vDSO mapped to ffffe000.
> > Checking 'hlt' instruction... OK.
> > SMP alternatives: switching to UP code
> > CPU0: Intel Pentium III (Coppermine) stepping 03
> > SMP alternatives: switching to SMP code
> > Booting processor 1/1 eip 2000
> > Initializing CPU#1
> > general protection fault: 0080 [#1]
> > SMP
> > last sysfs file:
> > Modules linked in:
> > CPU: 1
> > EIP: 0060:[<c010ad63>] Not tainted VLI
> > EFLAGS: 00010086 (2.6.18 #8)
> > EIP is at cpu_init+0x153/0x2b0
> >
> What line does this EIP correspond to?
>
(gdb) l *0xc010ad63
0xc010ad63 is in cpu_init (arch/i386/kernel/cpu/common.c:748).
743 BUG();
744 enter_lazy_tlb(&init_mm, current);
745
746 load_esp0(t, thread);
747 set_tss_desc(cpu,t);
748 load_TR_desc();
749 load_LDT(&init_mm.context);
750
751 #ifdef CONFIG_DOUBLEFAULT
752 /* Set up doublefault TSS pointer in the GDT */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/