Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch
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.mayer19@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.wang@cloud.ionos.com> (supporter:PMC SIERRA PM8001 DRIVER)
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> (maintainer:SCSI SUBSYSTEM)
"Martin K. Petersen" <martin.petersen@oracle.com> (maintainer:SCSI SUBSYSTEM)
linux-scsi@vger.kernel.org (open list:PMC SIERRA PM8001 DRIVER)
linux-kernel@vger.kernel.org (open list)
Please keep us in the loop with updates.
Regards,
Salvatore
Reply to: