Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mec172xevb_assy6906: FATAL ERROR 4: Kernel panic #71545

Closed
KamilxPaszkiet opened this issue Apr 16, 2024 · 2 comments
Closed

mec172xevb_assy6906: FATAL ERROR 4: Kernel panic #71545

KamilxPaszkiet opened this issue Apr 16, 2024 · 2 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: Microchip MEC Microchip MEC Platform priority: high High impact/importance bug

Comments

@KamilxPaszkiet
Copy link
Collaborator

Describe the bug
List of failing tests:

tests/drivers/can/shell/drivers.can.shell
tests/drivers/eeprom/shell/drivers.eeprom.shell
tests/drivers/ipm/drivers.ipc.mailbox
tests/kernel/early_sleep/kernel.common.sleep
tests/kernel/early_sleep/kernel.common.sleep.minimallibc
tests/kernel/interrupt/arch.shared_interrupt
tests/kernel/interrupt/arch.shared_interrupt.lto
tests/kernel/workq/work_queue/kernel.workqueue
tests/subsys/logging/log_backend_init/logging.backend.initialization
tests/subsys/logging/log_cache/logging.cache
tests/subsys/logging/log_output/logging.output
tests/subsys/logging/log_output/logging.output.thread_id
tests/subsys/logging/log_output/logging.output.ts64
tests/subsys/logging/log_timestamp/logging.output.custom_timestamp
tests/subsys/logging/log_timestamp/logging.output.default_timestamp

I did a bisection, the problem started with the commit: f11027d

To Reproduce
twister --hardware-map <path_to>/mec172x.map --device-testing -T <test> -x=CONFIG_BOOT_DELAY=500 -v

Expected behavior
Pass

Logs and console output
sample log:

*** Booting Zephyr OS build v3.6.0-2554-g2c8ea07b3498 (delayed boot 500ms) ***
Running TESTSUITE workqueue_delayed
===================================================================
ASSERTION FAIL [!z_is_thread_state_set(_kernel.cpus[0].current, ((1UL << (4))))] @ WEST_TOPDIR/os.rtos.zephyr.zephyr/kernel/sched.c:1170
E: ***** HARD FAULT *****
E: Fault escalation (see below)
E: ARCH_EXCEPT with reason 4
E: r0/a1: 0x00000004 r1/a2: 0x00000492 r2/a3: 0x00118848
E: r3/a4: 0x00000004 r12/ip: 0x00118044 r14/lr: 0x000c5345
E: xpsr: 0x21000000
E: Faulting instruction address (r15/pc): 0x000c6e2c
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x118848 (main)
E: Halting system

Environment:

  • OS: Linux
  • Toolchain Zephyr SDK v0.16.5-1
  • v3.6.0-2554-g2c8ea07b3498
@KamilxPaszkiet KamilxPaszkiet added bug The issue is a bug, or the PR is fixing a bug platform: Microchip MEC Microchip MEC Platform labels Apr 16, 2024
@nashif nashif added the priority: medium Medium impact/importance bug label Apr 23, 2024
@nashif nashif assigned ithinuel and unassigned jvasanth1 Apr 23, 2024
@nashif nashif added priority: high High impact/importance bug and removed priority: medium Medium impact/importance bug labels Apr 23, 2024
@ithinuel
Copy link
Collaborator

Are you happy closing this issue with the fix that was merged?

@KamilxPaszkiet
Copy link
Collaborator Author

Problem fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: Microchip MEC Microchip MEC Platform priority: high High impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants