linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "printk: move console printing to kthreads" breaks NFS boot on i.MX8
@ 2021-03-25  9:07 Uwe Kleine-König
  2021-03-25  9:15 ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2021-03-25  9:07 UTC (permalink / raw)
  To: John Ogness, Sebastian Andrzej Siewior; +Cc: linux-rt-users, kernel

[-- Attachment #1: Type: text/plain, Size: 2385 bytes --]

Hello,

I have an i.MX8 board here (NXP's EVK) and booting it with the rootfs on
NFS fails like below on v5.11.4-rt11:

	...
	[    0.531118] mmc2: new HS400 MMC card at address 0001
	[    0.531658] mmcblk2: mmc2:0001 DG4032 29.1 GiB
	[    0.531820] mmcblk2boot0: mmc2:0001 DG4032 partition 1 4.00 MiB
	[    0.531988] mmcblk2boot1: mmc2:0001 DG4032 partition 2 4.00 MiB
	[    0.532116] mmcblk2rpmb: mmc2:0001 DG4032 partition 3 4.00 MiB, chardev (240:0)
	[    0.551648]  mmcblk2: p1 p2
	[    0.571698] mmc1: host does not support reading read-only switch, assuming write-enable
	[    0.582270] mmc1: new SDHC card at address b368
	[    0.582731] mmcblk1: mmc1:b368 SDC   3.84 GiB
	[    0.599759]  mmcblk1: p1
	[    4.351592] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
	[    4.374722] Sending DHCP requests .
	[    6.942718] .
	[   11.438718] .
	[   19.302718] .
	[   33.054718] .
	[   57.118718] .
	[   87.118717]  timed out!
	[   87.125308] IP-Config: Retrying forever (NFS root)...
	[   87.129137] RTL8211F Gigabit Ethernet 30be0000.ethernet-1:01: attached PHY driver (mii_bus:phy_addr=30be0000.ethernet-1:01, irq=POLL)
	[   91.231580] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
	[   91.262719] Sending DHCP requests .
	[   93.766718] .
	[   98.142718] .
	[  105.790718] .
	[  119.174718] .
	[  142.598718] .
	[  172.598718]  timed out!
	[  172.605397] IP-Config: Retrying forever (NFS root)...
	[  172.609252] RTL8211F Gigabit Ethernet 30be0000.ethernet-1:01: attached PHY driver (mii_bus:phy_addr=30be0000.ethernet-1:01, irq=POLL)
	[  176.703574] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
	[  176.730720] Sending DHCP requests .
	[  179.178718] .
	[  183.458718] .
	[  190.938718] .
	...

(with DEBUG defined in net/ipv4/ipconfig.c).

I bisected and identified

	42afcbce7b62 (printk: move console printing to kthreads)

as the problematic commit. I just double checked that 42afcbce7b62 is
indeed bad and it's parent boots just fine.

I didn't start to look into what is the actual problem yet. Does this
ring a bell? Do you have a hint how to debug this?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "printk: move console printing to kthreads" breaks NFS boot on i.MX8
  2021-03-25  9:07 "printk: move console printing to kthreads" breaks NFS boot on i.MX8 Uwe Kleine-König
@ 2021-03-25  9:15 ` Sebastian Andrzej Siewior
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2021-03-25  9:15 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: John Ogness, linux-rt-users, kernel

On 2021-03-25 10:07:46 [+0100], Uwe Kleine-König wrote:
> Hello,
Hi Uwe,
…
> I bisected and identified
> 
> 	42afcbce7b62 (printk: move console printing to kthreads)
> 
> as the problematic commit. I just double checked that 42afcbce7b62 is
> indeed bad and it's parent boots just fine.
> 
> I didn't start to look into what is the actual problem yet. Does this
> ring a bell? Do you have a hint how to debug this?

I don't see a link. I'm don't know if there will be another v5.11
release.
Could you please check if this problem exists in the latest v5.10 and
v5.12?
v5.10 will be maintained longer.
v5.12 is more or less staging for upstream. Its printk code should be
newer compared to v5.11.

> Best regards
> Uwe

Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-25  9:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25  9:07 "printk: move console printing to kthreads" breaks NFS boot on i.MX8 Uwe Kleine-König
2021-03-25  9:15 ` Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).