linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cache coherency bug: stale reads on /dev/sda1
@ 2023-08-26 21:59 Joshua Hudson
  2023-08-27  1:03 ` Bagas Sanjaya
  0 siblings, 1 reply; 11+ messages in thread
From: Joshua Hudson @ 2023-08-26 21:59 UTC (permalink / raw)
  To: linux-kernel

uname -a
Linux nova 6.4.12 #1 SMP PREEMPT_DYNAMIC Sat Aug 26 09:11:27 PDT 2023
x86_64 GNU/Linux

Kernel source is
https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/linux-6.4.12.tar.xz

Can reliably reproduce as follows:

# hexedit /dev/sda1 (this is my EFI partition)
PgDn
# hexedit /dev/sda
G 100000  (your value may vary--we want to seek to the start of the
EFI partition)
PgDn
PgDn
^C
write a marker to the padding between the BPB and the first FAT sector.
(If your system doesn't have one, edit an error message in the boot sector)
^X
# hexedit /dev/sda1
PgDn
Look for marker written above, find it's not there !!!
^C

I discovered this one trying to defragment my EFI partition after a
grub upgrade left it very fragmented due to replacing logos.

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

end of thread, other threads:[~2023-09-06  7:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-26 21:59 Cache coherency bug: stale reads on /dev/sda1 Joshua Hudson
2023-08-27  1:03 ` Bagas Sanjaya
2023-08-27  1:25   ` Joshua Hudson
2023-08-27  2:06     ` Al Viro
2023-08-27  2:38       ` Joshua Hudson
2023-08-27  2:50         ` Bagas Sanjaya
2023-08-27  4:17         ` Al Viro
2023-08-27 14:39           ` Joshua Hudson
2023-08-27 16:30             ` Al Viro
2023-08-27 18:33               ` Joshua Hudson
2023-09-06  7:42                 ` Hannes Reinecke

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).