LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2014, 10:57 AM   #1
solarfields
Senior Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 1,032

Rep: Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607
Is it safe to build my video driver in the initrd.gz?


Hello!

I have an ATI Radeon HD 6450 card. Sometimes upon boot, just when the console should switch to the screen native resolution, it fails to do so and the computer restarts.

I suspect there is some problem with loading the radeon driver. Therefore I decided to include it in my initrd image, together with the filesystem driver. Like this:

mkinitrd -c -k 3.10.17 -m ext4:radeon -o /boot/initrd-radeon.gz

So, my question is: is this safe? Are there any problems that could arise from this? The size of the generated initrd is 6.8 MB.
 
Old 12-11-2014, 12:04 PM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 309

Rep: Reputation: 104Reputation: 104
Before you go and build initrd images did you blacklist the stock video driver? Is there any output from the radeon driver not loading?
 
Old 12-11-2014, 12:52 PM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 1,032

Original Poster
Rep: Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607
The boot process usually goes just fine. In the rare case when the problem occurs, I cannot see see an output, because the booting process stops and the machine restarts.
 
Old 12-11-2014, 01:05 PM   #4
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 309

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by solarfields View Post
The boot process usually goes just fine. In the rare case when the problem occurs, I cannot see see an output, because the booting process stops and the machine restarts.
If the machine restarts there are other issues, try running memtest first, never seen a computer reboot because of a videocard in test mode, in x I have see black screen and xserver crashes.
 
Old 12-11-2014, 01:10 PM   #5
solarfields
Senior Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 1,032

Original Poster
Rep: Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607
well, i have not had any other problems than that. I'll see what I can do.
 
Old 12-11-2014, 01:11 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864Reputation: 4864
Try to compile the latest kernel and see if the issues persist with that, due to the vast amount of changes and improvements in the radeon driver since the 3.10 kernel it is likely that your issues are already fixed. You will also benefit from a newer kernel in other things with that card, like having dynamic power management and other things.
If you want to include the video driver in the initrd (which should work without a problem, but will likely not fix your issues) keep in mind that you also have to add the necessary firmware for that card.
 
1 members found this post helpful.
Old 12-11-2014, 01:17 PM   #7
solarfields
Senior Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 1,032

Original Poster
Rep: Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607Reputation: 607
Quote:
If you want to include the video driver in the initrd (which should work without a problem, but will likely not fix your issues) keep in mind that you also have to add the necessary firmware for that card.
I did, actually, and it seems to work fine. The firmware got included automatically.
 
  


Reply


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
[SOLVED] Safe To Delete Build-Directory? Zssfssz Linux From Scratch 3 02-09-2012 04:52 AM
Slackware64-13.0 multilib can not build valid initrd for kernels 2.6.30 sid77 Slackware 11 03-03-2010 03:32 AM
How do I build the initrd.gz for booting debian hd-media? robertkey Debian 8 12-02-2009 12:29 AM
Is it safe to build LFS as a root ? dimaash Linux From Scratch 3 07-29-2005 10:59 AM
Video Driver Poblems with Red Hat 8.0 (trident video driver) AstroJim Linux - Newbie 1 05-20-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:19 PM.

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