Page 24 of 135

Porteus Kernel Builder

Posted: 04 Jul 2018, 03:46
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc3
The latest stable 4.17 version of the Linux kernel is: 4.17.4 <---NEW
The latest stable 4.16 version of the Linux kernel is: 4.16.18 (EOL)
The latest longterm 4.14 version of the Linux kernel is: 4.14.53 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.111 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.139 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.114 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20180703


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Thanks.

Porteus Kernel Builder

Posted: 09 Jul 2018, 04:18
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc4 <---NEW
The latest stable 4.17 version of the Linux kernel is: 4.17.5 <---NEW
The latest stable 4.16 version of the Linux kernel is: 4.16.18 (EOL)
The latest longterm 4.14 version of the Linux kernel is: 4.14.54 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.111
The latest longterm 4.4 version of the Linux kernel is: 4.4.139
The latest longterm 3.18 version of the Linux kernel is: 3.18.114 (EOL)
The latest linux-next version of the Linux kernel is: next-20180709


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Thanks.

Porteus Kernel Builder

Posted: 12 Jul 2018, 05:29
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc4
The latest stable 4.17 version of the Linux kernel is: 4.17.6 <---NEW
The latest stable 4.16 version of the Linux kernel is: 4.16.18 (EOL)
The latest longterm 4.14 version of the Linux kernel is: 4.14.55 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.112 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.140 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.115 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20180711


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Thanks.

Porteus Kernel Builder

Posted: 16 Jul 2018, 04:26
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc5 <---NEW
The latest stable 4.17 version of the Linux kernel is: 4.17.6
The latest stable 4.16 version of the Linux kernel is: 4.16.18 (EOL)
The latest longterm 4.14 version of the Linux kernel is: 4.14.55
The latest longterm 4.9 version of the Linux kernel is: 4.9.112
The latest longterm 4.4 version of the Linux kernel is: 4.4.140
The latest longterm 3.18 version of the Linux kernel is: 3.18.115 (EOL)
The latest linux-next version of the Linux kernel is: next-20180713


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


3. Benchmark result (4.18-rc5-64bit)

Code: Select all

$ glmark2
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Intel(R) HD Graphics 505 (Broxton) 
    GL_VERSION:    3.0 Mesa 18.1.4
=======================================================
[build] use-vbo=false: FPS: 747 FrameTime: 1.339 ms
[build] use-vbo=true: FPS: 757 FrameTime: 1.321 ms
[texture] texture-filter=nearest: FPS: 705 FrameTime: 1.418 ms
[texture] texture-filter=linear: FPS: 703 FrameTime: 1.422 ms
[texture] texture-filter=mipmap: FPS: 720 FrameTime: 1.389 ms
[shading] shading=gouraud: FPS: 588 FrameTime: 1.701 ms
[shading] shading=blinn-phong-inf: FPS: 596 FrameTime: 1.678 ms
[shading] shading=phong: FPS: 563 FrameTime: 1.776 ms
[shading] shading=cel: FPS: 562 FrameTime: 1.779 ms
[bump] bump-render=high-poly: FPS: 500 FrameTime: 2.000 ms
[bump] bump-render=normals: FPS: 768 FrameTime: 1.302 ms
[bump] bump-render=height: FPS: 816 FrameTime: 1.225 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 558 FrameTime: 1.792 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 327 FrameTime: 3.058 ms
[pulsar] light=false:quads=5:texture=false: FPS: 633 FrameTime: 1.580 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 312 FrameTime: 3.205 ms
[desktop] effect=shadow:windows=4: FPS: 459 FrameTime: 2.179 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 297 FrameTime: 3.367 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 246 FrameTime: 4.065 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 353 FrameTime: 2.833 ms
[ideas] speed=duration: FPS: 511 FrameTime: 1.957 ms
[jellyfish] <default>: FPS: 399 FrameTime: 2.506 ms
[terrain] <default>: FPS: 77 FrameTime: 12.987 ms
[shadow] <default>: FPS: 504 FrameTime: 1.984 ms
[refract] <default>: FPS: 93 FrameTime: 10.753 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 562 FrameTime: 1.779 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 567 FrameTime: 1.764 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 571 FrameTime: 1.751 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 572 FrameTime: 1.748 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 585 FrameTime: 1.709 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 584 FrameTime: 1.712 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 569 FrameTime: 1.757 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 581 FrameTime: 1.721 ms
=======================================================
                                  glmark2 Score: 526 
=======================================================
$


Thanks.

Porteus Kernel Builder

Posted: 18 Jul 2018, 12:56
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc5
The latest stable 4.17 version of the Linux kernel is: 4.17.8 <---NEW
The latest stable 4.16 version of the Linux kernel is: 4.16.18 (EOL)
The latest longterm 4.14 version of the Linux kernel is: 4.14.56 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.113 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.141 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.115 (EOL)
The latest linux-next version of the Linux kernel is: next-20180718


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note1: The release interval between 4.17.7 and 4.17.8 is very short. (1 day)

Note2: AUFS_VERSIO "4.17-20180716"
Aufs patch to drivers/block/loop.c of 4.17.7/4.17.8 is not adapted correctly.
Own patch source of drivers/block/loop.c is included in v4.17.8.tar.xz.

Code: Select all

# patch -p1 < ../../v4.17.8/aufs.patch
patching file Documentation/ABI/testing/debugfs-aufs
patching file Documentation/ABI/testing/sysfs-aufs
patching file Documentation/filesystems/aufs/README
patching file Documentation/filesystems/aufs/design/01intro.txt
patching file Documentation/filesystems/aufs/design/02struct.txt
patching file Documentation/filesystems/aufs/design/03atomic_open.txt
patching file Documentation/filesystems/aufs/design/03lookup.txt
patching file Documentation/filesystems/aufs/design/04branch.txt
patching file Documentation/filesystems/aufs/design/05wbr_policy.txt
patching file Documentation/filesystems/aufs/design/06dirren.dot
patching file Documentation/filesystems/aufs/design/06dirren.txt
patching file Documentation/filesystems/aufs/design/06fhsm.txt
patching file Documentation/filesystems/aufs/design/06mmap.txt
patching file Documentation/filesystems/aufs/design/06xattr.txt
patching file Documentation/filesystems/aufs/design/07export.txt
patching file Documentation/filesystems/aufs/design/08shwh.txt
patching file Documentation/filesystems/aufs/design/10dynop.txt
patching file fs/aufs/Kconfig
patching file fs/aufs/Makefile
patching file fs/aufs/aufs.h
patching file fs/aufs/branch.c
patching file fs/aufs/branch.h
patching file fs/aufs/conf.mk
patching file fs/aufs/cpup.c
patching file fs/aufs/cpup.h
patching file fs/aufs/dbgaufs.c
patching file fs/aufs/dbgaufs.h
patching file fs/aufs/dcsub.c
patching file fs/aufs/dcsub.h
patching file fs/aufs/debug.c
patching file fs/aufs/debug.h
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/dir.c
patching file fs/aufs/dir.h
patching file fs/aufs/dirren.c
patching file fs/aufs/dirren.h
patching file fs/aufs/dynop.c
patching file fs/aufs/dynop.h
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/fhsm.c
patching file fs/aufs/file.c
patching file fs/aufs/file.h
patching file fs/aufs/finfo.c
patching file fs/aufs/fstype.h
patching file fs/aufs/hbl.h
patching file fs/aufs/hfsnotify.c
patching file fs/aufs/hfsplus.c
patching file fs/aufs/hnotify.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_add.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/iinfo.c
patching file fs/aufs/inode.c
patching file fs/aufs/inode.h
patching file fs/aufs/ioctl.c
patching file fs/aufs/loop.c
patching file fs/aufs/loop.h
patching file fs/aufs/magic.mk
patching file fs/aufs/module.c
patching file fs/aufs/module.h
patching file fs/aufs/mvdown.c
patching file fs/aufs/opts.c
patching file fs/aufs/opts.h
patching file fs/aufs/plink.c
patching file fs/aufs/poll.c
patching file fs/aufs/posix_acl.c
patching file fs/aufs/procfs.c
patching file fs/aufs/rdu.c
patching file fs/aufs/rwsem.h
patching file fs/aufs/sbinfo.c
patching file fs/aufs/super.c
patching file fs/aufs/super.h
patching file fs/aufs/sysaufs.c
patching file fs/aufs/sysaufs.h
patching file fs/aufs/sysfs.c
patching file fs/aufs/sysrq.c
patching file fs/aufs/vdir.c
patching file fs/aufs/vfsub.c
patching file fs/aufs/vfsub.h
patching file fs/aufs/wbr_policy.c
patching file fs/aufs/whout.c
patching file fs/aufs/whout.h
patching file fs/aufs/wkq.c
patching file fs/aufs/wkq.h
patching file fs/aufs/xattr.c
patching file fs/aufs/xino.c
patching file include/uapi/linux/aufs_type.h
patching file MAINTAINERS
patching file drivers/block/loop.c
Hunk #1 succeeded at 737 with fuzz 1 (offset 24 lines).
patching file fs/dcache.c
patching file fs/fcntl.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file include/linux/file.h
patching file include/linux/fs.h
patching file include/linux/lockdep.h
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
patching file fs/Kconfig
patching file fs/Makefile
patching file drivers/block/loop.c
Hunk #2 succeeded at 695 (offset 30 lines).
Hunk #3 FAILED at 682.
Hunk #4 succeeded at 730 (offset 31 lines).
Hunk #5 succeeded at 738 (offset 31 lines).
Hunk #6 FAILED at 910.
Hunk #7 succeeded at 949 (offset 25 lines).
Hunk #8 succeeded at 987 (offset 9 lines).
Hunk #9 succeeded at 1021 (offset 9 lines).
Hunk #10 succeeded at 1069 (offset 9 lines).
Hunk #11 succeeded at 1101 (offset 9 lines).
Hunk #12 succeeded at 1150 (offset 9 lines).
2 out of 12 hunks FAILED -- saving rejects to file drivers/block/loop.c.rej
patching file drivers/block/loop.h
patching file fs/aufs/f_op.c
Hunk #1 succeeded at 368 (offset 10 lines).
patching file fs/aufs/loop.c
Hunk #1 succeeded at 146 (offset 13 lines).
patching file fs/aufs/loop.h
Hunk #1 succeeded at 39 (offset 13 lines).
Hunk #2 succeeded at 51 (offset 13 lines).
patching file fs/aufs/super.c
Hunk #1 succeeded at 853 (offset 13 lines).
patching file include/linux/fs.h
patching file fs/proc/base.c
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
Hunk #2 succeeded at 1730 (offset 1 line).
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
patching file include/linux/mm_types.h
patching file kernel/fork.c
patching file mm/Makefile
patching file mm/filemap.c
patching file mm/mmap.c
Hunk #8 succeeded at 3232 (offset -5 lines).
patching file mm/nommu.c
patching file mm/prfile.c
patching file fs/dcache.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
patching file include/linux/lockdep.h
patching file kernel/locking/lockdep_internals.h
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
patching file fs/inode.c

Thanks.

Porteus Kernel Builder

Posted: 21 Jul 2018, 14:11
by bour59
hello, trying to build kernel 4.14.56 for 32bits using mkKernel-18.06.20-noarch-1.xzm
05-devel activated. I get a compile error ;
How to keep a log of what happens during the compile ?
thanks

Porteus Kernel Builder

Posted: 21 Jul 2018, 16:13
by neko
@bour59
Aufs patch to drivers/block/loop.c of 4.14.56 is not adapted correctly as same as "AUFS_VERSIO 4.17-20180716".
You must correct it by youself or wait the release of the updated Aufs patch.

I have corrected drivers/block/loop.c of 4.17.8.
But it is not assured.
Please refer to Porteus Kernel Builder (Post by neko #65532)

[Result of patching "AUFS_VERSION 4.14-20180716" to 4.14.56]

Code: Select all

# patch -p1 < ../../aufs.patch 
patching file Documentation/ABI/testing/debugfs-aufs
patching file Documentation/ABI/testing/sysfs-aufs
patching file Documentation/filesystems/aufs/README
patching file Documentation/filesystems/aufs/design/01intro.txt
patching file Documentation/filesystems/aufs/design/02struct.txt
patching file Documentation/filesystems/aufs/design/03atomic_open.txt
patching file Documentation/filesystems/aufs/design/03lookup.txt
patching file Documentation/filesystems/aufs/design/04branch.txt
patching file Documentation/filesystems/aufs/design/05wbr_policy.txt
patching file Documentation/filesystems/aufs/design/06dirren.dot
patching file Documentation/filesystems/aufs/design/06dirren.txt
patching file Documentation/filesystems/aufs/design/06fhsm.txt
patching file Documentation/filesystems/aufs/design/06mmap.txt
patching file Documentation/filesystems/aufs/design/06xattr.txt
patching file Documentation/filesystems/aufs/design/07export.txt
patching file Documentation/filesystems/aufs/design/08shwh.txt
patching file Documentation/filesystems/aufs/design/10dynop.txt
patching file fs/aufs/Kconfig
patching file fs/aufs/Makefile
patching file fs/aufs/aufs.h
patching file fs/aufs/branch.c
patching file fs/aufs/branch.h
patching file fs/aufs/conf.mk
patching file fs/aufs/cpup.c
patching file fs/aufs/cpup.h
patching file fs/aufs/dbgaufs.c
patching file fs/aufs/dbgaufs.h
patching file fs/aufs/dcsub.c
patching file fs/aufs/dcsub.h
patching file fs/aufs/debug.c
patching file fs/aufs/debug.h
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/dir.c
patching file fs/aufs/dir.h
patching file fs/aufs/dirren.c
patching file fs/aufs/dirren.h
patching file fs/aufs/dynop.c
patching file fs/aufs/dynop.h
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/fhsm.c
patching file fs/aufs/file.c
patching file fs/aufs/file.h
patching file fs/aufs/finfo.c
patching file fs/aufs/fstype.h
patching file fs/aufs/hbl.h
patching file fs/aufs/hfsnotify.c
patching file fs/aufs/hfsplus.c
patching file fs/aufs/hnotify.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_add.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/iinfo.c
patching file fs/aufs/inode.c
patching file fs/aufs/inode.h
patching file fs/aufs/ioctl.c
patching file fs/aufs/loop.c
patching file fs/aufs/loop.h
patching file fs/aufs/magic.mk
patching file fs/aufs/module.c
patching file fs/aufs/module.h
patching file fs/aufs/mvdown.c
patching file fs/aufs/opts.c
patching file fs/aufs/opts.h
patching file fs/aufs/plink.c
patching file fs/aufs/poll.c
patching file fs/aufs/posix_acl.c
patching file fs/aufs/procfs.c
patching file fs/aufs/rdu.c
patching file fs/aufs/rwsem.h
patching file fs/aufs/sbinfo.c
patching file fs/aufs/super.c
patching file fs/aufs/super.h
patching file fs/aufs/sysaufs.c
patching file fs/aufs/sysaufs.h
patching file fs/aufs/sysfs.c
patching file fs/aufs/sysrq.c
patching file fs/aufs/vdir.c
patching file fs/aufs/vfsub.c
patching file fs/aufs/vfsub.h
patching file fs/aufs/wbr_policy.c
patching file fs/aufs/whout.c
patching file fs/aufs/whout.h
patching file fs/aufs/wkq.c
patching file fs/aufs/wkq.h
patching file fs/aufs/xattr.c
patching file fs/aufs/xino.c
patching file include/uapi/linux/aufs_type.h
patching file MAINTAINERS
patching file drivers/block/loop.c
Hunk #1 succeeded at 710 with fuzz 1 (offset 24 lines).
patching file fs/dcache.c
Hunk #1 succeeded at 1209 (offset 12 lines).
patching file fs/fcntl.c
patching file fs/inode.c
Hunk #1 succeeded at 1656 (offset 1 line).
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file include/linux/file.h
patching file include/linux/fs.h
Hunk #2 succeeded at 1713 (offset 1 line).
Hunk #3 succeeded at 1784 (offset 1 line).
Hunk #4 succeeded at 2192 (offset 1 line).
Hunk #5 succeeded at 2473 (offset 1 line).
patching file include/linux/lockdep.h
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
Hunk #1 succeeded at 143 (offset -1 lines).
Hunk #2 succeeded at 154 (offset -1 lines).
patching file fs/Kconfig
patching file fs/Makefile
patching file drivers/block/loop.c
Hunk #2 succeeded at 668 (offset 30 lines).
Hunk #3 FAILED at 655.
Hunk #4 succeeded at 703 (offset 31 lines).
Hunk #5 succeeded at 711 (offset 31 lines).
Hunk #6 FAILED at 883.
Hunk #7 succeeded at 922 (offset 25 lines).
Hunk #8 succeeded at 960 (offset 9 lines).
Hunk #9 succeeded at 994 (offset 9 lines).
Hunk #10 succeeded at 1042 (offset 9 lines).
Hunk #11 succeeded at 1074 (offset 9 lines).
Hunk #12 succeeded at 1122 (offset 9 lines).
2 out of 12 hunks FAILED -- saving rejects to file drivers/block/loop.c.rej
patching file drivers/block/loop.h
patching file fs/aufs/f_op.c
Hunk #1 succeeded at 368 (offset 10 lines).
patching file fs/aufs/loop.c
Hunk #1 succeeded at 146 (offset 13 lines).
patching file fs/aufs/loop.h
Hunk #1 succeeded at 39 (offset 13 lines).
Hunk #2 succeeded at 51 (offset 13 lines).
patching file fs/aufs/super.c
Hunk #1 succeeded at 849 (offset 13 lines).
patching file include/linux/fs.h
Hunk #1 succeeded at 1840 (offset 1 line).
patching file fs/proc/base.c
Hunk #1 succeeded at 2021 (offset 33 lines).
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
Hunk #2 succeeded at 1746 (offset 4 lines).
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
Hunk #1 succeeded at 1350 (offset 1 line).
patching file include/linux/mm_types.h
Hunk #1 succeeded at 253 (offset -8 lines).
Hunk #2 succeeded at 328 (offset -8 lines).
patching file kernel/fork.c
patching file mm/Makefile
Hunk #1 succeeded at 39 (offset -1 lines).
patching file mm/filemap.c
Hunk #1 succeeded at 2589 (offset -1 lines).
patching file mm/mmap.c
Hunk #3 succeeded at 1778 (offset 32 lines).
Hunk #4 succeeded at 2603 (offset 34 lines).
Hunk #5 succeeded at 2622 (offset 34 lines).
Hunk #6 succeeded at 2784 (offset 34 lines).
Hunk #7 succeeded at 2859 (offset 34 lines).
Hunk #8 succeeded at 3190 (offset 37 lines).
patching file mm/nommu.c
patching file mm/prfile.c
patching file fs/dcache.c
Hunk #1 succeeded at 1317 (offset 12 lines).
Hunk #2 succeeded at 2935 (offset 40 lines).
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
Hunk #1 succeeded at 1665 (offset 1 line).
patching file fs/namespace.c
Hunk #3 succeeded at 1890 (offset 1 line).
patching file fs/notify/group.c
patching file fs/notify/mark.c
Hunk #1 succeeded at 124 with fuzz 2 (offset 6 lines).
Hunk #2 succeeded at 393 (offset -3 lines).
Hunk #3 succeeded at 606 (offset -3 lines).
Hunk #4 succeeded at 742 (offset -3 lines).
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
Hunk #1 succeeded at 154 (offset -1 lines).
patching file kernel/task_work.c
patching file security/commoncap.c
Hunk #1 succeeded at 1269 (offset -1 lines).
patching file security/device_cgroup.c
patching file security/security.c
patching file include/linux/lockdep.h
patching file kernel/locking/lockdep_internals.h
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
Hunk #2 succeeded at 1095 (offset 9 lines).
Hunk #3 succeeded at 2168 (offset 9 lines).
Hunk #4 succeeded at 2216 (offset 9 lines).
Hunk #5 succeeded at 3436 (offset 9 lines).
Hunk #6 succeeded at 3447 (offset 9 lines).
Hunk #7 succeeded at 3463 (offset 9 lines).
Hunk #8 succeeded at 3535 (offset 9 lines).
Hunk #9 succeeded at 3600 (offset 9 lines).
Hunk #10 succeeded at 3649 (offset 9 lines).
Hunk #11 succeeded at 3767 (offset 9 lines).
Hunk #12 succeeded at 3787 (offset 9 lines).
Hunk #13 succeeded at 3897 (offset 9 lines).
Hunk #14 succeeded at 4038 (offset 9 lines).
patching file fs/inode.c
Hunk #1 succeeded at 857 (offset 1 line).
Hunk #2 succeeded at 871 (offset 1 line).
#
Thanks.

Porteus Kernel Builder

Posted: 22 Jul 2018, 17:05
by neko
@bour59
I have corrected driver/block/loop.c of 4.14.57. (it is not assured)
And built 32bit 4.14.57 kernel.
Own patch source of driver/block/loop.c is included in v4.14.57-32bit.tar.xz.


v4.14.57-32bit.tar.xz (44 M)
http://www.mediafire.com/file/sm11aa89f ... bit.tar.xz
md5sum: 12280490157da9cfa297e6ce9097eec0 v4.14.57-32bit.tar.xz

crippled_sources-4.14.57-32bit.xzm (19 M)
http://www.mediafire.com/file/a2ukl7hy8 ... -32bit.xzm
md5sum: c9f158a9b955acd511424bb8c1d7902e crippled_sources-4.14.57-32bit.xzm


Thanks.

Porteus Kernel Builder

Posted: 23 Jul 2018, 03:36
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc6 <---NEW
The latest stable 4.17 version of the Linux kernel is: 4.17.9 <---NEW
The latest stable 4.16 version of the Linux kernel is: 4.16.18 (EOL)
The latest longterm 4.14 version of the Linux kernel is: 4.14.57 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.114 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.143 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.116 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20180720


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note1: AUFS_VERSIO "4.17-20180716"
Aufs patch to driver/block/loop.c of 4.17.9 is not adapted correctly.
Own patch source of driver/block/loop.c is included in v4.17.9.tar.xz.
(This Own patch is not assured.)

Note2: AUFS_VERSION "4.x-rcN-20180716"
Aufs patch to mm/nommu.c of 4.18-rc6 is not adapted correctly.
Own patch source of mm/nommu.c is included in v4.18-rc6.tar.xz.

Code: Select all

# patch -p1 < ../../aufs.patch
patching file Documentation/ABI/testing/debugfs-aufs
patching file Documentation/ABI/testing/sysfs-aufs
patching file Documentation/filesystems/aufs/README
patching file Documentation/filesystems/aufs/design/01intro.txt
patching file Documentation/filesystems/aufs/design/02struct.txt
patching file Documentation/filesystems/aufs/design/03atomic_open.txt
patching file Documentation/filesystems/aufs/design/03lookup.txt
patching file Documentation/filesystems/aufs/design/04branch.txt
patching file Documentation/filesystems/aufs/design/05wbr_policy.txt
patching file Documentation/filesystems/aufs/design/06dirren.dot
patching file Documentation/filesystems/aufs/design/06dirren.txt
patching file Documentation/filesystems/aufs/design/06fhsm.txt
patching file Documentation/filesystems/aufs/design/06mmap.txt
patching file Documentation/filesystems/aufs/design/06xattr.txt
patching file Documentation/filesystems/aufs/design/07export.txt
patching file Documentation/filesystems/aufs/design/08shwh.txt
patching file Documentation/filesystems/aufs/design/10dynop.txt
patching file fs/aufs/Kconfig
patching file fs/aufs/Makefile
patching file fs/aufs/aufs.h
patching file fs/aufs/branch.c
patching file fs/aufs/branch.h
patching file fs/aufs/conf.mk
patching file fs/aufs/cpup.c
patching file fs/aufs/cpup.h
patching file fs/aufs/dbgaufs.c
patching file fs/aufs/dbgaufs.h
patching file fs/aufs/dcsub.c
patching file fs/aufs/dcsub.h
patching file fs/aufs/debug.c
patching file fs/aufs/debug.h
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/dir.c
patching file fs/aufs/dir.h
patching file fs/aufs/dirren.c
patching file fs/aufs/dirren.h
patching file fs/aufs/dynop.c
patching file fs/aufs/dynop.h
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/fhsm.c
patching file fs/aufs/file.c
patching file fs/aufs/file.h
patching file fs/aufs/finfo.c
patching file fs/aufs/fstype.h
patching file fs/aufs/hbl.h
patching file fs/aufs/hfsnotify.c
patching file fs/aufs/hfsplus.c
patching file fs/aufs/hnotify.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_add.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/iinfo.c
patching file fs/aufs/inode.c
patching file fs/aufs/inode.h
patching file fs/aufs/ioctl.c
patching file fs/aufs/loop.c
patching file fs/aufs/loop.h
patching file fs/aufs/magic.mk
patching file fs/aufs/module.c
patching file fs/aufs/module.h
patching file fs/aufs/mvdown.c
patching file fs/aufs/opts.c
patching file fs/aufs/opts.h
patching file fs/aufs/plink.c
patching file fs/aufs/poll.c
patching file fs/aufs/posix_acl.c
patching file fs/aufs/procfs.c
patching file fs/aufs/rdu.c
patching file fs/aufs/rwsem.h
patching file fs/aufs/sbinfo.c
patching file fs/aufs/super.c
patching file fs/aufs/super.h
patching file fs/aufs/sysaufs.c
patching file fs/aufs/sysaufs.h
patching file fs/aufs/sysfs.c
patching file fs/aufs/sysrq.c
patching file fs/aufs/vdir.c
patching file fs/aufs/vfsub.c
patching file fs/aufs/vfsub.h
patching file fs/aufs/wbr_policy.c
patching file fs/aufs/whout.c
patching file fs/aufs/whout.h
patching file fs/aufs/wkq.c
patching file fs/aufs/wkq.h
patching file fs/aufs/xattr.c
patching file fs/aufs/xino.c
patching file include/uapi/linux/aufs_type.h
patching file MAINTAINERS
patching file drivers/block/loop.c
patching file fs/dcache.c
patching file fs/fcntl.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file include/linux/file.h
patching file include/linux/fs.h
Hunk #5 succeeded at 2514 (offset 1 line).
patching file include/linux/lockdep.h
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
patching file fs/Kconfig
patching file fs/Makefile
patching file drivers/block/loop.c
patching file drivers/block/loop.h
patching file fs/aufs/f_op.c
Hunk #1 succeeded at 368 (offset 10 lines).
patching file fs/aufs/loop.c
Hunk #1 succeeded at 146 (offset 13 lines).
patching file fs/aufs/loop.h
Hunk #1 succeeded at 39 (offset 13 lines).
Hunk #2 succeeded at 51 (offset 13 lines).
patching file fs/aufs/super.c
Hunk #1 succeeded at 853 (offset 13 lines).
patching file include/linux/fs.h
patching file fs/proc/base.c
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
Hunk #2 succeeded at 1737 (offset 1 line).
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
Hunk #1 succeeded at 1431 (offset 2 lines).
patching file include/linux/mm_types.h
patching file kernel/fork.c
Hunk #1 succeeded at 506 (offset 25 lines).
patching file mm/Makefile
patching file mm/filemap.c
patching file mm/mmap.c
Hunk #1 succeeded at 180 with fuzz 2.
Hunk #3 succeeded at 1818 (offset -2 lines).
Hunk #4 succeeded at 2638 (offset -7 lines).
Hunk #5 succeeded at 2657 (offset -7 lines).
Hunk #6 succeeded at 2819 (offset -7 lines).
Hunk #7 succeeded at 2894 (offset -7 lines).
Hunk #8 succeeded at 3221 (offset -16 lines).
patching file mm/nommu.c
Hunk #2 succeeded at 767 with fuzz 2.
Hunk #3 succeeded at 1288 (offset -1 lines).
Hunk #4 FAILED at 1364.
1 out of 4 hunks FAILED -- saving rejects to file mm/nommu.c.rej
patching file mm/prfile.c
patching file fs/dcache.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
patching file include/linux/lockdep.h
patching file kernel/locking/lockdep_internals.h
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
patching file fs/inode.c
#


3. Benchmark result (4.18-rc6-64bit)

Code: Select all

$ glmark2
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Intel(R) HD Graphics 505 (Broxton) 
    GL_VERSION:    3.0 Mesa 18.1.4
=======================================================
[build] use-vbo=false: FPS: 701 FrameTime: 1.427 ms
[build] use-vbo=true: FPS: 790 FrameTime: 1.266 ms
[texture] texture-filter=nearest: FPS: 710 FrameTime: 1.408 ms
[texture] texture-filter=linear: FPS: 726 FrameTime: 1.377 ms
[texture] texture-filter=mipmap: FPS: 746 FrameTime: 1.340 ms
[shading] shading=gouraud: FPS: 607 FrameTime: 1.647 ms
[shading] shading=blinn-phong-inf: FPS: 602 FrameTime: 1.661 ms
[shading] shading=phong: FPS: 589 FrameTime: 1.698 ms
[shading] shading=cel: FPS: 577 FrameTime: 1.733 ms
[bump] bump-render=high-poly: FPS: 498 FrameTime: 2.008 ms
[bump] bump-render=normals: FPS: 781 FrameTime: 1.280 ms
[bump] bump-render=height: FPS: 776 FrameTime: 1.289 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 563 FrameTime: 1.776 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 349 FrameTime: 2.865 ms
[pulsar] light=false:quads=5:texture=false: FPS: 627 FrameTime: 1.595 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 318 FrameTime: 3.145 ms
[desktop] effect=shadow:windows=4: FPS: 458 FrameTime: 2.183 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 297 FrameTime: 3.367 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 248 FrameTime: 4.032 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 361 FrameTime: 2.770 ms
[ideas] speed=duration: FPS: 502 FrameTime: 1.992 ms
[jellyfish] <default>: FPS: 391 FrameTime: 2.558 ms
[terrain] <default>: FPS: 71 FrameTime: 14.085 ms
[shadow] <default>: FPS: 517 FrameTime: 1.934 ms
[refract] <default>: FPS: 93 FrameTime: 10.753 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 569 FrameTime: 1.757 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 568 FrameTime: 1.761 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 567 FrameTime: 1.764 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 571 FrameTime: 1.751 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 588 FrameTime: 1.701 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 572 FrameTime: 1.748 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 544 FrameTime: 1.838 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 573 FrameTime: 1.745 ms
=======================================================
                                  glmark2 Score: 528 
=======================================================
$
Thanks.

Porteus Kernel Builder

Posted: 25 Jul 2018, 05:07
by rchase
I downloaded your 4.18-rc6 into /tmp/kernel, making that the working directory for Kernel Builder and selected "expand & patch" and "compile" -- I'm trying to go from your patched, latest kernel to an updated ISO and kernel module -- but when I click "OK", I get the error message "missing: /tmp/kernel/v4.18-rc6/linux-4.18-rc6.tar.ZZ" -- what does this mean and what am I doing wrong?

Porteus Kernel Builder

Posted: 25 Jul 2018, 08:08
by neko
=== Example: update the kernel of Porteus-XFCE-v4.0-i586.iso ===

1. If you want to build the 4.18-rc6 kernel by yourself with "Kernel Builder" tool,
you don't need to download v4.18-rc6.tar.xz.

(1) make working directory
# mkdir /tmp/kernel

(2) [How to use "Kernel Builder"]
== Run 1) get source file and patch
"Porteus Kernel Builde" ----> setting window
set working directory: /tmp/kernel
select kernel version: v4.18-rc6
select architecture: 32 Bit
check off "Create FW"
check on "download" item
check on "expand & patch" item
push "OK" button

(3) Correct Aufs-Patch
If Aufs-Patch is not yet fixed,
you must correct /tmp/kernel/v4.18-rc6/32/linux-4.18-rc6/mm/nommu.c by yourself.

If /tmp/kernel/v4.18-rc6/32/linux-4.18-rc6/mm/nommu.c.rej has been created,
Aufs-Patch is not yet fixed.

[bad version]
% grep VERSION /tmp/kernel/v4.18-rc6/aufs.patch
v4.18-rc6/aufs.patch:+ if (!err && (flags & S_VERSION))
v4.18-rc6/aufs.patch:+MODULE_VERSION(AUFS_VERSION);
v4.18-rc6/aufs.patch:+ printk(KERN_INFO AUFS_NAME " " AUFS_VERSION "\n");
v4.18-rc6/aufs.patch:+ if (sb->s_flags & SB_I_VERSION)
v4.18-rc6/aufs.patch:+ sb->s_flags |= SB_I_VERSION; /* do we really need this? */
v4.18-rc6/aufs.patch:+#define AUFS_VERSION "4.x-rcN-20180716"

(4) Change kernel config to your liking

(5) [How to use "Kernel Builder"]
== Run 2) build
"Porteus Kernel Builde" ----> setting window
set working directory: /tmp/kernel
select kernel version: v4.18-rc6
select architecture: 32 Bit
check off "Create FW"
check on "compile" item
push "OK" button

(6) [How to use "Kernel Builder"]
== Run 3) copy firmwares from firmware package
"Porteus Kernel Builde" ----> setting window
set working directory: /tmp/kernel
select kernel version: v4.18-rc6
select architecture: 32 Bit
check on "Create FW"
push "OK" button

(7) [How to use "Kernel Builder"]
== Run 4) create crippled_sources module, only if you need
"Porteus Kernel Builde" ----> setting window
set working directory: /tmp/kernel
select kernel version: v4.18-rc6
select architecture: 32 Bit
check off "Create FW"
check on "crippled_sources" item
push "OK" button

(8) [How to use "Kernel Builder"]
== Run 5) update kernel of ISO
"Porteus Kernel Builde" ----> setting window
set working directory: /tmp/kernel
select kernel version: v4.18-rc6
check off "Create FW"
select ISO whose kernel will be update: /A/B/C/Porteus-XFCE-v4.0-i586.iso
check on "keep org" item:
push "OK" button


2. If you want to use the modified mm/nommu.c of v4.18-rc6.tar.xz,
you need to download v4.18-rc6.tar.xz.

(1),(2) same as 1.(1),(2)

(3) Correct Aufs-Patch
If Aufs-Patch is not yet fixed,
use nommu.c of v4.18-rc6.tar.xz.

# mkdir /tmp/download
Download v4.18-rc6.tar.xz in /tmp/download

# cd /tmp/download
# xz -dc v4.18-rc6.tar.xz | tar -x

# cd /tmp/kernel/v4.18-rc6/32/linux-4.18-rc6/
# cp /tmp/download/v4.18-rc6/own.patch.mm+nommu.c mm/nommu.c

(4)-(8) same as 1.(4)-(8)


3. If you want to use the kernel config of v4.18-rc6.tar.xz,
you don't need build kernel.

(1) make working directory
# mkdir /tmp/kernel

(2) Download v4.18-rc6.tar.xz in /tmp/kernel

(3) Expand v4.18-rc6.tar.xz in /tmp/kernel
# cd /tmp/kernel
# xz -dc v4.18-rc6.tar.xz | tar -x

(4) update kernel of ISO
same as 1.(8)


====================================================
@rchase
I think that your case is same as above 2.
But step 2.(2) was missing.
(---> error message "missing: /tmp/kernel/v4.18-rc6/linux-4.18-rc6.tar.ZZ")
Step 2.(3) was missing.


Thanks.

Porteus Kernel Builder

Posted: 25 Jul 2018, 15:23
by rchase
Thanks for your reply and the information that the archive must first be extracted before running Kernel Builder. I infer that the program won't generate an ISO and 000-kernel.xzm in the same run, but I see how these are alternative tasks; I updated a copy of the Porteus x86-64 XFCE ISO, extracted 000-kernel.xzm from it, replaced the one in my installation, and rebooted, but system info reported that the kernel was still 4.16.3 -- I realized that vmlinuz needed replacement too. System now seems to be using new kernel successfully.

Porteus Kernel Builder

Posted: 25 Jul 2018, 18:03
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc6
The latest stable 4.17 version of the Linux kernel is: 4.17.10 <---NEW
The latest stable 4.16 version of the Linux kernel is: 4.16.18 (EOL)
The latest longterm 4.14 version of the Linux kernel is: 4.14.58 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.115 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.144 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.116 (EOL)
The latest linux-next version of the Linux kernel is: next-20180725


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note1: AUFS_VERSIO "4.17-20180723"
Aufs patch is updated from "4.17-20180716" to "4.17-20180723"
But this new version is not adapted correctly to patch to driver/block/loop.c of kernel 4.17.10 as same as "4.17-20180716".
Own patch source of driver/block/loop.c is included in v4.17.10.tar.xz.
(This Own patch is not assured.)

Code: Select all

# patch -p1 < ../../aufs.patch
patching file Documentation/ABI/testing/debugfs-aufs
patching file Documentation/ABI/testing/sysfs-aufs
patching file Documentation/filesystems/aufs/README
patching file Documentation/filesystems/aufs/design/01intro.txt
patching file Documentation/filesystems/aufs/design/02struct.txt
patching file Documentation/filesystems/aufs/design/03atomic_open.txt
patching file Documentation/filesystems/aufs/design/03lookup.txt
patching file Documentation/filesystems/aufs/design/04branch.txt
patching file Documentation/filesystems/aufs/design/05wbr_policy.txt
patching file Documentation/filesystems/aufs/design/06dirren.dot
patching file Documentation/filesystems/aufs/design/06dirren.txt
patching file Documentation/filesystems/aufs/design/06fhsm.txt
patching file Documentation/filesystems/aufs/design/06mmap.txt
patching file Documentation/filesystems/aufs/design/06xattr.txt
patching file Documentation/filesystems/aufs/design/07export.txt
patching file Documentation/filesystems/aufs/design/08shwh.txt
patching file Documentation/filesystems/aufs/design/10dynop.txt
patching file fs/aufs/Kconfig
patching file fs/aufs/Makefile
patching file fs/aufs/aufs.h
patching file fs/aufs/branch.c
patching file fs/aufs/branch.h
patching file fs/aufs/conf.mk
patching file fs/aufs/cpup.c
patching file fs/aufs/cpup.h
patching file fs/aufs/dbgaufs.c
patching file fs/aufs/dbgaufs.h
patching file fs/aufs/dcsub.c
patching file fs/aufs/dcsub.h
patching file fs/aufs/debug.c
patching file fs/aufs/debug.h
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/dir.c
patching file fs/aufs/dir.h
patching file fs/aufs/dirren.c
patching file fs/aufs/dirren.h
patching file fs/aufs/dynop.c
patching file fs/aufs/dynop.h
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/fhsm.c
patching file fs/aufs/file.c
patching file fs/aufs/file.h
patching file fs/aufs/finfo.c
patching file fs/aufs/fstype.h
patching file fs/aufs/hbl.h
patching file fs/aufs/hfsnotify.c
patching file fs/aufs/hfsplus.c
patching file fs/aufs/hnotify.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_add.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/iinfo.c
patching file fs/aufs/inode.c
patching file fs/aufs/inode.h
patching file fs/aufs/ioctl.c
patching file fs/aufs/loop.c
patching file fs/aufs/loop.h
patching file fs/aufs/magic.mk
patching file fs/aufs/module.c
patching file fs/aufs/module.h
patching file fs/aufs/mvdown.c
patching file fs/aufs/opts.c
patching file fs/aufs/opts.h
patching file fs/aufs/plink.c
patching file fs/aufs/poll.c
patching file fs/aufs/posix_acl.c
patching file fs/aufs/procfs.c
patching file fs/aufs/rdu.c
patching file fs/aufs/rwsem.h
patching file fs/aufs/sbinfo.c
patching file fs/aufs/super.c
patching file fs/aufs/super.h
patching file fs/aufs/sysaufs.c
patching file fs/aufs/sysaufs.h
patching file fs/aufs/sysfs.c
patching file fs/aufs/sysrq.c
patching file fs/aufs/vdir.c
patching file fs/aufs/vfsub.c
patching file fs/aufs/vfsub.h
patching file fs/aufs/wbr_policy.c
patching file fs/aufs/whout.c
patching file fs/aufs/whout.h
patching file fs/aufs/wkq.c
patching file fs/aufs/wkq.h
patching file fs/aufs/xattr.c
patching file fs/aufs/xino.c
patching file include/uapi/linux/aufs_type.h
patching file MAINTAINERS
patching file drivers/block/loop.c
Hunk #1 succeeded at 737 with fuzz 1 (offset 24 lines).
patching file fs/dcache.c
patching file fs/fcntl.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file include/linux/file.h
patching file include/linux/fs.h
Hunk #5 succeeded at 2495 (offset 1 line).
patching file include/linux/lockdep.h
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
patching file fs/Kconfig
patching file fs/Makefile
patching file drivers/block/loop.c
Hunk #2 succeeded at 695 (offset 30 lines).
Hunk #3 FAILED at 682.
Hunk #4 succeeded at 730 (offset 31 lines).
Hunk #5 succeeded at 738 (offset 31 lines).
Hunk #6 FAILED at 910.
Hunk #7 succeeded at 949 (offset 25 lines).
Hunk #8 succeeded at 987 (offset 9 lines).
Hunk #9 succeeded at 1021 (offset 9 lines).
Hunk #10 succeeded at 1069 (offset 9 lines).
Hunk #11 succeeded at 1101 (offset 9 lines).
Hunk #12 succeeded at 1150 (offset 9 lines).
2 out of 12 hunks FAILED -- saving rejects to file drivers/block/loop.c.rej
patching file drivers/block/loop.h
patching file fs/aufs/f_op.c
Hunk #1 succeeded at 368 (offset 10 lines).
patching file fs/aufs/loop.c
Hunk #1 succeeded at 146 (offset 13 lines).
patching file fs/aufs/loop.h
Hunk #1 succeeded at 39 (offset 13 lines).
Hunk #2 succeeded at 51 (offset 13 lines).
patching file fs/aufs/super.c
Hunk #1 succeeded at 853 (offset 13 lines).
patching file include/linux/fs.h
patching file fs/proc/base.c
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
Hunk #2 succeeded at 1730 (offset 1 line).
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
patching file include/linux/mm_types.h
patching file kernel/fork.c
patching file mm/Makefile
patching file mm/filemap.c
patching file mm/mmap.c
Hunk #8 succeeded at 3232 (offset -5 lines).
patching file mm/nommu.c
patching file mm/prfile.c
patching file fs/dcache.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
patching file include/linux/lockdep.h
patching file kernel/locking/lockdep_internals.h
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
patching file fs/inode.c
#
Note2: AUFS_VERSIO "4.14-20180723"
Aufs patch is updated from "4.14-20180716" to "4.14-20180723".
Maybe this new version will not adapted correctly to patch to driver/block/loop.c of kernel 4.14.58 as same as "4.14-20180716".
If linux-4.14.58/drivers/block/loop.c.rej will be created after the new version Aufs patch,
you can use the own patch that was included in v4.14.57-32bit.tar.xz.


Thanks.

Porteus Kernel Builder

Posted: 28 Jul 2018, 17:40
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc6
The latest stable 4.17 version of the Linux kernel is: 4.17.11 <---NEW
The latest longterm 4.14 version of the Linux kernel is: 4.14.59 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.116 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.145 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.117 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20180727


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note1: AUFS_VERSIO "4.17-20180723"
Aufs patch is not updated yet.
This version is not adapted correctly to patch to driver/block/loop.c of kernel 4.17.11 as same as "4.17-20180716".
Own patch source of driver/block/loop.c is included in v4.17.11.tar.xz.
(This Own patch is not assured.)

Code: Select all

# patch -p1 < ../../aufs.patch
patching file Documentation/ABI/testing/debugfs-aufs
patching file Documentation/ABI/testing/sysfs-aufs
patching file Documentation/filesystems/aufs/README
patching file Documentation/filesystems/aufs/design/01intro.txt
patching file Documentation/filesystems/aufs/design/02struct.txt
patching file Documentation/filesystems/aufs/design/03atomic_open.txt
patching file Documentation/filesystems/aufs/design/03lookup.txt
patching file Documentation/filesystems/aufs/design/04branch.txt
patching file Documentation/filesystems/aufs/design/05wbr_policy.txt
patching file Documentation/filesystems/aufs/design/06dirren.dot
patching file Documentation/filesystems/aufs/design/06dirren.txt
patching file Documentation/filesystems/aufs/design/06fhsm.txt
patching file Documentation/filesystems/aufs/design/06mmap.txt
patching file Documentation/filesystems/aufs/design/06xattr.txt
patching file Documentation/filesystems/aufs/design/07export.txt
patching file Documentation/filesystems/aufs/design/08shwh.txt
patching file Documentation/filesystems/aufs/design/10dynop.txt
patching file fs/aufs/Kconfig
patching file fs/aufs/Makefile
patching file fs/aufs/aufs.h
patching file fs/aufs/branch.c
patching file fs/aufs/branch.h
patching file fs/aufs/conf.mk
patching file fs/aufs/cpup.c
patching file fs/aufs/cpup.h
patching file fs/aufs/dbgaufs.c
patching file fs/aufs/dbgaufs.h
patching file fs/aufs/dcsub.c
patching file fs/aufs/dcsub.h
patching file fs/aufs/debug.c
patching file fs/aufs/debug.h
patching file fs/aufs/dentry.c
patching file fs/aufs/dentry.h
patching file fs/aufs/dinfo.c
patching file fs/aufs/dir.c
patching file fs/aufs/dir.h
patching file fs/aufs/dirren.c
patching file fs/aufs/dirren.h
patching file fs/aufs/dynop.c
patching file fs/aufs/dynop.h
patching file fs/aufs/export.c
patching file fs/aufs/f_op.c
patching file fs/aufs/fhsm.c
patching file fs/aufs/file.c
patching file fs/aufs/file.h
patching file fs/aufs/finfo.c
patching file fs/aufs/fstype.h
patching file fs/aufs/hbl.h
patching file fs/aufs/hfsnotify.c
patching file fs/aufs/hfsplus.c
patching file fs/aufs/hnotify.c
patching file fs/aufs/i_op.c
patching file fs/aufs/i_op_add.c
patching file fs/aufs/i_op_del.c
patching file fs/aufs/i_op_ren.c
patching file fs/aufs/iinfo.c
patching file fs/aufs/inode.c
patching file fs/aufs/inode.h
patching file fs/aufs/ioctl.c
patching file fs/aufs/loop.c
patching file fs/aufs/loop.h
patching file fs/aufs/magic.mk
patching file fs/aufs/module.c
patching file fs/aufs/module.h
patching file fs/aufs/mvdown.c
patching file fs/aufs/opts.c
patching file fs/aufs/opts.h
patching file fs/aufs/plink.c
patching file fs/aufs/poll.c
patching file fs/aufs/posix_acl.c
patching file fs/aufs/procfs.c
patching file fs/aufs/rdu.c
patching file fs/aufs/rwsem.h
patching file fs/aufs/sbinfo.c
patching file fs/aufs/super.c
patching file fs/aufs/super.h
patching file fs/aufs/sysaufs.c
patching file fs/aufs/sysaufs.h
patching file fs/aufs/sysfs.c
patching file fs/aufs/sysrq.c
patching file fs/aufs/vdir.c
patching file fs/aufs/vfsub.c
patching file fs/aufs/vfsub.h
patching file fs/aufs/wbr_policy.c
patching file fs/aufs/whout.c
patching file fs/aufs/whout.h
patching file fs/aufs/wkq.c
patching file fs/aufs/wkq.h
patching file fs/aufs/xattr.c
patching file fs/aufs/xino.c
patching file include/uapi/linux/aufs_type.h
patching file MAINTAINERS
patching file drivers/block/loop.c
Hunk #1 succeeded at 737 with fuzz 1 (offset 24 lines).
patching file fs/dcache.c
patching file fs/fcntl.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file include/linux/file.h
patching file include/linux/fs.h
Hunk #5 succeeded at 2495 (offset 1 line).
patching file include/linux/lockdep.h
patching file include/linux/mnt_namespace.h
patching file include/linux/splice.h
patching file kernel/locking/lockdep.c
patching file fs/Kconfig
patching file fs/Makefile
patching file drivers/block/loop.c
Hunk #2 succeeded at 695 (offset 30 lines).
Hunk #3 FAILED at 682.
Hunk #4 succeeded at 730 (offset 31 lines).
Hunk #5 succeeded at 738 (offset 31 lines).
Hunk #6 FAILED at 910.
Hunk #7 succeeded at 949 (offset 25 lines).
Hunk #8 succeeded at 987 (offset 9 lines).
Hunk #9 succeeded at 1021 (offset 9 lines).
Hunk #10 succeeded at 1069 (offset 9 lines).
Hunk #11 succeeded at 1101 (offset 9 lines).
Hunk #12 succeeded at 1150 (offset 9 lines).
2 out of 12 hunks FAILED -- saving rejects to file drivers/block/loop.c.rej
patching file drivers/block/loop.h
patching file fs/aufs/f_op.c
Hunk #1 succeeded at 368 (offset 10 lines).
patching file fs/aufs/loop.c
Hunk #1 succeeded at 146 (offset 13 lines).
patching file fs/aufs/loop.h
Hunk #1 succeeded at 39 (offset 13 lines).
Hunk #2 succeeded at 51 (offset 13 lines).
patching file fs/aufs/super.c
Hunk #1 succeeded at 853 (offset 13 lines).
patching file include/linux/fs.h
patching file fs/proc/base.c
patching file fs/proc/nommu.c
patching file fs/proc/task_mmu.c
Hunk #2 succeeded at 1730 (offset 1 line).
patching file fs/proc/task_nommu.c
patching file include/linux/mm.h
patching file include/linux/mm_types.h
patching file kernel/fork.c
patching file mm/Makefile
patching file mm/filemap.c
patching file mm/mmap.c
Hunk #8 succeeded at 3232 (offset -5 lines).
patching file mm/nommu.c
patching file mm/prfile.c
patching file fs/dcache.c
patching file fs/exec.c
patching file fs/fcntl.c
patching file fs/file_table.c
patching file fs/inode.c
patching file fs/namespace.c
patching file fs/notify/group.c
patching file fs/notify/mark.c
patching file fs/open.c
patching file fs/read_write.c
patching file fs/splice.c
patching file fs/sync.c
patching file fs/xattr.c
patching file kernel/locking/lockdep.c
patching file kernel/task_work.c
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/security.c
patching file include/linux/lockdep.h
patching file kernel/locking/lockdep_internals.h
patching file include/linux/shmem_fs.h
patching file mm/shmem.c
patching file fs/inode.c
#
Note2: AUFS_VERSIO "4.14-20180723"
Aufs patch is not updated yet.
Maybe this version will not adapted correctly to patch to driver/block/loop.c of kernel 4.14.59 as same as "4.14-20180716".
If linux-4.14.59/drivers/block/loop.c.rej will be created after the version Aufs patch,
you can use the own patch that was included in v4.14.57-32bit.tar.xz.


Thanks.

Porteus Kernel Builder

Posted: 30 Jul 2018, 05:09
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.18-rc7 <---NEW
The latest stable 4.17 version of the Linux kernel is: 4.17.11
The latest longterm 4.14 version of the Linux kernel is: 4.14.59
The latest longterm 4.9 version of the Linux kernel is: 4.9.116
The latest longterm 4.4 version of the Linux kernel is: 4.4.145
The latest longterm 3.18 version of the Linux kernel is: 3.18.117 (EOL)
The latest linux-next version of the Linux kernel is: next-20180727


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" was updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note: AUFS_VERSION "4.x-rcN-20180730"
Aufs patch has been updated.
This new version is adapted correctly to patch to mm/nommu.c of kernel 4.18-rc7.


Thanks.