Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-30-2010, 01:40 PM   #1
LQ Newbie
Registered: Jan 2009
Distribution: Slackware 13.1
Posts: 7

Rep: Reputation: 0
"Lost" /dev/dri with Slackware 13.0 -> 13.1 upgrade

Hi folks,

Recently I upgraded by laptop from Slackware 13.0 to Slackware 13.1 (via DVD) following the instructions in the UPGRADE.TXT. Every part of the upgrade seemed to go with the exception that I could not start X.

Poking around in the logs I found that X wouldn't start because there was no /dev/dri/card0 directory, even though the drivers for my Intel i915 video card were loaded.

I manually created /dev/dri/card0 using:
sudo mkdir -p /dev/dri/
sudo mknod /dev/dri/card0 -m 0600 c 226 0
and was the able to start X correctly.

Of course, a subsequent reboot cleaned out my /dev/dri directory... but I can't figure out a consistent way to have this directory created (and this was not an issue for my laptop under Slackware 13.0). I'm assuming I would do this via udev, but I'm not that well versed in that software.

Thanks in advance for any suggestions!

Last edited by jeffnik; 06-06-2010 at 11:42 AM. Reason: Added solution to solve problem.
Old 05-30-2010, 02:49 PM   #2
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
Having a google around for this it seems quite a common problem. One possible solution I saw was creating a symlink at boot time from /dev/dri/card0 to /dev/card0. You will need to check if /dev/card0 is there and if so you could put this in your /etc/rc.d/rc.local:
mkdir /dev/dri
ln -s /dev/card0 /dev/dri/card0
Obviously a custom udev rule would be superior. Try googling "intel i915 /dev/dri" and see what's been found.

Last edited by bgeddy; 05-30-2010 at 02:50 PM.
Old 05-30-2010, 07:51 PM   #3
LQ Newbie
Registered: Jan 2009
Distribution: Slackware 13.1
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks bgeddy!

I'll keep looking for a more permanent solution, but this'll help get me up and running in the meantime.
Old 06-06-2010, 11:41 AM   #4
LQ Newbie
Registered: Jan 2009
Distribution: Slackware 13.1
Posts: 7

Original Poster
Rep: Reputation: 0
I found a solution to my problem. Apparently I had added a custom udev rule in my Slackware 13.0 install to try and get my Palm Pilot working correctly.

As I was working with my system I noticed that some other things weren't working properly, such as the sound in Flash videos, and tracing that back the device links to my mixer and what-not were missing (though I had sound in Amarok). After trying a lot of different fixes and nothing really working (with the exception of adding symlink after symlink to missing devices), I finally caught an error message that flashed by during boot. The message referenced a custom udev rule that I had created that could result in issues creating device names.

I removed the custom rules and commented out the symlinks from my rc.local and rebooted. Lo and behold, X came up properly, alsamixer is now accessible... it seems like everything is working properly now!


i915, slackware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 11 upgrade: "/dev/sda1 not cleanly unmounted" recurs after fsck judyhawkins Fedora - Installation 3 01-01-2010 11:00 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Xlib: extension "XFree86-DRI" missing on display ":0.0". fostiator Linux - Hardware 15 02-20-2005 07:13 AM
Slackware "lost" /dev/dsp, no sound Pathian Slackware 8 03-30-2004 05:52 PM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 10:43 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration