On 18/11/18 04:30, liberamenso10...@gmail.com wrote:
> Ok. In any case, I've restarted the project two months ago.
>
> You can read the docs from here:
> https://gitlab.com/snippets/1756024
Hi, don't forget you can read the coreboot source code which is a free
software bios that, among other th
liberamenso10...@gmail.com writes:
> Ok. In any case, I've restarted the project two months ago.
>
> You can read the docs from here:
> https://gitlab.com/snippets/1756024
There's a lot of great detail there! Do you mind if I copy a lot of
your information from that page and add it to the Hurd
Hi!
On Wed, 2018-07-04 at 21:14:59 +0200, Almudena Garcia wrote:
> I'm trying to develop intel_startCPU function, using the function of this
> file as base code
> https://github.com/nneonneo/osx-10.9-opensource/blob/master/xnu-2422.1.72/osfmk/i386/mp.c
Please check the license terms of XNU, becau
Ok. In any case, I've restarted the project two months ago.
You can read the docs from here:
https://gitlab.com/snippets/1756024
El Sábado 17 de noviembre de 2018, Guillem Jover escribió:
> Hi!
>
> On Wed, 2018-07-04 at 21:14:59 +0200, Almudena Garcia wrote:
> > I'm trying to develop intel_sta
Almudena Garcia 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 :
>
> This is the record of GNU/Hurd boot crash (with my SMP GNU Mach core)
>
> https://drive.google.com/file/d/1imOWYUI6PQ5J
A better link
https://www.youtube.com/watch?v=78JYeXMNeVM&feature=youtu.be
2018-07-10 15:31 GMT+02:00 Almudena Garcia :
> 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
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 :
> This is the record of GNU/Hurd boot crash with S
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
I have commented this lines at moment.
2018-07-09 17:32 GMT+02:00 Almudena Garcia :
> 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/b
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 li
Almudena Garcia 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 :
>
hmmm. This is a little out of my league, but I appreciate you for trying!
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 :
> Hi, other time:
>
> I'm trying to develop intel_startCPU function, using the function of this
> file as base code
> https://github.com/nneonneo/osx-10.9-opensource/blob/
> master/xnu
Hi, other time:
I'm trying to develop intel_startCPU function, using the function of this
file as base code
https://github.com/nneonneo/osx-10.9-opensource/blob/master/xnu-2422.1.72/osfmk/i386/mp.c
I've got to replace the *ml_set_interrupts_enabled() *calls, and now I need
to replace this call:*
>
> Also it seems that local_bh_count and local_irq_count are used only in
> the Linux-based drivers, so maybe you can look to the SMP-aware
> implementation in Linux (or #define the functions as empty macros if
> they are not strictly needed..)
>
Yes, I found their definitions in *linux/dev/arch
Using grep, I've found *local_bh_count* and *local_irq_count. ffs *is
defined correctly.
But I don't find the *intel_startCPU* definition. In
*i386/i386/mp_desc.c *there
are many calls to this, but It doesn't appear to be in any file.
Do you know about this?
2018-07-03 17:49 GMT+02:00 Almudena G
Il 03/07/2018 17:49, Almudena Garcia ha scritto:
> I've just tried to add this functions in Makefile.am, in clib_routines,
> as this form
>
> clib_routines := htonl htons ntohl ntohs \
> udivdi3 __udivdi3 __udivmoddi4 __umoddi3 \
> __d
I've just tried to add this functions in Makefile.am, in clib_routines, as
this form
clib_routines := htonl htons ntohl ntohs\
udivdi3 __udivdi3 __udivmoddi4 __umoddi3 \
__divdi3 \
Thanks, I'll try it
El Martes 3 de julio de 2018, Luca Dariz escribió:
> Hello!
>
> Il 28/06/2018 20:31, Almudena Garcia ha scritto:
> > Now the compiler gets the gnumach.o, but It returns another linker error.
> > I attach logs also.
> >
> >
> > How can I solve this?
>
> From the last lines o
Hello!
Il 28/06/2018 20:31, Almudena Garcia ha scritto:
> Now the compiler gets the gnumach.o, but It returns another linker error.
> I attach logs also.
>
>
> How can I solve this?
>From the last lines of the log
...
ffs
intel_startCPU
local_bh_count
local_irq_count
...
these four functions
>
> *Yes, the type for processor is needed, see the patch I have now commited.*
>
Ok. I've just to apply your patches and copy my cpu_number() function in
kern/cpu_number.h.
The latest compilation problems have disappeared, but there are any errors
yet.
>
>
> *> /* More-specific code must defin
Hello,
Almudena Garcia, le mer. 27 juin 2018 22:37:55 +0200, a ecrit:
> ../kern/sched_prim.h:188:1: warning: parameter names (without types) in
> function declaration
> extern void cause_ast_check(processor); /*new*/
Yes, the type for processor is needed, see the patch I have now commited.
>
After to solve the compilation problems, We continue with our SMP work.
We have fixed many little errors and now have just found another big
problem, this time with pmap.c
This feels a problem about page tables and MMU, which feels aren't
implemented for many CPUs
I attach a patch will all chang
Almudena Garcia writes:
> Here attach the patch files.
>
> About the sources, the gnumach apt sources are dated in 2018/02/18, so It
> don't includes your latest fixes.
>
> How can I download sources from git repository?
I believe the gnumach repo is located here:
git clone git://git.sv.gnu.or
Here attach the patch files.
About the sources, the gnumach apt sources are dated in 2018/02/18, so It
don't includes your latest fixes.
How can I download sources from git repository?
2018-06-19 2:26 GMT+02:00 Samuel Thibault :
> Hello,
>
> Almudena Garcia, le lun. 18 juin 2018 21:16:28 +0200,
Hello,
Almudena Garcia, le lun. 18 juin 2018 21:16:28 +0200, a ecrit:
> [1]http://dpaste.com/32VFE37
>
> [2]http://dpaste.com/1F3YETN
Please post them as attached text files to your mail, so review can take
place.
> But my sources were downloaded from apt, so these are outdated.
gnumach doesn'
The patch is here
http://dpaste.com/32VFE37
http://dpaste.com/1F3YETN
But my sources were downloaded from apt, so these are outdated.
Now, I'll try to download sources from git master
2018-06-17 14:01 GMT+02:00 Almudena Garcia :
> Yes. We fixed this too.
>
> Last night we was following the
Yes. We fixed this too.
Last night we was following the error chain, solve many errors and typos as
this.
I'll try to generate a patch to send you the fix.
2018-06-17 10:00 GMT+02:00 Samuel Thibault :
> Almudena Garcia, le dim. 17 juin 2018 01:44:11 +0200, a ecrit:
> > and shows another error
Almudena Garcia, le dim. 17 juin 2018 01:44:11 +0200, a ecrit:
> and shows another error in kern/startup.c
>
> [2]http://dpaste.com/1QR0XSK
It was just a missing declaration, now fixed.
Samuel
Ok. I fixed my undefined behavior in cpu_number(). But It show many errors
http://dpaste.com/2ACQ7VZ
2018-06-17 1:44 GMT+02:00 Almudena Garcia :
> Well, I checked your code, and I fixed another typo in the same file and
> line.
> I removed the latest ) in
>
> : "0" (new_val), "m" (*(lock)) : "mem
Well, I checked your code, and I fixed another typo in the same file and
line.
I removed the latest ) in
: "0" (new_val), "m" (*(lock)) : "memory") \
http://dpaste.com/1QW4EVF
Now this compiles. But It shows a warning (undefined behavior) in my
cpu_number() code, and shows another error in kern
ok. I'll try to update my sources.
But now I have another problem:
The "apt-get source gnumach" feels don't update the sources.
How can I download this?
I tried with
git clone http://git.savannah.gnu.org/cgit/hurd/gnumach.git/
But git don't find the repo
2018-06-17 1:03 GMT+02:00 Samuel Thi
Almudena Garcia, le sam. 16 juin 2018 17:34:13 +0200, a ecrit:
> The compilation continues failing, anymore
>
> [2]http://dpaste.com/26VWZ6G
I have now fixed the dumb typo there.
Samuel
On Sat, Jun 16, 2018 at 01:17:57PM +0200, Almudena Garcia wrote:
> Finally, we got to write a test function to get the apic_id, and It feels
> to run correctly.
> Now, we're trying to implement another function, to transform the apic_id
> in the kernel cpuid.
>
> I attach the current test function
We have finished the first prototype of kern/cpu_number.h
http://dpaste.com/2QJB8VR
We have to improve many details, about initialization of structures and
implementation of the function (may be better creates a cpu_number.c file,
instead implement the function in the header), but now the compila
Finally, we got to write a test function to get the apic_id, and It feels
to run correctly.
Now, we're trying to implement another function, to transform the apic_id
in the kernel cpuid.
I attach the current test function to get apic_id with its test file
2018-06-15 19:36 GMT+02:00 Almudena Garci
Yes, I saw this.
When I test It in Linux, I used a dual core computer. But the snippet
returns "8" number.
Now I know the reason ;)
2018-06-15 19:25 GMT+02:00 Richard Braun :
> On Fri, Jun 15, 2018 at 07:18:55PM +0200, Richard Braun wrote:
> > On Fri, Jun 15, 2018 at 06:27:21PM +0200, Almudena
On Fri, Jun 15, 2018 at 07:18:55PM +0200, Richard Braun wrote:
> On Fri, Jun 15, 2018 at 06:27:21PM +0200, Almudena Garcia wrote:
> > I'm trying to define the cpu_number() in multiprocessor.
> >
> > To do this, I tried to use CPUID assembly x86 instruction, to get the CPU
> > SMP number.
> > The f
On Fri, Jun 15, 2018 at 06:27:21PM +0200, Almudena Garcia wrote:
> I'm trying to define the cpu_number() in multiprocessor.
>
> To do this, I tried to use CPUID assembly x86 instruction, to get the CPU
> SMP number.
> The function, in C, is this:
>
> static inline char smp_processor_id(void) {
>
I'm trying to define the cpu_number() in multiprocessor.
To do this, I tried to use CPUID assembly x86 instruction, to get the CPU
SMP number.
The function, in C, is this:
static inline char smp_processor_id(void) {
char apic_id = 0;
asm("mov $1, %%eax\n\t"
"cpuid\n\t"
"mov %%bh, %0\n\t"
Ok. I understand you. But then... how can I to define cpu_number() function
in multiprocessor? It isn't clear
2018-06-15 1:30 GMT+02:00 Amos Jeffries :
> On 15/06/18 10:31, Almudena Garcia wrote:
> > Yes, I concluded the same a few hours ago. I tried to edit
> > kern/cpu_number.h, to add a new de
Ok, I agree. I didn't read this docs. I'll try to change it
El Viernes 15 de junio de 2018, Amos Jeffries escribió:
> On 15/06/18 10:31, Almudena Garcia wrote:
> > Yes, I concluded the same a few hours ago. I tried to edit
> > kern/cpu_number.h, to add a new definition with many cores, at this for
On 15/06/18 10:31, Almudena Garcia wrote:
> Yes, I concluded the same a few hours ago. I tried to edit
> kern/cpu_number.h, to add a new definition with many cores, at this form
>
> int master_cpu; /* 'master' processor - keeps time */
>
> #if (NCPUS == 1)
> /* cpu number is a
Yes, I concluded the same a few hours ago. I tried to edit
kern/cpu_number.h, to add a new definition with many cores, at this form
int master_cpu; /* 'master' processor - keeps time */
#if (NCPUS == 1)
/* cpu number is always 0 on a single processor system */
#define cpu_numb
On Thu, 2018-06-14 at 20:21 +0200, Almudena Garcia wrote:
> Ok, I found the warning what you refers
>
> ../kern/thread.h:401:42: warning: implicit declaration of function
> ‘cpu_number’; did you mean ‘cpu_idle’? [-Wimplicit-function-
> declaration]
>
> After check the cpu_number.h file, feels tha
Ok, I found the warning what you refers
../kern/thread.h:401:42: warning: implicit declaration of function
‘cpu_number’; did you mean ‘cpu_idle’? [-Wimplicit-function-declaration]
After check the cpu_number.h file, feels that It don't define the
cpu_number function in multi-processor mode
https:
Almudena Garcia, le jeu. 14 juin 2018 17:58:42 +0200, a ecrit:
> You can see the error in this log
>
> [2]https://pastebin.com/wZnXQ61y
>
> Feels I syntax error, but I don't sure
Look at the very first warning, the rest can be just a consequence of
it. It seems to be saying that it's simply miss
Ok, I just found the file in the gnumach sources directory. Now I'm trying
to compile mach, using this guide
https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html
But, during the compilation process with dpkg-buildpackage, It shows an
error, and stop.
You can see the error in
But... where is this configuration file?
Do I need to recompile mach after enable the SMP option?
2018-06-08 21:27 GMT+02:00 James Clarke :
> On 8 Jun 2018, at 18:06, Joshua Branson wrote:
> >
> > Almudena Garcia writes:
> >
> >> Hi all:
> >>
> >> Reading this post in Hurd FAQ, I read that Mac
On 8 Jun 2018, at 18:06, Joshua Branson wrote:
>
> Almudena Garcia writes:
>
>> Hi all:
>>
>> Reading this post in Hurd FAQ, I read that Mach has SMP support, but It was
>> disabled because the Linux device drivers glue code isn't thread-safe.
>>
>> https://www.gnu.org/software/hurd/faq/smp.
Almudena Garcia writes:
> Hi all:
>
> Reading this post in Hurd FAQ, I read that Mach has SMP support, but It was
> disabled because the Linux device drivers glue code isn't thread-safe.
>
> https://www.gnu.org/software/hurd/faq/smp.html
>
> Then, I ask . Are there any form to enable this SMP su
Hi all:
Reading this post in Hurd FAQ, I read that Mach has SMP support, but It was
disabled because the Linux device drivers glue code isn't thread-safe.
https://www.gnu.org/software/hurd/faq/smp.html
Then, I ask . Are there any form to enable this SMP support in GNU Mach?
(At my own risk).
I
51 matches
Mail list logo