Skip to content
This repository was archived by the owner on Nov 21, 2020. It is now read-only.
This repository was archived by the owner on Nov 21, 2020. It is now read-only.

Device initialization race condition #60

Open

Description

@XCreative

Describe the bug
Driver failed to start

How to reproduce
Download the release version from https://intelwifi.0xcc.pw or you can build from source.

Step 1

❯ sudo kextload $KEXTNAME

Step 2

❯ ./logs.sh

Result

ERR: SecBoot CPU1 Status: 0x3, CPU2 Status: 0x13ce3d
ERR: timeout. iwl_fw_dbg_error_collect
ERR: Failed to start INIT ucode: -60
ERR: init mvm ucode fail
ERR: Failed to run INIT ucode: -60
CRIT: Driver failed to start

Expected behavior
Driver start without errors

Wireless card name
Intel(R) Wireless-AC 9260

Additional context

Type Item
CPU AMD Ryzen 5 3600
Motherboard MSI B450 GAMING PRO CARBON AC

Logs link

Activity

  1. added
    bug
    on Apr 23, 2020
  2. changed the title [-]Driver failed to start on macOS 10.15.4[/-] [+]Device initialization race condition[/+] on Apr 24, 2020
  3. rv32ima commented on Apr 24, 2020

    @rv32ima
    Member

    This is a race condition that occurs at

    ret = trans_ops->startFW(fw, run_in_rfkill);
    IWL_INFO(mvm, "startFW result: %d\n", ret);
    if (ret) {
    m_pDevice->cur_fw_img = old_type;
    iwl_remove_notification(&m_pDevice->notif_wait, &alive_wait);
    return ret;
    }
    // IOLockLock(trans->ucode_write_waitq);
    // AbsoluteTime deadline;
    // clock_interval_to_deadline(MVM_UCODE_ALIVE_TIMEOUT, kSecondScale, (UInt64 *) &deadline);
    // ret = IOLockSleepDeadline(trans->ucode_write_waitq, &alive_wait,
    // deadline, THREAD_INTERRUPTIBLE);
    // IOLockUnlock(trans->ucode_write_waitq);
    //
    // return 0;
    /*
    * Some things may run in the background now, but we
    * just wait for the ALIVE notification here.
    */
    IWL_INFO(0, "Waiting for alive signal");

    The actual notification is being fired, but it's somehow happening.... before we even wait for the notification to be posted??

  4. added
    P0
    on Apr 24, 2020
  5. XCreative commented on Apr 26, 2020

    @XCreative
    Author

    @hatf0 you need more logs or something i can help?

  6. loop0 commented on May 12, 2020

    @loop0

    I'm having the same issue with the same card

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions