SliTaz SliTaz Forum

You are not logged in.

#26 2013-12-30 16:59:50

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

Re: New Kernel version in the Wok

ok now the evrything seems to be fine, but the modules are not packed - for me this is very interesting, because until this point I arrived last spring - this is from undigest

------------------------------------------------------------------------------------------

Kernel modules 3.2-slitaz are ready.

Starting gztazmod.sh to build compressed kernel modules...

Searching all modules to compress them... [ OK

Building tmp.dep... [ OK

Destroying modules.dep... [ OK

Removing tmp.dep to modules.dep... [ OK

Kernel modules 3.2-slitaz are ready.

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

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

find: /home/slitaz/wok/linux/install/lib/modules/*-slitaz/kernel/drivers/net/ethernet/realtek/r8169.ko.xz: No such file or directory

find: /home/slitaz/wok/linux/install/lib/modules/*-slitaz/kernel/drivers/ide/ide-cs.ko.xz: No such file or directory

-----------------------------------------------------------------------------------------------------

and this is from wok

-----------------------------------------------------------------------------------------------------

Kernel modules 3.2-slitaz are ready.

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

Build dependencies to remove: 2

Removing: uclibc-cross-compiler-x86_64 xz

Pack: linux 3.2.53

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

Executing: genpkg_rules

cook dahdi-linux

cook libcap

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

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

All modules are packaged

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

Offline

#27 2013-12-30 17:45:51

arunj
Member
Registered: 2012-06-11
Posts: 29

Re: New Kernel version in the Wok

In reply to my previous mail (quoted at the end):

I just checked the vmlinuz file on Ubuntu (64-bit and EFI bootable) and got the following:

# file vmlinuz-3.12.0-031200-generic

vmlinuz-3.12.0-031200-generic: Linux kernel x86 boot executable bzImage, version 3.12.0-031200-generic (apw@gomeisa) #201311031935 SMP Mon Nov 4, RO-rootFS, swap_dev 0x5, Normal VGA

which shows that the Slitaz 64-bit vmlinuz-3.2.53-slitaz is in correct format.

But as I checked one of the attached config files in this thread (from kultex) I found the following:

# CONFIG_EFI is not set

Can someone please enable it so that I can continue trying to boot Slitaz on a EFI system?

Regards,

Arun

----

Hi Pascal,

I am trying it out using elilo but getting an error that says - "Could not read boot sector from vmlinuz...".

1. Can you please check if the following config option is enabled for the 64-bit kernel?

CONFIG_EFI

Ref: http://webapp5.rrz.uni-hamburg.de/SuSe-Dokumentation/packages/elilo/elilo.txt

Section: XIII/ Booting on EFI/x86_64 platforms

2. The section also says:

Elilo ONLY takes compressed kernel image which are

    typically obtained via a 'make bzImage'. Plain elf/x86_64 kernel can't

    be booted (plain vmlinux will not work). Similarly, existing initial

    ramdisks can be used without modifications.

but when I am checking the vmlinuz file, I get:

$ file vmlinuz-3.2.53-slitaz

vmlinuz-3.2.53-slitaz: Linux kernel x86 boot executable bzImage, RO-rootFS, swap_dev 0x2, Normal VGA

I think the vmlinux should be x84_64 instead of x86 as shown above.

Regards,

Arun

http://regexp.co.nr

Offline

#28 2013-12-31 08:50:47

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

Re: New Kernel version in the Wok

Hi Arun - its done

http://hg.slitaz.org/wok-undigest/rev/0468b8dbcb0f

and you always can check all files online in hg and cook

like the change of Richard was done in undigest   http://cook.slitaz.org/undigest/

ok now at 9:15 it started to cook linux

and you see the result here:               http://cook.slitaz.org/undigest/cooker.cgi?pkg=linux

when it is ready and not broken you the package here:   http://mirror.slitaz.org/packages/undigest/

and you can check the config here  http://hg.slitaz.org/wok-undigest/file/0468b8dbcb0f/linux/stuff/linux-slitaz.config64

just in case you did not know

Offline

#29 2013-12-31 14:37:56

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

Re: New Kernel version in the Wok

Hi kultex,

Cannot open 'initrd.cpio'

Where can get initrd.cpio?

1.

  HOSTCC  usr/gen_init_cpio

  UPD     include/generated/compile.h

  LD      arch/x86/crypto/built-in.o

  CC      arch/x86/kernel/process_64.o

  CC      kernel/sched.o

  /usr/src/linux-3.2.53/scripts/gen_initramfs_list.sh: Cannot open 'initrd.cpio'

make[1]: *** [usr/initramfs_data.cpio.lzma] Error 1

make: *** [usr] Error 2

2.

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

...

  HOSTCC  usr/gen_init_cpio

  CC      kernel/sched.o

  AS      arch/x86/crypto/aes-x86_64-asm_64.o

  CC      arch/x86/crypto/aes_glue.o

  GEN     usr/initramfs_data.cpio.lzma

3.

http://hg.slitaz.org/wok-undigest/file/0468b8dbcb0f/linux/stuff/linux-slitaz.config64

...

144 CONFIG_BLK_DEV_INITRD=y

145 CONFIG_INITRAMFS_SOURCE="initrd.cpio"

146 CONFIG_INITRAMFS_ROOT_UID=0

147 CONFIG_INITRAMFS_ROOT_GID=0

Offline

#30 2014-01-03 07:26:18

arunj
Member
Registered: 2012-06-11
Posts: 29

Re: New Kernel version in the Wok

Hi Tom,

I waited for a while for the cook to finish but

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

shows that it is still broken...

Offline

#31 2014-01-03 15:11:50

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

Re: New Kernel version in the Wok

initrd - initrd.cpio

http://hg.slitaz.org/wok-undigest/file/0468b8dbcb0f/linux/receipt

50 cp /usr/share/boot/initrd initrd.cpio

http://hg.slitaz.org/wok/file/2ecc1cd5a9a4/busybox-boot/receipt

116 ( cd $fs/usr/share/boot ; find bin dev init | cpio -o -H newc > initrd )

# ls -l

total 12

drwxr-xr-x    2 root     root          4096 Jan  2 23:03 bin

drwxr-xr-x    2 root     root          4096 Jan  2 23:03 dev

-rwxr-xr-x    1 root     root          1992 Dec  8 00:19 init

Offline

#32 2014-01-05 18:54:28

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

Re: New Kernel version in the Wok

the new kernel is ready for download   http://mirror.slitaz.org/packages/undigest/

just installed this 32 bit version without any problem - old kernel - the ide disk would be hda

[attachment=27496,1291]

Offline

#33 2014-01-06 12:39:17

arunj
Member
Registered: 2012-06-11
Posts: 29

Re: New Kernel version in the Wok

Thank you! I will try the 64-bit one again for UEFI boot.

Offline

#34 2014-02-17 17:00:59

arunj
Member
Registered: 2012-06-11
Posts: 29

Re: New Kernel version in the Wok

I gave it a try once again with slitaz-rolling-core64.iso which has the EFI support in the kernel.

It detects vmlinuz with both reFind and elilo but as there is no initrd file I tried to give rootfs.gz as the "root" parameter. But it fails saying no valid initrd with loader found.

Any clues?

Offline

#35 2014-02-17 17:20:54

arunj
Member
Registered: 2012-06-11
Posts: 29

Re: New Kernel version in the Wok

And I have tried initrd=..../rootfs.gz as well and faced the same problem.

Offline

#36 2014-04-12 02:57:52

arunj
Member
Registered: 2012-06-11
Posts: 29

Re: New Kernel version in the Wok

As I can see, marcb has posted a solution in the following thread with grub-efi installed to hard disk:

http://forum.slitaz.org/topic/booting-in-uefi-and-installing

Offline

#37 2014-04-12 18:48:46

arunj
Member
Registered: 2012-06-11
Posts: 29

Re: New Kernel version in the Wok

Here's a way to re-use the EFI System Partition volume created by Ubuntu as root for SliTaz on UEFI:

http://wp.me/p2d5ln-3B9

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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