TonyMac32 Posted August 4, 2019 Share Posted August 4, 2019 Boot.ini? No thank you. I'll come back when a proper U-boot exists for this one, it is not worth the absolute cluster that will result when we can finally uodateSent from my Pixel using Tapatalk 0 Quote Link to comment Share on other sites More sharing options...
lanefu Posted August 4, 2019 Share Posted August 4, 2019 Boot.ini? No thank you. I'll come back when a proper U-boot exists for this one, it is not worth the absolute cluster that will result when we can finally uodateSent from my Pixel using TapatalkIn boot.ini's defense its super easy to work with and the board is totally sweet.But yeah should remain CSC until proper u-boot and mainline exist. 0 Quote Link to comment Share on other sites More sharing options...
TonyMac32 Posted August 4, 2019 Share Posted August 4, 2019 Yes, and until we can merge it into the correct board family. I believe it should be in meson64, not free standing, and we should warn everyone that the images available now will not survive the change. [edit] @lanefu https://github.com/u-boot/u-boot/commit/b160fac9f7a9dc8021e2ad31e94a1460d1c51ff1 Let me look it over, and 5.3 has N2 support, like the rest of our Amlogic stuff I see no reason to cause ourselves pain by dealing with vendor kernels/etc. I may rename the current one Odroid-N2-Vendor or something if I can get mainline uboot + kernel under meson64. 0 Quote Link to comment Share on other sites More sharing options...
lanefu Posted August 4, 2019 Share Posted August 4, 2019 25 minutes ago, TonyMac32 said: Let me look it over, and 5.3 has N2 support, like the rest of our Amlogic stuff I see no reason to cause ourselves pain by dealing with vendor kernels/etc. I'm definitely in favor of switching u-boots.. As far as why we'd want to use Hardkernel's kernel repo... a TON of it works out of the box: Spoiler lane@brodroid:~$ sudo lsmod Module Size Used by rfcomm 53248 16 overlay 57344 1 fuse 114688 3 cpufreq_conservative 16384 0 cpufreq_ondemand 20480 0 cpufreq_userspace 16384 0 cpufreq_powersave 16384 0 bnep 24576 2 ftdi_sio 49152 0 btusb 45056 0 btrtl 16384 1 btusb btbcm 16384 1 btusb btintel 24576 1 btusb cmac 16384 1 zram 36864 2 bluetooth 425984 43 btrtl,btintel,bnep,btbcm,rfcomm,btusb rtc_pcf8563 20480 0 i2c_meson_master 20480 0 sch_fq_codel 20480 2amvdec_vp9 143360 0 amvdec_vc1 53248 0 amvdec_real 40960 0 amvdec_mmpeg4 20480 0 amvdec_mpeg4 53248 0 amvdec_mpeg12 90112 0 amvdec_mmjpeg 20480 0 amvdec_mjpeg 36864 0 amvdec_h265 118784 0 amvdec_h264mvc 49152 0 amvdec_mh264 139264 0 amvdec_h264 106496 0 amvdec_avs 61440 0 stream_input 159744 13 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,amvdec_real,amvdec_vp9,amvdec_h264,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mpeg4 decoder_common 131072 14 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mpeg4 firmware 24576 15 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,decoder_common,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mpeg4 media_clock 45056 2 decoder_common,stream_input ip_tables 32768 0 x_tables 49152 1 ip_tables 0 Quote Link to comment Share on other sites More sharing options...
TonyMac32 Posted August 5, 2019 Share Posted August 5, 2019 1 hour ago, lanefu said: As far as why we'd want to use Hardkernel's kernel repo... a TON of it works out of the box: http://linux-meson.com/doku.php Not really that far ahead of mainline, A vast majority of the G12A labelled work is common to G12B (The Odroid N2 SoC): https://patchwork.kernel.org/patch/11025369/ 0 Quote Link to comment Share on other sites More sharing options...
TonyMac32 Posted August 5, 2019 Share Posted August 5, 2019 1 hour ago, lanefu said: lane@brodroid 1 Quote Link to comment Share on other sites More sharing options...
sensei73 Posted August 19, 2019 Share Posted August 19, 2019 hello, I'm trying to have armbian buster with HW decoding. But even with the default config, I'v got this error: output/debug/compilation.log Spoiler == kernel == drivers/amlogic/atv_demod/atv_demod_access.c: In function ‘atvaudiodem_reg_read’: drivers/amlogic/atv_demod/atv_demod_access.c:85:2: error: #endif without #if #endif ^~~~~ drivers/amlogic/atv_demod/atv_demod_access.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-bool-operation’ make[3]: *** [drivers/amlogic/atv_demod/atv_demod_access.o] Error 1 make[2]: *** [drivers/amlogic/atv_demod] Error 2 make[1]: *** [drivers/amlogic] Error 2 make: *** [drivers] Error 2 make: *** Waiting for unfinished jobs.... fs/f2fs/segment.c: In function ‘read_compacted_summaries’: fs/f2fs/segment.c:3001:11: warning: ‘return’ with a value, in function returning void return -EFAULT; ^ fs/f2fs/segment.c:2967:13: note: declared here static void read_compacted_summaries(struct f2fs_sb_info *sbi) 0 Quote Link to comment Share on other sites More sharing options...
pask Posted August 20, 2019 Share Posted August 20, 2019 Igor's odroid N2 image works... Here are dmesg red lines that require investigation from somebody more expert than me: clkmsr ffd18004.meson_clk_msr: failed to get msr ring reg0 cvbs_out: chrdev devno 263192576 for disp dmi: Firmware registration failed. perf_event: read sys_cpu_status0_offset failed, ret = -22 meson-pwm ff802000.pwm: pwm pinmux : can't get pinctrl meson-pwm ffd1b000.pwm: pwm pinmux : can't get pinctrl mtdoops: mtd device (mtddev=name/number) must be supplied drivers/amlogic/efuse/efuse_hw64.c:_efuse_read:196: read error!!! meson_cpufreq_probe: Registered platform drive [ 2.063911] ff803000.serial: clock gate not found gpio-keypad ff800000.gpio_keypad: failed to get gpio index from dts efuse efuse: open efuse clk gate error!! di_get_vpu_clkb: get clk vpu error. PPMGRDRV: err: ppmgr_driver_probe called [ 2.199532] Reserved memory: failed to init DMA memory pool at 0x00000000e3000000, size 0 MiB [ 2.202554] meson-mmc: mmc driver version: 3.02, 2017-05-15: New Emmc Host Controller [ 2.203254] meson-mmc: >>>>>>>>hostbase ffffff8008629000, dmode [ 2.242335] meson-mmc: meson_mmc_probe() : success! [ 2.249480] meson-mmc: >>>>>>>>hostbase ffffff8008632000, dmode [ 2.249515] meson-mmc: gpio_cd = 1ca [ 2.252739] meson-mmc: emmc: resp_timeout,vstat:0xa1ff2800,virqc:3fff [ 2.252742] meson-mmc: emmc: err: wait for irq service, bus_fsm:0x8 [ 2.252759] meson-mmc: meson_mmc_irq_thread_v3 551 emmc: cmd:1 [ 2.252761] meson-mmc: meson_mmc_irq_thread_v3() 567: set 1st retry! [ 2.252763] meson-mmc: retry cmd 1 the 3-th time(s) [ 2.253757] meson-mmc: emmc: resp_timeout,vstat:0x9dff0800,virqc:3fff [ 2.253759] meson-mmc: emmc: err: wait for desc write back, bus_fsm:0x7 [ 2.253765] meson-mmc: meson_mmc_irq_thread_v3 551 emmc: cmd:1 [ 2.253766] meson-mmc: retry cmd 1 the 2-th time(s) [ 2.254757] meson-mmc: emmc: resp_timeout,vstat:0x9dff0800,virqc:3fff [ 2.254759] meson-mmc: emmc: err: wait for desc write back, bus_fsm:0x7 [ 2.254765] meson-mmc: meson_mmc_irq_thread_v3 551 emmc: cmd:1 [ 2.254766] meson-mmc: retry cmd 1 the 1-th time(s) [ 2.255757] meson-mmc: emmc: resp_timeout,vstat:0x9dff0800,virqc:3fff [ 2.255759] meson-mmc: emmc: err: wait for desc write back, bus_fsm:0x7 [ 2.255764] meson-mmc: meson_mmc_irq_thread_v3 551 emmc: cmd:1 [ 2.255767] meson-mmc: Command retried failed line:585, cmd:1 [ 2.286325] meson-mmc: meson_mmc_probe() : success! [ 2.286490] amlogic mtd driver init [ 2.287074] cectx ff80023c.aocec: cec driver date:Ver 2019/1/7 [ 2.287548] cectx ff80023c.aocec: not find 'port_num' [ 2.287551] cectx ff80023c.aocec: using cec:1 [ 2.287580] cectx ff80023c.aocec: no hdmirx regs [ 2.287582] cectx ff80023c.aocec: no hhi regs [ 2.287586] cectx ff80023c.aocec: not find 'output' [ 2.287591] cec: wake up flag:0 [ 2.289030] cectx ff80023c.aocec: irq cnt:2 [ 2.289243] cectx ff80023c.aocec: wakeup_reason:0x0 [ 2.289289] cectx ff80023c.aocec: cev val1: 0x0;val2: 0x0 [ 2.289292] cectx ff80023c.aocec: aml_cec_probe success end defendkey ff630218.defendkey: Reserved memory is not enough! aml_card_probe error ret:-517 cgroup: cgroup2: unknown option "nsdelegate" meson-mmc: Tuning transfer error: nmatch=0 tuning_err:0xffffffac Error: Driver 'spdif-dit' is already registered, aborting... [ 2.323264] asoc debug: aml_audio_controller_probe-115 [ 2.324305] aml_card_probe error ret:-517 Proof of work and complete dmesg is attached below dmesg 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted September 17, 2019 Share Posted September 17, 2019 On 5/29/2019 at 6:44 PM, soerenderfor said: Thanks, i hope HK will thank you. And agree to take it. I did not wait for the release of the official version of the image for SPI with full support for all options for custom startup (SD USB eMMC PXE). As a temporary solution I have gathered the image of "spiboot.img " to update SPI content with a new download option (which supports all described devices). Now, to enable all devices in the startup process (including the ability to directly start the system from USB media) does not require a UART console. All operations can be easily performed by a regular user using standard methods (which are well documented on the WIKI). The update procedure is described on the WIKI. File "spiboot.img" (with all options except Piteboot) can be downloaded here. Pay attention, this version is not Piteboot. During build there was an error with the build kernel, I did not fix (I don't use Piteboot). If somebody need Piteboot, I recommend not using my version. https://yadi.sk/d/1zgkKFNZEq0T_g https://wiki.odroid.com/odroid-n2/os_images/petitboot On 5/28/2019 at 11:52 PM, martinayotte said: Right ! Hi For the statistics, to make sure everything is working correctly, you can check the new SPIBOOT on your model N2 ? 1 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted September 17, 2019 Share Posted September 17, 2019 On 8/5/2019 at 2:20 AM, TonyMac32 said: if I can get mainline uboot + kernel under meson64. It's been a while since I read this topic .... For reference u-boot-2019 and kernel 5.x have been working at N2 with Armbian (Including sound.). 2 Quote Link to comment Share on other sites More sharing options...
lanefu Posted September 17, 2019 Share Posted September 17, 2019 34 minutes ago, balbes150 said: It's been a while since I read this topic .... For reference u-boot-2019 and kernel 5.x have been working at N2 with Armbian (Including sound.). woohoo i'll have to try i'm still using the hardkernel repo does the new uboot use boot.ini? or standard ubootness 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted September 17, 2019 Share Posted September 17, 2019 14 minutes ago, lanefu said: does the new uboot use boot.ini? or standard ubootness For SD no " boot.ini", N2 only (extlinux.conf) and u-boot-2019. https://github.com/150balbes/Build-Armbian/blob/master/packages/bsp/aml-g12/extlinux.conf https://github.com/150balbes/Build-Armbian/blob/master/config/sources/aml-g12.conf#L2 For USB + new SPIboot (u-boot-2015) use boot.ini (with minimal configuration to run the main kernel). Prior to the SPI support in u-boot-2019, the optimal solution is to use SPIboot that runs any system with removable media and eMMC in any convenient and custom user order. https://github.com/150balbes/Build-Armbian/blob/master/config/bootscripts/boot-odroid-n2-mainline.ini 0 Quote Link to comment Share on other sites More sharing options...
TonyMac32 Posted September 17, 2019 Share Posted September 17, 2019 8 hours ago, balbes150 said: It's been a while since I read this topic .... For reference u-boot-2019 and kernel 5.x have been working at N2 with Armbian (Including sound.). Same! Life has been a bit tough lately, I've been supporting my wife through her recent surgery, she gets to come home this week (3rd week in hospital/rehabilitation) 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted October 3, 2019 Share Posted October 3, 2019 New version of SPIboot 20191003. Added support for running official Armbian images (although more correctly, you need to change the logic of creating an image in official images). Fixed a bug with the kernel and now there is a full image for the SD card to update SPIboot. 1 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted October 4, 2019 Share Posted October 4, 2019 Duplicate the information, it may be useful to other users. Test version of the file "boot.ini" for the official Armbian version (for use with SPIboot). Starting from SD card and USB media should work correctly. https://yadi.sk/d/LjJNOP1m_2uwmQ To use - download, rename to " boot.ini" and replace the file on the recorded media. Added "set_order_boot file.ini " to quickly configure SPIboot in the desired order of scanning (starting) media. The script initially specified settings for the default option ( with such settings comes SPIboot initially). To change the order, you need to edit this script, rename it to " boot.ini", write to any medium and run N2 with it. The script will automatically change the desired settings and turn off the system. Parameter "rawimage" means eMMC For example, you need to specify USB to start first. Change the line to this and run the script. setenv boot_order "mmc rawimage usb pxe spi" to setenv boot_order "usb mmc rawimage pxe spi" @Viald For "dua " USB startup, you can specify. setenv boot_order "usb usb mmc rawimage pxe spi" By the way, to speed up the start of Piteboot, you can put the startup check from the network (PXE) at the end of the list (or completely remove it). setenv boot_order "usb mmc rawimage spi pxe" If desired, you can add your system startup option by adding a new startup option to the u-boot variables (new media, your network startup option, etc.) and add its usage to the list. 0 Quote Link to comment Share on other sites More sharing options...
Poincare Posted November 9, 2019 Share Posted November 9, 2019 I have installed the Debian Buster minimal image of Armbian on the Odroid N2 but the board seems to lock or mostly freeze up when using SCP to it. Transfers stall and there is no progress after about 30-45 seconds. I think there is a kernel error but I'm not sure how to interpret DMESG output. There seems to be continuous errors with zram0. I have tried to search the forum for related posts but there do not seem to be ones that support fixing or resolving the issue. Kernel: $ uname -a Linux nas 4.9.190-odroidn2 #1 SMP PREEMPT Mon Sep 2 07:23:40 CEST 2019 aarch64 GNU/Linux The DMESG output is below for reference: [ 1853.914980] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1853.915358] zram: Decompression failed! err=-22, page=12750 [ 1853.915368] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1857.967511] zram: Decompression failed! err=-22, page=12750 [ 1857.967521] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1867.966226] zram: Decompression failed! err=-22, page=12750 [ 1867.966237] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1877.969360] zram: Decompression failed! err=-22, page=12750 [ 1877.969371] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1887.957354] zram: Decompression failed! err=-22, page=12750 [ 1887.957364] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1897.882434] zram: Decompression failed! err=-22, page=12750 [ 1897.882444] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1907.879540] zram: Decompression failed! err=-22, page=12750 [ 1907.879550] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1917.919592] zram: Decompression failed! err=-22, page=12750 [ 1917.919698] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1928.036110] zram: Decompression failed! err=-22, page=12750 [ 1928.036120] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1937.880451] zram: Decompression failed! err=-22, page=12750 [ 1937.880462] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1947.948827] zram: Decompression failed! err=-22, page=12750 [ 1947.948837] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1957.983086] zram: Decompression failed! err=-22, page=12750 [ 1957.983097] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1967.952332] zram: Decompression failed! err=-22, page=12750 [ 1967.952343] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1977.926635] zram: Decompression failed! err=-22, page=12750 [ 1977.926646] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1981.024473] zram: Decompression failed! err=-22, page=12750 [ 1981.024483] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1991.040385] zram: Decompression failed! err=-22, page=12750 [ 1991.040396] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1992.281672] device-mapper: uevent: version 1.0.3 [ 1992.284490] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com [ 1994.751327] zram: Decompression failed! err=-22, page=12750 [ 1994.751339] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1994.967958] zram: Decompression failed! err=-22, page=12750 [ 1994.967964] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1995.026409] zram: Decompression failed! err=-22, page=12750 [ 1995.026415] Buffer I/O error on dev zram0, logical block 12750, async page read [ 1998.139633] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl [ 2000.897679] zram: Decompression failed! err=-22, page=12750 [ 2000.897690] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2001.008865] zram: Decompression failed! err=-22, page=12750 [ 2001.008875] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2010.962674] zram: Decompression failed! err=-22, page=12750 [ 2010.962709] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2011.076469] zram: Decompression failed! err=-22, page=12750 [ 2011.076478] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2021.003907] zram: Decompression failed! err=-22, page=12750 [ 2021.003917] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2021.119985] zram: Decompression failed! err=-22, page=12750 [ 2021.119996] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2156.120887] zram: Decompression failed! err=-22, page=12750 [ 2156.120897] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2156.214443] zram: Decompression failed! err=-22, page=12750 [ 2156.214453] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2161.167895] zram: Decompression failed! err=-22, page=12750 [ 2161.167907] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2171.211060] zram: Decompression failed! err=-22, page=12750 [ 2171.211071] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2181.241182] zram: Decompression failed! err=-22, page=12750 [ 2181.241193] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2191.268602] zram: Decompression failed! err=-22, page=12750 [ 2191.268613] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2201.282729] zram: Decompression failed! err=-22, page=12750 [ 2201.282739] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2204.312226] RTW: rtw_issue_addbareq_cmd, p=6 [ 2204.312307] RTW: BA_starting_seqctrl = 25 for TID=6 [ 2204.312319] RTW: issue_addba_req(wlan0) ra=40:16:7e:f4:56:8c tid=6 [ 2204.313166] RTW: OnAction_back [ 2204.313168] RTW: OnAction_back, action=1 [ 2204.313170] RTW: agg_enable for TID=6 [ 2211.183085] zram: Decompression failed! err=-22, page=12750 [ 2211.183096] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2221.229835] zram: Decompression failed! err=-22, page=12750 [ 2221.229847] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2231.243958] zram: Decompression failed! err=-22, page=12750 [ 2231.243968] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2241.269032] zram: Decompression failed! err=-22, page=12750 [ 2241.269043] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2251.141468] zram: Decompression failed! err=-22, page=12750 [ 2251.141479] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2261.303870] zram: Decompression failed! err=-22, page=12750 [ 2261.303880] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2271.205281] zram: Decompression failed! err=-22, page=12750 [ 2271.205291] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2281.181416] zram: Decompression failed! err=-22, page=12750 [ 2281.181426] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2291.199084] zram: Decompression failed! err=-22, page=12750 [ 2291.199094] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2301.154395] zram: Decompression failed! err=-22, page=12750 [ 2301.154405] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2311.143294] zram: Decompression failed! err=-22, page=12750 [ 2311.143304] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2321.168656] zram: Decompression failed! err=-22, page=12750 [ 2321.168667] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2331.143814] zram: Decompression failed! err=-22, page=12750 [ 2331.143824] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2341.150010] zram: Decompression failed! err=-22, page=12750 [ 2341.150020] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2351.149577] zram: Decompression failed! err=-22, page=12750 [ 2351.149587] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2361.158088] zram: Decompression failed! err=-22, page=12750 [ 2361.158099] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2371.137373] zram: Decompression failed! err=-22, page=12750 [ 2371.137384] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2381.158271] zram: Decompression failed! err=-22, page=12750 [ 2381.158281] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2391.164961] zram: Decompression failed! err=-22, page=12750 [ 2391.164972] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2401.160951] zram: Decompression failed! err=-22, page=12750 [ 2401.160961] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2411.167289] zram: Decompression failed! err=-22, page=12750 [ 2411.167299] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2421.162192] zram: Decompression failed! err=-22, page=12750 [ 2421.162203] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2431.169304] zram: Decompression failed! err=-22, page=12750 [ 2431.169315] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2441.164644] zram: Decompression failed! err=-22, page=12750 [ 2441.164654] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2451.481731] zram: Decompression failed! err=-22, page=12750 [ 2451.481744] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2461.431068] zram: Decompression failed! err=-22, page=12750 [ 2461.431078] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2471.410033] zram: Decompression failed! err=-22, page=12750 [ 2471.410043] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2481.175795] zram: Decompression failed! err=-22, page=12750 [ 2481.175805] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2491.174282] zram: Decompression failed! err=-22, page=12750 [ 2491.174293] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2501.181049] zram: Decompression failed! err=-22, page=12750 [ 2501.181059] Buffer I/O error on dev zram0, logical block 12750, async page read [ 2659.199980] INFO: task jbd2/dm-0-8:4698 blocked for more than 120 seconds. [ 2659.199987] Not tainted 4.9.190-odroidn2 #1 [ 2659.199988] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 2659.199990] jbd2/dm-0-8 D 0 4698 2 0x00000000 [ 2659.199996] Call trace: [ 2659.200007] [<ffffff8009086614>] __switch_to+0x94/0xb8 [ 2659.200014] [<ffffff8009dc43ac>] __schedule+0x27c/0x7b0 [ 2659.200017] [<ffffff8009dc4920>] schedule+0x40/0xa8 [ 2659.200021] [<ffffff8009dc7a1c>] schedule_timeout+0x1c4/0x438 [ 2659.200024] [<ffffff8009dc40c8>] io_schedule_timeout+0x98/0x100 [ 2659.200027] [<ffffff8009dc52a8>] bit_wait_io+0x20/0x68 [ 2659.200031] [<ffffff8009dc4eac>] __wait_on_bit+0xac/0xe8 [ 2659.200034] [<ffffff8009dc4fec>] out_of_line_wait_on_bit+0x6c/0x80 [ 2659.200039] [<ffffff800926eae8>] __wait_on_buffer+0x38/0x48 [ 2659.200044] [<ffffff800935929c>] jbd2_journal_commit_transaction+0x128c/0x1688 [ 2659.200049] [<ffffff800935e728>] kjournald2+0xb8/0x238 [ 2659.200053] [<ffffff80090ca1d8>] kthread+0xd8/0xf0 [ 2659.200056] [<ffffff8009083960>] ret_from_fork+0x10/0x30 [ 2780.025559] INFO: task jbd2/dm-0-8:4698 blocked for more than 120 seconds. [ 2780.025565] Not tainted 4.9.190-odroidn2 #1 [ 2780.025566] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 2780.025569] jbd2/dm-0-8 D 0 4698 2 0x00000000 [ 2780.025574] Call trace: [ 2780.025585] [<ffffff8009086614>] __switch_to+0x94/0xb8 [ 2780.025592] [<ffffff8009dc43ac>] __schedule+0x27c/0x7b0 [ 2780.025595] [<ffffff8009dc4920>] schedule+0x40/0xa8 [ 2780.025599] [<ffffff8009dc7a1c>] schedule_timeout+0x1c4/0x438 [ 2780.025602] [<ffffff8009dc40c8>] io_schedule_timeout+0x98/0x100 [ 2780.025606] [<ffffff8009dc52a8>] bit_wait_io+0x20/0x68 [ 2780.025609] [<ffffff8009dc4eac>] __wait_on_bit+0xac/0xe8 [ 2780.025612] [<ffffff8009dc4fec>] out_of_line_wait_on_bit+0x6c/0x80 [ 2780.025617] [<ffffff800926eae8>] __wait_on_buffer+0x38/0x48 [ 2780.025622] [<ffffff800935929c>] jbd2_journal_commit_transaction+0x128c/0x1688 [ 2780.025627] [<ffffff800935e728>] kjournald2+0xb8/0x238 [ 2780.025631] [<ffffff80090ca1d8>] kthread+0xd8/0xf0 [ 2780.025634] [<ffffff8009083960>] ret_from_fork+0x10/0x30 [ 2900.851139] INFO: task jbd2/dm-0-8:4698 blocked for more than 120 seconds. [ 2900.851145] Not tainted 4.9.190-odroidn2 #1 [ 2900.851146] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 2900.851148] jbd2/dm-0-8 D 0 4698 2 0x00000000 [ 2900.851154] Call trace: [ 2900.851165] [<ffffff8009086614>] __switch_to+0x94/0xb8 [ 2900.851172] [<ffffff8009dc43ac>] __schedule+0x27c/0x7b0 [ 2900.851175] [<ffffff8009dc4920>] schedule+0x40/0xa8 [ 2900.851179] [<ffffff8009dc7a1c>] schedule_timeout+0x1c4/0x438 [ 2900.851182] [<ffffff8009dc40c8>] io_schedule_timeout+0x98/0x100 [ 2900.851187] [<ffffff8009dc52a8>] bit_wait_io+0x20/0x68 [ 2900.851190] [<ffffff8009dc4eac>] __wait_on_bit+0xac/0xe8 [ 2900.851193] [<ffffff8009dc4fec>] out_of_line_wait_on_bit+0x6c/0x80 [ 2900.851198] [<ffffff800926eae8>] __wait_on_buffer+0x38/0x48 [ 2900.851203] [<ffffff800935929c>] jbd2_journal_commit_transaction+0x128c/0x1688 [ 2900.851207] [<ffffff800935e728>] kjournald2+0xb8/0x238 [ 2900.851212] [<ffffff80090ca1d8>] kthread+0xd8/0xf0 [ 2900.851215] [<ffffff8009083960>] ret_from_fork+0x10/0x30 0 Quote Link to comment Share on other sites More sharing options...
lanefu Posted November 9, 2019 Share Posted November 9, 2019 1 minute ago, Poincare said: I have installed Armbian on the Odroid N2 but the board seems to lock or mostly freeze up when using SCP to it. Transfers stall and there is no progress after about 30-45 seconds. I think there is a kernel error but I'm not sure how to interpret DMESG output. There seems to be continuous errors with zram0. I have tried to search the forum for related posts but there do not seem to be ones that support fixing or resolving the issue. TDMESG output is below for reference: which image? which kernel? 0 Quote Link to comment Share on other sites More sharing options...
Poincare Posted November 9, 2019 Share Posted November 9, 2019 9 minutes ago, lanefu said: which image? which kernel? I am using the latest kernel from the Armbian repo (4.9.190-odroidn2 #1 SMP PREEMPT Mon Sep 2 07:23:40 CEST 2019) with the Debian Buster minimal image. 0 Quote Link to comment Share on other sites More sharing options...
NicoD Posted November 10, 2019 Share Posted November 10, 2019 Just a guess. Try : sudo apt install zram-config Seems your zram isn't working well. Or sudo apt remove zram-config if you don't need it. There's been many problems with zram/swap with the N2. 0 Quote Link to comment Share on other sites More sharing options...
Poincare Posted November 10, 2019 Share Posted November 10, 2019 8 hours ago, NicoD said: Just a guess. Try : sudo apt install zram-config Seems your zram isn't working well. Or sudo apt remove zram-config if you don't need it. There's been many problems with zram/swap with the N2. I don't know what is using zram. Is it just installed, enabled, or turned on by Armbian by default? executing $sudo apt install zram-config: $ sudo apt install zram-config Reading package lists... Done Building dependency tree Reading state information... Done Package zram-config is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: linux-buster-root-espressobin linux-buster-root-xt-q8l-v10:armhf linux-buster-root-tinkerboard:armhf linux-buster-root-orangepizeroplus2-h3:armhf linux-buster-root-orangepizero:armhf linux-buster-root-orangepiplus2e:armhf linux-buster-root-orangepiplus:armhf linux-buster-root-orangepipcplus:armhf linux-buster-root-orangepipc:armhf linux-buster-root-orangepione:armhf linux-buster-root-orangepilite:armhf linux-buster-root-orangepi2:armhf linux-buster-root-orangepi-r1:armhf linux-buster-root-odroidxu4:armhf linux-buster-root-next-xt-q8l-v10:armhf linux-buster-root-next-udoo:armhf linux-buster-root-next-tritium-h3:armhf linux-buster-root-next-tinkerboard:armhf linux-buster-root-next-orangepizeroplus2-h3:armhf linux-buster-root-next-orangepizero:armhf linux-buster-root-next-orangepiplus2e:armhf linux-buster-root-next-orangepiplus:armhf linux-buster-root-next-orangepipcplus:armhf linux-buster-root-next-orangepipc:armhf linux-buster-root-next-orangepione:armhf linux-buster-root-next-orangepilite:armhf linux-buster-root-next-orangepi2:armhf linux-buster-root-next-orangepi-r1:armhf linux-buster-root-next-odroidxu4:armhf linux-buster-root-next-odroidc1:armhf linux-buster-root-next-nanopineo:armhf linux-buster-root-next-nanopim1:armhf linux-buster-root-next-nanopiduo2:armhf linux-buster-root-next-nanopiduo:armhf linux-buster-root-next-nanopiair:armhf linux-buster-root-next-nanopi-r1:armhf linux-buster-root-next-lime2:armhf linux-buster-root-next-lime:armhf linux-buster-root-next-helios4:armhf linux-buster-root-next-cubox-i:armhf linux-buster-root-next-cubietruck:armhf linux-buster-root-next-clearfogpro:armhf linux-buster-root-next-clearfogbase:armhf linux-buster-root-next-bananapipro:armhf linux-buster-root-next-bananapim2plus:armhf linux-buster-root-next-bananapi:armhf linux-buster-root-nanopineo:armhf linux-buster-root-nanopim1:armhf linux-buster-root-nanopiduo:armhf linux-buster-root-nanopiair:armhf linux-buster-root-lime2:armhf linux-buster-root-helios4:armhf linux-buster-root-cubox-i:armhf linux-buster-root-cubietruck:armhf linux-buster-root-clearfogpro:armhf linux-buster-root-clearfogbase:armhf linux-buster-root-bananapipro:armhf linux-buster-root-bananapim2plus:armhf linux-buster-root-bananapi:armhf linux-buster-root-z28pro linux-buster-root-rockpro64 linux-buster-root-rockpi-4b linux-buster-root-rock64 linux-buster-root-renegade linux-buster-root-pinebook-a64 linux-buster-root-pine64so linux-buster-root-pine64 linux-buster-root-orangepiwin linux-buster-root-orangepi-rk3399 linux-buster-root-odroidn2 linux-buster-root-odroidc2 linux-buster-root-next-tritium-h5 linux-buster-root-next-teres-a64 linux-buster-root-next-pineh64 linux-buster-root-next-pinebook-a64 linux-buster-root-next-pine64so linux-buster-root-next-pine64 linux-buster-root-next-orangepizeroplus2-h5 linux-buster-root-next-orangepizeroplus linux-buster-root-next-orangepiwin linux-buster-root-next-orangepiprime linux-buster-root-next-orangepipc2 linux-buster-root-next-orangepioneplus linux-buster-root-next-orangepilite2 linux-buster-root-next-orangepi3 linux-buster-root-next-odroidc2 linux-buster-root-next-nanopineoplus2 linux-buster-root-next-nanopineocore2 linux-buster-root-next-nanopineo2 linux-buster-root-next-nanopim3 linux-buster-root-next-nanopik2-s905 linux-buster-root-next-nanopik1plus linux-buster-root-next-nanopifire3 linux-buster-root-next-nanopct3plus linux-buster-root-next-nanopct3 linux-buster-root-next-lime-a64 linux-buster-root-next-lepotato linux-buster-root-next-espressobin linux-buster-root-next-bananapim64 linux-buster-root-nanopineo4 linux-buster-root-nanopim4 linux-buster-root-nanopik2-s905 linux-buster-root-nanopct4 linux-buster-root-macchiatobin-doubleshot linux-buster-root-lime-a64 linux-buster-root-lepotato E: Package 'zram-config' has no installation candidate And, executing $sudo apt remove zram-config: $ sudo apt remove zram-config Reading package lists... Done Building dependency tree Reading state information... Done Package 'zram-config' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 0 Quote Link to comment Share on other sites More sharing options...
NicoD Posted November 11, 2019 Share Posted November 11, 2019 7 hours ago, Poincare said: And, executing $sudo apt remove zram-config: Sorry. For Debian it seems different. I only work on Bionic. Maybe try this. "Starting at buster (current testing) it's possible to simply install the zram-tools package and customize /etc/default/zramswap for your needs." Armbian configures zram out of the box. But it's not always set right for all boards. So it can help manually installing it. Greetings. 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted November 11, 2019 Share Posted November 11, 2019 9 minutes ago, NicoD said: Armbian configures zram out of the box It works well with Armbian while here with Odroid N2 there are some other kernel related troubles. Not just with ZRAM. We will release modern kernel, where this works as expected, soon. 0 Quote Link to comment Share on other sites More sharing options...
NicoD Posted November 11, 2019 Share Posted November 11, 2019 36 minutes ago, Igor said: It works well with Armbian while here with Odroid N2 there are some other kernel related troubles. Not just with ZRAM. We will release modern kernel, where this works as expected, soon. Indeed. Swap and ZRam didn't work at all since a pretty messed kernel config. I had went into it when it was new. https://forum.odroid.com/viewtopic.php?t=34540 You might recognize some things echo '9999' > /sys/module/lowmemorykiller/parameters/adj echo '1' > /sys/module/lowmemorykiller/parameters/minfree This was the fix then to make it work. Was because of remainders of android, I checked the kernel and there's still a lot that doesn't belong there. @Brad was the man who found the fix then. I do have it working well on Bionic. 0 Quote Link to comment Share on other sites More sharing options...
Poincare Posted November 17, 2019 Share Posted November 17, 2019 On 11/11/2019 at 2:04 AM, NicoD said: echo '9999' > /sys/module/lowmemorykiller/parameters/adj echo '1' > /sys/module/lowmemorykiller/parameters/minfree This was the fix then to make it work. Was because of remainders of android, I checked the kernel and there's still a lot that doesn't belong there. @ Brad was the man who found the fix then. I do have it working well on Bionic. In /sys/module there does not appear to be a lowmemorykiller directory. Such a module also does not appear to exist in /lib/modules/4.9.190-odroidn2. Is there another option? 0 Quote Link to comment Share on other sites More sharing options...
Poincare Posted November 25, 2019 Share Posted November 25, 2019 Sirs, I am not sure what I need to do in order to fix the problems I seem to be experiencing with zram. 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted November 25, 2019 Share Posted November 25, 2019 5 hours ago, Poincare said: Sirs, I am not sure what I need to do in order to fix the problems I seem to be experiencing with zram. If solution is cheap, like you imagine, it would already be solved. Like many other invisible problems which were solved and you didn't even notice. Perhaps its not fixable without throwing a month of work on this? Will you cover? No. IIRC its a kernel problem and I am almost certain nobody will waste time to fix this feature in this (feature development) kernel ... I already tried and I will never try to debug again. ... on current 5.4.y this feature works as expected but many others not. Wait for kernel 5.4.y / 5.5.y 0 Quote Link to comment Share on other sites More sharing options...
m][sko Posted January 17, 2020 Share Posted January 17, 2020 Are there any reason @Igor why armbian use @balbes150 's repo for kernel? for current and dev As I hope that N2 or g12b has pretty nice support with mainline kernel and u-boot armbian use mainline for g12b so what was the reason for this change. I really like idea what armbian use for some other boards odroid c2 for example mainline kernel + patch-set 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted January 17, 2020 Share Posted January 17, 2020 2 hours ago, m][sko said: As I hope that N2 or g12b has pretty nice support with mainline kernel and u-boot armbian use mainline for g12b so what was the reason for this change. When the change was made, more things were fixed in that kernel. Today it might be perhaps better to switch back and see what happens. No particular reason - in any case, mainline support is not "pretty nice", at least not with 5.4.y, but perhaps it will be emerged, MALI can be brought up, I saw that but this is little interest for me personally ... 2 hours ago, m][sko said: I really like idea what armbian use for some other boards odroid c2 for example mainline kernel + patch-set We will get there soon. If you do something about, sooner. @m][sko I will change to mainline + patches later today. I need help with testing and comparing this change to understand what is gone, what is solved. I see at least this gone: -CONFIG_SND_SOC_MESON_GX=m -CONFIG_SND_SOC_MESON_GX_I2S=m -CONFIG_SND_SOC_MESON_GX_SPDIF=m 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted January 18, 2020 Share Posted January 18, 2020 On 1/17/2020 at 4:27 PM, m][sko said: mainline kernel + patch-set Wasted 10+ h and I am not satisfied with the outcome - multimedia features are not working, something is still missing. But N2 seems stable - rebuilding images and enabling nightly images at master branch (5.5.>) https://github.com/armbian/build/pull/1748 0 Quote Link to comment Share on other sites More sharing options...
m][sko Posted January 24, 2020 Share Posted January 24, 2020 On 1/18/2020 at 6:53 PM, Igor said: Wasted 10+ h and I am not satisfied with the outcome - multimedia features are not working, something is still missing. But N2 seems stable - rebuilding images and enabling nightly images at master branch (5.5.>) https://github.com/armbian/build/pull/1748 why? multimedia like HDMI audio or video decoding or what? good source of kernel patches are here https://github.com/superna9999/meta-meson/ or khadas https://github.com/khadas/fenix/tree/master/packages/linux-mainline/patches/5.5-rc2 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.