Bug#1078730: linux-image-6.10.3-amd64: ubi module leaves debugfs directory /sys/kernel/debug/ubi when is failing to load
Control: tags -1 + moreinfo
Hi,
On Thu, Aug 15, 2024 at 01:07:32AM +0200, EasyNetDev wrote:
> Package: src:linux
> Version: 6.10.3-1
> Severity: normal
>
> Dear Maintainer,
>
> *** Reporter, please consider answering these questions, where appropriate ***
>
> * What led up to the situation?
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> * What was the outcome of this action?
> * What outcome did you expect instead?
>
> *** End of the template - remove these template lines ***
>
> When I'm using nandsim and write a file in /dev/mtd1 with some UBI partition
> and UBI module can't load the data, is failing to load and is leaving
> /sys/kernel/debug/ubi/ directory.
> The next attempt is failing with:
>
> [ 1061.450295] debugfs: Directory 'ubi' with parent '/' already present!
> [ 1061.450299] UBI error: cannot create "ubi" debugfs directory, error -17
> [ 1061.450345] UBI error: cannot initialize UBI, error -17
>
> I think something is happen with debugfs_remove() / ubi_debugfs_exit_dev() when
> module is failing to load.
Can you please report your issue upstream and link your upstream
report back here?
Thanks,
Regards,
Salvatore
Reply to: