LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-25-2006, 06:04 PM   #1
Voltar
Member
 
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Rep: Reputation: 15
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.
 
Old 07-25-2006, 07:13 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
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
 
Old 07-26-2006, 01:09 AM   #3
Voltar
Member
 
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Original Poster
Rep: Reputation: 15
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.
 
Old 07-26-2006, 01:11 AM   #4
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
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 01:15 AM.
 
Old 07-26-2006, 01:23 AM   #5
Voltar
Member
 
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Original Poster
Rep: Reputation: 15
No, I must have missed that, I'll try it now though.

Thanks again.
 
  


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
After 2.6.16.18 kernel compile no video crewblunts Linux - Kernel 4 06-01-2006 12:21 PM
Cannot compile / run gtk related applications LazyP Linux - Software 2 12-25-2005 04:51 PM
iriverter compile problem on suse, iaudio x5 video krisealv Linux - Hardware 12 12-08-2005 11:50 PM
Problem going from kernel version 2.4 to 2.6 - SATA related? Elbaron Debian 0 08-17-2005 04:42 AM
Kernel Compile ERR Sound related Hegemon Linux - General 2 02-23-2002 10:56 PM

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

All times are GMT -5. The time now is 12:05 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