* [PATCH] net: phy: avoid synchronous module request in async probe context
@ 2026-11-24 7:07 Hans Zhang
2026-11-25 7:37 ` netdev-bot+sashiko
0 siblings, 1 reply; 8+ messages in thread
From: Hans Zhang @ 2026-11-24 7:07 UTC (permalink / raw)
To: andrew, hkallweit1, davem, edumazet, kuba, pabeni
Cc: linux, netdev, Hans Zhang
phy_request_driver_module() calls request_module() with wait=true to
load a PHY driver. When the PHY device is probed from an async worker,
such as a PCIe host controller driver that sets PROBE_PREFER_ASYNCHRONOUS,
this triggers:
WARN_ON_ONCE(wait && current_is_async());
in __request_module(). On an arm64 board whose PCIe controller uses
PROBE_PREFER_ASYNCHRONOUS, probing an RTL8126A behind it produced:
WARNING: kernel/module/kmod.c:145 at __request_module+0x198/0x200, CPU#5: kworker/u49:0/77
Workqueue: async async_run_entry_fn
Call trace:
__request_module+0x198/0x200 (P)
phy_request_driver_module+0x11c/0x17c
phy_device_create+0x234/0x260
get_phy_device+0x74/0x150
mdiobus_scan+0x34/0x114
__mdiobus_register+0x1ec/0x450
__devm_mdiobus_register+0x70/0xe8
rtl_init_one+0x1350/0x16b0
local_pci_probe+0x40/0xa8
pci_call_probe+0x64/0x174
pci_device_probe+0xb4/0x144
really_probe+0xbc/0x298
__driver_probe_device+0x16c/0x19c
driver_probe_device+0x3c/0x114
__device_attach_driver+0xb8/0x118
bus_for_each_drv+0x84/0xe0
__device_attach+0x9c/0x194
device_initial_probe+0x50/0x68
pci_bus_add_device+0x6c/0xf8
pci_bus_add_devices+0x3c/0x88
pci_bus_add_devices+0x68/0x88
pci_host_probe+0x90/0x108
cdns_pcie_hpa_host_setup+0x300/0x684
sky1_pcie_probe+0x230/0x360
platform_probe+0x5c/0x9c
really_probe+0xbc/0x298
__driver_probe_device+0x16c/0x19c
driver_probe_device+0x3c/0x114
__driver_attach_async_helper+0x58/0xcc
async_run_entry_fn+0x34/0xe0
process_one_work+0x180/0x2dc
worker_thread+0x188/0x304
kthread+0x110/0x124
ret_from_fork+0x10/0x20
---[ end trace 0000000000000000 ]---
Use request_module_nowait() when current_is_async() is true so that the
PHY driver module load is requested without blocking the async worker.
The PHY driver will still bind later, when it registers and the driver
core attaches it to the already-created PHY device.
Signed-off-by: Hans Zhang <18255117159@163.com>
---
drivers/net/phy/phy_device.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
index b39e945cebd7..a634b8b0c5b2 100644
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
@@ -10,6 +10,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/acpi.h>
+#include <linux/async.h>
#include <linux/bitmap.h>
#include <linux/delay.h>
#include <linux/errno.h>
@@ -639,8 +640,12 @@ static int phy_request_driver_module(struct phy_device *dev, u32 phy_id)
{
int ret;
- ret = request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT,
- MDIO_ID_ARGS(phy_id));
+ if (current_is_async())
+ ret = request_module_nowait(MDIO_MODULE_PREFIX MDIO_ID_FMT,
+ MDIO_ID_ARGS(phy_id));
+ else
+ ret = request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT,
+ MDIO_ID_ARGS(phy_id));
/* We only check for failures in executing the usermode binary,
* not whether a PHY driver module exists for the PHY ID.
* Accept -ENOENT because this may occur in case no initramfs exists,
--
2.43.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] net: phy: avoid synchronous module request in async probe context
2026-11-24 7:07 [PATCH] net: phy: avoid synchronous module request in async probe context Hans Zhang
@ 2026-11-25 7:37 ` netdev-bot+sashiko
2026-11-25 7:55 ` Hans Zhang
0 siblings, 1 reply; 8+ messages in thread
From: netdev-bot+sashiko @ 2026-11-25 7:37 UTC (permalink / raw)
To: 18255117159
Cc: andrew, hkallweit1, davem, edumazet, kuba, pabeni, linux, netdev
Thank you for your contribution! Sashiko AI review found 3 potential
issue(s) to consider.
Critical: 0 · High: 1 · Medium: 0 · Low: 2
If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).
- [High] In async context, phy_request_driver_module()
(drivers/net/phy/phy_device.c:643-648) now calls…
- [Low] The commit message presents the fix as letting the module load be
'requested without blocking the async worker'.
- [Low] The patch fixes a user-visible boot-time WARN_ON_ONCE in
__request_module() (kernel/module/kmod.c:145), and the underlying path…
--
net: phy: avoid synchronous module request in async probe context
When phy_request_driver_module() runs from an async worker, it now calls
request_module_nowait() instead of request_module(). This avoids the
WARN_ON_ONCE(wait && current_is_async()) in __request_module(). The warning
was hit when probing an RTL8126A behind a PCIe host controller that uses
PROBE_PREFER_ASYNCHRONOUS.
> Use request_module_nowait() when current_is_async() is true so that the
> PHY driver module load is requested without blocking the async worker.
[Severity: Low]
Could the commit message describe the actual hazard behind the warning?
The comment above the WARN in __request_module() describes a deadlock, not
just blocking:
/*
* We don't allow synchronous module loading from async. Module
* init may invoke async_synchronize_full() which will end up
* waiting for this task which already is waiting for the module
* loading to complete, leading to a deadlock.
*/
do_init_module() calls async_synchronize_full() when the module has not
requested async probe. Before this patch, a PHY module that actually needed
loading could therefore hang the boot, not only warn.
The message also doesn't mention that the change drops the guarantee that
the PHY driver is loaded before phy_device_create() returns. Nothing else
makes up for this. mdio_uevent() only emits an OF-style MODALIAS, not a
PHY-ID based mdio: alias.
> Signed-off-by: Hans Zhang <18255117159@163.com>
[Severity: Low]
This fixes a user-visible WARN_ON_ONCE() in __request_module() and a
possible deadlock. Should it carry a Fixes: tag so backporters can tell
which kernels are affected?
> diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
> index b39e945cebd73..a634b8b0c5b2d 100644
> --- a/drivers/net/phy/phy_device.c
> +++ b/drivers/net/phy/phy_device.c
[ ... ]
> @@ -639,8 +640,12 @@ static int phy_request_driver_module(struct phy_device *dev, u32 phy_id)
> {
> int ret;
>
> - ret = request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT,
> - MDIO_ID_ARGS(phy_id));
> + if (current_is_async())
> + ret = request_module_nowait(MDIO_MODULE_PREFIX MDIO_ID_FMT,
> + MDIO_ID_ARGS(phy_id));
[Severity: High]
Can this leave the PHY device registered without its dedicated driver?
request_module_nowait() is __request_module(false, ...), which only waits
for modprobe to be exec'd:
kernel/module/kmod.c:__request_module() {
...
ret = call_modprobe(module_name, wait ? UMH_WAIT_PROC : UMH_WAIT_EXEC);
...
}
phy_device_create() therefore returns before the PHY module has loaded and
registered its phy_driver. The async worker then continues into
mdiobus_scan()->phy_device_register()->device_add() with no driver bound.
The comment in phy_device_create() explains why this request is
synchronous:
* We don't do normal hotplug because it won't work for MDIO
* -- because it relies on the device staying around for long
* enough for the driver to get loaded. With MDIO, the NIC
* driver will get bored and give up as soon as it finds that
* there's no driver _already_ loaded.
Take the RTL8126A from the commit message. r8169_mdio_register() checks for
the driver right after devm_mdiobus_register():
} else if (!tp->phydev->drv) {
...
return -EUNATCH;
}
If modprobe hasn't finished by then, wouldn't rtl_init_one() fail, so that
the NIC is never probed again? tg3_mdio_init() has a similar
!phydev->drv check and returns -ENODEV.
Some MACs attach the PHY before modprobe completes. For those,
phy_attach_direct() falls back to genphy:
if (!d->driver) {
if (phydev->is_c45)
d->driver = &genphy_c45_driver.mdiodrv.driver;
else
d->driver = &genphy_driver.mdiodrv.driver;
phydev->is_genphy_driven = 1;
}
Once genphy is bound, driver_attach() skips this device when the dedicated
driver registers later. Doesn't that contradict this part of the commit
message?
The PHY driver will still bind later, when it registers and the driver
core attaches it to the already-created PHY device.
r8169 is partly covered by MODULE_SOFTDEP("pre: realtek"), so realtek is
usually loaded already on the reporter's board. Other MACs have no such
protection.
Before this patch, with module.async_probe=1 or a per-module async_probe
option, the PHY module was loaded correctly and only the warning fired. With
this change, that case races instead.
Would it be better to keep the module load ordered before the PHY device is
registered? For example, the probe could be deferred, or the NIC could avoid
probing from async context. Either would avoid making the request
fire-and-forget.
> + else
> + ret = request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT,
> + MDIO_ID_ARGS(phy_id));
[ ... ]
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261124070753.25972-1-18255117159%40163.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] net: phy: avoid synchronous module request in async probe context
2026-11-25 7:37 ` netdev-bot+sashiko
@ 2026-11-25 7:55 ` Hans Zhang
2026-11-25 13:58 ` Andrew Lunn
0 siblings, 1 reply; 8+ messages in thread
From: Hans Zhang @ 2026-11-25 7:55 UTC (permalink / raw)
To: netdev-bot+sashiko
Cc: andrew, hkallweit1, davem, edumazet, kuba, pabeni, linux, netdev
On 11/25/26 15:37, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
>
> Critical: 0 · High: 1 · Medium: 0 · Low: 2
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [High] In async context, phy_request_driver_module()
> (drivers/net/phy/phy_device.c:643-648) now calls…
> - [Low] The commit message presents the fix as letting the module load be
> 'requested without blocking the async worker'.
> - [Low] The patch fixes a user-visible boot-time WARN_ON_ONCE in
> __request_module() (kernel/module/kmod.c:145), and the underlying path…
>
> --
>
> net: phy: avoid synchronous module request in async probe context
>
> When phy_request_driver_module() runs from an async worker, it now calls
> request_module_nowait() instead of request_module(). This avoids the
> WARN_ON_ONCE(wait && current_is_async()) in __request_module(). The warning
> was hit when probing an RTL8126A behind a PCIe host controller that uses
> PROBE_PREFER_ASYNCHRONOUS.
>
>> Use request_module_nowait() when current_is_async() is true so that the
>> PHY driver module load is requested without blocking the async worker.
>
> [Severity: Low]
> Could the commit message describe the actual hazard behind the warning?
>
> The comment above the WARN in __request_module() describes a deadlock, not
> just blocking:
>
> /*
> * We don't allow synchronous module loading from async. Module
> * init may invoke async_synchronize_full() which will end up
> * waiting for this task which already is waiting for the module
> * loading to complete, leading to a deadlock.
> */
>
> do_init_module() calls async_synchronize_full() when the module has not
> requested async probe. Before this patch, a PHY module that actually needed
> loading could therefore hang the boot, not only warn.
>
> The message also doesn't mention that the change drops the guarantee that
> the PHY driver is loaded before phy_device_create() returns. Nothing else
> makes up for this. mdio_uevent() only emits an OF-style MODALIAS, not a
> PHY-ID based mdio: alias.
>
>> Signed-off-by: Hans Zhang <18255117159@163.com>
>
> [Severity: Low]
> This fixes a user-visible WARN_ON_ONCE() in __request_module() and a
> possible deadlock. Should it carry a Fixes: tag so backporters can tell
> which kernels are affected?
>
>> diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
>> index b39e945cebd73..a634b8b0c5b2d 100644
>> --- a/drivers/net/phy/phy_device.c
>> +++ b/drivers/net/phy/phy_device.c
>
> [ ... ]
>
>> @@ -639,8 +640,12 @@ static int phy_request_driver_module(struct phy_device *dev, u32 phy_id)
>> {
>> int ret;
>>
>> - ret = request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT,
>> - MDIO_ID_ARGS(phy_id));
>> + if (current_is_async())
>> + ret = request_module_nowait(MDIO_MODULE_PREFIX MDIO_ID_FMT,
>> + MDIO_ID_ARGS(phy_id));
>
> [Severity: High]
> Can this leave the PHY device registered without its dedicated driver?
>
> request_module_nowait() is __request_module(false, ...), which only waits
> for modprobe to be exec'd:
>
> kernel/module/kmod.c:__request_module() {
> ...
> ret = call_modprobe(module_name, wait ? UMH_WAIT_PROC : UMH_WAIT_EXEC);
> ...
> }
>
> phy_device_create() therefore returns before the PHY module has loaded and
> registered its phy_driver. The async worker then continues into
> mdiobus_scan()->phy_device_register()->device_add() with no driver bound.
>
> The comment in phy_device_create() explains why this request is
> synchronous:
>
> * We don't do normal hotplug because it won't work for MDIO
> * -- because it relies on the device staying around for long
> * enough for the driver to get loaded. With MDIO, the NIC
> * driver will get bored and give up as soon as it finds that
> * there's no driver _already_ loaded.
>
> Take the RTL8126A from the commit message. r8169_mdio_register() checks for
> the driver right after devm_mdiobus_register():
>
> } else if (!tp->phydev->drv) {
> ...
> return -EUNATCH;
> }
>
> If modprobe hasn't finished by then, wouldn't rtl_init_one() fail, so that
> the NIC is never probed again? tg3_mdio_init() has a similar
> !phydev->drv check and returns -ENODEV.
>
> Some MACs attach the PHY before modprobe completes. For those,
> phy_attach_direct() falls back to genphy:
>
> if (!d->driver) {
> if (phydev->is_c45)
> d->driver = &genphy_c45_driver.mdiodrv.driver;
> else
> d->driver = &genphy_driver.mdiodrv.driver;
>
> phydev->is_genphy_driven = 1;
> }
>
> Once genphy is bound, driver_attach() skips this device when the dedicated
> driver registers later. Doesn't that contradict this part of the commit
> message?
>
> The PHY driver will still bind later, when it registers and the driver
> core attaches it to the already-created PHY device.
>
> r8169 is partly covered by MODULE_SOFTDEP("pre: realtek"), so realtek is
> usually loaded already on the reporter's board. Other MACs have no such
> protection.
>
> Before this patch, with module.async_probe=1 or a per-module async_probe
> option, the PHY module was loaded correctly and only the warning fired. With
> this change, that case races instead.
>
> Would it be better to keep the module load ordered before the PHY device is
> registered? For example, the probe could be deferred, or the NIC could avoid
> probing from async context. Either would avoid making the request
> fire-and-forget.
Hello,
Thank you for the review.
The High issue is correct: request_module_nowait() would make the PHY
module load fire-and-forget and could race with phy_device_register()
and the MAC's !phydev->drv check. I dropped that approach in v2.
v2 changes phy_request_driver_module() to return -EPROBE_DEFER when
current_is_async() is true. The parent device probe is then retried on
the deferred probe workqueue, where synchronous request_module() is safe,
and the existing guarantee that the PHY driver is loaded before
phy_device_create() returns is preserved.
The commit message now also describes the deadlock hazard behind the
WARN and carries a Fixes tag:
Fixes: 0fdff3ec6d87 ("async, kmod: warn on synchronous
request_module() from async workers")
Best regards,
Hans
>
>> + else
>> + ret = request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT,
>> + MDIO_ID_ARGS(phy_id));
>
> [ ... ]
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] net: phy: avoid synchronous module request in async probe context
2026-11-25 7:55 ` Hans Zhang
@ 2026-11-25 13:58 ` Andrew Lunn
2026-11-26 3:52 ` Hans Zhang
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2026-11-25 13:58 UTC (permalink / raw)
To: Hans Zhang
Cc: netdev-bot+sashiko, hkallweit1, davem, edumazet, kuba, pabeni,
linux, netdev
> The High issue is correct: request_module_nowait() would make the PHY
> module load fire-and-forget and could race with phy_device_register()
> and the MAC's !phydev->drv check. I dropped that approach in v2.
>
> v2 changes phy_request_driver_module() to return -EPROBE_DEFER when
> current_is_async() is true.
Sorry, i missed your patch. I've not looked at the details yet, but
are you sure you are in a context that can return -EPROBE_DEFER. PHY
drivers don't fit the usual driver model :-(
Andrew
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] net: phy: avoid synchronous module request in async probe context
2026-11-25 13:58 ` Andrew Lunn
@ 2026-11-26 3:52 ` Hans Zhang
2026-11-26 14:35 ` Andrew Lunn
0 siblings, 1 reply; 8+ messages in thread
From: Hans Zhang @ 2026-11-26 3:52 UTC (permalink / raw)
To: Andrew Lunn
Cc: netdev-bot+sashiko, hkallweit1, davem, edumazet, kuba, pabeni,
linux, netdev
[-- Attachment #1: Type: text/plain, Size: 8390 bytes --]
On 11/25/26 21:58, Andrew Lunn wrote:
>> The High issue is correct: request_module_nowait() would make the PHY
>> module load fire-and-forget and could race with phy_device_register()
>> and the MAC's !phydev->drv check. I dropped that approach in v2.
>>
>> v2 changes phy_request_driver_module() to return -EPROBE_DEFER when
>> current_is_async() is true.
>
> Sorry, i missed your patch. I've not looked at the details yet, but
> are you sure you are in a context that can return -EPROBE_DEFER. PHY
> drivers don't fit the usual driver model :-(
>
> Andrew
Hi Andrew,
Thanks, and you're right. phy_request_driver_module() is reached not only
through __mdiobus_register(), but also directly from get_phy_device() in
non-probe contexts (pxa168_eth_open(), the SFP state machine, DSA, etc.),
so returning -EPROBE_DEFER there leaks probe-only semantics into runtime
callers.
For v3 I'm considering moving the check to __mdiobus_register() itself,
returning -EPROBE_DEFER before the scan when current_is_async() is true.
__mdiobus_register() already returns -EPROBE_DEFER for the reset-GPIO
case, and the deferred-probe retry runs on a normal workqueue where
current_is_async() is false, so the synchronous request_module() is safe
again. Direct get_phy_device() callers would not be affected.
Preliminary test on sky1-xcp (3 PCIe root complexes): the kmod WARN is
gone, both RTL8126A NICs still probe and bind their PHY driver, and
NVMe/root come up without any deferred-probe timeout.
Does that look like a reasonable direction before I send v3?
In the attached log file,
dmesg_01.log is the log before the fix was applied.
dmesg_02.log is the log with the v3 patch attached.
Here are the changes I want to make.
From 6c966af642a4bbc68805935791e244468fae775d Mon Sep 17 00:00:00 2001
From: Hans Zhang <18255117159@163.com>
Date: Thu, 26 Nov 2026 11:33:39 +0800
Subject: [PATCH v3] net: phy: defer mdiobus_register() from async probe
context
mdiobus_scan() loads the PHY driver module with a synchronous
request_module() so that the driver is present before the PHY device is
registered. That call is not safe from async probe context: module init
may call async_synchronize_full(), which waits for the current async
worker and can deadlock.
Return -EPROBE_DEFER from __mdiobus_register() when current_is_async()
is true. The parent device probe is then retried from the deferred
probe workqueue, where a synchronous request_module() is safe, and the
guarantee that the PHY driver is loaded before device registration is
preserved. __mdiobus_register() already returns -EPROBE_DEFER for the
reset-GPIO case, so this matches existing behavior.
This fixes the WARN below and the possible deadlock, observed on an
arm64 board whose PCIe host controller uses PROBE_PREFER_ASYNCHRONOUS
while probing an RTL8126A. That controller probes up to five PCIe root
complexes in parallel to keep boot time down, so dropping async probe is
not a fix; the same issue is reachable on any board via
module.async_probe=1 or a driver setting PROBE_PREFER_ASYNCHRONOUS.
WARNING: kernel/module/kmod.c:145 at __request_module+0x198/0x200,
CPU#5: kworker/u49:0/77
Workqueue: async async_run_entry_fn
Call trace:
__request_module+0x198/0x200 (P)
phy_request_driver_module+0x11c/0x17c
phy_device_create+0x234/0x260
get_phy_device+0x74/0x150
mdiobus_scan+0x34/0x114
__mdiobus_register+0x1ec/0x450
__devm_mdiobus_register+0x70/0xe8
rtl_init_one+0x1350/0x16b0
local_pci_probe+0x40/0xa8
pci_call_probe+0x64/0x174
pci_device_probe+0xb4/0x144
really_probe+0xbc/0x298
__driver_probe_device+0x16c/0x19c
driver_probe_device+0x3c/0x114
__device_attach_driver+0xb8/0x118
bus_for_each_drv+0x84/0xe0
__device_attach+0x9c/0x194
device_initial_probe+0x50/0x68
pci_bus_add_device+0x6c/0xf8
pci_bus_add_devices+0x3c/0x88
pci_bus_add_devices+0x68/0x88
pci_host_probe+0x90/0x108
cdns_pcie_hpa_host_setup+0x300/0x684
sky1_pcie_probe+0x230/0x360
platform_probe+0x5c/0x9c
really_probe+0xbc/0x298
__driver_probe_device+0x16c/0x19c
driver_probe_device+0x3c/0x114
__driver_attach_async_helper+0x58/0xcc
async_run_entry_fn+0x34/0xe0
process_one_work+0x180/0x2dc
worker_thread+0x188/0x304
kthread+0x110/0x124
ret_from_fork+0x10/0x20
---[ end trace 0000000000000000 ]---
Fixes: 0fdff3ec6d87 ("async, kmod: warn on synchronous request_module()
from async workers")
Co-developed-by: Kai Xia <503536682@qq.com>
Signed-off-by: Kai Xia <503536682@qq.com>
Signed-off-by: Hans Zhang <18255117159@163.com>
---
drivers/net/phy/mdio_bus_provider.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/phy/mdio_bus_provider.c
b/drivers/net/phy/mdio_bus_provider.c
index ce3a607a40cb0..b722ba97fdcbe 100644
--- a/drivers/net/phy/mdio_bus_provider.c
+++ b/drivers/net/phy/mdio_bus_provider.c
@@ -8,6 +8,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+#include <linux/async.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/errno.h>
@@ -560,6 +561,16 @@ int __mdiobus_register(struct mii_bus *bus, struct
module *owner)
if (!bus || !bus->name)
return -EINVAL;
+ /* mdiobus_scan() requests the PHY driver module with a synchronous
+ * request_module() so the driver is present before the PHY device is
+ * registered. That is not safe from an async worker: module init may
+ * call async_synchronize_full() and deadlock waiting for this worker.
+ * Defer the probe instead; the retry runs on the deferred-probe
+ * workqueue, where a synchronous module request is safe.
+ */
+ if (current_is_async())
+ return -EPROBE_DEFER;
+
/* An access method always needs both read and write operations */
if (!!bus->read != !!bus->write || !!bus->read_c45 != !!bus->write_c45)
return -EINVAL;
base-commit: 4dce97c6c265544342e716e62fd24bbb232590c5
--
2.43.0
This patch fixes a WARN_ON_ONCE() and a possible deadlock when an MDIO
bus is scanned from async probe context.
Background: the SoC where this was observed has five PCIe root complexes
(another board variant, sky1-xcp, has three), driven by a controller
driver that sets PROBE_PREFER_ASYNCHRONOUS so the root complexes are
enumerated in parallel and boot time stays acceptable. When that
controller enumerates an RTL8126A NIC, the NIC's mdiobus_register() runs
in an async worker and phy_device_create()'s synchronous request_module()
triggers WARN_ON_ONCE(wait && current_is_async()) and can deadlock
(module init may call async_synchronize_full()).
The fix returns -EPROBE_DEFER from __mdiobus_register() when
current_is_async(), so the probe is retried on the deferred-probe
workqueue where the synchronous module request is safe. This preserves
the guarantee that the PHY driver is loaded before the PHY device is
registered, and matches the existing reset-GPIO deferral path.
Changes since v1:
- v1 used request_module_nowait(), which races with the MAC's
!phydev->drv check because MDIO has no PHY-ID based hotplug.
Changes since v2:
- v2 returned -EPROBE_DEFER from phy_request_driver_module(). Andrew
pointed out that leaf is also reached from non-probe contexts
(pxa168_eth_open(), the SFP state machine, DSA, etc.), where
-EPROBE_DEFER is wrong. v3 moves the check to __mdiobus_register().
Tested on sky1-xcp (3 PCIe root complexes enabled):
- Before this patch, the boot log contains:
WARNING: kernel/module/kmod.c:145 at __request_module+0x198/0x200
with the async_run_entry_fn -> ... -> phy_request_driver_module()
call trace.
- With this patch, that WARN is gone. Both onboard RTL8126A NICs still
probe and bind their PHY driver (no "no dedicated PHY driver found"
and no -EUNATCH). NVMe/root and the serial console come up normally.
- Timestamps show no deferred-probe regression: r8169 eth0/eth1 appear
at about 2.15s and nvme0 at about 2.15-2.40s, comparable to the
unpatched kernel; no 10-second deferred-probe timeout.
(sky1-orion-o6, which enables all five root complexes, is pending if
the board is available.)
Disclosure: the analysis that determined the v3 approach (moving the
check from phy_request_driver_module() to __mdiobus_register()) was
performed with the help of an AI coding assistant; the patch was
reviewed and tested by the author.
Best regards,
Hans
[-- Attachment #2: dmesg_01.log --]
[-- Type: text/x-log, Size: 58704 bytes --]
GNU GRUB version 2.11
/----------------------------------------------------------------------------\
|setparams '1 OrangePi 6 Plus (DT)' |
| |
| devicetree /sky1-xcp.dtb |
| linux /Image-xcp \ |
| console=ttyAMA2,115200 \ |
| efi=noruntime \ |
| earlycon=pl011,0x040d0000 \ |
| arm-smmu-v3.disable_bypass=0 \ |
| acpi=off \ |
| clk_ignore_unused=1 \ |
| loglevel=7 \ |
Booting a command list\ |
| root=PARTUUID=228a6699-98b9-4e75-b31c-149ccf1bbc9d rootwait rw |v
linux: kernel file size: 26724864, file /Image-xcptb 16.02KiB 100% 0.00B/s ]
linux: kernel numpages: 6525
linux: kernel @ 0x475b82000reen edi [ Image-xcp 25.49MiB 100% 1.11B/s ]
linux: loaded=1ns. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for a
[ 0.000000] Booting Linux on physical CPU 0x0000000a00 [0x410fd811].
[ 0.000000] Linux version 7.4.0-rc4-00260-g4dce97c6c265 (power@Precision-7960) (aarch64-none-linux-gnu-gcc (Arm GNU Toolcha6
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: Xunlong,OrangePi 6 Plus
[ 0.000000] earlycon: pl11 MMIO:0x00000000040d0000 (options '')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] efi: EFI v2.7 by EDK II
[ 0.000000] efi: ACPI 2.0=0x479880018 SMBIOS 3.0=0x47e820000 MEMATTR=0x47b64b018 RNG=0x47988fe18 MEMRESERVE=0x479895098
[ 0.000000] random: crng init done
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000447600000, size 640 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] OF: reserved mem: 0x0000000447600000..0x000000046f5fffff (655360 KiB) map reusable linux,cma
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x000000047fffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x47d740540-0x47d742c3f]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x000000047fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000843fffff]
[ 0.000000] node 0: [mem 0x0000000084400000-0x00000000845fffff]
[ 0.000000] node 0: [mem 0x0000000085000000-0x0000000085efffff]
[ 0.000000] node 0: [mem 0x0000000085f00000-0x0000000085ffffff]
[ 0.000000] node 0: [mem 0x0000000086000000-0x000000009fffffff]
[ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000a7ffffff]
[ 0.000000] node 0: [mem 0x00000000a8000000-0x00000000fffdffff]
[ 0.000000] node 0: [mem 0x00000000fffe0000-0x00000000fffeffff]
[ 0.000000] node 0: [mem 0x00000000ffff0000-0x00000000ffffdfff]
[ 0.000000] node 0: [mem 0x00000000ffffe000-0x00000000ffffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x000000047e13ffff]
[ 0.000000] node 0: [mem 0x000000047e140000-0x000000047ea3ffff]
[ 0.000000] node 0: [mem 0x000000047ea40000-0x000000047fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000047fffffff]
[ 0.000000] On node 0, zone DMA: 2560 pages in unavailable ranges
[ 0.000000] percpu: Embedded 26 pages/cpu s66264 r8192 d32040 u106496
[ 0.000000] CPU features: detected: Address authentication (architected QARMA3 algorithm)
[ 0.000000] CPU features: detected: GICv3 CPU interface
[ 0.000000] CPU features: detected: HCRX_EL2 register
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: detected: Memory Tagging Extension
[ 0.000000] CPU features: detected: Asymmetric MTE Tag Check Fault
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: detected: SSBS not fully self-synchronizing
[ 0.000000] CPU features: detected: Broken AMU AMEVCNTR01 (const counter)
[ 0.000000] CPU features: detected: Broken AMU AMEVCNTR00 (core cycle counter)
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: BOOT_IMAGE=/Image-xcp console=ttyAMA2,115200 efi=noruntime earlycon=pl011,0x040d0000 arm-sw
[ 0.000000] PCIe ASPM is disabled
[ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[ 0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] software IO TLB: area num 16.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfe0000-0x00000000fffe0000] (64MB)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 4191744
[ 0.000000] Policy zone: Normal
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=12.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[ 0.000000] RCU Tasks: Setting shift to 4 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=12.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GIC: enabling workaround for GICv3: ARM64 erratum 2941627
[ 0.000000] GICv3: 512 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs, DirectLPI
[ 0.000000] GICv3: GICv4 features: DirectLPI RVPEID Valid+Dirty
[ 0.000000] GICv3: GICD_CTLR.DS=0, SCR_EL3.FIQ=1
[ 0.000000] GICv3: CPU0: found redistributor a00 region 0:0x000000000e310000
[ 0.000000] ITS [mem 0x0e050000-0x0e07ffff]
[ 0.000000] ITS@0x000000000e050000: Single VMOVP capable
[ 0.000000] ITS@0x000000000e050000: Using GICv4.1 mode 00000000 00000001
[ 0.000000] ITS@0x000000000e050000: allocated 8192 Devices @1000f0000 (indirect, esz 8, psz 64K, shr 1)
[ 0.000000] ITS@0x000000000e050000: allocated 32768 Interrupt Collections @100100000 (flat, esz 2, psz 64K, shr 1)
[ 0.000000] ITS@0x000000000e050000: allocated 8192 Virtual CPUs @100110000 (flat, esz 8, psz 64K, shr 1)
[ 0.000000] GICv3: using LPI property table @0x0000000100120000
[ 0.000000] ITS: Using DirectLPI for VPE invalidation
[ 0.000000] ITS: Enabling GICv4 support
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000100130000
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[1] /cpus/cpu@100[2] /cpus/cpu@200[3] /cpus/cpu}
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@400[5] /cpus/cpu@500[6] /cpus/cpu@600[7] /cpus/c}
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.000000] arch_timer: cp15 timer running at 1000.00MHz (hyp-virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x1fffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] sched_clock: 61 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.008307] Console: colour dummy device 80x25
[ 0.012825] Calibrating delay loop (skipped), value calculated using timer frequency.. 2000.00 BogoMIPS (lpj=4000000)
[ 0.023553] pid_max: default: 32768 minimum: 301
[ 0.028360] VFS: Disk quotas dquot_6.6.0
[ 0.032320] VFS: Dquot-cache hash table entries: 512 (4096 bytes)
[ 0.038499] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.046158] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.054338] VFS: Finished mounting rootfs on nullfs
[ 0.059871] rcu: Hierarchical SRCU implementation.
[ 0.064714] rcu: Max phase no-delay instances is 1000.
[ 0.070031] Timer migration: 2 hierarchy levels; 8 children per group; 2 crossnode level
[ 0.078251] EFI runtime services will be disabled.
[ 0.083179] smp: Bringing up secondary CPUs ...
[ 0.087980] CPU features: detected: ARM errata 2966298, 3117295
[ 0.087997] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU1: 02
[ 0.088008] CPU features: Unsupported CPU feature variation detected.
[ 0.088024] GICv3: CPU1: found redistributor 0 region 0:0x000000000e090000
[ 0.088037] GICv3: CPU1: using allocated LPI pending table @0x0000000100140000
[ 0.088064] CPU1: Booted secondary processor 0x0000000000 [0x410fd801]
[ 0.088389] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU2: 02
[ 0.088420] GICv3: CPU2: found redistributor 100 region 0:0x000000000e0d0000
[ 0.088432] GICv3: CPU2: using allocated LPI pending table @0x0000000100150000
[ 0.088460] CPU2: Booted secondary processor 0x0000000100 [0x410fd801]
[ 0.088775] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU3: 02
[ 0.088807] GICv3: CPU3: found redistributor 200 region 0:0x000000000e110000
[ 0.088820] GICv3: CPU3: using allocated LPI pending table @0x0000000100160000
[ 0.088848] CPU3: Booted secondary processor 0x0000000200 [0x410fd801]
[ 0.089159] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU4: 02
[ 0.089194] GICv3: CPU4: found redistributor 300 region 0:0x000000000e150000
[ 0.089207] GICv3: CPU4: using allocated LPI pending table @0x0000000100170000
[ 0.089234] CPU4: Booted secondary processor 0x0000000300 [0x410fd801]
[ 0.089508] GICv3: CPU5: found redistributor 400 region 0:0x000000000e190000
[ 0.089517] GICv3: CPU5: using allocated LPI pending table @0x0000000100180000
[ 0.089533] CPU5: Booted secondary processor 0x0000000400 [0x410fd811]
[ 0.089742] GICv3: CPU6: found redistributor 500 region 0:0x000000000e1d0000
[ 0.089753] GICv3: CPU6: using allocated LPI pending table @0x0000000100190000
[ 0.089771] CPU6: Booted secondary processor 0x0000000500 [0x410fd811]
[ 0.089978] GICv3: CPU7: found redistributor 600 region 0:0x000000000e210000
[ 0.089989] GICv3: CPU7: using allocated LPI pending table @0x00000001001a0000
[ 0.090007] CPU7: Booted secondary processor 0x0000000600 [0x410fd811]
[ 0.090214] GICv3: CPU8: found redistributor 700 region 0:0x000000000e250000
[ 0.090224] GICv3: CPU8: using allocated LPI pending table @0x00000001001b0000
[ 0.090243] CPU8: Booted secondary processor 0x0000000700 [0x410fd811]
[ 0.090447] GICv3: CPU9: found redistributor 800 region 0:0x000000000e290000
[ 0.090457] GICv3: CPU9: using allocated LPI pending table @0x00000001001c0000
[ 0.090474] CPU9: Booted secondary processor 0x0000000800 [0x410fd811]
[ 0.090675] GICv3: CPU10: found redistributor 900 region 0:0x000000000e2d0000
[ 0.090685] GICv3: CPU10: using allocated LPI pending table @0x00000001001d0000
[ 0.090704] CPU10: Booted secondary processor 0x0000000900 [0x410fd811]
[ 0.090909] GICv3: CPU11: found redistributor b00 region 0:0x000000000e350000
[ 0.090920] GICv3: CPU11: using allocated LPI pending table @0x00000001001e0000
[ 0.090938] CPU11: Booted secondary processor 0x0000000b00 [0x410fd811]
[ 0.091038] smp: Brought up 1 node, 12 CPUs
[ 0.390213] SMP: Total of 12 processors activated.
[ 0.395051] CPU: All CPU(s) started at EL2
[ 0.399191] CPU features: detected: Branch Target Identification
[ 0.405262] CPU features: detected: ARMv8.4 Translation Table Level
[ 0.411596] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.420300] CPU features: detected: Common not Private translations
[ 0.426634] CPU features: detected: CRC32 instructions
[ 0.431823] CPU features: detected: Data independent timing control (DIT)
[ 0.438681] CPU features: detected: E0PD
[ 0.442638] CPU features: detected: Enhanced Counter Virtualization
[ 0.448969] CPU features: detected: Enhanced Counter Virtualization (CNTPOFF)
[ 0.456179] CPU features: detected: Enhanced Privileged Access Never
[ 0.462597] CPU features: detected: Enhanced Virtualization Traps
[ 0.468753] CPU features: detected: Fine Grained Traps
[ 0.473941] CPU features: detected: Generic authentication (architected QARMA3 algorithm)
[ 0.482206] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.488010] CPU features: detected: LSE atomic instructions
[ 0.493637] CPU features: detected: Privileged Access Never
[ 0.499265] CPU features: detected: PMUv3
[ 0.503311] CPU features: detected: RAS Extension Support
[ 0.508764] CPU features: detected: RASv1p1 Extension Support
[ 0.514567] CPU features: detected: Speculation barrier (SB)
[ 0.520282] CPU features: detected: Stage-2 Force Write-Back
[ 0.525997] CPU features: detected: TLB range maintenance instructions
[ 0.532591] CPU features: detected: WFx with timeout
[ 0.537603] CPU features: detected: XNX
[ 0.541472] CPU features: detected: Memory Partitioning And Monitoring
[ 0.548067] CPU features: detected: Memory Partitioning And Monitoring Virtualisation
[ 0.555979] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.563013] CPU features: detected: Scalable Vector Extension
[ 0.568855] alternatives: applying system-wide alternatives
[ 0.575951] CPU features: detected: Activity Monitors Unit (AMU) on CPU0-11
[ 0.582994] CPU features: detected: ICV_DIR_EL1 trapping
[ 0.588359] CPU features: detected: Hardware dirty bit management on CPU0-11
[ 0.595483] SVE: maximum available vector length 16 bytes per vector
[ 0.601902] SVE: default vector length 16 bytes per vector
[ 0.608066] Memory: 15475176K/16766976K available (15232K kernel code, 1266K rwdata, 5972K rodata, 3456K init, 604K bss, 62)
[ 0.622893] devtmpfs: initialized
[ 0.628454] posixtimers hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.636075] futex hash table entries: 4096 (262144 bytes on 1 NUMA nodes, total 256 KiB, linear).
[ 0.646148] 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[ 0.652486] 0 pages in range for non-PLT usage
[ 0.652488] 517584 pages in range for PLT usage
[ 0.657229] DMI: SMBIOS 3.6.0 present.
[ 0.665594] DMI: Cix Technology Group Co., Ltd. CIX Phecda Board/CIX Phecda Board, BIOS 1.3 11/13/2025
[ 0.675024] DMI: Memory slots populated: 4/4
[ 0.680236] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.686682] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.693961] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.701886] audit: initializing netlink subsys (disabled)
[ 0.707435] audit: type=2000 audit(0.404:1): state=initialized audit_enabled=0 res=1
[ 0.707613] thermal_sys: Registered thermal governor 'step_wise'
[ 0.715273] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.721374] cpuidle: using governor menu
[ 0.731968] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.738999] ASID allocator initialised with 65536 entries
[ 0.744487] Serial: AMBA PL011 UART driver
[ 0.749010] /soc@0/interrupt-controller@e010000: Fixed dependency cycle(s) with /soc@0/interrupt-controller@e010000
[ 0.759648] /soc@0/pinctrl@4170000: Fixed dependency cycle(s) with /soc@0/pinctrl@4170000/hog-cfg
[ 0.769119] /soc@0/pinctrl@16007000: Fixed dependency cycle(s) with /soc@0/pinctrl@16007000/hog-s5-cfg
[ 0.778970] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.785838] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.792171] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.799029] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.805361] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.812219] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.818552] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.825411] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.832742] ACPI: Interpreter disabled.
[ 0.836803] iommu: Default domain type: Translated
[ 0.841642] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.848387] SCSI subsystem initialized
[ 0.852313] usbcore: registered new interface driver usbfs
[ 0.857862] usbcore: registered new interface driver hub
[ 0.863239] usbcore: registered new device driver usb
[ 0.868396] pps_core: LinuxPPS API ver. 1 registered
[ 0.873409] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.882645] PTP clock support registered
[ 0.886617] EDAC MC: Ver: 3.0.0
[ 0.889934] scmi_core: SCMI protocol bus registered
[ 0.895026] FPGA manager framework
[ 0.898810] vgaarb: loaded
[ 0.901693] clocksource: Switched to clocksource arch_sys_counter
[ 0.912377] pnp: PnP ACPI: disabled
[ 0.916059] NET: Registered PF_INET protocol family
[ 0.921105] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.932229] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.940965] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.948797] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.957090] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[ 0.964791] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.971515] UDP hash table entries: 8192 (order: 7, 524288 bytes, linear)
[ 0.978481] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.984460] RPC: Registered named UNIX socket transport module.
[ 0.990447] RPC: Registered udp transport module.
[ 0.995197] RPC: Registered tcp transport module.
[ 0.999946] RPC: Registered tcp-with-tls transport module.
[ 1.005486] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.011997] PCI: CLS 0 bytes, default 64
[ 1.015976] NET: Registered PF_INET6 protocol family
[ 1.021330] Segment Routing with IPv6
[ 1.025036] In-situ OAM (IOAM) with IPv6
[ 1.030022] kvm [1]: nv: 576 coarse grained trap handlers
[ 1.035606] kvm [1]: nv: 710 fine grained trap handlers
[ 1.040977] kvm [1]: IPA Size Limit: 40 bits
[ 1.045302] kvm [1]: GICv4 support disabled
[ 1.049526] kvm [1]: GICv3: no GICV resource entry
[ 1.054367] kvm [1]: disabling GICv2 emulation
[ 1.058875] kvm [1]: GIC system register CPU interface enabled
[ 1.064777] kvm [1]: vgic interrupt IRQ9
[ 1.068759] kvm [1]: VHE mode initialized successfully
[ 1.074633] Initialise system trusted keyrings
[ 1.079313] workingset: timestamp_bits=42 (anon: 37) max_order=22 bucket_order=0 (anon: 0)
[ 1.087792] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.093719] Key type nfs_keyring registered
[ 1.098072] NFS: Registering the id_resolver key type
[ 1.103179] Key type id_resolver registered
[ 1.107405] Key type id_legacy registered
[ 1.111458] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.118234] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.125815] 9p: Installing v9fs 9p2000 file system support
[ 1.143391] Key type asymmetric registered
[ 1.147527] Asymmetric key parser 'x509' registered
[ 1.152467] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 1.159943] io scheduler mq-deadline registered
[ 1.164517] io scheduler kyber registered
[ 1.168579] io scheduler bfq registered
[ 1.173056] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.179293] sky1-pcie a0c0000.pcie: host bridge /soc@0/pcie@a0c0000 ranges:
[ 1.179372] sky1-pcie a0e0000.pcie: host bridge /soc@0/pcie@a0e0000 ranges:
[ 1.181646] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.186344] sky1-pcie a0c0000.pcie: IO 0x0040100000..0x00401fffff -> 0x0040100000
[ 1.193416] sky1-pcie a0e0000.pcie: IO 0x0038100000..0x00381fffff -> 0x0038100000
[ 1.199746] sky1-pcie a0c0000.pcie: MEM 0x0040200000..0x004fffffff -> 0x0040200000
[ 1.201527] loop: module loaded
[ 1.201679] megasas: 07.734.00.00-rc1
[ 1.202830] tun: Universal TUN/TAP device driver, 1.6
[ 1.203009] thunder_xcv, ver 1.0
[ 1.203023] thunder_bgx, ver 1.0
[ 1.203032] nicpf, ver 1.0
[ 1.203044] e1000: Intel(R) PRO/1000 Network Driver
[ 1.203045] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.203056] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.203057] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.203065] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.203067] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.203077] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.203078] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.203106] sky2: driver version 1.30
[ 1.203328] VFIO - User Level meta-driver version: 0.3
[ 1.203672] usbcore: registered new interface driver usb-storage
[ 1.204022] i2c_dev: i2c /dev entries driver
[ 1.204710] arm-scmi arm-scmi.0.auto: Using scmi_smc_transport
[ 1.204715] arm-scmi arm-scmi.0.auto: SCMI max-rx-timeout: 30ms / max-msg-size: 104bytes / max-msg: 20
[ 1.204757] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[ 1.204836] arm-scmi arm-scmi.0.auto: SCMI Notifications - Core Enabled.
[ 1.204864] arm-scmi arm-scmi.0.auto: Malformed reply - real_sz:8 calc_sz:4 (loop_num_ret:1)
[ 1.204867] arm-scmi arm-scmi.0.auto: SCMI Protocol v2.0 'CIX:' Firmware version 0x0
[ 1.204876] arm-scmi arm-scmi.0.auto: Enabling SCMI Quirk [quirk_clock_rates_triplet_out_of_spec]
[ 1.207802] sky1-pcie a0e0000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000
[ 1.208361] scmi-power-domain scmi_dev.2: Initialized 22 power domains
[ 1.208400] arm-scmi arm-scmi.1.auto: Using scmi_mailbox_transport
[ 1.208403] arm-scmi arm-scmi.1.auto: SCMI max-rx-timeout: 30ms / max-msg-size: 104bytes / max-msg: 20
[ 1.208524] arm-scmi arm-scmi.1.auto: SCMI Notifications - Core Enabled.
[ 1.208901] arm-scmi arm-scmi.1.auto: SCMI Protocol v2.0 'cix:cix' Firmware version 0x20b0000
[ 1.209448] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:0] - ret:-95. Using regular messa.
[ 1.209828] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:8 / RES_ID:1] - ret:-95. Using regular messa.
[ 1.209897] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:1] - ret:-95. Using regular messa.
[ 1.209962] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:7 / RES_ID:1] - ret:-95. Using regular messa.
[ 1.210004] arm-scmi arm-scmi.1.auto: multiplier for domain 2 rounded
[ 1.210182] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:2] - ret:-95. Using regular messa.
[ 1.210288] arm-scmi arm-scmi.1.auto: multiplier for domain 3 rounded
[ 1.210503] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:3] - ret:-95. Using regular messa.
[ 1.210755] arm-scmi arm-scmi.1.auto: multiplier for domain 4 rounded
[ 1.210981] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:4] - ret:-95. Using regular messa.
[ 1.211087] arm-scmi arm-scmi.1.auto: multiplier for domain 5 rounded
[ 1.211300] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:5] - ret:-95. Using regular messa.
[ 1.211407] arm-scmi arm-scmi.1.auto: multiplier for domain 6 rounded
[ 1.211795] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:6] - ret:-95. Using regular messa.
[ 1.212010] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:8 / RES_ID:7] - ret:-95. Using regular messa.
[ 1.212078] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:7] - ret:-95. Using regular messa.
[ 1.212147] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:7 / RES_ID:7] - ret:-95. Using regular messa.
[ 1.212666] scmi-perf-domain scmi_dev.5: Initialized 12 performance domains
[ 1.215894] sky1-pcie a0c0000.pcie: MEM 0x1000000000..0x13ffffffff -> 0x1000000000
[ 1.223985] sky1-pcie a0e0000.pcie: MEM 0x0c00000000..0x0fffffffff -> 0x0c00000000
[ 1.227179] sky1-pcie a0c0000.pcie: ECAM at [mem 0x26000000-0x28ffffff] for [bus 60-8f]
[ 1.230873] sky1-pcie a0e0000.pcie: ECAM at [mem 0x23000000-0x25ffffff] for [bus 30-5f]
[ 1.235948] sky1-pcie a0c0000.pcie: Link up
[ 1.239206] sky1-pcie a0e0000.pcie: Link up
[ 1.242518] sky1-pcie a0c0000.pcie: PCI host bridge to bus 0000:60
[ 1.306483] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 1.309577] pci_bus 0000:60: root bus resource [bus 60-8f]
[ 1.315657] usbcore: registered new interface driver usbhid
[ 1.324869] pci_bus 0000:60: root bus resource [io 0x0000-0xfffff] (bus address [0x40100000-0x401fffff])
[ 1.324871] pci_bus 0000:60: root bus resource [mem 0x40200000-0x4fffffff]
[ 1.324873] pci_bus 0000:60: root bus resource [mem 0x1000000000-0x13ffffffff pref]
[ 1.324895] pci 0000:60:00.0: [1f6c:0001] type 01 class 0x060400 PCIe Root Port
[ 1.332524] usbhid: USB HID core driver
[ 1.339308] pci 0000:60:00.0: PCI bridge to [bus 61]
[ 1.695709] pci 0000:60:00.0: bridge window [io 0x0000-0x0fff]
[ 1.695777] hw perfevents: enabled with armv9_cortex_a520 PMU driver, 7 (0,8000003f) counters available
[ 1.701875] pci 0000:60:00.0: bridge window [mem 0x40000000-0x400fffff]
[ 1.718286] pci 0000:60:00.0: supports D1
[ 1.718325] hw perfevents: enabled with armv9_cortex_a720 PMU driver, 21 (0,800fffff) counters available
[ 1.722339] pci 0000:60:00.0: PME# supported from D0 D1 D3hot
[ 1.722681] pci 0000:61:00.0: [10ec:8126] type 00 class 0x020000 PCIe Endpoint
[ 1.732147] NET: Registered PF_PACKET protocol family
[ 1.737780] pci 0000:61:00.0: BAR 0: initial BAR value 0x00000000 invalid
[ 1.745074] 9pnet: Installing 9P2000 support
[ 1.750142] pci 0000:61:00.0: BAR 0 [io size 0x0100]
[ 1.750149] pci 0000:61:00.0: BAR 2 [mem 0x40000000-0x4000ffff 64bit]
[ 1.757026] Key type dns_resolver registered
[ 1.761318] pci 0000:61:00.0: BAR 4 [mem 0x40010000-0x40013fff 64bit]
[ 1.772939] registered taskstats version 1
[ 1.777349] pci 0000:61:00.0: supports D1 D2
[ 1.783859] Loading compiled-in X.509 certificates
[ 1.787881] pci 0000:61:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.788052] pci 0000:60:00.0: bridge window [mem 0x40200000-0x402fffff]: assigned
[ 1.788084] sky1-pcie a0e0000.pcie: PCI host bridge to bus 0001:30
[ xfffffffff pref]
[ 1.788113] pci 0001:30:00.0: [1f6c:0001] type 01 class 0x060400 PCIe Root Port
[ 1.788127] pci 0001:30:00.0: PCI bridge to [bus 31]
[ 1.788131] pci 0001:30:00.0: bridge window [io 0x0000-0x0fff]
[ 1.788134] pci 0001:30:00.0: bridge window [mem 0x38000000-0x380fffff]
[ 1.788191] pci 0001:30:00.0: supports D1
[ 1.788193] pci 0001:30:00.0: PME# supported from D0 D1 D3hot
[ 1.788529] pci 0001:31:00.0: [10ec:8126] type 00 class 0x020000 PCIe Endpoint
[ 1.788580] pci 0001:31:00.0: BAR 0 [io 0x1000-0x10ff]
[ 1.788586] pci 0001:31:00.0: BAR 2 [mem 0x38000000-0x3800ffff 64bit]
[ 1.788590] pci 0001:31:00.0: BAR 4 [mem 0x38010000-0x38013fff 64bit]
[ 1.788716] pci 0001:31:00.0: supports D1 D2
[ 1.788717] pci 0001:31:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.788893] pci 0001:30:00.0: bridge window [mem 0x38200000-0x382fffff]: assigned
[ 1.788895] pci 0001:30:00.0: bridge window [io 0x100000-0x100fff]: assigned
[ 1.788898] pci 0001:31:00.0: BAR 2 [mem 0x38200000-0x3820ffff 64bit]: assigned
[ 1.788910] pci 0001:31:00.0: BAR 4 [mem 0x38210000-0x38213fff 64bit]: assigned
[ 1.788921] pci 0001:31:00.0: BAR 0 [io 0x100000-0x1000ff]: assigned
[ 1.788926] pci 0001:30:00.0: PCI bridge to [bus 31]
[ 1.788928] pci 0001:30:00.0: bridge window [io 0x100000-0x100fff]
[ 1.788931] pci 0001:30:00.0: bridge window [mem 0x38200000-0x382fffff]
[ 1.788935] pci_bus 0001:30: resource 4 [io 0x100000-0x1fffff]
[ 1.788936] pci_bus 0001:30: resource 5 [mem 0x38200000-0x3fffffff]
[ 1.788938] pci_bus 0001:30: resource 6 [mem 0xc00000000-0xfffffffff pref]
[ 1.788939] pci_bus 0001:31: resource 0 [io 0x100000-0x100fff]
[ 1.788940] pci_bus 0001:31: resource 1 [mem 0x38200000-0x382fffff]
[ 1.789851] pcieport 0001:30:00.0: PME: Signaling with IRQ 23
[ 1.790019] pcieport 0001:30:00.0: AER: enabled with IRQ 23
[ 1.790213] r8169 0001:31:00.0: enabling device (0000 -> 0003)
[ 1.806239] ------------[ cut here ]------------
[ 1.811289] pci 0000:60:00.0: bridge window [io 0x1000-0x1fff]: assigned
[ 1.811312] Demotion targets for Node 0: null
[ 1.817520] WARNING: kernel/module/kmod.c:145 at __request_module+0x198/0x200, CPU#10: kworker/u50:1/101
[ 1.817529] Modules linked in:
[ 1.817787] pci 0000:61:00.0: BAR 2 [mem 0x40200000-0x4020ffff 64bit]: assigned
[ 1.817858]
[ 1.817862] CPU: 10 UID: 0 PID: 101 Comm: kworker/u50:1 Tainted: G S 7.4.0-rc4-00260-g4dce97c6c265 #82 PRE
[ 1.817929] pci 0000:61:00.0: BAR 4 [mem 0x40210000-0x40213fff 64bit]: assigned
[ 1.819550] Tainted: [S]=CPU_OUT_OF_SPEC
[ 1.819552] Hardware name: Cix Technology Group Co., Ltd. CIX Phecda Board/CIX Phecda Board, BIOS 1.3 11/13/2025
[ 1.819554] Workqueue: async async_run_entry_fn
[ 1.819667] 40d0000.serial: ttyAMA2 MMIO:0x00000000040d0000 (irq = 25, base_baud = 0) is a PL011 rev3
[ 1.826949] pci 0000:61:00.0: BAR 0 [io 0x1000-0x10ff]: assigned
[ 1.831948]
[ 1.831949] pstate: 01400009 (nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
[ 1.838108] pci 0000:60:00.0: PCI bridge to [bus 61]
[ 1.844958] pc : __request_module+0x198/0x200
[ 1.844961] lr : __request_module+0x190/0x200
[ 1.849009] pci 0000:60:00.0: bridge window [io 0x1000-0x1fff]
[ 1.854805] sp : ffff800080dcb470
[ 1.854806] x29: ffff800080dcb470 x28: ffff0000825c2000
[ 1.862106] pci 0000:60:00.0: bridge window [mem 0x40200000-0x402fffff]
[ 1.867376] x27: ffff0000825c1000
[ 1.867378] x26: ffff0000825c20d0
[ 1.873888] pci_bus 0000:60: resource 4 [io 0x0000-0xfffff]
[ 1.880386] x25: ffff0000825ceac0 x24: 0000000000000000
[ 1.880389] x23: ffff0000825c1000
[ 1.884698] pci_bus 0000:60: resource 5 [mem 0x40200000-0x4fffffff]
[ 1.891375] x22: 0000000000000000 x21: ffff0000825b3800
[ 1.891377] x20: 0000000000000001 x19: ffffd8ac4931f9a8
[ 1.898942] pci_bus 0000:60: resource 6 [mem 0x1000000000-0x13ffffffff pref]
[ 1.906144] x18: 0000000000000002
[ 1.906145] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 1.913532] pci_bus 0000:61: resource 0 [io 0x1000-0x1fff]
[ 1.920912]
[ 1.920913] x14: 0000000000000001 x13: 0000000000000001 x12: 0000000000000000
[ 1.927422] pci_bus 0000:61: resource 1 [mem 0x40200000-0x402fffff]
[ 1.932428]
[ 1.932429] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000001
[ 2.214659] x8 : ffff800080dcb518 x7 : 0000000000000000 x6 : 0000000000000000
[ 2.214661] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000030
[ 2.214663] x2 : 0000000000000008 x1 : ffffd8ac48033b90 x0 : 0000000000000001
[ 2.214665] Call trace:
[ 2.214667] __request_module+0x198/0x200 (P)
[ 2.214670] phy_request_driver_module+0x11c/0x17c
[ 2.214674] phy_device_create+0x234/0x260
[ 2.214676] get_phy_device+0x74/0x150
[ 2.214679] mdiobus_scan+0x34/0x114
[ 2.214682] __mdiobus_register+0x1ec/0x450
[ 2.214685] __devm_mdiobus_register+0x70/0xe8
[ 2.214688] rtl_init_one+0x1350/0x16b0
[ 2.214693] local_pci_probe+0x40/0xa8
[ 2.214697] pci_call_probe+0x64/0x174
[ 2.214699] pci_device_probe+0xb4/0x144
[ 2.214701] really_probe+0xbc/0x298
[ 2.214705] __driver_probe_device+0x16c/0x19c
[ 2.214707] driver_probe_device+0x3c/0x114
[ 2.214709] __device_attach_driver+0xb8/0x118
[ 2.214712] bus_for_each_drv+0x84/0xe0
[ 2.214714] __device_attach+0x9c/0x194
[ 2.214716] device_initial_probe+0x50/0x68
[ 2.214718] pci_bus_add_device+0x6c/0xf8
[ 2.214723] pci_bus_add_devices+0x3c/0x88
[ 2.214727] pci_bus_add_devices+0x68/0x88
[ 2.214730] pci_host_probe+0x90/0x108
[ 2.214733] cdns_pcie_hpa_host_setup+0x300/0x684
[ 2.214737] sky1_pcie_probe+0x230/0x360
[ 2.214739] platform_probe+0x5c/0x9c
[ 2.214743] really_probe+0xbc/0x298
[ 2.214745] __driver_probe_device+0x16c/0x19c
[ 2.214747] driver_probe_device+0x3c/0x114
[ 2.214750] __driver_attach_async_helper+0x58/0xcc
[ 2.214753] async_run_entry_fn+0x34/0xe0
[ 2.214755] process_one_work+0x180/0x2dc
[ 2.214758] worker_thread+0x188/0x304
[ 2.214760] kthread+0x110/0x124
[ 2.214764] ret_from_fork+0x10/0x20
[ 2.214767] ---[ end trace 0000000000000000 ]---
[ 2.215180] r8169 0001:31:00.0 eth0: RTL8126A, c0:74:2b:fa:f5:be, XID 64a, IRQ 24 (1 total)
[ 2.390111] printk: console [ttyAMA2] enabled
[ 2.390130] r8169 0001:31:00.0 eth0: jumbo features [frames: 16362 bytes, tx checksumming: ko]
[ 2.390111] printk: console [ttyAMA2] enabled
[ 2.394464] printk: legacy bootconsole [pl11] disabled
[ 2.390130] r8169 0001:31:00.0 eth0: jumbo features [frames: 16362 bytes, tx checksumming: ko]
[ 2.394464] printk: legacy bootconsole [pl11] disabled
[ 2.427017] sky1-pcie a010000.pcie: host bridge /soc@0/pcie@a010000 ranges:
[ 2.427033] sky1-pcie a010000.pcie: IO 0x0060100000..0x00601fffff -> 0x0060100000
[ 2.427039] sky1-pcie a010000.pcie: MEM 0x0060200000..0x007fffffff -> 0x0060200000
[ 2.427042] sky1-pcie a010000.pcie: MEM 0x1800000000..0x1bffffffff -> 0x1800000000
[ 2.427069] sky1-pcie a010000.pcie: ECAM at [mem 0x2c000000-0x2fffffff] for [bus c0-ff]
[ 2.427074] sky1-pcie a010000.pcie: Link up
[ 2.427110] clk: Not disabling unused clocks
[ 2.427114] PM: genpd: Disabling unused power domains
[ 2.427716] pcieport 0000:60:00.0: PME: Signaling with IRQ 27
[ 2.427858] pcieport 0000:60:00.0: AER: enabled with IRQ 27
[ 2.428026] r8169 0000:61:00.0: enabling device (0000 -> 0003)
[ 2.438649] r8169 0000:61:00.0 eth1: RTL8126A, c0:74:2b:fa:f5:bd, XID 64a, IRQ 28 (1 total)
[ 2.438654] r8169 0000:61:00.0 eth1: jumbo features [frames: 16362 bytes, tx checksumming: ko]
[ 2.438702] sky1-pcie a010000.pcie: PCI host bridge to bus 0002:c0
[ 2.438705] pci_bus 0002:c0: root bus resource [bus c0-ff]
[ 2.438707] pci_bus 0002:c0: root bus resource [io 0x200000-0x2fffff] (bus address [0x60100000-0x601fffff])
[ 2.438709] pci_bus 0002:c0: root bus resource [mem 0x60200000-0x7fffffff]
[ 2.438710] pci_bus 0002:c0: root bus resource [mem 0x1800000000-0x1bffffffff pref]
[ 2.438724] pci 0002:c0:00.0: [1f6c:0001] type 01 class 0x060400 PCIe Root Port
[ 2.438735] pci 0002:c0:00.0: PCI bridge to [bus c1]
[ 2.438738] pci 0002:c0:00.0: bridge window [io 0x0000-0x0fff]
[ 2.438740] pci 0002:c0:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.438746] pci 0002:c0:00.0: enabling Extended Tags
[ 2.438777] pci 0002:c0:00.0: supports D1
[ 2.438778] pci 0002:c0:00.0: PME# supported from D0 D1 D3hot
[ 2.439060] pci 0002:c1:00.0: [2646:501d] type 00 class 0x010802 PCIe Endpoint
[ 2.439088] pci 0002:c1:00.0: BAR 0 [mem 0x60000000-0x60003fff 64bit]
[ 2.439150] pci 0002:c1:00.0: PME# supported from D0 D3hot D3cold
[ 2.439258] pci 0002:c0:00.0: bridge window [mem 0x60200000-0x602fffff]: assigned
[ 2.439261] pci 0002:c1:00.0: BAR 0 [mem 0x60200000-0x60203fff 64bit]: assigned
[ 2.439267] pci 0002:c0:00.0: PCI bridge to [bus c1]
[ 2.439269] pci 0002:c0:00.0: bridge window [mem 0x60200000-0x602fffff]
[ 2.439272] pci_bus 0002:c0: resource 4 [io 0x200000-0x2fffff]
[ 2.439274] pci_bus 0002:c0: resource 5 [mem 0x60200000-0x7fffffff]
[ 2.439275] pci_bus 0002:c0: resource 6 [mem 0x1800000000-0x1bffffffff pref]
[ 2.439276] pci_bus 0002:c1: resource 1 [mem 0x60200000-0x602fffff]
[ 2.440095] pcieport 0002:c0:00.0: PME: Signaling with IRQ 30
[ 2.440233] pcieport 0002:c0:00.0: AER: enabled with IRQ 30
[ 2.440525] nvme nvme0: pci function 0002:c1:00.0
[ 2.446477] nvme nvme0: passthrough uses implicit buffer lengths
[ 2.552356] nvme nvme0: allocated 64 MiB host memory buffer (16 segments).
[ 2.693373] nvme nvme0: 12/0/0 default/read/poll queues
[ 2.697985] GPT:disk_guids don't match.
[ 2.697988] GPT: Use GNU Parted to correct GPT errors.
[ 2.697994] nvme0n1: p1 p2
[ 2.739517] EXT4-fs (nvme0n1p2): mounted filesystem 72e3f572-295f-487a-abdc-a3448f22a2ed r/w with ordered data mode. Quota .
[ 2.739549] VFS: Mounted root (ext4 filesystem) on device 259:2.
[ 2.739799] devtmpfs: mounted
[ 2.739832] VFS: Pivoted into new rootfs
[ 2.740043] Freeing unused kernel memory: 3456K
[ 2.789863] Checked W+X mappings: passed, no W+X pages found
[ 2.789873] Run /sbin/init as init process
[ 2.852716] systemd[1]: System time before build time, advancing clock.
Welcome to Orange Pi 1.0.2 Noble!
[ 2.873939] systemd[1]: systemd 255.4-1ubuntu8.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCO)
[ 2.873949] systemd[1]: Detected architecture arm64.
[ 2.921943] systemd[1]: Hostname set to <orangepi6plus>.
[ 3.068138] systemd[1]: Configuration file /usr/lib/systemd/system/isp-daemon.service is marked executable. Please remove e.
[ 3.077616] systemd[1]: Queued start job for default target graphical.target.
[ OK ] Created slice system-modprobe.slice 3.110793] systemd[1]: Created slice system-modprobe.slice - Slice /system/modpr.
[0m - Slice /system/modprobe.
[ OK ] Created slice system-serial\x2dget�[ 3.130127] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /sys.
�slice - Slice /system/serial-getty.
[ OK ] Created slice user.slice - User [ 3.158024] systemd[1]: Created slice user.slice - User and Session Slice.
and Session Slice.
[ OK ] Started systemd-ask-password-wall.�[ 3.177807] systemd[1]: Started systemd-ask-password-wall.path - Forward Passwo.
�d Requests to Wall Directory Watch.
Expecting device dev-ttyAMA2.device - /dev/[ 3.201793] systemd[1]: proc-sys-fs-binfmt_misc.automount - Arbitrary E.
ttyAMA2...
[ 3.201822] systemd[1]: Expecting device dev-ttyAMA2.device - /dev/ttyAMA2...
[ OK ] Reached target integ[ 3.235077] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volum.
ritysetup.targ… Local Integrity Protected Volumes.
[ OK ] Reached target slices.target - S[ 3.257769] systemd[1]: Reached target slices.target - Slice Units.
lice Units.
[ OK ] Reached target swap.target - Swa[ 3.277740] systemd[1]: Reached target swap.target - Swaps.
ps.
[ OK ] Reached target time-set.target -[ 3.293736] systemd[1]: Reached target time-set.target - System Time Set.
System Time Set.
[ OK ] Reached target veritysetup.target 3.313756] systemd[1]: Reached target veritysetup.target - Local Verity Protected.
m - Local Verity Protected Volumes.
[ OK ] Listening on [ 3.344622] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
rpcbind.socket - RPCbind Server Activation Socket.
[ OK ] Listening on syslog.socket - Sys[ 3.365900] systemd[1]: syslog.socket: SO_PASSSEC failed: Operation not supported
log Socket.
[ 3.365918] systemd[1]: Listening on syslog.socket - Syslog Socket.
[ OK ] Listening on systemd-initctl.socke�[ 3.386669] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibi.
�- initctl Compatibility Named Pipe.
[ OK ] Listening on systemd-journald-dev-�[ 3.409857] systemd[1]: systemd-journald-dev-log.socket: SO_PASSSEC failed: Oped
�socket - Journal Socket (/d[ 3.409892] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log.
ev/log).
[ OK ] Listening on systemd-journald.socket[ 3.441853] systemd[1]: systemd-journald.socket: SO_PASSSEC failed: Operation d
- Journal Socket.
[ 3.441893] systemd[1]: systemd-journald.socket: SO_PASSSEC failed: Operation not supported
[ 3.441910] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[ OK ] Listening on systemd-udevd-control.s[ 3.473775] systemd[1]: systemd-pcrextend.socket - TPM2 PCR Extension (Varlink.
ocket - udev Control Socket.[ 3.473979] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[ OK ] Listening on systemd-udevd-kernel.so[ 3.509862] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel.
cket - udev Kernel Socket.
Mounting dev-hugepages.mount - Huge Pages F[ 3.541773] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File .
ile System...
Mounting dev-mqueue.mount - POSIX Message Q[ 3.562615] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue.
ueue File System...
Mounting sys-kernel-debug.mount - Kernel De[ 3.582564] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug .
bug File System...
Starting fake-hwclock-load.serv[ 3.601821] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was ski.
ice - Restore the current cl[ 3.601886] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was sk.
ock...
[ 3.603024] systemd[1]: Starting fake-hwclock-load.service - Restore the current clock...
Starting keyboard-setup.service - Set the c[ 3.650317] (-hwclock)[167]: fake-hwclock-load.service: Referenced but E
onsole keyboard layout...
[ 3.650552] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
Starting modprobe@configfs.serv[ 3.679130] systemd[1]: kmod-static-nodes.service - Create List of Static Device No.
ice - Load Kernel Module con[ 3.680129] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
figfs...
Starting modprobe@dm_mod.service - Load Ker[ 3.722720] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel .
nel Module dm_mod...
Starting modprobe@drm.service - Load Kernel[ 3.742682] systemd[1]: Starting modprobe@drm.service - Load Kernel Mod.
Module drm...
Starting modprobe@efi_pstore.servi… - Loa[ 3.762645] systemd[1]: Starting modprobe@efi_pstore.service - Load Kerne.
d Kernel Module efi_pstore...
Starting modprobe@fuse.service - Load Kerne[ 3.782662] systemd[1]: Starting modprobe@fuse.service - Load Kernel Mo.
l Module fuse...
Starting modprobe@loop.service - Load Kerne[ 3.802674] systemd[1]: Starting modprobe@loop.service - Load Kernel Mo.
l Module loop...
Starting systemd-modules-load.s[ 3.823050] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules.
ervice - Load Kernel Modules...
Starting systemd-remount-fs.servic…unt Ro[ 3.841733] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID .
ot and Kernel File Systems...
[ 3.842630] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
Starting systemd-tmpfiles-setup[ 3.876054] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create .
-de… Device Nodes in /dev gracefully...
Starting systemd-udev-trigger.service - Col[ 3.897752] systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Set.
dplug All udev Devices...
[ 3.898718] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ OK ] Mounted dev-hugepage[ 3.931288] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
s.mount - Huge Pages File System.
[ OK ] Mounted dev-mqueue.mount - POSIX[ 3.949880] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
Message Queue File System.
[ OK ] Mounted sys-kernel-debug.mount -[ 3.969876] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
Kernel Debug File System.
[ 3.990020] systemd[1]: fake-hwclock-load.service: Deactivated successfully.
[ 3.990220] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock.
[ OK ] Finished fake-hwclock-load.service - Restore the current clock.
[ OK ] Finished keyboard-setup.service [ 4.018173] systemd[1]: Finished keyboard-setup.service - Set the console keyboard.
- Set the console keyboard layout.
[ 4.038017] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 4.038211] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[ OK ] Finished modprobe@configfs.service - Load Kernel Module configfs.
[ 4.066218] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[ 4.066389] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[ OK ] Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[ 4.097972] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 4.098132] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[ OK ] Finished modprobe@drm.service - Load Kernel Module drm.
[ 4.121968] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[ 4.122126] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[ OK ] Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[ 4.149957] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 4.150113] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[ OK ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[ 4.181985] systemd[1]: modprobe@loop.service: Deactivated successfully.
[ 4.182143] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[ OK ] Finished modprobe@loop.service - Load Kernel Module loop.
[ OK ] Finished systemd-modules-load.servic[ 4.213997] systemd[1]: Finished systemd-modules-load.service - Load Kernel Mo.
e - Load Kernel Modules.
[ OK ] Finished systemd-remount-fs.servic�[ 4.234009] systemd[1]: Finished systemd-remount-fs.service - Remount Root and .
�mount Root and Kernel File Systems.
[ OK ] Finished systemd-tmpfiles-setup-de�[ 4.257983] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Cre.
�ic Device Nodes in /dev gracefully.
[ OK ] Finished systemd-udev-trigger.servic[ 4.281997] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All u.
e - Coldplug All udev Devices.
[ 4.302149] systemd[1]: sys-fs-fuse-connections.mount - FUSE Control File System was skipped because of an unmet condition .
Mounting sys-ke[ 4.337815] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
rnel-config.mount - Kernel Configuration File System...
Starting ifupdown-pre.service 4.359280] systemd[1]: Starting ifupdown-pre.service - Helper to synchronize boot up .
0m - He…synchronize boot up for ifupdown...
Starting systemd-random-seed.se[ 4.382220] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was.
rvice - Load/Save OS Random [ 4.382271] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipp.
[ 4.383206] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed...
Seed...
Starting systemd-sysctl.service - Apply Ker[ 4.433748] systemd[1]: systemd-repart.service - Repartition Root Disk .
nel Variables...
[ 4.434643] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[ 4.461230] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were.
[ 4.462155] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
Starting systemd-tmpfiles-setup[ 4.483047] systemd[1]: systemd-tpm2-setup.service - TPM2 SRK Setup was skipped bec.
-de…eate Static Device Nod[ 4.483643] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
es in /dev...
[ OK ] Mounted sys-kernel-config.mount - Kernel Configuration File System.
[ OK ] Finished ifupdown-pre.service - He…o synchronize boot up for ifupdown.
[ OK ] Finished systemd-random-seed.service - Load/Save OS Random Seed.
[ OK ] Finished systemd-sysctl.service - Apply Kernel Variables.
[ OK ] Finished systemd-tmpfiles-setup-de…Create Static Device Nodes in /dev.
[ OK ] Reached target local-fs-pre.target…Preparation for Local File Systems.
[ OK ] Reached target local-fs.target - Local File Systems.
[ OK ] Listening on systemd-sysext.socket…tension Image Management (Varlink).
Starting console-setup.service - Set console font and keymap...
Starting networking.service - Raise network interfaces...
Starting orangepi-zram-config.service - Orange Pi ZRAM config...
Starting plymouth-read-write.servi…ymouth To Write Out Runtime Data...
Starting systemd-udevd.service - R…ager for Device Events and Files...
[ OK ] Finished console-setup.service - Set console font and keymap.
[ OK ] Finished orangepi-zram-config.service - Orange Pi ZRAM config.
[ OK ] Finished plymouth-read-write.servi…Plymouth To Write Out Runtime Data.
[ OK ] Started systemd-udevd.service - Ru…anager for Device Events and Files.
Starting orangepi-ramlog.service -…ange Pi memory supported logging...
[ OK ] Reached target cryptsetup.target - Local Encrypted Volumes.
[ OK ] Reached target paths.target - Path Units.
[ OK ] Finished networking.service - Raise network interfaces.
[ OK ] Found device dev-ttyAMA2.device - /dev/ttyAMA2.
[ OK ] Finished orangepi-ramlog.service - Orange Pi memory supported logging.
Starting systemd-journald.service - Journal Service...
[ OK ] Started systemd-journald.service - Journal Service.
Starting systemd-journal-flush.ser…sh Journal to Persistent Storage...
[ OK ] Finished systemd-journal-flush.ser…lush Journal to Persistent Storage.
Starting systemd-tmpfiles-setup.se…e Volatile Files and Directories...
[ OK ] Finished systemd-tmpfiles-setup.se…ate Volatile Files and Directories.
Mounting run-rpc_pipefs.mount - RPC Pipe File System...
[ OK ] Started haveged.service - Entropy …emon based on the HAVEGE algorithm.
Starting rpcbind.service - RPC bind portmap service...
Starting systemd-resolved.service - Network Name Resolution...
Starting systemd-update-utmp.servi…ord System Boot/Shutdown in UTMP...
[ OK ] Mounted run-rpc_pipefs.mount - RPC Pipe File System.
[ OK ] Started rpcbind.service - RPC bind portmap service.
[ OK ] Reached target rpc_pipefs.target.
[ OK ] Reached target rpcbind.target - RPC Port Mapper.
[ OK ] Reached target nfs-client.target - NFS client services.
[ OK ] Reached target remote-fs-pre.targe…reparation for Remote File Systems.
[ OK ] Reached target remote-fs.target - Remote File Systems.
[ OK ] Started systemd-resolved.service - Network Name Resolution.
[ OK ] Reached target nss-lookup.target - Host and Network Name Lookups.
[ OK ] Finished systemd-update-utmp.servi…ecord System Boot/Shutdown in UTMP.
[ OK ] Reached target sysinit.target - System Initialization.
[ OK ] Started systemd-tmpfiles-clean.tim…y Cleanup of Temporary Directories.
[ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket.
[ OK ] Listening on ssh.socket - OpenBSD Secure Shell server socket.
[ OK ] Reached target sockets.target - Socket Units.
Starting orangepi-hardware-monitor… - Orange Pi hardware monitoring...
Starting orangepi-hardware-optimiz… Orange Pi hardware optimization...
[ OK ] Finished orangepi-hardware-monitor…ce - Orange Pi hardware monitoring.
[ OK ] Finished orangepi-hardware-optimiz… - Orange Pi hardware optimization.
[ OK ] Reached target basic.target - Basic System.
[ OK ] Started cron.service - Regular background program processing daemon.
Starting dbus.service - D-Bus System Message Bus...
[ OK ] Started dmesg.service - Save initial kernel messages after boot.
Starting e2scrub_reap.service - Re…ne ext4 Metadata Check Snapshots...
Starting lm-sensors.service - Init…lize hardware monitoring sensors...
Starting networkd-dispatcher.servi…cher daemon for systemd-networkd...
Starting rsyslog.service - System Logging Service...
Starting sysstat.service - Resets System Activity Logs...
Starting systemd-logind.service - User Login Management...
[ OK ] Started dbus.service - D-Bus System Message Bus.
[ OK ] Finished e2scrub_reap.service - Re…line ext4 Metadata Check Snapshots.
[ OK ] Finished sysstat.service - Resets System Activity Logs.
[ OK ] Finished lm-sensors.service - Initialize hardware monitoring sensors.
[ OK ] Started systemd-logind.service - User Login Management.
[ OK ] Started rsyslog.service - System Logging Service.
Starting NetworkManager.service - Network Manager...
Starting wpa_supplicant.service - WPA supplicant...
[ OK ] Started networkd-dispatcher.servic…atcher daemon for systemd-networkd.
Starting systemd-hostnamed.service - Hostname Service...
[ OK ] Started wpa_supplicant.service - WPA supplicant.
[ OK ] Started systemd-hostnamed.service - Hostname Service.
Starting NetworkManager-dispatcher…anager Script Dispatcher Service...
[ OK ] Started NetworkManager-dispatcher.… Manager Script Dispatcher Service.
[ OK ] Started NetworkManager.service - Network Manager.
[ OK ] Reached target network.target - Network.
[ OK ] Reached target network-online.target - Network is Online.
Starting chrony.service - chrony, an NTP client/server...
[ OK ] Started isp-daemon.service - ISP Daemon.
Starting openvpn.service - OpenVPN service...
Starting rc-local.service - /etc/rc.local Compatibility...
Starting rpc-statd-notify.service - Notify NFS peers of a restart...
Starting systemd-user-sessions.service - Permit User Sessions...
[ OK ] Started unattended-upgrades.service - Unattended Upgrades Shutdown.
[ OK ] Started vnstat.service - vnStat network traffic monitor.
[ OK ] Started chrony.service - chrony, an NTP client/server.
[ OK ] Finished openvpn.service - OpenVPN service.
[ OK ] Started rc-local.service - /etc/rc.local Compatibility.
[ OK ] Started rpc-statd-notify.service - Notify NFS peers of a restart.
[ OK ] Finished systemd-user-sessions.service - Permit User Sessions.
[ OK ] Reached target time-sync.target - System Time Synchronized.
[ OK ] Started apt-daily.timer - Daily apt download activities.
[ OK ] Started apt-daily-upgrade.timer - …y apt upgrade and clean activities.
[ OK ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[ OK ] Started e2scrub_all.timer - Period…Metadata Check for All Filesystems.
[ OK ] Started fake-hwclock-save.timer - Periodically save current clock.
[ OK ] Started fstrim.timer - Discard unused filesystem blocks once a week.
[ OK ] Started logrotate.timer - Daily rotation of log files.
[ OK ] Started man-db.timer - Daily man-db regeneration.
[ OK ] Started sysstat-collect.timer - Ru…y accounting tool every 10 minutes.
[ OK ] Started sysstat-summary.timer - Ge… of yesterday's process accounting.
[ OK ] Reached target timers.target - Timer Units.
Starting plymouth-quit-wait.servic…d until boot process finishes up...
Starting plymouth-quit.service - Terminate Plymouth Boot Screen...
[ OK ] Finished plymouth-quit-wait.servic…old until boot process finishes up.
[ OK ] Started serial-getty@ttyAMA2.service - Serial Getty on ttyAMA2.
Starting setvtrgb.service - Set console scheme...
[ OK ] Finished plymouth-quit.service - Terminate Plymouth Boot Screen.
[ OK ] Finished setvtrgb.service - Set console scheme.
[ OK ] Created slice system-getty.slice - Slice /system/getty.
[ OK ] Started getty@tty1.service - Getty on tty1.
[ OK ] Reached target getty.target - Login Prompts.
[ OK ] Reached target multi-user.target - Multi-User System.
[ OK ] Reached target graphical.target - Graphical Interface.
Starting systemd-update-utmp-runle…- Record Runlevel Change in UTMP...
[ OK ] Finished systemd-update-utmp-runle…e - Record Runlevel Change in UTMP.
Orange Pi 1.0.2 Noble ttyAMA2
orangepi6plus login: hans
Password:
___ ____ _ __ ____ _
/ _ \| _ \(_) / /_ | _ \| |_ _ ___
| | | | |_) | | | '_ \ | |_) | | | | / __|
| |_| | __/| | | (_) | | __/| | |_| \__ \
\___/|_| |_| \___/ |_| |_|\__,_|___/
Welcome to Orange Pi 1.0.2 Noble with Linux 7.4.0-rc4-00260-g4dce97c6c265
System load: 2% Up time: 0 min
Memory usage: 2% of 15.40G IP:
Usage of /: 1% of 217G
[ 142 security updates available, 193 updates total: apt upgrade ]
Last check: 2026-11-26 03:37
[-- Attachment #3: dmesg_02.log --]
[-- Type: text/x-log, Size: 55303 bytes --]
GNU GRUB version 2.11
/----------------------------------------------------------------------------\
|setparams '1 OrangePi 6 Plus (DT)' |
| |
| devicetree /sky1-xcp.dtb |
| linux /Image-xcp \ |
| console=ttyAMA2,115200 \ |
| efi=noruntime \ |
| earlycon=pl011,0x040d0000 \ |
| arm-smmu-v3.disable_bypass=0 \ |
| acpi=off \ |
| clk_ignore_unused=1 \ |
| loglevel=7 \ |
Booting a command list\ |
| root=PARTUUID=228a6699-98b9-4e75-b31c-149ccf1bbc9d rootwait rw |v
linux: kernel file size: 26724864, file /Image-xcptb 16.02KiB 100% 0.00B/s ]
linux: kernel numpages: 6525
linux: kernel @ 0x475b82000reen edi [ Image-xcp 25.49MiB 100% 1.11B/s ]
linux: loaded=1ns. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for a
[ 0.000000] Booting Linux on physical CPU 0x0000000a00 [0x410fd811].
[ 0.000000] Linux version 7.4.0-rc4-00261-g6c966af642a4 (power@Precision-7960) (aarch64-none-linux-gnu-gcc (Arm GNU Toolcha6
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: Xunlong,OrangePi 6 Plus
[ 0.000000] earlycon: pl11 MMIO:0x00000000040d0000 (options '')
[ 0.000000] printk: legacy bootconsole [pl11] enabled
[ 0.000000] efi: EFI v2.7 by EDK II
[ 0.000000] efi: ACPI 2.0=0x479880018 SMBIOS 3.0=0x47e820000 MEMATTR=0x47b64b018 RNG=0x47988fe18 MEMRESERVE=0x479895098
[ 0.000000] random: crng init done
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000044be00000, size 640 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] OF: reserved mem: 0x000000044be00000..0x0000000473dfffff (655360 KiB) map reusable linux,cma
[ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x000000047fffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x47d740540-0x47d742c3f]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x000000047fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000843fffff]
[ 0.000000] node 0: [mem 0x0000000084400000-0x00000000845fffff]
[ 0.000000] node 0: [mem 0x0000000085000000-0x0000000085efffff]
[ 0.000000] node 0: [mem 0x0000000085f00000-0x0000000085ffffff]
[ 0.000000] node 0: [mem 0x0000000086000000-0x000000009fffffff]
[ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000a7ffffff]
[ 0.000000] node 0: [mem 0x00000000a8000000-0x00000000fffdffff]
[ 0.000000] node 0: [mem 0x00000000fffe0000-0x00000000fffeffff]
[ 0.000000] node 0: [mem 0x00000000ffff0000-0x00000000ffffdfff]
[ 0.000000] node 0: [mem 0x00000000ffffe000-0x00000000ffffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x000000047e13ffff]
[ 0.000000] node 0: [mem 0x000000047e140000-0x000000047ea3ffff]
[ 0.000000] node 0: [mem 0x000000047ea40000-0x000000047fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000047fffffff]
[ 0.000000] On node 0, zone DMA: 2560 pages in unavailable ranges
[ 0.000000] percpu: Embedded 26 pages/cpu s66264 r8192 d32040 u106496
[ 0.000000] CPU features: detected: Address authentication (architected QARMA3 algorithm)
[ 0.000000] CPU features: detected: GICv3 CPU interface
[ 0.000000] CPU features: detected: HCRX_EL2 register
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: detected: Memory Tagging Extension
[ 0.000000] CPU features: detected: Asymmetric MTE Tag Check Fault
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: detected: SSBS not fully self-synchronizing
[ 0.000000] CPU features: detected: Broken AMU AMEVCNTR01 (const counter)
[ 0.000000] CPU features: detected: Broken AMU AMEVCNTR00 (core cycle counter)
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: BOOT_IMAGE=/Image-xcp console=ttyAMA2,115200 efi=noruntime earlycon=pl011,0x040d0000 arm-sw
[ 0.000000] PCIe ASPM is disabled
[ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[ 0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] software IO TLB: area num 16.
[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfe0000-0x00000000fffe0000] (64MB)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 4191744
[ 0.000000] Policy zone: Normal
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=12.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[ 0.000000] RCU Tasks: Setting shift to 4 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=12.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GIC: enabling workaround for GICv3: ARM64 erratum 2941627
[ 0.000000] GICv3: 512 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs, DirectLPI
[ 0.000000] GICv3: GICv4 features: DirectLPI RVPEID Valid+Dirty
[ 0.000000] GICv3: GICD_CTLR.DS=0, SCR_EL3.FIQ=1
[ 0.000000] GICv3: CPU0: found redistributor a00 region 0:0x000000000e310000
[ 0.000000] ITS [mem 0x0e050000-0x0e07ffff]
[ 0.000000] ITS@0x000000000e050000: Single VMOVP capable
[ 0.000000] ITS@0x000000000e050000: Using GICv4.1 mode 00000000 00000001
[ 0.000000] ITS@0x000000000e050000: allocated 8192 Devices @1000f0000 (indirect, esz 8, psz 64K, shr 1)
[ 0.000000] ITS@0x000000000e050000: allocated 32768 Interrupt Collections @100100000 (flat, esz 2, psz 64K, shr 1)
[ 0.000000] ITS@0x000000000e050000: allocated 8192 Virtual CPUs @100110000 (flat, esz 8, psz 64K, shr 1)
[ 0.000000] GICv3: using LPI property table @0x0000000100120000
[ 0.000000] ITS: Using DirectLPI for VPE invalidation
[ 0.000000] ITS: Enabling GICv4 support
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000100130000
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[1] /cpus/cpu@100[2] /cpus/cpu@200[3] /cpus/cpu}
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@400[5] /cpus/cpu@500[6] /cpus/cpu@600[7] /cpus/c}
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.000000] arch_timer: cp15 timer running at 1000.00MHz (hyp-virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x1fffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] sched_clock: 61 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.008311] Console: colour dummy device 80x25
[ 0.012826] Calibrating delay loop (skipped), value calculated using timer frequency.. 2000.00 BogoMIPS (lpj=4000000)
[ 0.023555] pid_max: default: 32768 minimum: 301
[ 0.028356] VFS: Disk quotas dquot_6.6.0
[ 0.032316] VFS: Dquot-cache hash table entries: 512 (4096 bytes)
[ 0.038493] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.046151] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.054329] VFS: Finished mounting rootfs on nullfs
[ 0.059861] rcu: Hierarchical SRCU implementation.
[ 0.064704] rcu: Max phase no-delay instances is 1000.
[ 0.070020] Timer migration: 2 hierarchy levels; 8 children per group; 2 crossnode level
[ 0.078240] EFI runtime services will be disabled.
[ 0.083173] smp: Bringing up secondary CPUs ...
[ 0.087972] CPU features: detected: ARM errata 2966298, 3117295
[ 0.087990] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU1: 02
[ 0.088001] CPU features: Unsupported CPU feature variation detected.
[ 0.088018] GICv3: CPU1: found redistributor 0 region 0:0x000000000e090000
[ 0.088030] GICv3: CPU1: using allocated LPI pending table @0x0000000100140000
[ 0.088057] CPU1: Booted secondary processor 0x0000000000 [0x410fd801]
[ 0.088368] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU2: 02
[ 0.088398] GICv3: CPU2: found redistributor 100 region 0:0x000000000e0d0000
[ 0.088410] GICv3: CPU2: using allocated LPI pending table @0x0000000100150000
[ 0.088437] CPU2: Booted secondary processor 0x0000000100 [0x410fd801]
[ 0.088747] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU3: 02
[ 0.088780] GICv3: CPU3: found redistributor 200 region 0:0x000000000e110000
[ 0.088793] GICv3: CPU3: using allocated LPI pending table @0x0000000100160000
[ 0.088819] CPU3: Booted secondary processor 0x0000000200 [0x410fd801]
[ 0.089132] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR1_EL1. Boot CPU: 0x1001111010312122, CPU4: 02
[ 0.089167] GICv3: CPU4: found redistributor 300 region 0:0x000000000e150000
[ 0.089180] GICv3: CPU4: using allocated LPI pending table @0x0000000100170000
[ 0.089206] CPU4: Booted secondary processor 0x0000000300 [0x410fd801]
[ 0.089479] GICv3: CPU5: found redistributor 400 region 0:0x000000000e190000
[ 0.089489] GICv3: CPU5: using allocated LPI pending table @0x0000000100180000
[ 0.089505] CPU5: Booted secondary processor 0x0000000400 [0x410fd811]
[ 0.089713] GICv3: CPU6: found redistributor 500 region 0:0x000000000e1d0000
[ 0.089723] GICv3: CPU6: using allocated LPI pending table @0x0000000100190000
[ 0.089742] CPU6: Booted secondary processor 0x0000000500 [0x410fd811]
[ 0.089943] GICv3: CPU7: found redistributor 600 region 0:0x000000000e210000
[ 0.089954] GICv3: CPU7: using allocated LPI pending table @0x00000001001a0000
[ 0.089973] CPU7: Booted secondary processor 0x0000000600 [0x410fd811]
[ 0.090180] GICv3: CPU8: found redistributor 700 region 0:0x000000000e250000
[ 0.090190] GICv3: CPU8: using allocated LPI pending table @0x00000001001b0000
[ 0.090210] CPU8: Booted secondary processor 0x0000000700 [0x410fd811]
[ 0.090413] GICv3: CPU9: found redistributor 800 region 0:0x000000000e290000
[ 0.090423] GICv3: CPU9: using allocated LPI pending table @0x00000001001c0000
[ 0.090441] CPU9: Booted secondary processor 0x0000000800 [0x410fd811]
[ 0.090642] GICv3: CPU10: found redistributor 900 region 0:0x000000000e2d0000
[ 0.090653] GICv3: CPU10: using allocated LPI pending table @0x00000001001d0000
[ 0.090671] CPU10: Booted secondary processor 0x0000000900 [0x410fd811]
[ 0.090875] GICv3: CPU11: found redistributor b00 region 0:0x000000000e350000
[ 0.090885] GICv3: CPU11: using allocated LPI pending table @0x00000001001e0000
[ 0.090903] CPU11: Booted secondary processor 0x0000000b00 [0x410fd811]
[ 0.091003] smp: Brought up 1 node, 12 CPUs
[ 0.390179] SMP: Total of 12 processors activated.
[ 0.395016] CPU: All CPU(s) started at EL2
[ 0.399156] CPU features: detected: Branch Target Identification
[ 0.405227] CPU features: detected: ARMv8.4 Translation Table Level
[ 0.411561] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.420265] CPU features: detected: Common not Private translations
[ 0.426599] CPU features: detected: CRC32 instructions
[ 0.431787] CPU features: detected: Data independent timing control (DIT)
[ 0.438646] CPU features: detected: E0PD
[ 0.442603] CPU features: detected: Enhanced Counter Virtualization
[ 0.448934] CPU features: detected: Enhanced Counter Virtualization (CNTPOFF)
[ 0.456144] CPU features: detected: Enhanced Privileged Access Never
[ 0.462562] CPU features: detected: Enhanced Virtualization Traps
[ 0.468717] CPU features: detected: Fine Grained Traps
[ 0.473906] CPU features: detected: Generic authentication (architected QARMA3 algorithm)
[ 0.482171] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.487975] CPU features: detected: LSE atomic instructions
[ 0.493602] CPU features: detected: Privileged Access Never
[ 0.499229] CPU features: detected: PMUv3
[ 0.503276] CPU features: detected: RAS Extension Support
[ 0.508728] CPU features: detected: RASv1p1 Extension Support
[ 0.514531] CPU features: detected: Speculation barrier (SB)
[ 0.520247] CPU features: detected: Stage-2 Force Write-Back
[ 0.525962] CPU features: detected: TLB range maintenance instructions
[ 0.532556] CPU features: detected: WFx with timeout
[ 0.537568] CPU features: detected: XNX
[ 0.541437] CPU features: detected: Memory Partitioning And Monitoring
[ 0.548032] CPU features: detected: Memory Partitioning And Monitoring Virtualisation
[ 0.555945] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.562978] CPU features: detected: Scalable Vector Extension
[ 0.568820] alternatives: applying system-wide alternatives
[ 0.575918] CPU features: detected: Activity Monitors Unit (AMU) on CPU0-11
[ 0.582961] CPU features: detected: ICV_DIR_EL1 trapping
[ 0.588325] CPU features: detected: Hardware dirty bit management on CPU0-11
[ 0.595449] SVE: maximum available vector length 16 bytes per vector
[ 0.601868] SVE: default vector length 16 bytes per vector
[ 0.608034] Memory: 15475176K/16766976K available (15232K kernel code, 1266K rwdata, 5972K rodata, 3456K init, 604K bss, 62)
[ 0.622860] devtmpfs: initialized
[ 0.628430] posixtimers hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.636053] futex hash table entries: 4096 (262144 bytes on 1 NUMA nodes, total 256 KiB, linear).
[ 0.646147] 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[ 0.652485] 0 pages in range for non-PLT usage
[ 0.652486] 517584 pages in range for PLT usage
[ 0.657218] DMI: SMBIOS 3.6.0 present.
[ 0.665582] DMI: Cix Technology Group Co., Ltd. CIX Phecda Board/CIX Phecda Board, BIOS 1.3 11/13/2025
[ 0.675012] DMI: Memory slots populated: 4/4
[ 0.680224] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.686672] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.693951] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.701876] audit: initializing netlink subsys (disabled)
[ 0.707426] audit: type=2000 audit(0.404:1): state=initialized audit_enabled=0 res=1
[ 0.707603] thermal_sys: Registered thermal governor 'step_wise'
[ 0.715264] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.721366] cpuidle: using governor menu
[ 0.731960] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.738991] ASID allocator initialised with 65536 entries
[ 0.744480] Serial: AMBA PL011 UART driver
[ 0.748997] /soc@0/interrupt-controller@e010000: Fixed dependency cycle(s) with /soc@0/interrupt-controller@e010000
[ 0.759635] /soc@0/pinctrl@4170000: Fixed dependency cycle(s) with /soc@0/pinctrl@4170000/hog-cfg
[ 0.769110] /soc@0/pinctrl@16007000: Fixed dependency cycle(s) with /soc@0/pinctrl@16007000/hog-s5-cfg
[ 0.778962] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.785829] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.792161] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.799019] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.805350] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.812208] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.818540] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.825399] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.832733] ACPI: Interpreter disabled.
[ 0.836784] iommu: Default domain type: Translated
[ 0.841623] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.848367] SCSI subsystem initialized
[ 0.852294] usbcore: registered new interface driver usbfs
[ 0.857843] usbcore: registered new interface driver hub
[ 0.863219] usbcore: registered new device driver usb
[ 0.868375] pps_core: LinuxPPS API ver. 1 registered
[ 0.873389] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.882624] PTP clock support registered
[ 0.886595] EDAC MC: Ver: 3.0.0
[ 0.889909] scmi_core: SCMI protocol bus registered
[ 0.895001] FPGA manager framework
[ 0.898789] vgaarb: loaded
[ 0.901683] clocksource: Switched to clocksource arch_sys_counter
[ 0.912313] pnp: PnP ACPI: disabled
[ 0.915970] NET: Registered PF_INET protocol family
[ 0.921014] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.932131] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.940867] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.948699] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.956992] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[ 0.964687] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.971408] UDP hash table entries: 8192 (order: 7, 524288 bytes, linear)
[ 0.978374] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.984352] RPC: Registered named UNIX socket transport module.
[ 0.990339] RPC: Registered udp transport module.
[ 0.995088] RPC: Registered tcp transport module.
[ 0.999838] RPC: Registered tcp-with-tls transport module.
[ 1.005377] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.011889] PCI: CLS 0 bytes, default 64
[ 1.015863] NET: Registered PF_INET6 protocol family
[ 1.021214] Segment Routing with IPv6
[ 1.024922] In-situ OAM (IOAM) with IPv6
[ 1.029815] kvm [1]: nv: 576 coarse grained trap handlers
[ 1.035403] kvm [1]: nv: 710 fine grained trap handlers
[ 1.040771] kvm [1]: IPA Size Limit: 40 bits
[ 1.045097] kvm [1]: GICv4 support disabled
[ 1.049320] kvm [1]: GICv3: no GICV resource entry
[ 1.054161] kvm [1]: disabling GICv2 emulation
[ 1.058668] kvm [1]: GIC system register CPU interface enabled
[ 1.064571] kvm [1]: vgic interrupt IRQ9
[ 1.068557] kvm [1]: VHE mode initialized successfully
[ 1.074415] Initialise system trusted keyrings
[ 1.079084] workingset: timestamp_bits=42 (anon: 37) max_order=22 bucket_order=0 (anon: 0)
[ 1.087576] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.093506] Key type nfs_keyring registered
[ 1.097884] NFS: Registering the id_resolver key type
[ 1.102993] Key type id_resolver registered
[ 1.107219] Key type id_legacy registered
[ 1.111273] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.118047] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.125633] 9p: Installing v9fs 9p2000 file system support
[ 1.143234] Key type asymmetric registered
[ 1.147372] Asymmetric key parser 'x509' registered
[ 1.152313] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 1.159789] io scheduler mq-deadline registered
[ 1.164365] io scheduler kyber registered
[ 1.168423] io scheduler bfq registered
[ 1.172905] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.179188] sky1-pcie a0c0000.pcie: host bridge /soc@0/pcie@a0c0000 ranges:
[ 1.179259] sky1-pcie a0e0000.pcie: host bridge /soc@0/pcie@a0e0000 ranges:
[ 1.181389] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.186392] sky1-pcie a0c0000.pcie: IO 0x0040100000..0x00401fffff -> 0x0040100000
[ 1.193317] sky1-pcie a0e0000.pcie: IO 0x0038100000..0x00381fffff -> 0x0038100000
[ 1.195156] loop: module loaded
[ 1.195312] megasas: 07.734.00.00-rc1
[ 1.196448] tun: Universal TUN/TAP device driver, 1.6
[ 1.196615] thunder_xcv, ver 1.0
[ 1.196629] thunder_bgx, ver 1.0
[ 1.196640] nicpf, ver 1.0
[ 1.196651] e1000: Intel(R) PRO/1000 Network Driver
[ 1.196652] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.196663] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.196665] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.196675] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.196676] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.196688] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.196689] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.196718] sky2: driver version 1.30
[ 1.196930] VFIO - User Level meta-driver version: 0.3
[ 1.197277] usbcore: registered new interface driver usb-storage
[ 1.197625] i2c_dev: i2c /dev entries driver
[ 1.198338] arm-scmi arm-scmi.0.auto: Using scmi_smc_transport
[ 1.198343] arm-scmi arm-scmi.0.auto: SCMI max-rx-timeout: 30ms / max-msg-size: 104bytes / max-msg: 20
[ 1.198385] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[ 1.198467] arm-scmi arm-scmi.0.auto: SCMI Notifications - Core Enabled.
[ 1.198495] arm-scmi arm-scmi.0.auto: Malformed reply - real_sz:8 calc_sz:4 (loop_num_ret:1)
[ 1.198497] arm-scmi arm-scmi.0.auto: SCMI Protocol v2.0 'CIX:' Firmware version 0x0
[ 1.198507] arm-scmi arm-scmi.0.auto: Enabling SCMI Quirk [quirk_clock_rates_triplet_out_of_spec]
[ 1.199676] sky1-pcie a0c0000.pcie: MEM 0x0040200000..0x004fffffff -> 0x0040200000
[ 1.200199] scmi-power-domain scmi_dev.2: Initialized 22 power domains
[ 1.200237] arm-scmi arm-scmi.1.auto: Using scmi_mailbox_transport
[ 1.200239] arm-scmi arm-scmi.1.auto: SCMI max-rx-timeout: 30ms / max-msg-size: 104bytes / max-msg: 20
[ 1.200358] arm-scmi arm-scmi.1.auto: SCMI Notifications - Core Enabled.
[ 1.200594] arm-scmi arm-scmi.1.auto: SCMI Protocol v2.0 'cix:cix' Firmware version 0x20b0000
[ 1.201324] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:0] - ret:-95. Using regular messa.
[ 1.201535] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:8 / RES_ID:1] - ret:-95. Using regular messa.
[ 1.201599] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:1] - ret:-95. Using regular messa.
[ 1.201661] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:7 / RES_ID:1] - ret:-95. Using regular messa.
[ 1.201843] arm-scmi arm-scmi.1.auto: multiplier for domain 2 rounded
[ 1.202011] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:2] - ret:-95. Using regular messa.
[ 1.202110] arm-scmi arm-scmi.1.auto: multiplier for domain 3 rounded
[ 1.202316] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:3] - ret:-95. Using regular messa.
[ 1.202422] arm-scmi arm-scmi.1.auto: multiplier for domain 4 rounded
[ 1.202634] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:4] - ret:-95. Using regular messa.
[ 1.202900] arm-scmi arm-scmi.1.auto: multiplier for domain 5 rounded
[ 1.203101] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:5] - ret:-95. Using regular messa.
[ 1.203206] arm-scmi arm-scmi.1.auto: multiplier for domain 6 rounded
[ 1.203416] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:6] - ret:-95. Using regular messa.
[ 1.203618] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:8 / RES_ID:7] - ret:-95. Using regular messa.
[ 1.203846] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:6 / RES_ID:7] - ret:-95. Using regular messa.
[ 1.203903] arm-scmi arm-scmi.1.auto: Failed to get FC for protocol 13 [MSG_ID:7 / RES_ID:7] - ret:-95. Using regular messa.
[ 1.204407] scmi-perf-domain scmi_dev.5: Initialized 12 performance domains
[ 1.207740] sky1-pcie a0e0000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000
[ 1.207744] sky1-pcie a0e0000.pcie: MEM 0x0c00000000..0x0fffffffff -> 0x0c00000000
[ 1.207773] sky1-pcie a0e0000.pcie: ECAM at [mem 0x23000000-0x25ffffff] for [bus 30-5f]
[ 1.215894] sky1-pcie a0c0000.pcie: MEM 0x1000000000..0x13ffffffff -> 0x1000000000
[ 1.219016] sky1-pcie a0e0000.pcie: Link up
[ 1.219071] sky1-pcie a0e0000.pcie: PCI host bridge to bus 0000:30
[ 1.222818] sky1-pcie a0c0000.pcie: ECAM at [mem 0x26000000-0x28ffffff] for [bus 60-8f]
[ 1.227845] pci_bus 0000:30: root bus resource [bus 30-5f]
[ 1.227847] pci_bus 0000:30: root bus resource [io 0x100000-0x1fffff] (bus address [0x38100000-0x381fffff])
[ 1.227849] pci_bus 0000:30: root bus resource [mem 0x38200000-0x3fffffff]
[ 1.227851] pci_bus 0000:30: root bus resource [mem 0xc00000000-0xfffffffff pref]
[ 1.227876] pci 0000:30:00.0: [1f6c:0001] type 01 class 0x060400 PCIe Root Port
[ 1.231163] sky1-pcie a0c0000.pcie: Link up
[ 1.234394] pci 0000:30:00.0: PCI bridge to [bus 31]
[ 1.297032] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 1.297183] pci 0000:30:00.0: bridge window [io 0x0000-0x0fff]
[ 1.301657] usbcore: registered new interface driver usbhid
[ 1.307381] pci 0000:30:00.0: bridge window [mem 0x38000000-0x380fffff]
[ 1.307453] pci 0000:30:00.0: supports D1
[ 1.316791] usbhid: USB HID core driver
[ 1.324440] pci 0000:30:00.0: PME# supported from D0 D1 D3hot
[ 1.718747] hw perfevents: enabled with armv9_cortex_a520 PMU driver, 7 (0,8000003f) counters available
[ 1.719086] pci 0000:31:00.0: [10ec:8126] type 00 class 0x020000 PCIe Endpoint
[ 1.735620] pci 0000:31:00.0: BAR 0 [io 0x1000-0x10ff]
[ 1.735655] hw perfevents: enabled with armv9_cortex_a720 PMU driver, 21 (0,800fffff) counters available
[ 1.740910] pci 0000:31:00.0: BAR 2 [mem 0x38000000-0x3800ffff 64bit]
[ 1.750687] NET: Registered PF_PACKET protocol family
[ 1.756998] pci 0000:31:00.0: BAR 4 [mem 0x38010000-0x38013fff 64bit]
[ 1.762127] 9pnet: Installing 9P2000 support
[ 1.768735] pci 0000:31:00.0: supports D1 D2
[ 1.772933] Key type dns_resolver registered
[ 1.777225] pci 0000:31:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.788229] registered taskstats version 1
[ 1.788429] pci 0000:30:00.0: bridge window [mem 0x38200000-0x382fffff]: assigned
[ 1.788462] sky1-pcie a0c0000.pcie: PCI host bridge to bus 0001:60
[ 1.788466] pci_bus 0001:60: root bus resource [bus 60-8f]
[ 1.788469] pci_bus 0001:60: root bus resource [io 0x0000-0xfffff] (bus address [0x40100000-0x401fffff])
[ 1.788471] pci_bus 0001:60: root bus resource [mem 0x40200000-0x4fffffff]
[ 1.788472] pci_bus 0001:60: root bus resource [mem 0x1000000000-0x13ffffffff pref]
[ 1.788489] pci 0001:60:00.0: [1f6c:0001] type 01 class 0x060400 PCIe Root Port
[ 1.788501] pci 0001:60:00.0: PCI bridge to [bus 61]
[ 1.788505] pci 0001:60:00.0: bridge window [io 0x0000-0x0fff]
[ 1.788507] pci 0001:60:00.0: bridge window [mem 0x40000000-0x400fffff]
[ 1.788551] pci 0001:60:00.0: supports D1
[ 1.788552] pci 0001:60:00.0: PME# supported from D0 D1 D3hot
[ 1.788884] pci 0001:61:00.0: [10ec:8126] type 00 class 0x020000 PCIe Endpoint
[ 1.788932] pci 0001:61:00.0: BAR 0: initial BAR value 0x00000000 invalid
[ 1.788934] pci 0001:61:00.0: BAR 0 [io size 0x0100]
[ 1.788940] pci 0001:61:00.0: BAR 2 [mem 0x40000000-0x4000ffff 64bit]
[ 1.788944] pci 0001:61:00.0: BAR 4 [mem 0x40010000-0x40013fff 64bit]
[ 1.789058] pci 0001:61:00.0: supports D1 D2
[ 1.789059] pci 0001:61:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.789226] pci 0001:60:00.0: bridge window [mem 0x40200000-0x402fffff]: assigned
[ 1.789229] pci 0001:60:00.0: bridge window [io 0x1000-0x1fff]: assigned
[ 1.789232] pci 0001:61:00.0: BAR 2 [mem 0x40200000-0x4020ffff 64bit]: assigned
[ 1.789243] pci 0001:61:00.0: BAR 4 [mem 0x40210000-0x40213fff 64bit]: assigned
[ 1.789253] pci 0001:61:00.0: BAR 0 [io 0x1000-0x10ff]: assigned
[ 1.789258] pci 0001:60:00.0: PCI bridge to [bus 61]
[ 1.789261] pci 0001:60:00.0: bridge window [io 0x1000-0x1fff]
[ 1.789263] pci 0001:60:00.0: bridge window [mem 0x40200000-0x402fffff]
[ 1.789266] pci_bus 0001:60: resource 4 [io 0x0000-0xfffff]
[ 1.789268] pci_bus 0001:60: resource 5 [mem 0x40200000-0x4fffffff]
[ 1.789269] pci_bus 0001:60: resource 6 [mem 0x1000000000-0x13ffffffff pref]
[ 1.789271] pci_bus 0001:61: resource 0 [io 0x1000-0x1fff]
[ 1.789272] pci_bus 0001:61: resource 1 [mem 0x40200000-0x402fffff]
[ 1.790183] pcieport 0001:60:00.0: PME: Signaling with IRQ 23
[ 1.790349] pcieport 0001:60:00.0: AER: enabled with IRQ 23
[ 1.790524] r8169 0001:61:00.0: enabling device (0000 -> 0003)
[ 1.792759] Loading compiled-in X.509 certificates
[ 1.799931] pci 0000:30:00.0: bridge window [io 0x100000-0x100fff]: assigned
[ 1.799934] pci 0000:31:00.0: BAR 2 [mem 0x38200000-0x3820ffff 64bit]: assigned
[ 1.799946] pci 0000:31:00.0: BAR 4 [mem 0x38210000-0x38213fff 64bit]: assigned
[ 1.799958] pci 0000:31:00.0: BAR 0 [io 0x100000-0x1000ff]: assigned
[ 1.799962] pci 0000:30:00.0: PCI bridge to [bus 31]
[ 1.799965] pci 0000:30:00.0: bridge window [io 0x100000-0x100fff]
[ 2.061266] pci 0000:30:00.0: bridge window [mem 0x38200000-0x382fffff]
[ 2.061290] Demotion targets for Node 0: null
[ 2.068131] pci_bus 0000:30: 200000-0x382fffff]
[ 2.075779] 40d0000.serial: ttyAMA2 MMIO:0x00000000040d0000 (irq = 24, base_baud = 0) is a PL011 rev3
[ 2.078213] pcieport 0000:30:00.0: PME: Signaling with IRQ 26
[ 2.092597] printk: console [ttyAMA2] enabled
[ 2.092604] pcieport 0000:30:00.0: AER: enabled with IRQ 26
[ 2.096972] printk: legacy bootconsole [pl11] disabled
[ 2.102705] r8169 0000:31:00.0: enabling device (0000 -> 0003)
[ 2.092597] printk: console [ttyAMA2] enabled
[ 2.092604] pcieport 0000:30:00.0: AER: enabled with IRQ 26
[ 2.096972] printk: legacy bootconsole [pl11] disabled
[ 2.102705] r8169 0000:31:00.0: enabling device (0000 -> 0003)
[ 2.135478] sky1-pcie a010000.pcie: host bridge /soc@0/pcie@a010000 ranges:
[ 2.135509] sky1-pcie a010000.pcie: IO 0x0060100000..0x00601fffff -> 0x0060100000
[ 2.135530] sky1-pcie a010000.pcie: MEM 0x0060200000..0x007fffffff -> 0x0060200000
[ 2.135542] sky1-pcie a010000.pcie: MEM 0x1800000000..0x1bffffffff -> 0x1800000000
[ 2.135616] sky1-pcie a010000.pcie: ECAM at [mem 0x2c000000-0x2fffffff] for [bus c0-ff]
[ 2.135631] sky1-pcie a010000.pcie: Link up
[ 2.142356] sky1-pcie a010000.pcie: PCI host bridge to bus 0002:c0
[ 2.142367] pci_bus 0002:c0: root bus resource [bus c0-ff]
[ 2.142373] pci_bus 0002:c0: root bus resource [io 0x200000-0x2fffff] (bus address [0x60100000-0x601fffff])
[ 2.142378] pci_bus 0002:c0: root bus resource [mem 0x60200000-0x7fffffff]
[ 2.142382] pci_bus 0002:c0: root bus resource [mem 0x1800000000-0x1bffffffff pref]
[ 2.142412] pci 0002:c0:00.0: [1f6c:0001] type 01 class 0x060400 PCIe Root Port
[ 2.142432] pci 0002:c0:00.0: PCI bridge to [bus c1]
[ 2.142440] pci 0002:c0:00.0: bridge window [io 0x0000-0x0fff]
[ 2.142446] pci 0002:c0:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.142459] pci 0002:c0:00.0: enabling Extended Tags
[ 2.142510] pci 0002:c0:00.0: supports D1
[ 2.142515] pci 0002:c0:00.0: PME# supported from D0 D1 D3hot
[ 2.143641] pci 0002:c1:00.0: [2646:501d] type 00 class 0x010802 PCIe Endpoint
[ 2.143681] pci 0002:c1:00.0: BAR 0 [mem 0x60000000-0x60003fff 64bit]
[ 2.143768] pci 0002:c1:00.0: PME# supported from D0 D3hot D3cold
[ 2.144006] pci 0002:c0:00.0: bridge window [mem 0x60200000-0x602fffff]: assigned
[ 2.144020] pci 0002:c1:00.0: BAR 0 [mem 0x60200000-0x60203fff 64bit]: assigned
[ 2.144032] pci 0002:c0:00.0: PCI bridge to [bus c1]
[ 2.144038] pci 0002:c0:00.0: bridge window [mem 0x60200000-0x602fffff]
[ 2.144045] pci_bus 0002:c0: resource 4 [io 0x200000-0x2fffff]
[ 2.144049] pci_bus 0002:c0: resource 5 [mem 0x60200000-0x7fffffff]
[ 2.144053] pci_bus 0002:c0: resource 6 [mem 0x1800000000-0x1bffffffff pref]
[ 2.144057] pci_bus 0002:c1: resource 1 [mem 0x60200000-0x602fffff]
[ 2.146085] pcieport 0002:c0:00.0: PME: Signaling with IRQ 28
[ 2.146351] pcieport 0002:c0:00.0: AER: enabled with IRQ 28
[ 2.146768] nvme nvme0: pci function 0002:c1:00.0
[ 2.151181] r8169 0001:61:00.0 eth0: RTL8126A, c0:74:2b:fa:f5:bd, XID 64a, IRQ 30 (1 total)
[ 2.151194] r8169 0001:61:00.0 eth0: jumbo features [frames: 16362 bytes, tx checksumming: ko]
[ 2.160736] nvme nvme0: passthrough uses implicit buffer lengths
[ 2.163049] r8169 0000:31:00.0 eth1: RTL8126A, c0:74:2b:fa:f5:be, XID 64a, IRQ 31 (1 total)
[ 2.163059] r8169 0000:31:00.0 eth1: jumbo features [frames: 16362 bytes, tx checksumming: ko]
[ 2.163223] clk: Not disabling unused clocks
[ 2.163226] PM: genpd: Disabling unused power domains
[ 2.264088] nvme nvme0: allocated 64 MiB host memory buffer (16 segments).
[ 2.401462] nvme nvme0: 12/0/0 default/read/poll queues
[ 2.406168] GPT:disk_guids don't match.
[ 2.406171] GPT: Use GNU Parted to correct GPT errors.
[ 2.406178] nvme0n1: p1 p2
[ 2.429848] EXT4-fs (nvme0n1p2): mounted filesystem 72e3f572-295f-487a-abdc-a3448f22a2ed r/w with ordered data mode. Quota .
[ 2.429868] VFS: Mounted root (ext4 filesystem) on device 259:2.
[ 2.430108] devtmpfs: mounted
[ 2.430158] VFS: Pivoted into new rootfs
[ 2.430352] Freeing unused kernel memory: 3456K
[ 2.474657] Checked W+X mappings: passed, no W+X pages found
[ 2.474666] Run /sbin/init as init process
[ 2.529928] systemd[1]: System time before build time, advancing clock.
[ 2.553404] systemd[1]: systemd 255.4-1ubuntu8.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCO)
[ 2.553411] systemd[1]: Detected architecture arm64.
Welcome to Orange Pi 1.0.2 Noble!
[ 2.597917] systemd[1]: Hostname set to <orangepi6plus>.
[ 2.743927] systemd[1]: Configuration file /usr/lib/systemd/system/isp-daemon.service is marked executable. Please remove e.
[ 2.752776] systemd[1]: Queued start job for default target graphical.target.
[ OK ] Created slice system-modprobe.slice 2.794651] systemd[1]: Created slice system-modprobe.slice - Slice /system/modpr.
[0m - Slice /system/modprobe.
[ OK ] Created slice system-serial\x2dget�[ 2.814082] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /sys.
�slice - Slice /system/serial-getty.
[ OK ] Created slice user.slice - User [ 2.837991] systemd[1]: Created slice user.slice - User and Session Slice.
and Session Slice.
[ OK ] Started systemd-ask-password-wall.�[ 2.857792] systemd[1]: Started systemd-ask-password-wall.path - Forward Passwo.
�d Requests to Wall Directory Watch.
Expecting device dev-ttyAMA2.device - /dev/[ 2.881767] systemd[1]: proc-sys-fs-binfmt_misc.automount - Arbitrary E.
ttyAMA2...
[ 2.881793] systemd[1]: Expecting device dev-ttyAMA2.device - /dev/ttyAMA2...
[ OK ] Reached target integ[ 2.915037] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volum.
ritysetup.targ… Local Integrity Protected Volumes.
[ OK ] Reached target slices.target - S[ 2.937754] systemd[1]: Reached target slices.target - Slice Units.
lice Units.
[ OK ] Reached target swap.target - Swa[ 2.957718] systemd[1]: Reached target swap.target - Swaps.
ps.
[ OK ] Reached target time-set.target -[ 2.973717] systemd[1]: Reached target time-set.target - System Time Set.
System Time Set.
[ OK ] Reached target veritysetup.target 2.993738] systemd[1]: Reached target veritysetup.target - Local Verity Protected.
m - Local Verity Protected Volumes.
[ OK ] Listening on [ 3.024508] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
rpcbind.socket - RPCbind Server Activation Socket.
[ OK ] Listening on syslog.socket - Sys[ 3.045894] systemd[1]: syslog.socket: SO_PASSSEC failed: Operation not supported
log Socket.
[ 3.045912] systemd[1]: Listening on syslog.socket - Syslog Socket.
[ OK ] Listening on systemd-initctl.socke�[ 3.066647] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibi.
�- initctl Compatibility Named Pipe.
[ OK ] Listening on systemd-journald-dev-�[ 3.089841] systemd[1]: systemd-journald-dev-log.socket: SO_PASSSEC failed: Oped
�socket - Journal Socket (/d[ 3.089876] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log.
ev/log).
[ OK ] Listening on systemd-journald.socket[ 3.121834] systemd[1]: systemd-journald.socket: SO_PASSSEC failed: Operation d
- Journal Socket.
[ 3.121868] systemd[1]: systemd-journald.socket: SO_PASSSEC failed: Operation not supported
[ 3.121884] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[ 3.146480] systemd[1]: systemd-pcrextend.socket - TPM2 PCR Extension (Varlink) was skipped because of an unmet condition c.
[ 3.146662] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[ OK ] Listening on systemd-udevd-control.socket - udev Control Socket.
[ OK ] Listening on systemd-udevd-kernel.so[ 3.189829] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel.
cket - udev Kernel Socket.
Mounting dev-hugepages.mount - Huge Pages F[ 3.221760] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File .
ile System...
Mounting dev-mqueue.mount - POSIX Message Q[ 3.242531] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue.
ueue File System...
Mounting sys-kernel-debug.mount - Kernel De[ 3.262505] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug .
bug File System...
Starting fake-hwclock-load.serv[ 3.281793] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was ski.
ice - Restore the current cl[ 3.281852] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was sk.
ock...
[ 3.282904] systemd[1]: Starting fake-hwclock-load.service - Restore the current clock...
Starting keyboard-setup.service - Set the c[ 3.330166] (-hwclock)[168]: fake-hwclock-load.service: Referenced but E
onsole keyboard layout...
[ 3.330375] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
Starting modprobe@configfs.serv[ 3.358937] systemd[1]: kmod-static-nodes.service - Create List of Static Device No.
ice - Load Kernel Module con[ 3.359841] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
figfs...
Starting modprobe@dm_mod.service - Load Ker[ 3.402608] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel .
nel Module dm_mod...
Starting modprobe@drm.service - Load Kernel[ 3.422599] systemd[1]: Starting modprobe@drm.service - Load Kernel Mod.
Module drm...
Starting modprobe@efi_pstore.servi… - Loa[ 3.442562] systemd[1]: Starting modprobe@efi_pstore.service - Load Kerne.
d Kernel Module efi_pstore...
Starting modprobe@fuse.service - Load Kerne[ 3.462596] systemd[1]: Starting modprobe@fuse.service - Load Kernel Mo.
l Module fuse...
Starting modprobe@loop.service - Load Kerne[ 3.482592] systemd[1]: Starting modprobe@loop.service - Load Kernel Mo.
l Module loop...
Starting systemd-modules-load.s[ 3.502992] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules.
ervice - Load Kernel Modules...
Starting systemd-remount-fs.servic…unt Ro[ 3.521722] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID .
ot and Kernel File Systems...
[ 3.522589] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
Starting systemd-tmpfiles-setup[ 3.555973] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create .
-de… Device Nodes in /dev gracefully...
Starting systemd-udev-trigger.service - Col[ 3.577736] systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Set.
dplug All udev Devices...
[ 3.578616] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ OK ] Mounted dev-hugepage[ 3.611075] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
s.mount - Huge Pages File System.
[ OK ] Mounted dev-mqueue.mount - POSIX[ 3.629859] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
Message Queue File System.
[ OK ] Mounted sys-kernel-debug.mount -[ 3.649864] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
Kernel Debug File System.
[ 3.670003] systemd[1]: fake-hwclock-load.service: Deactivated successfully.
[ 3.670192] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock.
[ OK ] Finished fake-hwclock-load.service - Restore the current clock.
[ OK ] Finished keyboard-setup.service [ 3.698110] systemd[1]: Finished keyboard-setup.service - Set the console keyboard.
- Set the console keyboard layout.
[ 3.717982] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 3.718156] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[ OK ] Finished modprobe@configfs.service - Load Kernel Module configfs.
[ 3.746058] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[ 3.746236] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[ OK ] Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[ 3.773999] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 3.774178] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[ OK ] Finished modprobe@drm.service - Load Kernel Module drm.
[ 3.801998] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[ 3.802176] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[ OK ] Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[ 3.830000] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 3.830184] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[ OK ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[ 3.862043] systemd[1]: modprobe@loop.service: Deactivated successfully.
[ 3.862245] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[ OK ] Finished modprobe@loop.service - Load Kernel Module loop.
[ OK ] Finished systemd-modules-load.servic[ 3.894048] systemd[1]: Finished systemd-modules-load.service - Load Kernel Mo.
e - Load Kernel Modules.
[ OK ] Finished systemd-remount-fs.servic�[ 3.918010] systemd[1]: Finished systemd-remount-fs.service - Remount Root and .
�mount Root and Kernel File Systems.
[ OK ] Finished systemd-tmpfiles-setup-de�[ 3.942001] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Cre.
�ic Device Nodes in /dev gracefully.
[ OK ] Finished systemd-udev-trigger.servic[ 3.969977] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All u.
e - Coldplug All udev Devices.
[ 3.990235] systemd[1]: sys-fs-fuse-connections.mount - FUSE Control File System was skipped because of an unmet condition .
Mounting sys-kernel-config.mount - Kernel C[ 4.013817] systemd[1]: Mounting sys-kernel-config.mount - Kernel Confi.
onfiguration File System...
Starting ifupdown-pre.service 4.034930] systemd[1]: Starting ifupdown-pre.service - Helper to synchronize boot up .
0m - He…synchronize boot up for ifupdown...
[ 4.058614] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition c.
[ 4.058791] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condi.
[ 4.061804] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed...
Starting systemd-random-seed.service - Load/Save OS Random Seed...
Starting system[ 4.109935] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigg.
d-sysctl.service - Apply Ker[ 4.112911] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
nel Variables...
Starting system[ 4.145955] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigg.
d-tmpfiles-setup-de…eate Static Device Nodes in /dev...
[ OK ] Mounted sys-kernel-config.mount - Kernel Configuration File System.
[ OK ] Finished ifupdown-pre.service - He…o synchronize boot up for ifupdown.
[ OK ] Finished systemd-random-seed.service - Load/Save OS Random Seed.
[ OK ] Finished systemd-sysctl.service - Apply Kernel Variables.
[ OK ] Finished systemd-tmpfiles-setup-de…Create Static Device Nodes in /dev.
[ OK ] Reached target local-fs-pre.target…Preparation for Local File Systems.
[ OK ] Reached target local-fs.target - Local File Systems.
[ OK ] Listening on systemd-sysext.socket…tension Image Management (Varlink).
Starting console-setup.service - Set console font and keymap...
Starting networking.service - Raise network interfaces...
Starting orangepi-zram-config.service - Orange Pi ZRAM config...
Starting plymouth-read-write.servi…ymouth To Write Out Runtime Data...
Starting systemd-udevd.service - R…ager for Device Events and Files...
[ OK ] Finished console-setup.service - Set console font and keymap.
[ OK ] Finished orangepi-zram-config.service - Orange Pi ZRAM config.
[ OK ] Finished plymouth-read-write.servi…Plymouth To Write Out Runtime Data.
Starting orangepi-ramlog.service -…ange Pi memory supported logging...
[ OK ] Started systemd-udevd.service - Ru…anager for Device Events and Files.
[ OK ] Reached target cryptsetup.target - Local Encrypted Volumes.
[ OK ] Reached target paths.target - Path Units.
[ OK ] Found device dev-ttyAMA2.device - /dev/ttyAMA2.
[ OK ] Finished networking.service - Raise network interfaces.
[ OK ] Finished orangepi-ramlog.service - Orange Pi memory supported logging.
Starting systemd-journald.service - Journal Service...
[ OK ] Started systemd-journald.service - Journal Service.
Starting systemd-journal-flush.ser…sh Journal to Persistent Storage...
[ OK ] Finished systemd-journal-flush.ser…lush Journal to Persistent Storage.
Starting systemd-tmpfiles-setup.se…e Volatile Files and Directories...
[ OK ] Finished systemd-tmpfiles-setup.se…ate Volatile Files and Directories.
Mounting run-rpc_pipefs.mount - RPC Pipe File System...
[ OK ] Started haveged.service - Entropy …emon based on the HAVEGE algorithm.
Starting rpcbind.service - RPC bind portmap service...
Starting systemd-resolved.service - Network Name Resolution...
Starting systemd-update-utmp.servi…ord System Boot/Shutdown in UTMP...
[ OK ] Started rpcbind.service - RPC bind portmap service.
[ OK ] Mounted run-rpc_pipefs.mount - RPC Pipe File System.
[ OK ] Reached target rpc_pipefs.target.
[ OK ] Reached target rpcbind.target - RPC Port Mapper.
[ OK ] Reached target nfs-client.target - NFS client services.
[ OK ] Reached target remote-fs-pre.targe…reparation for Remote File Systems.
[ OK ] Reached target remote-fs.target - Remote File Systems.
[ OK ] Started systemd-resolved.service - Network Name Resolution.
[ OK ] Reached target nss-lookup.target - Host and Network Name Lookups.
[ OK ] Finished systemd-update-utmp.servi…ecord System Boot/Shutdown in UTMP.
[ OK ] Reached target sysinit.target - System Initialization.
[ OK ] Started systemd-tmpfiles-clean.tim…y Cleanup of Temporary Directories.
[ OK ] Listening on dbus.socket - D-Bus System Message Bus Socket.
[ OK ] Listening on ssh.socket - OpenBSD Secure Shell server socket.
[ OK ] Reached target sockets.target - Socket Units.
Starting orangepi-hardware-monitor… - Orange Pi hardware monitoring...
Starting orangepi-hardware-optimiz… Orange Pi hardware optimization...
[ OK ] Finished orangepi-hardware-monitor…ce - Orange Pi hardware monitoring.
[ OK ] Finished orangepi-hardware-optimiz… - Orange Pi hardware optimization.
[ OK ] Reached target basic.target - Basic System.
[ OK ] Started cron.service - Regular background program processing daemon.
Starting dbus.service - D-Bus System Message Bus...
[ OK ] Started dmesg.service - Save initial kernel messages after boot.
Starting e2scrub_reap.service - Re…ne ext4 Metadata Check Snapshots...
Starting lm-sensors.service - Init…lize hardware monitoring sensors...
Starting networkd-dispatcher.servi…cher daemon for systemd-networkd...
Starting rsyslog.service - System Logging Service...
Starting sysstat.service - Resets System Activity Logs...
Starting systemd-logind.service - User Login Management...
[ OK ] Started dbus.service - D-Bus System Message Bus.
[ OK ] Finished e2scrub_reap.service - Re…line ext4 Metadata Check Snapshots.
[ OK ] Started systemd-logind.service - User Login Management.
[ OK ] Finished sysstat.service - Resets System Activity Logs.
[ OK ] Finished lm-sensors.service - Initialize hardware monitoring sensors.
Starting NetworkManager.service - Network Manager...
Starting wpa_supplicant.service - WPA supplicant...
[ OK ] Started rsyslog.service - System Logging Service.
[ OK ] Started networkd-dispatcher.servic…atcher daemon for systemd-networkd.
[ OK ] Started wpa_supplicant.service - WPA supplicant.
Starting systemd-hostnamed.service - Hostname Service...
[ OK ] Started systemd-hostnamed.service - Hostname Service.
Starting NetworkManager-dispatcher…anager Script Dispatcher Service...
[ OK ] Started NetworkManager-dispatcher.… Manager Script Dispatcher Service.
[ OK ] Started NetworkManager.service - Network Manager.
[ OK ] Reached target network.target - Network.
[ OK ] Reached target network-online.target - Network is Online.
Starting chrony.service - chrony, an NTP client/server...
[ OK ] Started isp-daemon.service - ISP Daemon.
Starting openvpn.service - OpenVPN service...
Starting rc-local.service - /etc/rc.local Compatibility...
Starting rpc-statd-notify.service - Notify NFS peers of a restart...
Starting systemd-user-sessions.service - Permit User Sessions...
[ OK ] Started unattended-upgrades.service - Unattended Upgrades Shutdown.
[ OK ] Started vnstat.service - vnStat network traffic monitor.
[ OK ] Started chrony.service - chrony, an NTP client/server.
[ OK ] Finished openvpn.service - OpenVPN service.
[ OK ] Started rc-local.service - /etc/rc.local Compatibility.
[ OK ] Started rpc-statd-notify.service - Notify NFS peers of a restart.
[ OK ] Finished systemd-user-sessions.service - Permit User Sessions.
[ OK ] Reached target time-sync.target - System Time Synchronized.
[ OK ] Started apt-daily.timer - Daily apt download activities.
[ OK ] Started apt-daily-upgrade.timer - …y apt upgrade and clean activities.
[ OK ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[ OK ] Started e2scrub_all.timer - Period…Metadata Check for All Filesystems.
[ OK ] Started fake-hwclock-save.timer - Periodically save current clock.
[ OK ] Started fstrim.timer - Discard unused filesystem blocks once a week.
[ OK ] Started logrotate.timer - Daily rotation of log files.
[ OK ] Started man-db.timer - Daily man-db regeneration.
[ OK ] Started sysstat-collect.timer - Ru…y accounting tool every 10 minutes.
[ OK ] Started sysstat-summary.timer - Ge… of yesterday's process accounting.
[ OK ] Reached target timers.target - Timer Units.
Starting plymouth-quit-wait.servic…d until boot process finishes up...
Starting plymouth-quit.service - Terminate Plymouth Boot Screen...
[ OK ] Finished plymouth-quit-wait.servic…old until boot process finishes up.
[ OK ] Finished plymouth-quit.service - Terminate Plymouth Boot Screen.
[ OK ] Started serial-getty@ttyAMA2.service - Serial Getty on ttyAMA2.
Starting setvtrgb.service - Set console scheme...
[ OK ] Finished setvtrgb.service - Set console scheme.
[ OK ] Created slice system-getty.slice - Slice /system/getty.
[ OK ] Started getty@tty1.service - Getty on tty1.
[ OK ] Reached target getty.target - Login Prompts.
[ OK ] Reached target multi-user.target - Multi-User System.
[ OK ] Reached target graphical.target - Graphical Interface.
Starting systemd-update-utmp-runle…- Record Runlevel Change in UTMP...
[ OK ] Finished systemd-update-utmp-runle…e - Record Runlevel Change in UTMP.
Orange Pi 1.0.2 Noble ttyAMA2
orangepi6plus login: hans
Password:
___ ____ _ __ ____ _
/ _ \| _ \(_) / /_ | _ \| |_ _ ___
| | | | |_) | | | '_ \ | |_) | | | | / __|
| |_| | __/| | | (_) | | __/| | |_| \__ \
\___/|_| |_| \___/ |_| |_|\__,_|___/
Welcome to Orange Pi 1.0.2 Noble with Linux 7.4.0-rc4-00261-g6c966af642a4
System load: 3% Up time: 0 min
Memory usage: 2% of 15.40G IP:
Usage of /: 1% of 217G
[ 142 security updates available, 193 updates total: apt upgrade ]
Last check: 2026-11-26 00:00
hans@orangepi6plus:~$
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] net: phy: avoid synchronous module request in async probe context
2026-11-26 3:52 ` Hans Zhang
@ 2026-11-26 14:35 ` Andrew Lunn
2026-11-29 7:16 ` Hans Zhang
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2026-11-26 14:35 UTC (permalink / raw)
To: Hans Zhang
Cc: netdev-bot+sashiko, hkallweit1, davem, edumazet, kuba, pabeni,
linux, netdev
> For v3 I'm considering moving the check to __mdiobus_register() itself,
> returning -EPROBE_DEFER before the scan when current_is_async() is true.
Maybe. This code is tricky. There are quiet a lot of comments
explaining the issues, which the LLM quoted. You should look at the
comments, and what the LLM said, and think about all the corner cases
you can think of.
> __mdiobus_register() already returns -EPROBE_DEFER for the reset-GPIO
> case, and the deferred-probe retry runs on a normal workqueue where
> current_is_async() is false, so the synchronous request_module() is safe
> again. Direct get_phy_device() callers would not be affected.
This does seem like it could work. However, i'm considering the risks.
Are there MAC drivers which don't correctly handle EPROBE_DEFER from
the mdiobus_register variants?
Such a change would solve it for all MAC drives which probe
async. However, i think there is a less risky option:
.probe_type = PROBE_FORCE_SYNCHRONOUS,
for this one MAC driver.
That is also probably faster. The MAC driver has often done a lot of
work setting stuff up before it calls mdiobus_register(), which it
then needs to undo, and do again later. I assume
PROBE_FORCE_SYNCHRONOUS will completely avoid that, the probe happens
later in synchronous context, and avoids all this.
If we see more MAC drivers having this problem, we can then consider
your general solution.
Andrew
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] net: phy: avoid synchronous module request in async probe context
2026-11-26 14:35 ` Andrew Lunn
@ 2026-11-29 7:16 ` Hans Zhang
2026-11-29 7:46 ` Hans Zhang
0 siblings, 1 reply; 8+ messages in thread
From: Hans Zhang @ 2026-11-29 7:16 UTC (permalink / raw)
To: Andrew Lunn
Cc: netdev-bot+sashiko, hkallweit1, davem, edumazet, kuba, pabeni,
linux, netdev
On 11/26/26 22:35, Andrew Lunn wrote:
>> For v3 I'm considering moving the check to __mdiobus_register() itself,
>> returning -EPROBE_DEFER before the scan when current_is_async() is true.
>
> Maybe. This code is tricky. There are quiet a lot of comments
> explaining the issues, which the LLM quoted. You should look at the
> comments, and what the LLM said, and think about all the corner cases
> you can think of.
>
>> __mdiobus_register() already returns -EPROBE_DEFER for the reset-GPIO
>> case, and the deferred-probe retry runs on a normal workqueue where
>> current_is_async() is false, so the synchronous request_module() is safe
>> again. Direct get_phy_device() callers would not be affected.
>
> This does seem like it could work. However, i'm considering the risks.
> Are there MAC drivers which don't correctly handle EPROBE_DEFER from
> the mdiobus_register variants?
>
> Such a change would solve it for all MAC drives which probe
> async. However, i think there is a less risky option:
>
> .probe_type = PROBE_FORCE_SYNCHRONOUS,
>
> for this one MAC driver.
>
> That is also probably faster. The MAC driver has often done a lot of
> work setting stuff up before it calls mdiobus_register(), which it
> then needs to undo, and do again later. I assume
> PROBE_FORCE_SYNCHRONOUS will completely avoid that, the probe happens
> later in synchronous context, and avoids all this.
>
> If we see more MAC drivers having this problem, we can then consider
> your general solution.
>
> Andrew
Hi Andrew,
I tested PROBE_FORCE_SYNCHRONOUS on the r8169 MAC driver (and reverted
Sky1 back to PROBE_PREFER_ASYNCHRONOUS). The WARN still fires.
The trace still starts at async_run_entry_fn and goes through:
async_run_entry_fn
__driver_attach_async_helper
driver_probe_device
__driver_probe_device
really_probe
platform_probe
sky1_pcie_probe
cdns_pcie_hpa_host_setup
pci_host_probe
pci_bus_add_devices
pci_bus_add_device
device_initial_probe
__device_attach
__device_attach_driver
driver_probe_device
really_probe
pci_device_probe
local_pci_probe
rtl_init_one
__devm_mdiobus_register
__mdiobus_register
mdiobus_scan
get_phy_device
phy_device_create
phy_request_driver_module
__request_module
diff patch:
diff --git a/drivers/net/ethernet/realtek/r8169_main.c
b/drivers/net/ethernet/realtek/r8169_main.c
index f151ab681393..85746643afbb 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -7074,7 +7074,10 @@ static struct pci_driver rtl8169_pci_driver = {
.probe = rtl_init_one,
.remove = rtl_remove_one,
.shutdown = rtl_shutdown,
- .driver.pm = pm_ptr(&rtl8169_pm_ops),
+ .driver = {
+ .pm = pm_ptr(&rtl8169_pm_ops),
+ .probe_type = PROBE_FORCE_SYNCHRONOUS,
+ },
};
module_pci_driver(rtl8169_pci_driver);
So the r8169 probe still runs inside the async worker of the parent Sky1
controller. PROBE_FORCE_SYNCHRONOUS on the child PCI driver only prevents
scheduling a new async probe for it; it does not change the context when
the child is added during the parent's async probe.
Forcing the Sky1 controller probe synchronous is not an option on the PCI
side: those controllers use PROBE_PREFER_ASYNCHRONOUS specifically so
their multiple root complexes are enumerated in parallel, and serializing
them would hurt boot time and PCIe enumeration. So the fix needs to be in
the phylib/mdio path instead.
Could the phylib maintainers advise on the right way to avoid the
synchronous request_module() when the MDIO bus is scanned from async
context? I'm happy to implement and test whatever direction you suggest.
Best regards,
Hans
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] net: phy: avoid synchronous module request in async probe context
2026-11-29 7:16 ` Hans Zhang
@ 2026-11-29 7:46 ` Hans Zhang
0 siblings, 0 replies; 8+ messages in thread
From: Hans Zhang @ 2026-11-29 7:46 UTC (permalink / raw)
To: Andrew Lunn
Cc: netdev-bot+sashiko, hkallweit1, davem, edumazet, kuba, pabeni,
linux, netdev
On 11/29/26 15:16, Hans Zhang wrote:
>
>
> On 11/26/26 22:35, Andrew Lunn wrote:
>>> For v3 I'm considering moving the check to __mdiobus_register() itself,
>>> returning -EPROBE_DEFER before the scan when current_is_async() is true.
>>
>> Maybe. This code is tricky. There are quiet a lot of comments
>> explaining the issues, which the LLM quoted. You should look at the
>> comments, and what the LLM said, and think about all the corner cases
>> you can think of.
>>
>>> __mdiobus_register() already returns -EPROBE_DEFER for the reset-GPIO
>>> case, and the deferred-probe retry runs on a normal workqueue where
>>> current_is_async() is false, so the synchronous request_module() is safe
>>> again. Direct get_phy_device() callers would not be affected.
>>
>> This does seem like it could work. However, i'm considering the risks.
>> Are there MAC drivers which don't correctly handle EPROBE_DEFER from
>> the mdiobus_register variants?
>>
>> Such a change would solve it for all MAC drives which probe
>> async. However, i think there is a less risky option:
>>
>> .probe_type = PROBE_FORCE_SYNCHRONOUS,
>>
>> for this one MAC driver.
>>
>> That is also probably faster. The MAC driver has often done a lot of
>> work setting stuff up before it calls mdiobus_register(), which it
>> then needs to undo, and do again later. I assume
>> PROBE_FORCE_SYNCHRONOUS will completely avoid that, the probe happens
>> later in synchronous context, and avoids all this.
>>
>> If we see more MAC drivers having this problem, we can then consider
>> your general solution.
>>
>> Andrew
>
>
> Hi Andrew,
>
> I tested PROBE_FORCE_SYNCHRONOUS on the r8169 MAC driver (and reverted
> Sky1 back to PROBE_PREFER_ASYNCHRONOUS). The WARN still fires.
>
> The trace still starts at async_run_entry_fn and goes through:
>
> async_run_entry_fn
> __driver_attach_async_helper
> driver_probe_device
> __driver_probe_device
> really_probe
> platform_probe
> sky1_pcie_probe
> cdns_pcie_hpa_host_setup
> pci_host_probe
> pci_bus_add_devices
> pci_bus_add_device
> device_initial_probe
> __device_attach
> __device_attach_driver
> driver_probe_device
> really_probe
> pci_device_probe
> local_pci_probe
> rtl_init_one
> __devm_mdiobus_register
> __mdiobus_register
> mdiobus_scan
> get_phy_device
> phy_device_create
> phy_request_driver_module
> __request_module
>
>
>
> diff patch:
> diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/
> ethernet/realtek/r8169_main.c
> index f151ab681393..85746643afbb 100644
> --- a/drivers/net/ethernet/realtek/r8169_main.c
> +++ b/drivers/net/ethernet/realtek/r8169_main.c
> @@ -7074,7 +7074,10 @@ static struct pci_driver rtl8169_pci_driver = {
> .probe = rtl_init_one,
> .remove = rtl_remove_one,
> .shutdown = rtl_shutdown,
> - .driver.pm = pm_ptr(&rtl8169_pm_ops),
> + .driver = {
> + .pm = pm_ptr(&rtl8169_pm_ops),
> + .probe_type = PROBE_FORCE_SYNCHRONOUS,
> + },
> };
>
> module_pci_driver(rtl8169_pci_driver);
>
>
>
>
>
> So the r8169 probe still runs inside the async worker of the parent Sky1
> controller. PROBE_FORCE_SYNCHRONOUS on the child PCI driver only prevents
> scheduling a new async probe for it; it does not change the context when
> the child is added during the parent's async probe.
>
> Forcing the Sky1 controller probe synchronous is not an option on the PCI
> side: those controllers use PROBE_PREFER_ASYNCHRONOUS specifically so
> their multiple root complexes are enumerated in parallel, and serializing
> them would hurt boot time and PCIe enumeration. So the fix needs to be in
> the phylib/mdio path instead.
>
> Could the phylib maintainers advise on the right way to avoid the
> synchronous request_module() when the MDIO bus is scanned from async
> context? I'm happy to implement and test whatever direction you suggest.
>
Hi Andrew,
After testing PROBE_FORCE_SYNCHRONOUS on the r8169 MAC driver, the WARN
still fires. The trace still starts at async_run_entry_fn and goes
through the parent Sky1 controller probe, so a child driver's probe_type
does not move it out of the async context.
Forcing the PCIe controller synchronous is not acceptable on the PCI
side because it would serialize the root complexes and add their
enumeration and link-training time to the boot path.
I would therefore like to propose the following net/phy approach. If
this direction looks reasonable to you, I will send it as a four-patch
series.
1. net: phy: defer __mdiobus_register() from async probe context
__mdiobus_register() returns -EPROBE_DEFER before the MDIO scan when
current_is_async() is true. The deferred-probe retry runs on a normal
workqueue where the synchronous request_module() is safe, and the PHY
driver is still loaded before the PHY device is registered.
2. net: ethernet: lantiq_etop: propagate mdiobus_register() errors
3. net: ethernet: smsc911x: propagate mdiobus_register() errors
4. net: ethernet: smsc9420: propagate mdiobus_register() errors
Patches 2-4 fix three callers that would otherwise convert -EPROBE_DEFER
into a hard -ENXIO error.
Combined diff for review:
diff --git a/drivers/net/ethernet/lantiq_etop.c
b/drivers/net/ethernet/lantiq_etop.c
index 83ce3bfefa5c..8c64687c3fd8 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -400,10 +400,9 @@ ltq_etop_mdio_init(struct net_device *dev)
priv->mii_bus->name = "ltq_mii";
snprintf(priv->mii_bus->id, MII_BUS_ID_SIZE, "%s-%x",
priv->pdev->name, priv->pdev->id);
- if (mdiobus_register(priv->mii_bus)) {
- err = -ENXIO;
+ err = mdiobus_register(priv->mii_bus);
+ if (err)
goto err_out_free_mdiobus;
- }
if (ltq_etop_mdio_probe(dev)) {
err = -ENXIO;
diff --git a/drivers/net/ethernet/smsc/smsc911x.c
b/drivers/net/ethernet/smsc/smsc911x.c
index 3ebd0664c697..0d6d64b7c501 100644
--- a/drivers/net/ethernet/smsc/smsc911x.c
+++ b/drivers/net/ethernet/smsc/smsc911x.c
@@ -1101,7 +1101,8 @@ static int smsc911x_mii_init(struct
platform_device *pdev,
pdata->mii_bus->phy_mask = ~(1 << 1);
}
- if (mdiobus_register(pdata->mii_bus)) {
+ err = mdiobus_register(pdata->mii_bus);
+ if (err) {
SMSC_WARN(pdata, probe, "Error registering mii bus");
goto err_out_free_bus_2;
}
diff --git a/drivers/net/ethernet/smsc/smsc9420.c
b/drivers/net/ethernet/smsc/smsc9420.c
index 0c97211b6254..6b563b0c7cb0 100644
--- a/drivers/net/ethernet/smsc/smsc9420.c
+++ b/drivers/net/ethernet/smsc/smsc9420.c
@@ -1153,7 +1153,8 @@ static int smsc9420_mii_init(struct net_device *dev)
/* Mask all PHYs except ID 1 (internal) */
pd->mii_bus->phy_mask = ~(1 << 1);
- if (mdiobus_register(pd->mii_bus)) {
+ err = mdiobus_register(pd->mii_bus);
+ if (err) {
netif_warn(pd, probe, pd->dev, "Error registering mii bus\n");
goto err_out_free_bus_2;
}
diff --git a/drivers/net/phy/mdio_bus_provider.c
b/drivers/net/phy/mdio_bus_provider.c
index ce3a607a40cb..3bdcbaf6b9cb 100644
--- a/drivers/net/phy/mdio_bus_provider.c
+++ b/drivers/net/phy/mdio_bus_provider.c
@@ -8,6 +8,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+#include <linux/async.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/errno.h>
@@ -560,6 +561,17 @@ int __mdiobus_register(struct mii_bus *bus, struct
module *owner)
if (!bus || !bus->name)
return -EINVAL;
+ /*
+ * mdiobus_scan() requests the PHY driver module with a synchronous
+ * request_module() so the driver is present before the PHY device is
+ * registered. That is not safe from an async worker: module init may
+ * call async_synchronize_full() and deadlock waiting for this worker.
+ * Defer the probe instead; the retry runs on the deferred-probe
+ * workqueue, where a synchronous module request is safe.
+ */
+ if (current_is_async())
+ return -EPROBE_DEFER;
+
/* An access method always needs both read and write operations */
if (!!bus->read != !!bus->write || !!bus->read_c45 != !!bus->write_c45)
return -EINVAL;
Would you be OK with this direction?
Best regards,
Hans
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-11-29 7:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 7:07 [PATCH] net: phy: avoid synchronous module request in async probe context Hans Zhang
2026-11-25 7:37 ` netdev-bot+sashiko
2026-11-25 7:55 ` Hans Zhang
2026-11-25 13:58 ` Andrew Lunn
2026-11-26 3:52 ` Hans Zhang
2026-11-26 14:35 ` Andrew Lunn
2026-11-29 7:16 ` Hans Zhang
2026-11-29 7:46 ` Hans Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox