LinuxQuestions.org
Visit Jeremy's Blog.
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 12-19-2003, 06:41 PM   #1
Protex
Member
 
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Rep: Reputation: 15
2.6.0 Question


I've just compiled the kernel, no errors. Here's what I did:

make gconfig
make bzImage
make modules
su
make modules_install
make install

After that I rebooted...no kernel panic or anything, but it still says I'm using 2.4.22 (actually it said 2.4.23 before I compiled the kernel). So basically all i want to know is which kernel I'm using at this point. Anyway to check?

~Protex
 
Old 12-19-2003, 07:00 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Did you check your symlinks or filenames in /boot and compare them to your lilo.conf. Then you would need to rerun lilo.
 
Old 12-19-2003, 07:12 PM   #3
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Re: 2.6.0 Question

Quote:
Originally posted by Protex
I've just compiled the kernel, no errors. Here's what I did:

make gconfig
make bzImage
make modules
su
make modules_install
make install

After that I rebooted...no kernel panic or anything, but it still says I'm using 2.4.22 (actually it said 2.4.23 before I compiled the kernel). So basically all i want to know is which kernel I'm using at this point. Anyway to check?

~Protex
make install updates and runs lilo for you. Keep in mind that you MUST edit the Makefile and uncomment line 450 (export.....) for make install to work. And before you do anything, you need to edit the Makefile and you may also want to edit lilo.conf to add the proper entries so your old kernel is still available in case this kernel doesn't work.

All you need to do is...

make gconfig
make
su -c "make modules_install"
make install

That's it...reboot.
 
Old 12-22-2003, 08:01 PM   #4
Protex
Member
 
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Original Poster
Rep: Reputation: 15
DaOne,

That did th trick, however it didn't boot. I prolly forgot to include something..
 
Old 12-22-2003, 08:10 PM   #5
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Can you post your lilo.conf? Also, explain didn't boot...I am assuming that you at least got to the Lilo boot menu???
 
Old 12-22-2003, 08:38 PM   #6
Protex
Member
 
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Original Poster
Rep: Reputation: 15
I'm pretty sure it isn't a problem with lilo, but just incase here is the lilo.conf:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 200
default=Windows
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb5
label = Linux
append = "hdd=ide-scsi"
read-only
# Linux bootable partition config ends
image = /boot/vmlinuz-ide-2.4.23
root = /dev/hdb5
label = Linux_2_4_23
append = "hdd=ide-scsi"
read-only
other=/dev/hda1
label=Windows
boot-as=0x80

Anyway, a little more detail of won't boot would be, I select linux (which should be 2.6.0) and then i see a quick flash of text followed by green and blue bars vertically on the screen ontop of my bios information. Then I can't do anything, so I power off and reboot to 2.4.23.

~Protex
 
Old 12-23-2003, 12:36 AM   #7
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Do the caps/numlock lighst flash on your keyboard? If so, there's a kernel panic.

After the screen blanks, do you see harddisk activity via the led ?

If so, looks like you compiled in the wrong (or non-functional) framebuffer device for the display. Try booting with

<2.6.0 name> vga=normal

from lilo.

And that'll give you no framebuffer. That may get you to the loginprompt for 2.6.0.

Good luck

-Shade
 
Old 12-23-2003, 12:59 AM   #8
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally posted by Shade
After the screen blanks, do you see harddisk activity via the led ?

If so, looks like you compiled in the wrong (or non-functional) framebuffer device for the display. Try booting with

<2.6.0 name> vga=normal

from lilo.

And that'll give you no framebuffer. That may get you to the loginprompt for 2.6.0.
I got this exact same problem and I set "vga = normal" in my /etc/lilo.conf file and that didn't help at all. I was able to login and switch to runlevel 4 "blindly" and now I'm running Mozilla 1.6b on XFree86 4.3.0 on my new 2.6.0 kernel.

I'm not sure if it's psychological or not, but my system seems to be running a bit faster now.

I'm off to investigate my framebuffer problems now.

Peace...
 
Old 12-23-2003, 01:02 AM   #9
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Congrats.

I'd say it's definitely a framebuffer problem, then

I've had bad results with all two of the kernel videocard-specific framebuffer drivers on my laptop and desktop (trident and radeon respectively). I just use the standard VESA VGA framebuffer driver without problems.
I suggest you do the same

-Shade
 
Old 12-23-2003, 08:54 AM   #10
Protex
Member
 
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Original Poster
Rep: Reputation: 15
I will try the vga = normal and the standard vesa fb device. I am using a Radeon video card so that could be the stem of the whole problem.

As far as kernel panic goes, it does not flash the number or caplock leds on the keyboard, but at the same time it does not seem like there is any HD activity either.

Hopefully, after I get the frame buffer worked out, I will be able to tell you guys (or gals) what is going on.

I'll Let you all know, thanks in advance!!!

~Protex
 
Old 12-23-2003, 09:32 AM   #11
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
after make modules_install, you have to copy bzimage in /boot:

...
$ make modules_install
$ cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz
$ cp /usr/src/linux/System.map /boot/System.map
$ lilo
$ reboot

M.
 
Old 12-23-2003, 06:07 PM   #12
Protex
Member
 
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Original Poster
Rep: Reputation: 15
Ok, vga=normal didn't do anything. I went back and reconfigured my kernel from scratch incase i missed something. I was able to log in blind and startx. I'm going to leave the radeon frame buffer device driver out of the kernel and just use the vesa. I'll let you know how it goes.

~Protex

Edit: That seemed to work, however I did get some warnings regarding OSS and agpgart. I'm pretty sure most of them are concerning modules that I choose to compile into the kernel instead of making them modules. Everything seems to work.

Thanks again.

~Protex

Last edited by Protex; 12-23-2003 at 06:28 PM.
 
Old 12-24-2003, 12:36 AM   #13
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Protex- that's exactly what I was referring to. The radeon kernel module has never worked for framebuffer with my ATI Radeon 9000 Pro.
I've always just used the VESA without problems.

However, to get the ATI drivers working correctly, I've also always had to have agpgart as a module...

Your milage may vary of course, but you might find that once you try to get 3d working with your radeon, you'll need to recompile again, with agpgart as a module.

-Shade
 
Old 12-24-2003, 08:23 AM   #14
Protex
Member
 
Registered: Sep 2003
Location: Buffalo, NY
Distribution: Slackware 9.1 (prev: mandrake 9.1)
Posts: 63

Original Poster
Rep: Reputation: 15
I haven't had problems with 3d as it is currently (using dri drivers not ati's). Unreal Tournament runs just fine. However, error messages anger me so I'm just going to make those things, like agpgart, modules just to make the errors go away.

Honestly, I didn't notice the speed increase that everyone was talking about either. A while back I tried out test 2 or 3 on a mandrake 9.1 install, and I was blown away by the speed 2.6 had. With slack, everything felt fast to begin with so I didn't notice any major boost. Maybe if Pat releases a slack 2.6 kernel, then i would notice the speed boost.

Oh, and on another note, I was not able to remove scsi support from the kernel. Does it have to be compiled into it now?

~Protex
 
  


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 04:16 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 01:53 PM


All times are GMT -5. The time now is 05:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration