LinuxQuestions.org
Review your favorite Linux distribution.
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 06-05-2005, 05:29 PM   #16
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53

that's what i was afraid of...overwriting the existing (working) kernel
is not a good idea.
i'll stick to copying the files by hand also...

egag
 
Old 06-05-2005, 05:43 PM   #17
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
my god...

first off make install fallows the make file...

All you have to do is edit one line of the makefile so it installs in /boot.

Second, you name your kernel in the makefile also.

Third, it does run lilo, and it also moves the old kernel to vmlinuz.old (as well as the other files), so all you would have to do is edit lilo to point another option at the .old kernel and presto, fallover incase it fscks up on you.

In other words... a few simple steps can save you time later on when you use make install.
 
Old 06-05-2005, 05:47 PM   #18
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
So how is make install or cping the files going to fix the memory limit?
Each ones does it on his way, don't start this kind of discussion that won't ever end.
 
Old 06-05-2005, 05:53 PM   #19
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
I don't care what they do to upgrade their kernel... but I can't stand FUD.

Saying it does not work, or does a shitty job just because you don't know how to use it tends to set me off.

 
Old 06-05-2005, 06:04 PM   #20
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
ipren

How you doing? Did you get it fixed?

Last edited by Bruce Hill; 06-05-2005 at 06:41 PM.
 
Old 06-05-2005, 07:52 PM   #21
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Quote:
Originally posted by slackMeUp
All you have to do is edit one line of the makefile so it installs in /boot.

Second, you name your kernel in the makefile also.
Right. And every time I download a new kernel, I have to edit the makefile again for two reasons: first, to change the kernel version. second, in case they change the file to account for new source files. It's more steps to edit the makefile than it is to copy the new files over once or twice, and while I dunno about you, I almost never need to compile a kernel more than once.

No. I'll stick with copying the files manually, thank you. And before you say what you're obviously thinking, the answer's going to stay "no", no matter what you say. Rolling your eyes and starting by saying things like "my god" is a good way to convince me that you're an asshole, not that you're right.
 
Old 06-05-2005, 08:25 PM   #22
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Hey, killerbob...just for giggles...what does append = "6" do? BSOD? Change to runlevel 6 ?
 
Old 06-05-2005, 09:44 PM   #23
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Got it in 2.... it sets the runlevel to 6, making the system reboot immediately after booting up.

Put that in place while trying to troubleshoot a problem I was having intermittently with my gaming machine, where it'd reboot randomly after playing games for several hours. Turned out to be a defunct northbridge heatsink.
 
Old 06-06-2005, 02:08 AM   #24
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Quote:
Originally posted by killerbob
Right. And every time I download a new kernel, I have to edit the makefile again for two reasons: first, to change the kernel version. second, in case they change the file to account for new source files. It's more steps to edit the makefile than it is to copy the new files over once or twice, and while I dunno about you, I almost never need to compile a kernel more than once.
Right, and you're saying that patching the kernel source when a new kernel comes out, which does not require you to re-edit your makefile, is too hard?

A patch is a smaller download...
(and)
Upon recompile, most of the files that were unchanged in the update don't need to be compiled again, thus a shorter compile time...

Last edited by slackMeUp; 06-06-2005 at 02:09 AM.
 
Old 06-06-2005, 02:20 AM   #25
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
About make install, you can make your own script in /sbin/installkernel,
it will be executed with make install, bypassing any install procedure
 
Old 06-06-2005, 04:05 AM   #26
GlowGlow
Member
 
Registered: Jun 2005
Posts: 111

Rep: Reputation: 15
Quote:
Originally posted by killerbob
A larger cache or buffer does not necessarily translate into better performance, particularly when it means more swapping requirements.
This is not the nineties anymore, caches like the buffer cache are dynamically sized these days. If an application suddenly requires huge amounts of memory the buffer cache is automatically resized.

Quote:
Otherwise, better not to open that addressing space up in the first place, because it increases the memory requirements to keep track of and swap blocks in and out of active memory.
Most buffers just use a simple linked list with a pointer to data blocks, the memory requirement is negligable.
 
Old 06-06-2005, 07:48 AM   #27
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
Quote:
Originally posted by slackMeUp
Right, and you're saying that patching the kernel source when a new kernel comes out, which does not require you to re-edit your makefile, is too hard?

A patch is a smaller download...
(and)
Upon recompile, most of the files that were unchanged in the update don't need to be compiled again, thus a shorter compile time...

Patches are only useful if you switch kernels every time a new one comes out. If you check the changelogs/fixes and only update when a kernel comes out fixing something that's actually affecting you, then you may find you're jumping from 2.6.7 to 2.6.11.8, and in that case, you can't patch directly. With a reasonably fast connection, I find it's faster to just download the new kernel than it is to download 14 patches and apply them in sequence. If I had a script that would download new patches and apply them in sequence, that would be different, but such a script is really more trouble than it's worth.

I have reasons for doing things the way I do, and more importantly, I've already told you that you've blown any chance you had at convincing me to try another way, so why are you still trying?


I think it's time to get back on track. I'm assuming that he's fixed his problem, unless this bickering hasn't convinced him to abandon the effort.
 
Old 06-07-2005, 07:39 AM   #28
ipren
LQ Newbie
 
Registered: May 2004
Location: Stockholm / Sweden
Distribution: Slackware 10
Posts: 14

Original Poster
Rep: Reputation: 0
Chinaman

Yes everything works now, but I think I'll skip to mention what technique I used to upgrade my kernel... : )


Thanx everyone!
 
Old 06-07-2005, 08:00 AM   #29
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
That's maturity on your part. I'm glad it's working. I remember the
first time I compiled a kernel with 1GB of memory...and then saw
in gkrellm that I had ~800MB.

Glad you're Slackin', mate. And thanks for posting back it works. ;-)
 
  


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
Frozen-Bubble(from slack 8.2) Not Running in slack 9 bongski55 Slackware 8 01-02-2006 04:10 PM
Slack 10.1 will a Slack 10 Wine pkg work? acummings Slackware 1 03-25-2005 04:55 AM
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 11:53 AM
cd rom error on installation media (With both slack 9,1 and slack 10) busbarn Slackware - Installation 6 07-15-2004 03:03 PM
Anybody know how to use slack-required when creating slack pakages? linuxlah Slackware 1 02-10-2004 02:27 PM

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

All times are GMT -5. The time now is 12:59 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