Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501396 - x11-base/xorg-server-? with sys-kernel/gentoo-sources-3.13.3 - (EE) RADEON(0): [drm] Failed to open DRM device for pci:0000:06:00.0: No such file or directory
Summary: x11-base/xorg-server-? with sys-kernel/gentoo-sources-3.13.3 - (EE) RADEON(0)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-15 14:02 UTC by DaggyStyle
Modified: 2014-09-27 19:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg (dmesg-3.13.3,75.28 KB, text/plain)
2014-02-15 14:03 UTC, DaggyStyle
Details
xorg.log (Xorg.1.log,20.80 KB, text/plain)
2014-02-15 14:03 UTC, DaggyStyle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2014-02-15 14:02:52 UTC
after upgrading to gentoo sources 3.13.3, my hd 3650 got bricked with the msg from above.

the error is visible within xorg.log

emerge --info:
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.18-r1, 3.12.8-gentoo x86_64)
=================================================================
System uname: Linux-3.12.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16329244 total,  14741980 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of tree: Sat, 15 Feb 2014 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo x11 gamerlay gentoo-zh kde Utopia_Platinia
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA FraunhoferFDK dlj-1.1 skype-4.0.0.7-copyright Broadcom PUEL googleearth LOKI-EULA AdobeFlash-11.x RTCW-ETEULA ut2003 MakeMKV-EULA Q3AEULA TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.isoc.org.il/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage/tree/official"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/gamerlay /var/lib/layman/gentoo-zh /var/lib/layman/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aio alsa amd64 amr audiofile avx bash-completion berkdb bidi branding bzip2 c++0x cairo cdda cdparanoia cdr cjk cleartype cli consolekit cracklib crypt css cups curl cxx dbus declarative device-mapper dga dri drm dts dv dvb dvd dvdr dvdread edb emboss encode exif faad fam ffmpeg firefox flac fortran ftp gallium gdbm gif gphoto2 gpm gtk iconv icq icu id3tag imagemagick java javascript jpeg jpeg2k kde kipi lame lcms ldap libnotify lua lzma mad matroska mmx mng modules mp3 mp4 mpeg mtp multilib nas ncurses nls nptl nsplugin ogg openal openexr opengl openmp openvg oss pam pango pcre pdf perl phonon php plasma png policykit ppds private-headers python qt3support qt4 quicktime readline real samba scanner sdl session smp sndfile spell srt sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks udisks2 unicode upower usb v4l v4l2 vaapi vcd vdpau vorbis vpx wavpack wifi wma wxwidgets x264 xcb xcomposite xinerama xml xosd xrandr xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en he es" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa v4l radeon r600 i915 intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON



Reproducible: Always
Comment 1 DaggyStyle 2014-02-15 14:03:25 UTC
Created attachment 370486 [details]
dmesg
Comment 2 DaggyStyle 2014-02-15 14:03:49 UTC
Created attachment 370488 [details]
xorg.log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-15 14:08:48 UTC
(In reply to DaggyStyle from comment #0)
> my hd 3650 got bricked

"Bricked" means the hardware is broken beyond repair. Is that what you meant?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-15 14:12:13 UTC
1) Please post your `emerge -vpq x11-base/xorg-server' output in a comment.
2) If you use a non-standard xorg.conf, then please attach that, too.
Comment 5 DaggyStyle 2014-02-15 14:16:52 UTC
(In reply to Jeroen Roovers from comment #3)
> (In reply to DaggyStyle from comment #0)
> > my hd 3650 got bricked
> 
> "Bricked" means the hardware is broken beyond repair. Is that what you meant?

ok, I saw other uses for that word but nevermind, correction noted.

I meant that in 3.13.2 and 3.12.8 it works
Comment 6 DaggyStyle 2014-02-15 14:19:42 UTC
(In reply to Jeroen Roovers from comment #4)
> 1) Please post your `emerge -vpq x11-base/xorg-server' output in a comment.
> 2) If you use a non-standard xorg.conf, then please attach that, too.

here:
dagg@NCC-5001-D ~ $ emerge -vpq x11-base/xorg-server
[ebuild   R   ] x11-base/xorg-server-1.15.0  USE="nptl suid udev xorg xvfb -dmx -doc -ipv6 -kdrive -minimal (-selinux) -static-libs -tslib -unwind -xnest"
dagg@NCC-5001-D ~ $ cat /etc/X11/seat
seat0.conf  seat1.conf  seat2.conf
dagg@NCC-5001-D ~ $ cat /etc/X11/seat*
Section "ServerFlags"
        Option "AutoAddGPU" "FALSE"
EndSection

Section "Device"
        Identifier      "Card0"
        Driver  "intel"
        BusID   "PCI:0:2:0"
        VendorName      "Intel Inc"
        BoardName       "i7-2600 IGP"
        Option "TearFree" "true"
EndSection

Section "InputClass"
        Identifier      "ignore_other_seats"
        Option "Ignore" "yes"
EndSection

Section "InputClass"
        Identifier      "Input_layout0"
        MatchTag        "Input_layout0"
        Option "Ignore" "no"
EndSection

#Disable VGA0 output
Section "Monitor"
        Identifier "VGA0"
        Option "Ignore" "yes"
EndSection

#Disable VGA1 output
Section "Monitor"
        Identifier "VGA1"
        Option "Ignore" "yes"
EndSection

#Disable VGA2 output
Section "Monitor"
        Identifier "VGA2"
        Option "Ignore" "yes"
EndSection

Section "Screen"
        Identifier             "Screen0"
        DefaultDepth           24
        SubSection             "Display"
                Depth           24
                Modes           "1920x1080_60.00"
        EndSubSection
EndSection
Section "ServerFlags"
        Option "AutoAddGPU" "FALSE"
EndSection

Section "Device"
        Identifier      "Card1"
        Driver  "radeon"
        BusID   "PCI:6:0:0"
        VendorName      "ATI Technologies Inc"
        BoardName       "Radeon HD 3600 Series"
#       ColorTiling2D   "False"
EndSection

Section "InputClass"
        Identifier      "ignore_other_seats"
        Option "Ignore" "yes"
EndSection

Section "InputClass"
        Identifier      "Input_layout1"
        MatchTag        "Input_layout1"
        Option "Ignore" "no"
EndSection
Section "ServerFlags"
        Option "AutoAddGPU" "FALSE"
EndSection

Section "Device"
        Identifier      "Card2"
        Driver  "radeon"
        BusID   "PCI:1:0:0"
        VendorName      "ATI Technologies Inc"
        BoardName       "Radeon HD 5430 Series"
EndSection

Section "InputClass"
        Identifier      "ignore_other_seats"
        Option "Ignore" "yes"
EndSection

Section "InputClass"
        Identifier      "Input_layout2"
        MatchTag        "Input_layout2"
        Option "Ignore" "no"
EndSection
dagg@NCC-5001-D ~ $ ll /etc/X11/seat*
-rw-r--r-- 1 root root 883 Oct  9 08:09 /etc/X11/seat0.conf
-rw-r--r-- 1 root root 446 Sep 14 16:01 /etc/X11/seat1.conf
-rw-r--r-- 1 root root 422 Jul 28  2013 /etc/X11/seat2.conf
Comment 7 Alex Xu (Hello71) 2014-02-15 19:51:13 UTC
Enable CONFIG_X86_SYSFB and CONFIG_FB_SIMPLE in kernel.

If that doesn't work, post information per jer.
Comment 8 DaggyStyle 2014-02-16 06:50:58 UTC
(In reply to Alex Xu (Hello71) from comment #7)
> Enable CONFIG_X86_SYSFB and CONFIG_FB_SIMPLE in kernel.
> 
> If that doesn't work, post information per jer.

will try when I'll get home later today
Comment 9 DaggyStyle 2014-02-17 06:30:44 UTC
(In reply to Alex Xu (Hello71) from comment #7)
> Enable CONFIG_X86_SYSFB and CONFIG_FB_SIMPLE in kernel.
> 
> If that doesn't work, post information per jer.

didnt't worked.
Comment 10 DaggyStyle 2014-02-22 08:17:41 UTC
it seems that this is an issue for radeon cards only.

the intel card isn't affected by that.

in addition, the issue still persists in 3.13.4
Comment 11 DaggyStyle 2014-03-05 20:44:02 UTC
any updates on the matter?
Comment 12 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-03-06 11:19:47 UTC
Nobody from x11 is working on this issue. If you have excluded the possibility of a configuration problem, this is likely a bug which upstream needs to fix.
Comment 13 DaggyStyle 2014-03-07 19:58:20 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #12)
> Nobody from x11 is working on this issue. If you have excluded the
> possibility of a configuration problem, this is likely a bug which upstream
> needs to fix.

same setup works great in 3.12.8, when booting 3.13.5 I get the error below, frankly I'm not sure I understand why it was assigned to X team in the first place.

still, I'll try to investigate the matter more.
Comment 14 DaggyStyle 2014-03-15 08:32:22 UTC
still not sure what is the issue but after some investigations I've came up with this simple testcase:
dagg@NCC-5001-D ~/workspace $ cat open_example.c
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
 
int main()
{
        char *param1 = "ok";
        char *param2 = ".";
        int filedesc = open("/dev/dri/card1", O_RDWR, 0);
        if (filedesc) {
                param1 = "ERROR: ";
                param2 = strerror(errno);
        }
        printf("fd = %d, status = %s%s\n", filedesc, param1, param2);
        close(filedesc);

        return 0;
}dagg@NCC-5001-D ~/workspace $ gcc open_example.c -o open_example && ./open_example 
fd = -1, status = ERROR: Invalid argument
Comment 15 DaggyStyle 2014-03-15 14:38:22 UTC
after consulting with the guys in Xorg ml, adding radeon.runpm=0 as kernel param works around the issue, I'll test a patch to see if it solves the issue and report here with links.
Comment 17 Mike Pagano gentoo-dev 2014-09-27 19:58:06 UTC
Both 9babd35ad72af631547c7ca294bc2e931cc40e58 7848865914c6a63ead674f0f5604b77df7d3874f have been in the kernel since 3.14