LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-23-2009, 07:13 PM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Problem with my kernel .config


Hi guys,

I just tried compiling my own kernel, which did not boot.

The main issues I noted was that I did not choose the correct framebuffer driver/device, as there was no decent video modes, and my harddrive was not recognized.

My hardware is an Asus v1v laptop. 320gb sata hdd, 4gb ram, core 2 duo cpu, screen is 1680x1050 on a radeon 3650 video card. I have not enabled modules as I simply don't need them, and have patched my kernel with RSBAC, so the RSBAC options can all be safely ignored.

I have made my .config available at http://pastebin.com/m4ccc5b8b and was hoping someone could guide me to the issues I have missed out. Specifically, what I have out to get my sata hdd recognized, and which framebuffer I should use for my radeon 3650.

Cheers for any assistance on this issue.
 
Old 09-23-2009, 07:24 PM   #2
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Rep: Reputation: 33
It's been a while since I've used slackware, but I do remember joys and madness of compiling one's own kernel, the hours scouring module descriptions, compiling, booting, rebooting a safe kernel, wondering if this would be the module to break it..

Anyhow, I last used Slack 11 I think, and I never did get my Radeon 7000 working quite right with anything beyond the standard framebuffer modules.
 
Old 09-23-2009, 08:02 PM   #3
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
In my experience, don't set CONFIG_FB_RADEON=y. Instead, you should set CONFIG_FB_VESA=y and CONFIG_FB_RADEON=m or n. It's Ok when you normally work under X in the most cases. Don't set variables by hand but make use of "make menuconfig" or "make xconfig". Good Luck~
 
Old 09-23-2009, 09:53 PM   #4
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
Can you pastebin your lspci -v output?
 
Old 09-23-2009, 10:09 PM   #5
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Quote:
Originally Posted by grissiom View Post
In my experience, don't set CONFIG_FB_RADEON=y. Instead, you should set CONFIG_FB_VESA=y and CONFIG_FB_RADEON=m or n. It's Ok when you normally work under X in the most cases. Don't set variables by hand but make use of "make menuconfig" or "make xconfig". Good Luck~
Great advice ... I just finished a new kernel compile today. I remember the days of first learning to compile a kernel. And my biggest issues where Video & Sata detection. I keep all modules to a minimum, with the exception of sound.

Also double check your Filesystems, and double check to make sure you have the necessary FS support.

Quote:
Device Drivers --->

Serial ATA (prod) and Parallel ATA --->


And make sure you have the correct chipset selected.
Also use grissiom's suggestions with the framebuffer. I never use the built framebuffer modules. I always use the VESA.
 
Old 09-23-2009, 11:21 PM   #6
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by grissiom View Post
In my experience, don't set CONFIG_FB_RADEON=y. Instead, you should set CONFIG_FB_VESA=y and CONFIG_FB_RADEON=m or n. It's Ok when you normally work under X in the most cases. Don't set variables by hand but make use of "make menuconfig" or "make xconfig". Good Luck~
Hmm, I will probably end up working more in the console than in X, and so want to be able to use my full native resolution, of 1680x1050. VESA does not support this, and apparently the radeon driver does not either...although surely it should?

I don't use modules, so would rather find out the correct driver to use and have it work..

Quote:
Originally Posted by vinegaroon View Post
Can you pastebin your lspci -v output?
Not at the moment, or for a while just yet.., I'll save a copy the next time I try again, but what are you looking for? If you can give me a hint as to what I may have missed, I can try recompiling and testing and hopefully save a bit of time.

Quote:
Originally Posted by manwithaplan View Post
Great advice ... I just finished a new kernel compile today. I remember the days of first learning to compile a kernel. And my biggest issues where Video & Sata detection. I keep all modules to a minimum, with the exception of sound.

Also double check your Filesystems, and double check to make sure you have the necessary FS support.



Also use grissiom's suggestions with the framebuffer. I never use the built framebuffer modules. I always use the VESA.
Hmm, I've compiled many a kernel. Just not on this particular hardware. The reason I want to try and make use of my radeon framebuffer, is to be able to use my native 1680x1050 resolution, which vesa does not support, at least by default.

My filesystems are fine..just using a very simple EXT3 system.
 
Old 09-24-2009, 02:08 AM   #7
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 423

Rep: Reputation: 45
What hardware are you using? I come up a resolution:

1) try a 2.6.31 kernel.
2) if it not work with your configuration, enable DRM_RADEON_KMS and FB_VESA and disable FB_RADEON, report a bug in buazilla.kernel.org
 
Old 09-24-2009, 02:36 AM   #8
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
I should have mentioned, but I am using the latest .31 kernel.

Anyway, I got everything else working and it now boots, I just needed AHCI_SATA enabled. Something that was not obvious to me at the time.

However, I still cannot get my radeon framebuffer working. I would be fine with vesa, but want to be able to use my console it my native resolution, which vesa does not support.

I can still post my new .config if anyone wants...

edit: Was just doing some research, and will try booting with video=radeonfb:1680x1050-32@60

Hopefully, it shall be amazing.

Last edited by Josh000; 09-24-2009 at 02:41 AM.
 
Old 09-24-2009, 02:53 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Hard to say anything, as your .config on pastebin is not complete, as it seems...

Whenever I want to try a new kernel or simply tune one existing, I take a Slackware config as a basis and make only a few changes at a time.

e.g. to install 2.6.31 on Slackware64-13.0 I installed the source in /usr/src, cd to it, issued zcat /proc/config.gz > .config, ran make oldconfig, answered the questions for new drivers, added only built-in support for my root fs (reiserfs), then ran make && make modules && make modules_install and it did the trick.

More details here.

I used to strip down my kernels removing a lot of drivers I didn't need but I ceased to do that: I spent a lot of time only to shorten compilation time; better do something else while it runs.

Only my

Last edited by Didier Spaier; 09-24-2009 at 02:55 AM.
 
Old 09-24-2009, 02:56 AM   #10
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo, FreeBSD
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
I don't know if you can get any resolutions outside of X beyond what you see in /etc/lilo.conf in the vga= option list. I could be wrong about this though...

Last edited by vik; 09-24-2009 at 03:04 AM.
 
Old 09-24-2009, 03:06 AM   #11
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by Didier Spaier View Post
Hard to say anything, as your .config on pastebin is not complete, as it seems...

Whenever I want to try a new kernel or simply tune one existing, I take a Slackware config as a basis and make only a few changes at a time.

e.g. to install 2.6.31 on Slackware64-13.0 I installed the source in /usr/src, cd to it, issued zcat /proc/config.gz > .config, ran make oldconfig, answered the questions for new drivers, added only built-in support for my root fs (reiserfs), then ran make && make modules && make modules_install and it did the trick.

More details here.

I used to strip down my kernels removing a lot of drivers I didn't need but I ceased to do that: I spent a lot of time only to shorten compilation time; better do something else while it runs.

Only my
Out of curiosity, why would you say my .config is incomplete? I can confirm it is 100% complete.

As above, I now have it working and booting, and the only change was to enable ahci_sata.

I generally prefer to only compile in the exact drivers I need, which results in a small, lean and mean and fast kernel, perfect for my needs.

I would not rely on the slackware generic config. Everything works and will be supported, but this is because everything is a module. Useful for compatibility and for a distribution, but not so much for a specific configuration.
 
Old 09-24-2009, 03:08 AM   #12
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by vik View Post
I don't know if you can get any resolutions outside of X beyond what you see in /etc/lilo.conf in the vga= option list. I could be wrong about this though...

Yeah, you definitely can. If you have a look around, there are quite a few people booting happily with 1680x1050..., and I used to run 1450x900 without a problem.
 
Old 09-24-2009, 03:15 AM   #13
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo, FreeBSD
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
Just an idea, but can you see what resolutions are supported by looking in your /var/log/Xorg.0.log?
 
Old 09-24-2009, 03:17 AM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by Josh000
Out of curiosity, why would you say my .config is incomplete? I can confirm it is 100% complete.
Sorry I was wrong (at first I didn't see the File Systems section).

Quote:
As above, I now have it working and booting, and the only change was to enable ahci_sata.
Yes, I saw your post above after posting mine.

Quote:
I generally prefer to only compile in the exact drivers I need, which results in a small, lean and mean and fast kernel, perfect for my needs.

I would not rely on the slackware generic config. Everything works and will be supported, but this is because everything is a module. Useful for compatibility and for a distribution, but not so much for a specific configuration.
Granted, that's_your_choice
 
Old 09-24-2009, 08:17 AM   #15
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Quote:
I would not rely on the slackware generic config. Everything works and will be supported, but this is because everything is a module. Useful for compatibility and for a distribution, but not so much for a specific configuration.
If everything works, look what modules your system need and trim your kernel. Why monolithic?
 
  


Reply



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
Obscure problem of gtk-config or gtk12-config amitbhandari01 Linux - Software 2 03-19-2006 09:38 AM
kernel compiling problem: can I use 2.4 .config file with 2.6 ? Xavius Slackware 15 01-07-2005 02:51 PM
Config problem with kernel source code Astrojax Linux - Newbie 1 08-23-2004 02:39 PM
Lilo config for compiling new kernel problem Zaskar Debian 4 07-31-2004 01:11 PM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 04:04 PM

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

All times are GMT -5. The time now is 09:34 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
Open Source Consulting | Domain Registration