EXT4-fs error (device mmcblk2p2): ext4_mb_generate_buddy:757

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EXT4-fs error (device mmcblk2p2): ext4_mb_generate_buddy:757

2,055 Views
851931531
Contributor I

I use imx8m mini evk,Linux version 4.14.78-imx_4.14.78_1.0.0_ga+g94da7bdc489b. i use  insmod g_mass_storage.ko, make the imx8mm insert into PC as a usb disk.When i open linux file systems for windows(a software run in windows) , i can read and write the imx8mm files system  alike i use a usb disk.But imx8mm often print this error:

EXT4-fs error (device mmcblk2p2): ext4_mb_generate_buddy:757: group 6, block bitmap and bg des.

Some time it also print when i read or wite the imx8mm file system in the PC:
[ 1382.882751] EXT4-fs (mmcblk2p2): Total free blocks count 0
[ 1382.883443] EXT4-fs (mmcblk2p2): Free/Dirty block details
[ 1382.884259] EXT4-fs (mmcblk2p2): free_blocks=1040938
[ 1382.884889] EXT4-fs (mmcblk2p2): dirty_blocks=12951
[ 1382.885504] EXT4-fs (mmcblk2p2): Block reservation details
[ 1382.886199] EXT4-fs (mmcblk2p2): i_reserved_data_blocks=12950
[ 1392.898544] EXT4-fs (mmcblk2p2): Delayed block allocation failed for inode 807 at logical offset 0 with max blocks 161 with error 28
[ 1392.900069] EXT4-fs (mmcblk2p2): This should not happen!! Data will be lost

[    0.522976] EXT4-fs error (device mmcblk2p2): ext4_mb_generate_buddy:757: group 13, block bitmap and bg descriptor inconsistent: 0 vs 65535 free clusters
[    0.525035] EXT4-fs error (device mmcblk2p2): ext4_mb_generate_buddy:757: group 14, block bitmap and bg descriptor inconsistent: 1 vs 0 free clusters

Then the imx8mm system will collapse .Can you help me?

Labels (1)
0 Kudos
1 Reply

1,754 Views
igorpadykov
NXP Employee
NXP Employee

Hi 魏伟 魏 

one can try usb unit tests

mxc_usb_test\test - imx-test - i.MX Driver Test Application Software 

with Demo Images from link

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos