View previous topic :: View next topic |
Author |
Message |
gohmdoree Guru
Joined: 12 Oct 2004 Posts: 533
|
Posted: Tue Jan 04, 2011 3:41 am Post subject: DRM in the kernel enabled freezes machine on boot up |
|
|
I've managed to get a bootable system on my powermac g5. Not enabling DRM in the kernel gets me to the login prompt. If I do try and compile xorg-server, I get some errors complaining about some dri lib.
If I compile DRM support into my kernel, the system boots and then the screen blacks out. Not sure if its frozen, but I get no response.
Remove DRM support, and I am back to the login prompt.
I have two ATI Radeon cards, Radeon 9600 (RV350) and Radeon 9200 (RV280). I believe I am using the 9600.
Here is my lspci:
Code: |
0000:f0:0b.0 Host bridge: Apple Computer Inc. U3H AGP Bridge
0000:f0:10.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
0001:00:00.0 Host bridge: Apple Computer Inc. U3 HT Bridge
0001:00:01.0 PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge
0001:00:02.0 PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge
0001:00:03.0 PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge
0001:00:04.0 PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge
0001:00:05.0 PCI bridge: Apple Computer Inc. K2 HT-PCI Bridge
0001:01:07.0 Class ff00: Apple Computer Inc. K2 KeyLargo Mac/IO (rev 60)
0001:01:08.0 USB Controller: Apple Computer Inc. K2 KeyLargo USB
0001:01:09.0 USB Controller: Apple Computer Inc. K2 KeyLargo USB
0001:02:0d.0 Class ff00: Apple Computer Inc. K2 ATA/100
0001:02:0e.0 FireWire (IEEE 1394): Apple Computer Inc. K2 FireWire
0001:03:0f.0 Ethernet controller: Apple Computer Inc. K2 GMAC (Sun GEM)
0001:04:0c.0 IDE interface: Broadcom K2 SATA
0001:05:02.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01)
0001:05:0b.0 USB Controller: NEC Corporation USB (rev 43)
0001:05:0b.1 USB Controller: NEC Corporation USB (rev 43)
0001:05:0b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
|
My kernel version:
Code: |
Linux paella 2.6.34-gentoo-r1 #38 SMP Mon Jan 3 21:24:59 EST 2011 ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux
|
My emerge --info:
Code: |
Portage 2.1.9.25 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop, gcc-4.1.2, glibc-2.11.2-r3, 2.6.34-gentoo-r1 ppc64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-ppc64-PPC970FX,_altivec_supported-with-gentoo-1.12.14
Timestamp of tree: Mon, 03 Jan 2011 01:30:01 +0000
app-shells/bash: 4.1_p7
dev-lang/python: 2.4.4-r13, 2.6.6-r1, 3.1.2-r4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.65-r1
sys-devel/automake: 1.6.3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.1.2, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X altivec berkdb branding crypt dbus hal jpeg lock ncurses pam perl pic ppc64 python readline session snmp ssl startup-notification tcpd threads thunar udev unicode xml xorg" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="menu trash notes"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
The pastebin to my kernel, with enabling DRM, that does not work:
http://gentoo.pastebin.com/5mrmxCFT
Any direction would be appreciated. |
|
Back to top |
|
|
gohmdoree Guru
Joined: 12 Oct 2004 Posts: 533
|
Posted: Tue Jan 04, 2011 3:56 am Post subject: |
|
|
I believe with DRM not enabled, when I try and Xorg -configure, here is the pastebin of my Xorg.0.log
[url]
http://gentoo.pastebin.com/tnwRMUR4
[/url][/code] |
|
Back to top |
|
|
gohmdoree Guru
Joined: 12 Oct 2004 Posts: 533
|
Posted: Tue Jan 04, 2011 3:58 am Post subject: |
|
|
One also comment, which may be related or not..
When I compile my kernel I get the warning:
Code: |
<stdin>:1523:2: warning: #warning syscall recvmmsg not implemented
|
and it complains:
Code: |
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
`make CONFIG_DEBUG_SECTION_MISMATCH=y`
|
|
|
Back to top |
|
|
gohmdoree Guru
Joined: 12 Oct 2004 Posts: 533
|
Posted: Tue Jan 04, 2011 4:03 am Post subject: |
|
|
I managed to get another machine and was able to ping my machine. So it is not actually frozen. Is this an issue with the framebuffer and DRM?
The point at which the screen blacks out is when it is processing uevents. |
|
Back to top |
|
|
gohmdoree Guru
Joined: 12 Oct 2004 Posts: 533
|
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Tue Jan 04, 2011 4:30 am Post subject: |
|
|
Code: | #
[ 180.253] (II) [KMS] No DRICreatePCIBusID symbol, no kernel modesetting.
#
[ 180.260] Number of created screens does not match number of detected devices.
#
Configuration failed. |
This is the point, Xorg see that KMS is not active. Your kernel configuration may have problems. Have you pass the boot kernel parameter
_________________ Paul |
|
Back to top |
|
|
gohmdoree Guru
Joined: 12 Oct 2004 Posts: 533
|
Posted: Tue Jan 04, 2011 3:15 pm Post subject: |
|
|
Logicien, will try that tonight. |
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Fri Feb 18, 2011 1:47 am Post subject: |
|
|
You may also want to make sure that frame buffer consoles are statically compiled in or you may end up with it looking like nothing works when everything is otherwise fine. if you want to test it over ssh while it's a module, do modprobe fbcon and things should just magically work. i just spent a bit of time finding that out. _________________ 1+1=11=2 |
|
Back to top |
|
|
gohmdoree Guru
Joined: 12 Oct 2004 Posts: 533
|
Posted: Fri Feb 18, 2011 6:31 pm Post subject: |
|
|
Thanks simpcop2387. I realized that the machine was up, by ssh'ing into the box. Haven't worked on it in a while, but will try your suggestion. |
|
Back to top |
|
|
|