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 08-12-2003, 07:16 AM   #1
acom99
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Slackware 9.0 kernel source


Hello,

I seem to be having trouble finding the slack9 kernel source. I did a full install of slackware 9.0 and looked where the source code usually is "/usr/src" the only thing there is a directory named "rpm" and in rpm's subdirectories there is nothing. The main reason I'm trying to find the kernel is because I'm trying to build a module driver for my Lucent Winmodem and it can't locate the kernel headers. So if somone could help me out I'd be grateful

Thanks
 
Old 08-12-2003, 07:21 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
If you downloaded the Slack from the internet, you will need to download the source from there too. It is not included in the ISO.
 
Old 08-12-2003, 08:32 AM   #3
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
The ISO distro (1 CD) contains kernel header.
The kernel header is enough to compile winmodem (I have done it too).
You don't need the kernel source.
 
Old 09-22-2003, 07:29 AM   #4
grassapa
Member
 
Registered: Sep 2003
Posts: 41

Rep: Reputation: 15
help

im trying to install the lucent winmodem that i got from lindmodems.org , but since im using slackware, i cant use the rpm's for redhat (which are easy to install). I've read the instructions but it says i need kernel source bla bla bla.. its kinda complicated for me. anybody can help me install this modem?
 
Old 09-22-2003, 11:45 AM   #5
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
do you have the source?

dont you just go into the directory and type make install?
 
Old 09-23-2003, 11:41 AM   #6
q__
LQ Newbie
 
Registered: Sep 2003
Posts: 16

Rep: Reputation: 0
I've same problem also.
I've tried to install ALSA but it gives me error cause there's no kernel sources in /usr/src.

What I have to do?
 
Old 09-23-2003, 12:30 PM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
This is what I did. I bought Slackware (or you can download) and installed the kernel source (2.4.20). Then installed by typing installpkg <package name>.

Then I opened KDE and went to the Kernel Configuration and pick the options that I wanted. Then cd to /usr/src/linux, then ran make dep.

Then changed /etc/lilo.conf and added the image 2.4.20-kernel (I think that is the name). It seemed to work for me.

I believe that you could cd to /usr/src/linux. Type make xconfig and pick the options that you want. Then make dep, then make modules , then make modules install. Then edit lilo config file. Then reboot to the new kernel.

NOTE: Make a boot disk andmake sure it works. Then backup your data. I have had to re-install when I messed up a kernel because of a backup.
 
Old 09-23-2003, 07:12 PM   #8
R3N3G4D3
LQ Newbie
 
Registered: Apr 2003
Distribution: Ubuntu 7.04, RedHat 4.4
Posts: 22

Rep: Reputation: 15
if you downloaded an iso (like me) then your /usr/src folder should only contain rpm folder in it. What you do is go to http://www.kernel.org (official kernel website) download the latest stable version (currently 2.4.22) and extract it to /usr/src directory. It will take a while to extract it and it might seem like your computer froze but it's only because after extracted the package is over 150 mb (22 mb compressed). After that you should have a folder called linux-2.4.22 in your /usr/src. Now make a link folder to linux-2.4.22 called linux in the same directory (do ln -s linux-2.4.22 linux while you're in /usr/src as root). Now you can compile your kernel. Note that by going to linux folder you actually get redirected to linux-2.4.22 because linux folder is a link.
 
Old 09-24-2003, 04:52 AM   #9
q__
LQ Newbie
 
Registered: Sep 2003
Posts: 16

Rep: Reputation: 0
Now I've compiled kernel. Alsa-driver install works fine now.
But now I have problem with modprobe. I have Hoontech DSP 24 soundcard.
http://www.alsa-project.org/alsa-doc...module=ice1712

"modprobe snd-ice1712;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss" gives me error "Can't locate module"

Where it trying to find those modules?
 
Old 09-24-2003, 05:36 AM   #10
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Learn to use the search feature before you post a question that has been posted over a hundred times.
 
Old 09-24-2003, 08:59 AM   #11
q__
LQ Newbie
 
Registered: Sep 2003
Posts: 16

Rep: Reputation: 0
Quote:
Originally posted by Locura
Learn to use the search feature before you post a question that has been posted over a hundred times.
I've always use search before I post here.
I Haven't found any topics which would help me.
If U have found hundreds of these posts, would u be so kind that post couple links to them.
 
Old 09-24-2003, 02:46 PM   #12
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
My answer was already posted

Last edited by flashingcurser; 09-24-2003 at 02:52 PM.
 
Old 09-24-2003, 03:04 PM   #13
q__
LQ Newbie
 
Registered: Sep 2003
Posts: 16

Rep: Reputation: 0
I dont't have problems with kernel compiling. I've allready done it and alsa-drivers setup is working now. ./configure;make;make install etc...

Problem occurs when inserting modules into the kernel.

modprobe snd-ice1712;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss gives error "Can't locate module"

Those modules come with alsa-driver-package, but modprobe doesn't find them.
 
Old 09-25-2003, 11:56 AM   #14
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
did you compile those modules and install them?
 
Old 09-25-2003, 02:35 PM   #15
q__
LQ Newbie
 
Registered: Sep 2003
Posts: 16

Rep: Reputation: 0
When I use insmod instead modprobe, I got message "... was compiled for kernel version 2.4.21 while this kernel is version 2.4.20" and "insmod -f snd-ice1712" gives me error "unresolved symbol.."
 
  


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
slackware kernel source install (kernel 2.6.6) ? LinuxOG Slackware 22 06-06-2004 04:34 PM
Where is Slackware Kernel Source? Louis_Carole Linux - Newbie 8 03-27-2004 04:07 PM
slackware 9.0 kernel source sharrej Slackware 9 08-07-2003 04:55 PM
Slackware 9.0 Kernel Source and Compile PrimaryDataLoop Slackware 7 05-19-2003 09:32 PM
Can't compile source code in Slackware 9.0 kernel 2.4.20) GrandTheft Slackware 2 04-29-2003 10:52 AM

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

All times are GMT -5. The time now is 02: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
Open Source Consulting | Domain Registration