Unix Technical Forum

Kernels for dummies?

This is a discussion on Kernels for dummies? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Ok, I can compile and make bzImage of 2.6 kernel just fine, but from that point on there isn't ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:30 PM
Unknown
 
Posts: n/a
Default Kernels for dummies?

Ok, I can compile and make bzImage of 2.6 kernel just fine, but from that
point on there isn't any documentation that I have found that actually
works, to move what files where. I have slackware 9.1, if I try the
documentation in the slackware book on the website I get errors, I tried
instructions from linuxpackages.net to no avail. Is there anywhere with
step by step on what to move and where for slackware 9.1 ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:30 PM
Simon
 
Posts: n/a
Default Re: Kernels for dummies?

On Sun, 21 Dec 2003 03:17:11 GMT, Unknown <me@privacy.net> wrote:
[Compiling a 2.6 kernel]
> I have slackware 9.1, if I try the documentation in the slackware
> book on the website I get errors


What errors?

> I tried instructions from linuxpackages.net to no avail.


What instructions?

> Is there anywhere with step by step on what to move and where for
> slackware 9.1 ?


The bzImage goes wherever you like (/boot is common) and you then
reference that in your LILO (or other boot manager) configuration.


--
Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 09:30 PM
Mark Hill
 
Posts: n/a
Default Re: Kernels for dummies?

On Sun, 21 Dec 2003 03:27:51 +0000,
Simon <usenet@no-dns-yet.org.uk> wrote:
> On Sun, 21 Dec 2003 03:17:11 GMT, Unknown <me@privacy.net> wrote:
> [Compiling a 2.6 kernel]
>> I have slackware 9.1, if I try the documentation in the slackware
>> book on the website I get errors

>
> What errors?


The Slackware book has an error by omittting 'make modules_install', so
perhaps the OP has been caught out by that. This FAQ has some info on
that and some links to kernel-compiling guides.
<http://wombat.san-francisco.ca.us/faqomatic/cache/83.html>



--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 09:30 PM
NeoSadist
 
Posts: n/a
Default Re: Kernels for dummies?

Unknown wrote:

> Ok, I can compile and make bzImage of 2.6 kernel just fine, but from that
> point on there isn't any documentation that I have found that actually
> works, to move what files where.


Do this (as root) to move the new kernel files to /boot :

cp /usr/src/linux-2.6.0/System.map /boot/System.map-ide-2.6.0
cp /usr/src/linux-2.6.0/.config /boot/config-ide-2.6.0
cp /usr/src/linux-2.6.0/arch/i386/boot/bzImage /boot/vmlinuz-ide-2.6.0

Then move the old symlinks out of the way for the new ones:

cp /boot/config /boot/config.old
cp /boot/System.map /boot/System.map.old
cp /boot/vmlinuz /boot/vmlinuz.old

Then create the new symlinks:

ln -s /boot/config-ide-2.6.0 /boot/config
ln -s /boot/System.map-ide-2.6.0 /boot/System.map
ln -s /boot/vmlinuz-ide-2.6.0 /boot/vmlinuz

Then re-run LILO:

lilo

> I have slackware 9.1, if I try the
> documentation in the slackware book on the website I get errors, I tried
> instructions from linuxpackages.net to no avail. Is there anywhere with
> step by step on what to move and where for slackware 9.1 ?


If you need further help, email me.

--
QUOTE OF THE DAY:

`


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 09:30 PM
illmusic
 
Posts: n/a
Default Re: Kernels for dummies?

Unknown <me@privacy.net> wrote in message news:<pan.2003.12.21.03.22.52.721022@privacy.net>. ..
> Ok, I can compile and make bzImage of 2.6 kernel just fine, but from that
> point on there isn't any documentation that I have found that actually
> works, to move what files where. I have slackware 9.1, if I try the
> documentation in the slackware book on the website I get errors, I tried
> instructions from linuxpackages.net to no avail. Is there anywhere with
> step by step on what to move and where for slackware 9.1 ?


try the slackware forums on http://www.linuxquestions.org/

great site for begginers, plus ive seen sevral threads there on kernel
upgrades aimed towards begginers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 09:30 PM
Simon
 
Posts: n/a
Default Re: Kernels for dummies?

On 21 Dec 2003 03:44:09 GMT, Mark Hill <mark_usenet@yahoo.co.uk> wrote:
> The Slackware book has an error by omittting 'make modules_install', so
> perhaps the OP has been caught out by that.


That's true, but, from the way the question was phrased, I got the
impression that the errors occurred while trying to compile the kernel.
Of course, I've got no way of knowing without knowing what the errors
were.


--
Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 09:30 PM
Richard Adams
 
Posts: n/a
Default Re: Kernels for dummies?

On Sun, 21 Dec 2003 03:17:11 +0000, me wrote:

> Ok, I can compile and make bzImage of 2.6 kernel just fine, but from that
> point on there isn't any documentation that I have found that actually
> works, to move what files where. I have slackware 9.1, if I try the
> documentation in the slackware book on the website I get errors, I tried
> instructions from linuxpackages.net to no avail. Is there anywhere with
> step by step on what to move and where for slackware 9.1 ?


Read the Kernel-HOWTO ?????

less /usr/doc/Linux-HOWTOs/Kernel-HOWTO

Visit my site there is a small help page there as well.

--
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 09:30 PM
Mark Hill
 
Posts: n/a
Default Re: Kernels for dummies?

On Sun, 21 Dec 2003 09:32:50 +0000,
Simon <usenet@no-dns-yet.org.uk> wrote:
>
> Of course, I've got no way of knowing without knowing what the errors
> were.


Same here. I just see 'kernel compile' and 'slackware book' and feel
I must mention the 'make modules_install' omission. (Kind of like
Pavlov's dogs. )


--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-18-2008, 09:30 PM
Unknown
 
Posts: n/a
Default Re: Kernels for dummies?

On Sat, 20 Dec 2003 21:10:17 -0700, NeoSadist wrote:


> Do this (as root) to move the new kernel files to /boot :
>

<snip>

Thats exactly what I needed. Seems I have some fine tuning to do in the
kernel. eth0 doesn't seem to be coming up on boot. Though does with
modprobe tulip.
When I run netconfig it tells me tcp/ip isn't installed, not sure what to
make of that.
Alsa can't find a sound card either:
Advanced Linux Sound Architecture Driver Version 0.9.7
(Thu Sep 25 19:16:36 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
ALSA device list:
No soundcards found.
Though I did set the module in the kernel for my sound blaster live.
Other than those two issues, seems to be working good . I love the speed
of my mouse now, wow.
Thanks for the help with where to put what files, HUGE help to me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-18-2008, 09:30 PM
Jebiveter
 
Posts: n/a
Default Re: Kernels for dummies?


"Unknown" <me@privacy.net> wrote in message
newsan.2003.12.21.03.22.52.721022@privacy.net...
> Ok, I can compile and make bzImage of 2.6 kernel just fine, but from that
> point on there isn't any documentation that I have found that actually
> works, to move what files where. I have slackware 9.1, if I try the
> documentation in the slackware book on the website I get errors, I tried
> instructions from linuxpackages.net to no avail. Is there anywhere with
> step by step on what to move and where for slackware 9.1 ?


Try http://www.linuxquestions.org/questi...threadid=49035
It works for me!

lp,
Uros


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:23 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com