Bug#998627: DKMS NTFS3 with original Kernel drivers

2024-08-09 Thread EasyNetDev

Hi,

Off the record I was starting my own DKMS NTFS3 driver for Linux Kernels 
from 6.4 here: https://github.com/EasyNetDev/ntfs3-dkms
The idea is simple: use the NTFS3 driver from Linux sources and make it 
as external compiled module.
But unfortunately who wants to use it, he/she must installed manually on 
his system.


Also rules is auto detecting which driver versions it has as MIN and MAX 
to avoid failing build for non present Kernel driver.


I'm using in parallel with ntfs-3g package:

easynet@Ryzen5900X:~/Devel/$ dpkg -l | grep ntfs
ii  libfsntfs-utils   20200921-2.1+b1 
amd64    NTFS access 
library -- Utilities
ii  libfsntfs1t64:amd64   20200921-2.1+b1 
amd64    NTFS access library
ii  libntfs-3g89t64:amd64 1:2022.10.3-3 
  amd64    read/write NTFS 
driver for FUSE (runtime library)
ii ntfs-3g   1:2022.10.3-3 
  amd64    read/write NTFS 
driver for FUSE
ii ntfs3-dkms    1.0.10 
 all  NTFS 
Read-Write file system support


easynet@Ryzen5900X:~/Devel/$ mount | grep ntfs
/dev/nvme0n1p3 on /media/easynet/F23EE5193EE4D79D type ntfs3 
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,uhelper=udisks2)


easynet@Ryzen5900X:~/Devel/$uname -a
Linux Ryzen5900X 6.9.12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.12-1 
(2024-07-27) x86_64 GNU/Linux


easynet@Ryzen5900X:~/Devel/$sudo dkms status
ntfs3/1.0.10, 6.9.12-amd64, amd64: installed
virtualbox/7.0.16, 6.7.9-amd64, x86_64: installed
virtualbox/7.0.16, 6.9.10-amd64, x86_64: installed
virtualbox/7.0.16, 6.9.12-amd64, x86_64: installed


I will try to build my own Debian / Ubuntu repo.

The idea to split ntfs-3g in 2 packages sounds very good. In this case 
anybody can choose which driver wants to use.




Bug#1078730: linux-image-6.10.3-amd64: ubi module leaves debugfs directory /sys/kernel/debug/ubi when is failing to load

2024-08-14 Thread EasyNetDev
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.


-- Package-specific info:
** Version:
Linux version 6.10.3-amd64 (debian-ker...@lists.debian.org) 
(x86_64-linux-gnu-gcc-13 (Debian 13.3.0-4) 13.3.0, GNU ld (GNU Binutils for 
Debian) 2.42.90.20240720) #1 SMP PREEMPT_DYNAMIC Debian 6.10.3-1 (2024-08-04)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-6.10.3-amd64 
root=UUID=3512f81b-8498-4e08-be65-2e94b3c08f0f ro acpi_enforce_resources=lax 
splash quiet

** Not tainted

** Kernel log:
[  530.580099] ECC unrecoverable error
[  530.580101] ECC unrecoverable error
[  530.580102] ECC unrecoverable error
[  530.580103] ECC unrecoverable error
[  530.580104] ubi0 warning: ubi_io_read [ubi]: error -74 (ECC error) while 
reading 22528 bytes from PEB 276:2048, read only 22528 bytes, retry
[  530.580113] ECC unrecoverable error
[  530.580118] ECC unrecoverable error
[  530.580120] ECC unrecoverable error
[  530.580121] ECC unrecoverable error
[  530.580123] ECC unrecoverable error
[  530.580127] ECC unrecoverable error
[  530.580129] ECC unrecoverable error
[  530.580130] ECC unrecoverable error
[  530.580132] ECC unrecoverable error
[  530.580136] ECC unrecoverable error
[  530.580138] ECC unrecoverable error
[  530.580140] ECC unrecoverable error
[  530.580141] ECC unrecoverable error
[  530.580146] ECC unrecoverable error
[  530.580147] ECC unrecoverable error
[  530.580149] ECC unrecoverable error
[  530.580150] ECC unrecoverable error
[  530.580155] ECC unrecoverable error
[  530.580156] ECC unrecoverable error
[  530.580158] ECC unrecoverable error
[  530.580159] ECC unrecoverable error
[  530.580164] ECC unrecoverable error
[  530.580166] ECC unrecoverable error
[  530.580167] ECC unrecoverable error
[  530.580168] ECC unrecoverable error
[  530.580178] ECC unrecoverable error
[  530.580179] ECC unrecoverable error
[  530.580181] ECC unrecoverable error
[  530.580182] ECC unrecoverable error
[  530.580187] ECC unrecoverable error
[  530.580189] ECC unrecoverable error
[  530.580190] ECC unrecoverable error
[  530.580192] ECC unrecoverable error
[  530.580196] ECC unrecoverable error
[  530.580198] ECC unrecoverable error
[  530.580200] ECC unrecoverable error
[  530.580201] ECC unrecoverable error
[  530.580206] ECC unrecoverable error
[  530.580207] ECC unrecoverable error
[  530.580209] ECC unrecoverable error
[  530.580210] ECC unrecoverable error
[  530.580211] ubi0 error: ubi_io_read [ubi]: error -74 (ECC error) while 
reading 22528 bytes from PEB 276:2048, read 22528 bytes
[  530.580216] CPU: 2 PID: 5544 Comm: modprobe Not tainted 6.10.3-amd64 #1  
Debian 6.10.3-1
[  530.580218] Hardware name: Gigabyte Technology Co., Ltd. X570S AORUS ELITE 
AX/X570S AORUS ELITE AX, BIOS F8 03/22/2024
[  530.580219] Call Trace:
[  530.580220]  
[  530.580221]  dump_stack_lvl+0x64/0x80
[  530.580224]  ubi_io_read+0x155/0x3f0 [ubi]
[  530.580229]  ubi_read_volume_table+0x115/0xb30 [ubi]
[  530.580234]  ubi_attach+0x650/0x1480 [ubi]
[  530.580240]  ubi_attach_mtd_dev+0x5ed/0xdf0 [ubi]
[  530.580246]  ubi_init+0x181/0x2e0 [ubi]
[  530.580250]  ? __pfx_ubi_init+0x10/0x10 [ubi]
[  530.580254]  do_one_initcall+0x5b/0x320
[  530.580258]  do_init_module+0x60/0x240
[  530.580260]  init_module_from_file+0x89/0xe0
[  530.580264]  idempotent_init_module+0x120/0x2b0
[  530.580267]  __x64_sys_finit_module+0x5e/0xb0
[  530.580269]  do_syscall_64+0x82/0x190
[  530.580272]  ? srso_alias_return_thunk+0x5/0xfbef5
[  530.580274]  ? do_user_addr_fault+0x33a/0x6a0
[  530.580276]  ? srso_alias_return_thunk+0x5/0xfbef5
[  530.580278]  ? srso_alias_return_thunk+0x5/0xfbef5
[  530.580280]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[  530.580282] RIP: 0033:0x7f33eab1c0e9
[  530.580285] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 4c 0d 00 f7 d8 64 89 01 48
[  530.580286] RSP: 002b:7fff1f74a688 EFLAGS: 0246 ORIG_RAX: 
0139
[  530.580288] RAX: ffda RBX: 558c83cf2d00 RCX: 7f33eab1c0e9
[  530.580289] RDX: 0

Bug#1088117: KDSoap 2.2.0 Debianized

2025-01-07 Thread EasyNetDev
I was able to build kdsoap-ws-discovery-client . It needs a small patch 
in CmakeLists.txt and I need to add Debian package to it.


I will release it under my GitHub today or tomorrow. Then I will try to 
build kio-extras with SMB enabled and I will update Debian packaging to 
depend on kdsoap and kdsoap-ws-discovery-client.




Bug#1088117: KDSoap 2.2.0 Debianized

2025-01-07 Thread EasyNetDev

Hi all,

I've just released KDSoap 2.2.0 for Debian.

Please find it here: https://github.com/EasyNetDev/KDSoap .

I'm working now for a Debianization version for kdsoap-ws-discovery-client .

Kind regards



Bug#1088117: KDSoap 2.2.0 Debianized

2025-01-08 Thread EasyNetDev

Hi all,

I was able to build the packages for both KDSoap and 
kdsoap-ws-discovery-client.


https://github.com/EasyNetDev/KDSoap
https://github.com/EasyNetDev/kdsoap-ws-discovery-client

But when I'm trying to compile kio-extra I'm getting this error:

-- Found KF6: success (found suitable version "6.8.0", minimum required 
is "6.0.0") found components: Archive Config ConfigWidgets CoreAddons 
DocTools DNSSD I18n KIO S

olid GuiAddons SyntaxHighlighting KCMUtils TextWidgets
-- Found KF6: success (found suitable version "6.8.0", minimum required 
is "6.0.0") found components: DBusAddons
CMake Warning (dev) at 
/usr/share/ECM/kde-modules/KDEClangFormat.cmake:107 (add_custom_command):

Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
POST_BUILD to preserve backward compatibility.

Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:80 (kde_clang_format)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at 
/usr/lib/x86_64-linux-gnu/cmake/libappimage/scripts.cmake:1 
(cmake_minimum_required):

Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument  value.  Or, use the ... syntax
to tell CMake that the project requires at least  but has been updated
to work with policies introduced by  or earlier.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/libappimage/imported_dependencies.cmake:1 
(include)
/usr/lib/x86_64-linux-gnu/cmake/libappimage/libappimageConfig.cmake:50 
(include)

thumbnail/CMakeLists.txt:20 (find_package)


-- Importing target libglib via pkg-config (glib-2.0>=2.40, shared)
-- Importing target libgobject via pkg-config (gobject-2.0>=2.40, shared)
-- Importing target libgio via pkg-config (gio-2.0>=2.40, shared)
-- Importing target libzlib via pkg-config (zlib, shared)
-- Importing target libcairo via pkg-config (cairo, shared)
-- Importing target librsvg via pkg-config (librsvg-2.0, shared)
-- Found KF6: success (found version "6.8.0") found components: Codecs
-- The following features have been enabled:

* Qt6Test (required version >= 6.5.0), Required for building tests
Required for tests

-- The following OPTIONAL packages have been found:

* OpenGL
* Vulkan
* Qt6Svg (required version >= 6.5.0)
* Qt6Core5Compat (required version >= 6.5.0)
* Qt6DBusTools (required version >= 6.7.2)
* Qt6QmlTools (required version >= 6.7.2)
* Qt6Network (required version >= 6.5.0)
* XKB (required version >= 0.5.0), XKB API common to servers and 
clients., <http://xkbcommon.org>

* WrapVulkanHeaders
* Qt6GuiTools (required version >= 6.7.2)
* Qt6Test (required version >= 6.5.0), Required for building tests
Required for tests
* Qt6CoreTools (required version >= 6.7.2)
* Qt6WidgetsTools (required version >= 6.7.2)
* Qt6Widgets
* Phonon4Qt6Experimental (required version == 4.12.0)
* Phonon4Qt6 (required version >= 4.6.60), Qt-based audio library
Required for the audio preview plugin
* Samba, the SMB client library, a version with smbc_set_context() and 
smbc_option_set(), <https://www.samba.org/>

Needed to build the SMB KIO worker
* libssh (required version >= 0.8.3), the SSH library with SFTP support, 
<https://www.libssh.org/>

Needed to build the SFTP KIO worker
* Libmtp (required version >= 1.1.2), libmtp, an Initiator 
implementation of the Media Transfer Protocol (MTP), 
<http://libmtp.sourceforge.net/>

Needed to build the MTP KIO worker
* IMobileDevice, library to communicate with iOS devices, 
<https://www.libimobiledevice.org/>

Needed to build the AFC (Apple File Conduit) KIO worker
* PList, library to handle Apple property list format, 
<https://www.libimobiledevice.org/>

Needed to build the AFC (Apple File Conduit) KIO worker
* Gperf, Perfect hash function generator, 
<https://www.gnu.org/software/gperf/>

Needed to build the man KIO worker
* OpenEXR (required version >= 3.0), A library for handling OpenEXR high 
dynamic-range image files, <https://www.openexr.com/>

Provides support for OpenEXR formatted images in the thumbnail KIO worker
* libappimage (required version >= 0.1.10), Core library of the AppImage 
project, <https://github.com/AppImage/libappimage>

Provides support for AppImage thumbnails
* Freetype
* Fontconfig
* X11, X11 libraries, <https://www.x.org>
Provides support for XCursor thumbnails
* Taglib (required version >= 1.11), A library for reading and editing 
the meta-data of audio formats, <https://taglib.org/>

Provides support for audio thumbnails
* KExiv2Qt6
Provides support for extracting JPEG thumbnails
* Git

-- The following REQU