LinuxQuestions.org
Register a domain and help support LQ
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 07-14-2003, 05:44 AM   #1
elliore
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 17

Rep: Reputation: 0
compiling woes


hi.
i have a slackware 9.0. Recently i tried to upgrade my kernel to version 2.4.21, so i downloaded the precompiled packages from the ftp site and followed the instructions to upgrade. after reboot i find that the system is no longer the same... all the modules gone and startx failed..... i had tried to compile my own kernel once (2.4.20) and ended up the same.... and i thought upgrade via the precompiled packages is the safest for newbie, some how i think i was wrong. is ther a way to go back now?

after all, is it each time when u compile ur own / upgrade kernel all the modules will gone? i read the kernel compiling guide from DaOne, they seemed still have the modules running....

sigh.....
 
Old 07-14-2003, 05:51 AM   #2
gerghk
LQ Newbie
 
Registered: Jul 2003
Location: Sunnyvale, CA
Distribution: Slackware 11.0 - kernel 2.6.18
Posts: 21

Rep: Reputation: 15
when u choose what u want in menuconfig

instead of pressing Y, press M

that way u'll see the selected stuff as <M>, not <*>, that means its a module


its not entirely necessary to do that though, stuff could still work even not as modules
 
Old 07-14-2003, 09:17 AM   #3
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Rep: Reputation: 15
I'm assuming the 2.4.21 is a .tgz package. Did it come w/ the 2.4.21: headers, modules and source? If so then do, as root,:

#upgradepkg --verbose <name of pkg.tgz>

If you do not have the 'old' source installed:
#upgradepkg --install-new --verbose <name of pkg.tgz>

I'm not sure if this applies to what you're wanting.

BC
 
Old 07-14-2003, 03:35 PM   #4
Moltag
Member
 
Registered: Jul 2003
Location: 'Flori-duh,' US
Distribution: Slackware 9, RH 9
Posts: 33

Rep: Reputation: 15
Your modules could be gone for a few reasons:

A) You forgot to enable the option to make the kernel modular when you were in the menuconfig

B) The kernel is modular, but you didn't set all the options for your hardware that you should've.

In menuconfig, <*> means an option will be hard-coded into your kernel, whereas <M> means an option will be loaded on demand via a kernel module. And, of course, < > means an option wasn't selected at all.

>>"is ther a way to go back now?"

Assuming you followed DaOne's compile guide step-by-step, yes. If all went well, your LILO bootloader should contain an option that's something like "vlinuz.old." Just select that to boot using the old kernel and modules.
 
Old 07-15-2003, 08:27 AM   #5
elliore
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 17

Original Poster
Rep: Reputation: 0
well i understand how to select a kernel, compile it as modules or straight into it.....

the strangest will be, i tried to compile emuk10k into the kernel since ihave an audigy soundcard, but when the system was up, the kde still prompt an error regarding the sound server(like u haven't setup ur soundcard).... and modprobe was also a mess( whether it was compiled as modules or into the kernel, i have tried both), it said something like the files end with .o extension was no where to find and stuff like that....

as for the upgrade pkg, i've done what the site has told me to....

any ideas?
 
Old 07-15-2003, 11:34 AM   #6
init1
LQ Newbie
 
Registered: Jul 2003
Distribution: Gentoo and Slackware
Posts: 8

Rep: Reputation: 0
1) If you can get back to your good kernel 2.4.20, boot into it.
2) From the Slackware folder "patches/packages" retrieve the kernel*.tgz files except the xfs files if you don't need them.
Get the "patches/kernels" folder.

3) Delete the /lib/modules/2.4.21 and the /usr/src/2.4.21 folders.
Delete the /boot/2.4.21 kernel, config, and system.map files

4) Run pkgtool to install, run lilo if running lilo. This will install the new kernel and supporting files without user intervention.
Done

If you go the route of downloading the kernel sources and follow the directions at the top of this forum and don't change the .config
file this time you will get a new working 2.4.21 system.
Don't be fooled the .config is not as easy to mess with as a lot think, there are a lot of dependences and usually not much if anything improves performance as much as you might think.

If you can't resist and must change something, change the processor type and turn off math co-processing.
 
Old 07-15-2003, 07:51 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Thoroughly check
dmesg
output, and look at /varl/log/messages
/varl/log/syslog
/varl/log/debug
to see whether there's any reference
(positive or negative) to your sound
driver...

Cheers,
Tink
 
  


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
Compiling woes Cards_STL Linux - Software 8 10-30-2005 11:14 PM
libdvdcss compiling woes Superdeluxe Linux - Software 4 01-24-2005 09:55 AM
qt compiling woes-Beware n00bish questions :) CelticWhisper Linux - Software 2 12-01-2004 05:36 PM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 08:56 PM
Kernel compiling woes.... noobix Slackware 7 06-05-2003 12:24 AM


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