LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-10-2004, 11:53 PM   #1
theMonkeY
Member
 
Registered: Jun 2004
Posts: 58

Rep: Reputation: 15
Thats the 3rd damn time 2.6.7 has resulted in me having to format!


Hi,

can someone help me with this:

im trying to compile and use a 2.6.7 kernel onto this comp, and this is how i went about doing it:

make menuconfig....
(do all the options i need)

make
(wait for it to compile)

make modules_install && make install

i then got rid of the existing /usr/src/linux symlink and made a new one pointing to the source files of the new 2.6.7 kernel, and updated my lilo.conf then ran lilo.

i tried that the first time, and when i tried to boot into the new kernel i just got a blank screen, nothing happened. So i restarted and tried to go back into my old conf and somewhere down the bootup line it gave me a kernel panic -- something about not being able to mount the root filesystem.

The second time i tried the same thing but i didn't rename that symlink, same thing happened.

The third time i didn't run make install, and in my lilo.conf i made the image= point to the compressed bzImage in /usr/src/linux-2.6.7/arch/i386/boot/.... Still the same thing happened.
 
Old 09-11-2004, 12:08 AM   #2
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Rep: Reputation: 30
I'v had similer experiances with 2.6.7 on Slack. If anyone can manage to solve this one i'd love to know.
 
Old 09-11-2004, 12:38 AM   #3
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Make sure bzimage is on a bootable partition. Put bzImage in /boot and make sure /boot is a dir. of the bootable partition ie. root=/dev/hda1
 
Old 09-11-2004, 12:42 AM   #4
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Rep: Reputation: 30
I always put my Kernals in /boot, but I do have a SATA drive........
 
Old 09-11-2004, 12:52 AM   #5
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Then make sure root= /dev/sda1 (or whatever) is a bootable partition and /boot is a directory on that partition
 
Old 09-11-2004, 12:52 AM   #6
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
make menuconfig

make
make bzImage (you left out that step)
make modules
make modules_install

(or all at once: make && make bzImage modules modules_install)

cp (or technically i think the correct way is to cat, never had a problem with cp, though) bzImage to /boot

update lilo.conf

run /sbin/lilo

reboot

screw doing it with make install, do it by hand so you know you've got it right. just mho.
 
Old 09-11-2004, 01:50 AM   #7
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Quote:
make
make bzImage (you left out that step)
make modules
make modules_install
By default the 2.6.* kernels make bzImage with just the make command.
 
Old 09-11-2004, 02:17 AM   #8
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
make
make bzImage (you left out that step)
make modules
make modules_install
And it makes modules with the make command too so to compile, just do :
make

Last edited by Cedrik; 09-11-2004 at 02:18 AM.
 
Old 09-11-2004, 03:34 AM   #9
theMonkeY
Member
 
Registered: Jun 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Ok -- i've managed to install linux267 kernel and it boots!!
one problem: I CANT SEE ANYTHING!!!

i know that it boots because i can see the hd light flickering, and after a while (when it stops) i type root and my root password, then type reboot (all this i do blindly without being able to see anything) and the system actually reboots...............

but how do i fix the fact that i cannot see anything?
 
Old 09-11-2004, 04:03 AM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
What is your output for :

cd /usr/src/linux
cat .config | grep CONSOLE
cat .config | grep FB

Also you can fix that by put vga=normal in lilo.conf, I think

And at least, what is your video card ?
 
Old 09-11-2004, 04:28 AM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Just a tip monkey, you almost never need to format, just boot up using a cd and compile a working kernel or reinstall some default one.

To fix your problem: When you enter the console try to startx and that will bring you up to X if it's configured, if you can't do that.
Boot with cd 2, enter as root, mount your hardrive in some dir, chroot somedir
edit lilo.conf and comment out all the vga=XXXX leaving uncommented vga=normal and run lilo

If you want to use framebuffer (that allows you to have the nice tux in the console you'll have to recompile the kernel, just search some posts in this forums regarding that, there are tons of them.)

Last edited by gbonvehi; 09-11-2004 at 04:32 AM.
 
Old 09-11-2004, 04:52 AM   #12
theMonkeY
Member
 
Registered: Jun 2004
Posts: 58

Original Poster
Rep: Reputation: 15
sweet thanks every1, its all up and running now except a few things:

network doesn't work -- i can't ping anything (everything seems to be an unknown host)

my beautiful buttons!!! i had previously (on 2.4.26) configured all my logitech buttons (Finance, Community, stop, play etc) to work within kde by creating a file ~/.Xmodmap and editing /usr/X11R6/lib/X11/XKeySymDB.........now with 2.6.7 it doesn't even know im pressing some of them. The major ones it can recognise - like volup, voldown, rew, fwd, play, stop, media and a few more - but the ones i had binded to my programs it cannot recognise. I start xev in an xterm, and when i press those buttons its as though i am pressing nothing!! is there anyway around this?
 
Old 09-11-2004, 04:53 AM   #13
theMonkeY
Member
 
Registered: Jun 2004
Posts: 58

Original Poster
Rep: Reputation: 15
oh yeah and if i continue to use my old kernel, do i need to redirect /usr/src/linux to my old kernel?
 
Old 09-11-2004, 04:56 AM   #14
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I don't know about the keyboard thing, but try running netconfig again and see if it works after that (you didn't specify if your card is being recognized but i guess it is). If that doesn't work try pinging a ip (200.51.255.18 is www.3dgames.com.ar) to see if it's a dns problem.

About the kernel thing, i've never tried without re pointing the link to the kernel i'm using, but i guess it's necessary to compile apps.
 
Old 09-11-2004, 04:58 AM   #15
theMonkeY
Member
 
Registered: Jun 2004
Posts: 58

Original Poster
Rep: Reputation: 15
how do i see if my card is being recognised?
 
  


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
In C, converting time format Miaire Programming 4 02-03-2005 12:25 AM
3rd LFS build (this time on x86-64): about GCC and GLIBC and other questions... ParticleHunter Linux From Scratch 1 08-16-2004 10:47 AM
I need Help to interpret this time format unixfreak Linux - Newbie 7 08-03-2004 12:13 AM
logging program - time format baronsam Linux - Software 3 12-26-2003 08:14 PM
was able to partition AND format this time!!....BUT..... beginnerx Linux - Newbie 13 10-02-2003 02:24 AM

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

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