Skip to content

Instantly share code, notes, and snippets.

@thehajime
Created December 16, 2020 12:57
Show Gist options
  • Save thehajime/801e2257f096f6a5c28f2a9c0f3e70fd to your computer and use it in GitHub Desktop.
Save thehajime/801e2257f096f6a5c28f2a9c0f3e70fd to your computer and use it in GitHub Desktop.
zakzak3:~/work/ukontainer/frankenlibc% RUMP_VERBOSE=1 ./rump/bin/rexec ./rumpobj/tests/fork-test rootfs:/home/tazaki/tmp/disk.img -- /bin/busybox_unstripped hush
setenv: __RUMP_FDINFO_ROOT=3
[ 0.000000] Linux version 4.19.0+ ([email protected]) (gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC)) #1 Wed Dec 16 20:33:38 JST 2020
[ 0.000000] bootmem address range: 0x7f2a73850000 - 0x7f2a79c4f000
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 25249
[ 0.000000] Kernel command line: mem=100M virtio-pci.force_legacy=1 virtio_mmio.device=292@0x1000000:1
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000000] Memory available: 100592k/102396k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] lkl: time and timers initialized (irq2)
[ 0.000002] pid_max: default: 4096 minimum: 301
[ 0.000020] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000023] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.003902] console [lkl_console0] enabled
[ 0.003971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.004099] futex hash table entries: 16 (order: -4, 384 bytes)
[ 0.004240] random: get_random_u32 called from bucket_table_alloc.isra.6+0x9b/0x220 with crng_init=0
[ 0.004385] NET: Registered protocol family 16
[ 0.004783] vgaarb: loaded
[ 0.004889] clocksource: Switched to clocksource lkl
[ 0.005014] NET: Registered protocol family 2
[ 0.005170] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes)
[ 0.005267] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.005363] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.005446] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.005571] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.005659] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.005820] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x1000123, IRQ 1.
[ 0.006017] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[ 0.006871] SGI XFS with ACLs, security attributes, no debug enabled
[ 0.007190] 9p: Installing v9fs 9p2000 file system support
[ 0.007707] io scheduler noop registered
[ 0.007759] io scheduler deadline registered
[ 0.007849] io scheduler cfq registered (default)
[ 0.007909] io scheduler mq-deadline registered
[ 0.007966] io scheduler kyber registered
[ 0.008025] virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.008251] virtio_blk virtio0: [vda] 409600 512-byte logical blocks (210 MB/200 MiB)
[ 0.008650] NET: Registered protocol family 10
[ 0.008852] Segment Routing with IPv6
[ 0.008916] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.009073] 9pnet: Installing 9P2000 support
[ 0.009157] PCI: root bus 00: using default resources
[ 0.009241] PCI host bridge to bus 0000:00
[ 0.009297] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.009372] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffffffffff]
[ 0.009467] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.009595] This architecture does not have kernel memory protection.
[ 0.009708] Run /init as init process
[ 0.009771] FDPIC ____ LOAD 1 ____
rumpuser started.
[ 0.010222] EXT4-fs (vda): recovery complete
[ 0.010285] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts:
parent pid=1, ppid=0
[ 0.010649] regs.sp=7fffa5fbc500, ssize=1200
[ 0.010736] FDPIC ____ LOAD 40 ____
[ 0.010832] FDPIC Using ELF interpreter /lib/ld-musl-x86_64.so.1
[ 0.013454] FDPIC Mapped Object [executable]:
[ 0.013505] FDPIC - elfhdr : 7f2a73e00000
[ 0.013557] FDPIC - entry : 7f2a73e0e708
[ 0.013606] FDPIC - PHDR[] : 7f2a73e00040
[ 0.013691] FDPIC - DYNAMIC[]: 7f2a73f84230
[ 0.013744] FDPIC - LOAD[0] : 00007f2a73e00000-00007f2a73e0c19f [va=0 ms=c1a0]
[ 0.013830] FDPIC - LOAD[1] : 00007f2a73e0d000-00007f2a73f53a8b [va=d000 ms=146a8c]
[ 0.013923] FDPIC - LOAD[2] : 00007f2a73f54000-00007f2a73f7f643 [va=154000 ms=2b644]
[ 0.014028] FDPIC - LOAD[3] : 00007f2a73f81400-00007f2a73f855a7 [va=181400 ms=41a8]
[ 0.028542] FDPIC Mapped Object [interpreter]:
[ 0.028587] FDPIC - elfhdr : 7f2a77000000
[ 0.028632] FDPIC - entry : 7f2a7761fdfe
[ 0.028678] FDPIC - PHDR[] : 7f2a77000040
[ 0.028729] FDPIC - DYNAMIC[]: 7f2a77786388
[ 0.028783] FDPIC - LOAD[0] : 00007f2a77000000-00007f2a7775061b [va=0 ms=75061c]
[ 0.028879] FDPIC - LOAD[1] : 00007f2a777520e0-00007f2a779a137f [va=7520e0 ms=24f2a0]
[ 0.029063] FDPIC - start_code 7f2a73e0d000
[ 0.029118] FDPIC - end_code 7f2a73f53a8c
[ 0.029174] FDPIC - start_data 7f2a73e00000
[ 0.029227] FDPIC - end_data 7f2a73e0c1a0
[ 0.029280] FDPIC - start_brk 7f2a73fa0000
[ 0.029336] FDPIC - brk 7f2a73fa0000
[ 0.029390] FDPIC - start_stack 7f2a73fbfd40
[ 0.039202] no fd found
/bin/busybox_unstripped ls -l
[ 5.307509] regs.sp=7f2a73fbf4d0, ssize=1200
[ 5.307925] FDPIC ____ LOAD 42 ____
[ 5.308249] FDPIC Using ELF interpreter /lib/ld-musl-x86_64.so.1
zsh: segmentation fault (core dumped) RUMP_VERBOSE=1 ./rump/bin/rexec ./rumpobj/tests/fork-test -- hush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment