SliTaz SliTaz Forum

You are not logged in.

#1 2013-12-18 22:21:46

erjo
Administrator
Registered: 2011-03-28
Posts: 86

New Kernel version in the Wok

Hi,

Today the kernel was updated to 3.2.53 in the wok.

This will surely be the version available in the future cooking.

The suggestions made by kultex, shann, Tom (sorry for those I forgot) have been added to the kernel configuration.

if we forgot something do not hesitate to report it here.

Offline

#2 2013-12-19 04:59:07

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: New Kernel version in the Wok

Hi,

kernel/ptrace.c __ptrace_may_access privilege escalation

http://www.scip.ch/en/?vuldb.11366

VulDB: Linux Kernel 3.4.71/3.10.21/3.11.10/3.12.2 kernel/ptrace.c __ptrace_may_access privilege escalation

General

scipID: 11366

Affected: Linux Kernel 2.6.32.61/2.6.34.14/3.2.53/3.4.70/3.10.20/3.11.9/3.12.1

Published: 11/13/2013 (Vasily Kulikov)

Risk: problematic

Entry: 85.9% complete

Created: 12/05/2013

Offline

#3 2013-12-19 07:29:04

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: New Kernel version in the Wok

Not a big risk since the exploit can only be used locally (as in being logged into the server itself)

Offline

#4 2013-12-19 11:56:32

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: New Kernel version in the Wok

Patch: git.kernel.org

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=4004afd5f51ad0a86be405522b1ecf28ba66f4e5

Offline

#5 2013-12-20 07:11:50

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: New Kernel version in the Wok

Applied: http://hg.slitaz.org/wok/rev/a5cec45811e4

Tahnk you.

Offline

#6 2013-12-20 07:12:24

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

pascal already included the patch into rolling - thx a lot

as Kernel 3.2.xx is at the moment the kernel with longest support - until April 2017 see http://en.wikipedia.org/wiki/Linux_kernel - I think it should be also part of backports to update the kernel version as soon as it arrives. In my experience - if we stay on 3.2.xx - it will never screw up the system.

and good news for the fans of 64-bit  - pascal also created a core64 iso http://hg.slitaz.org/flavors/rev/7e312dd1f5f9

it is available now - http://mirror.slitaz.org/iso/rolling/

Offline

#7 2013-12-23 09:20:40

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: New Kernel version in the Wok

linux.log

[..]

Apply linux-CVE-2013-2929.u

patching file arch/ia64/include/asm/processor.h

patching file include/linux/binfmts.h

patching file include/linux/sched.h

patching file kernel/ptrace.c

Thanks.

Offline

#8 2013-12-23 09:22:02

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: New Kernel version in the Wok

kernel panic?

slitaz-rolling-core64.iso 20131220

slitaz-rolling-core64.iso 20131222

Trying to unpack rootfs image as initramfs...

....

Kernel panic - not syncing: Attempted to kill init!

Pid:1, comm: swapper/0 Tainted: G  D  3.2-slitaz #2

Call Trace:

...

or

Trying to unpack rootfs image as initramfs...

BUG: unable to handle kernel paging request at 0000000039b84000

...

[attachment=27335,1276] [attachment=27335,1277]

Offline

#9 2013-12-25 08:52:08

linea
Administrator
Registered: 2011-03-31
Posts: 70

Re: New Kernel version in the Wok

@ erjo: Can someone take a look at the new kernel config?

My ATA disk (/dev/sda) not showing up in spacefm (thanks for updating)

Merry Christmas to you and everyone!

Offline

#10 2013-12-25 10:23:26

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

thats no issue with kernel config - thats an issue with /etc/udevil/udevil.conf

line 136

allowed_internal_devices = /dev/*

Offline

#11 2013-12-25 15:32:16

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: New Kernel version in the Wok

I have the same issue.

Only root can see my disk.

I would like that works as PcmanFM for this part.

@kultex: I had this line but nothing change. Even with the full file from your testing ISO,

another idea?

Offline

#12 2013-12-25 16:33:43

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

did you open the drives window - red arrow in the screenshot - then you click right in the window -> Settings -> show internal drives

[attachment=27366,1279]

Offline

#13 2013-12-25 17:54:20

linea
Administrator
Registered: 2011-03-31
Posts: 70

Re: New Kernel version in the Wok

Works for me kultex

CDROM/DVD drive not showing up though?

I notice it was linked to /dev/sr0 on your iso

Many thanks

Offline

#14 2013-12-27 10:30:43

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

so it would be nice, if somebody could put my kernel-config at least to undigest

Offline

#15 2013-12-27 14:10:49

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: New Kernel version in the Wok

Kultex, what I would like most is to merge your configuration with one that is currently in the wok.

Offline

#16 2013-12-27 14:52:53

nger
Member
Registered: 2013-07-05
Posts: 32

Re: New Kernel version in the Wok

Want to try this out. What was the command for bootable flash in slitaz??

dd if=/home/user/dowloads/slitaz-test-3.2.50-04092013.iso of=/dev/sda

make copy but I'm not able to boot after restart

bios or whatever it is says something like "no os found"

Tnx in advice

Offline

#17 2013-12-27 16:33:59

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

@eric

its absolutly based on the current slitaz.config - I just changed the old ide

line 1243  # CONFIG_IDE is not set

line 1439 # PATA SFF controllers with BMDMA            until

line 1483                                                                      is the new ide config

then

line 1257 # SCSI device support    I took from Fedora to get better SCSI support, but this effects only the linux-scsi package

then

line   361 CONFIG_X86_MSR=m                          -   support of undervolting of AMD-CPUS

line 3830 CONFIG_USB_SERIAL_FTDI_SIO=m     -   I need it for my SliTaz-Ola Project

then collections from the forum, that was discussed

line 126 CONFIG_RT_GROUP_SCHED=y

line 337 CONFIG_SCHED_SMT=y

line 357 CONFIG_MICROCODE=m

line 358 CONFIG_MICROCODE_INTEL=y

line 359 CONFIG_MICROCODE_AMD=y

line 360 CONFIG_MICROCODE_OLD_INTERFACE=y

thats all

and take this one - I just discovered one error - I forgot to remove one #

Offline

#18 2013-12-27 16:48:01

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

and I forgot to say - there are very little more changes, but these had to be set, because the update to the new kernel

Offline

#19 2013-12-27 16:58:44

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

@nger - never used dd for this

# mount -o loop /home/user/dowloads/slitaz-test-3.2.50-04092013.iso /mnt/disk

and then copy the files and adopt grub(4dos)

Offline

#20 2013-12-28 09:18:47

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: New Kernel version in the Wok

@kultex: Done: http://hg.slitaz.org/wok-undigest/rev/87ea6f7a9313

Offline

#21 2013-12-28 20:20:56

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

thanks Eric

I just have seen, that it is broken, but I have no idea why - iff you see in the log

http://cook.slitaz.org/undigest/cooker.cgi?pkg=linux

you will find from line 59037

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

  CC      drivers/scsi/mvsas/mv_64xx.o

-----------------------------------here it just breaks???? -------------------------------

Build dependencies to remove: 7

Removing: busybox-boot curl git libcurl libidn uclibc-cross-compiler-x86_64 xz

Pack: linux 3.2.53

================================================================================

Executing: genpkg_rules

cp: can't stat '/home/slitaz/wok/linux/install/lib/modules/3.2-slitaz/mo*': No such file or directory

Error : drivers/acpi/video.ko.xz does not exist.

sed: /home/slitaz/wok/linux/taz/linux-3.2.53/fs/lib/modules/3.2-slitaz/modules.dep: No such file or directory

sed: /home/slitaz/wok/linux/taz/linux-3.2.53/fs/lib/modules/3.2-slitaz/modules.dep: No such file or directory

Checking for modules selected in .config but not in linux-* pkgs

======================================================================

cat: can't open '/home/slitaz/wok/linux-acpi/taz/linux-acpi-*/files.list': No such file or directory

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I have no idea why it just breaks with no error error regarding to the config - inthe actual 3.2.53 config

http://hg.slitaz.org/wok/file/eb689de65d7e/linux/stuff/linux-slitaz.config

line  459 CONFIG_ACPI_VIDEO=m        - the same as in the config I gave you

do you have an idea why?

Offline

#22 2013-12-28 22:51:43

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: New Kernel version in the Wok

/home/slitaz/wok/linux/install

No /lib/modules,/lib/firmware,modules.*

/boot is empty

Offline

#23 2013-12-29 07:29:34

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: New Kernel version in the Wok

http://cook.slitaz.org/undigest/cooker.cgi?pkg=linux

USB Empeg empeg-car Mark I/II Driver (USB_SERIAL_EMPEG) [N/m/?] n

  USB FTDI Single Port Serial Driver (USB_SERIAL_FTDI_SIO) [N/m/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[2]: *** [silentoldconfig] Error 1

make[1]: *** [silentoldconfig] Error 2

make: *** No rule to make target [c]include/config/auto.conf', needed by[/c]include/config/kernel.release'.  Stop.

make: *** Waiting for unfinished jobs....

make[1]: Nothing to be done for `relocs'.

mv: can't rename 'arch/x86/boot/bzImage': No such file or directory

Offline

#24 2013-12-29 09:27:22

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: New Kernel version in the Wok

thx alanyih - it was recooked at 5:00 in the morning and now the error is clear

it is still my error in line 3830

# CONFIG_USB_SERIAL_FTDI_SIO=m

the # has to be removed

Offline

#25 2013-12-29 12:13:34

erjo
Administrator
Registered: 2011-03-28
Posts: 86

Re: New Kernel version in the Wok

Done: http://hg.slitaz.org/wok-undigest/rev/fae345084113

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]