Re: No console output on 5.4-Current
On 2013-10-10, Bryan Chapman br...@honeypoocakes.net wrote: The only thing I see in /var/log/messages was on the end of the dmesg I posted: Oct 10 03:28:21 mystic /bsd: drm: initializing kernel modesetting (PITCAIRN 0x1002:0x6819 0x174B:0xE221). Oct 10 03:28:21 mystic /bsd: radeondrm0: VRAM: 2048M 0x - 0x7FFF (2048M used) Oct 10 03:28:21 mystic /bsd: radeondrm0: GTT: 512M 0x8000 - 0x9FFF Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_init stub Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init_microcode] *ERROR* si_cp: Failed to load firmware radeon-pitcairn_pfp Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_startup] *ERROR* Failed to load firmware! Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* disabling GPU acceleration Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* radeon: MC ucode required for NI+. Oct 10 03:28:21 mystic /bsd: : Fatal error during GPU init Oct 10 03:28:21 mystic /bsd: radeon_hwmon_fini stub Oct 10 03:28:21 mystic /bsd: drm: radeon: finishing device. Oct 10 03:28:21 mystic /bsd: Finalizing pool allocator Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_fini stub Oct 10 03:28:21 mystic /bsd: drm: Zone kernel: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: Zone dma32: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: radeon: ttm finalized Oct 10 03:28:21 mystic /bsd: drm0 detached Oct 10 03:28:21 mystic /bsd: radeondrm0 detached Oct 10 03:28:21 mystic /bsd: vga1 at pci1 dev 0 function 0 ATI Radeon HD 7850 rev 0x00 Oct 10 03:28:21 mystic /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation), using wskbd0 Oct 10 03:28:21 mystic /bsd: wskbd1: connecting to wsdisplay0 Oct 10 03:28:21 mystic /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Is there another place to look or debug to turn on? -Bryan You should get more information from a kernel built with 'option DRMDEBUG'.
Re: No console output on 5.4-Current
On Fri, Oct 11, 2013 at 09:32:13AM +, Stuart Henderson wrote: On 2013-10-10, Bryan Chapman br...@honeypoocakes.net wrote: The only thing I see in /var/log/messages was on the end of the dmesg I posted: Oct 10 03:28:21 mystic /bsd: drm: initializing kernel modesetting (PITCAIRN 0x1002:0x6819 0x174B:0xE221). Oct 10 03:28:21 mystic /bsd: radeondrm0: VRAM: 2048M 0x - 0x7FFF (2048M used) Oct 10 03:28:21 mystic /bsd: radeondrm0: GTT: 512M 0x8000 - 0x9FFF Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_init stub Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init_microcode] *ERROR* si_cp: Failed to load firmware radeon-pitcairn_pfp Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_startup] *ERROR* Failed to load firmware! Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* disabling GPU acceleration Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* radeon: MC ucode required for NI+. Oct 10 03:28:21 mystic /bsd: : Fatal error during GPU init Oct 10 03:28:21 mystic /bsd: radeon_hwmon_fini stub Oct 10 03:28:21 mystic /bsd: drm: radeon: finishing device. Oct 10 03:28:21 mystic /bsd: Finalizing pool allocator Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_fini stub Oct 10 03:28:21 mystic /bsd: drm: Zone kernel: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: Zone dma32: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: radeon: ttm finalized Oct 10 03:28:21 mystic /bsd: drm0 detached Oct 10 03:28:21 mystic /bsd: radeondrm0 detached Oct 10 03:28:21 mystic /bsd: vga1 at pci1 dev 0 function 0 ATI Radeon HD 7850 rev 0x00 Oct 10 03:28:21 mystic /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation), using wskbd0 Oct 10 03:28:21 mystic /bsd: wskbd1: connecting to wsdisplay0 Oct 10 03:28:21 mystic /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Is there another place to look or debug to turn on? -Bryan You should get more information from a kernel built with 'option DRMDEBUG'. In this case just install the firmware and reboot, DRMDEBUG isn't going to help and is overly verbose unless a few things are turned off. There is no 2d or 3d acceleration with radeonsi parts like pitcairn however because it requires a version of EGL with the drm/gbm platform instead of the x11 platform, the glamor library and a version of mesa compiled with llvm as the mesa radeonsi driver has a hard dep on llvm. I attempted to provide alternative paths to the linux only udev code in libgbm and co but didn't end up with a useable X session when testing glamor on a northern islands card. AMD don't support the usual xorg type acceleration for radeonsi, only glamor. And sadly it seems the mesa/3d driver is unuseable without glamor as well...
Re: No console output on 5.4-Current
Am Wed, 09 Oct 2013 17:36:22 -0400 schrieb Bryan Chapman br...@honeypoocakes.net: Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? -Bryan [...] Have you tried this? pkg_add http://firmware.openbsd.org/firmware/snapshots/radeondrm-firmware-20131002.tgz http://www.openbsd.org/faq/current.html#20130812 Ulrich
Re: No console output on 5.4-Current
On Wed, Oct 09, 2013 at 05:36:22PM -0400, Bryan Chapman wrote: Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? Exact same issue here... drm effect. boot -c disable radeondrm then install the firmware manually (firmware-update will not see it unfortunately). Then reboot. If your machine has network, jsg would probably be happy to see what's going on in /var/log/messages while the machine loses boot...
Re: No console output on 5.4-Current
On 10/10/13 05:34, Marc Espie wrote: On Wed, Oct 09, 2013 at 05:36:22PM -0400, Bryan Chapman wrote: Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? Exact same issue here... drm effect. boot -c disable radeondrm then install the firmware manually (firmware-update will not see it unfortunately). Then reboot. If your machine has network, jsg would probably be happy to see what's going on in /var/log/messages while the machine loses boot... Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. -Bryan
Re: No console output on 5.4-Current
On Thu, Oct 10, 2013 at 1:38 PM, Bryan Chapman br...@honeypoocakes.net wrote: Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. Indeed, fw_update needs to be fixed
Re: No console output on 5.4-Current
On Thu, Oct 10, 2013 at 07:38:56AM -0400, Bryan Chapman wrote: On 10/10/13 05:34, Marc Espie wrote: On Wed, Oct 09, 2013 at 05:36:22PM -0400, Bryan Chapman wrote: Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? Exact same issue here... drm effect. boot -c disable radeondrm then install the firmware manually (firmware-update will not see it unfortunately). Then reboot. If your machine has network, jsg would probably be happy to see what's going on in /var/log/messages while the machine loses boot... Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. According to jsg@, the KMS code is able to figure out that the firmware is needed, and not do the video change if it's not installed. Obviously, that still fails from some cards: the KMS code doesn't get an error, and the video change still occur. So a log of what the kernel says when it's switching while not having the firmware would be useful for trying to fix that...
Re: No console output on 5.4-Current
On Thu, Oct 10, 2013 at 02:27:28PM +0200, David Coppa wrote: On Thu, Oct 10, 2013 at 1:38 PM, Bryan Chapman br...@honeypoocakes.net wrote: Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. Indeed, fw_update needs to be fixed No, that's not the iusse. fw_update does its job: it updates firmwares it's aware of. Once you disable radeondrm in the kernel, it no longer sees it. The issue is the KMS code attempting to switch modes while there's no radeon firmware around on a card where it shouldn't do that.
Re: No console output on 5.4-Current
On Thu, Oct 10, 2013 at 6:24 PM, Marc Espie es...@nerim.net wrote: On Thu, Oct 10, 2013 at 02:27:28PM +0200, David Coppa wrote: On Thu, Oct 10, 2013 at 1:38 PM, Bryan Chapman br...@honeypoocakes.net wrote: Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. Indeed, fw_update needs to be fixed No, that's not the iusse. fw_update does its job: it updates firmwares it's aware of. You're right: fw_update already knows about radeondrm. My bad for speaking before checking.
Re: No console output on 5.4-Current
On 10/10/13 12:23, Marc Espie wrote: On Thu, Oct 10, 2013 at 07:38:56AM -0400, Bryan Chapman wrote: On 10/10/13 05:34, Marc Espie wrote: On Wed, Oct 09, 2013 at 05:36:22PM -0400, Bryan Chapman wrote: Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? Exact same issue here... drm effect. boot -c disable radeondrm then install the firmware manually (firmware-update will not see it unfortunately). Then reboot. If your machine has network, jsg would probably be happy to see what's going on in /var/log/messages while the machine loses boot... Thanks -- installing the firmware package resolved the issue. I just assumed that the firmware updater would grab it if needed. According to jsg@, the KMS code is able to figure out that the firmware is needed, and not do the video change if it's not installed. Obviously, that still fails from some cards: the KMS code doesn't get an error, and the video change still occur. So a log of what the kernel says when it's switching while not having the firmware would be useful for trying to fix that... The only thing I see in /var/log/messages was on the end of the dmesg I posted: Oct 10 03:28:21 mystic /bsd: drm: initializing kernel modesetting (PITCAIRN 0x1002:0x6819 0x174B:0xE221). Oct 10 03:28:21 mystic /bsd: radeondrm0: VRAM: 2048M 0x - 0x7FFF (2048M used) Oct 10 03:28:21 mystic /bsd: radeondrm0: GTT: 512M 0x8000 - 0x9FFF Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_init stub Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init_microcode] *ERROR* si_cp: Failed to load firmware radeon-pitcairn_pfp Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_startup] *ERROR* Failed to load firmware! Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* disabling GPU acceleration Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfe81b6de32b0 unpin not necessary Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init] *ERROR* radeon: MC ucode required for NI+. Oct 10 03:28:21 mystic /bsd: : Fatal error during GPU init Oct 10 03:28:21 mystic /bsd: radeon_hwmon_fini stub Oct 10 03:28:21 mystic /bsd: drm: radeon: finishing device. Oct 10 03:28:21 mystic /bsd: Finalizing pool allocator Oct 10 03:28:21 mystic /bsd: ttm_pool_mm_shrink_fini stub Oct 10 03:28:21 mystic /bsd: drm: Zone kernel: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: Zone dma32: Used memory at exit: 0 kiB Oct 10 03:28:21 mystic /bsd: drm: radeon: ttm finalized Oct 10 03:28:21 mystic /bsd: drm0 detached Oct 10 03:28:21 mystic /bsd: radeondrm0 detached Oct 10 03:28:21 mystic /bsd: vga1 at pci1 dev 0 function 0 ATI Radeon HD 7850 rev 0x00 Oct 10 03:28:21 mystic /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation), using wskbd0 Oct 10 03:28:21 mystic /bsd: wskbd1: connecting to wsdisplay0 Oct 10 03:28:21 mystic /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Is there another place to look or debug to turn on? -Bryan
Re: No console output on 5.4-Current
Bryan Chapman [br...@honeypoocakes.net] wrote: Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_init_microcode] *ERROR* si_cp: Failed to load firmware radeon-pitcairn_pfp Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:si_startup] *ERROR* Failed to load firmware! Is there another place to look or debug to turn on? Maybe you need a file in /etc/firmware/radeon-pitcairn_pfp with a valid firmware image?
No console output on 5.4-Current
Just installed the Oct 3rd snapshot on my desktop. During the boot process it loses console output and just shows a blank screen. The screen doesn't go into power saving - just no output. At first I though the machine froze, but it continued running and I was able to SSH into the machine. Here is the DMESG. Looks like some issues with DRM. At a bit of a loss on the next troubleshooting steps, any ideas? -Bryan OpenBSD 5.4-current (GENERIC.MP) #65: Thu Oct 3 18:48:14 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 6424166400 (6126MB) avail mem = 6245064704 (5955MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9f400 (68 entries) bios0: vendor American Megatrends Inc. version 1005 date 08/24/2010 bios0: ASUSTeK Computer INC. M4A87TD EVO acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB SRAT HPET SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 925 Processor, 2809.76 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 200MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) II X4 925 Processor, 2809.44 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Phenom(tm) II X4 925 Processor, 2809.44 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2: AMD erratum 721 detected and fixed cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Phenom(tm) II X4 925 Processor, 2809.44 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu3: AMD erratum 721 detected and fixed cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 5 (PCE2) acpiprt2 at acpi0: bus -1 (PCE3) acpiprt3 at acpi0: bus -1 (PCE4) acpiprt4 at acpi0: bus -1 (PCE5) acpiprt5 at acpi0: bus -1 (PCE6) acpiprt6 at acpi0: bus -1 (PCE7) acpiprt7 at acpi0: bus 4 (PCE9) acpiprt8 at acpi0: bus 3 (PCEA) acpiprt9 at acpi0: bus -1 (PCEB) acpiprt10 at acpi0: bus -1 (PCEC) acpiprt11 at acpi0: bus 2 (P0PC) acpiprt12 at acpi0: bus 1 (PE20) acpiprt13 at acpi0: bus -1 (PE21) acpiprt14 at acpi0: bus -1 (PE22) acpiprt15 at acpi0: bus -1 (PE23) acpiec0 at acpi0 acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS aibs0 at acpi0: GGRP GITM SITM acpibtn0 at acpi0: PWRB cpu0: 2809 MHz: speeds: 2800 2100 1600 800 MHz pci0 at mainbus0 bus 0 0:0:0: mem address conflict 0xe000/0x2000 pchb0 at pci0 dev 0 function 0 ATI RX780 Host rev 0x00 ppb0 at