* [bugzilla-daemon@bugzilla.kernel.org: [Bug 213945] New: Unable to power off iMac16,2]
@ 2021-08-02 16:48 Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2021-08-02 16:48 UTC (permalink / raw)
To: linux-pci; +Cc: kevo
Thanks for the report, Kevin.
Could you also attach the dmesg log from booting with "pci=earlydump"?
The kernel really should log the BARs and windows we get from firmware
before we change anything, but we currently do not, so "pci=earlydump"
is the only way to get that.
----- Forwarded message from bugzilla-daemon@bugzilla.kernel.org -----
Date: Mon, 02 Aug 2021 16:02:47 +0000
From: bugzilla-daemon@bugzilla.kernel.org
To: bjorn@helgaas.com
Subject: [Bug 213945] New: Unable to power off iMac16,2
Message-ID: <bug-213945-41252@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=213945
Bug ID: 213945
Summary: Unable to power off iMac16,2
Product: Drivers
Version: 2.5
Kernel Version: 5.4.0
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PCI
Assignee: drivers_pci@kernel-bugs.osdl.org
Reporter: kevo@gatorgraphics.com
Regression: No
Created attachment 298155
--> https://bugzilla.kernel.org/attachment.cgi?id=298155&action=edit
dmesg
I believe this bug is very similar if not the same to
https://bugzilla.kernel.org/show_bug.cgi?id=103211.
I have managed to work around it and have the computer power off by using the
two setpci commands from comment 298 in bug report 103211 in a systemd shutdown
script placed in /lib/systemd/system-shutdown.
#!/bin/sh
case $1 in
poweroff)
setpci -s1c.0 0x20.l=0xf011f001
setpci -s1c.0 0x24.l=0xf031f021
;;
esac
Without the script the computer will just hang at shutdown. It also will not
suspend properly. It looks like it does, but then it will not wake up and I
have to hard power it down by holding the power button for 10 seconds before I
can turn it back on again.
I am attaching the output of dmesg, lspci, dmidecode and /proc/iomem and
/proc/ioports to aid in possibly extending the quirk fix from the previous bug
report. Hopefully the issue is similar enough that it will be a quick fix.
I do believe I am running the latest BIOS (427.140.8.0.0 06/13/2021) which I
believe was installed when I installed Big Sur.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
----- End forwarded message -----
^ permalink raw reply [flat|nested] 2+ messages in thread
* [bugzilla-daemon@bugzilla.kernel.org: [Bug 213945] New: Unable to power off iMac16,2]
@ 2021-08-02 16:48 Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2021-08-02 16:48 UTC (permalink / raw)
To: linux-pci
----- Forwarded message from bugzilla-daemon@bugzilla.kernel.org -----
Date: Mon, 02 Aug 2021 16:02:47 +0000
From: bugzilla-daemon@bugzilla.kernel.org
To: bjorn@helgaas.com
Subject: [Bug 213945] New: Unable to power off iMac16,2
Message-ID: <bug-213945-41252@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=213945
Bug ID: 213945
Summary: Unable to power off iMac16,2
Product: Drivers
Version: 2.5
Kernel Version: 5.4.0
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PCI
Assignee: drivers_pci@kernel-bugs.osdl.org
Reporter: kevo@gatorgraphics.com
Regression: No
Created attachment 298155
--> https://bugzilla.kernel.org/attachment.cgi?id=298155&action=edit
dmesg
I believe this bug is very similar if not the same to
https://bugzilla.kernel.org/show_bug.cgi?id=103211.
I have managed to work around it and have the computer power off by using the
two setpci commands from comment 298 in bug report 103211 in a systemd shutdown
script placed in /lib/systemd/system-shutdown.
#!/bin/sh
case $1 in
poweroff)
setpci -s1c.0 0x20.l=0xf011f001
setpci -s1c.0 0x24.l=0xf031f021
;;
esac
Without the script the computer will just hang at shutdown. It also will not
suspend properly. It looks like it does, but then it will not wake up and I
have to hard power it down by holding the power button for 10 seconds before I
can turn it back on again.
I am attaching the output of dmesg, lspci, dmidecode and /proc/iomem and
/proc/ioports to aid in possibly extending the quirk fix from the previous bug
report. Hopefully the issue is similar enough that it will be a quick fix.
I do believe I am running the latest BIOS (427.140.8.0.0 06/13/2021) which I
believe was installed when I installed Big Sur.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
----- End forwarded message -----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-02 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 16:48 [bugzilla-daemon@bugzilla.kernel.org: [Bug 213945] New: Unable to power off iMac16,2] Bjorn Helgaas
2021-08-02 16:48 Bjorn Helgaas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.