From: r00f on
Hallo! I use slackware 12.2 the kernel i use is 2.6.27.7-smp. and i
want to compile 2.6.32.5 kernel. It is my first time that i will
"play" with this thing and i m little afraid of it.. So..can you make
it little friendly to me? Have you suggest me anything or do you know
a good tutorial to follow...? Is there something that i have to be
careful ?

Thanks for any of your answers..!
From: Grant on
On Sun, 24 Jan 2010 14:59:19 -0800 (PST), r00f <r00fsec(a)gmail.com> wrote:

>Hallo! I use slackware 12.2 the kernel i use is 2.6.27.7-smp. and i
>want to compile 2.6.32.5 kernel. It is my first time that i will
>"play" with this thing and i m little afraid of it.. So..can you make
>it little friendly to me? Have you suggest me anything or do you know
>a good tutorial to follow...? Is there something that i have to be
>careful ?

Main thing is to be sure you can boot the distro kernel.

I suggest you ease into running a cuystom kernel by first updating to
2.6.27.44, then creating a custom kernel config, finally update to
later kernel version.

Skipping from 2.6.27 to 2.6.32 is not as simple as copying old config
and running make oldconfig. You need to perform hardware discovery
with tools such as lspci, lsusb in order to select the correct kernel
drivers for your hardware.

Did I mention making sure you don't break ability to boot distro kernel?

You may view some .configs and dmesg boot reports from several machines
here on http://bugs.id.au/kernel/boxen/ -- current /etc/lilo.conf files
are there too, showing how I name kernels and labels so that the distro
kernel remains a backup boot option.

For example, deltree:/etc/lilo.conf:

# /etc/lilo.conf for slackware-11.0 on deltree 2007-01-30
#
boot = /dev/hda
root = /dev/hda2
read-only
compact
lba32
prompt
timeout = 30

default = 2.6.27.44a

image = /boot/bzImage-2.6.27.44a
label = 2.6.27.44a

image = /boot/vmlinuz-ide-2.4.33.3
label = slack-2.4.33.3

other = /dev/hda1
label = service

other = /dev/hda3
label = other

# end

Grant.
--
http://bugs.id.au
From: watnne on
Go stepwise with your kernel upgrade. First ie 2.6.27.7-> 2.6.29->
2.6.31->newest.

On Mon, 25 Jan 2010 12:24:41 +1100, Grant
<g_r_a_n_t_(a)bugsplatter.id.au> wrote:

>On Sun, 24 Jan 2010 14:59:19 -0800 (PST), r00f <r00fsec(a)gmail.com> wrote:
>
>>Hallo! I use slackware 12.2 the kernel i use is 2.6.27.7-smp. and i
>>want to compile 2.6.32.5 kernel. It is my first time that i will
>>"play" with this thing and i m little afraid of it.. So..can you make
>>it little friendly to me? Have you suggest me anything or do you know
>>a good tutorial to follow...? Is there something that i have to be
>>careful ?
>
>Main thing is to be sure you can boot the distro kernel.
>
>I suggest you ease into running a cuystom kernel by first updating to
>2.6.27.44, then creating a custom kernel config, finally update to
>later kernel version.
>
>Skipping from 2.6.27 to 2.6.32 is not as simple as copying old config
>and running make oldconfig. You need to perform hardware discovery
>with tools such as lspci, lsusb in order to select the correct kernel
>drivers for your hardware.
>
>Did I mention making sure you don't break ability to boot distro kernel?
>
>You may view some .configs and dmesg boot reports from several machines
>here on http://bugs.id.au/kernel/boxen/ -- current /etc/lilo.conf files
>are there too, showing how I name kernels and labels so that the distro
>kernel remains a backup boot option.
>
>For example, deltree:/etc/lilo.conf:
>
># /etc/lilo.conf for slackware-11.0 on deltree 2007-01-30
>#
>boot = /dev/hda
>root = /dev/hda2
>read-only
>compact
>lba32
>prompt
>timeout = 30
>
>default = 2.6.27.44a
>
>image = /boot/bzImage-2.6.27.44a
> label = 2.6.27.44a
>
>image = /boot/vmlinuz-ide-2.4.33.3
> label = slack-2.4.33.3
>
>other = /dev/hda1
> label = service
>
>other = /dev/hda3
> label = other
>
># end
>
>Grant.
>--
>http://bugs.id.au


HELP! I CAN'T STOP TYPING IN CAPITAL LETTERS UNDER WINDOWS!
From: Ole Kjos on
r00f wrote:
> Hallo! I use slackware 12.2 the kernel i use is 2.6.27.7-smp. and i
> want to compile 2.6.32.5 kernel. It is my first time that i will
> "play" with this thing and i m little afraid of it.. So..can you make
> it little friendly to me? Have you suggest me anything or do you know
> a good tutorial to follow...? Is there something that i have to be
> careful ?
>
> Thanks for any of your answers..!

Well, if you know what hardware you have, and which features you need
for your system, it is actually quite easy. I do not understand that
people think it is so difficult. In the old days before autodetection
of hardware was standard in any OS it was not much more difficult to
compile a kernel than to install windows with all neede drivers. My
first was on Slack 3.6 or something loooong time ago.

The most important thing to remember when compiling a new kernel, as
others also have said in this thread, is to add it as a separate entry
in Lilo / grubb. Then you can boot back to the orignal system and make
another attempt if someting goes wrong. Then you will only loose some
time, not your entire system.

Before you start, make a list of all your hardware, 'lspci' and 'lsusb'
is your friends here. Try to find the makers of the chips on your
hardware, not just the brandname.

Think of what your system neees, are you running multiprocessor, server,
laptop etc, raid etc? There is noe use in having RAID 5 support on your
laptop, or battery support on your desktop. Ideally you only add
support for what you need, in practise (from my experience) I add a bit
more because of "nice to have" thinking.

Do some consideration on what you will compile as modules, and what you
integrate into the kernel. Everything needed for booting you system
should be in the kernel, and personally I like to add all permanently
installed hardware to the kernel.

Then you should just start, and try. If you do good preparations you
should probably end up with a kernel that at least boots your system,
but when you do it for the first time you should expect to do some
attempts before all hardware is up and running. Be prepeared for a lot
of google searching, testing and not least the pure joy of finally
runing on a kernel you have compiled.

Good luck!

--
Ole
From: Douglas Mayne on
On Sun, 24 Jan 2010 14:59:19 -0800, r00f wrote:

> Hallo! I use slackware 12.2 the kernel i use is 2.6.27.7-smp. and i want
> to compile 2.6.32.5 kernel. It is my first time that i will "play" with
> this thing and i m little afraid of it.. So..can you make it little
> friendly to me? Have you suggest me anything or do you know a good
> tutorial to follow...? Is there something that i have to be careful ?
>
> Thanks for any of your answers..!
>
Kernel 2.6.32.5 is now part of the development tree at slackware -current.

You can compile the source using this .config:
<mirror>::/slackware/slackware-current/source/k/config-generic-2.6.32.5

--
Douglas Mayne
 |  Next  |  Last
Pages: 1 2 3
Prev: can't log in through lftp
Next: Apache Wont Dance