Syscall Registration Error. #57

Closed
opened 2024-05-17 14:40:24 +02:00 by desfreng · 6 comments
desfreng commented 2024-05-17 14:40:24 +02:00 (Migrated from github.com)

Avec le commit 5c77b2f874 sur RPi3, j'ai le log suivant :

[2328 ms] [info] Kernel built at 14:37:21 on May 17 2024 with GCC 13.2.0 !
[2329 ms] [info] Board model: Raspberry Pi 3 Model B Plus Rev 1.4
[2330 ms] [info] Board revision: 0xa020d4
[2330 ms] [info] Board serial: 0x2f8f3d58
[2331 ms] [info] Temp: 34 °C / 85 °C
[2341 ms] [info] Framebuffer of size 1280x720 allocated (requested 1280x720)
[2342 ms] [./kernel/hardware/framebuffer.cpp:104] [debug] Framebuffer at 0xffff100003476000 of size 921600 bytes (pitch = 1280)
[2344 ms] [./kernel/hardware/framebuffer.cpp:105] [debug] Framebuffer pixel order: 0 (0 = BGR, 1 = RGB)
[2345 ms] [./kernel/hardware/framebuffer.cpp:106] [debug] Framebuffer depth: 32
[4539 ms] [warning] syscall #1 registered more than once
[4540 ms] [warning] syscall #2 registered more than once
[4540 ms] [warning] syscall #3 registered more than once
[4541 ms] [warning] syscall #4 registered more than once
[4542 ms] [warning] syscall #5 registered more than once
[4542 ms] [warning] syscall #6 registered more than once
[4543 ms] [warning] syscall #7 registered more than once
[4544 ms] [warning] syscall #8 registered more than once
[4544 ms] [warning] syscall #9 registered more than once
[4545 ms] [warning] syscall #10 registered more than once
[4546 ms] [warning] syscall #50 registered more than once
[4546 ms] [warning] syscall #100 registered more than once
[4547 ms] [warning] syscall #101 registered more than once
[4548 ms] [warning] syscall #102 registered more than once
[4548 ms] [warning] syscall #103 registered more than once

(Oui ça plante à la fin)
Pourquoi ces warning (qu'il n'y a pas sur QEMU)

Avec le commit 5c77b2f87413ccd502ee71fbdc60824a5d3c489f sur RPi3, j'ai le log suivant : ``` [2328 ms] [info] Kernel built at 14:37:21 on May 17 2024 with GCC 13.2.0 ! [2329 ms] [info] Board model: Raspberry Pi 3 Model B Plus Rev 1.4 [2330 ms] [info] Board revision: 0xa020d4 [2330 ms] [info] Board serial: 0x2f8f3d58 [2331 ms] [info] Temp: 34 °C / 85 °C [2341 ms] [info] Framebuffer of size 1280x720 allocated (requested 1280x720) [2342 ms] [./kernel/hardware/framebuffer.cpp:104] [debug] Framebuffer at 0xffff100003476000 of size 921600 bytes (pitch = 1280) [2344 ms] [./kernel/hardware/framebuffer.cpp:105] [debug] Framebuffer pixel order: 0 (0 = BGR, 1 = RGB) [2345 ms] [./kernel/hardware/framebuffer.cpp:106] [debug] Framebuffer depth: 32 [4539 ms] [warning] syscall #1 registered more than once [4540 ms] [warning] syscall #2 registered more than once [4540 ms] [warning] syscall #3 registered more than once [4541 ms] [warning] syscall #4 registered more than once [4542 ms] [warning] syscall #5 registered more than once [4542 ms] [warning] syscall #6 registered more than once [4543 ms] [warning] syscall #7 registered more than once [4544 ms] [warning] syscall #8 registered more than once [4544 ms] [warning] syscall #9 registered more than once [4545 ms] [warning] syscall #10 registered more than once [4546 ms] [warning] syscall #50 registered more than once [4546 ms] [warning] syscall #100 registered more than once [4547 ms] [warning] syscall #101 registered more than once [4548 ms] [warning] syscall #102 registered more than once [4548 ms] [warning] syscall #103 registered more than once ``` (Oui ça plante à la fin) Pourquoi ces warning (qu'il n'y a pas sur QEMU)
hgruniaux commented 2024-05-17 15:18:04 +02:00 (Migrated from github.com)

Pourquoi tu as inversé les deux dans ton commit ? J'aurai tendance à mettre en place IRQ le plus tard possible (en particulier après l'init de UART).

En ce qui concerne l'erreur en elle même je regarde ça.

Pourquoi tu as inversé les deux dans ton commit ? J'aurai tendance à mettre en place IRQ le plus tard possible (en particulier après l'init de UART). En ce qui concerne l'erreur en elle même je regarde ça.
hgruniaux commented 2024-05-17 15:18:37 +02:00 (Migrated from github.com)

Les warnings correspondent aux syscalls qui sont enregistrés plusieurs fois. Comme si le task manager était initialisé en double.

Les warnings correspondent aux syscalls qui sont enregistrés plusieurs fois. Comme si le task manager était initialisé en double.
desfreng commented 2024-05-17 15:35:05 +02:00 (Migrated from github.com)

Pourquoi tu as inversé les deux dans ton commit ? J'aurai tendance à mettre en place IRQ le plus tard possible (en particulier après l'init de UART).

En ce qui concerne l'erreur en elle même je regarde ça.

L'UART à besoin du GPIO qui a besoin de l'IRQ Manager :/

> Pourquoi tu as inversé les deux dans ton commit ? J'aurai tendance à mettre en place IRQ le plus tard possible (en particulier après l'init de UART). > > En ce qui concerne l'erreur en elle même je regarde ça. L'UART à besoin du GPIO qui a besoin de l'IRQ Manager :/
desfreng commented 2024-05-17 15:35:38 +02:00 (Migrated from github.com)

Les warnings correspondent aux syscalls qui sont enregistrés plusieurs fois. Comme si le task manager était initialisé en double.

Après tests, ça pue le fait que la mémoire n'est pas à 0 à l'allocation...

> Les warnings correspondent aux syscalls qui sont enregistrés plusieurs fois. Comme si le task manager était initialisé en double. Après tests, ça pue le fait que la mémoire n'est pas à 0 à l'allocation...
hgruniaux commented 2024-05-17 15:56:33 +02:00 (Migrated from github.com)

Les warnings correspondent aux syscalls qui sont enregistrés plusieurs fois. Comme si le task manager était initialisé en double.

Après tests, ça pue le fait que la mémoire n'est pas à 0 à l'allocation...

Super étrange, comment ça se fait ? Ça arrive pas sur la 4 ?

> > Les warnings correspondent aux syscalls qui sont enregistrés plusieurs fois. Comme si le task manager était initialisé en double. > > Après tests, ça pue le fait que la mémoire n'est pas à 0 à l'allocation... Super étrange, comment ça se fait ? Ça arrive pas sur la 4 ?
hgruniaux commented 2024-05-17 15:59:26 +02:00 (Migrated from github.com)

Regarde le PR, je pense savoir d'où ça vient.

Regarde le PR, je pense savoir d'où ça vient.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hubert/Pi-kachULM_OS#57
No description provided.