Problems with OpenWRT LTE driver adaptation - driver

everyone.
I tried to adapt the SLM730 LTE module to openwrt.
I use the latest v21.02.3 version
I added usb-modeswitch, kmod-mii, kmod-usb-net, kmod-usb-wdm, kmod-usb-net-qmi-wwan, uqmi, kmod-usb-serial-option, kmod-usb-serial, kmod-usb-serial-wwan, luci, luci-proto-qmi and modified the following files:
net/usb/qmi_wwan.c
usb/serial/option.c
usb/serial/usb_wwan.c
But it has been unable to dial successfully, only TX has data sent, RX is always 0.
The device should be successfully recognized.
root#OpenWrt:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
|__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 480M
|__ Port 2: Dev 3, If 0, Class=, Driver=option, 480M
|__ Port 2: Dev 3, If 1, Class=, Driver=option, 480M
|__ Port 2: Dev 3, If 2, Class=, Driver=option, 480M
|__ Port 2: Dev 3, If 3, Class=, Driver=option, 480M
|__ Port 2: Dev 3, If 4, Class=, Driver=, 480M
|__ Port 2: Dev 3, If 5, Class=, Driver=qmi_wwan, 480M
Here is the output of dmesg:
root#OpenWrt:~# dmesg
[ 0.000000] Linux version 5.4.188 (xu#xu-virtual-machine) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16554-1d4dea6d4f)) #0 Sat Apr 16 12:59:34 2022
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Asus RT-AC51U
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00035bf1
[ 0.000000] Readback ErrCtl register=00035bf1
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 122288K/131072K available (4745K kernel code, 206K rwdata, 1048K rodata, 1224K init, 205K bss, 8784K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x358/0x54c with crng_init=0
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007611] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[ 0.045493] pid_max: default: 32768 minimum: 301
[ 0.050185] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057240] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.071776] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.081258] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.087942] pinctrl core: initialized pinctrl subsystem
[ 0.093612] NET: Registered protocol family 16
[ 0.474655] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK)
[ 0.481162] mt7620-pci: probe of 10140000.pcie failed with error -1
[ 0.510746] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.516229] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.522244] GPIO line 10 (enable-leds) hogged as output/low
[ 0.527990] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.533337] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.544501] clocksource: Switched to clocksource systick
[ 0.551104] NET: Registered protocol family 2
[ 0.555548] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.563304] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.571455] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.578865] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.585705] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.592020] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.598370] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.605409] NET: Registered protocol family 1
[ 0.609655] PCI: CLS 0 bytes, default 32
[ 0.616407] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.624774] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.639628] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.645300] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.673582] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.681013] printk: console [ttyS0] disabled
[ 0.685220] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.694838] printk: console [ttyS0] enabled
[ 0.711374] printk: bootconsole [early0] disabled
[ 0.736465] spi spi0.0: force spi mode3
[ 0.755771] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.765400] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.778065] Creating 4 MTD partitions on "spi0.0":
[ 0.787625] 0x000000000000-0x000000030000 : "u-boot"
[ 0.798620] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.810317] 0x000000040000-0x000000050000 : "factory"
[ 0.821535] 0x000000050000-0x000001000000 : "firmware"
[ 0.836226] 2 uimage-fw partitions found on MTD device firmware
[ 0.848103] Creating 2 MTD partitions on "firmware":
[ 0.858012] 0x000000000000-0x0000001e828c : "kernel"
[ 0.869101] 0x0000001e828c-0x000000fb0000 : "rootfs"
[ 0.880012] mtd: device 5 (rootfs) set to be root filesystem
[ 0.893263] 1 squashfs-split partitions found on MTD device rootfs
[ 0.905655] 0x00000056d000-0x000000fb0000 : "rootfs_data"
[ 0.928631] gsw: setting port4 to ephy mode
[ 0.937039] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 3 link up (100Mbps/Full duplex)
[ 0.955759] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 0.968361] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.985429] rt2880_wdt 10000120.watchdog: Initialized
[ 0.997153] NET: Registered protocol family 10
[ 1.010488] Segment Routing with IPv6
[ 1.018010] NET: Registered protocol family 17
[ 1.026942] 8021q: 802.1Q VLAN Support v1.8
[ 1.044632] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.065693] Freeing unused kernel memory: 1224K
[ 1.074737] This architecture does not have kernel memory protection.
[ 1.087570] Run /sbin/init as init process
[ 1.376461] random: fast init done
[ 1.986622] init: Console is alive
[ 1.993833] init: - watchdog -
[ 3.420622] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.635304] usbcore: registered new interface driver usbfs
[ 3.646413] usbcore: registered new interface driver hub
[ 3.657139] usbcore: registered new device driver usb
[ 3.674675] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.689736] ehci-fsl: Freescale EHCI Host controller driver
[ 3.702634] ehci-platform: EHCI generic platform driver
[ 3.723451] phy phy-usbphy.0: remote usb device wakeup disabled
[ 3.735261] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 3.744124] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 3.755613] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 3.771544] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 3.788422] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 3.801994] hub 1-0:1.0: USB hub found
[ 3.809990] hub 1-0:1.0: 1 port detected
[ 3.823568] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.837841] ohci-platform: OHCI generic platform driver
[ 3.848666] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 3.862262] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 3.878194] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 3.915374] hub 2-0:1.0: USB hub found
[ 3.923373] hub 2-0:1.0: 1 port detected
[ 3.936495] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.955358] init: - preinit -
[ 4.080508] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 4.668805] hub 1-1:1.0: USB hub found
[ 4.768271] hub 1-1:1.0: 4 ports detected
[ 4.848520] random: procd: uninitialized urandom read (4 bytes read)
[ 5.231629] usb 1-1.2: new high-speed USB device number 3 using ehci-platform
[ 5.251938] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.431566] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.916295] urandom_read: 4 callbacks suppressed
[ 5.916304] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.396876] 8021q: adding VLAN 0 to HW filter on device eth0
[ 8.040037] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 8.058390] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 8.181039] procd: - early -
[ 8.187091] procd: - watchdog -
[ 8.847980] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.948155] procd: - watchdog -
[ 8.955179] procd: - ubus -
[ 9.185351] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.221234] procd: - init -
[ 11.701987] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.988760] usbcore: registered new interface driver cdc_wdm
[ 12.017931] Loading modules backported from Linux version v5.10.110-0-g3238bffaf992
[ 12.033279] Backport generated by backports.git v5.10.110-1-0-g1fbde860
[ 12.113347] usbcore: registered new interface driver usbserial_generic
[ 12.126509] usbserial: USB Serial support registered for generic
[ 12.193556] xt_time: kernel timezone is -0000
[ 12.239731] urngd: jent-rng init failed, err: 2
[ 12.401783] PPP generic driver version 2.4.2
[ 12.413893] NET: Registered protocol family 24
[ 12.426633] qmi_wwan 1-1.2:1.5: work on RawIP mode
[ 12.437478] qmi_wwan 1-1.2:1.5: cdc-wdm0: USB WDM device
[ 12.449206] qmi_wwan 1-1.2:1.5 wwan0: register 'qmi_wwan' at usb-101c0000.ehci-1.2, WWAN/QMI device, 7a:a8:ae:e9:6e:86
[ 12.470905] usbcore: registered new interface driver qmi_wwan
[ 12.627036] usbcore: registered new interface driver option
[ 12.638338] usbserial: USB Serial support registered for GSM modem (1-port)
[ 12.652833] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 12.665686] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 12.679853] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 12.692748] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 12.706902] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 12.719824] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 12.733958] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 12.746833] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 12.943757] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 12.958194] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 12.973669] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 12.987503] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.031948] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 24.722303] crng init done
[ 46.735943] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 46.779026] jffs2_build_filesystem(): unlocking the mtd device...
[ 46.779981] done.
[ 46.796204] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 48.934666] 8021q: adding VLAN 0 to HW filter on device eth0
[ 49.060777] br-lan: port 1(eth0.1) entered blocking state
[ 49.071639] br-lan: port 1(eth0.1) entered disabled state
[ 49.082849] device eth0.1 entered promiscuous mode
[ 49.092455] device eth0 entered promiscuous mode
[ 49.237050] br-lan: port 1(eth0.1) entered blocking state
[ 49.247889] br-lan: port 1(eth0.1) entered forwarding state
[ 49.938878] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 293.242138] done.
[ 293.246035] jffs2: notice: (2443) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 293.495834] overlayfs: upper fs does not support tmpfile.
Attach a screenshot of the network interface
The modified driver code is attached, please refer to
drivers.zip
After two weeks of research, I really have no clue. Please forgive my English writing.
Please give me some pointers. Thank you!

Related

qla2xxx - SNS scan failed

We have two hypervisor(Dell PowerEdge R630, virtualization environment: Proxmox), they are connected with an FC-switch and the FC-switch with the storage(dell compellent).
One of the hypervisor are connected via multipath to the storage and it's works.
The other hypervisor doesn't found the storage.
The not-finder-hypervisor says:
kernel: qla2xxx [0000:81:00.0]-001d: : Found an ISP2532 irq 93 iobase 0x00000000bf40f73b.
kernel: scsi host13: qla2xxx
kernel: qla2xxx [0000:81:00.0]-500a:13: LOOP UP detected (8 Gbps).
kernel: qla2xxx [0000:81:00.0]-00fb:13: QLogic QLE2562 - PCI-Express Dual Channel 8Gb Fibre Channel HBA.
kernel: qla2xxx [0000:81:00.0]-00fc:13: ISP2532: PCIe (5.0GT/s x8) # 0000:81:00.0 hdma+ host#=13 fw=8.07.00 (90d5).
kernel: qla2xxx [0000:81:00.0]-209e:13: SNS scan failed -- assuming zero-entry result.
The multipath module is loaded into kernel. Both hypervisor have the same loaded modules.
dm_multipath 28672 1 dm_round_robin
Check SAN-zoning and LUN-secuty on the array: they must define and allow host-connection with the array and LUNs on it.

HDMI port and VGA port not recognized on Fedora 27 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
My new laptop has an NVIDIA graphics card (not sure which one). I have freshly installed Fedora 27. However, I cannot get my HDMI or VGA port to work or even be recognized. I've tried following the instructions at https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/ and https://fedoraproject.org/wiki/Bumblebee (as well as a few others), but have been unsuccessful thus so far.
Here is some output from various commands for context:
> xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 77.00*
> sudo lspci -v | grep -A 15 'VGA'
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) (prog-if 00 [VGA controller])
Subsystem: Dell Device 07d1
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at eb000000 (64-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel modules: i915
> sudo lspci -v | grep -A 18 '3D'
01:00.0 3D controller: NVIDIA Corporation Device 179c (rev a2)
Subsystem: Dell Device 07d1
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at ec000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [disabled] [size=128]
Expansion ROM at ed000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] #19
Kernel modules: nouveau
Any ideas?
It ended up being because I installed my OS in Basic Graphics Mode: https://ask.fedoraproject.org/en/question/46846/what-does-nomodeset-do/

linuxkit getty getting stuck

I am currently trying out linuxkit external disk.
However, getty is getting stuck whenever I placed binds definition, it would not go pass the login prompt.
kernel:
image: linuxkit/kernel:4.9.52
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:7804129bd06218b72c298139a25698a748d253c6
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
- linuxkit/containerd:417f83f7b8dc1fa36acf90effe44f99c7397480a
- linuxkit/ca-certificates:e44b0a66df5a102c0e220f0066b0d904710dcb10
onboot:
- name: sysctl
image: linuxkit/sysctl:154913b72c6f1f33eb408609fca9963628e8c051
- name: dhcpcd
image: linuxkit/dhcpcd:d4408777ed6b6e6e562a5d4938fd09804324b33e
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:158d992b7bf7ab984100c697d7e72161ea7d7382
- name: mount
image: linuxkit/mount:96ac4d32d340ac6e4ddfbf506fa3a497d23649da
command: ["/usr/bin/mountie", "/tmp"]
services:
- name: getty
image: linuxkit/getty:bf6872ce0a9f3ab519b3e502cc41ba3958bda2a6
capabilities:
- all
binds:
- /tmp:/tmp
- name: rngd
image: linuxkit/rngd:558e86a36242bb74353bc9287b715ddb8567357e
files:
- path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes)
contents: 'root:$6$6tPd2uhHrecCEKug$8mKfcgfwguP7f.BLdZsT1Wz7WIIJOBY1oUFHzIv9/O71M2J0EPdtFqFGTxB1UK5ejqQxRFQ.ZSG9YXR0SNsc11:17322:0:::::'
And my linuxkit run command is as follows:
linuxkit -v run qemu -disk /home/tweakmy/slowdisk/linuxkit/getty/blank.img,size=3G,format=qcow2 getty2.iso
This is the screen where I am stuck:
> [ 0.000000] Linux version 4.9.52-linuxkit (root#b81a1f7ba2ff) (gcc version 6.3.0 (Alpine 6.3.0) ) #1 SMP Thu Sep 28 15:02:54 UTC
> 2017
> [ 0.000000] Command line: BOOT_IMAGE=/boot/kernel console=tty0 console=ttyS0 console=ttyAMA0 root=/dev/sr0
> [ 0.000000] x86/fpu: Legacy x87 FPU detected.
> [ 0.000000] x86/fpu: Using 'eager' FPU context switches.
> [ 0.000000] e820: BIOS-provided physical RAM map:
> [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
> [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
> [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
> [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffdefff] usable
> [ 0.000000] BIOS-e820: [mem 0x000000003ffdf000-0x000000003fffffff] reserved
> [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
> [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
> [ 0.000000] NX (Execute Disable) protection: active
> [ 0.000000] SMBIOS 2.8 present.
> [ 0.000000] e820: last_pfn = 0x3ffdf max_arch_pfn = 0x400000000
> [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT
> [ 0.000000] found SMP MP-table at [mem 0x000f6630-0x000f663f] mapped at [ffff92a1000f6630]
> [ 0.000000] ACPI: Early table checksum verification disabled
> [ 0.000000] ACPI: RSDP 0x00000000000F6460 000014 (v00 BOCHS )
> [ 0.000000] ACPI: RSDT 0x000000003FFE2267 000038 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
> [ 0.000000] ACPI: FACP 0x000000003FFE1E32 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
> [ 0.000000] ACPI: DSDT 0x000000003FFE0040 001DF2 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001)
> [ 0.000000] ACPI: FACS 0x000000003FFE0000 000040
> [ 0.000000] ACPI: SSDT 0x000000003FFE1EA6 0002D5 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001)
> [ 0.000000] ACPI: APIC 0x000000003FFE217B 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: HPET 0x000000003FFE21F3 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001)
> [ 0.000000] ACPI: MCFG 0x000000003FFE222B 00003C (v01 BOCHS BXPCMCFG 00000001 BXPC 00000001)
> [ 0.000000] Zone ranges:
> [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
> [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000003ffdefff]
> [ 0.000000] Normal empty
> [ 0.000000] Movable zone start for each node
> [ 0.000000] Early memory node ranges
> [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
> [ 0.000000] node 0: [mem 0x0000000000100000-0x000000003ffdefff]
> [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffdefff]
> [ 0.000000] ACPI: PM-Timer IO Port: 0x608
> [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
> [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
> [ 0.000000] Using ACPI (MADT) for SMP configuration information
> [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
> [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
> [ 0.000000] e820: [mem 0x40000000-0xafffffff] available for PCI devices
> [ 0.000000] Booting paravirtualized kernel on bare hardware
> [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
> [ 0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:1 nr_node_ids:1
> [ 0.000000] percpu: Embedded 35 pages/cpu #ffff92a13fc00000 s105240 r8192 d29928 u2097152
> [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257896
> [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/kernel console=tty0 console=ttyS0 console=ttyAMA0 root=/dev/sr0
> [ 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: 1014172K/1048052K available (8035K kernel code, 1367K rwdata, 2696K rodata, 1380K init, 568K bss, 33880K
> reserved, 0K cma-reserved)
> [ 0.000000] Hierarchical RCU implementation.
> [ 0.000000] Build-time adjustment of leaf fanout to 64.
> [ 0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=1.
> [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
> [ 0.000000] NR_IRQS:8448 nr_irqs:256 16
> [ 0.000000] Console: colour VGA+ 80x25
> [ 0.000000] console [tty0] enabled
> [ 0.000000] console [ttyS0] enabled
> [ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
> [ 0.000000] tsc: Fast TSC calibration using PIT
> [ 0.000000] tsc: Detected 3394.161 MHz processor
> [ 0.020805] Calibrating delay loop (skipped), value calculated using timer frequency.. 6788.32 BogoMIPS (lpj=33941610)
> [ 0.021301] pid_max: default: 32768 minimum: 301
> [ 0.021766] ACPI: Core revision 20160831
> [ 0.051169] ACPI: 2 ACPI AML tables successfully acquired and loaded
> [ 0.052932] Security Framework initialized
> [ 0.053092] Yama: becoming mindful.
> [ 0.054186] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
> [ 0.054407] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
> [ 0.065666] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
> [ 0.065816] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
> [ 0.213551] Freeing SMP alternatives memory: 20K
> [ 0.218208] ftrace: allocating 35516 entries in 139 pages
> [ 0.316894] smpboot: Max logical packages: 1
> [ 0.323220] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> [ 0.430000] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x6, stepping: 0x3)
> [ 0.430000] Performance Events: PMU not available due to virtualization, using software events only.
> [ 0.430000] x86: Booted up 1 node, 1 CPUs
> [ 0.430000] smpboot: Total of 1 processors activated (6788.32 BogoMIPS)
> [ 0.431509] NMI watchdog: disabled (cpu0): hardware events not enabled
> [ 0.431704] NMI watchdog: Shutting down hard lockup detector on all cpus
> [ 0.440776] devtmpfs: initialized
> [ 0.443633] x86/mm: Memory block size: 128MB
> [ 0.478379] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
> [ 0.478698] futex hash table entries: 256 (order: 2, 16384 bytes)
> [ 0.483445] NET: Registered protocol family 16
> [ 0.489199] cpuidle: using governor ladder
> [ 0.489359] cpuidle: using governor menu
> [ 0.490130] ACPI: bus type PCI registered
> [ 0.491828] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xb0000000-0xbfffffff] (base 0xb0000000)
> [ 0.492159] PCI: MMCONFIG at [mem 0xb0000000-0xbfffffff] reserved in E820
> [ 0.492812] PCI: Using configuration type 1 for base access
> [ 0.531450] HugeTLB registered 2 MB page size, pre-allocated 0 pages
> [ 0.538790] ACPI: Added _OSI(Module Device)
> [ 0.538902] ACPI: Added _OSI(Processor Device)
> [ 0.539012] ACPI: Added _OSI(3.0 _SCP Extensions)
> [ 0.539147] ACPI: Added _OSI(Processor Aggregator Device)
> [ 0.585379] ACPI: Interpreter enabled
> [ 0.585758] ACPI: (supports S0 S5)
> [ 0.586102] ACPI: Using IOAPIC for interrupt routing
> [ 0.587008] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
> [ 0.619328] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
> [ 0.619839] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
> [ 0.623139] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME PCIeCapability]
> [ 0.625196] PCI host bridge to bus 0000:00
> [ 0.625377] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
> [ 0.625564] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
> [ 0.625743] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
> [ 0.625948] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
> [ 0.626226] pci_bus 0000:00: root bus resource [bus 00-ff]
> [ 0.651380] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO
> [ 0.671821] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
> [ 0.673270] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
> [ 0.674330] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
> [ 0.675368] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
> [ 0.676522] ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *10 11)
> [ 0.677613] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 *10 11)
> [ 0.678626] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 *11)
> [ 0.679460] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 *11)
> [ 0.679860] ACPI: PCI Interrupt Link [GSIA] (IRQs *16)
> [ 0.680257] ACPI: PCI Interrupt Link [GSIB] (IRQs *17)
> [ 0.680507] ACPI: PCI Interrupt Link [GSIC] (IRQs *18)
> [ 0.680763] ACPI: PCI Interrupt Link [GSID] (IRQs *19)
> [ 0.681018] ACPI: PCI Interrupt Link [GSIE] (IRQs *20)
> [ 0.681270] ACPI: PCI Interrupt Link [GSIF] (IRQs *21)
> [ 0.681531] ACPI: PCI Interrupt Link [GSIG] (IRQs *22)
> [ 0.681773] ACPI: PCI Interrupt Link [GSIH] (IRQs *23)
> [ 0.684151] ACPI: Enabled 16 GPEs in block 00 to 3F
> [ 0.687071] SCSI subsystem initialized
> [ 0.688025] ACPI: bus type USB registered
> [ 0.688723] usbcore: registered new interface driver usbfs
> [ 0.689160] usbcore: registered new interface driver hub
> [ 0.690058] usbcore: registered new device driver usb
> [ 0.690710] pps_core: LinuxPPS API ver. 1 registered
> [ 0.690836] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti#linux.it>
> [ 0.691124] PTP clock support registered
> [ 0.691748] wmi: Mapper loaded
> [ 0.692310] PCI: Using ACPI for IRQ routing
> [ 0.702615] NetLabel: Initializing
> [ 0.702735] NetLabel: domain hash size = 128
> [ 0.702860] NetLabel: protocols = UNLABELED CIPSOv4
> [ 0.703897] NetLabel: unlabeled traffic allowed by default
> [ 0.704460] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
> [ 0.705076] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
> [ 0.705363] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
> [ 0.710792] clocksource: Switched to clocksource hpet
> [ 0.853794] VFS: Disk quotas dquot_6.6.0
> [ 0.854214] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [ 0.855696] FS-Cache: Loaded
> [ 0.858617] CacheFiles: Loaded
> [ 0.859503] pnp: PnP ACPI init
> [ 0.870398] pnp: PnP ACPI: found 5 devices
> [ 0.902634] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
> [ 0.904149] NET: Registered protocol family 2
> [ 0.908186] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
> [ 0.908544] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
> [ 0.908888] TCP: Hash tables configured (established 8192 bind 8192)
> [ 0.910261] UDP hash table entries: 512 (order: 2, 16384 bytes)
> [ 0.910503] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> [ 0.911805] NET: Registered protocol family 1
> [ 0.912306] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
> [ 0.929224] PCLMULQDQ-NI instructions are not detected.
> [ 0.929727] AVX or AES-NI instructions are not detected.
> [ 0.929918] CPU feature 'AVX registers' is not supported.
> [ 0.930322] CPU feature 'AVX registers' is not supported.
> [ 0.930516] CPU feature 'AVX registers' is not supported.
> [ 0.930679] CPU feature 'AVX registers' is not supported.
> [ 0.930853] AVX2 or AES-NI instructions are not detected.
> [ 0.931025] AVX2 instructions are not detected.
> [ 0.934248] audit: initializing netlink subsys (disabled)
> [ 0.935302] audit: type=2000 audit(1507033386.930:1): initialized
> [ 0.939467] workingset: timestamp_bits=46 max_order=18 bucket_order=0
> [ 0.943051] FS-Cache: Netfs 'cifs' registered for caching
> [ 0.943453] fuse init (API version 7.26)
> [ 0.944703] SGI XFS with ACLs, security attributes, no debug enabled
> [ 0.946675] 9p: Installing v9fs 9p2000 file system support
> [ 0.946881] FS-Cache: Netfs '9p' registered for caching
> [ 0.963743] NET: Registered protocol family 38
> [ 0.964009] Key type asymmetric registered
> [ 0.964162] Asymmetric key parser 'x509' registered
> [ 0.964553] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
> [ 0.965177] io scheduler noop registered
> [ 0.965335] io scheduler deadline registered (default)
> [ 0.965680] io scheduler cfq registered
> [ 0.967207] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> [ 0.967409] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
> [ 0.967786] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> [ 0.968171] hv_vmbus: registering driver hyperv_fb
> [ 0.970941] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
> [ 0.971483] ACPI: Power Button [PWRF]
> [ 0.974145] GHES: HEST is not enabled!
> [ 0.979701] ACPI: PCI Interrupt Link [GSIG] enabled at IRQ 22
> [ 0.981277] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy driver
> [ 0.986222] ACPI: PCI Interrupt Link [GSIH] enabled at IRQ 23
> [ 0.986554] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
> [ 0.987788] xenfs: not registering filesystem on non-xen platform
> [ 0.989043] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [ 1.011940] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
> [ 1.018118] Non-volatile memory driver v1.3
> [ 1.021651] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 seconds, margin is 60 seconds).
> [ 1.051511] loop: module loaded
> [ 1.058762] nbd: registered device at major 43
> [ 1.085048] lpc_ich 0000:00:1f.0: RCBA is disabled by hardware/BIOS, device disabled
> [ 1.085414] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized
> [ 1.085629] lpc_ich 0000:00:1f.0: No MFD cells added
> [ 1.086574] VMware PVSCSI driver - version 1.0.7.0-k
> [ 1.086921] hv_vmbus: registering driver hv_storvsc
> [ 1.092274] ACPI: PCI Interrupt Link [GSIA] enabled at IRQ 16
> [ 1.095960] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode
> [ 1.096204] ahci 0000:00:1f.2: flags: ncq only
> [ 1.111650] scsi host0: ahci
> [ 1.113866] scsi host1: ahci
> [ 1.115211] scsi host2: ahci
> [ 1.116497] scsi host3: ahci
> [ 1.117772] scsi host4: ahci
> [ 1.119029] scsi host5: ahci
> [ 1.120130] ata1: SATA max UDMA/133 abar m4096#0xfebd2000 port 0xfebd2100 irq 24
> [ 1.120448] ata2: SATA max UDMA/133 abar m4096#0xfebd2000 port 0xfebd2180 irq 24
> [ 1.120645] ata3: SATA max UDMA/133 abar m4096#0xfebd2000 port 0xfebd2200 irq 24
> [ 1.120847] ata4: SATA max UDMA/133 abar m4096#0xfebd2000 port 0xfebd2280 irq 24
> [ 1.121067] ata5: SATA max UDMA/133 abar m4096#0xfebd2000 port 0xfebd2300 irq 24
> [ 1.121290] ata6: SATA max UDMA/133 abar m4096#0xfebd2000 port 0xfebd2380 irq 24
> [ 1.127988] tun: Universal TUN/TAP device driver, 1.6
> [ 1.128131] tun: (C) 1999-2004 Max Krasnyansky <maxk#qualcomm.com>
> [ 1.135619] VMware vmxnet3 virtual NIC driver - version 1.4.a.0-k-NAPI
> [ 1.136192] hv_vmbus: registering driver hv_netvsc
> [ 1.136435] Fusion MPT base driver 3.04.20
> [ 1.136628] Copyright (c) 1999-2008 LSI Corporation
> [ 1.136939] Fusion MPT SPI Host driver 3.04.20
> [ 1.138154] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
> [ 1.141004] serio: i8042 KBD port at 0x60,0x64 irq 1
> [ 1.141291] serio: i8042 AUX port at 0x60,0x64 irq 12
> [ 1.143263] hv_vmbus: registering driver hyperv_keyboard
> [ 1.144518] mousedev: PS/2 mouse device common for all mice
> [ 1.146480] random: fast init done
> [ 1.147649] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
> [ 1.149387] input: PC Speaker as /devices/platform/pcspkr/input/input2
> [ 1.152614] rtc_cmos 00:00: RTC can wake from S4
> [ 1.156152] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
> [ 1.157273] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram, hpet irqs
> [ 1.157913] i2c /dev entries driver
> [ 1.159306] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel#redhat.com
> [ 1.163046] usbcore: registered new interface driver usbhid
> [ 1.163345] usbhid: USB HID core driver
> [ 1.163761] hv_utils: Registering HyperV Utility Driver
> [ 1.163992] hv_vmbus: registering driver hv_util
> [ 1.164204] hv_vmbus: registering driver hv_balloon
> [ 1.164536] oprofile: using NMI interrupt.
> [ 1.165219] GACT probability on
> [ 1.165513] Mirror/redirect action on
> [ 1.166086] Simple TC action Loaded
> [ 1.166446] u32 classifier
> [ 1.166583] Performance counters on
> [ 1.166761] input device check on
> [ 1.166934] Actions configured
> [ 1.167295] Netfilter messages via NETLINK v0.30.
> [ 1.167631] nfnl_acct: registering with nfnetlink.
> [ 1.168502] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
> [ 1.170713] ctnetlink v0.93: registering with nfnetlink.
> [ 1.173036] nf_tables: (c) 2007-2009 Patrick McHardy <kaber#trash.net>
> [ 1.173555] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo#netfilter.org>
> [ 1.174999] xt_time: kernel timezone is -0000
> [ 1.175250] ip_set: protocol 6
> [ 1.175601] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
> [ 1.175912] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
> [ 1.176885] IPVS: Creating netns size=2104 id=0
> [ 1.178270] IPVS: ipvs loaded.
> [ 1.178429] IPVS: [rr] scheduler registered.
> [ 1.178613] IPVS: [wrr] scheduler registered.
> [ 1.178781] IPVS: [lc] scheduler registered.
> [ 1.178943] IPVS: [wlc] scheduler registered.
> [ 1.179104] IPVS: [fo] scheduler registered.
> [ 1.179258] IPVS: [ovf] scheduler registered.
> [ 1.179479] IPVS: [lblc] scheduler registered.
> [ 1.179701] IPVS: [lblcr] scheduler registered.
> [ 1.179882] IPVS: [dh] scheduler registered.
> [ 1.180044] IPVS: [sh] scheduler registered.
> [ 1.180598] IPVS: [sed] scheduler registered.
> [ 1.180857] IPVS: [nq] scheduler registered.
> [ 1.181507] IPVS: ftp: loaded support on port[0] = 21
> [ 1.182279] ipip: IPv4 and MPLS over IPv4 tunneling driver
> [ 1.186673] gre: GRE over IPv4 demultiplexor driver
> [ 1.188779] ip_tables: (C) 2000-2006 Netfilter Core Team
> [ 1.191375] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
> [ 1.191803] arp_tables: arp_tables: (C) 2002 David S. Miller
> [ 1.193550] NET: Registered protocol family 10
> [ 1.199911] ip6_tables: (C) 2000-2006 Netfilter Core Team
> [ 1.204865] NET: Registered protocol family 17
> [ 1.205437] Bridge firewalling registered
> [ 1.205702] Ebtables v2.0 registered
> [ 1.206749] 8021q: 802.1Q VLAN Support v1.8
> [ 1.207607] 9pnet: Installing 9P2000 support
> [ 1.208453] Key type dns_resolver registered
> [ 1.209055] microcode: AMD CPU family 0x6 not supported
> [ 1.211556] registered taskstats version 1
> [ 1.221238] Key type big_key registered
> [ 1.222689] Key type encrypted registered
> [ 1.224875] rtc_cmos 00:00: setting system clock to 2017-10-03 12:23:07 UTC (1507033387)
> [ 1.452864] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> [ 1.456756] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
> [ 1.457129] ata3.00: applying bridge limits
> [ 1.458326] ata2: SATA link down (SStatus 0 SControl 300)
> [ 1.459404] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> [ 1.460621] ata1.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100
> [ 1.460936] ata1.00: 6291456 sectors, multi 16: LBA48 NCQ (depth 31/32)
> [ 1.461326] ata1.00: applying bridge limits
> [ 1.462129] ata1.00: configured for UDMA/100
> [ 1.463843] ata6: SATA link down (SStatus 0 SControl 300)
> [ 1.464096] ata5: SATA link down (SStatus 0 SControl 300)
> [ 1.464642] ata4: SATA link down (SStatus 0 SControl 300)
> [ 1.465121] ata3.00: configured for UDMA/100
> [ 1.476104] scsi 0:0:0:0: Direct-Access ATA QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5
> [ 1.481672] sd 0:0:0:0: [sda] 6291456 512-byte logical blocks: (3.22 GB/3.00 GiB)
> [ 1.483328] sd 0:0:0:0: [sda] Write Protect is off
> [ 1.483818] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [ 1.486493] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [ 1.490757] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5
> [ 1.492993] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
> [ 1.493262] cdrom: Uniform CD-ROM driver Revision: 3.20
> [ 1.501226] sr 2:0:0:0: Attached scsi generic sg1 type 5
> [ 1.502777] sda: sda1
> [ 1.509588] sd 0:0:0:0: [sda] Attached SCSI disk
> [ 1.545030] FAT-fs (sr0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
> [ 1.547194] FAT-fs (sr0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
> [ 1.551881] VFS: Mounted root (iso9660 filesystem) readonly on device 11:0.
> [ 1.632754] Freeing unused kernel memory: 1380K
> [ 1.632905] Write protecting the kernel read-only data: 12288k
> [ 1.636369] Freeing unused kernel memory: 140K
> [ 1.703301] Freeing unused kernel memory: 1400K
> [ 1.920501] tsc: Refined TSC clocksource calibration: 3394.155 MHz
> [ 1.920948] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x30ecbcc6c3d, max_idle_ns: 440795207542 ns
> [ 2.940581] clocksource: Switched to clocksource tsc
>
> Welcome to LinuxKit
>
> ## .
> ## ## ## ==
> ## ## ## ## ## ===
> /"""""""""""""""""\___/ ===
> { / ===-
> \______ O __/
> \ \ __/
> \____\_______/
>
> [ 6.609377] 8021q: adding VLAN 0 to HW filter on device eth0
> [ 7.123456] IPVS: Creating netns size=2104 id=1
> [ 7.123918] IPVS: ftp: loaded support on port[0] = 21
> [ 8.354013] IPVS: Creating netns size=2104 id=2
> [ 8.354294] IPVS: ftp: loaded support on port[0] = 21
> [ 9.536923] random: crng init done
> [ 9.604634] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
> [ 9.609077] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
> [ 9.661331] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
> [ 14.967631] IPVS: Creating netns size=2104 id=3
> [ 14.968941] IPVS: ftp: loaded support on port[0] = 21
I can see the mounting. But I am not too sure the mounting did eventually happend on the linuxkit guest?
The documentation is a little bit unclear on this: binds doesn't add the mount points, but replaces them. The documentation update is pending, but to solve your particular problem, just please put all the existing binds into the .yml (an example below shows how to add the custom aliases to getty):
services:
- name: getty
image: linuxkit/getty:bf6872ce0a9f3ab519b3e502cc41ba3958bda2a6
env:
- INSECURE=true
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /run:/run
- /tmp:/tmp
- /etc:/hostroot/etc
- /usr/bin/ctr:/usr/bin/ctr
- /usr/bin/runc:/usr/bin/runc
- /containers:/containers
- /var/log:/var/log
- /dev:/dev
- /sys:/sys
- /etc/profile.d/aliases.sh:/etc/profile.d/aliases.sh
files:
- path: etc/profile.d/aliases.sh
contents: |
alias c='clear'

Chronos framework connect and disconnect from Mesos

this is my first question, I hope to do all correctly.
I have 3 dockers on differents hosts with zookeeper, mesos, and chronos.
Mesos slaves are correctly subscribed to the master. Chronos tasks are syncronized with each host.
The problem is: chronos framework is connecting and disconnecting:
0915 12:12:11.132375 49 master.cpp:2231] Received SUBSCRIBE call for framework 'chronos-2.4.0' at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
I0915 12:12:11.132647 49 master.cpp:2302] Subscribing framework chronos-2.4.0 with checkpointing enabled and capabilities [ ]
I0915 12:12:11.133229 49 master.cpp:2312] Framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740 already subscribed, resending acknowledgement
W0915 12:12:11.133322 49 master.hpp:1764] Master attempted to send message to disconnected framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
E0915 12:12:11.133745 55 process.cpp:1958] Failed to shutdown socket with fd 41: Transport endpoint is not connected
I0915 12:12:25.648849 52 master.cpp:2231] Received SUBSCRIBE call for framework 'chronos-2.4.0' at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
I0915 12:12:25.649029 52 master.cpp:2302] Subscribing framework chronos-2.4.0 with checkpointing enabled and capabilities [ ]
I0915 12:12:25.649060 52 master.cpp:2312] Framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740 already subscribed, resending acknowledgement
W0915 12:12:25.649116 52 master.hpp:1764] Master attempted to send message to disconnected framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
E0915 12:12:25.649433 55 process.cpp:1958] Failed to shutdown socket with fd 41: Transport endpoint is not connected
I0915 12:13:15.146510 50 master.cpp:2231] Received SUBSCRIBE call for framework 'chronos-2.4.0' at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
I0915 12:13:15.146759 50 master.cpp:2302] Subscribing framework chronos-2.4.0 with checkpointing enabled and capabilities [ ]
I0915 12:13:15.146848 50 master.cpp:2312] Framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740 already subscribed, resending acknowledgement
W0915 12:13:15.146939 50 master.hpp:1764] Master attempted to send message to disconnected framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
E0915 12:13:15.147408 55 process.cpp:1958] Failed to shutdown socket with fd 41: Transport endpoint is not connected
I0915 12:14:04.957185 51 master.cpp:2231] Received SUBSCRIBE call for framework 'chronos-2.4.0' at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
I0915 12:14:04.957341 51 master.cpp:2302] Subscribing framework chronos-2.4.0 with checkpointing enabled and capabilities [ ]
I0915 12:14:04.957363 51 master.cpp:2312] Framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740 already subscribed, resending acknowledgement
W0915 12:14:04.957392 51 master.hpp:1764] Master attempted to send message to disconnected framework 71c69a28-ef16-4ed1-b869-04df66f84b5d-0000 (chronos-2.4.0) at scheduler-e6ebc7bc-8edb-45e9-ad68-3fa36566b55b#10.xxx.xxx.xxx:61740
E0915 12:14:04.957844 55 process.cpp:1958] Failed to shutdown socket with fd 41: Transport endpoint is not connected
In this case, mesos-master and chronos framework are in the same docker, but I suspect that can not connect to Chronos at port 61740 (That is a ephemeral port)
netstat capture:
tcpdump capture:
root#HOSTNAME:/# tcpdump -i eth0 port 61740 -v
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
12:30:41.013731 IP (tos 0x0, ttl 64, id 12013, offset 0, flags [DF], proto TCP (6), length 60)
172.xxx.xxx.xxx.29468 > HOSTNAME.61740: Flags [S], cksum 0xb989 (incorrect -> 0xa894), seq 1155265525, win 14600, options [mss 1460,sackOK,TS val 852942104 ecr 0,nop,wscale 6], len gth 0
12:30:41.013780 IP (tos 0x0, ttl 64, id 49727, offset 0, flags [DF], proto TCP (6), length 40)
HOSTNAME.61740 > 172.xxx.xxx.xxx.29468: Flags [R.], cksum 0x595a (correct), seq 0, ack 1155265526, win 0, length 0
12:31:18.129849 IP (tos 0x0, ttl 64, id 64040, offset 0, flags [DF], proto TCP (6), length 60)
172.xxx.xxx.xxx.30564 > HOSTNAME.61740: Flags [S], cksum 0xb989 (incorrect -> 0x97fb), seq 535270461, win 14600, options [mss 1460,sackOK,TS val 852979221 ecr 0,nop,wscale 6], leng th 0
12:31:18.129892 IP (tos 0x0, ttl 64, id 6441, offset 0, flags [DF], proto TCP (6), length 40)
HOSTNAME.61740 > 172.xxx.xxx.xxx.30564: Flags [R.], cksum 0xd9be (correct), seq 0, ack 535270462, win 0, length 0
12:31:36.451417 IP (tos 0x0, ttl 64, id 21303, offset 0, flags [DF], proto TCP (6), length 60)
172.xxx.xxx.xxx.31103 > HOSTNAME.61740: Flags [S], cksum 0xb989 (incorrect -> 0x10c7), seq 186377873, win 14600, options [mss 1460,sackOK,TS val 852997542 ecr 0,nop,wscale 6], leng th 0
12:31:36.451470 IP (tos 0x0, ttl 64, id 13169, offset 0, flags [DF], proto TCP (6), length 40)
HOSTNAME.61740 > 172.xxx.xxx.xxx.31103: Flags [R.], cksum 0x9a1b (correct), seq 0, ack 186377874, win 0, length 0
12:31:41.619076 IP (tos 0x0, ttl 64, id 41997, offset 0, flags [DF], proto TCP (6), length 60)
172.xxx.xxx.xxx.31252 > HOSTNAME.61740: Flags [S], cksum 0xb989 (incorrect -> 0xfe18), seq 2176478683, win 14600, options [mss 1460,sackOK,TS val 853002710 ecr 0,nop,wscale 6], length 0
12:31:41.619119 IP (tos 0x0, ttl 64, id 13179, offset 0, flags [DF], proto TCP (6), length 40)
HOSTNAME.61740 > 172.xxx.xxx.xxx.31252: Flags [R.], cksum 0x9b9d (correct), seq 0, ack 2176478684, win 0, length 0
The IP 172.xxx.xxx.xxx is the container IP, but I actually run mesos-master like this:
mesos-master --log_dir=/var/log/mesos/master/ --work_dir=/var/log/mesos/work/ --quorum=2 --cluster=XXXX --zk=file:///etc/mesos/zk --advertise_ip=10.XXX.XXX.XXX --hostname=HOSTNAME
Any idea or suggestion will be appreciated.
Thanks.
At tcpdump catpure we can see the incorrect checksum. It seem like a bug in kernel version (3.10). This fixes in 3.14+, but i cant check because we cant updating in this enviroment.
https://tech.vijayp.ca/linux-kernel-bug-delivers-corrupt-tcp-ip-data-to-mesos-kubernetes-docker-containers-4986f88f7a19#.w6eui9yc9

open 2 USB cameras simultaneously on VLC player Ubuntu 12.04

How I open a Camera:
In terminal (text after the $ prompt = commands that I type):_________________
$ ls /dev/video*
/dev/video0 /dev/video1
$ vlc v4l2:///dev/video0
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0x9f2d908] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
VLC starts playing camera output.
In another new terminal (BOLD = commands that I type):
$ vlc v4l2:///dev/video1
VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b)
[0x9b24908] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0xb0500960] v4l2 demux error: VIDIOC_STREAMON failed
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
[0xb0501188] v4l2 access error: cannot set input 0: Device or resource busy
[0xb0501188] v4l2 access error: cannot set input 0: Device or resource busy
[0xb5300618] main input error: open of `v4l2:///dev/video1' failed
No video is played, only error message.
Primary Objective: I want to open two cameras simultaneously in opencv (c++) ... got similar errors with opencv .. so I'm using VLC Player to debug the issue.
The errors when opening two cameras simultaneously using c++ opencv ( the code is similar to https://code.ros.org/trac/opencv/browser/trunk/opencv/samples/cpp/starter_video.cpp?rev=4705 )
e557822#e557822-T740:~/Desktop/Camera/starter_video2$ ls /dev/video*
/dev/video0 /dev/video1 /dev/video2
e557822#e557822-T740:~/Desktop/Camera/starter_video2$ ./starter_video2 0 1
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
press space to save a picture. q or esc to quit
init done
opengl support available
libv4l2: error turning on stream: No space left on device
VIDIOC_STREAMON: No space left on device
UPDATE 7/24 :
This Ubuntu 12.04 (32- bit) is a guest OS running on VMware Fusion. The host OS here is OSX 10.9.4 running on a Mac Pro computer hardware.
$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 0, Class=hub, Driver=hub/7p, 12M
|__ Port 1: Dev 4, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
|__ Port 1: Dev 4, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
|__ Port 1: Dev 6, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 1: Dev 6, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 2: Dev 7, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 2: Dev 7, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
$
This is USB bandwidth problem, not VLC one.
VIDIOC_STREAMON: No space left on device is message which is given when USB bandwidth is full.
Most modern USB cameras do high speed, high density image output. USB2 is limited to 480Mbps which is 60 megabytes/s theoretical. In practice all kind of overhead will use about half of it and 30 megabytes/s is maximum you can get. This means camera can send 1 megabyte image at 30fps.
All you can do is get motherboard with multiple USB buses. All small computers tend to have just one. High-end gaming motherboards have 2..3 USB2.0 buses. You can see it under linux:
$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 4: Dev 2, If 0, Class=scard, Driver=usbfs, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/8p, 480M
|__ Port 5: Dev 3, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
|__ Port 5: Dev 3, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/2p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/6p, 480M
|__ Port 3: Dev 3, If 0, Class=vend., Driver=rts5139, 480M
|__ Port 5: Dev 4, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 5: Dev 4, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
$
Most probably both cameras are connected to same bus.
Other option is to reduct FPS speed or resolution. But this not always helping because I have seen cameras which reserve 80% of USB bandwidth anyway.

Resources