Skip to content

Instantly share code, notes, and snippets.

$ make -j1 V=1 D=1 CFLAGS="-Og -fomit-frame-pointer -D_GNU_SOURCE" HAVE_SNMP=0 HAVE_PFM=0 LIBEXECINFO_LIBS=-lexecinfo &> make.j1.Og.s390x-tools.log
make -C libvtoc TOPDIR= ARCH=s390x all ;
make[1]: Entering directory '/home/edge/s390-tools-1.37.0/libvtoc'
gcc -MM -D_GNU_SOURCE -I../include -DS390_TOOLS_RELEASE=1.37.0-build-20180204 -DS390_TOOLS_LIBDIR=/lib/s390-tools -DS390_TOOLS_DATADIR=/usr/share/s390-tools -DS390_TOOLS_SYSCONFDIR=/etc -Og -fomit-frame-pointer -D_GNU_SOURCE vtoc.c > .vtoc.o.d
gcc -D_GNU_SOURCE -I../include -DS390_TOOLS_RELEASE=1.37.0-build-20180204 -DS390_TOOLS_LIBDIR=/lib/s390-tools -DS390_TOOLS_DATADIR=/usr/share/s390-tools -DS390_TOOLS_SYSCONFDIR=/etc -Og -fomit-frame-pointer -D_GNU_SOURCE -c vtoc.c -o vtoc.o
ar rcs libvtoc.a vtoc.o
make[1]: Leaving directory '/home/edge/s390-tools-1.37.0/libvtoc'
make -C libu2s TOPDIR= ARCH=s390x all ;
make[1]: Entering directory '/home/edge/s390-tools-1.37.0/libu2s'
zipl: file format elf64-s390
Disassembly of section .init:
00000000010036a8 <_init>:
10036a8: eb ef f0 70 00 24 stmg %r14,%r15,112(%r15)
10036ae: b9 04 00 0f lgr %r0,%r15
10036b2: a7 fb ff 60 aghi %r15,-160
This file has been truncated, but you can view the full file.
zipl: file format elf64-s390
Disassembly of section .interp:
0000000001000200 <.interp>:
1000200: 2f 6c swr %f6,%f12
1000202: 69 62 2f 6c cd %f6,3948(%r2,%r2)
1000206: 64 2d 6d 75 .long 0x642d6d75
zipl: file format elf64-s390
zipl
architecture: s390:64-bit, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x0000000001003fb0
Program Header:
PHDR off 0x0000000000000040 vaddr 0x0000000001000040 paddr 0x0000000001000040 align 2**3
filesz 0x00000000000001c0 memsz 0x00000000000001c0 flags r-x
zipl/src/zipl: file format elf64-s390
Contents of section .data:
101f000 00000000 00000000 00000001 00000001 ................
101f010 00010203 0709077f 0707070b 0c0d0e0f ................
101f020 10111213 070a0807 18190707 07070707 ................
101f030 07071c07 070a171b 07070707 07050607 ................
101f040 07071607 07070704 07070707 1415071a ................
101f050 20ff8384 85a00786 87a49b2e 3c282b7c ...........<(+|
000000000101ec20 d _DYNAMIC
000000000101eda0 d _GLOBAL_OFFSET_TABLE_
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
w _Jv_RegisterClasses
000000000101ebf8 d __CTOR_END__
000000000101ebf0 d __CTOR_LIST__
000000000101ec08 d __DTOR_END__
000000000101ec00 d __DTOR_LIST__
000000000101aaf8 r __EH_FRAME_BEGIN__
ELF Header:
Magic: 7f 45 4c 46 02 02 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, big endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: IBM S/390
Version: 0x1
[defaultboot]
defaultauto
prompt=1
timeout=5
default=linux
target=/boot
[linux]
image=/boot/vmlinuz
ramdisk=/boot/initrd.img
parameters="root=/dev/vda rd.md=0 rd.dm=0 KEYTABLE=us rd.luks=0 SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8"
localhost:/home/edge/s390-tools-1.37.0# ./zipl/src/zipl --verbose
Using config file '/etc/zipl.conf'
Target device information
Device..........................: fe:00
Device name.....................: vda
Device driver name..............: virtblk
Type............................: disk device
Disk layout.....................: SCSI disk layout
Geometry - start................: 0
File system block size..........: 4096
execve("zipl/src/zipl", ["zipl/src/zipl"], 0x3fffdfffcb0 /* 15 vars */) = 0
set_tid_address(0x3ff852281e0) = 6862
mprotect(0x3ff85225000, 4096, PROT_READ) = 0
mprotect(0x1028000, 4096, PROT_READ) = 0
brk(NULL) = 0x13457000
brk(0x13458000) = 0x13458000
ioctl(1, TIOCGWINSZ, 0x3ffc767e428) = -1 ENOTTY (Not a tty)
writev(1, [{iov_base="Using config file '/etc/zipl.con"..., iov_len=34}, {iov_base="\n", iov_len=1}], 2Using config file '/etc/zipl.conf'
) = 35
stat("/etc/zipl.conf", {st_mode=S_IFREG|0644, st_size=244, ...}) = 0