nouveau regression on G5 Dual Core

2015-04-22 Thread Olaf Hering
On Wed, Apr 22, Olaf Hering wrote:

> I will see which commit leads to the failure that exists since v3.19-rc4.

c2c2f6cb79141ca22f84c36887fd867373c35c4e +
c7e873f85fb60b1af589ac1b0c62353cfe0bbb29 leads to this output:

[   47.367618] nouveau  [  DEVICE][:0a:00.0] BOOT0  : 0x043100a4
[   47.367626] nouveau  [  DEVICE][:0a:00.0] Chipset: NV43 (NV43)
[   47.367629] nouveau  [  DEVICE][:0a:00.0] Family : NV40
[   47.367894] nouveau :0a:00.0: Invalid ROM contents
[   47.367929] nouveau ![   VBIOS][:0a:00.0] unable to locate usable image
[   47.367933] nouveau E[  DEVICE][:0a:00.0] failed to create 0x1001, 
-22
[   47.367937] nouveau E[ DRM] failed to create 0x0080, -22
[   47.368852] nouveau: probe of :0a:00.0 failed with error -22


And using the commit prior the breakage ad4a362^ (which is e897242) leads to
this output and a working console:

[   28.099484] nouveau  [  DEVICE][:0a:00.0] BOOT0  : 0x043100a4
[   28.099491] nouveau  [  DEVICE][:0a:00.0] Chipset: NV43 (NV43)
[   28.099494] nouveau  [  DEVICE][:0a:00.0] Family : NV40
[   28.099610] nouveau  [   VBIOS][:0a:00.0] checking OpenFirmware for 
image...
[   28.099636] nouveau  [   VBIOS][:0a:00.0] ... checksum invalid
[   28.099639] nouveau  [   VBIOS][:0a:00.0] checking PRAMIN for image...
[   28.099645] nouveau  [   VBIOS][:0a:00.0] ... signature not found
[   28.099648] nouveau  [   VBIOS][:0a:00.0] checking PROM for image...
[   28.191159] nouveau  [   VBIOS][:0a:00.0] ... signature not found
[   28.191162] nouveau  [   VBIOS][:0a:00.0] checking ACPI for image...
[   28.191166] nouveau  [   VBIOS][:0a:00.0] ... signature not found
[   28.191169] nouveau  [   VBIOS][:0a:00.0] checking PCIROM for image...
[   28.191207] nouveau :0a:00.0: Invalid ROM contents
[   28.191229] nouveau  [   VBIOS][:0a:00.0] ... signature not found
[   28.191232] nouveau  [   VBIOS][:0a:00.0] checking PLATFORM for image...
[   28.191236] nouveau  [   VBIOS][:0a:00.0] ... signature not found
[   28.191239] nouveau  [   VBIOS][:0a:00.0] using image from OpenFirmware
[   28.191279] nouveau  [   VBIOS][:0a:00.0] BIT signature found
[   28.191284] nouveau  [   VBIOS][:0a:00.0] version 05.43.02.75.00
[   28.191629] u3msi: allocated virq 0x1a (hw 0x9) addr 0xf8004090
[   28.191647] nouveau  [ PMC][:0a:00.0] MSI interrupts enabled
[   28.191705] nouveau  [ PFB][:0a:00.0] RAM type: DDR1
[   28.191708] nouveau  [ PFB][:0a:00.0] RAM size: 256 MiB
[   28.191711] nouveau  [ PFB][:0a:00.0]ZCOMP: 378880 tags
[   28.250490] nouveau  [  PTHERM][:0a:00.0] FAN control: toggle
[   28.250515] nouveau  [  PTHERM][:0a:00.0] internal sensor: no
[   28.270373] nouveau  [ CLK][:0a:00.0] 20: core 300 MHz shader 300 
MHz memory 500 MHz
[   28.270398] nouveau  [ CLK][:0a:00.0] --: core 300 MHz shader 300 
MHz memory 500 MHz
[   28.270556] nouveau :0a:00.0: Using 32-bit DMA via iommu
[   28.270649] [TTM] Zone  kernel: Available graphics memory: 1003278 kiB
[   28.270652] [TTM] Initializing pool allocator
[   28.270687] nouveau  [ DRM] VRAM: 252 MiB
[   28.270690] nouveau  [ DRM] GART: 512 MiB
[   28.270712] nouveau  [ DRM] TMDS table version 1.1
[   28.270716] nouveau  [ DRM] DCB version 3.0
[   28.270720] nouveau  [ DRM] DCB outp 00: 01000100 0028
[   28.270723] nouveau  [ DRM] DCB outp 01: 03000102 
[   28.270727] nouveau  [ DRM] DCB outp 02: 04011210 0028
[   28.270730] nouveau  [ DRM] DCB outp 03: 02111212 02000100
[   28.270733] nouveau  [ DRM] DCB outp 04: 02011211 0020c070
[   28.270736] nouveau  [ DRM] DCB conn 00: 1030
[   28.270740] nouveau  [ DRM] DCB conn 01: 2130
[   28.272297] nouveau  [ I2C][:0a:00.0] detected TMDS transmitter: 
sil164
[   28.277738] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   28.277742] [drm] Driver supports precise vblank timestamp query.
[   28.277750] nouveau  [ DRM] 0x14C5: Parsing digital output script table
[   28.331954] nouveau  [ DRM] MM: using M2MF for buffer copies
[   28.331997] nouveau  [ DRM] Setting dpms mode 3 on TV encoder (output 4)
[   28.377539] nouveau  [ DRM] allocated 1920x1080 fb: 0x9000, bo 
c0007b911400
[   28.400310] nouveau  [ DRM] 0x14C5: Parsing digital output script table
[   28.450037] Console: switching to colour frame buffer device 240x67
[   28.451900] nouveau :0a:00.0: fb0: nouveaufb frame buffer device
[   28.451903] nouveau :0a:00.0: registered panic notifier
[   28.456097] [drm] Initialized nouveau 1.2.1 20120801 for :0a:00.0 on 
minor 0


Olaf


nouveau regression on G5 Dual Core

2015-04-22 Thread Olaf Hering
On Mon, Mar 30, Olaf Hering wrote:

> On Sat, Mar 28, Olaf Hering wrote:
> 
> > On Sat, Mar 28, Olaf Hering wrote:
> > 
> > > I just updated the kernel from some 3.18 based state to 4.0-rc5+. The
> > 
> > 3.19 is already broken, will bisect next week.
> 
> After a first run I was able to boot prior the first bad commit, which caused 
> a
> crash on boot.  Now I have to find the commit which actually allows boot 
> again,
> but with the white screen.
> 
> Ben, was ad4a362635353f7ceb66f4038269770fee1025fa tested on a pmac?

c7e873f85fb60b1af589ac1b0c62353cfe0bbb29 fixed the crash, but not the
failure to read the ROM contents.

So what exactly did ad4a362635353f7ceb66f4038269770fee1025fa change?

A kernel build from ad4a362635353f7ceb66f4038269770fee1025fa plus the fix
c7e873f85fb60b1af589ac1b0c62353cfe0bbb29 gives this in dmesg:

[   29.621628] nouveau  [  DEVICE][:0a:00.0] BOOT0  : 0x043100a4
[   29.621635] nouveau  [  DEVICE][:0a:00.0] Chipset: NV43 (NV43)
[   29.621638] nouveau  [  DEVICE][:0a:00.0] Family : NV40
[   29.713302] nouveau  [   VBIOS][:0a:00.0] using image from PROM
[   29.713616] nouveau  [   VBIOS][:0a:00.0] version 00.00.00.00.00
[   29.713689] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.713698] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.713733] nouveau W[   VBIOS][:0a:00.0] 0x[ ]: init data not found
[   29.713783] u3msi: allocated virq 0x1a (hw 0x9) addr 0xf8004090
[   29.713808] nouveau  [ PMC][:0a:00.0] MSI interrupts enabled
[   29.713868] nouveau  [ PFB][:0a:00.0] RAM type: DDR1
[   29.713871] nouveau  [ PFB][:0a:00.0] RAM size: 256 MiB
[   29.713874] nouveau  [ PFB][:0a:00.0]ZCOMP: 378880 tags
[   29.740738] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.740746] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.740755] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.740760] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.740763] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.740767] nouveau  [  PTHERM][:0a:00.0] FAN control: none / external
[   29.740770] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.740773] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.740788] nouveau  [  PTHERM][:0a:00.0] internal sensor: no
[   29.760655] nouveau  [ CLK][:0a:00.0] --: core 300 MHz shader 300 
MHz memory 500 MHz
[   29.760722] nouveau W[   VBIOS][:0a:00.0] DCB table not found
[   29.760796] nouveau :0a:00.0: Using 32-bit DMA via iommu
[   29.760891] [TTM] Zone  kernel: Available graphics memory: 1003278 kiB
[   29.760894] [TTM] Initializing pool allocator
[   29.760928] nouveau  [ DRM] VRAM: 252 MiB
[   29.760931] nouveau  [ DRM] GART: 512 MiB
[   29.760959] [TTM] Finalizing pool allocator
[   29.760989] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[   29.762856] insmod (775) used greatest stack depth: 6080 bytes left


I will see which commit leads to the failure that exists since v3.19-rc4.


Olaf


> root at g5:~/work/kernel/linux # git bisect log 
> git bisect start
> # good: [b2776bf7149bddd1f4161f14f79520f17fc1d71d] Linux 3.18
> git bisect good b2776bf7149bddd1f4161f14f79520f17fc1d71d
> # bad: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
> git bisect bad bfa76d49576599a4b9f9b7a71f23d73d6dcff735
> # good: [54850e73e86e3bc092680d1bdb84eb322f982ab1] zram: change parameter 
> from vaild_io_request()
> git bisect good 54850e73e86e3bc092680d1bdb84eb322f982ab1
> # bad: [dab363f938a53ddaee60bfecc1aebdbb3d3af5f0] Merge tag 
> 'staging-3.19-rc1' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
> git bisect bad dab363f938a53ddaee60bfecc1aebdbb3d3af5f0
> # good: [26178ec11ef3c6c814bf16a0a2b9c2f7242e3c64] x86: mm: consolidate 
> VM_FAULT_RETRY handling
> git bisect good 26178ec11ef3c6c814bf16a0a2b9c2f7242e3c64
> # good: [1b4bcf1fedbe7dcd98d9d35dfc947f033a398c4d] staging: comedi: 
> addi_tcw.h: provide generic defines for the ADDI-DATA TCW
> git bisect good 1b4bcf1fedbe7dcd98d9d35dfc947f033a398c4d
> # good: [030794a368946b98a8252d3172f5f2a1b0e4fb0e] drm/exynos: Fix DSI 
> resuming fail because power domain being off
> git bisect good 030794a368946b98a8252d3172f5f2a1b0e4fb0e
> # bad: [59ea90543f57a40827d7d1e528d657b8cc7161b1] drm/i915: Implement GPU 
> reset for 915/945
> git bisect bad 59ea90543f57a40827d7d1e528d657b8cc7161b1
> # bad: [37025602f6abc5919c7d5a8517bc7d6ea08acc57] drm/nouveau/platform: add 
> GPU speedo information to nouveau platform
> git bisect bad 37025602f6abc5919c7d5a8517bc7d6ea08acc57
> # good: [33f86ff62c4368c8d6bf3c76dc2fa416e3f90213] Merge branch 
> 'amdkfd-next-3.19' of git://people.freedesktop.org/~gabbayo/linux into 
> drm-next
> git bisect good 33f86ff62c4368c8d6bf3c76dc2fa416e3f90213
> # bad: [1f89b4756fb83f385ac0e277b092774c01a5ab9c] drm/gm204/disp: initial 
> support
> git bisect bad 1f89b4756fb83f385ac0e277b092774c01a5ab9c