Hi Salvatore, Thank you for the guidance.
At the moment, I am unable to test on a clean Debian kernel. However, I thought Proxmox was built on the Debian kernel, but I’m happy to report this issue upstream as you suggested. I will keep this report updated with any findings from my tests or responses from the upstream maintainers. Thank you very much. Best regards, Joseppe On Tue, Oct 29, 2024 at 11:55 AM Salvatore Bonaccorso <car...@debian.org> wrote: > Control: tags -1 + moreinfo upstream > > Hi, > > On Tue, Oct 29, 2024 at 11:28:48AM +0200, Joseppe wrote: > > Source: linux > > Version: src:linux > > Severity: normal > > X-Debbugs-Cc: joseppe.maye...@gmail.com > > > > Dear Maintainer, > > > > I’m reporting an issue encountered with LTFS on Debian 12 using the ATTO > ExpressSAS H680 HBA, potentially due to a compatibility problem with the > pm80xx driver. > > > > Problem Details: > > > > What led up to the situation? > > > > Attempting to mount a tape with LTFS using the ATTO ExpressSAS H680 HBA. > > > > What exactly did you do (or not do) that was effective (or ineffective)? > > > > Executed a standard LTFS mount operation, which consistently fails when > attempting to read the tape index during the mount process. > > > > What was the outcome of this action? > > > > LTFS outputs the following error message, suggesting an issue with SCSI > data transfer length handling: > > > > LTFS30216W Length mismatch is detected. (Act = 524288, resid = 0, > resid_sense = 523235). > > > > As a result, the tape fails to mount. > > > > What outcome did you expect instead? > > > > I expected LTFS to mount the tape without issues, as it does on macOS > with the ATTO vendor-specific driver. > > > > Additional Information: > > The same hardware works without issues on macOS, which suggests a > potential bug or missing feature in the pm80xx driver regarding SCSI data > transfer length handling for this device. > > > > Please let me know if further information or testing is needed. > > > > > > > > -- System Information: > > Debian Release: 12.7 > > APT prefers stable-updates > > APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, > 'stable') > > Architecture: amd64 (x86_64) > > > > Kernel: Linux 6.8.12-2-pve (SMP w/16 CPU threads; PREEMPT) > > Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, > TAINT_UNSIGNED_MODULE > > This does not look to be a Debian kernel, are you able to reproduce > the issue with the kernel provided in Debian? If so, does it happens > with the upstream kernel? And as I see a report here > https://github.com/LinearTapeFileSystem/ltfs/issues/484 > this is a proxmox provided kernel. > > But this does not look that it is specific to Debian kernel, so can > you please approach upstream as per: > > ./scripts/get_maintainer.pl ./drivers/scsi/pm8001/ > Jack Wang <jinpu.w...@cloud.ionos.com> (supporter:PMC SIERRA PM8001 > DRIVER) > "James E.J. Bottomley" <james.bottom...@hansenpartnership.com> > (maintainer:SCSI SUBSYSTEM) > "Martin K. Petersen" <martin.peter...@oracle.com> (maintainer:SCSI > SUBSYSTEM) > linux-s...@vger.kernel.org (open list:PMC SIERRA PM8001 DRIVER) > linux-ker...@vger.kernel.org (open list) > > Please keep us in the loop with updates. > > Regards, > Salvatore >