LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel problems (https://www.linuxquestions.org/questions/slackware-14/kernel-problems-33687/)

digital bots 10-25-2002 12:13 AM

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?

moses 10-25-2002 12:35 AM

/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.

digital bots 10-25-2002 12:43 AM

thanks for the tip i tried to do it with the 2.4.5 and my sound card still doesnt work :( man this sux.

BlueWWWeb 10-25-2002 01:07 AM

did you make sure to make /usr/src/linux be a symlink to the new usr/src/linux-2.xx.yy/ ??

digital bots 10-25-2002 01:21 AM

i cp'ed it so i guess thats a no

pesho_p 10-25-2002 01:39 AM

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).

digital bots 10-25-2002 09:09 AM

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 :D

digital bots 10-25-2002 08:45 PM

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

BlueWWWeb 10-26-2002 01:10 AM

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

bob_smith 10-26-2002 06:06 PM

dont forget the make modules_install.....

Excalibur 10-26-2002 07:26 PM

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.

digital bots 10-26-2002 07:45 PM

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 :(

Excalibur 10-26-2002 07:52 PM

And if you go back to your prior kernel, will X load?

moses 10-26-2002 11:46 PM

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


All times are GMT -5. The time now is 01:01 AM.