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 12-26-2003, 04:14 PM   #1
notreallynas
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 5

Rep: Reputation: 0
Smile Kernel 2.6.0 and Slackware 9.1 success story


I've just got my new Kernel 2.6.0 running on my Slackware 9.1 box and I thought I'd point out a couple of things I gleaned from various other web sites that were of use, as well as asking a couple questions of my own.

First off, I compiled and installed the kernel and got it to boot the first time. I ran into the "blank screen" problem that has been mentioned in this forum before, but I use runlevel 4 by default, so I ended up in kdm anyways. I logged in, only to find that sound and network functionality did not work. Below I will describe my workarounds to these problems.

1. The Blank Screen
I was able to get the standard kernel messages by switching "vga=773" in my /etc/lilo.conf to "vga=normal". I wanted framebuffer support however, so I selected the option for my video card's framebuffer device (aty128fb.ko), recompiled and installed the modules (make modules && make modules_install), then added this line to lilo.conf
append = "video=aty128fb:1024x768-16@70"
Frame buffer support was now functional (The penguin is back!). On to the next problem.

2. No Network
I ran "lsmod" after booting up my new kernel and saw there was no module for my NIC, a 3Com 59x series. I ran the command 'su -c "modprobe 3c59x"' and viola, networking was back in business. I then added the line '/sbin/modprobe 3c59x' to my /etc/rc.d/rc.modules and was able to get network support on boot. Problem 2 solved.

3. No Sound
This problem was solved in similar fashion to problem 2. After running lsmod I noticed there was no module for my soundcard (ESS Maestro 3). However, this time a simple modprobe for the card didn't work. I think the hardware modules need to be installed before the rest of the ALSA stuff. So I added '/sbin/modprobe snd-maestro3' to rc.modules and got sound on my next reboot. Kernel 2.6 with Slackware 9.1 was successfully installed.

4. Futher questions...
The question that remains is this: On my 2.4.22 Kernel all of the modules listed above were automatically installed on boot, without anything in rc.modules. I know I enabled automatic module loading at compile time (CONFIG_KMOD). Is there another explanation? Any ideas would be appreciated.

That's it for now. I know a lot of people have been trying to get 2.6 up and running with Slackware. I got a lot of help from these forums. Just thought I'd post what's worked for me. Until next time (2.6.1?). If anyone would like to see my lilo.conf or .config files, drop me a line. I'd love to share.

Nick
 
Old 12-26-2003, 04:23 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
excellent! i don't know the answer to your question, but thanks for detailing your efforts. for some reason the 2.6.0 kernel seemed harder to me than any other kernel i've compiled, including my first one (all the way back to 2.4.22 ), and i got a lot of help from LQ to get it working, also. it sounds like you did some good detective work, congratulations. first post a success story -- cool!
 
Old 12-26-2003, 07:02 PM   #3
pingY
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Rep: Reputation: 0
Perfect!I have these problems too when I compile the kernel 2.6.0.
I want to know where I can find the modules I have compile.
I think if you compile everything into the kernel,it will work without anything in rc.modules.
 
Old 12-26-2003, 07:15 PM   #4
pingY
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Rep: Reputation: 0
Re: Kernel 2.6.0 and Slackware 9.1 success story

Quote:
Originally posted by notreallynas

append = "video=aty128fb:1024x768-16@70"
Nick
"-16" means what?
Thank you!
 
Old 12-26-2003, 11:57 PM   #5
notreallynas
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
Re: Re: Kernel 2.6.0 and Slackware 9.1 success story

Quote:
Originally posted by pingY
"-16" means what?
Thank you!
"-16" refers I believe to the color depth for the driver: 16bpp. You could probably put 24 or 32 here, but I haven't tried. 16 worked for me. Keep in mind this is just for the framebuffer support. It shouldn't affect X windows at all.

Nick
 
Old 12-27-2003, 08:20 AM   #6
wonderpun
Member
 
Registered: Aug 2002
Location: Geekland, Planet Earth
Distribution: Slackware 9.1
Posts: 323

Rep: Reputation: 30
and "@70" is the refresh rate? Thanks!
 
  


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
success story here with slackware! hellbound201 LinuxQuestions.org Member Success Stories 5 11-11-2004 03:58 PM
Woo (success story of from windows to slackware :D) raela LinuxQuestions.org Member Success Stories 2 06-11-2004 05:37 AM
My success story. HolyLiaison LinuxQuestions.org Member Success Stories 1 02-08-2004 03:57 PM
Success Story! Xshare LinuxQuestions.org Member Success Stories 3 01-25-2004 07:05 PM
CS like success story PingouinShark Linux - Games 2 10-08-2003 04:17 PM

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

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