LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem with kernel 2.6 boot (https://www.linuxquestions.org/questions/slackware-14/problem-with-kernel-2-6-boot-305447/)

ALVAN 03-24-2005 07:18 AM

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 ?????

Marc A 04-07-2005 05:33 AM

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

XavierP 04-07-2005 07:46 AM

Moved: This thread is more suitable in Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.

Ben2210 04-07-2005 05:16 PM

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.

ALVAN 04-08-2005 11:56 AM

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?????

egag 04-08-2005 12:04 PM

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

Ben2210 04-08-2005 12:10 PM

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.

linuxhippy 04-08-2005 01:27 PM

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

ALVAN 04-10-2005 03:36 PM

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?


All times are GMT -5. The time now is 02:18 PM.