Skip to content

[BUG] STM32H7 tickless mode stops filesystem from initializing #17361

@bskdany

Description

@bskdany

Description / Steps to reproduce the issue

The filesystem fails to initialize when SCHED_TICKLESS is enabled. Would love some direction to debug such issue.

Logs:

nx_mount: found procfs
stm32_sdio_initialize: Initializing SDIO slot 0
stm32_sdio_initialize: Bind SDIO to the MMC/SD driver, minor=0
mmcsd_slotinitialize: minor: 0
mmcsd_hwinitialize: DMA supported: 1
mmcsd_hwinitialize: Attached MMC/SD interrupts
mmcsd_slotinitialize: MMC/SD slot is empty
mmcsd_slotinitialize: MMC: /dev/mmcsd0 0KB 1-bit backwards compatibility mode
stm32_sdio_initialize: Successfully bound SDIO to the MMC/SD driver
mmcsd_mediachange: arg: 0x2400bec0
mmcsd_probe: type: 0 probed: 0
mmcsd_removed: type: 0 present: 1
mmcsd_widebus: No card inserted.
mmcsd_probe: Card present.  Probing....
mmcsd_cardidentify: Identifying card...
mmcsd_cardidentify: SD V2.x card
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: R3: 00ff8000
mmcsd_cardidentify: ERROR: Failed to identify card
mmcsd_probe: ERROR: Failed to initialize card: -5
find_blockdriver: pathname="/dev/mmcsd0"
find_blockdriver: ERROR: Failed to find /dev/mmcsd0
open_blockdriver: ERROR: Failed to file /dev/mmcsd0 block driver
stm32_bringup: Partition 0 did not register
find_blockdriver: pathname="/dev/mmcsd0"
find_blockdriver: ERROR: Failed to find /dev/mmcsd0
open_blockdriver: ERROR: Failed to file /dev/mmcsd0 block driver
stm32_bringup: Partition 1 did not register
find_blockdriver: pathname="/dev/mmcsd0p0"
find_blockdriver: ERROR: Failed to find /dev/mmcsd0p0
nx_mount: ERROR: Failed to find block driver /dev/mmcsd0p0
stm32_bringup: ERROR: Could not mount fat partition -15:

NuttShell (NSH)
nsh>

On which OS does this issue occur?

[OS: Mac]

What is the version of your OS?

MacOs latest

NuttX Version

release/12.12

Issue Architecture

[Arch: arm]

Issue Area

[Area: File System]

Host information

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armIssues related to ARM (32-bit) architectureArea: File SystemFile System issuesOS: MacIssues related to MacOS (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions