regression: amd-vi(amd_iommu) crash kernel

Bug #1598068 reported by SunnyDrake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

works in kernel 3.9
not working in current 4.4.0-28-generic
kernel options ivrs_ioapic[x]= workaround to fix ivrs table
cause kernel Oops on boot
if needed can provide more info (dunno how dmesg not saved)

Description: Ubuntu 16.04 LTS
Release: 16.04
package: linux-image-4.4.0-28-generic
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC3: sunnydrake 1903 F.... pulseaudio
 /dev/snd/controlC2: sunnydrake 1903 F.... pulseaudio
 /dev/snd/controlC0: sunnydrake 1903 F.... pulseaudio
 /dev/snd/controlC1: sunnydrake 1903 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=0b0b6284-f02f-4543-98d7-2e63ba854127
InstallationDate: Installed on 2016-02-10 (142 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-28-generic root=/dev/mapper/ubuntu--vg--root--raid-lvm_root ro vfio_iommu_type1.allow_unsafe_interrupts=0 vfio_iommu_type1.disable_hugepages=1 modules-load=vfio-pci amd_iommu_dump=1 amd_iommu=1
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-28-generic N/A
 linux-backports-modules-4.4.0-28-generic N/A
 linux-firmware 1.157.1
RfKill:

Tags: xenial
Uname: Linux 4.4.0-28-generic x86_64
UpgradeStatus: Upgraded to xenial on 2016-06-23 (8 days ago)
UserGroups: adm cdrom dip fuse libvirtd lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/25/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1605
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M5A97
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1605:bd10/25/2012:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnM5A97:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.

Revision history for this message
SunnyDrake (beebop) wrote :
Revision history for this message
SunnyDrake (beebop) wrote :
tags: added: kernel-bug
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1598068

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.7 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc5-yakkety/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Revision history for this message
SunnyDrake (beebop) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
SunnyDrake (beebop) wrote : CRDA.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : CurrentDmesg.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : IwConfig.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : JournalErrors.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : Lspci.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : Lsusb.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : ProcEnviron.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : ProcInterrupts.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : ProcModules.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : PulseList.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : UdevDb.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote : WifiSyslog.txt

apport information

Revision history for this message
SunnyDrake (beebop) wrote :

testing
linux-headers-4.7.0-040700rc5-generic_4.7.0-040700rc5.201606262232_amd64.deb
linux-image-4.7.0-040700rc5-generic_4.7.0-040700rc5.201606262232_amd64.deb

Revision history for this message
SunnyDrake (beebop) wrote :

tested on linux-image-4.7.0-040700rc5-generic_4.7.0-040700rc5.201606262232_amd64
problem still exist

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
SunnyDrake (beebop) wrote :

tested on linux-image-4.7.0-040700rc5-generic_4.7.0-040700rc5.201606262232_amd64
bug still exists
kernel errors:
BUG: unable to handle kernel NULL pointer dereference at 000..03e
... irq_pm_install_action+0x1c'0xd0

SunnyDrake (beebop)
tags: added: kernel-bug-exists-upstream
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report[0]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

Please follow the instructions on the wiki page[0]. The first step is to email the appropriate mailing list. If no response is received, then a bug may be opened on bugzilla.kernel.org.

Once this bug is reported upstream, please add the tag: 'kernel-bug-reported-upstream'.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
status: Confirmed → Triaged
SunnyDrake (beebop)
tags: added: kernel-bug- reported-upstream
Revision history for this message
SunnyDrake (beebop) wrote :
Revision history for this message
SunnyDrake (beebop) wrote :

after applying patch "[PATCH] iommu/amd: Fix unity mapping initialization race " https://lists.linuxfoundation.org/pipermail/iommu/2016-July/017781.html kernel boots but then freeze in Login Manager

Revision history for this message
SunnyDrake (beebop) wrote :

4.7 rc7 fixed this issue so im closing this bug

tags: added: kernel-fixed-upstream
removed: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.