Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-30-2003, 10:33 AM   #1
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
2.6 kernel test 4

Hi, this is all slightly confusing. I have the new 2.6 kernel test 4 and I am very keen to try it as it seems to support digital sound out on my motherboard. Anyhoo. I can follow the first part of the instructions in the docs very easily on how to compile a kernel. (2.6 is slightly different from 2.4x). But since I'm still pretty new to linux some of the other things that were said don't make much sense to me yet. What does 'making a symlink to point to your new kernel' mean - and how do I do that? Also, what does 'You have to make the /sys directory manually' mean? Do I just have to makedir /sys ? (That is sys would be located in / directory?) Is that all I have to do, or is there something else?

Sorry for these dumb n00b questions, but once I know I won't forget.

Thanks in advance for any advice you can offer.

Old 08-30-2003, 01:26 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Making a symlink to your new kernel probably means to just create a softlink in /usr/src that points "linux" to the actual directory you extracted the kernel to...


ln -s /usr/src/kernel-2.6.test4 linux

Not sure about the /sys, I would assume if its asking you to create the directory manually, then yah, just:

mkdir sys

From within your / directory.
Old 08-30-2003, 02:55 PM   #3
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Yeah thanks... I think that's what it wants... Not much works without that 'linux' symlink in /usr/src. so I was kind of wondering how to create it.

While we're on the subject.... I followed the instructions in the docs to the best of my ability I downloaded and installed the sources as directed (in Gentoo it's easy, it's just emerge development-sources) and then ran the following:

make menuconfig
make bzImage (no need for make dep any more). 
make modules
make modules_install

Then I did:

# pwd
    # mv arch/i386/boot/bzImage /boot/bzImage-2.6.0-test4 
    # mv /boot/ 
    # cd /boot
    # rm
    # ln -s

#nano -w grub.conf

default 0
timeout 30

title=Gentoo Linux
root (hd0,0) 
kernel (hd1,0)/bzImage-2.6.0-test4  root=/dev/hdb3
As per the instructions for the 2.6 kernel on the main pages of kernel trap. But I hit a couple of snags. Well one major one really... When I did this all I got when I rebooted was a blank screen. Just grub and then nothing...

What am I doing wrong?

I definately edited grub to point to my new kernel and have triple checked it since then, but nothing... just an empty screen...

Any suggestions?



I don't know if it's relevant, but I used a script called genkernel to compile my original working kernel. Genkernel set up an initrd which scanned for new hardware whenever the system rebooted. However Genkernel is not compatable with kernel 2.6 yet, so I did it the old way by hand. The gentoo install instructions say if you do things manually, you shouldn't set up an intrd - so I simply commented out the intrd line in grub in order that it wouldn't be looked for during boot. Also Genkernel gave instructions to install hotplug, so I wonder if this might cuase problems too? Any suggestions anyone has would be extremely welcome.
Old 09-07-2003, 03:14 PM   #4
LQ Newbie
Registered: Aug 2003
Location: Lund, Sweden
Distribution: Red Hat
Posts: 1

Rep: Reputation: 0
Hi, when you mentioned 'blank screen' I remembered the doc:

It has this to say about blank screens:

- Blank screen after decompressing kernel?
Make sure your .config has
A lot of people have discovered that taking their .config from 2.4 and
running make oldconfig to pick up new options leads to problems, notably
with CONFIG_VT not being set.

hope that was the problem. Hotplug is discussed somewhat in and in aswell.

For RedHat9 users these
rpms works beautyfully (I'm using them as I write).

Good luck!

Last edited by kristocles; 09-07-2003 at 03:23 PM.
Old 09-07-2003, 03:34 PM   #5
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Go to and do a search for Kernel 2.6, there was a howto tutorial a week ago. I lost the link because of a total system reformat.


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
2.6.x test kernel failed DAChristen29 Slackware 5 12-09-2004 04:52 PM
same error message in every 2.6 test kernel apberzerk Linux - General 3 11-01-2003 07:16 PM
kernel 2.6 test-3 r3l4x Mandriva 5 08-23-2003 04:49 PM
2.6 test kernel is OUT!!! MasterC Linux - General 35 07-21-2003 04:15 PM
installing a new test kernel on redhat roskoo Linux - Newbie 2 07-21-2003 02:01 AM > Forums > Linux Forums > Linux - Software

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