[llvmlinux] x86_64: Creating a checkpoint fails

Sedat Dilek sedat.dilek at gmail.com
Thu Jul 11 07:46:50 UTC 2013


On Wed, Jul 10, 2013 at 7:20 PM, Jan-Simon Möller
<jsmoeller at linuxfoundation.org> wrote:
> So for everyone to play with:
>
> dl9pf at elrond:~/llvmlinux/targets/x86_64> uname -a
> Linux elrond.auenland.lan 3.10.0-rc6-1.16-desktop+ #2 SMP PREEMPT Wed Jul 10
> 19:15:25 CEST 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> dl9pf at elrond:~/llvmlinux/targets/x86_64> dmesg | head
> [    0.000000] Initializing cgroup subsys cpuset
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Initializing cgroup subsys cpuacct
> [    0.000000] Linux version 3.10.0-rc6-1.16-desktop+
> (dl9pf at elrond.auenland.lan) (clang version 3.4 ) #2 SMP PREEMPT Wed Jul 10
> 19:15:25 CEST 2013
> [    0.000000] Command line: root=/dev/disk/by-id/ata-MKNSSDCR240GB-
> DX_MKN11240000016701-part1 splash=silent quiet
> [    0.000000] e820: BIOS-provided physical RAM map:
> [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ebff] usable
> [    0.000000] BIOS-e820: [mem 0x000000000009ec00-0x000000000009ffff] reserved
> [    0.000000] BIOS-e820: [mem 0x00000000000e4c00-0x00000000000fffff] reserved
> [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000009f67ffff] usable
>
>
> dl9pf at elrond:~/llvmlinux/targets/x86_64> make config
> LLVMLINUX_COMMIT        = 876f9a56e919da9c21854132158cc362529d480c
> # LLVM settings
> LLVM_GIT                = http://llvm.org/git/llvm.git
> LLVM_BRANCH             = master
> LLVM_COMMIT             = 53aaef82408c032899938ea050473cdbd860c78e
> LLVM_OPTIMIZED          = --enable-optimized --enable-assertions
> # Clang settings
> CLANG_GIT               = http://llvm.org/git/clang.git
> CLANG_BRANCH            = master
> CLANG_COMMIT            = 4196019db7a9b22d09c31a290c49d45eab2fa1d3
> # Kernel settings
> KERNEL_GIT              =
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> KERNEL_BRANCH           = master
> KERNEL_TAG              =
> KERNEL_COMMIT           = 5c1f62a75ca29d91606fd6e8bdeb2cff88086e0f
> KERNELDIR               = ${TARGETDIR}/src/linux
> KERNELGCC               = ${TARGETDIR}/src/linux-gcc
> KERNEL_CFG              = ${TARGETDIR}/config_x86_64
> KERNEL_REPO_PATCHES     = master
> KERNEL_PATCH_DIR       += ${TARGETDIR}/patches ${TARGETDIR}/patches/master
> # buildroot settings
> BUILDROOT_ARCH          = qemu_arm_vexpress
> BUILDROOT_BRANCH        = master
> BUILDROOT_TAG           =
> BUILDROOT_GIT           = http://git.buildroot.net/git/buildroot.git
> BUILDROOT_COMMIT        = cca5538556e854516a85b28ae56c06ed66427b71
> # initramfs settings
> # LTP settings
> LTPSF_RELEASE           = 20120614
> LTPSF_TAR               = ltp-full-20120614.bz2
> LTPSF_URI               =
> http://downloads.sourceforge.net/project/ltp/LTP%20Source/ltp-20120614/ltp-full-20120614.bz2
> # QEMU settings
> QEMU_BRANCH             = master
> QEMU_TAG                =
> QEMU_GIT                = git://git.qemu.org/qemu.git
> QEMU_COMMIT             = dc11549ec213f85f6a024c7df68d349464cd1688
>
>
>
> is booting with the attached config. y

Hi Jan,

Cool, that is a start.

Can you tell us about your host-OS, host-toolchain, etc.?
Thanks.

Thanks for updating the x86_64 kernel-config [1]!

LOCALVERSION settings from [1]:

+CONFIG_LOCALVERSION="-1.16-desktop"
+# CONFIG_LOCALVERSION_AUTO is not set

Please, remove any individual settings from CONFIG_LOCALVERSION settings!
"CONFIG_LOCALVERSION_AUTO=y" is adding some "-dirty" suffixes
(especially when building out a GIT repository) to
"include/generated/utsrelease.h" and thus what you get with "uname
-r".
Thanks for disabling it.

A big thank-you for the update and your testing with latest HEAD upstream.

Is it possible, you can test with LLVM/Clang v3.3 and Linux-3.10 (see
my checkpoint patch I had submitted to the ML)?
That would really help me.
But this is a personal request only.

Any know issues in a Ubuntu/prescise WUBI installation [2]?

- Sedat -

[1] http://git.linuxfoundation.org/?p=llvmlinux.git;a=commitdiff;h=37633a590b7a22719149e344cb197025a2c83ed9
[2] https://wiki.ubuntu.com/WubiGuide


More information about the LLVMLinux mailing list