mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PSA] Linux < v6.0.12 may cause issues with barebox' boot /mnt/nfs
@ 2022-12-14 16:51 Ahmad Fatoum
  0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2022-12-14 16:51 UTC (permalink / raw)
  To: barebox


just ran into this myself today, so I figured I post a heads up:

Between v6.0-rc6 and v6.0.12, boot /mnt/nfs in barebox may result in
the kernel hanging due to the kernel NFS server replying with corrupted
data. This didn't affect all clients, but some barebox and QEMU configurations
manage to run into it.

This issue has been fixed with ac8db824ead0 ("NFSD: Fix reads with a
non-zero offset that don't end on a page boundary"), which is part of
v6.1-rc7 and v6.0.12.

If boot /mnt/nfs hangs for you, consider using boot net instead, which
will use TFTP in barebox and NFS in Linux, which should work around this
bug. Alternatively cp /mnt/nfs/boot/zImage / and boot from ramfs.

Or deploy a kernel with above change applied. Debian unstable currently
ships 6.0.0-0.deb11.2-amd64, which is affected.


Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       |  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-14 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 16:51 [PSA] Linux < v6.0.12 may cause issues with barebox' boot /mnt/nfs Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox