← Back to team overview

kernel-packages team mailing list archive

[Bug 1170917] Re: Powering down inactive GPU while running X causes NULL pointer dereference

 

Matthieu Baerts, could you please test the latest mainline kernel via
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-saucy/ and advise to
the results?

** Description changed:

- Hello,
- 
- I'm using Ubuntu Raring 13.04 with the latest version of the kernel
- available in these repos (3.8.0-19.29).
- 
- Sometimes I have a kernel OOPS at startup and it seems it's because I switch off my ATI card.
+ With using Kernel 3.8 and newer sometimes I have a kernel OOPS at startup and it seems it's because I switch off my ATI card.
  I added this line in my /etc/rc.local file:
-    echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
+    echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
  
  I don't have this bug each time but I guess it depends if this previous
- command is launched before or after that X11's launch.
- 
- I'm using this card: Mobility Radeon HD 4650.
+ command is launched before or after that X11's launch. I'm using this
+ card: Mobility Radeon HD 4650.
  
  It seems that this bug has already reported to there: https://bugzilla.kernel.org/show_bug.cgi?id=49531 and https://bugs.freedesktop.org/show_bug.cgi?id=61529
  But I guess it can be interesting to track this bug on Launchpad.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: linux-image-3.8.0-19-generic 3.8.0-19.29
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  mbaerts    2074 F.... pulseaudio
-  /dev/snd/pcmC0D0p:   mbaerts    2074 F...m pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  mbaerts    2074 F.... pulseaudio
+  /dev/snd/pcmC0D0p:   mbaerts    2074 F...m pulseaudio
  Date: Sat Apr 20 11:41:12 2013
  HibernationDevice: RESUME=UUID=06229bec-927d-4cfa-9a82-f9949d5151ca
  InstallationDate: Installed on 2011-08-10 (618 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  Lsusb:
-  Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
-  Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-  Bus 001 Device 003: ID 064e:a130 Suyin Corp.
+  Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
+  Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 001 Device 003: ID 064e:a130 Suyin Corp.
  MachineType: Medion P662X
  MarkForUpload: True
  ProcFB:
-  0 inteldrmfb
-  1 radeondrmfb
+  0 inteldrmfb
+  1 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-19-generic root=UUID=e7e166e5-3bef-4daf-88a1-5368a679c4a0 ro profile
  RelatedPackageVersions:
-  linux-restricted-modules-3.8.0-19-generic N/A
-  linux-backports-modules-3.8.0-19-generic  N/A
-  linux-firmware                            1.106
+  linux-restricted-modules-3.8.0-19-generic N/A
+  linux-backports-modules-3.8.0-19-generic  N/A
+  linux-firmware                            1.106
  RfKill:
-  0: phy0: Wireless LAN
-  	Soft blocked: no
-  	Hard blocked: no
+  0: phy0: Wireless LAN
+   Soft blocked: no
+   Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/13/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 202
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H36QM
  dmi.board.vendor: To be filled by O.E.M.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 10
  dmi.chassis.vendor: PEGATRON CORPORATION
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr202:bd04/13/2010:svnMedion:pnP662X:pvr1.0:rvnTobefilledbyO.E.M.:rnH36QM:rvr1.0:cvnPEGATRONCORPORATION:ct10:cvr1.0:
  dmi.product.name: P662X
  dmi.product.version: 1.0
  dmi.sys.vendor: Medion

** Tags added: needs-bisect

** Summary changed:

- Powering down inactive GPU while running X causes NULL pointer dereference
+ IP: [<ffffffffa01b6c05>] r600_pcie_gart_tlb_flush+0xf5/0x110 [radeon]; RIP: 0010:[<ffffffffa01b6c05>]  [<ffffffffa01b6c05>] r600_pcie_gart_tlb_flush+0xf5/0x110 [radeon]

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1170917

Title:
  IP: [<ffffffffa01b6c05>] r600_pcie_gart_tlb_flush+0xf5/0x110 [radeon];
  RIP: 0010:[<ffffffffa01b6c05>]  [<ffffffffa01b6c05>]
  r600_pcie_gart_tlb_flush+0xf5/0x110 [radeon]

Status in The Linux Kernel:
  Confirmed
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  With using Kernel 3.8 and newer sometimes I have a kernel OOPS at startup and it seems it's because I switch off my ATI card.
  I added this line in my /etc/rc.local file:
     echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

  I don't have this bug each time but I guess it depends if this
  previous command is launched before or after that X11's launch. I'm
  using this card: Mobility Radeon HD 4650.

  It seems that this bug has already reported to there: https://bugzilla.kernel.org/show_bug.cgi?id=49531 and https://bugs.freedesktop.org/show_bug.cgi?id=61529
  But I guess it can be interesting to track this bug on Launchpad.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: linux-image-3.8.0-19-generic 3.8.0-19.29
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  mbaerts    2074 F.... pulseaudio
   /dev/snd/pcmC0D0p:   mbaerts    2074 F...m pulseaudio
  Date: Sat Apr 20 11:41:12 2013
  HibernationDevice: RESUME=UUID=06229bec-927d-4cfa-9a82-f9949d5151ca
  InstallationDate: Installed on 2011-08-10 (618 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
  Lsusb:
   Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
   Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 003: ID 064e:a130 Suyin Corp.
  MachineType: Medion P662X
  MarkForUpload: True
  ProcFB:
   0 inteldrmfb
   1 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-19-generic root=UUID=e7e166e5-3bef-4daf-88a1-5368a679c4a0 ro profile
  RelatedPackageVersions:
   linux-restricted-modules-3.8.0-19-generic N/A
   linux-backports-modules-3.8.0-19-generic  N/A
   linux-firmware                            1.106
  RfKill:
   0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/13/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 202
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H36QM
  dmi.board.vendor: To be filled by O.E.M.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 10
  dmi.chassis.vendor: PEGATRON CORPORATION
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr202:bd04/13/2010:svnMedion:pnP662X:pvr1.0:rvnTobefilledbyO.E.M.:rnH36QM:rvr1.0:cvnPEGATRONCORPORATION:ct10:cvr1.0:
  dmi.product.name: P662X
  dmi.product.version: 1.0
  dmi.sys.vendor: Medion

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1170917/+subscriptions