LinuxQuestions.org
Review your favorite Linux distribution.
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 10-25-2002, 12:13 AM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Rep: Reputation: 30
Kernel problems


I cant get my current sound drives to work for my laptop in slack 8 becuase it uses a via sound driver. So i wanted to upgrade my kernel to the newest one to fix it. So i did this.

www.kernel.org downloaded the 2.5.44
- copyed it to /usr/src
- cd /usr/src
- tar xvzf linux-2.5.44.tar.gz
- rm linux-2.5.44.tar.gz
- cd linux
- make xconfig (picked what i wanted to be loaded)
- make clean
- make dep
- make bzImage
- make modules
- then when i went to copy the bzimage from the arch/i386/boot/bzimage it wasnt there i didnt see any errors. Did i do this right?
 
Old 10-25-2002, 12:35 AM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
/usr/src/linux/arch/i386/boot/bzImage

Don't use 2.5.x unless you want to help debug the kernel, as this is a
development version.
 
Old 10-25-2002, 12:43 AM   #3
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
thanks for the tip i tried to do it with the 2.4.5 and my sound card still doesnt work man this sux.
 
Old 10-25-2002, 01:07 AM   #4
BlueWWWeb
LQ Newbie
 
Registered: Oct 2002
Location: Wonder Lake, IL
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
did you make sure to make /usr/src/linux be a symlink to the new usr/src/linux-2.xx.yy/ ??
 
Old 10-25-2002, 01:21 AM   #5
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
i cp'ed it so i guess thats a no
 
Old 10-25-2002, 01:39 AM   #6
pesho_p
Member
 
Registered: Oct 2002
Location: 42 42' N, 23 19' E
Distribution: Slackware 8.1
Posts: 77

Rep: Reputation: 15
Quote:
- tar xvzf linux-2.5.44.tar.gz
- cd linux
Did you create a soft link to a newly unpacked kernel in your /usr/src directory?!
Something like this, for example:

# rm -f linux
# ln -s linux-2.5.44/ linux

or

# ln -sf linux-2.5.44/ linux

Only then you must do "cd linux"! Until then you'll be redirected to the old krenel source!
Quote:
- make clean
- make dep
- make bzImage
- make modules
How about that:

# make dep && make clean && make bzImage && make modules && make modules_install

or

# make dep && make clean && make -j 3 bzImage && make -j 3 modules && make modules_install

And, as already moses did tell you, don't use developer kernels. Use the latest stable branch instead (2.4.19 at the moment).
 
Old 10-25-2002, 09:09 AM   #7
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
i know i didnt make a soft link between the new linux kernel and the current one. and i will try another 2.4.x kernel. Thanks guys
 
Old 10-25-2002, 08:45 PM   #8
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
argh i finally did it right and now i cant get into the gui -_- when i do start x it seems that it says there isnt enuff memory to run xwindows system at any screen rez
 
Old 10-26-2002, 01:10 AM   #9
BlueWWWeb
LQ Newbie
 
Registered: Oct 2002
Location: Wonder Lake, IL
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
well glad i kinda helped and pesho_p went into better detail then my dumba**...did they finally get rid of that LILO thing where you had to : append MEM=xxx .. or something like it? if they haven't finally fixed that yet that might be aproblem..im having my own slack8.1 probs ..Read my post and help me please so I can find out whats new.Thanks
 
Old 10-26-2002, 06:06 PM   #10
bob_smith
LQ Newbie
 
Registered: Jun 2002
Posts: 21

Rep: Reputation: 15
dont forget the make modules_install.....
 
Old 10-26-2002, 07:26 PM   #11
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
If you were using frame buffer mode for X then those options need to be enable in the kernel. When you booted the new kernel, did the screen look like the same screen as before or was everything substantially larger? A graphic penguin in the upper left corner would indicate that you were using frame buffer mode.
 
Old 10-26-2002, 07:45 PM   #12
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
after i did it i got this as an error when i ran the kde. Insufficient memory for mode. and it went threw all the screen rez that my machine can handel. and I did do the kernel deal right this time i got a book on how to do basic linux stuff and followed it to the T and i still cant load into kde. I am starting to think my laptop wasnt made for slack or linux
 
Old 10-26-2002, 07:52 PM   #13
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
And if you go back to your prior kernel, will X load?
 
Old 10-26-2002, 11:46 PM   #14
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 46
What driver are you using for your video? The memory X is talking about
is video memory, so if you don't have the correct driver, you won't be able
to run X.
The configuration file for X is /etc/X11/XF86Config
Post the "Section Device" portion. . .
Should look something like:

Section "Device"
Identifier "Radeon"
VendorName "ATI"
Driver "radeon"
# Driver "ati"
Option "AGPMode" "4"
Option "AGPSize" "64"
EndSection
 
  


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
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 06:21 PM
kernel 2.4 -> kernel 2.6 problems with Maxtor SATA Bultot Linux - Hardware 2 01-19-2005 01:58 AM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 03:35 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM


All times are GMT -5. The time now is 09:53 PM.

Main Menu
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