After 5addcf0a (nouveau: add runtime PM support (v0.9)) I'm getting kernel panics immediately after resuming from suspend. Unfortunately it happens so early that I don't get any more info than the blinking keyboard lights... The nouveau tree still panics up to 2fb9d6c, which fails before I can test it. Any ideas? Martin $ lspci 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) 00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04) 01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 740M] (rev a1) 03:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4) 04:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10) $ dmesg | grep nouveau [ 1.816793] nouveau [ DEVICE][0000:01:00.0] BOOT0 : 0x0e71f0a2 [ 1.816797] nouveau [ DEVICE][0000:01:00.0] Chipset: GK107 (NVE7) [ 1.816800] nouveau [ DEVICE][0000:01:00.0] Family : NVE0 [ 1.823291] nouveau [ VBIOS][0000:01:00.0] checking PRAMIN for image... [ 1.871478] nouveau [ VBIOS][0000:01:00.0] ... signature not found [ 1.871481] nouveau [ VBIOS][0000:01:00.0] checking PROM for image... [ 1.871558] nouveau [ VBIOS][0000:01:00.0] ... signature not found [ 1.871560] nouveau [ VBIOS][0000:01:00.0] checking ACPI for image... [ 1.871562] nouveau [ VBIOS][0000:01:00.0] ... signature not found [ 1.871564] nouveau [ VBIOS][0000:01:00.0] checking PCIROM for image... [ 1.871811] nouveau 0000:01:00.0: Invalid ROM contents [ 1.871851] nouveau [ VBIOS][0000:01:00.0] ... signature not found [ 1.871852] nouveau [ VBIOS][0000:01:00.0] checking PLATFORM for image... [ 1.871902] nouveau [ VBIOS][0000:01:00.0] ... appears to be valid [ 1.871904] nouveau [ VBIOS][0000:01:00.0] using image from PLATFORM [ 1.872026] nouveau [ VBIOS][0000:01:00.0] BIT signature found [ 1.872031] nouveau [ VBIOS][0000:01:00.0] version 80.07.95.00.07 [ 1.959798] nouveau 0000:01:00.0: irq 43 for MSI/MSI-X [ 1.959823] nouveau [ PMC][0000:01:00.0] MSI interrupts enabled [ 1.959926] nouveau [ PFB][0000:01:00.0] RAM type: DDR3 [ 1.959928] nouveau [ PFB][0000:01:00.0] RAM size: 2048 MiB [ 1.959930] nouveau [ PFB][0000:01:00.0] ZCOMP: 0 tags [ 1.997918] nouveau [ PTHERM][0000:01:00.0] FAN control: none / external [ 1.997926] nouveau [ PTHERM][0000:01:00.0] fan management: disabled [ 1.997979] nouveau [ PTHERM][0000:01:00.0] internal sensor: yes [ 2.032309] nouveau E[ PBUS][0000:01:00.0] MMIO read of 0x00000000 FAULT at 0x300000 [ IBUS ] [ 2.032962] nouveau [ DRM] VRAM: 2048 MiB [ 2.032966] nouveau [ DRM] GART: 1048576 MiB [ 2.032972] nouveau E[ DRM] Pointer to TMDS table invalid [ 2.033016] nouveau [ DRM] DCB version 4.0 [ 2.033019] nouveau E[ DRM] Pointer to flat panel table invalid [ 2.033650] nouveau [ DRM] ACPI backlight interface available, not registering our own [ 2.033654] nouveau W[ DRM] voltage table 0x50 unknown [ 2.033659] nouveau [ DRM] 2 available performance level(s) [ 2.033662] nouveau [ DRM] 1: core 202MHz shader 405MHz memory 405MHz voltage 490mV [ 2.033664] nouveau [ DRM] 3: core 450MHz shader 901MHz memory 1080MHz voltage 580mV [ 2.033666] nouveau [ DRM] c: [ 2.046248] nouveau [ DRM] MM: using COPY for buffer copies [ 2.046253] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0 [ 42.063042] nouveau E[ PBUS][0000:01:00.0] MMIO write of 0x00000000 FAULT at 0x418880 [ IBUS ] [ 42.063087] nouveau E[ PIBUS][0000:01:00.0] GPC0: 0x419eb4 0xbadf1000 (0x3800820c) [ 44.064991] nouveau E[ PGRAPH][0000:01:00.0] HUB_INIT timed out [ 44.065000] nouveau E[ PGRAPH][0000:01:00.0] 409000 - done 0x00000244 [ 44.065010] nouveau E[ PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000000 0x00000000 [ 44.065020] nouveau E[ PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000002 0x00000009 [ 44.065024] nouveau E[ PGRAPH][0000:01:00.0] 502000 - done 0x00000300 [ 44.065029] nouveau E[ PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000 [ 44.065035] nouveau E[ PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000 [ 44.065037] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
On Thu, Oct 10, 2013 at 5:35 AM, Martin Nyhus <martin.nyhus at gmx.com> wrote:> After 5addcf0a (nouveau: add runtime PM support (v0.9)) I'm getting kernel > panics immediately after resuming from suspend. Unfortunately it happens so > early that I don't get any more info than the blinking keyboard lights... > > The nouveau tree still panics up to 2fb9d6c, which fails before I can test > it.Looks like you've got bigger problems here though, the chip doesn't seem to initialise properly at all. does it s/r okay with nouveau.runpm=0 on the command line? Dave.
On 10/09/2013 11:34 PM, Dave Airlie wrote:> On Thu, Oct 10, 2013 at 5:35 AM, Martin Nyhus <martin.nyhus at gmx.com> wrote: >> After 5addcf0a (nouveau: add runtime PM support (v0.9)) I'm getting kernel >> panics immediately after resuming from suspend. Unfortunately it happens so >> early that I don't get any more info than the blinking keyboard lights... >> >> The nouveau tree still panics up to 2fb9d6c, which fails before I can test >> it. > > Looks like you've got bigger problems here though, the chip doesn't > seem to initialise properly at all. > > does it s/r okay with nouveau.runpm=0 on the command line?No, it still panics on resume (aa4cf96 from nouveau tree). I've included dmesg output again since it seems to find the vbios image earlier than before (acpi vs platform), but that might be due to different kernel versions, not 100% which one I got the last log from. Martin $ dmesg | grep nouveau [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.12.0-rc3-00024-gaa4cf96 root=/dev/mapper/fedora_anthea-root ro rd.lvm.lv=fedora_anthea/root rd.md=0 rd.dm=0 vconsole.keymap=no rd.luks.uuid=luks-f3e174cb-3b82-4283-90e7-6fef94e72d3a vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora_anthea/swap rhgb quiet LANG=en_US.UTF-8 nouveau.runpm=0 [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.12.0-rc3-00024-gaa4cf96 root=/dev/mapper/fedora_anthea-root ro rd.lvm.lv=fedora_anthea/root rd.md=0 rd.dm=0 vconsole.keymap=no rd.luks.uuid=luks-f3e174cb-3b82-4283-90e7-6fef94e72d3a vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora_anthea/swap rhgb quiet LANG=en_US.UTF-8 nouveau.runpm=0 [ 2.499656] nouveau [ DEVICE][0000:01:00.0] BOOT0 : 0x0e71f0a2 [ 2.499659] nouveau [ DEVICE][0000:01:00.0] Chipset: GK107 (NVE7) [ 2.499660] nouveau [ DEVICE][0000:01:00.0] Family : NVE0 [ 2.504978] nouveau [ VBIOS][0000:01:00.0] checking PRAMIN for image... [ 2.553165] nouveau [ VBIOS][0000:01:00.0] ... signature not found [ 2.553168] nouveau [ VBIOS][0000:01:00.0] checking PROM for image... [ 2.553245] nouveau [ VBIOS][0000:01:00.0] ... signature not found [ 2.553248] nouveau [ VBIOS][0000:01:00.0] checking ACPI for image... [ 2.746196] nouveau [ VBIOS][0000:01:00.0] ... appears to be valid [ 2.746199] nouveau [ VBIOS][0000:01:00.0] using image from ACPI [ 2.746288] nouveau [ VBIOS][0000:01:00.0] BIT signature found [ 2.746291] nouveau [ VBIOS][0000:01:00.0] version 80.07.95.00.07 [ 2.832854] nouveau 0000:01:00.0: irq 43 for MSI/MSI-X [ 2.832875] nouveau [ PMC][0000:01:00.0] MSI interrupts enabled [ 2.832957] nouveau [ PFB][0000:01:00.0] RAM type: DDR3 [ 2.832959] nouveau [ PFB][0000:01:00.0] RAM size: 2048 MiB [ 2.832960] nouveau [ PFB][0000:01:00.0] ZCOMP: 0 tags [ 2.870677] nouveau [ PTHERM][0000:01:00.0] FAN control: none / external [ 2.870685] nouveau [ PTHERM][0000:01:00.0] fan management: disabled [ 2.870737] nouveau [ PTHERM][0000:01:00.0] internal sensor: yes [ 2.904920] nouveau E[ PBUS][0000:01:00.0] MMIO read of 0x00000000 FAULT at 0x300000 [ IBUS ] [ 2.905631] nouveau [ DRM] VRAM: 2048 MiB [ 2.905633] nouveau [ DRM] GART: 1048576 MiB [ 2.905637] nouveau E[ DRM] Pointer to TMDS table invalid [ 2.905664] nouveau [ DRM] DCB version 4.0 [ 2.905666] nouveau E[ DRM] Pointer to flat panel table invalid [ 2.906153] nouveau [ DRM] ACPI backlight interface available, not registering our own [ 2.906157] nouveau W[ DRM] voltage table 0x50 unknown [ 2.906162] nouveau [ DRM] 2 available performance level(s) [ 2.906165] nouveau [ DRM] 1: core 202MHz shader 405MHz memory 405MHz voltage 490mV [ 2.906167] nouveau [ DRM] 3: core 450MHz shader 901MHz memory 1080MHz voltage 580mV [ 2.906169] nouveau [ DRM] c: [ 2.918550] nouveau [ DRM] MM: using COPY for buffer copies [ 2.918555] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0 [ 54.136097] nouveau E[ PBUS][0000:01:00.0] MMIO write of 0x00000000 FAULT at 0x418880 [ IBUS ] [ 54.136153] nouveau E[ PIBUS][0000:01:00.0] GPC0: 0x419eb4 0xbadf1000 (0x3800820c) [ 56.138049] nouveau E[ PGRAPH][0000:01:00.0] HUB_INIT timed out [ 56.138058] nouveau E[ PGRAPH][0000:01:00.0] 409000 - done 0x00000244 [ 56.138068] nouveau E[ PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000000 0x00000000 [ 56.138078] nouveau E[ PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000002 0x00000009 [ 56.138082] nouveau E[ PGRAPH][0000:01:00.0] 502000 - done 0x00000300 [ 56.138087] nouveau E[ PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000 [ 56.138092] nouveau E[ PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000 [ 56.138095] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
Possibly Parallel Threads
- Panic in nouveau on resume after 5addcf0a
- [bisected] nouveau: "Failed to idle channel x" after resume
- [PATCH 1/9] drm/nouveau: Don't leak runtime pm ref on driver unload
- [PATCH 1/9] drm/nouveau: Don't leak runtime pm ref on driver unload
- [PATCH 1/9] drm/nouveau: Don't leak runtime pm ref on driver unload