Skip to content

Instantly share code, notes, and snippets.

@gautamMalu
gautamMalu / ocaml-core-kernel-111.28.00-1.el6.x86x64
Created March 24, 2015 17:57
Build log for ocaml-core-kernel-111.28.00-1.el6.x86x64.rpm from https://github.com/xenserver/buildroot
Mock Version: 1.2.7
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-core-kernel.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-ocaml-core-kernel-111.28.00-1.el6.x86_64.rpm/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x1cb91d0>uid=502)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocaml-core-kernel.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
warning: Could not canonicalize hostname: centos6.6-malu
Bu
@gautamMalu
gautamMalu / packages.list
Created March 26, 2015 12:07
package list for xenserver build using https://github.com/xenserver/buildroot. It includes both noarch and x86_64 arch packages, it was build on x86_64 machine with CentOS 6.6 final
blktap-0.9.3.fe874d-2.el6.src.rpm
blktap-0.9.3.fe874d-2.el6.x86_64.rpm
blktap-debuginfo-0.9.3.fe874d-2.el6.x86_64.rpm
cppo-0.9.3-2.el6.src.rpm
cppo-0.9.3-2.el6.x86_64.rpm
cppo-debuginfo-0.9.3-2.el6.x86_64.rpm
deriving-ocsigen-0.3c-2.el6.src.rpm
deriving-ocsigen-0.3c-2.el6.x86_64.rpm
deriving-ocsigen-debuginfo-0.3c-2.el6.x86_64.rpm
deriving-ocsigen-devel-0.3c-2.el6.x86_64.rpm
[gautam@localhost installclasses]$ sudo xl info
host : localhost.localdomain
release : 3.18.12-11.el7.x86_64
version : #1 SMP Mon May 11 13:47:03 UTC 2015
machine : x86_64
libxl: error: libxl.c:4322:libxl_get_physinfo: getting physinfo: Operation not permitted
libxl_physinfo failed.
libxl: error: libxl.c:4728:libxl_get_scheduler: getting domain info list: Operation not permitted
xen_major : 4
xen_minor : 4
@gautamMalu
gautamMalu / xllist
Created May 26, 2015 11:35
xl list
[gautam@localhost installclasses]$ sudo xl list
libxl: error: libxl.c:557:libxl_list_domain: geting domain info list: Operation not permitted
libxl_list_domain failed.
@gautamMalu
gautamMalu / c7.cfg
Created May 26, 2015 11:41
c7 cfg file used with xl create -f c7.cfg
builder = "hvm"
name = "c7"
memory = "2048"
vcpus = 4
vif = ['bridge=xenbr0']
disk = ['phy:/dev/vg_centos6/centos7,hda,w']
vnc = 1
@gautamMalu
gautamMalu / gist:b71197f5f53ae366fbaf
Created May 26, 2015 12:00
strace -o/tmp/xl_list.strace xl list
execve("/usr/sbin/xl", ["xl", "list"], [/* 26 vars */]) = 0
brk(0) = 0x1b33000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd466ffb000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=82163, ...}) = 0
mmap(NULL, 82163, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd466fe6000
close(3) = 0
open("/lib64/libxlutil.so.4.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p,\0\0\0\0\0\0"..., 832) = 832
@gautamMalu
gautamMalu / networking in L1
Created May 26, 2015 13:13
networking setting
[root@localhost scripts]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.30 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::216:3eff:fe66:cd8f prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:66:cd:8f txqueuelen 1000 (Ethernet)
RX packets 9247 bytes 1009003 (985.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3675 bytes 2544527 (2.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
kernel-3.10.0-229.4.2.el7.x86_64
xen-doc-4.4.2-2.el7.x86_64
kernel-tools-3.10.0-229.4.2.el7.x86_64
kernel-3.10.0-229.el7.x86_64
xen-hypervisor-4.4.2-2.el7.x86_64
kernel-3.18.12-11.el7.x86_64
xen-runtime-4.4.2-2.el7.x86_64
xen-licenses-4.4.2-2.el7.x86_64
xen-4.4.2-2.el7.x86_64
xen-libs-4.4.2-2.el7.x86_64
@gautamMalu
gautamMalu / dmesg.log
Created May 28, 2015 12:22
this is the boot log of booting kernel linux linaro stable 3.10.52 on arndale exynos 5250 board. Display & networking is not working.
U-Boot 2013.01.-rc1 (Jul 10 2013 - 15:16:09) for ARNDALE5250
CPU: Exynos5250@1000MHz
Board: for ARNDALE5250
@gautamMalu
gautamMalu / .config
Created May 28, 2015 12:25
config file
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.10.52 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_NO_IOPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y