SliTaz SliTaz Forum

You are not logged in.

#1 2013-05-17 22:43:19

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

SliTaz rolling - which version for the kernel?

According to this post http://forum.slitaz.org/topic/new-cooking-is-now-kernel-3240#post-22978, I've understood that kernel was now 3.2.40 and yet all the ISOs I've downloaded since 2/4/2013 seem to be 3.2:

[c]tux@slitaz:~$ uname -r

3.2-slitaz

tux@slitaz:~$ [/c]

What's the matter?

Offline

#2 2013-05-18 11:26:36

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: SliTaz rolling - which version for the kernel?

On last rolling (2013-May-16, 22:23:15), after:

[c]
# tazpkg -gi bash

# tazpkg -gi linux-source
[/c]

then

[c]
# get-linux-source

Connecting to ftp.kernel.org (149.20.4.69:21)

wget: ftp error: Failure writing network stream.

Connecting to linux-kernel.uio.no (128.39.3.170:80)

Connecting to linux-kernel.uio.no (128.39.3.170:80)

linux-3.2.40.tar.xz  100% |***********************************************| 64027k  0:00:00 ETA

tar: invalid magic

tar: short read

/usr/bin/get-linux-source: line 44: can't open slitaz/patches: no such file

cp: can't stat 'slitaz/config': No such file or directory

----

To modify the kernel configuration:

$ cd /usr/src/linux-3.2.40

$ make menuconfig

To build the kernel and the modules:

$ cd /usr/src/linux-3.2.40

$ make bzImage && make modules

To install the new kernel and the modules:

$ make modules_install

$ cp -a arch/x86/boot/bzImage /boot/vmlinuz-3.2.40-slitaz

To make a Slitaz package with the new kernel and the modules:

$ make tazpkg

See /usr/src/linux-3.2.40/README

----
[/c]

and then of course:

[c]
# cd linux-3.2.40

# make menuconfig

make: *** No rule to make target 'menuconfig'.  Stop.

root@slitaz:/usr/src/linux-3.2.40#
[/c]

EDIT:

"Solved": run twice get-linux-source and it works.

Offline

#3 2013-05-26 04:22:53

Guest
Guest

Re: SliTaz rolling - which version for the kernel?

Hello, you must edit the file /usr/src/kernel-patches/slitaz/url

and change the incomplete linux version suffix (3.2 to 3.2.40) and then remove /usr/src/linux-version and run again get-linux-source.

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]