public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Regression][ext4] Regression at EXT4 filesystem code
Date: Mon, 24 Feb 2014 16:13:59 +0100	[thread overview]
Message-ID: <20140224161359.5309e540@amdc2363> (raw)
In-Reply-To: <52F0FDAA.6070401@nsn.com>

Dear All,

In the newest master u-boot 
(SHA1: 1674df60d17e0e72396c961d5390bb62b184ad95)

I've found a regression with writing to EXT4 file system:

Writing uImage to ext4 partition - created with Debian's
mkfs.ext4 /dev/sdd2 (size 58M)

dfu-util -R -a2 -D arch/arm/boot/uImage
uImage size - 4.8 MiB

GADGET DRIVER: usb_dnl_dfu
USB PHY0 Enable
#Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
File System is consistent
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
ext4fs_devread read outside partition 4294967294
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
Extent Error
ext4fs_devread read outside partition 4294967294
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
part_offset is 26624
total_sector is 131072
error: overflow occurs
Extent Error
Extent Error
ext4fs_devread read outside partition 4294967294
part_offset is 26624
total_sector is 131072
error: overflow occurs
update journal finished
Extent Error
ext4fs_devread read outside partition 4294967294
part_offset is 26624
total_sector is 131072
error: overflow occurs

DFU complete CRC32: 0x3875a108
DOWNLOAD ... OK
Ctrl+C to exit ...
resetting ...

The old file is still present on the partition.


After reverting following patch:

Commit: "ext4fs: Add ext4 extent cache for read operations"
SHA1: fc0fc50f38a4d7d0554558076a79dfe8b0d78cd5

I am able to store files on the ext4 partition:	

USB PHY0 Enable
#File System is consistent
file found deleting
update journal finished
File System is consistent
update journal finished

DFU complete CRC32: 0x3875a108
DOWNLOAD ... OK
Ctrl+C to exit ...
resetting ...


Any ideas how to fix it?

-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

  parent reply	other threads:[~2014-02-24 15:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 14:48 [U-Boot] [PATCH v2] ext4fs: Add ext4 extent cache for read operations Ionut Nicu
2014-02-21 19:57 ` [U-Boot] [U-Boot, " Tom Rini
2014-02-24 15:13 ` Lukasz Majewski [this message]
2014-02-24 16:42   ` [U-Boot] [Regression][ext4] Regression at EXT4 filesystem code Ionut Nicu
2014-02-26 13:20     ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140224161359.5309e540@amdc2363 \
    --to=l.majewski@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox