[Nouveau] Nouveau: NV43 unknown ROM tables?

2012-04-03 Thread Meelis Roos
Tried a 6600 (NV43) in one of my test machines. It works and gets a good 
picture, but runs quite hot (91 degrees Celsius last I looked - but it 
is passsively cooled).

Looking in dmesg I found that nouveau driver tells about some unknown 
timing and voltage tables. Maybe related, maybe not, so here is the post 
for the unknown tables (whether or not it is the cause of hot board). 

Can I provide some additional information about this, like a ROM dump or 
something similar? Is there any interest or is it a known unimportant 
problem?

Please CC, as I am not subscribed to the list.

[6.906924] nouveau :05:00.0: PCI INT A - Link[APC6] - GSI 16 (level, 
low) - IRQ 16
[6.906978] nouveau :05:00.0: setting latency timer to 64
[6.908651] [drm] nouveau :05:00.0: Detected an NV40 generation card 
(0x043100a4)
[6.910722] [drm] nouveau :05:00.0: Attempting to load BIOS image from 
PRAMIN
[6.981478] [drm] nouveau :05:00.0: ... BIOS checksum invalid
[6.981517] [drm] nouveau :05:00.0: Attempting to load BIOS image from 
PROM
[6.981579] [drm] nouveau :05:00.0: ... BIOS signature not found
[6.981618] [drm] nouveau :05:00.0: Attempting to load BIOS image from 
PCIROM
[6.983572] [drm] nouveau :05:00.0: ... appears to be valid
[6.983614] [drm] nouveau :05:00.0: BIT BIOS found
[6.983653] [drm] nouveau :05:00.0: Bios version 05.43.02.87
[6.983694] [drm] nouveau :05:00.0: TMDS table version 1.1
[6.983734] [drm] nouveau :05:00.0: Found Display Configuration Block 
version 3.0
[6.983786] [drm] nouveau :05:00.0: Raw DCB entry 0: 01000300 0028
[6.983828] [drm] nouveau :05:00.0: Raw DCB entry 1: 04011320 0028
[6.983868] [drm] nouveau :05:00.0: Raw DCB entry 2: 04011322 
[6.983909] [drm] nouveau :05:00.0: Raw DCB entry 3: 020223f1 00c0c080
[6.983951] [drm] nouveau :05:00.0: DCB connector table: VHER 0x30 5 7 2
[6.983992] [drm] nouveau :05:00.0:   0: 0x: type 0x00 idx 0 tag 
0xff
[6.984060] [drm] nouveau :05:00.0:   1: 0x1130: type 0x30 idx 1 tag 
0x07
[6.984111] [drm] nouveau :05:00.0:   2: 0x0210: type 0x10 idx 2 tag 
0xff
[6.984162] [drm] nouveau :05:00.0:   3: 0x0211: type 0x11 idx 3 tag 
0xff
[6.984212] [drm] nouveau :05:00.0:   4: 0x0213: type 0x13 idx 4 tag 
0xff
[6.984268] [drm] nouveau :05:00.0: Parsing VBIOS init table 0 at offset 
0xE1F1
[6.984320] [drm] nouveau :05:00.0: 0xE1F1: Init table command not 
found: 0x00
[6.984371] [drm] nouveau :05:00.0: Parsing VBIOS init table 1 at offset 
0xE63D
[6.984421] [drm] nouveau :05:00.0: 0xE63D: Init table command not 
found: 0x02
[6.984472] [drm] nouveau :05:00.0: Parsing VBIOS init table 2 at offset 
0xEBB9
[6.984523] [drm] nouveau :05:00.0: 0xEBB9: Init table command not 
found: 0xF8
[6.984573] [drm] nouveau :05:00.0: Parsing VBIOS init table 3 at offset 
0xED43
[6.984624] [drm] nouveau :05:00.0: 0xED43: Init table command not 
found: 0x00
[6.984675] [drm] nouveau :05:00.0: Parsing VBIOS init table 4 at offset 
0xEEF8
[6.984728] [drm] nouveau :05:00.0: memory timing table 0x66 unknown
[6.984769] [drm] nouveau :05:00.0: voltage table 0x1b unknown
[7.004267] [drm] nouveau :05:00.0: 8 available performance level(s)
[7.004312] [drm] nouveau :05:00.0: 0:
[7.004349] [drm] nouveau :05:00.0: 1:
[7.004385] [drm] nouveau :05:00.0: 2:
[7.004422] [drm] nouveau :05:00.0: 3:
[7.004459] [drm] nouveau :05:00.0: 4:
[7.004496] [drm] nouveau :05:00.0: 5:
[7.004533] [drm] nouveau :05:00.0: 6:
[7.004569] [drm] nouveau :05:00.0: 7:
[7.004612] [drm] nouveau :05:00.0: c: core 351MHz shader 351MHz memory 
803MHz
[7.004837] [TTM] Zone  kernel: Available graphics memory: 2031988 kiB.
[7.004877] [TTM] Initializing pool allocator.
[7.004927] [drm] nouveau :05:00.0: Detected 256MiB VRAM
[7.008282] [drm] nouveau :05:00.0: 512 MiB GART (aperture)
[7.008422] [drm] nouveau :05:00.0: Saving VGA fonts
[7.054655] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[7.054699] [drm] No driver support for vblank timestamp query.
[7.054742] [drm] nouveau :05:00.0: Setting dpms mode 3 on vga encoder 
(output 0)
[7.054800] [drm] nouveau :05:00.0: Setting dpms mode 3 on vga encoder 
(output 1)
[7.054851] [drm] nouveau :05:00.0: Setting dpms mode 3 on tmds encoder 
(output 2)
[7.054903] [drm] nouveau :05:00.0: Setting dpms mode 3 on TV encoder 
(output 3)

-- 
Meelis Roos (mr...@linux.ee)
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] Nouveau: NV43 unknown ROM tables? + division by zero

2012-04-03 Thread Meelis Roos
 Tried a 6600 (NV43) in one of my test machines. It works and gets a good 
 picture, but runs quite hot (91 degrees Celsius last I looked - but it 
 is passsively cooled).
 
 Looking in dmesg I found that nouveau driver tells about some unknown 
 timing and voltage tables. Maybe related, maybe not, so here is the post 
 for the unknown tables (whether or not it is the cause of hot board). 
 
 [6.984728] [drm] nouveau :05:00.0: memory timing table 0x66 unknown
 [6.984769] [drm] nouveau :05:00.0: voltage table 0x1b unknown
 [7.004267] [drm] nouveau :05:00.0: 8 available performance level(s)
 [7.004312] [drm] nouveau :05:00.0: 0:
 [7.004349] [drm] nouveau :05:00.0: 1:
 [7.004385] [drm] nouveau :05:00.0: 2:
 [7.004422] [drm] nouveau :05:00.0: 3:
 [7.004459] [drm] nouveau :05:00.0: 4:
 [7.004496] [drm] nouveau :05:00.0: 5:
 [7.004533] [drm] nouveau :05:00.0: 6:
 [7.004569] [drm] nouveau :05:00.0: 7:
 [7.004612] [drm] nouveau :05:00.0: c: core 351MHz shader 351MHz 
 memory 803MHz

This was from 3.2.something (Debian package). Tried 3.4.0-rc1-104 
(todays git), this is slightly different:

[4.169797] VGA switcheroo: detected Optimus DSM method \ handle
[4.170273] ACPI: PCI Interrupt Link [APC6] enabled at IRQ 16
[4.171160] [drm] nouveau :05:00.0: Detected an NV40 generation card 
(0x043100a4)
[4.177934] [drm] nouveau :05:00.0: Checking PRAMIN for VBIOS
[4.252378] [drm] nouveau :05:00.0: ... BIOS checksum invalid
[4.252424] [drm] nouveau :05:00.0: Checking PROM for VBIOS
[4.252698] [drm] nouveau :05:00.0: ... BIOS checksum invalid
[4.252742] [drm] nouveau :05:00.0: Checking ACPI for VBIOS
[4.252982] [drm] nouveau :05:00.0: ... BIOS checksum invalid
[4.253026] [drm] nouveau :05:00.0: Checking PCIROM for VBIOS
[4.256860] [drm] nouveau :05:00.0: ... appears to be valid
[4.256918] [drm] nouveau :05:00.0: Using VBIOS from PCIROM
[4.256969] [drm] nouveau :05:00.0: BIT BIOS found
[4.257015] [drm] nouveau :05:00.0: Bios version 05.43.02.87
[4.257061] [drm] nouveau :05:00.0: TMDS table version 1.1
[4.257303] [drm] nouveau :05:00.0: MXM: no VBIOS data, nothing to do
[4.257351] [drm] nouveau :05:00.0: DCB version 3.0
[4.257398] [drm] nouveau :05:00.0: DCB outp 00: 01000300 0028
[4.257448] [drm] nouveau :05:00.0: DCB outp 01: 04011320 0028
[4.257494] [drm] nouveau :05:00.0: DCB outp 02: 04011322 
[4.257539] [drm] nouveau :05:00.0: DCB outp 03: 020223f1 00c0c080
[4.257584] [drm] nouveau :05:00.0: DCB conn 00: 
[4.257651] [drm] nouveau :05:00.0: DCB conn 01: 1130
[4.257718] [drm] nouveau :05:00.0: DCB conn 02: 0210
[4.257784] [drm] nouveau :05:00.0: DCB conn 03: 0211
[4.257850] [drm] nouveau :05:00.0: DCB conn 04: 0213
[4.257923] [drm] nouveau :05:00.0: Parsing VBIOS init table 0 at offset 
0xE1F1
[4.257982] [drm] nouveau :05:00.0: 0xE1F1: Init table command not 
found: 0x00
[4.258038] [drm] nouveau :05:00.0: Parsing VBIOS init table 1 at offset 
0xE63D
[4.258094] [drm] nouveau :05:00.0: 0xE63D: Init table command not 
found: 0x02
[4.258150] [drm] nouveau :05:00.0: Parsing VBIOS init table 2 at offset 
0xEBB9
[4.258206] [drm] nouveau :05:00.0: 0xEBB9: Init table command not 
found: 0xF8
[4.258262] [drm] nouveau :05:00.0: Parsing VBIOS init table 3 at offset 
0xED43
[4.258318] [drm] nouveau :05:00.0: 0xED43: Init table command not 
found: 0x00
[4.258374] [drm] nouveau :05:00.0: Parsing VBIOS init table 4 at offset 
0xEEF8
[4.258658] [TTM] Zone  kernel: Available graphics memory: 2025616 kiB
[4.258705] [TTM] Initializing pool allocator
[4.258753] [TTM] Initializing DMA pool allocator
[4.258816] [drm] nouveau :05:00.0: Detected 256MiB VRAM (DDR2)
[4.265279] [drm] nouveau :05:00.0: 512 MiB GART (aperture)
[4.265480] [drm] nouveau :05:00.0: Saving VGA fonts
[4.315588] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[4.315635] [drm] No driver support for vblank timestamp query.
[4.315861] [drm] nouveau :05:00.0: voltage table 0x1b unknown
[4.316950] [drm] nouveau :05:00.0: 0 available performance level(s)
[4.317012] [drm] nouveau :05:00.0: c: core 351MHz shader 351MHz memory 
803MHz fanspeed 100%
[4.318231] [drm] nouveau :05:00.0: 0xD650: Parsing digital output 
script table
[4.368464] [drm] nouveau :05:00.0: Setting dpms mode 3 on vga encoder 
(output 0)
[4.368532] [drm] nouveau :05:00.0: Setting dpms mode 3 on vga encoder 
(output 1)
[4.368590] [drm] nouveau :05:00.0: Setting dpms mode 3 on tmds encoder 
(output 2)
[4.368651] [drm] nouveau :05:00.0: Setting dpms mode 3 on TV encoder 
(output 3)
[4.500046] No connectors reported 

Re: [Nouveau] Nouveau: NV43 unknown ROM tables? + division by zero

2012-04-03 Thread Martin Peres

Le 03/04/2012 11:03, Meelis Roos a écrit :
This time, memory timing table is not unknown, but voltage tabele 
still is, and only 0 available performance levels instead of 8 empty 
ones. Also, monitor is not attached at the moment, used somewhere else. 


Looks better, indeed.

Could you send us your vbios please ?

Thanks by advance,

Martin
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] 3.4.1-rc1-104: nouveau divide error in nouveau_hwmon_show_temp

2012-04-03 Thread Meelis Roos
While asking for sensors in 3.4.0-rc1-104, I got the divide error below. 
sensors showed card temp in 3.2.9 when monitor was present (currently 
not present).

(please CC, I am not subscribed)

[   10.633191] divide error:  [#1] SMP 
[   10.633935] CPU 0 
[   10.633946] Modules linked in: eeprom loop firewire_sbp2 
snd_hda_codec_realtek nv_tco usb_storage uas snd_hda_intel snd_hda_codec 
snd_hwdep snd_pcm snd_page_alloc nouveau snd_timer video sr_mod mxm_wmi wmi ttm 
drm_kms_helper i2c_nforce2 psmouse drm firewire_ohci cdrom powernow_k8 fan 
firewire_core edac_mce_amd snd ohci_hcd soundcore mperf evdev k8temp serio_raw 
pcspkr forcedeth power_supply crc_itu_t edac_core microcode thermal processor 
ehci_hcd button usbcore i2c_core thermal_sys pata_amd usb_common
[   10.636024] 
[   10.636024] Pid: 946, comm: sensors Not tainted 3.4.0-rc1-00104-g7d6e1cb #2 
System Manufacter System Product Name/KN9(NF-MCP55 series)
[   10.636024] RIP: 0010:[a01c49c4]  [a01c49c4] 
nv40_temp_get+0x25/0x105 [nouveau]
[   10.636024] RSP: 0018:88013508fe68  EFLAGS: 00010282
[   10.636024] RAX: 0101 RBX: 880136b0 RCX: 
[   10.636024] RDX:  RSI: a021df90 RDI: c9000480
[   10.636024] RBP: 8801369be800 R08:  R09: 000357ff
[   10.636024] R10: 0002 R11: 14b5 R12: 0101
[   10.636024] R13: 880136ae1540 R14: 8801369f9d20 R15: 8142db80
[   10.636024] FS:  7f2d2670b700() GS:88013fc0() 
knlGS:
[   10.636024] CS:  0010 DS:  ES:  CR0: 80050033
[   10.636024] CR2: 7f2d2713e000 CR3: 00013509 CR4: 07f0
[   10.636024] DR0:  DR1:  DR2: 
[   10.636024] DR3:  DR6: 0ff0 DR7: 0400
[   10.636024] Process sensors (pid: 946, threadinfo 88013508e000, task 
8801383f2c30)
[   10.636024] Stack:
[   10.636024]  88013a746000 88013508ff58 1000 
a01c2a62
[   10.636024]  a021df90 811d2ccc 8142db80 
8107883a
[   10.636024]  880136ae1560 810f1785  
0022
[   10.636024] Call Trace:
[   10.636024]  [a01c2a62] ? nouveau_hwmon_show_temp+0x19/0x39 
[nouveau]
[   10.636024]  [811d2ccc] ? dev_attr_show+0x1e/0x46
[   10.636024]  [8107883a] ? __get_free_pages+0x25/0x46
[   10.636024]  [810f1785] ? sysfs_read_file+0xa8/0x12e
[   10.636024]  [810a94d6] ? vfs_read+0x9f/0xe6
[   10.636024]  [8108e2c3] ? sys_mmap_pgoff+0xe1/0x105
[   10.636024]  [810a9562] ? sys_read+0x45/0x6b
[   10.636024]  [812d5522] ? system_call_fastpath+0x16/0x1b
[   10.636024] Code: 5f 5b 88 d0 5d c3 41 54 55 48 89 fd 53 48 8b 9f 30 03 00 
00 44 0f bf a3 be 16 00 00 0f bf 8b c0 16 00 00 48 8b 7b 20 44 89 e0 99 f7 f9 
83 7b 0c 4f 41 89 c4 76 11 48 81 c7 08 00 02 00 e8 f8 a2 
[   10.636024] RIP  [a01c49c4] nv40_temp_get+0x25/0x105 [nouveau]
[   10.636024]  RSP 88013508fe68
[   10.664946] ---[ end trace e3d93513d27c6066 ]---

Initial dmesg:

[4.169797] VGA switcheroo: detected Optimus DSM method \ handle
[4.170273] ACPI: PCI Interrupt Link [APC6] enabled at IRQ 16
[4.171160] [drm] nouveau :05:00.0: Detected an NV40 generation card 
(0x043100a4)
[4.177934] [drm] nouveau :05:00.0: Checking PRAMIN for VBIOS
[4.252378] [drm] nouveau :05:00.0: ... BIOS checksum invalid
[4.252424] [drm] nouveau :05:00.0: Checking PROM for VBIOS
[4.252698] [drm] nouveau :05:00.0: ... BIOS checksum invalid
[4.252742] [drm] nouveau :05:00.0: Checking ACPI for VBIOS
[4.252982] [drm] nouveau :05:00.0: ... BIOS checksum invalid
[4.253026] [drm] nouveau :05:00.0: Checking PCIROM for VBIOS
[4.256860] [drm] nouveau :05:00.0: ... appears to be valid
[4.256918] [drm] nouveau :05:00.0: Using VBIOS from PCIROM
[4.256969] [drm] nouveau :05:00.0: BIT BIOS found
[4.257015] [drm] nouveau :05:00.0: Bios version 05.43.02.87
[4.257061] [drm] nouveau :05:00.0: TMDS table version 1.1
[4.257303] [drm] nouveau :05:00.0: MXM: no VBIOS data, nothing to do
[4.257351] [drm] nouveau :05:00.0: DCB version 3.0
[4.257398] [drm] nouveau :05:00.0: DCB outp 00: 01000300 0028
[4.257448] [drm] nouveau :05:00.0: DCB outp 01: 04011320 0028
[4.257494] [drm] nouveau :05:00.0: DCB outp 02: 04011322 
[4.257539] [drm] nouveau :05:00.0: DCB outp 03: 020223f1 00c0c080
[4.257584] [drm] nouveau :05:00.0: DCB conn 00: 
[4.257651] [drm] nouveau :05:00.0: DCB conn 01: 1130
[4.257718] [drm] nouveau :05:00.0: DCB conn 02: 0210
[4.257784] [drm] nouveau :05:00.0: DCB conn 03: 0211
[4.257850] [drm] nouveau :05:00.0: DCB conn 04: 0213
[4.257923] [drm]