Skip to content

Instantly share code, notes, and snippets.

@DieterReuter
Created October 7, 2017 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DieterReuter/805f121a3203f5b7311f4cd088c2997f to your computer and use it in GitHub Desktop.
Save DieterReuter/805f121a3203f5b7311f4cd088c2997f to your computer and use it in GitHub Desktop.
LinuxKit RPi3 using gettyInInitWithFirmwareModulesAndDhcpcd-initrd.img
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.13-bee42-v8 (root@b90b7cd7fee9) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Fri Mar 3 16:42:37 UTC 2017
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 8 MiB at 0x000000003dc00000
[ 0.000000] percpu: Embedded 22 pages/cpu @ffffffc0fe583000 s52632 r8192 d29288 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 251496
[ 0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000 +dwc_otg.lpm_enable=0 console=tty1 xxxroot=/dev/mmcblk0p2 initrd=-1 xxxrootfstype=ext4 cgroup_enable=cpuset cgroup_enable=memory swapaccount=1 elevator=deadline fsck.repair=yes rootwait console=ttyS0,115200 kgdboc=ttyS0,115200 net.ifnames=0
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Memory: 938832K/1021952K available (6588K kernel code, 758K rwdata, 2384K rodata, 2624K init, 830K bss, 74928K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8826680000 - 0xffffff8826cf0000 ( 6592 KB)
[ 0.000000] .rodata : 0xffffff8826cf0000 - 0xffffff8826f50000 ( 2432 KB)
[ 0.000000] .init : 0xffffff8826f50000 - 0xffffff88271e0000 ( 2624 KB)
[ 0.000000] .data : 0xffffff88271e0000 - 0xffffff882729da00 ( 759 KB)
[ 0.000000] .bss : 0xffffff882729da00 - 0xffffff882736d214 ( 831 KB)
[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf03000000 - 0xffffffbf03f98000 ( 15 MB actual)
[ 0.000000] memory : 0xffffffc0c0000000 - 0xffffffc0fe600000 ( 998 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] Failed to get local register map. FIQ is disabled for cpus > 1
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000235] Console: colour dummy device 80x25
[ 0.001476] console [tty1] enabled
[ 0.001521] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[ 0.001584] pid_max: default: 32768 minimum: 301
[ 0.001931] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.001972] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.003136] ftrace: allocating 22747 entries in 89 pages
[ 0.061840] ASID allocator initialised with 65536 entries
[ 0.069764] EFI services will not be available.
[ 0.078756] Detected VIPT I-cache on CPU1
[ 0.078818] CPU1: Booted secondary processor [410fd034]
[ 0.085865] Detected VIPT I-cache on CPU2
[ 0.085911] CPU2: Booted secondary processor [410fd034]
[ 0.092983] Detected VIPT I-cache on CPU3
[ 0.093025] CPU3: Booted secondary processor [410fd034]
[ 0.093128] Brought up 4 CPUs
[ 0.093318] SMP: Total of 4 processors activated.
[ 0.093357] CPU features: detected feature: 32-bit EL0 Support
[ 0.093460] CPU: All CPU(s) started at EL2
[ 0.093520] alternatives: patching kernel code
[ 0.094772] devtmpfs: initialized
[ 0.111601] DMI not present or invalid.
[ 0.111980] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.112053] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.112731] pinctrl core: initialized pinctrl subsystem
[ 0.113504] NET: Registered protocol family 16
[ 0.125399] cpuidle: using governor menu
[ 0.125909] vdso: 2 pages (1 code @ ffffff8826cf7000, 1 data @ ffffff88271e4000)
[ 0.125975] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.128121] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.128259] Serial: AMBA PL011 UART driver
[ 0.133075] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.133951] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.186882] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.187888] bcm2835-dma 3f007000.dma: DMA legacy API manager at ffffff800804b000, dmachans=0x1
[ 0.190385] SCSI subsystem initialized
[ 0.190622] usbcore: registered new interface driver usbfs
[ 0.190748] usbcore: registered new interface driver hub
[ 0.190919] usbcore: registered new device driver usb
[ 0.191217] dmi: Firmware registration failed.
[ 0.192347] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-09-22 19:51
[ 0.194164] clocksource: Switched to clocksource arch_sys_counter
[ 0.269380] VFS: Disk quotas dquot_6.6.0
[ 0.269510] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.269798] FS-Cache: Loaded
[ 0.270238] CacheFiles: Loaded
[ 0.285107] NET: Registered protocol family 2
[ 0.286188] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.286340] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.286590] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.286786] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.286863] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.287242] NET: Registered protocol family 1
[ 0.287836] RPC: Registered named UNIX socket transport module.
[ 0.287873] RPC: Registered udp transport module.
[ 0.287904] RPC: Registered tcp transport module.
[ 0.287934] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.288321] Trying to unpack rootfs image as initramfs...
[ 4.363674] Freeing initrd memory: 43200K (ffffffc0ec5cf000 - ffffffc0eefff000)
[ 4.368469] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 4.371585] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 4.393834] FS-Cache: Netfs 'nfs' registered for caching
[ 4.395048] NFS: Registering the id_resolver key type
[ 4.395114] Key type id_resolver registered
[ 4.395171] Key type id_legacy registered
[ 4.398238] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 4.398465] io scheduler noop registered
[ 4.398504] io scheduler deadline registered (default)
[ 4.398589] io scheduler cfq registered
[ 4.405083] BCM2708FB: allocated DMA memory fdc50000
[ 4.405180] BCM2708FB: allocated DMA channel 0 @ ffffff800804b000
[ 4.410575] Console: switching to colour frame buffer device 80x30
[ 4.416451] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 4.419038] console [ttyS0] disabled
[ 4.420490] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 61, base_baud = 31250000) is a 16550
[ 5.128768] console [ttyS0] enabled
[ 5.134487] KGDB: Registered I/O driver kgdboc
[ 5.147003] bcm2835-rng 3f104000.rng: hwrng registered
[ 5.154068] Unable to detect cache hierarchy from DT for CPU 0
[ 5.180729] brd: module loaded
[ 5.196066] loop: module loaded
[ 5.200676] Loading iSCSI transport class v2.0-870.
[ 5.207722] usbcore: registered new interface driver smsc95xx
[ 5.214923] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 5.450245] Core Release: 2.80a
[ 5.454769] Setting default values for core params
[ 5.460987] Finished setting default values for core params
[ 5.668430] Using Buffer DMA mode
[ 5.673121] Periodic Transfer Interrupt Enhancement - disabled
[ 5.680372] Multiprocessor Interrupt Enhancement - disabled
[ 5.687369] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 5.693138] Dedicated Tx FIFOs mode
[ 5.698582] WARN::dwc_otg_hcd_init:1053: FIQ DMA bounce buffers: virt = 0x08197000 dma = 0xfdc44000 len=9024
[ 5.711359] FIQ FSM acceleration enabled for :
[ 5.711359] Non-periodic Split Transactions
[ 5.711359] Periodic Split Transactions
[ 5.711359] High-Speed Isochronous Endpoints
[ 5.711359] Interrupt/Control Split Transaction hack enabled
[ 5.740746] WARN::hcd_init_fiq:486: MPHI regs_base at 0x080fa000
[ 5.748260] dwc_otg 3f980000.usb: DWC OTG Controller
[ 5.754660] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 5.764739] dwc_otg 3f980000.usb: irq 15, io mem 0x00000000
[ 5.771800] Init: Port Power? op_state=1
[ 5.777164] Init: Power Port (0)
[ 5.782049] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.790346] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.800366] usb usb1: Product: DWC OTG Controller
[ 5.806534] usb usb1: Manufacturer: Linux 4.9.13-bee42-v8 dwc_otg_hcd
[ 5.814483] usb usb1: SerialNumber: 3f980000.usb
[ 5.821486] hub 1-0:1.0: USB hub found
[ 5.826704] hub 1-0:1.0: 1 port detected
[ 5.833434] usbcore: registered new interface driver usb-storage
[ 5.841246] mousedev: PS/2 mouse device common for all mice
[ 5.849498] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 5.858237] bcm2835-cpufreq: min=600000 max=1200000
[ 5.865135] sdhci: Secure Digital Host Controller Interface driver
[ 5.872790] sdhci: Copyright(c) Pierre Ossman
[ 5.879129] sdhost: log_buf @ ffffff80081b3000 (fdc47000)
[ 5.930209] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 5.959613] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 5.967137] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 5.998344] sdhci-pltfm: SDHCI platform and OF driver helper
[ 6.007889] ledtrig-cpu: registered to indicate activity on CPUs
[ 6.015512] hidraw: raw HID events driver (C) Jiri Kosina
[ 6.022595] usbcore: registered new interface driver usbhid
[ 6.029644] usbhid: USB HID core driver
[ 6.035221] Initializing XFRM netlink socket
[ 6.040980] NET: Registered protocol family 17
[ 6.047013] Key type dns_resolver registered
[ 6.052714] mmc0: host does not support reading read-only switch, assuming write-enable
[ 6.063459] Registered cp15_barrier emulation handler
[ 6.063477] Registered setend emulation handler
[ 6.064513] registered taskstats version 1
[ 6.072564] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 72, base_baud = 0) is a PL011 rev2
[ 6.073742] of_cfs_init
[ 6.073952] of_cfs_init: OK
[ 6.076997] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 6.093288] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 6.097446] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 6.108811] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 6.128857] Indeed it is in host mode hprt0 = 00021501
[ 6.132585] Freeing unused kernel memory: 2624K (ffffffc0c0950000 - ffffffc0c0be0000)
[ 6.146136] mmc0: new high speed SDHC card at address aaaa
[ 6.162487] mmcblk0: mmc0:aaaa SU16G 14.8 GiB
[ 6.209321] random: fast init done
[ 6.220115] mmcblk0: p1
[ 6.253902] mmc1: new high speed SDIO card at address 0001
[ 6.324234] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 6.332371] Indeed it is in host mode hprt0 = 00001101
[ 6.514747] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 6.522994] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 6.532829] hub 1-1:1.0: USB hub found
[ 6.538203] hub 1-1:1.0: 5 ports detected
[ 6.832272] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 6.928769] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 6.937128] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 6.950089] smsc95xx v1.0.5
[ 7.001396] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:1d:12:a7
[ 7.482088] random: crng init done
1970/01/01 00:00:08 Failed to run hwclock: exit status 70
Welcome to LinuxKit
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
{ / ===-
\______ O __/
\ \
Welcome to LinuxKit
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""___/ ===
{ / ===-
______ O __/
__/
___________/
login[157]: root login on 'tty1'
linuxkit-b827eb1d12a7 login: root (automatic login)
Welcome to LinuxKit!
NOTE: This system is namespaced.
The namespace you are currently in may not be the root.
login[164]: root login on 'ttyS0'
linuxkit-b827eb1d12a7:~# 1970/01/01 00:00:08 Cannot open /proc/sys/net/ipv6/conf/all/accept_redirects: open /proc/sys/net/ipv6/conf/all/accept_redirects: no such file or directory
INFO[0000] starting containerd module=containerd revision=20c621178a5f45938e71afad24df281002aac329 version=v1.0.0-beta.1
INFO[0000] loading plugin "io.containerd.content.v1.content"... module=containerd type=io.containerd.content.v1
INFO[0000] loading plugin "io.containerd.metadata.v1.bolt"... module=containerd type=io.containerd.metadata.v1
INFO[0000] loading plugin "io.containerd.differ.v1.walking"... module=containerd type=io.containerd.differ.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.containers"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.content"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.diff"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.events"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.healthcheck"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.images"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.namespaces"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.snapshotter.v1.btrfs"... module=containerd type=io.containerd.snapshotter.v1
WARN[0000] failed to load plugin io.containerd.snapshotter.v1.btrfs error="path /var/lib/containerd/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" module=containerd
INFO[0000] loading plugin "io.containerd.snapshotter.v1.overlayfs"... module=containerd type=io.containerd.snapshotter.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.snapshots"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.monitor.v1.cgroups"... module=containerd type=io.containerd.monitor.v1
INFO[0000] loading plugin "io.containerd.runtime.v1.linux"... module=containerd type=io.containerd.runtime.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.tasks"... module=containerd type=io.containerd.grpc.v1
INFO[0000] loading plugin "io.containerd.grpc.v1.version"... module=containerd type=io.containerd.grpc.v1
INFO[0000] serving... address="/run/containerd/debug.sock" module="containerd/debug"
INFO[0000] serving... address="/run/containerd/containerd.sock" module="containerd/grpc"
INFO[0000] containerd successfully booted in 0.019934s module=containerd
INFO[0000] shim containerd-shim started address="/containerd-shim/default/rngd/shim.sock" debug=false module="containerd/tasks" pid=230
linuxkit-b827eb1d12a7:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether b8:27:eb:1d:12:a7 brd ff:ff:ff:ff:ff:ff
linuxkit-b827eb1d12a7:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment