openwrt / openwrt/mt76

mt7921u page_pool_create() gave up with errno -22

Open
#898 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

Running nightly openwrt with 6.6 kernel or 23.05 with 6.1 kernel on an Allwinner v3s board (licheepi dock) causes the page_pool_create() error to appear in the dmesg log when using a mt7921u usb device.

[ 14.257809] usb 2-1.3: reset high-speed USB device number 4 using ehci-platform
[ 14.427716] page_pool_create() gave up with errno -22
[ 14.433091] mt7921u: probe of 2-1.3:1.0 failed with error -22

current Makefile compile version:
PKG_SOURCE_URL:=https://github.com/openwrt/mt76
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2024-07-13
PKG_SOURCE_VERSION:=3b47d9df427c4833605a172f2a8f0e0012b04c80

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on the listed Allwinner v3s and kernel/OpenWrt combinations, then trace the mt7921u probe failure through page_pool_create(). No source file or test is named in the report, so locating the relevant driver entry point will require repository investigation. Done means the device probes without errno -22 or the cause is documented with a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.