Hi, On 2024-10-20 15:51, Aurelien Jarno wrote: > Hi, > > On 2024-10-19 20:16, Aurelien Jarno wrote: > > control: found -1 linux/6.11.2-1 > > > > Hi, > > > > On 2024-10-20 01:53, Jing Luo wrote: > > > On 2024-10-19 23:08, Aurelien Jarno wrote: > > > > Hi, > > > > > > > > On 2024-10-19 20:48, Jing Luo wrote: > > > > > Package: src:linux > > > > > Version: 6.10.12-1 > > > > > Severity: critical > > > > > Tags: upstream > > > > > Justification: causes serious data loss > > > > > > > > > > Hi, > > > > > > > > > > The dwmmc_starfive module causes serious filesystem corruption when > > > > > debian > > > > > is installed to emmc with linux-image-6.10.12-riscv64. > > > > > > > > The dwmmc_starfive module is providing support for both emmc and > > > > sd-card. Are you also able to reproduce the issue with the sd-card? > > > > > > I couldn't reproduce it with sd card: I still see kernel log spam by > > > dwmmc_starfive, but the filesystem itself looks ok. The filesystem passed > > > e2fsck and a debsums run. > > > > Ok, thanks for checking. Then it seems that the swiotlb messages, while > > worrying are unrelated to the data corruption. > > The swiotlb messages have been introduced by this upstream commits, > which has been backported in various stable branches: > > commit 8396c793ffdf28bb8aee7cfe0891080f8cab7890 > Author: Sam Protsenko <semen.protse...@linaro.org> > Date: Wed Mar 6 17:20:52 2024 -0600 > > mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K > > You can try to build a kernel with it reverted to see if it also fixes > the corruption issue. > > In the meantime, I am working on a patch.
Here it is: https://lore.kernel.org/linux-mmc/20241020142931.138277-1-aurel...@aurel32.net/T/#u Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://aurel32.net
signature.asc
Description: PGP signature