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


Groups > linux.debian.kernel > #79173

Bug#1036530: linux-signed-amd64: Hard lock up of system

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Nick Hastings <nicholaschastings@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1036530: linux-signed-amd64: Hard lock up of system
Date Sun, 28 May 2023 03:20:01 +0200
Message-ID <GAdeF-bTSg-3@gated-at.bofh.it> (permalink)
References <Gy1hD-aya3-1@gated-at.bofh.it> <GyU4p-b5Gt-7@gated-at.bofh.it> <Gz65z-bd4A-1@gated-at.bofh.it> <Gzl4B-bmvS-1@gated-at.bofh.it> <Gy1hD-aya3-1@gated-at.bofh.it> <Gztvb-brzX-1@gated-at.bofh.it> <GzDXz-bykD-3@gated-at.bofh.it> <Gy1hD-aya3-1@gated-at.bofh.it> <GzDXz-bykD-3@gated-at.bofh.it>
X-Original-To 1036530@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun May 28 01:18:11 2023
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.609
Reply-To Nick Hastings <nicholaschastings@gmail.com>, 1036530@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1036530
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords upstream moreinfo
X-Debian-Pr-Source linux
X-Gm-Message-State AC+VfDzu9P5d1YoHTfPFri4s2YjllD5t8ZJMiIicT848K9ftARkJz6ko yOmEaoBIr33v3aKOV1FLF6dGLtFClOtbHg==
X-Google-SMTP-Source ACHHUZ5J/9UzXjOOybd5a5TVID+Zs3CHx2EjxceKXyFUE/XQ2RTQiTE+Lx/Ctx7TORNglGB5pi9SMg==
X-Received by 2002:a05:6a00:891:b0:643:d40c:7db1 with SMTP id q17-20020a056a00089100b00643d40c7db1mr9378211pfj.3.1685236494241; Sat, 27 May 2023 18:14:54 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1773030
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 85
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Salvatore Bonaccorso <carnil@debian.org>
X-Original-Date Sun, 28 May 2023 10:14:51 +0900
X-Original-Message-ID <ZHKrC4/G6ZyvRReI@xps>
X-Original-References <168471337231.1913606.15905047692536779158.reportbug@xps> <ZG3mbc3zdR4KcUW/@eldamar.lan> <ZG6cY8xjfob4Bvcs@xps> <ZG98fQ+MD4O0nGGE@eldamar.lan> <168471337231.1913606.15905047692536779158.reportbug@xps> <ZG/8cxxTJ9ZzrVPQ@xps> <ZHCYRmD7YeIWoy2W@eldamar.lan> <168471337231.1913606.15905047692536779158.reportbug@xps> <ZHCYRmD7YeIWoy2W@eldamar.lan>
Xref csiph.com linux.debian.bugs.dist:1148145 linux.debian.kernel:79173

Cross-posted to 2 groups.

Show key headers only | View raw


Control: tags -1 - moreinfo

Hi,

I repeated the git bisect, and the bad commit seems to be:

(git)-[v6.1-rc1~206^2~4^5~3|bisect] % git bisect bad
24867516f06dabedef3be7eea0ef0846b91538bc is the first bad commit
commit 24867516f06dabedef3be7eea0ef0846b91538bc
Author: Mario Limonciello <mario.limonciello@amd.com>
Date:   Tue Aug 23 13:51:31 2022 -0500

    ACPI: OSI: Remove Linux-Dell-Video _OSI string
    
    This string was introduced because drivers for NVIDIA hardware
    had bugs supporting RTD3 in the past.
    
    Before proprietary NVIDIA driver started to support RTD3, Ubuntu had
    had a mechanism for switching PRIME on and off, though it had required
    to logout/login to make the library switch happen.
    
    When the PRIME had been off, the mechanism had unloaded the NVIDIA
    driver and put the device into D3cold, but the GPU had never come back
    to D0 again which is why ODMs used the _OSI to expose an old _DSM
    method to switch the power on/off.
    
    That has been fixed by commit 5775b843a619 ("PCI: Restore config space
    on runtime resume despite being unbound"). so vendors shouldn't be
    using this string to modify ASL any more.
    
    Reviewed-by: Lyude Paul <lyude@redhat.com>
    Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

 drivers/acpi/osi.c | 9 ---------
 1 file changed, 9 deletions(-)

This machine is a Dell with an nvidia chip so it looks like this really
could be the commit that that is causing the problems. The description
of the commit also seems (to my untrained eye) to be consistent with the
error reported on the console when the lockup occurs:

[   58.729863] ACPI Error: Aborting method \_SB.PCI0.PGON due to previous error (AE_AML_LOOP_TIMEOUT) (20220331/psparse-529)
[   58.729904] ACPI Error: Aborting method \_SB.PCI0.PEG0.PG00._ON due to previous error (AE_AML_LOOP_TIMEOUT) (20220331/psparse-529)
[   60.083261] vfio-pci 0000:01:00.0 Unable to change power state from D3cold to D0, device inaccessible

Hopefully this is enough information for experts to resolve this.

Regards,

Nick.

* Salvatore Bonaccorso <carnil@debian.org> [230526 20:30]:
> Control: tags -1 + moreinfo
> 
> Hi Nick,
> 
> On Fri, May 26, 2023 at 09:25:23AM +0900, Nick Hastings wrote:
> > Hi Salvatore,
> > 
> > thanks for your help. However, I'm now not sure if I really have
> > identified the commit that causes my problems. I fear I may have made
> > one or more mistakes when setting "git bisect good". I had been under
> > the impression that the lock up would happen no more than a few tens of
> > minutes after booting, however it seems that sometimes it can take a few
> > hours to occur.
> > 
> > So, I'm running the git bisect again and will be more careful before
> > marking "git bisect good". It could take a few days.
> > 
> > Should this particular bug be closed?
> 
> Thanks a lot for reporting back, you time put in into bisect is very
> appreciated and valued! No, no need to close this one, as the bug
> still persist. Just followup please once you have identified the
> culprit with the fresh bisect.
> 
> Please do remove by then as well the moreinfo tag again (you can write
> a control message with tag -1 - moreinfo, so won't appear as bug
> needing information from reporter).
> 
> Thank you!
> 
> Regards,
> Salvatore

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1036530: linux-signed-amd64: Hard lock up of system Nick Hastings <nicholaschastings@gmail.com> - 2023-05-22 02:10 +0200
  Processed: Re: Bug#1036530: linux-signed-amd64: Hard lock up of  system "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-05-24 12:40 +0200
  Bug#1036530: linux-signed-amd64: Hard lock up of system Salvatore Bonaccorso <carnil@debian.org> - 2023-05-24 12:40 +0200
    Bug#1036530: linux-signed-amd64: Hard lock up of system Nick Hastings <nicholaschastings@gmail.com> - 2023-05-25 01:30 +0200
      Bug#1036530: linux-signed-amd64: Hard lock up of system Salvatore Bonaccorso <carnil@debian.org> - 2023-05-25 17:30 +0200
        Bug#1036530: linux-signed-amd64: Hard lock up of system Nick Hastings <nicholaschastings@gmail.com> - 2023-05-26 02:30 +0200
          Bug#1036530: linux-signed-amd64: Hard lock up of system Salvatore Bonaccorso <carnil@debian.org> - 2023-05-26 13:40 +0200
            Bug#1036530: linux-signed-amd64: Hard lock up of system Nick Hastings <nicholaschastings@gmail.com> - 2023-05-28 03:20 +0200
              Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) Salvatore Bonaccorso <carnil@debian.org> - 2023-05-28 09:00 +0200
  Processed: Re: Bug#1036530: linux-signed-amd64: Hard lock up of  system "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-05-26 13:40 +0200
  Processed: Re: Bug#1036530: linux-signed-amd64: Hard lock up of  system "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-05-28 03:20 +0200
  Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) Nick Hastings <nicholaschastings@gmail.com> - 2023-05-29 06:00 +0200
  Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) Nick Hastings <nicholaschastings@gmail.com> - 2023-05-30 09:10 +0200
    Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) Salvatore Bonaccorso <carnil@debian.org> - 2023-05-30 13:30 +0200
    Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) Nick Hastings <nicholaschastings@gmail.com> - 2023-06-01 01:50 +0200
  Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) Nick Hastings <nicholaschastings@gmail.com> - 2023-06-02 02:00 +0200
  Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) "Linux regression tracking (Thorsten Leemhuis)"  <regressions@leemhuis.info> - 2023-06-26 14:40 +0200
  Bug#1036530: Regression from "ACPI: OSI: Remove Linux-Dell-Video _OSI string"? (was: Re: Bug#1036530: linux-signed-amd64: Hard lock up of system) Thorsten Leemhuis <regressions@leemhuis.info> - 2023-06-30 15:10 +0200

csiph-web