Closed NKV-obmc closed 1 year ago
On what hardware? On what version of the software? Latest?
We are using AST2600. Openbmc version 2.9
We are using AST2600. Openbmc version 2.9
You are asking about a release almost 2.5 years ago from around the time the AST2600 first came out. Can you please check something more recent first? Generally we only support master. Anything older is left to vendors.
Hi Williamspatrick,
I successfully updated latest obmc-ikvm with 2.9 version. But this also in higher resolution kvm is not working. Please check the below journal logs
root@bullhwormb:~# journalctl -f | grep -i kvm Feb 17 06:57:41 bullhwormb obmc-ikvm[423]: Failed to request streaming buffers Feb 17 06:57:41 bullhwormb obmc-ikvm[423]: terminate called after throwing an instance of 'sdbusplus::xyz::openbmc_project::Common::Device::Error::ReadFailure' Feb 17 06:57:41 bullhwormb obmc-ikvm[423]: what(): xyz.openbmc_project.Common.Device.Error.ReadFailure: Failed to read from the device. This can be used by any application that gets a failure reading from a device. It is up to the implementation on how to react to this error based on the use-case. Refer to the interface specification that references this for additional information. Feb 17 06:57:41 bullhwormb obmc-ikvm[423]: Failed to read from the device. This can be used by any application that gets a failure reading from a device. It is up to the implementation on how to react to this error based on the use-case. Refer to the interface specification that references this for additional information. Feb 17 06:57:43 bullhwormb systemd[1]: start-ipkvm.service: Main process exited, code=dumped, status=6/ABRT Feb 17 06:57:43 bullhwormb systemd[1]: start-ipkvm.service: Failed with result 'core-dump'. Feb 17 06:57:44 bullhwormb systemd[1]: start-ipkvm.service: Scheduled restart job, restart counter is at 1. Feb 17 06:57:44 bullhwormb systemd[1]: Stopped OpenBMC ipKVM daemon. Feb 17 06:57:44 bullhwormb systemd[1]: Starting OpenBMC ipKVM daemon... Feb 17 06:57:44 bullhwormb systemd[1]: Started OpenBMC ipKVM daemon. Feb 17 06:57:44 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:44 Unable to establish connection with systemd socket Feb 17 06:57:44 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:44 Listening for VNC connections on TCP port 5900 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Got connection from client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 0 other clients Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Client Protocol Version 3.8 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Protocol version sent 3.8, using 3.8 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientSecurityType: executing handler for type 1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Pixel format for client 127.0.0.1: Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 32 bpp, depth 24, little endian Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type tightPng Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Using image quality level 6 for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Using JPEG subsampling 0, Q79 for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Using compression level 2 for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Enabling NewFBSize protocol extension for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Enabling LastRect protocol extension for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFE) Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Enabling ExtDesktopSize protocol extension for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC8) Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC7) Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECD) Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE) Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5664) Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Enabling full-color cursor updates for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Using tight encoding for client 127.0.0.1 Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: 17/02/2023 06:57:50 Sending rfbEncodingExtDesktopSize for size (800x600) Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: Failed to request streaming buffers Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: Failed to read from the device. This can be used by any application that gets a failure reading from a device. It is up to the implementation on how to react to this error based on the use-case. Refer to the interface specification that references this for additional information. Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: terminate called after throwing an instance of 'sdbusplus::xyz::openbmc_project::Common::Device::Error::ReadFailure' Feb 17 06:57:50 bullhwormb obmc-ikvm[6523]: what(): xyz.openbmc_project.Common.Device.Error.ReadFailure: Failed to read from the device. This can be used by any application that gets a failure reading from a device. It is up to the implementation on how to react to this error based on the use-case. Refer to the interface specification that references this for additional information. Feb 17 06:57:52 bullhwormb systemd[1]: start-ipkvm.service: Main process exited, code=dumped, status=6/ABRT Feb 17 06:57:52 bullhwormb systemd[1]: start-ipkvm.service: Failed with result 'core-dump'. Feb 17 06:57:52 bullhwormb systemd-coredump[6499]: Process 423 (obmc-ikvm) of user 0 dumped core. Feb 17 06:57:53 bullhwormb systemd[1]: start-ipkvm.service: Scheduled restart job, restart counter is at 2. Feb 17 06:57:53 bullhwormb systemd[1]: Stopped OpenBMC ipKVM daemon. Feb 17 06:57:53 bullhwormb systemd[1]: Starting OpenBMC ipKVM daemon... Feb 17 06:57:53 bullhwormb systemd[1]: Started OpenBMC ipKVM daemon. Feb 17 06:57:53 bullhwormb obmc-ikvm[6606]: 17/02/2023 06:57:53 Unable to establish connection with systemd socket Feb 17 06:57:53 bullhwormb obmc-ikvm[6606]: 17/02/2023 06:57:53 Listening for VNC connections on TCP port 5900 Feb 17 06:58:00 bullhwormb systemd-coredump[6578]: Process 6523 (obmc-ikvm) of user 0 dumped core.
@eddiejames - Can you comment on this further. Is there any limitation? Is there a configuration needed to reserve more vmem?
The log says 800x600? Does it work at all? We'd probably need the kernel logs too, enabled with echo "file drivers/media/* +p" > /sys/kernel/debug/dynamic_debug/control
Hi, Please check the below kernel logs.
-- Logs begin at Thu 1970-01-01 00:00:09 UTC, end at Mon 2023-02-20 09:03:02 UTC. --
Jan 01 00:00:09 bullhwormb kernel: Booting Linux on physical CPU 0xf00
Jan 01 00:00:09 bullhwormb kernel: Linux version 5.15.26 (oe-user@oe-host) (arm-openbmc-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.0.20200730) #1 SMP Mon Feb 13 05:51:19 UTC 2023
Jan 01 00:00:09 bullhwormb kernel: CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Jan 01 00:00:09 bullhwormb kernel: CPU: div instructions available: patching division code
Jan 01 00:00:09 bullhwormb kernel: CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Jan 01 00:00:09 bullhwormb kernel: OF: fdt: Machine model: ATOS AST2600 ORMB
Jan 01 00:00:09 bullhwormb kernel: earlycon: ns16550a0 at MMIO32 0x1e784000 (options '')
Jan 01 00:00:09 bullhwormb kernel: printk: bootconsole [ns16550a0] enabled
Jan 01 00:00:09 bullhwormb kernel: Memory policy: Data cache writealloc
Jan 01 00:00:09 bullhwormb kernel: cma: Reserved 16 MiB at 0xbe000000
Jan 01 00:00:09 bullhwormb kernel: Zone ranges:
Jan 01 00:00:09 bullhwormb kernel: Normal [mem 0x0000000080000000-0x00000000beffffff]
Jan 01 00:00:09 bullhwormb kernel: HighMem empty
Jan 01 00:00:09 bullhwormb kernel: Movable zone start for each node
Jan 01 00:00:09 bullhwormb kernel: Early memory node ranges
Jan 01 00:00:09 bullhwormb kernel: node 0: [mem 0x0000000080000000-0x00000000beffffff]
Jan 01 00:00:09 bullhwormb kernel: Initmem setup node 0 [mem 0x0000000080000000-0x00000000beffffff]
Jan 01 00:00:09 bullhwormb kernel: percpu: Embedded 14 pages/cpu s34700 r0 d22644 u57344
Jan 01 00:00:09 bullhwormb kernel: Built 1 zonelists, mobility grouping on. Total pages: 256032
Jan 01 00:00:09 bullhwormb kernel: Kernel command line: console=ttyS4,115200n8 panic=5 earlycon systemd.hostname=bullhwormb
Jan 01 00:00:09 bullhwormb kernel: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: mem auto-init: stack:off, heap alloc:off, heap free:off
Jan 01 00:00:09 bullhwormb kernel: Memory: 989992K/1032192K available (10240K kernel code, 860K rwdata, 2204K rodata, 1024K init, 188K bss, 25816K reserved, 16384K cma-reserved, 0K highmem)
Jan 01 00:00:09 bullhwormb kernel: random: get_random_u32 called from cache_alloc_refill+0x3bc/0x8bc with crng_init=0
Jan 01 00:00:09 bullhwormb kernel: ftrace: allocating 30637 entries in 60 pages
Jan 01 00:00:09 bullhwormb kernel: ftrace: allocated 60 pages with 4 groups
Jan 01 00:00:09 bullhwormb kernel: trace event string verifier disabled
Jan 01 00:00:09 bullhwormb kernel: rcu: Hierarchical RCU implementation.
Jan 01 00:00:09 bullhwormb kernel: rcu: RCU event tracing is enabled.
Jan 01 00:00:09 bullhwormb kernel: Rude variant of Tasks RCU enabled.
Jan 01 00:00:09 bullhwormb kernel: Tracing variant of Tasks RCU enabled.
Jan 01 00:00:09 bullhwormb kernel: rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
Jan 01 00:00:09 bullhwormb kernel: NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
Jan 01 00:00:09 bullhwormb kernel: arch_timer: cp15 timer(s) running at 1200.00MHz (phys).
Jan 01 00:00:09 bullhwormb kernel: clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x114c1bbbeec, max_idle_ns: 440795229572 ns
Jan 01 00:00:09 bullhwormb kernel: sched_clock: 56 bits at 1200MHz, resolution 0ns, wraps every 2199023255551ns
Jan 01 00:00:09 bullhwormb kernel: Switching to timer-based delay loop, resolution 0ns
Jan 01 00:00:09 bullhwormb kernel: Console: colour dummy device 80x30
Jan 01 00:00:09 bullhwormb kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 2400.00 BogoMIPS (lpj=12000000)
Jan 01 00:00:09 bullhwormb kernel: pid_max: default: 32768 minimum: 301
Jan 01 00:00:09 bullhwormb kernel: Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: CPU: Testing write buffer coherency: ok
Jan 01 00:00:09 bullhwormb kernel: Setting up static identity map for 0x80100000 - 0x80100054
Jan 01 00:00:09 bullhwormb kernel: rcu: Hierarchical SRCU implementation.
Jan 01 00:00:09 bullhwormb kernel: ASPEED AST2600 rev A3 (05030303)
Jan 01 00:00:09 bullhwormb kernel: smp: Bringing up secondary CPUs ...
Jan 01 00:00:09 bullhwormb kernel: smp: Brought up 1 node, 2 CPUs
Jan 01 00:00:09 bullhwormb kernel: SMP: Total of 2 processors activated (4800.00 BogoMIPS).
Jan 01 00:00:09 bullhwormb kernel: CPU: All CPU(s) started in SVC mode.
Jan 01 00:00:09 bullhwormb kernel: devtmpfs: initialized
Jan 01 00:00:09 bullhwormb kernel: VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
Jan 01 00:00:09 bullhwormb kernel: clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Jan 01 00:00:09 bullhwormb kernel: futex hash table entries: 512 (order: 3, 32768 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: pinctrl core: initialized pinctrl subsystem
Jan 01 00:00:09 bullhwormb kernel: NET: Registered PF_NETLINK/PF_ROUTE protocol family
Jan 01 00:00:09 bullhwormb kernel: DMA: preallocated 256 KiB pool for atomic coherent allocations
Jan 01 00:00:09 bullhwormb kernel: thermal_sys: Registered thermal governor 'step_wise'
Jan 01 00:00:09 bullhwormb kernel: hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
Jan 01 00:00:09 bullhwormb kernel: hw-breakpoint: maximum watchpoint size is 8 bytes.
Jan 01 00:00:09 bullhwormb kernel: Selected ahb
Jan 01 00:00:09 bullhwormb kernel: Selected 805306368
Jan 01 00:00:09 bullhwormb kernel: i2c global registered
Jan 01 00:00:09 bullhwormb kernel: AST2600 secure boot disabled
Jan 01 00:00:09 bullhwormb kernel: usbcore: registered new interface driver usbfs
Jan 01 00:00:09 bullhwormb kernel: usbcore: registered new interface driver hub
Jan 01 00:00:09 bullhwormb kernel: usbcore: registered new device driver usb
Jan 01 00:00:09 bullhwormb kernel: videodev: Linux video capture interface: v2.00
Jan 01 00:00:09 bullhwormb kernel: clocksource: Switched to clocksource arch_sys_counter
Jan 01 00:00:09 bullhwormb kernel: NET: Registered PF_INET protocol family
Jan 01 00:00:09 bullhwormb kernel: IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: TCP: Hash tables configured (established 8192 bind 8192)
Jan 01 00:00:09 bullhwormb kernel: UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
Jan 01 00:00:09 bullhwormb kernel: NET: Registered PF_UNIX/PF_LOCAL protocol family
Jan 01 00:00:09 bullhwormb kernel: Unpacking initramfs...
Jan 01 00:00:09 bullhwormb kernel: workingset: timestamp_bits=30 max_order=18 bucket_order=0
Jan 01 00:00:09 bullhwormb kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan 01 00:00:09 bullhwormb kernel: jffs2: version 2.2. (SUMMARY) © 2001-2006 Red Hat, Inc.
Jan 01 00:00:09 bullhwormb kernel: NET: Registered PF_ALG protocol family
Jan 01 00:00:09 bullhwormb kernel: ast-kcs-bmc 1e78902c.kcs: Initialised IPMI client for channel 3
Jan 01 00:00:09 bullhwormb kernel: ast-kcs-bmc 1e78902c.kcs: Initialised channel 3 at 0xca2
Jan 01 00:00:09 bullhwormb kernel: Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
Jan 01 00:00:09 bullhwormb kernel: 1e787000.serial: ttyS5 at MMIO 0x1e787000 (irq = 43, base_baud = 2343750) is a 16550A
Jan 01 00:00:09 bullhwormb kernel: 1e783000.serial: ttyS0 at MMIO 0x1e783000 (irq = 39, base_baud = 115384) is a 16550A
Jan 01 00:00:09 bullhwormb kernel: 1e784000.serial: ttyS4 at MMIO 0x1e784000 (irq = 40, base_baud = 115384) is a 16550A
Jan 01 00:00:09 bullhwormb kernel: printk: console [ttyS4] enabled
Jan 01 00:00:09 bullhwormb kernel: printk: bootconsole [ns16550a0] disabled
Jan 01 00:00:09 bullhwormb kernel: timeriomem_rng 1e6e2524.hwrng: 32bits from 0x(ptrval) @ 1us
Jan 01 00:00:09 bullhwormb kernel: random: fast init done
Jan 01 00:00:09 bullhwormb kernel: loop: module loaded
Jan 01 00:00:09 bullhwormb kernel: random: crng init done
Jan 01 00:00:09 bullhwormb kernel: aspeed_espi_slave 1e6ee000.espi: eSPI registered, irq 44
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: bus_width 4, Using 50 MHz SPI frequency
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: mt25ql512a (65536 Kbytes)
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: CE0 window [ 0x20000000 - 0x24000000 ] 64MB
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: CE1 window [ 0x24000000 - 0x24200000 ] 2MB
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: read control register: 406c0641
Jan 01 00:00:09 bullhwormb kernel: Freeing initrd memory: 1080K
Jan 01 00:00:09 bullhwormb kernel: 5 fixed-partitions partitions found on MTD device bmc
Jan 01 00:00:09 bullhwormb kernel: Creating 5 MTD partitions on "bmc":
Jan 01 00:00:09 bullhwormb kernel: 0x000000000000-0x0000000e0000 : "u-boot"
Jan 01 00:00:09 bullhwormb kernel: 0x0000000e0000-0x000000100000 : "u-boot-env"
Jan 01 00:00:09 bullhwormb kernel: 0x000000100000-0x000000a00000 : "kernel"
Jan 01 00:00:09 bullhwormb kernel: 0x000000a00000-0x000003600000 : "rofs"
Jan 01 00:00:09 bullhwormb kernel: 0x000003600000-0x000004000000 : "rwfs"
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: bus_width 4, Using 50 MHz SPI frequency
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: mt25ql512a (65536 Kbytes)
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: CE1 window [ 0x24000000 - 0x28000000 ] 64MB
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: CE2 window [ 0x28000000 - 0x30000000 ] 0MB (disabled)
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e620000.spi: read control register: 406c0441
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e630000.spi: bus_width 4, Using 50 MHz SPI frequency
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e630000.spi: unrecognized JEDEC id bytes: ff ff ff ff ff ff
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e630000.spi: Probe failed on chip cs 0
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc 1e630000.spi: Aspeed SMC probe failed -2
Jan 01 00:00:09 bullhwormb kernel: aspeed-smc: probe of 1e630000.spi failed with error -2
Jan 01 00:00:09 bullhwormb kernel: spi_aspeed 1e631000.spi: controller is unqueued, this is deprecated
Jan 01 00:00:09 bullhwormb kernel: gpio gpiochip1: (gpio-spi): line cnt 4096 is greater than fast path cnt 512
Jan 01 00:00:09 bullhwormb kernel: gpio_spi spi2.0: Driver probed successfully : gpio-spi-2.0
Jan 01 00:00:09 bullhwormb kernel: spi_aspeed 1e631000.spi: aspeed-spi-generic : driver loaded
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon0: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: ftgmac100 1e680000.ftgmac: Read MAC address 08:00:38:bd:62:11 from chip
Jan 01 00:00:09 bullhwormb kernel: Marvell 88E1510 1e650008.mdio-1:00: attached PHY driver (mii_bus:phy_addr=1e650008.mdio-1:00, irq=POLL)
Jan 01 00:00:09 bullhwormb kernel: ftgmac100 1e680000.ftgmac eth0: irq 33, mapped at 2c7ecef7
Jan 01 00:00:09 bullhwormb kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan 01 00:00:09 bullhwormb kernel: ehci-platform: EHCI generic platform driver
Jan 01 00:00:09 bullhwormb kernel: aspeed_vhub 1e6a0000.usb-vhub: Initialized virtual hub in USB2 mode
Jan 01 00:00:09 bullhwormb kernel: input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
Jan 01 00:00:09 bullhwormb kernel: i2c_dev: i2c /dev entries driver
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a080.i2c-bus: i2c-bus [0]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: pca953x 1-0022: using no AI
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a100.i2c-bus: i2c-bus [1]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: pca953x 2-0027: using no AI
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a180.i2c-bus: i2c-bus [2]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: at24 3-0050: 256 byte 24c02 EEPROM, read-only
Jan 01 00:00:09 bullhwormb kernel: at24 3-0051: 256 byte 24c02 EEPROM, read-only
Jan 01 00:00:09 bullhwormb kernel: pca953x 3-0022: using no AI
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a200.i2c-bus: i2c-bus [3]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a280.i2c-bus: i2c-bus [4]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a300.i2c-bus: i2c-bus [5]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: at24 6-0054: 256 byte 24c08 EEPROM, writable, 16 bytes/write
Jan 01 00:00:09 bullhwormb kernel: at24 6-0055: 256 byte 24c08 EEPROM, writable, 16 bytes/write
Jan 01 00:00:09 bullhwormb kernel: at24 6-0056: 256 byte 24c08 EEPROM, writable, 16 bytes/write
Jan 01 00:00:09 bullhwormb kernel: at24 6-0057: 256 byte 24c08 EEPROM, writable, 16 bytes/write
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a380.i2c-bus: i2c-bus [6]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a400.i2c-bus: i2c-bus [7]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a480.i2c-bus: i2c-bus [8]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a500.i2c-bus: i2c-bus [9]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a580.i2c-bus: i2c-bus [10]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: at24 12-0050: 128 byte 24c02 EEPROM, read-only
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a680.i2c-bus: i2c-bus [12]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a700.i2c-bus: i2c-bus [13]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a780.i2c-bus: i2c-bus [14]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c_ast2600 1e78a800.i2c-bus: i2c-bus [15]: adapter [100 khz] mode [1]
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-0: Added multiplexed i2c bus 16
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-0: Added multiplexed i2c bus 17
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-0: Added multiplexed i2c bus 18
Jan 01 00:00:09 bullhwormb kernel: pca953x 19-0022: using no AI
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-0: Added multiplexed i2c bus 19
Jan 01 00:00:09 bullhwormb kernel: pca954x 0-0074: registered 4 multiplexed busses for I2C switch pca9546
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-5: Added multiplexed i2c bus 20
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-5: Added multiplexed i2c bus 21
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-5: Added multiplexed i2c bus 22
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-5: Added multiplexed i2c bus 23
Jan 01 00:00:09 bullhwormb kernel: pca954x 5-0077: registered 4 multiplexed busses for I2C switch pca9546
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-8: Added multiplexed i2c bus 24
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-8: Added multiplexed i2c bus 25
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-8: Added multiplexed i2c bus 26
Jan 01 00:00:09 bullhwormb kernel: pca953x 27-0022: using no AI
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-8: Added multiplexed i2c bus 27
Jan 01 00:00:09 bullhwormb kernel: pca954x 8-0070: registered 4 multiplexed busses for I2C switch pca9546
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-13: Added multiplexed i2c bus 28
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-13: Added multiplexed i2c bus 29
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-13: Added multiplexed i2c bus 30
Jan 01 00:00:09 bullhwormb kernel: pca953x 31-0025: using no AI
Jan 01 00:00:09 bullhwormb kernel: i2c i2c-13: Added multiplexed i2c bus 31
Jan 01 00:00:09 bullhwormb kernel: pca954x 13-0072: registered 4 multiplexed busses for I2C switch pca9546
Jan 01 00:00:09 bullhwormb kernel: Driver for 1-wire Dallas network protocol.
Jan 01 00:00:09 bullhwormb kernel: aspeed_pwm_tachometer 1e610000.pwm-tacho-controller: pwm tach probe done
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon2: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-0048: hwmon2: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon3: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-0049: hwmon3: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon4: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-004a: hwmon4: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon5: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-004b: hwmon5: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon6: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-004c: hwmon6: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon7: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-004d: hwmon7: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon8: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-004e: hwmon8: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon9: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 6-004f: hwmon9: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon10: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 18-0049: hwmon10: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: hwmon hwmon11: temp1_input not attached to any thermal zone
Jan 01 00:00:09 bullhwormb kernel: lm75 26-0049: hwmon11: sensor 'tmp75'
Jan 01 00:00:09 bullhwormb kernel: nvidia_tesla_hwmon 24-004f: Get Vendor ID: SMBUS read failed
Jan 01 00:00:09 bullhwormb kernel: nvidia_tesla_hwmon 25-004f: Get Vendor ID: SMBUS read failed
Jan 01 00:00:09 bullhwormb kernel: vr13 14-0071: initialized
Jan 01 00:00:09 bullhwormb kernel: vr13 14-0072: initialized
Jan 01 00:00:09 bullhwormb kernel: vr13 14-0074: initialized
Jan 01 00:00:09 bullhwormb kernel: simple_psu 3-0058: PSU Found: LEAD YEAR TG20-1100-01
Jan 01 00:00:09 bullhwormb kernel: simple_psu 3-0059: PSU Found: LEAD YEAR TG20-1100-01
Jan 01 00:00:09 bullhwormb kernel: device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
Jan 01 00:00:09 bullhwormb kernel: sdhci: Secure Digital Host Controller Interface driver
Jan 01 00:00:09 bullhwormb kernel: sdhci: Copyright(c) Pierre Ossman
Jan 01 00:00:09 bullhwormb kernel: sdhci-pltfm: SDHCI platform and OF driver helper
Jan 01 00:00:09 bullhwormb kernel: usbcore: registered new interface driver usbhid
Jan 01 00:00:09 bullhwormb kernel: usbhid: USB HID core driver
Jan 01 00:00:09 bullhwormb kernel: peci peci-0: cdev of adapter [1e78b000.peci-bus] registered as minor 0
Jan 01 00:00:09 bullhwormb kernel: peci peci-0: Failed to register peci client at 0x30 (-5)
Jan 01 00:00:09 bullhwormb kernel: peci peci-0: Failed to create PECI device for /ahb/apb/bus@1e78b000/peci-bus@0/peci-client@30
Jan 01 00:00:09 bullhwormb kernel: peci_aspeed 1e78b000.peci-bus: peci bus 0 registered, irq 41
Jan 01 00:00:09 bullhwormb kernel: NET: Registered PF_INET6 protocol family
Jan 01 00:00:09 bullhwormb kernel: Segment Routing with IPv6
Jan 01 00:00:09 bullhwormb kernel: In-situ OAM (IOAM) with IPv6
Jan 01 00:00:09 bullhwormb kernel: sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
Jan 01 00:00:09 bullhwormb kernel: NET: Registered PF_PACKET protocol family
Jan 01 00:00:09 bullhwormb kernel: 8021q: 802.1Q VLAN Support v1.8
Jan 01 00:00:09 bullhwormb kernel: Registering SWP/SWPB emulation handler
Jan 01 00:00:09 bullhwormb kernel: input: fan-faults as /devices/platform/fan-faults/input/input2
Jan 01 00:00:09 bullhwormb kernel: printk: console [netcon0] enabled
Jan 01 00:00:09 bullhwormb kernel: netconsole: network logging started
Jan 01 00:00:09 bullhwormb kernel: of_cfs_init
Jan 01 00:00:09 bullhwormb kernel: of_cfs_init: OK
Jan 01 00:00:09 bullhwormb kernel: Freeing unused kernel image (initmem) memory: 1024K
Jan 01 00:00:09 bullhwormb kernel: Checked W+X mappings: passed, no W+X pages found
Jan 01 00:00:09 bullhwormb kernel: Run /init as init process
Jan 01 00:00:09 bullhwormb kernel: squashfs: SQUASHFS error: Xattrs in filesystem, these will be ignored
Jan 01 00:00:09 bullhwormb kernel: unable to read xattr id index table
Jan 01 00:00:09 bullhwormb kernel: jffs2: notice: (100) jffs2_build_xattr_subsystem: complete building xattr subsystem, 38 of xdatum (28 unchecked, 10 orphan) and 124 of xref (1 dead, 82 orphan) found.
Jan 01 00:00:09 bullhwormb kernel: overlayfs: upper fs does not support tmpfile.
Jan 01 00:00:09 bullhwormb kernel: overlayfs: upper fs does not support RENAME_WHITEOUT.
Jan 01 00:00:09 bullhwormb systemd[1]: Failed to look up module alias 'autofs4': Function not implemented
Jan 01 00:00:09 bullhwormb systemd[1]: systemd 246 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ -LZ4 -ZSTD -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
Jan 01 00:00:09 bullhwormb systemd[1]: Detected architecture arm.
Jan 01 00:00:09 bullhwormb systemd[1]: Set hostname to
Hi, Issue is most probably from aspeed-video.c file.
Mar 03 10:59:36 bullhwormb kernel: cma: cma_alloc: reserved: alloc failed, req-size: 256 pages, ret: -12 Mar 03 10:59:36 bullhwormb kernel: aspeed-video 1e700000.video: dma_alloc_coherent of size 1048576 failed Mar 03 10:59:36 bullhwormb obmc-ikvm[436]: Failed to request streaming buffers
These are the messages got from kernel during resolution change. Its from aspeed-video.c file.
Regards Nikhil
Hi, do you have a reserved memory region for the video engine? Seems like if you reserve some MB then it shouldn't have a problem... Here's the configuration from witherspoon bmc:
video_engine_memory: jpegbuffer {
size = <0x02000000>; /* 32MM */
alignment = <0x01000000>;
compatible = "shared-dma-pool";
reusable;
};
&video {
status = "okay";
memory-region = <&video_engine_memory>;
};
Hi Eddiejames,
I tried above configuration still facing the same issue,
Mar 06 07:08:39 bullhwormb obmc-ikvm[17311]: 06/03/2023 07:08:39 Using tight encoding for client 127.0.0.1 Mar 06 07:08:39 bullhwormb obmc-ikvm[17311]: 06/03/2023 07:08:39 Sending rfbEncodingExtDesktopSize for size (800x600) Mar 06 07:08:39 bullhwormb kernel: cma: cma_alloc: reserved: alloc failed, req-size: 2025 pages, ret: -12 Mar 06 07:08:39 bullhwormb kernel: aspeed-video 1e700000.video: Failed to allocate source buffers Mar 06 07:08:40 bullhwormb obmc-ikvm[17311]: 06/03/2023 07:08:40 Sending rfbEncodingExtDesktopSize for size (1920x1080) Mar 06 07:08:47 bullhwormb systemd-journald[124]: Forwarding to syslog missed 31 messages.
Regards Nikhil
Hi,
My current configuration is
video: video@1e700000 { compatible = "aspeed,ast2600-video-engine"; reg = <0x1e700000 0x1000>; clocks = <&syscon ASPEED_CLK_GATE_VCLK>, <&syscon ASPEED_CLK_GATE_ECLK>; clock-names = "vclk", "eclk"; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
&video { status = "okay"; memory-region = <&vga_memory>; };
Regards Nikhil
Its CMA memory allocation issue, increased the size resolved the issue
Hi, do you have a reserved memory region for the video engine? Seems like if you reserve some MB then it shouldn't have a problem... Here's the configuration from witherspoon bmc:
video_engine_memory: jpegbuffer { size = <0x02000000>; /* 32MM */ alignment = <0x01000000>; compatible = "shared-dma-pool"; reusable; }; &video { status = "okay"; memory-region = <&video_engine_memory>; };
Hi Eddiejames, This Configuration also working.. Thanks....
Hi,
Could you please let me know where to check current configuration like what @NKV-obmc showed?
Hi,
KVM is not loaded on higher resolutions. 1680 x 1050 1920 x 1080 Tested using windows server.
Regards Nikhil