Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-25-2006, 07:04 PM
|
#1
|
Member
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83
Rep:
|
Kernel compile problem, video related, 2.6.17.7
I seem to be having a problem with compiling a new kernel for my new computer. I installed Slackware 10.2 with the sata.i kernel, and downloaded the new kernel source, burnt it to a cd and copied it over (2.4 doesn't seem to support the NIC, so no Internet).
The problem is, that I always end up with just a thin broken line of pixels near the top of the screen and nothing else. The machine does boot fine, I can log in as root and do a "reboot" command and the box restarts. The video is just not working right.
With the sata.i kernel I had the 1024x768x256 frame buffer enabled in lilo, same with the new kernel, I also tried changing it to something different and then no frame buffer to no avail.
Now I've tried compiling many times with different video options and I'm getting nowhere.
My motherboard is an Asus A8N-SLI Deluxe and the graphics card is an Asus N6200TC (GeForce 6200 w/Turbo Cache).
Any suggestions? Am I just overlooking something simple? I've compiled kernels successfully before on older hardware with no problems, but this is the first time I've done it on a brand new machine.
Thanks.
|
|
|
07-25-2006, 08:13 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
Try booting with vga=normal. So if you recompiled the kernel and named it, say slack-2.6.17.7, your lilo boot: prompt will look like this:
Code:
slack-2.6.17.7 vga=normal
If that doesn't work, we need to look into why your vga adaptor isn't getting initialized properly.
-- Shade
|
|
|
07-26-2006, 02:09 AM
|
#3
|
Member
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83
Original Poster
Rep:
|
Thanks, just tried that and it worked perfectly.
Any clues on what to do/look for in trying to find out why the video card isn't being initialized?
Thanks.
|
|
|
07-26-2006, 02:11 AM
|
#4
|
Member
Registered: Nov 2003
Posts: 360
Rep:
|
Have you selected all the right modules for Video Support like Jyimbo said in the thread above Kernel compile guide for 2.6.0 ?
Quote:
1.) To prevent the "blank screen" that most new 2.6 kernel users often get on their first build, make sure that the following options are enabled:
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
Note: these settings are not default in 2.6 and often do not carry-over properly from the 2.4.22 config file and must be double-checked!
2.) Kernel panic: this is because Reiserfs (if you use it) is not enabled by default. Make sure it is enabled under "Filesystems".
3.) AGPGART is compiled-in by default. If you plan on using the NVIDIA AGP drivers, then I suggest either selecting AGPGART as a module or unselecting it alltogether.
4.) If you plan on using modules, take note that module unloading is not enabled by default. You won't be able to unload modules (like AGPGART mentioned above) when needed. Select the option under Loadable Modules Support.
5.) Sound: here's where everyone has problems: if you're scared of Alsa, then deselect it and select OSS. I've tried both and I can't tell which sounds better (if at all). All I know is that OSS works with all 4 channels of my SBLive! and that controlling the mixer levels with rexima is simple and hassle-free (no alsamixer settings to have to set and store). It's OK, nobody's gonna hate you for using OSS over Alsa.
6.) Firewall/NAT: if you plan on using an iptables firewall, note that you need to select Network packet filtering and (to make it easy) everything under IP:Netfilter Config (I select them as modules).
7.) IDE-SCSI is no longer necessary with 2.6...you can use /dev/cdrom when using cdrecord or whatever CD-R software you use. I have a Plextor drive, and it works fine WITHOUT SCSI-EMULATION set in the kernel.
8.) Install correctly:
a.) make bzImage && modules && modules_install
b.) cp -v arch/i386/boot/bzImage /boot/vmlinuz-2.6
c.) cp Sytem.map /boot/Sytem.map-2.6
d.) rm -rf /boot/System.map
e.) ln -sf /boot/System.map-2.6 /boot/System.map
d.) mcedit /etc/lilo.conf
e.) Make an exact copy of the entry for your 2.4.22 kernel just below it, and then change:
image=/boot/vmlinuz ----to---> image=/boot/vmlinuz-2.6
and...
label=Linux ----to---> label=Linux-2.6
f.) /sbin/lilo
If there are no errors, then you're ready to boot.
|
Last edited by nykey; 07-26-2006 at 02:15 AM.
|
|
|
07-26-2006, 02:23 AM
|
#5
|
Member
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83
Original Poster
Rep:
|
No, I must have missed that, I'll try it now though.
Thanks again.
|
|
|
All times are GMT -5. The time now is 02:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|