No console output on 5.4-Current

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

No console output on 5.4-Current

Bryan Chapman
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
    [hidden email]:/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 0xfee00000: 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 0xfec00000, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, 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 0xe0000000/0x20000000
pchb0 at pci0 dev 0 function 0 "ATI RX780 Host" rev 0x00
ppb0 at pci0 dev 2 function 0 "ATI RD790 PCIE" rev 0x00: msi
pci1 at ppb0 bus 5
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 7850" rev 0x00: apic
4 int 18
drm0 at radeondrm0
azalia0 at pci1 dev 0 function 1 vendor "ATI", unknown product 0xaab0
rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 9 function 0 "ATI RD790 PCIE" rev 0x00: msi
pci2 at ppb1 bus 4
jmb0 at pci2 dev 0 function 0 "JMicron JMB361 IDE/SATA" rev 0x02
ahci0 at jmb0: apic 4 int 17, AHCI 1.0
scsibus0 at ahci0: 32 targets
pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to
native-PCI
pciide0: using apic 4 int 17 for native-PCI interrupt
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
ppb2 at pci0 dev 10 function 0 "ATI RD790 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
"NEC xHCI" rev 0x03 at pci3 dev 0 function 0 not configured
ahci1 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 4 int
19, AHCI 1.2
scsibus1 at ahci1: 32 targets
cd0 at scsibus1 targ 0 lun 0: <PLEXTOR, BDDVDR PX-B320SA, 1.05> ATAPI
5/cdrom removable
sd0 at scsibus1 targ 1 lun 0: <ATA, WDC WD10EARS-00Y, 80.0> SCSI3
0/direct fixed naa.50014ee2b097e1af
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
sd1 at scsibus1 targ 2 lun 0: <ATA, M4-CT256M4SSD2, 040H> SCSI3 0/direct
fixed naa.500a0751033e933e
sd1: 244198MB, 512 bytes/sector, 500118192 sectors, thin
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18,
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18,
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-12800
spdmem2 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 4
int 16
azalia1: codecs: VIA/0x0440
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci4 at ppb3 bus 2
"C-Media Electronics CMI8788 HD Audio" rev 0x00 at pci4 dev 7 function 0
not configured
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 4 int 18,
version 1.0, legacy support
ppb4 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00: msi
pci5 at ppb4 bus 1
re0 at pci5 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), apic 4 int 16, address 20:cf:30:95:82:14
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 4
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18,
version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci1: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8721F rev 1, EC port 0x290
usb5 at ohci2: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb6 at ohci3: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
umass0 at uhub0 port 2 configuration 1 interface 0 "USB2.0 External Mass
Storage Device" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
cd1 at scsibus2 targ 1 lun 0: <USB 2.0, DVD-ROM, SMD3> SCSI0 5/cdrom
removable serial.1c6ba222000000000023
umass1 at uhub0 port 4 configuration 1 interface 0 "Generic USB2.0-CRW"
rev 2.00/19.81 addr 3
umass1: using SCSI over Bulk-Only
scsibus3 at umass1: 2 targets, initiator 0
sd2 at scsibus3 targ 1 lun 0: <Generic-, SD/MMC, 1.00> SCSI0 0/direct
removable serial.0bda0119815198100000
sd2: 3781MB, 512 bytes/sector, 7744512 sectors
umass2 at uhub1 port 3 configuration 1 interface 0 "Generic Mass Storage
Device" rev 2.00/1.00 addr 2
umass2: using SCSI over Bulk-Only
scsibus4 at umass2: 2 targets, initiator 0
sd3 at scsibus4 targ 1 lun 0: <Multi, Flash Reader, 1.00> SCSI0 0/direct
removable serial.058f6366058F0O1111B1
uhidev0 at uhub3 port 5 configuration 1 interface 0 "HOLTEK USB Wireless
Device" rev 2.00/4.03 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub4 port 1 configuration 1 interface 0 "Razer Razer
BlackWidow" rev 2.00/2.00 addr 2
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev2 at uhub4 port 1 configuration 1 interface 1 "Razer Razer
BlackWidow" rev 2.00/2.00 addr 2
uhidev2: iclass 3/0, 3 report ids
uhid0 at uhidev2 reportid 2: input=3, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
uhidev3 at uhub4 port 1 configuration 1 interface 2 "Razer Razer
BlackWidow" rev 2.00/2.00 addr 2
uhidev3: iclass 3/0
ums1 at uhidev3: 3 buttons, Z dir
wsmouse1 at ums1 mux 0
vscsi0 at root
scsibus5 at vscsi0: 256 targets
softraid0 at root
scsibus6 at softraid0: 256 targets
root on sd0a (2a787cb59ba5ffdd.a) swap on sd0b dump on sd0b
drm: initializing kernel modesetting (PITCAIRN 0x1002:0x6819 0x174B:0xE221).
radeondrm0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
radeondrm0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
ttm_pool_mm_shrink_init stub
error: [drm:pid0:si_init_microcode] *ERROR* si_cp: Failed to load
firmware "radeon-pitcairn_pfp"
error: [drm:pid0:si_startup] *ERROR* Failed to load firmware!
error: [drm:pid0:si_init] *ERROR* disabling GPU acceleration
error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfffffe81b6de52b0 unpin not
necessary
error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfffffe81b6de52b0 unpin not
necessary
error: [drm:pid0:si_init] *ERROR* radeon: MC ucode required for NI+.
: Fatal error during GPU init
radeon_hwmon_fini stub
drm: radeon: finishing device.
Finalizing pool allocator
ttm_pool_mm_shrink_fini stub
drm: Zone  kernel: Used memory at exit: 0 kiB
drm: Zone   dma32: Used memory at exit: 0 kiB
drm: radeon: ttm finalized
drm0 detached
radeondrm0 detached
vga1 at pci1 dev 0 function 0 "ATI Radeon HD 7850" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Ulrich Kahl
Am Wed, 09 Oct 2013 17:36:22 -0400
schrieb Bryan Chapman <[hidden email]>:

> 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

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Marc Espie-2
In reply to this post by Bryan Chapman
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...

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Bryan Chapman
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

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

David Coppa
On Thu, Oct 10, 2013 at 1:38 PM, Bryan Chapman <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Marc Espie-2
In reply to this post by Bryan Chapman
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...

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Marc Espie-2
In reply to this post by David Coppa
On Thu, Oct 10, 2013 at 02:27:28PM +0200, David Coppa wrote:
> On Thu, Oct 10, 2013 at 1:38 PM, Bryan Chapman <[hidden email]> 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.

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

David Coppa
On Thu, Oct 10, 2013 at 6:24 PM, Marc Espie <[hidden email]> 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 <[hidden email]> 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.

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Bryan Chapman
In reply to this post by Marc Espie-2
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 0x0000000000000000
- 0x000000007FFFFFFF (2048M used)
Oct 10 03:28:21 mystic /bsd: radeondrm0: GTT: 512M 0x0000000080000000 -
0x000000009FFFFFFF
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*
0xfffffe81b6de32b0 unpin not necessary
Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR*
0xfffffe81b6de32b0 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

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Chris Cappuccio
Bryan Chapman [[hidden email]] 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?

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Stuart Henderson
In reply to this post by Bryan Chapman
On 2013-10-10, Bryan Chapman <[hidden email]> 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 0x0000000000000000
> - 0x000000007FFFFFFF (2048M used)
> Oct 10 03:28:21 mystic /bsd: radeondrm0: GTT: 512M 0x0000000080000000 -
> 0x000000009FFFFFFF
> 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*
> 0xfffffe81b6de32b0 unpin not necessary
> Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR*
> 0xfffffe81b6de32b0 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'.

Reply | Threaded
Open this post in threaded view
|

Re: No console output on 5.4-Current

Jonathan Gray-11
On Fri, Oct 11, 2013 at 09:32:13AM +0000, Stuart Henderson wrote:

> On 2013-10-10, Bryan Chapman <[hidden email]> 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 0x0000000000000000
> > - 0x000000007FFFFFFF (2048M used)
> > Oct 10 03:28:21 mystic /bsd: radeondrm0: GTT: 512M 0x0000000080000000 -
> > 0x000000009FFFFFFF
> > 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*
> > 0xfffffe81b6de32b0 unpin not necessary
> > Oct 10 03:28:21 mystic /bsd: error: [drm:pid0:radeon_bo_unpin] *ERROR*
> > 0xfffffe81b6de32b0 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...