bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable SMP support


From: Joshua Branson
Subject: Re: Enable SMP support
Date: Tue, 10 Jul 2018 11:15:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Almudena Garcia <liberamenso10000@gmail.com> writes:

Nice work dude!

> A better link
>
> https://www.youtube.com/watch?v=78JYeXMNeVM&feature=youtu.be
>
> 2018-07-10 15:31 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:
>
>  This is the record of GNU/Hurd boot crash (with my SMP GNU Mach core)
>  
> https://drive.google.com/file/d/1imOWYUI6PQ5J7R8ScvnV-fIRs81sV769/view?usp=sharing
>
>  Feels an MMU problem in the Hurd servers start.
>
>  2018-07-10 14:45 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:
>
>  This is the record of GNU/Hurd boot crash with SMP
>
>  Feels that It crash when Hurd starts  
>
>  2018-07-10 1:34 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:
>
>  It compiles!! :-)
>
>  I've just got to finish the GNU Mach compilation, patched to add SMP support.
>  You can see the code here: https://github.com/AlmuHS/GNUMach_SMP/tree/smp
>
>  I tried to boot Hurd using the new Mach image, but It crash.
>
>  Now I will need to debug my code.
>  In the compile log appears many interesting warning. 
>
>  https://github.com/AlmuHS/GNUMach_SMP/blob/smp/build/build_log
>
>  2018-07-09 19:20 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:
>
>  I have commented this lines at moment.
>
>  2018-07-09 17:32 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:
>
>  Finally, I got the equivalent call to cpu_desc_init64(cpu_datap(slot_num));
>
>  Also, I've replaced many others variables in the code.
>  The current code is here: 
> https://github.com/AlmuHS/GNUMach_SMP/blob/smp/i386/i386/intel_startCPU.c
>
>  Now I'm searching the equivalency to this:
>
>  - IdlePTD in this line:
>
>      DBG("IdlePTD(%p): 0x%x\n", &IdlePTD, (int) (uintptr_t)IdlePTD); 
>
>  - the next variables and struct
>
>     start_info.starter_cpu  = cpu_number();
>     start_info.target_cpu   = slot_num;
>     start_info.target_lapic = lapic;
>     tsc_entry_barrier = 2;
>     tsc_exit_barrier = 2;
>
>  2018-07-05 17:29 GMT+02:00 Joshua Branson <jbranso@fastmail.com>:
>
>  Almudena Garcia <liberamenso10000@gmail.com> writes:
>
>  > I've just fixed a little error in my code.
>  >
>  > I attach the fixed file
>  >
>  > 2018-07-04 21:14 GMT+02:00 Almudena Garcia <liberamenso10000@gmail.com>:
>  >
>
>  hmmm.  This is a little out of my league, but I appreciate you for trying!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]