From: David Heidelberg <david@ixit.cz>
To: Kuen-Han Tsai <khtsai@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@kernel.org, kernel test robot <oliver.sang@intel.com>,
LI Qingwu <qing-wu.li@leica-geosystems.com.cn>,
Ernest Van Hoecke <ernestvanhoecke@gmail.com>
Subject: Re: [PATCH v2 0/2] usb: gadget: Fix g_ncm regression and atomic sleep in f_ncm
Date: Mon, 2 Mar 2026 18:22:26 +0100 [thread overview]
Message-ID: <6cb5bd5e-2c83-44de-b3f2-09c110f83ab7@ixit.cz> (raw)
In-Reply-To: <915cc4ae-8bc6-409e-9811-b0e6d2b2d1b9@ixit.cz>
On 02/03/2026 16:41, David Heidelberg wrote:
> On 02/03/2026 11:15, Kuen-Han Tsai wrote:
> [...]>
>> David, could you share exactly what OS you are using (e.g.,
>> postmarketOS with an sdm845/6.18-dev tree)? Also, could you provide
>> some instructions on how to build the code and reproduce this problem
>> on a Pixel 3? If you have the time, it would be incredibly helpful if
>> you could dive into this a bit deeper on your device to see exactly
>> how the DHCP daemon is failing.
>
> Hello Kuen-Han,
>
> it's pmOS initrd, but generally I got reported same behaviour on Mobian (Mobile
> Debian) too.
>
> The Pixel 3 support was merged, so it can be reproduced with:
> 1. 7.0-rc1 tag
> 2. -next tree (latest tested is next-20260227)
> 3. our sdm845-next tree [1] (some WIP patches, working touchscreen on Pixel 3,
> etc.), the tree currently contains the reverts
I forgot to mention, the build is just (considering option 3., which includes
sdm845.config fragment):
make defconfig sdm845.config
make
mkbootimg (with params seen below)
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00000000"
deviceinfo_flash_offset_tags="0x00000100"
You can use Luca's [1] scripts for the processing kernel to be suitable for
fastboot (appends initrd to boot.img) and uploading kernel modules to pmOS rootfs.
Options 1. and 2. won't work directly with fastboot, as chainloaded u-boot is
needed due to fastboot requiring some ancient kernel offset to be in place (we
keep patch to workaround it in sdm845-next).
David
[1] https://github.com/z3ntu/linux-mainline-scripts/
>
> I can provide log with the patch [2], without the patch [3] (well, it's more
> like nothing is in the log)
>
> I'm very lightly familiar with usb subsystem, so if you give me hints what to
> look for (or what to debug), I'll try find a moment to check to move this forward.
>
> Thank you for working on improving usb gadgets!
> David
>
> [1] https://codeberg.org/sdm845/linux/
> [2] https://paste.sr.ht/~okias/35982d7e284ee0f767e57923ced591beb4d3b238#L589
> [3] https://paste.sr.ht/~okias/4e9172a34e4093445536b51e935dbd229edad7b2#L613
[...]
next prev parent reply other threads:[~2026-03-02 17:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-21 14:48 [PATCH v2 0/2] usb: gadget: Fix g_ncm regression and atomic sleep in f_ncm Kuen-Han Tsai
2026-02-21 14:48 ` [PATCH v2 1/2] usb: legacy: ncm: Fix NPE in gncm_bind Kuen-Han Tsai
2026-02-21 14:48 ` [PATCH v2 2/2] usb: gadget: f_ncm: Fix atomic context locking issue Kuen-Han Tsai
2026-02-28 21:03 ` [PATCH v2 0/2] usb: gadget: Fix g_ncm regression and atomic sleep in f_ncm David Heidelberg
2026-03-02 10:15 ` Kuen-Han Tsai
2026-03-02 13:05 ` Greg Kroah-Hartman
2026-03-02 15:41 ` David Heidelberg
2026-03-02 17:22 ` David Heidelberg [this message]
2026-03-03 10:24 ` Kuen-Han Tsai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6cb5bd5e-2c83-44de-b3f2-09c110f83ab7@ixit.cz \
--to=david@ixit.cz \
--cc=ernestvanhoecke@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=khtsai@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oliver.sang@intel.com \
--cc=qing-wu.li@leica-geosystems.com.cn \
--cc=stable@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox