LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-24-2005, 07:18 AM   #1
ALVAN
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Rep: Reputation: 1
Problem with kernel 2.6 boot


I have an petium mmx on 166 mhz with 128 Mb and a videocard like S3 Trio64V2-DX/GX (if someone knows how to improve video performance to use /dev/fb0 or another module if exist because on the old kernel would work )on a slackware 10.0 distro .... so i wanted to improve video performance and i upgraded the kernel to 2.6 but after configuring and compile (it took me almost 6 hours) the image wont boot at lilo promt after i select the new kernel image to boot it shows me the loading the kernel then bios data ok i after that i got a subbmit restart ?????
 
Old 04-07-2005, 05:33 AM   #2
Marc A
Member
 
Registered: Mar 2004
Location: Bxl Europe
Distribution: Debian/Ubuntu
Posts: 84

Rep: Reputation: 15
Hi,

Still no respone? Maybe your not in the goog forum. Here's the forum for success stories wich doesn't seem to be the case. You may try to post it either in the newbie forum or in slackware one at your choice.
I'm sorry i can't help you further : (

Good luck
 
Old 04-07-2005, 07:46 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-07-2005, 05:16 PM   #4
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
First check a few things.

1) What's your lilo.conf kernel section looking like ?
here's an example :
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.10
  root = /dev/hda2
  label = Linux
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
2) do you have a System.map file in /boot having the same name ending as your kernel image ?
for example :
/boot/System.map-2.6.10

3) Check your kernel config. A lot of people have kernel config troubles when upgrading from 2.4 to 2.6. Look on this forum, there are threads dedicated to that.

More generally, are you sure that you followed the right steps in order to compile a 2.6 kernel ? That's not quite the same as compiling a 2.4 kernel. You need to follow a 2.6-specific guide.

4) If you want more help, you need to give us more precise info. Describe exactly what is happening on your screen, from the lilo boot menu on.
 
Old 04-08-2005, 11:56 AM   #5
ALVAN
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Original Poster
Rep: Reputation: 1
sprry i was gone for a while so i wasnt able to check my mail k thanks for .tips......Ben 2210 i think the lilo.conf is configured well but i am not so sure about the .config file or the /boot parameters .. on the old kernel i have in /boot a file like this config-ide-2.4.26 and with this one i have not the System.map i think i put it well i renamed it System.map-2.6.11 and i added a ln -s to System.map on /boot ........if there is here a place to put my config file or email it to you?????
 
Old 04-08-2005, 12:04 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
are you sure you get a restart, or is it just a ( famous ) black screen ?
( with a "black screen" i mean, the kernel is booting , you can hear or see the disk activity,
but nothing's on the screen ).

egag
 
Old 04-08-2005, 12:10 PM   #7
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
ALVAN,

I think you would find it useful to read a 2.6 kernel compile HOWTO. This will explain you a lot of things about the .config file, the various options, the System.map file, etc... this is how most of us learn to compile kernels.

Look on this LinuxQuestions Slackware forum, there are sticky threads for compiling 2.6 kernels. That's where I learned.
 
Old 04-08-2005, 01:27 PM   #8
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
The boot difference I've seen between the 2.4 kernels and the 2.6 kernels is the initrd.img file. Did you do a mkinitrd which would make a file /boot/initrd which I renamed to initrd-2.6.11.6.img and then put the needed info into /etc/lilo.conf and ran lilo.

Try man mkinitrd for specifics for your filesystem.

Here are 2 online instructions for compiling 2.6 kernels:

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

http://www.linuxquestions.org/questi...hreadid=127095

Last edited by linuxhippy; 04-08-2005 at 06:19 PM.
 
Old 04-10-2005, 03:36 PM   #9
ALVAN
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Original Poster
Rep: Reputation: 1
k thank for the links i have a caple of ones but not with so much details......egag yes i get a restart ....linuxhippy i have tried with an mkinitrd to ..bot i just do mkinitrd and put it with name as you said in /boot directory and nothing(the same all restart .. i just did mkinitrd without any options i think the image generated it detects automatically my file system ( ext3 )....
Anyway i remove it and install minislack 0.4 with already configured and compiled kernel 2.6.11.4(i think this kernel is with the same options and configuration almost like a 2.6.11 kernel ) and put the other packages that i need from the slackware cd .......I have a question what is the fastest file system type RefeiserFS??or it is just most secure ...I read on a site that one people had done a test and the results were JFS,XFS,RefeiserFS,ext2,ext3 is this true?
 
  


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
problem to boot with 2.6.7 kernel TroyCoX Slackware - Installation 18 03-19-2006 05:41 PM
kernel 2.6.7 boot problem TroyCoX Linux - Software 2 06-29-2004 04:43 AM
kernel 2.6.6 boot problem perkulio Linux - General 9 06-25-2004 10:31 AM
Kernel 2.6.3 boot= problem nerofiend Linux - Newbie 14 03-10-2004 05:25 AM
Kernel Boot Problem enaran Linux - Software 1 05-04-2002 08:27 PM

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

All times are GMT -5. The time now is 05:33 AM.

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