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

tests/kernel/gen_isr_table failed on iotdk board. #23475

Closed
chen-png opened this issue Mar 16, 2020 · 2 comments · Fixed by #24739
Closed

tests/kernel/gen_isr_table failed on iotdk board. #23475

chen-png opened this issue Mar 16, 2020 · 2 comments · Fixed by #24739
Assignees
Labels
area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@chen-png
Copy link
Collaborator

chen-png commented Mar 16, 2020

To Reproduce
Steps to reproduce the behavior:

  1. sanitycheck -p iotdk --device-testing --device-serial /dev/ttyUSB0 -T tests/kernel/gen_isr_table/
  2. See error in handler.log file

Screenshots or console output

** Booting Zephyr OS build zephyr-v2.2.0-368-g22b9167acb52  ***
starting test - Test gen_isr_tables
IRQ configuration (total lines 95):
isr1 isr=0x20000604 irq=94
isr2 isr=0x20000644 irq=93
Checking _irq_vector_table entry 78 for irq 94
triggering irq 94
isr1 ran
Checking _irq_vector_table entry 77 for irq 93
triggering irq 93
isr2 ran
_sw_isr_table at location 0x800013e8
isr3 isr=0x20000574 irq=92 param=0xb01dface
Checking _sw_isr_table entry 76 for irq 92
triggering irq 92
isr3 ran with parameter 0xb01dface
isr4 isr=0x20000598 irq=91 param=0xca55e77e
Checking _sw_isr_table entry 75 for irq 91
triggering irq 91
isr4 ran with parameter 0xca55e77e
isr5 isr=0x200005bc irq=90 param=0xf0ccac1a
Checking _sw_isr_table entry 74 for irq 90
triggering irq 90
isr5 ran with parameter 0xf0ccac1a
**ASSERTION FAIL [!arch_irq_is_enabled(irq)] @ WEST_TOPDIR/zephyr/arch/common/sw_isr_common.c:19
        IRQ 89 is enabled**
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x800000a4 (main)
E: Halting system

Environment (please complete the following information):

  • OS: fedora 28
  • Toolchain: zephyr-sdk-0.11.1
  • Commit ID: 22b9167
@chen-png chen-png added the bug The issue is a bug, or the PR is fixing a bug label Mar 16, 2020
@nashif nashif added the priority: medium Medium impact/importance bug label Apr 7, 2020
@abrodkin
Copy link
Collaborator

abrodkin commented Apr 7, 2020

I may confirm we do see the same in our internal nightly verification.

vonhust pushed a commit to foss-for-synopsys-dwc-arc-processors/zephyr that referenced this issue Apr 27, 2020
By defaut, only one uart is used as console.
Disable unused peripherals in dts to avoid
conflicts (issue zephyrproject-rtos#23475), save memory footprint,
and reduce the boot time.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
@vonhust
Copy link

vonhust commented Apr 27, 2020

The failure is caused by the conflict of irq used in this test and peripheral irq. UART3 will use IRQ 89 and is enabled although it should not be.

PR #23479 will fix this issue.

MaureenHelm pushed a commit that referenced this issue Apr 28, 2020
By defaut, only one uart is used as console.
Disable unused peripherals in dts to avoid
conflicts (issue #23475), save memory footprint,
and reduce the boot time.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
sandeepbrcm pushed a commit to Broadcom/zephyr that referenced this issue Apr 30, 2020
By defaut, only one uart is used as console.
Disable unused peripherals in dts to avoid
conflicts (issue zephyrproject-rtos#23475), save memory footprint,
and reduce the boot time.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
hakehuang pushed a commit to hakehuang/zephyr that referenced this issue Jun 20, 2020
By defaut, only one uart is used as console.
Disable unused peripherals in dts to avoid
conflicts (issue zephyrproject-rtos#23475), save memory footprint,
and reduce the boot time.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARC ARC Architecture bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants