Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84385 > unrolled thread

Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch

Started byJoseppe <joseppe.mayer19@gmail.com>
First post2024-10-29 10:40 +0100
Last post2024-11-02 15:40 +0100
Articles 5 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch Joseppe <joseppe.mayer19@gmail.com> - 2024-10-29 10:40 +0100
    Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch joseppe mayer <joseppe.mayer19@gmail.com> - 2024-10-29 11:20 +0100
    Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch Salvatore Bonaccorso <carnil@debian.org> - 2024-10-29 11:20 +0100
    Processed: Re: Bug#1086230: linux: LTFS mount failure on ATTO  H680 due to possible pm80xx driver SCSI length mismatch "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-10-29 11:20 +0100
    Bug#1086230: marked as done (linux: LTFS mount failure on ATTO  H680 due to possible pm80xx driver SCSI length mismatch) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-11-02 15:40 +0100

#84385 — Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch

FromJoseppe <joseppe.mayer19@gmail.com>
Date2024-10-29 10:40 +0100
SubjectBug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch
Message-ID<JCQRH-545r-1@gated-at.bofh.it>
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
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[toc] | [next] | [standalone]


#84388

Fromjoseppe mayer <joseppe.mayer19@gmail.com>
Date2024-10-29 11:20 +0100
Message-ID<JCRup-54F6-9@gated-at.bofh.it>
In reply to#84385

[Multipart message — attachments visible in raw view] — view raw

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 <carnil@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.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
>

[toc] | [prev] | [next] | [standalone]


#84389

FromSalvatore Bonaccorso <carnil@debian.org>
Date2024-10-29 11:20 +0100
Message-ID<JCRup-54F6-3@gated-at.bofh.it>
In reply to#84385
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

[toc] | [prev] | [next] | [standalone]


#84392 — Processed: Re: Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-10-29 11:20 +0100
SubjectProcessed: Re: Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch
Message-ID<JCRup-54F6-7@gated-at.bofh.it>
In reply to#84385
Processing control commands:

> tags -1 + moreinfo upstream
Bug #1086230 [src:linux] linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch
Added tag(s) upstream and moreinfo.

-- 
1086230: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086230
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#84424 — Bug#1086230: marked as done (linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-11-02 15:40 +0100
SubjectBug#1086230: marked as done (linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch)
Message-ID<JEnsd-68BQ-5@gated-at.bofh.it>
In reply to#84385

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 2 Nov 2024 15:33:58 +0100
with message-id <ZyY4VoUMtmohunlu@eldamar.lan>
and subject line Re: Bug#1086230: linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch
has caused the Debian Bug report #1086230,
regarding linux: LTFS mount failure on ATTO H680 due to possible pm80xx driver SCSI length mismatch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1086230: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086230
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web