From: AKASHI, Takahiro <takahiro.akashi@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [BUG] fs: fat: error when handling long file names
Date: Wed, 19 Jun 2019 09:27:00 +0900 [thread overview]
Message-ID: <20190619002659.GJ6610@linaro.org> (raw)
In-Reply-To: <9aad4e3f-5c94-780e-acc6-1bd0b232449b@gmx.de>
Heinrich,
On Tue, Jun 18, 2019 at 09:00:56PM +0200, Heinrich Schuchardt wrote:
> Hello Takahiro
>
> I hope you have an idea what might be missing in the FAT file system
> support for long names.
>
> When running the SCT I saw this error for the GetInfo functional test:
>
> GetInfo() Basic Test - checkpoint3 -- PASS
>
> E4F4F6A2-7538-4C79-AA3C-67184EC70E16
>
> /home/supven01/work/sct_workspace/edk2/SctPkg/TestCase/UEFI/EFI/Protocol/SimpleFileSystem/BlackBoxTest/SimpleFileSystemBBTestFunction.c:8607:
> SystemInfo->Size - 18, BufferSize - 18, Tpl - 8
>
>
> EFI: Entry efi_file_open(000000007ef8c250, 000000007edeb0c0,
> "BBTestGetInfoBasicTestCheckpoint3_File_0", 8000000000000003, 0)
> Error: allocating new dir entry
>
> EFI: Exit: efi_file_open: 14
>
> EFI: Entry efi_file_open(000000007ef8c250, 000000007edeb0c8,
> "BBTestGetInfoBasicTestCheckpoint3_File_1", 8000000000000003, 0)
> Error: allocating new dir entry
>
> In the EFI shell output to a file with a long name sometimes fails
> (depending on the history of the volume).
>
> FS0:\> echo a > foo
> FS0:\> echo a > abcdefgh.ijk
> FS0:\> echo a > abcdefgh.ijkl
> ** Unable to write file /abcdefgh.ijkl **
> FS0:\>
If this happens again, can you send me the binary of the file system?
Probably the first 1MB will be enough if you don't have lots of
files/directories on it.
This will help me analyze the volume's header.
> Up to now the SCT test is the only thing that fails reproducibly.
SCT will create bunch of files and the logs can be quite big.
It's kinda stress test.
-Takahiro Akashi
> I use this repo for building:
> https://github.com/xypron/u-boot-build/tree/qemu-arm64
>
> make sct-prepare
> make sct
>
> Best regards
>
> Heinrich
prev parent reply other threads:[~2019-06-19 0:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 19:00 [U-Boot] [BUG] fs: fat: error when handling long file names Heinrich Schuchardt
2019-06-19 0:27 ` AKASHI, Takahiro [this message]
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=20190619002659.GJ6610@linaro.org \
--to=takahiro.akashi@linaro.org \
--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