RadeonDRM problem in 5.7 (and yes, I fixed machdep + drivers)

2015-08-22 Thread Gautam Goel
Hi guys,

I get a black screen when I boot OpenBSD 5.7, just before the console login.
I've been able to get to the console login the machine by entering boot -c, 
disable radeondrm, and then quit at the boot prompt. Based of my 
internet sleuthing, I've checked that all drivers are up to date 
(have radeondrm-firmware-2013-1002p0.tgz). I've also created a 
/etc/sysctl.conf file, and put machdep.allowaperture=2 in there. The CPU is 
a Haswell i3 4170, and the GPU is an AMD FirePro v4900, featuring a 6670 
Turks processor. Everything works fine as long as my Radeon card is 
disabled. How do I fix this problem? Thanks!



Re: RadeonDRM problem in 5.7 (and yes, I fixed machdep + drivers)

2015-08-22 Thread Gerald Hanuer
 Hello, Gautam

 What no /var/run/dmesg.boot and /var/log/Xorg.0.log:')

  I've checked that all drivers are up to date \
  (have radeondrm-firmware-2013-1002p0.tgz)

 This is some what unclear.
 Lets start by making sure all firmware has been unpacked correctly.

  I've been able to get to the console login the machine by entering \
  boot -c, disable radeondrm, and then quit at the boot prompt.
 ^   ^ ^^
^ ^^
 Boot the machine as above.

 Make sure you have a properly configured connection to the internet.
 Log in as root, (or a sudo(8) enabled user).
 Run,
 /usr/sbin/fw_update -a

 Have you added a /etc/X11/xorg.conf?
 Disable it.
 /bin/mv /etc/X11/xorg.conf /etc/X11/xorg.conf.DISABLED

 Remove any previous /var/log/Xorg.0.log and /var/log/Xorg.0.log.old.
 /bin/rm /var/log/Xorg.0.log*

 Reboot the machine.
 /sbin/reboot
 Do not boot -c, disable radeondrm

 If this fixes the radeon issue great.
 Problem solved.

 If not.

 Post your /var/run/dmesg.boot and /var/log/Xorg.0.log.
 Make sure you post the right Xorg.0.log.
 If you reboot using the integrated Intel HD Graphics 4400, this will
 move the previous Xorg.0.log with the radeon probe to Xorg.0.log.old.


  GPU is an AMD FirePro v4900, featuring a 6670 Turks processor.
 I see your hardware is in the man(1) page ( /usr/bin/man radeon ).
 Although I do not see Xorg probing for AMD FirePro v4900, 6670.


 Regards,
Gerald Hanuer