* Re: [Bug 90311] New: Hibernate failure with intel_iommu [not found] <bug-90311-41252@https.bugzilla.kernel.org/> @ 2014-12-25 19:55 ` Bjorn Helgaas 2014-12-25 20:49 ` Thomas Lindroth 0 siblings, 1 reply; 2+ messages in thread From: Bjorn Helgaas @ 2014-12-25 19:55 UTC (permalink / raw) To: thomas.lindroth Cc: linux-pci@vger.kernel.org, alex.williamson@redhat.com, open list:INTEL IOMMU (VT-d) [+cc Alex, linux-pci, iommu] On Thu, Dec 25, 2014 at 12:13 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=90311 > > Bug ID: 90311 > Summary: Hibernate failure with intel_iommu > Product: Drivers > Version: 2.5 > Kernel Version: 3.18.1 > Hardware: x86-64 > OS: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: PCI > Assignee: drivers_pci@kernel-bugs.osdl.org > Reporter: thomas.lindroth@gmail.com > Regression: No > > Created attachment 161811 > --> https://bugzilla.kernel.org/attachment.cgi?id=161811&action=edit > dmesg with iommu on > > Enabling intel_iommu=on causes uswsusp s2disk to fail. Hibernate always works > fine without iommu and as far as I can tell everything works fine with iommu on > without hibernating. With intel_iommu set to on I can enter hibernate but the > system doesn't come back properly. By that I mean the kernel can't read from > swap and everything freezes. I can still switch between virtual terminals, view > the system log and use magic sysrq to reboot. The system log is spammed with > error messages from the scsi subsystem. http://i.imgur.com/ToFd8NM.jpg sdb > contains root and swap. > > I'm guessing the iommu mapping isn't setup properly after resume so the disk > controller can't do DMA anymore. I have made sure the kernel command line > contains intel_iommu=on before and after suspend. I have one of the bad marvell > 88SE9172 controllers but the swap is not connected to it (bug #42679). > > I'm running a gentoo system with kernel 3.18.1 on a Gigabyte Z97X-Gaming G1 > mobo with bios F7 (latest). Finding the problem might be difficult and I don't > know what kind of information to provide. I can give you any debug output > needed and apply debug patches if needed. Is this a regression? If so, what was the most recent working kernel? ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bug 90311] New: Hibernate failure with intel_iommu 2014-12-25 19:55 ` [Bug 90311] New: Hibernate failure with intel_iommu Bjorn Helgaas @ 2014-12-25 20:49 ` Thomas Lindroth 0 siblings, 0 replies; 2+ messages in thread From: Thomas Lindroth @ 2014-12-25 20:49 UTC (permalink / raw) To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, alex.williamson@redhat.com, open list:INTEL IOMMU (VT-d) On 12/25/2014 08:55 PM, Bjorn Helgaas wrote: > [+cc Alex, linux-pci, iommu] > > On Thu, Dec 25, 2014 at 12:13 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote: >> https://bugzilla.kernel.org/show_bug.cgi?id=90311 >> >> Bug ID: 90311 >> Summary: Hibernate failure with intel_iommu >> Product: Drivers >> Version: 2.5 >> Kernel Version: 3.18.1 >> Hardware: x86-64 >> OS: Linux >> Tree: Mainline >> Status: NEW >> Severity: normal >> Priority: P1 >> Component: PCI >> Assignee: drivers_pci@kernel-bugs.osdl.org >> Reporter: thomas.lindroth@gmail.com >> Regression: No >> >> Created attachment 161811 >> --> https://bugzilla.kernel.org/attachment.cgi?id=161811&action=edit >> dmesg with iommu on >> >> Enabling intel_iommu=on causes uswsusp s2disk to fail. Hibernate always works >> fine without iommu and as far as I can tell everything works fine with iommu on >> without hibernating. With intel_iommu set to on I can enter hibernate but the >> system doesn't come back properly. By that I mean the kernel can't read from >> swap and everything freezes. I can still switch between virtual terminals, view >> the system log and use magic sysrq to reboot. The system log is spammed with >> error messages from the scsi subsystem. http://i.imgur.com/ToFd8NM.jpg sdb >> contains root and swap. >> >> I'm guessing the iommu mapping isn't setup properly after resume so the disk >> controller can't do DMA anymore. I have made sure the kernel command line >> contains intel_iommu=on before and after suspend. I have one of the bad marvell >> 88SE9172 controllers but the swap is not connected to it (bug #42679). >> >> I'm running a gentoo system with kernel 3.18.1 on a Gigabyte Z97X-Gaming G1 >> mobo with bios F7 (latest). Finding the problem might be difficult and I don't >> know what kind of information to provide. I can give you any debug output >> needed and apply debug patches if needed. > > Is this a regression? If so, what was the most recent working kernel? It's not a regression but I've only been able to test iommu on kernel 3.17 and up because of that faulty marvell controller. Hibernate fails on both 3.17 and 3.18 but I don't know about older kernels. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-25 20:49 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <bug-90311-41252@https.bugzilla.kernel.org/> 2014-12-25 19:55 ` [Bug 90311] New: Hibernate failure with intel_iommu Bjorn Helgaas 2014-12-25 20:49 ` Thomas Lindroth
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).