Jump to content

Search the Community

Showing results for tags 'odroidc2'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. With my OPi Zero, I noticed that at random times the ethernet connection somehow gets disabled. The only way to recover is by power cycling. I use the device as Pi-Hole (so when ethernet gets disconnected, I don't have internet anymore), print server and UniFi controller. I decided to swap it for my Odroid C2. Odd enough the C2 has the same issue. Maybe someone can help me with this? When powercycled, the Odroid with the latest Armbian (installed two days ago) is all up and running fine. It can connect to the internet, I can SSH into it. The ethernet led is flashing orange, so the gigabit connection is available. However, at rondom times the ethernet leds are both disabled. At this point, the C2 is still alive, but there's no way to access it without power cycling. I've tried removing the ethernet cable and connecting it again, hoping Armbian would recognize the connection - what happens in this case is that the green led will flash a few times (100Mbit) but the device is still offline. I've added some information from the log here before rebooting. This information keeps repeating in the log files... Hopefully someone can guide my as how to get the connection stable.
  2. Dear community, unfortunately, "armbianmonitor -u" doesn't give me a link anymore, and I'm not sure if uploading works at all. So I cant provide the information As our deployment date approaches, we try to finalize our Armbian system for North Pacific seafloor... and found some unexpected problems (problems seem alwas to be unexpected): The TigerVNC has two problems on Armbian, and it would be great if you could verify that issues and maybe problem some helpful ideas: (1) TigerVNC (tigervnc-common/stable,now 1.9.0) needs the following workaround to start at all: LD_PRELOAD=/lib/aarch64-linux-gnu/libgcc_s.so.1 vncserver :1 -localhost no Seems to be libunwind8 related, and is ugly, but not the main problem. (2) TigerVNC can be started by crontab "@reboot", but fails to open a desktop. There are messages about dbus problems, the display closes afterwards. I use Armbian NEXT, with Debian Buster, and kernel is locked to 4.19.90 (due to the various troubles with the new kernel, which seems to be optimzed for video playback but not stable operation). Any help is appreciated, and if you need more information, please let me know. So far, Michael
  3. Hi all, as a small status update on the seafloor business, here are some pictures of the new Odroid C2 based instruments which will be deployed in September/October in the northers Pacific. Ten modules with different functionality will be deployed, all based on a standard setup of Odroid C2, TRB3sc FPGA based TDC DAQ system, one PADIWA preamp, and a modded mdedia converter serving as a fully configurable mini switch. One of the modules carries several Hamamatsu mini spectrometers, as well as a camera, to observe bioluminescence. Another module is targeting at muon tracking with SiPM based readout: I have some more picture of the more "fancy" PMT based modules, but don't want to flood this forum now with too many pictures. To all of you: thanks for the support you gave us over the last year, and the discussions on specific topics! Deployment pictures will follow once the modules are in place on the seafloor, 2600m deep in the Pacific (and operational, hopefully, this time we just have a GbE fiber, no serial port...) See you, Michael
  4. With our Current moving to 5.7, anyone building it themselves should report anything missing/new/different/wanted here. Le Potato La Frite NanoPi K2 ODROID C2 VIM 1 USB OK OK OK OK OK REBOOT NOK OK OK NOK NOK SOUND OK OK OK OK OK HDMI OK OK OK OK OK Onboard WiFi NA NA OK NA OK
  5. I have an application that depends on the Linux HID USB gadget via configfs on the USB OTG port. It works under Raspberry Pi OS (2020-05-27-buster-lite), but I'm having trouble getting it to work under Armbian (Armbian_20.05.2_Odroidc2_buster_current_5.6.15). Specifically, I'm having trouble getting the configfs module to run. What I've done so far: Removed the J1 jumper as described on the ODROID wiki. Recompiled /boot/dtbs/amlogic/meson-gxbb-odroidc2.dtb to set dr_mode = "peripheral"; as described in this ODROID magazine article. When I run this script with sudo: #!/usr/bin/env bash modprobe libcomposite cd /sys/kernel/config/usb_gadget/ mkdir -p g1 cd g1 echo 0x1d6b > idVendor # Linux Foundation echo 0x0104 > idProduct # Multifunction Composite Gadget echo 0x0100 > bcdDevice # v1.0.0 echo 0x0200 > bcdUSB # USB2 STRINGS_DIR="strings/0x409" mkdir -p "$STRINGS_DIR" echo "6b65796d696d6570690" > "${STRINGS_DIR}/serialnumber" echo "Linux Foundation" > "${STRINGS_DIR}/manufacturer" echo "Generic USB Keyboard" > "${STRINGS_DIR}/product" FUNCTIONS_DIR="functions/hid.usb0" mkdir -p "$FUNCTIONS_DIR" echo 1 > "${FUNCTIONS_DIR}/protocol" # Keyboard echo 1 > "${FUNCTIONS_DIR}/subclass" # Boot interface subclass echo 8 > "${FUNCTIONS_DIR}/report_length" # Write the report descriptor # Source: https://www.kernel.org/doc/html/latest/usb/gadget_hid.html echo -ne \\x05\\x01\\x09\\x06\\xa1\\x01\\x05\\x07\\x19\\xe0\\x29\\xe7\\x15\\x00\\x25\\x01\\x75\\x01\\x95\\x08\\x81\\x02\\x95\\x01\\x75\\x08\\x81\\x03\\x95\\x05\\x75\\x01\\x05\\x08\\x19\\x01\\x29\\x05\\x91\\x02\\x95\\x01\\x75\\x03\\x91\\x03\\x95\\x06\\x75\\x08\\x15\\x00\\x25\\x65\\x05\\x07\\x19\\x00\\x29\\x65\\x81\\x00\\xc0 > "${FUNCTIONS_DIR}/report_desc" CONFIG_INDEX=1 CONFIGS_DIR="configs/c.${CONFIG_INDEX}" mkdir -p "$CONFIGS_DIR" echo 250 > "${CONFIGS_DIR}/MaxPower" CONFIGS_STRINGS_DIR="${CONFIGS_DIR}/strings/0x409" mkdir -p "$CONFIGS_STRINGS_DIR" echo "Config ${CONFIG_INDEX}: ECM network" > "${CONFIGS_STRINGS_DIR}/configuration" ln -s "$FUNCTIONS_DIR" "${CONFIGS_DIR}/" ls /sys/class/udc > UDC chmod 777 /dev/hidg0 It fails with on the last line with: chmod: cannot access '/dev/hidg0': No such file or directory And /sys/class/udc is not a symlink, as it's expected to be: $ ls /sys/class/udc -l total 0 Also, when I run dmesg | grep configfs, I get nothing, whereas on RasPiOS I see a message about dwc2 loading the configfs-gadget. It there anything else I can do to enable the USB HID gadget on Armbian?
  6. Hi, I have question about ports /dev/ttyAML1 and /dev/ttyAML2 (device Odroid C2, Image Buster) I dont see in dmesg the ports /dev/ttyAML1 and /dev/ttyAML2 [ 0.000256] printk: console [tty1] enabled [ 1.877506] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 13, base_baud = 1500000) is a meson_uart [ 1.877549] printk: console [ttyAML0] enabled [ 3.452296] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 3.455230] systemd[1]: Created slice system-getty.slice. [ 4.257715] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device overlays=i2cA i2cB uartA uartB uartC w1-gpio How should i chnage the meson-gxbb-odroidc2.dtb to working configuration with kernel 5.4.27-meson64 This is actual configuration: serial@84c0 { compatible = "amlogic,meson-gx-uart"; reg = < 0x00 0x84c0 0x00 0x18 >; interrupts = < 0x00 0x1a 0x01 >; status = "disabled"; clocks = < 0x0e 0x03 0x1a 0x0e >; clock-names = "xtal\0pclk\0baud"; pinctrl-0 = < 0x0f >; pinctrl-names = "default"; phandle = < 0x47 >; }; With kernel 4.19.69 was working with following change in meson-gxbb-odroidc2.dtb serial@84c0 { compatible = "amlogic,meson-gx-uart"; reg = < 0x00 0x84c0 0x00 0x18 >; interrupts = < 0x00 0x1a 0x01 >; status = "disabled"; clocks = < 0x0d 0x0b 0x1a 0x0d >; clock-names = "xtal\0pclk\0baud"; pinctrl-names = "default"; pinctrl-0 = < 0x72 >; phandle = < 0x43 >; }; Thanks for help
  7. Today I installed packages (apt-get upgrade): armbian-config armbian-firmware linux-buster-root-current-odroidc2 linux-dtb-current-meson64 linux-image-current-meson64 linux-u-boot-odroidc2-current and rebooted the system. Afterwards no more USB devices were found: Active USB Hub, USB Hd, USB mouse, USB memorystick Regardless if connected via USB Hub or directly. lsusb doesn't show any devices. Any hints? Thanks in advance
  8. Hello, So I have ODROID C2 running latest Armbian bionic with kernel 5.6.11-meson64 #trunk.130. I have a Quectel E25 4G LTE modem connected via USB port. Everything works like a charm - BUT - whenever I try to download (or upload) even small amounts of data, I get kernel panic and the process hangs. Sometimes, the whole device crashes. It happens only when I try to download or upload data. Even trying to paste large amount of text into a terminal text editor causes kernel panic. This does NOT happen if I'm connected via ethernet. Here's the dmesg (while I was trying to wget a file) - [ 1552.786535] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 5 - ChHltd set, but reason is unknown [ 1552.790108] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04200009 [ 1552.796227] dwc2 c9100000.usb: dwc2_update_urb_state_abn(): trimming xfer length [ 1552.803673] dwc2 c9100000.usb: dwc2_update_urb_state(): trimming xfer length [ 1552.812182] Unable to handle kernel paging request at virtual address 00565416857379cc [ 1552.818442] Mem abort info: [ 1552.821242] ESR = 0x96000004 [ 1552.824238] EC = 0x25: DABT (current EL), IL = 32 bits [ 1552.829533] SET = 0, FnV = 0 [ 1552.832519] EA = 0, S1PTW = 0 [ 1552.835603] Data abort info: [ 1552.838398] ISV = 0, ISS = 0x00000004 [ 1552.842254] CM = 0, WnR = 0 [ 1552.845185] [00565416857379cc] address between user and kernel address ranges [ 1552.852299] Internal error: Oops: 96000004 [#7] PREEMPT SMP [ 1552.857720] Modules linked in: fuse rfkill cpufreq_powersave cpufreq_conservative snd_soc_hdmi_codec snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore ac97_bus dw_hdmi_i2s_audio qmi_wwan cdc_wdm usbnet option usb_wwan usbserial zstd lima meson_dw_hdmi meson_vdec(C) gpu_sched dw_hdmi v4l2_mem2mem meson_drm videobuf2_dma_contig videobuf2_v4l2 videobuf2_memops drm_kms_helper videobuf2_common videodev meson_rng rng_core drm meson_gxbb_wdt meson_ir ao_cec mc drm_panel_orientation_quirks meson_canvas cec scpi_hwmon zram sch_fq_codel ip_tables x_tables uas dwmac_generic realtek dwmac_meson8b [ 1552.910249] CPU: 1 PID: 5010 Comm: wget Tainted: G D C 5.6.11-meson64 #trunk.130 [ 1552.918693] Hardware name: Hardkernel ODROID-C2 (DT) [ 1552.923612] pstate: 40000005 (nZcv daif -PAN -UAO) [ 1552.928365] pc : skb_release_data+0xd0/0x128 [ 1552.932583] lr : skb_release_all+0x24/0x30 [ 1552.936633] sp : ffff800012cebaa0 [ 1552.939911] x29: ffff800012cebaa0 x28: ffff000038bd5300 [ 1552.945172] x27: 0000000000000000 x26: 0000000000000000 [ 1552.950432] x25: ffff0000329c2dd0 x24: 0000000000003e99 [ 1552.955694] x23: 0000000000000001 x22: ffff000035a086c0 [ 1552.960955] x21: ffff000038bd5300 x20: ffff000035a086f0 [ 1552.966216] x19: 0000000000000000 x18: 0000000000000000 [ 1552.971477] x17: 0000000000000000 x16: 0000000000000000 [ 1552.976739] x15: 0000000000000000 x14: 9f572ea8481e2814 [ 1552.982000] x13: 335fbd453f89511e x12: 9db6920c2442ac6a [ 1552.987261] x11: 47c53f91911e5b7b x10: 00000000000003cd [ 1552.992522] x9 : 0000000000000001 x8 : 9a25c697375866e4 [ 1552.997783] x7 : baf054b7c521bef4 x6 : 00000008b3a2c9ef [ 1553.003045] x5 : ffff0000329c3274 x4 : ffff0000329c2de8 [ 1553.008306] x3 : 0000000000000780 x2 : 0000000000000640 [ 1553.013567] x1 : 0000000000000020 x0 : c7565416857379cc [ 1553.018830] Call trace: [ 1553.021247] skb_release_data+0xd0/0x128 [ 1553.025126] skb_release_all+0x24/0x30 [ 1553.028835] __kfree_skb+0x14/0x28 [ 1553.032200] tcp_recvmsg+0x670/0xa30 [ 1553.035737] inet_recvmsg+0x50/0x120 [ 1553.039275] sock_recvmsg+0x48/0x58 [ 1553.042723] sock_read_iter+0x84/0xd8 [ 1553.046347] new_sync_read+0x164/0x178 [ 1553.050053] __vfs_read+0x2c/0x40 [ 1553.053330] vfs_read+0x9c/0x188 [ 1553.056522] ksys_read+0xd0/0xe8 [ 1553.059713] __arm64_sys_read+0x18/0x20 [ 1553.063512] el0_svc_common.constprop.2+0x88/0x150 [ 1553.068251] do_el0_svc+0x20/0x80 [ 1553.071530] el0_sync_handler+0x118/0x188 [ 1553.075496] el0_sync+0x140/0x180 [ 1553.078778] Code: 6b13001f 54fffdcc f94006c0 b40000a0 (f9400013) [ 1553.084814] ---[ end trace 49bbe6bc41c38aaa ]--- I tried to downgrade the kernel to an older version and this does not seem to solve the issue. Any ideas?
  9. Hi. Running Armbian Buster on Odroid C-2, Linux odroidc2 5.4.35-meson64 #trunk SMP PREEMPT Thu Apr 23 18:16:56 CEST 2020 aarch64 GNU/Linux With "armbian-config" I'm triyng to switch to another Kernel without success, error on "switch_kernel.log" file is: linux-image-dev-meson64=20.05.0-trunk.130 linux-dtb-dev-meson64=20.05.0-trunk.130 linux-u-boot-odroidc2-dev Any idea?
  10. Hi. Running (installed from img file on SD Card) Armbian "Armbian_20.02.8_Odroidc2_buster_current_5.4.28". If I try to reboot (reboot command) the Odroid-C2 does not startup again (so it does not reboot)..... Only way to startup it again is to electric poweroff and then poweron. uname -a: Linux odroidc2 5.4.28-meson64 #20.02.8 SMP PREEMPT Mon Mar 30 09:12:52 CEST 2020 aarch64 GNU/Linux How to solve? Thank you.
  11. Hi all, I have some piece of software to compile on our Armbina system (Linux odroidc2 4.19.90-meson64 #5.99 SMP PREEMPT Fri Dec 20 13:47:25 CET 2019 aarch64 GNU/Linux). It is a C++ program, usually running on x86 machines, and has one line of code killing the compilation: asm volatile ("rdtsc" : "=a" (low), "=d" (high)); I need to replace it by some code working with g++ on ARM64. Anyone how can give me a hint? I tried Google, but found no reasonable solution. In case, the software package is public, if you need the link to get it, please let me know. Any help is appreciated. Thanks in advance, Michael
  12. Hello, I have installed Armbian Debian Stretch Next (mainline kernel) on my Odroid C2 and updated to newest version(apt update & apt upgrade). Everything works fine except USB ports. I have USB LTE modem which is not recognized. I have tried "lsusb -v" but with this modem not works. But when I connect USB keyboard first then "lsusb -v" and next I connect LTE modem and type "lsusb -v" then it's works. I also tried connecting USB LTE modem before Odroid C2 boot but this workaround not working. Is there any workaround which not involving connecting more than one USB device? Maybe usb kernel modules (usbcore, ehci_hcd, ...) compiled as external modules will help find workaround?
  13. Hi, I've been trying to enable SPI on my Odroid-C2 running Armbian Buster but I can't figure it out, I tried with overlays, modprobe-ing the modules, nothing works. I've uploaded my logs.
  14. Hello, I freshly installed Armbian Buster 20.02.3 with 5.4.21-meson64 and also compiled Kodi 18.6 from source by following this guide. It seems however that I cannot get any HDMI sound and ALSA gives me: aplay: device_list:272: no soundcards found... Could it be that I am missing something fundamental or is this a known issue? Thank you. Manos
  15. Well, no fancy introduction here, because this doesn't pretend to be a script for the general use, only for testers who want to try the current *very early* status of the media capabilities in the Armbian meson mainline kernel. Warning: It will replace your current kernel with a pre-compiled nightly 4.19.20. Instructions: Download, untar and run. If you need further instructions, then you are not ready for this script (again, it is very unpolished, not for general use). Download link: https://mega.nz/#!YvYUhayC!CI1fl52V4tV0G4oqUib4W-NlMpVSpLDp8kmo74g-V08 Things that you can try with this script, on a X session: Use a 1080p@30fps h264 video, and play it with "mpv -hwdec <filename>". You'll see in the logs that it is decoding through v4l-m2mcopy Install and run glmark2-es2 Use Chromium WebGL Play a 1080p@30fps video in YouTube in full-screen smoothly. I'm pretty sure it is not really using HW decoding as it claims (there is no initialization message in dmesg), but it's smooth for sure. Gstreamer is tested not to work, in some other forum I was told that Bionic version is not enough and I need to compile a newer one. Performance is not in any way good, but it is a starting point. Anyway, the first TO-DO is getting the mali module integrated into the kernel, so there is no need to compile it separately.
  16. Hello, I am using up to date Armbian Buster. TP-Link TL-WN722N V1 USB WiFi dongle causes system crashes after kernel upgrade to 5.4.12-meson64 #19.11.8 SMP PREEMPT Thu Jan 16 20:12:23 CET 2020 aarch64 GNU/Linux. Before updating the kernel, I had no such problem. Feb 12 20:17:15 xxx systemd[1]: Found device AR9271 802.11n. Feb 12 20:17:15 xxx systemd[1]: Started ifup for wlx54e6fc8d208e. Feb 12 20:17:15 xxx wpa_supplicant[2360]: Successfully initialized wpa_supplicant Feb 12 20:17:15 xxx sh[2344]: wlx54e6fc8d208e=wlx54e6fc8d208e Feb 12 20:17:17 xxx wpa_supplicant[2361]: Using interface wlx54e6fc8d208e with hwaddr 54:e6:fc:8d:20:8e and ssid "mynetwork" Feb 12 20:17:17 xxx wpa_supplicant[2361]: wlx54e6fc8d208e: interface state UNINITIALIZED->ENABLED Feb 12 20:17:17 xxx wpa_supplicant[2361]: wlx54e6fc8d208e: AP-ENABLED Feb 12 20:17:17 xxx wpa_supplicant[2361]: wlx54e6fc8d208e: CTRL-EVENT-CONNECTED - Connection to 54:e6:fc:8d:20:8e completed [id=0 id_str=] Feb 12 20:17:20 xxx systemd[1]: systemd-rfkill.service: Succeeded. Feb 12 20:17:41 xxx wpa_supplicant[2361]: wlx54e6fc8d208e: AP-STA-CONNECTED 2c:d0:5a:38:bd:3b Feb 12 20:18:00 xxx sshd[2403]: Accepted password for myuser from 10.0.0.5 port 22 ssh2 Feb 12 20:18:00 xxx sshd[2403]: pam_unix(sshd:session): session opened for user myuser by (uid=0) Feb 12 20:18:00 xxx systemd[1]: Created slice User Slice of UID 1001. Feb 12 20:18:00 xxx systemd[1]: Starting User Runtime Directory /run/user/1001... Feb 12 20:18:00 xxx systemd-logind[1584]: New session 7 of user myuser. Feb 12 20:18:00 xxx systemd[1]: Started User Runtime Directory /run/user/1001. Feb 12 20:18:00 xxx systemd[1]: Starting User Manager for UID 1001... Feb 12 20:18:00 xxx systemd[2406]: pam_unix(systemd-user:session): session opened for user myuser by (uid=0) Feb 12 20:18:00 xxx systemd[2406]: Reached target Paths. Feb 12 20:18:00 xxx systemd[2406]: Reached target Sockets. Feb 12 20:18:00 xxx systemd[2406]: Reached target Timers. Feb 12 20:18:00 xxx systemd[2406]: Reached target Basic System. Feb 12 20:18:00 xxx systemd[2406]: Reached target Default. Feb 12 20:18:00 xxx systemd[2406]: Startup finished in 123ms. Feb 12 20:18:00 xxx systemd[1]: Started User Manager for UID 1001. Feb 12 20:18:00 xxx systemd[1]: Started Session 7 of user myuser. Feb 12 20:18:48 xxx sshd[2505]: Received disconnect from 10.0.0.5 port 22:11: disconnected by user Feb 12 20:18:48 xxx sshd[2505]: Disconnected from user myuser 10.0.0.5 port 22 Feb 12 20:18:48 xxx sshd[2403]: pam_unix(sshd:session): session closed for user myuser Feb 12 20:18:48 xxx systemd[1]: session-7.scope: Succeeded. Feb 12 20:18:48 xxx systemd-logind[1584]: Session 7 logged out. Waiting for processes to exit. Feb 12 20:18:48 xxx systemd-logind[1584]: Removed session 7. Feb 12 20:18:54 xxx wpa_supplicant[2361]: wlx54e6fc8d208e: AP-STA-DISCONNECTED 2c:d0:5a:38:bd:3b Feb 12 20:18:56 xxx kernel: ath: phy0: Unable to remove station entry for: 2c:d0:5a:38:bd:3b Message from syslogd@localhost at Feb 12 20:18:59 ... kernel:[ 571.404886] Internal error: Oops: 96000004 [#1] PREEMPT SMP Message from syslogd@localhost at Feb 12 20:18:59 ... kernel:[ 571.612865] Code: d5384101 b9402262 b9401020 11000400 (f8626a99) Message from syslogd@localhost at Feb 12 20:18:59 ... kernel:[ 571.623551] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Second one: Feb 12 20:23:08 xxx wpa_supplicant[2125]: Using interface wlx54e6fc8d208e with hwaddr 54:e6:fc:8d:20:8e and ssid "mynetwork" Feb 12 20:23:08 xxx wpa_supplicant[2125]: wlx54e6fc8d208e: interface state UNINITIALIZED->ENABLED Feb 12 20:23:08 xxx wpa_supplicant[2125]: wlx54e6fc8d208e: AP-ENABLED Feb 12 20:23:08 xxx wpa_supplicant[2125]: wlx54e6fc8d208e: CTRL-EVENT-CONNECTED - Connection to 54:e6:fc:8d:20:8e completed [id=0 id_str=] Feb 12 20:23:11 xxx systemd[1]: systemd-rfkill.service: Succeeded. Message from syslogd@localhost at Feb 12 20:23:25 ... kernel:[ 77.921372] Internal error: Oops: 96000004 [#1] PREEMPT SMP Message from syslogd@localhost at Feb 12 20:23:25 ... kernel:[ 78.152254] Code: d5384101 b9402262 b9401020 11000400 (f8626a99) Feb 12 20:23:25 xxx kernel: Unable to handle kernel paging request at virtual address 0005001700000048 Feb 12 20:23:25 xxx kernel: Mem abort info: Feb 12 20:23:25 xxx kernel: ESR = 0x96000004 Feb 12 20:23:25 xxx kernel: EC = 0x25: DABT (current EL), IL = 32 bits Feb 12 20:23:25 xxx kernel: SET = 0, FnV = 0 Feb 12 20:23:25 xxx kernel: EA = 0, S1PTW = 0 Feb 12 20:23:25 xxx kernel: Data abort info: Feb 12 20:23:25 xxx kernel: ISV = 0, ISS = 0x00000004 Feb 12 20:23:25 xxx kernel: CM = 0, WnR = 0 Feb 12 20:23:25 xxx kernel: [0005001700000048] address between user and kernel address ranges Feb 12 20:23:25 xxx kernel: Internal error: Oops: 96000004 [#1] PREEMPT SMP Feb 12 20:23:25 xxx kernel: Modules linked in: ath9k_htc ath9k_common ath9k_hw mac80211 ath cfg80211 rfkill libarc4 cdc_ether usbnet uas nf_log_ipv4 nf_log_common nft_limit cpufreq_powersave cpufreq_conservative xt_tcpudp xt_multiport xt_LOG xt_limit xt_conntrack nft_counter nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink meson_rng rng_core meson_gxbb_wdt scpi_hwmon ip_tables x_tables dwmac_generic realtek dwmac_meson8b Feb 12 20:23:25 xxx kernel: CPU: 1 PID: 2125 Comm: wpa_supplicant Not tainted 5.4.12-meson64 #19.11.8 Feb 12 20:23:25 xxx kernel: Hardware name: Hardkernel ODROID-C2 (DT) Feb 12 20:23:25 xxx kernel: pstate: 60000005 (nZCv daif -PAN -UAO) Feb 12 20:23:25 xxx kernel: pc : __kmalloc_node_track_caller+0x150/0x288 Feb 12 20:23:25 xxx kernel: lr : __kmalloc_node_track_caller+0x4c/0x288 Feb 12 20:23:25 xxx kernel: sp : ffff800010603710 Feb 12 20:23:25 xxx kernel: x29: ffff800010603710 x28: 0000000000000014 Feb 12 20:23:25 xxx kernel: x27: ffff80001249d3c0 x26: ffff000042d90d00 Feb 12 20:23:25 xxx kernel: x25: 00000000ffffffff x24: 0000000000159801 Feb 12 20:23:25 xxx kernel: x23: ffff800011c67510 x22: 00000000ffffffff Feb 12 20:23:25 xxx kernel: x21: 00000000000928c0 x20: 0005001700000048 Feb 12 20:23:25 xxx kernel: x19: ffff000007303800 x18: 0000000000000000 Feb 12 20:23:25 xxx kernel: x17: 0000000000000000 x16: 0000000000000000 Feb 12 20:23:25 xxx kernel: x15: 0000000000000000 x14: 85a901e7583f6960 Feb 12 20:23:25 xxx kernel: x13: 3c82001b6c5b05ca x12: 32d0f6c2e6c1b305 Feb 12 20:23:25 xxx kernel: x11: ed25b09923fa1d1c x10: 32b5a2a8b0fc50fa Feb 12 20:23:25 xxx kernel: x9 : 0000000000000000 x8 : ffff00003c5a1020 Feb 12 20:23:25 xxx kernel: x7 : 0000000000000000 x6 : ffff00003c5a1020 Feb 12 20:23:25 xxx kernel: x5 : 0000000000000020 x4 : 0000000000000000 Feb 12 20:23:25 xxx kernel: x3 : 0000000000159801 x2 : 0000000000000000 Feb 12 20:23:25 xxx kernel: x1 : ffff00003c56aac0 x0 : 0000000000000001 Feb 12 20:23:25 xxx kernel: Call trace: Feb 12 20:23:25 xxx kernel: __kmalloc_node_track_caller+0x150/0x288 Feb 12 20:23:25 xxx kernel: __kmalloc_reserve.isra.56+0x44/0xa0 Feb 12 20:23:25 xxx kernel: pskb_expand_head+0x70/0x2d0 Feb 12 20:23:25 xxx kernel: netlink_trim+0xa0/0xe0 Feb 12 20:23:25 xxx kernel: netlink_unicast+0x54/0x1f8 Feb 12 20:23:25 xxx kernel: nl80211_tx_mgmt+0x32c/0x370 [cfg80211] Feb 12 20:23:25 xxx kernel: genl_family_rcv_msg+0x1dc/0x3b0 Feb 12 20:23:25 xxx kernel: genl_rcv_msg+0x58/0xd0 Feb 12 20:23:25 xxx kernel: netlink_rcv_skb+0x58/0x118 Feb 12 20:23:25 xxx kernel: genl_rcv+0x34/0x48 Feb 12 20:23:25 xxx kernel: netlink_unicast+0x180/0x1f8 Feb 12 20:23:25 xxx kernel: netlink_sendmsg+0x198/0x338 Feb 12 20:23:25 xxx kernel: sock_sendmsg+0x44/0x50 Feb 12 20:23:25 xxx kernel: ____sys_sendmsg+0x250/0x290 Feb 12 20:23:25 xxx kernel: ___sys_sendmsg+0x80/0xc0 Feb 12 20:23:25 xxx kernel: __sys_sendmsg+0x68/0xb8 Feb 12 20:23:25 xxx kernel: __arm64_sys_sendmsg+0x20/0x28 Feb 12 20:23:25 xxx kernel: el0_svc_common.constprop.2+0x88/0x150 Feb 12 20:23:25 xxx kernel: el0_svc_handler+0x20/0x80 Feb 12 20:23:25 xxx kernel: el0_svc+0x8/0xc Feb 12 20:23:25 xxx kernel: Code: d5384101 b9402262 b9401020 11000400 (f8626a99) Feb 12 20:23:25 xxx kernel: ---[ end trace 7b6592514db85574 ]--- Message from syslogd@localhost at Feb 12 20:23:26 ... kernel:[ 78.799696] Internal error: Oops: 96000004 [#2] PREEMPT SMP Message from syslogd@localhost at Feb 12 20:23:26 ... kernel:[ 79.010560] Code: d5384101 b9402262 b9401020 11000400 (f8626a99) Feb 12 20:23:26 xxx kernel: Unable to handle kernel paging request at virtual address 0005001700000048 Feb 12 20:23:26 xxx kernel: Mem abort info: Feb 12 20:23:26 xxx kernel: ESR = 0x96000004 Feb 12 20:23:26 xxx kernel: EC = 0x25: DABT (current EL), IL = 32 bits Feb 12 20:23:26 xxx kernel: SET = 0, FnV = 0 Feb 12 20:23:26 xxx kernel: EA = 0, S1PTW = 0 Feb 12 20:23:26 xxx kernel: Data abort info: Feb 12 20:23:26 xxx kernel: ISV = 0, ISS = 0x00000004 Feb 12 20:23:26 xxx kernel: CM = 0, WnR = 0 Feb 12 20:23:26 xxx kernel: [0005001700000048] address between user and kernel address ranges Feb 12 20:23:26 xxx kernel: Internal error: Oops: 96000004 [#2] PREEMPT SMP Feb 12 20:23:26 xxx kernel: Modules linked in: ath9k_htc ath9k_common ath9k_hw mac80211 ath cfg80211 rfkill libarc4 cdc_ether usbnet uas nf_log_ipv4 nf_log_common nft_limit cpufreq_powersave cpufreq_conservative xt_tcpudp xt_multiport xt_LOG xt_limit xt_conntrack nft_counter nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink meson_rng rng_core meson_gxbb_wdt scpi_hwmon ip_tables x_tables dwmac_generic realtek dwmac_meson8b Feb 12 20:23:26 xxx kernel: CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G D 5.4.12-meson64 #19.11.8 Feb 12 20:23:26 xxx kernel: Hardware name: Hardkernel ODROID-C2 (DT) Feb 12 20:23:26 xxx kernel: Workqueue: phy0 ath9k_led_work [ath9k_htc] Feb 12 20:23:26 xxx kernel: pstate: 60000005 (nZCv daif -PAN -UAO) Feb 12 20:23:26 xxx kernel: pc : __kmalloc_node_track_caller+0x150/0x288 Feb 12 20:23:26 xxx kernel: lr : __kmalloc_node_track_caller+0x4c/0x288 Feb 12 20:23:26 xxx kernel: sp : ffff80001005bbe0 Feb 12 20:23:26 xxx kernel: x29: ffff80001005bbe0 x28: 0000000000000000 Feb 12 20:23:26 xxx kernel: x27: ffff00000735a0b8 x26: ffff80001005bd70 Feb 12 20:23:26 xxx kernel: x25: 00000000ffffffff x24: 0000000000159801 Feb 12 20:23:26 xxx kernel: x23: ffff800011c62c54 x22: 00000000ffffffff Feb 12 20:23:26 xxx kernel: x21: 0000000000082a20 x20: 0005001700000048 Feb 12 20:23:26 xxx kernel: x19: ffff000007303800 x18: 0000000000000010 Feb 12 20:23:26 xxx kernel: x17: 0000000000000000 x16: 0000000000000000 Feb 12 20:23:26 xxx kernel: x15: 0000000000000000 x14: 3239353662372065 Feb 12 20:23:26 xxx kernel: x13: 0000000000000000 x12: 0000000000000001 Feb 12 20:23:26 xxx kernel: x11: 0000000000000000 x10: 00000000000009f0 Feb 12 20:23:26 xxx kernel: x9 : ffff80001005bd60 x8 : fefefefefefefeff Feb 12 20:23:26 xxx kernel: x7 : 0000000000000001 x6 : 0000000000000064 Feb 12 20:23:26 xxx kernel: x5 : 000000000000000c x4 : 0000000000000000 Feb 12 20:23:26 xxx kernel: x3 : 0000000000159801 x2 : 0000000000000000 Feb 12 20:23:26 xxx kernel: x1 : ffff000007395580 x0 : 0000000000000001 Feb 12 20:23:26 xxx kernel: Call trace: Feb 12 20:23:26 xxx kernel: __kmalloc_node_track_caller+0x150/0x288 Feb 12 20:23:26 xxx kernel: __kmalloc_reserve.isra.56+0x44/0xa0 Feb 12 20:23:26 xxx kernel: __alloc_skb+0x84/0x198 Feb 12 20:23:26 xxx kernel: ath9k_wmi_cmd+0x6c/0x1c8 [ath9k_htc] Feb 12 20:23:26 xxx kernel: ath9k_reg_rmw+0x7c/0x170 [ath9k_htc] Feb 12 20:23:26 xxx kernel: ath9k_hw_set_gpio+0xa8/0xf0 [ath9k_hw] Feb 12 20:23:26 xxx kernel: ath9k_led_work+0x28/0x30 [ath9k_htc] Feb 12 20:23:26 xxx kernel: process_one_work+0x1e0/0x338 Feb 12 20:23:26 xxx kernel: worker_thread+0x40/0x440 Feb 12 20:23:26 xxx kernel: kthread+0x120/0x128 Feb 12 20:23:26 xxx kernel: ret_from_fork+0x10/0x18 Feb 12 20:23:26 xxx kernel: Code: d5384101 b9402262 b9401020 11000400 (f8626a99) Feb 12 20:23:26 xxx kernel: ---[ end trace 7b6592514db85575 ]--- Message from syslogd@localhost at Feb 12 20:23:47 ... kernel:[ 99.419758] Internal error: Oops: 96000004 [#3] PREEMPT SMP Message from syslogd@localhost at Feb 12 20:23:47 ... kernel:[ 99.642872] Code: d5384101 b9402262 b9401020 11000400 (f8626a99) Feb 12 20:23:46 xxx kernel: Unable to handle kernel paging request at virtual address 0005001700000048 Feb 12 20:23:46 xxx kernel: Mem abort info: Feb 12 20:23:46 xxx kernel: ESR = 0x96000004 Feb 12 20:23:46 xxx kernel: EC = 0x25: DABT (current EL), IL = 32 bits Feb 12 20:23:46 xxx kernel: SET = 0, FnV = 0 Feb 12 20:23:46 xxx kernel: EA = 0, S1PTW = 0 Feb 12 20:23:46 xxx kernel: Data abort info: Feb 12 20:23:46 xxx kernel: ISV = 0, ISS = 0x00000004 Feb 12 20:23:46 xxx kernel: CM = 0, WnR = 0 Feb 12 20:23:46 xxx kernel: [0005001700000048] address between user and kernel address ranges Feb 12 20:23:47 xxx kernel: Internal error: Oops: 96000004 [#3] PREEMPT SMP Feb 12 20:23:47 xxx kernel: Modules linked in: ath9k_htc ath9k_common ath9k_hw mac80211 ath cfg80211 rfkill libarc4 cdc_ether usbnet uas nf_log_ipv4 nf_log_common nft_limit cpufreq_powersave cpufreq_conservative xt_tcpudp xt_multiport xt_LOG xt_limit xt_conntrack nft_counter nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink meson_rng rng_core meson_gxbb_wdt scpi_hwmon ip_tables x_tables dwmac_generic realtek dwmac_meson8b Feb 12 20:23:47 xxx kernel: CPU: 1 PID: 1557 Comm: systemd-timesyn Tainted: G D 5.4.12-meson64 #19.11.8 Feb 12 20:23:47 xxx kernel: Hardware name: Hardkernel ODROID-C2 (DT) Feb 12 20:23:47 xxx kernel: pstate: 60000005 (nZCv daif -PAN -UAO) Feb 12 20:23:47 xxx kernel: pc : __kmalloc_node_track_caller+0x150/0x288 Feb 12 20:23:47 xxx kernel: lr : __kmalloc_node_track_caller+0x4c/0x288 Feb 12 20:23:47 xxx kernel: sp : ffff8000105f37c0 Feb 12 20:23:47 xxx kernel: x29: ffff8000105f37c0 x28: 0000000000000000 Feb 12 20:23:47 xxx kernel: x27: 0000000000000cc0 x26: 0000000000000000 Feb 12 20:23:47 xxx kernel: x25: 00000000ffffffff x24: 0000000000159801 Feb 12 20:23:47 xxx kernel: x23: ffff800011c62c54 x22: 00000000ffffffff Feb 12 20:23:47 xxx kernel: x21: 0000000000082cc0 x20: 0005001700000048 Feb 12 20:23:47 xxx kernel: x19: ffff000007303800 x18: 0000000000000000 Feb 12 20:23:47 xxx kernel: x17: 0000000000000000 x16: 0000000000000000 Feb 12 20:23:47 xxx kernel: x15: 0000000000000000 x14: 0000000000000000 Feb 12 20:23:47 xxx kernel: x13: 0000000000000001 x12: 0000000000000000 Feb 12 20:23:47 xxx kernel: x11: 0000000000000000 x10: 0000000000000000 Feb 12 20:23:47 xxx kernel: x9 : 0000000000000000 x8 : 00000000000005c8 Feb 12 20:23:47 xxx kernel: x7 : 0000000000000014 x6 : 0000000000000000 Feb 12 20:23:47 xxx kernel: x5 : ffff000042d90e00 x4 : ffff00007fbb42f0 Feb 12 20:23:47 xxx kernel: x3 : 0000000000159801 x2 : 0000000000000000 Feb 12 20:23:47 xxx kernel: x1 : ffff00007ef4e3c0 x0 : 0000000000000001 Feb 12 20:23:47 xxx kernel: Call trace: Feb 12 20:23:47 xxx kernel: __kmalloc_node_track_caller+0x150/0x288 Feb 12 20:23:47 xxx kernel: __kmalloc_reserve.isra.56+0x44/0xa0 Feb 12 20:23:47 xxx kernel: __alloc_skb+0x84/0x198 Feb 12 20:23:47 xxx kernel: alloc_skb_with_frags+0x50/0x1e0 Feb 12 20:23:47 xxx kernel: sock_alloc_send_pskb+0x200/0x238 Feb 12 20:23:47 xxx kernel: sock_alloc_send_skb+0x1c/0x28 Feb 12 20:23:47 xxx kernel: __ip_append_data.isra.59+0x770/0xc10 Feb 12 20:23:47 xxx kernel: ip_make_skb+0xe8/0x140 Feb 12 20:23:47 xxx kernel: udp_sendmsg+0x794/0xa10 Feb 12 20:23:47 xxx kernel: inet_sendmsg+0x40/0x68 Feb 12 20:23:47 xxx kernel: sock_sendmsg+0x44/0x50 Feb 12 20:23:47 xxx kernel: __sys_sendto+0xcc/0x130 Feb 12 20:23:47 xxx kernel: __arm64_sys_sendto+0x24/0x30 Feb 12 20:23:47 xxx kernel: el0_svc_common.constprop.2+0x88/0x150 Feb 12 20:23:47 xxx kernel: el0_svc_handler+0x20/0x80 Feb 12 20:23:47 xxx kernel: el0_svc+0x8/0xc Feb 12 20:23:47 xxx kernel: Code: d5384101 b9402262 b9401020 11000400 (f8626a99) Feb 12 20:23:47 xxx kernel: ---[ end trace 7b6592514db85576 ]---
  17. Hi all, I have a problem with current DEV kernel. On some boards, everything works nicely, and after booting the kernel network is stable, on some other C2 boards, I get error messages on the eth0 dwmac, and no network: [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.3.15-meson64 (root@skylake) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.99 SMP PREEMPT Thu Dec 12 11:12:47 CET 2019 [ 0.000000] Machine model: Hardkernel ODROID-C2 [ 0.000000] Reserved memory: created CMA memory pool at 0x000000006d800000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] On node 0 totalpages: 518912 [ 0.000000] DMA32 zone: 8128 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 518912 pages, LIFO batch:63 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv0.2 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] percpu: Embedded 22 pages/cpu s51224 r8192 d30696 u90112 [ 0.000000] pcpu-alloc: s51224 r8192 d30696 u90112 alloc=22*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: ARM erratum 843419 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 510784 [ 0.000000] Kernel command line: root=UUID=30fa8d3c-2777-46bb-ac53-01c9512f2f27 rootwait rootfstype=ext4 panic=10 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=1 ubootpart=e5be0000-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u usbcore.autosuspend=-1 cgroup_enable=memory swapaccount=1 [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1749708K/2075648K available (11134K kernel code, 746K rwdata, 3388K rodata, 576K init, 399K bss, 63796K reserved, 262144K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] irq_meson_gpio: 133 to 8 gpio interrupt mux initialized [ 0.000000] random: get_random_bytes called from start_kernel+0x2f4/0x488 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000238] Console: colour dummy device 80x25 [ 0.000246] printk: console [tty1] enabled [ 0.000271] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000276] pid_max: default: 32768 minimum: 301 [ 0.000323] LSM: Security Framework initializing [ 0.000380] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000393] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000723] *** VALIDATE proc *** [ 0.000888] *** VALIDATE cgroup1 *** [ 0.000893] *** VALIDATE cgroup2 *** [ 0.024007] ASID allocator initialised with 32768 entries [ 0.032000] rcu: Hierarchical SRCU implementation. [ 0.048018] smp: Bringing up secondary CPUs ... [ 0.080712] Detected VIPT I-cache on CPU1 [ 0.080751] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.112719] Detected VIPT I-cache on CPU2 [ 0.112739] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.144750] Detected VIPT I-cache on CPU3 [ 0.144767] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.144811] smp: Brought up 1 node, 4 CPUs [ 0.144814] SMP: Total of 4 processors activated. [ 0.144817] CPU features: detected: 32-bit EL0 Support [ 0.144820] CPU features: detected: CRC32 instructions [ 0.145083] CPU: All CPU(s) started at EL2 [ 0.145095] alternatives: patching kernel code [ 0.145664] devtmpfs: initialized [ 0.149787] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.149801] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.155452] xor: measuring software checksum speed [ 0.192225] 8regs : 2948.000 MB/sec [ 0.232247] 32regs : 3624.000 MB/sec [ 0.272272] arm64_neon: 3173.000 MB/sec [ 0.272275] xor: using function: 32regs (3624.000 MB/sec) [ 0.272284] pinctrl core: initialized pinctrl subsystem [ 0.273197] NET: Registered protocol family 16 [ 0.273500] audit: initializing netlink subsys (disabled) [ 0.273574] audit: type=2000 audit(0.272:1): state=initialized audit_enabled=0 res=1 [ 0.276950] cpuidle: using governor menu [ 0.277149] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.277887] DMA: preallocated 2048 KiB pool for atomic allocations [ 0.277974] Serial: AMBA PL011 UART driver [ 0.287994] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.288001] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.288004] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.288007] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.289931] cryptd: max_cpu_qlen set to 1000 [ 0.360488] raid6: neonx8 gen() 2112 MB/s [ 0.428564] raid6: neonx8 xor() 1962 MB/s [ 0.496609] raid6: neonx4 gen() 1942 MB/s [ 0.564648] raid6: neonx4 xor() 1850 MB/s [ 0.632722] raid6: neonx2 gen() 1498 MB/s [ 0.700757] raid6: neonx2 xor() 1551 MB/s [ 0.768849] raid6: neonx1 gen() 935 MB/s [ 0.836910] raid6: neonx1 xor() 1104 MB/s [ 0.904937] raid6: int64x8 gen() 1259 MB/s [ 0.972974] raid6: int64x8 xor() 961 MB/s [ 1.041059] raid6: int64x4 gen() 1334 MB/s [ 1.109095] raid6: int64x4 xor() 981 MB/s [ 1.177181] raid6: int64x2 gen() 871 MB/s [ 1.245217] raid6: int64x2 xor() 775 MB/s [ 1.313300] raid6: int64x1 gen() 569 MB/s [ 1.381343] raid6: int64x1 xor() 569 MB/s [ 1.381345] raid6: using algorithm neonx8 gen() 2112 MB/s [ 1.381347] raid6: .... xor() 1962 MB/s, rmw enabled [ 1.381349] raid6: using neon recovery algorithm [ 1.382590] SCSI subsystem initialized [ 1.382831] usbcore: registered new interface driver usbfs [ 1.382859] usbcore: registered new interface driver hub [ 1.382919] usbcore: registered new device driver usb [ 1.383203] pps_core: LinuxPPS API ver. 1 registered [ 1.383206] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.383220] PTP clock support registered [ 1.384106] clocksource: Switched to clocksource arch_sys_counter [ 1.384237] VFS: Disk quotas dquot_6.6.0 [ 1.384275] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.384324] *** VALIDATE hugetlbfs *** [ 1.388373] thermal_sys: Registered thermal governor 'step_wise' [ 1.388377] thermal_sys: Registered thermal governor 'power_allocator' [ 1.388641] NET: Registered protocol family 2 [ 1.388978] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 1.389003] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 1.389086] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 1.389249] TCP: Hash tables configured (established 16384 bind 16384) [ 1.389338] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 1.389370] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 1.389490] NET: Registered protocol family 1 [ 1.389768] RPC: Registered named UNIX socket transport module. [ 1.389770] RPC: Registered udp transport module. [ 1.389772] RPC: Registered tcp transport module. [ 1.389774] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.389896] Trying to unpack rootfs image as initramfs... [ 1.606274] Freeing initrd memory: 6976K [ 1.606857] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 1.607092] kvm [1]: IPA Size Limit: 40bits [ 1.607413] kvm [1]: vgic interrupt IRQ1 [ 1.607493] kvm [1]: Hyp mode initialized successfully [ 1.778993] Initialise system trusted keyrings [ 1.779093] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 1.782785] zbud: loaded [ 1.784394] NFS: Registering the id_resolver key type [ 1.784413] Key type id_resolver registered [ 1.784415] Key type id_legacy registered [ 1.784422] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.784425] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.785178] JFS: nTxBlock = 8192, nTxLock = 65536 [ 1.789873] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 1.812515] Key type asymmetric registered [ 1.812521] Asymmetric key parser 'x509' registered [ 1.812581] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.812704] io scheduler mq-deadline registered [ 1.812707] io scheduler kyber registered [ 1.812835] io scheduler bfq registered [ 1.813917] GPIO line 501 (usb-hub-reset) hogged as output/high [ 1.824713] soc soc0: Amlogic Meson GXBB (S905) Revision 1f:c (0:1) Detected [ 1.825574] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.826845] c11084c0.serial: ttyAML1 at MMIO 0xc11084c0 (irq = 10, base_baud = 1500000) is a meson_uart [ 1.827188] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 14, base_baud = 1500000) is a meson_uart [ 1.827225] printk: console [ttyAML0] enabled [ 1.829350] brd: module loaded [ 1.832420] loop: module loaded [ 1.833173] libphy: Fixed MDIO Bus: probed [ 1.833564] tun: Universal TUN/TAP device driver, 1.6 [ 1.834341] meson8b-dwmac c9410000.ethernet: PTP uses main clock [ 1.834349] meson8b-dwmac c9410000.ethernet: no reset control found [ 1.834687] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37 [ 1.834693] meson8b-dwmac c9410000.ethernet: DWMAC1000 [ 1.834698] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported [ 1.834701] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported [ 1.834705] meson8b-dwmac c9410000.ethernet: COE Type 2 [ 1.834708] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported [ 1.834711] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported [ 1.834733] meson8b-dwmac c9410000.ethernet: Normal descriptors [ 1.834736] meson8b-dwmac c9410000.ethernet: Ring mode enabled [ 1.834740] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 1.834835] libphy: stmmac: probed [ 1.886865] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.886870] ehci-platform: EHCI generic platform driver [ 1.886956] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.886973] ohci-platform: OHCI generic platform driver [ 1.887237] usbcore: registered new interface driver usb-storage [ 1.888047] mousedev: PS/2 mouse device common for all mice [ 1.888327] i2c /dev entries driver [ 1.889917] sdhci: Secure Digital Host Controller Interface driver [ 1.889922] sdhci: Copyright(c) Pierre Ossman [ 1.889942] Synopsys Designware Multimedia Card Interface Driver [ 1.890854] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq [ 1.916719] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.917517] ledtrig-cpu: registered to indicate activity on CPUs [ 1.917782] meson-sm: secure-monitor enabled [ 1.917974] usbcore: registered new interface driver usbhid [ 1.917975] usbhid: USB HID core driver [ 1.918105] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered [ 1.920240] NET: Registered protocol family 10 [ 1.920811] Segment Routing with IPv6 [ 1.920848] NET: Registered protocol family 17 [ 1.920897] Key type dns_resolver registered [ 1.921446] registered taskstats version 1 [ 1.921449] Loading compiled-in X.509 certificates [ 1.921520] zswap: loaded using pool lzo/zbud [ 1.922274] Btrfs loaded, crc32c=crc32c-generic [ 1.939460] Key type encrypted registered [ 1.949162] dwc2 c9000000.usb: c9000000.usb supply vusb_d not found, using dummy regulator [ 1.949217] dwc2 c9000000.usb: c9000000.usb supply vusb_a not found, using dummy regulator [ 1.950401] phy phy-c0000000.phy.0: USB ID detect failed! [ 1.950408] phy phy-c0000000.phy.0: phy poweron failed --> -22 [ 1.950426] ------------[ cut here ]------------ [ 1.950477] WARNING: CPU: 0 PID: 59 at drivers/regulator/core.c:2036 _regulator_put.part.8+0xc0/0xc8 [ 1.950479] Modules linked in: realtek [ 1.950489] CPU: 0 PID: 59 Comm: kworker/0:1 Not tainted 5.3.15-meson64 #5.99 [ 1.950491] Hardware name: Hardkernel ODROID-C2 (DT) [ 1.950500] Workqueue: events deferred_probe_work_func [ 1.950505] pstate: 60000005 (nZCv daif -PAN -UAO) [ 1.950508] pc : _regulator_put.part.8+0xc0/0xc8 [ 1.950512] lr : _regulator_put.part.8+0xc0/0xc8 [ 1.950514] sp : ffff000011143b10 [ 1.950516] x29: ffff000011143b10 x28: 0000000000000000 [ 1.950520] x27: 0000000000000000 x26: ffff000010db0638 [ 1.950523] x25: 0000000000000000 x24: 0000000000000009 [ 1.950527] x23: ffff000011143bd8 x22: ffff80007f37c810 [ 1.950530] x21: ffff000010f59000 x20: ffff80006afa9500 [ 1.950534] x19: ffff80006afa9500 x18: ffffffffffffffff [ 1.950538] x17: 0000000059297a1e x16: 000000003bf859fc [ 1.950541] x15: ffff000010f74000 x14: 00000000fffffff0 [ 1.950545] x13: ffff000011015952 x12: ffff000010f74000 [ 1.950548] x11: 0000000000000000 x10: 0000000000000000 [ 1.950552] x9 : 0000000000000001 x8 : 00000000000000cc [ 1.950555] x7 : 0000000000000000 x6 : 0000000005ec36f1 [ 1.950559] x5 : 0000000000000000 x4 : 0000000000000000 [ 1.950562] x3 : 00000000ffffffff x2 : db06fa2975df1f00 [ 1.950565] x1 : 0000000000000000 x0 : 0000000000000024 [ 1.950569] Call trace: [ 1.950574] _regulator_put.part.8+0xc0/0xc8 [ 1.950577] regulator_put+0x34/0x50 [ 1.950581] regulator_bulk_free+0x30/0x50 [ 1.950585] devm_regulator_bulk_release+0x18/0x20 [ 1.950589] release_nodes+0x138/0x228 [ 1.950592] devres_release_all+0x34/0x60 [ 1.950596] really_probe+0x194/0x2c8 [ 1.950600] driver_probe_device+0x58/0x100 [ 1.950603] __device_attach_driver+0x90/0xb0 [ 1.950607] bus_for_each_drv+0x64/0xc8 [ 1.950610] __device_attach+0xd8/0x138 [ 1.950614] device_initial_probe+0x10/0x18 [ 1.950617] bus_probe_device+0x90/0x98 [ 1.950621] deferred_probe_work_func+0x74/0xb0 [ 1.950626] process_one_work+0x1e0/0x338 [ 1.950630] worker_thread+0x240/0x468 [ 1.950634] kthread+0x124/0x128 [ 1.950639] ret_from_fork+0x10/0x18 [ 1.950641] ---[ end trace c674df8d9494f10d ]--- [ 1.950680] ------------[ cut here ]------------ [ 1.950709] WARNING: CPU: 0 PID: 59 at drivers/regulator/core.c:2036 _regulator_put.part.8+0xc0/0xc8 [ 1.950711] Modules linked in: realtek [ 1.950716] CPU: 0 PID: 59 Comm: kworker/0:1 Tainted: G W 5.3.15-meson64 #5.99 [ 1.950718] Hardware name: Hardkernel ODROID-C2 (DT) [ 1.950722] Workqueue: events deferred_probe_work_func [ 1.950726] pstate: 60000005 (nZCv daif -PAN -UAO) [ 1.950730] pc : _regulator_put.part.8+0xc0/0xc8 [ 1.950733] lr : _regulator_put.part.8+0xc0/0xc8 [ 1.950735] sp : ffff000011143b10 [ 1.950737] x29: ffff000011143b10 x28: 0000000000000000 [ 1.950741] x27: 0000000000000000 x26: ffff000010db0638 [ 1.950744] x25: 0000000000000000 x24: 0000000000000009 [ 1.950748] x23: ffff000011143bd8 x22: ffff80007f37c810 [ 1.950751] x21: ffff000010f59000 x20: ffff80006afa9600 [ 1.950755] x19: ffff80006afa9600 x18: 0000000000000016 [ 1.950758] x17: 0000000059297a1e x16: 000000003bf859fc [ 1.950762] x15: ffff000010f74000 x14: 00000000fffffff0 [ 1.950766] x13: ffff000011015952 x12: ffff000010f74000 [ 1.950769] x11: 0000000000000000 x10: 0000000000000000 [ 1.950772] x9 : 0000000000000001 x8 : 00000000000000f9 [ 1.950776] x7 : 0000000000000000 x6 : 0000000005ec36f1 [ 1.950779] x5 : 0000000000000000 x4 : 0000000000000000 [ 1.950783] x3 : 00000000ffffffff x2 : db06fa2975df1f00 [ 1.950786] x1 : 0000000000000000 x0 : 0000000000000024 [ 1.950789] Call trace: [ 1.950793] _regulator_put.part.8+0xc0/0xc8 [ 1.950796] regulator_put+0x34/0x50 [ 1.950799] regulator_bulk_free+0x30/0x50 [ 1.950802] devm_regulator_bulk_release+0x18/0x20 [ 1.950805] release_nodes+0x138/0x228 [ 1.950809] devres_release_all+0x34/0x60 [ 1.950812] really_probe+0x194/0x2c8 [ 1.950816] driver_probe_device+0x58/0x100 [ 1.950819] __device_attach_driver+0x90/0xb0 [ 1.950822] bus_for_each_drv+0x64/0xc8 [ 1.950826] __device_attach+0xd8/0x138 [ 1.950829] device_initial_probe+0x10/0x18 [ 1.950833] bus_probe_device+0x90/0x98 [ 1.950836] deferred_probe_work_func+0x74/0xb0 [ 1.950839] process_one_work+0x1e0/0x338 [ 1.950842] worker_thread+0x240/0x468 [ 1.950846] kthread+0x124/0x128 [ 1.950849] ret_from_fork+0x10/0x18 [ 1.950852] ---[ end trace c674df8d9494f10e ]--- [ 1.950899] dwc2: probe of c9000000.usb failed with error -22 [ 1.951163] dwc2 c9100000.usb: c9100000.usb supply vusb_d not found, using dummy regulator [ 1.951196] dwc2 c9100000.usb: c9100000.usb supply vusb_a not found, using dummy regulator [ 1.990928] mmc0: new HS200 MMC card at address 0001 [ 1.991874] mmcblk0: mmc0:0001 AJNB4R 14.6 GiB [ 1.992588] mmcblk0boot0: mmc0:0001 AJNB4R partition 1 4.00 MiB [ 1.993263] mmcblk0boot1: mmc0:0001 AJNB4R partition 2 4.00 MiB [ 1.993394] mmcblk0rpmb: mmc0:0001 AJNB4R partition 3 4.00 MiB, chardev (245:0) [ 2.002093] mmcblk0: p1 [ 2.016304] dwc2 c9100000.usb: DWC OTG Controller [ 2.016323] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1 [ 2.016351] dwc2 c9100000.usb: irq 35, io mem 0xc9100000 [ 2.016485] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03 [ 2.016489] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.016494] usb usb1: Product: DWC OTG Controller [ 2.016497] usb usb1: Manufacturer: Linux 5.3.15-meson64 dwc2_hsotg [ 2.016501] usb usb1: SerialNumber: c9100000.usb [ 2.016794] hub 1-0:1.0: USB hub found [ 2.016816] hub 1-0:1.0: 1 port detected [ 2.017647] meson-gx-mmc d0072000.mmc: Got CD GPIO [ 2.045350] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware [ 2.048828] hctosys: unable to open rtc device (rtc0) [ 2.048930] of_cfs_init [ 2.049016] of_cfs_init: OK [ 2.051034] Freeing unused kernel memory: 576K [ 2.076745] Run /init as init process [ 2.269662] spidev0@0 enforce active low on chipselect handle [ 2.269688] spidev0@1 enforce active low on chipselect handle [ 2.301074] spidev spi0.0: probing from DT [ 2.301294] spidev spi0.1: probing from DT [ 2.306475] random: fast init done [ 2.416486] usb 1-1: new high-speed USB device number 2 using dwc2 [ 2.627160] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98 [ 2.627228] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.627280] usb 1-1: Product: USB2.0 Hub [ 2.630920] hub 1-1:1.0: USB hub found [ 2.631594] hub 1-1:1.0: 4 ports detected [ 2.807236] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 3.058942] systemd[1]: System time before build time, advancing clock. [ 3.082394] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 3.082764] systemd[1]: Detected architecture arm64. [ 3.088265] systemd[1]: Set hostname to <odroidc2>. [ 3.089851] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument [ 3.363692] random: systemd: uninitialized urandom read (16 bytes read) [ 3.369423] random: systemd: uninitialized urandom read (16 bytes read) [ 3.369857] systemd[1]: Listening on Journal Socket (/dev/log). [ 3.370613] random: systemd: uninitialized urandom read (16 bytes read) [ 3.370799] systemd[1]: Listening on Journal Audit Socket. [ 3.373027] systemd[1]: Listening on Syslog Socket. [ 3.373444] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 3.373778] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 3.375531] systemd[1]: Created slice User and Session Slice. [ 3.458949] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 3.628356] systemd-journald[1243]: Received request to flush runtime journal from PID 1 [ 3.957481] Driver for 1-wire Dallas network protocol. [ 3.992885] debugfs: Directory 'c1105400.audio' with parent 'regmap' already present! [ 4.008325] zram: Added device: zram0 [ 4.016474] zram: Added device: zram1 [ 4.016840] zram: Added device: zram2 [ 4.021849] Registered IR keymap rc-empty [ 4.021958] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0 [ 4.022056] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0 [ 4.026616] random: crng init done [ 4.026625] random: 7 urandom warning(s) missed due to ratelimiting [ 4.029073] meson-ir c8100580.ir: receiver initialized [ 4.047838] zram1: detected capacity change from 0 to 1033936896 [ 4.096275] Adding 1009700k swap on /dev/zram1. Priority:5 extents:1 across:1009700k SSFS [ 4.111309] lima d00c0000.gpu: bus rate = 166666667 [ 4.111327] lima d00c0000.gpu: mod rate = 744000000 [ 4.115381] lima d00c0000.gpu: gp - mali450 version major 0 minor 0 [ 4.115420] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0 [ 4.115463] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0 [ 4.115494] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0 [ 4.115530] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus [ 4.115536] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus [ 4.126836] [drm] Initialized lima 1.0.0 20190217 for d00c0000.gpu on minor 0 [ 4.131609] meson-drm d0100000.vpu: Queued 2 outputs on vpu [ 4.173385] ina2xx 0-0046: power monitor ina219 (Rshunt = 100000 uOhm) [ 4.174415] ina2xx 0-0045: power monitor ina219 (Rshunt = 100000 uOhm) [ 4.175485] ina2xx 0-0044: power monitor ina219 (Rshunt = 100000 uOhm) [ 4.179090] ina2xx 0-0043: power monitor ina219 (Rshunt = 100000 uOhm) [ 4.181286] ina2xx 0-0042: power monitor ina219 (Rshunt = 100000 uOhm) [ 4.183479] ina2xx 0-0041: power monitor ina219 (Rshunt = 100000 uOhm) [ 4.190420] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 4.190427] [drm] No driver support for vblank timestamp query. [ 4.192667] meson-drm d0100000.vpu: CVBS Output connector not available [ 4.224226] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) [ 4.229713] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver [ 4.230079] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi]) [ 4.230512] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1 [ 4.230607] [drm] Cannot find any crtc or sizes [ 4.329506] zram0: detected capacity change from 0 to 52428800 [ 4.444296] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard [ 4.458663] asoc-simple-card sound: i2s-hifi <-> meson-aiu-i2s.0.auto mapping ok [ 7.388753] meson8b-dwmac c9410000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] [ 7.400202] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found [ 7.400218] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW [ 7.400226] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rgmii link mode [ 9.005268] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 9.005357] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 9.026763] meson8b-dwmac c9410000.ethernet eth0: Link is Down [ 9.076402] meson8b-dwmac c9410000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] [ 9.184144] meson8b-dwmac c9410000.ethernet: Failed to reset the dma [ 9.184158] meson8b-dwmac c9410000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 9.184164] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Hw setup failed [ 33.764229] TFLASH_VDD: disabling [ 33.764251] TF_IO: disabling I tried with the same eMMC card on different boards. Board who fail with DEV kernel work with NEXT kernel, this one I checked, so I assume we have a problem in DEV kernel with C2 dwmac. Any ideas? EDIT: seems only to affect rev0.2_2017114 boards. rev0.2_20160226 seems to work. Can anyone crosscheck this behaviour with a dev/buster image? So far, Michael
  18. Hello everyone, my system is - Armbian Linux 4.18.8-odroidc2. Nextcloud is installed on this board and as data drive is a Lexar 64GB usb stick. I now have an SSD hard drive with two partitions, I had moved the system from the SD card to the first partition on the SSD. The second partition is called nextcloud and is a data drive. Everything works fine so far, but Armbian does not boot without the USB stick, it is not mounted either, it just has to be in the usb slot, otherwise the armbian will not boot. I need your help because I don't know what to do next. root@Nextcloud:~# blkid /dev/mmcblk1p1: UUID="4722b364-ae1f-42d6-ad8f-831b86997837" TYPE="ext4" PARTUUID="0d190000-01" /dev/sda1: LABEL="nextcloud" UUID="9c28c313-0a91-448e-8860-5b5b556fe997" TYPE="ext4" PARTUUID="2d9b74a1-01" /dev/zram0: LABEL="log2ram" UUID="68ac2f41-766b-4114-bb03-0f8fc4d79bc4" TYPE="ext4" /dev/sdb1: UUID="0e03b1d7-41f8-4dbf-a64e-3f3488680c66" TYPE="ext4" PARTUUID="6360b330-01" /dev/sdb2: LABEL="nextcloud" UUID="87febe4c-9c3b-45e4-88e9-48980982259d" UUID_SUB="49841a53-4daa-49bc-a715-982610ccbee0" TYPE="btrfs" PARTUUID="6360b330-02" /dev/zram1: UUID="297d0640-b74c-4e87-a55b-065bd5ab633c" TYPE="swap" /dev/mmcblk1: PTUUID="0d190000" PTTYPE="dos" fstab: tmpfs /tmp tmpfs defaults,nosuid 0 0 UUID=4722b364-ae1f-42d6-ad8f-831b86997837 /media/mmcboot ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 /media/mmcboot/boot /boot none bind 0 0 UUID=0e03b1d7-41f8-4dbf-a64e-3f3488680c66 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 UUID=87febe4c-9c3b-45e4-88e9-48980982259d /media/nextcloud btrfs defaults,noatime,rw 0 0
  19. Hi All Sorry if this is a repeat issue, however, I am new to Armbian and I am trying to get an Odroid C2 board to work with WI-FI I have tried several WI-FI adapters including the official Odroid USB wifi adapter with single antenna and none of them . will let me join a network, evne though I can see a list of WI-FI SSID's. Other builds of LInux (obtained from Hardkernel work fine, however I need a version with a later kernal to run an AWS package. Wired network is fine, just wifi. Can anyone help? Regards Steve
  20. Hi, just to let you know, I changed from "next" to "current", and found some quirks in the "current" kernel (using "buster"). (1) uart_C is not working (already fixed by martinayotte, thanks for the fast response!) (2) microSD card behaves strange: you can boot from uSD card, that works. When booting from eMMC card, the uSD clot is "dead", card insertation is not recognized anymore, it can't be used. Michael
  21. Hi guys, i have a question regarding the installation method of the two operating systems. On my OrangePI3 I booted the operating system from micro sd card and told armbian bionic that the eMMC memory will only be used as a boot loader while the rootfs of the actual operating system is installed on a connected USB stick. Is it the same with the Armbian Bionic for the Odroid C2 version? Or is it the case that the future operating system is written directly to the eMMC memory and booted from there? And then there was the reminder that Odroid C2 does not boot from USB. . . Can I use it as described for OrangePI3?
  22. I am trying to connect a PPS source to an ODROID-C2 board using GPIO. I am running Armbian 19.11.3 Buster, with kernel 5.3.11-meson64. I downloaded the Armbian kernel source for this kernel, added the following to meson-gxbb-odroidc2.dts, and compiled and installed it: pps { compatible = "pps-gpio"; gpios = <&gpio GPIOY_3 GPIO_ACTIVE_HIGH>; status = "okay"; interrupt-parent = <&gpio_intc>; interrupts = <26 IRQ_TYPE_LEVEL_LOW>; }; When I boot and load the pps-gpio module, I get the following error: pps-gpio pps: failed to map GPIO to IRQ: -6 pps-gpio: probe of pps failed with error -22 Could anyone help me understand what I'm getting wrong that's causing this error? Am I misunderstanding how to assign IRQs to GPIOs?
  23. Hi all, preparing an image for our next deployment (10 Odroid C2), I found that somehow the MAC address visible in Uboot doesn't make it into Armbian system. On the first copied system (I use odroidbackup.pl), in Uboot "Printenv" I get ethaddr=00:1e:06:36:58:63 Original system gives me: ethaddr=00:1e:06:34:fa:1a Both systems report to our DHCP server with the latter MAC, which will lead to troubles when both boards will be in the same network Any hints how to get the (apparently eFuse stored) MAC into the Armbian system? Thanks in advance, Michael
  24. Hello, After upgrade Armbian (4.19.69-meson64) to Armbian Buster with Linux 5.3.11-meson64 warning messages shows up on boot in dmesg: ... [ 1.973932] Key type encrypted registered [ 1.985109] dwc2 c9000000.usb: c9000000.usb supply vusb_d not found, using dummy regulator [ 1.985153] dwc2 c9000000.usb: c9000000.usb supply vusb_a not found, using dummy regulator [ 1.986616] phy phy-c0000000.phy.0: USB ID detect failed! [ 1.986623] phy phy-c0000000.phy.0: phy poweron failed --> -22 [ 1.986643] ------------[ cut here ]------------ [ 1.986700] WARNING: CPU: 3 PID: 68 at drivers/regulator/core.c:2036 _regulator_put+0x34/0xd8 [ 1.986702] Modules linked in: [ 1.986709] CPU: 3 PID: 68 Comm: kworker/3:1 Not tainted 5.3.11-meson64 #19.11.3 [ 1.986711] Hardware name: Hardkernel ODROID-C2 (DT) [ 1.986719] Workqueue: events deferred_probe_work_func [ 1.986724] pstate: 60000005 (nZCv daif -PAN -UAO) [ 1.986728] pc : _regulator_put+0x34/0xd8 [ 1.986732] lr : _regulator_put+0x34/0xd8 [ 1.986733] sp : ffff000011683af0 [ 1.986735] x29: ffff000011683af0 x28: 0000000000000000 [ 1.986739] x27: ffff80007f2ac6b8 x26: ffff000011106530 [ 1.986743] x25: 0000000000000000 x24: 0000000000000009 [ 1.986746] x23: ffff000011683bb8 x22: ffff80006a1c2b00 [ 1.986750] x21: ffff0000113916c8 x20: ffff80006a1c2d00 [ 1.986753] x19: ffff80006a1c2d00 x18: ffff0000113ae000 [ 1.986756] x17: 000000003ae42590 x16: 00000000ed672116 [ 1.986760] x15: 00000000fffffff0 x14: ffff0000114be0fa [ 1.986763] x13: 0000000000000000 x12: ffff0000114bd000 [ 1.986767] x11: ffff0000113ae000 x10: ffff0000114bd748 [ 1.986770] x9 : 0000000000000000 x8 : 0000000000000001 [ 1.986774] x7 : 00000000000000eb x6 : ffff0000114bd000 [ 1.986777] x5 : 0000000000000000 x4 : 0000000000000000 [ 1.986780] x3 : 00000000ffffffff x2 : 3c797d94ab3f0f00 [ 1.986783] x1 : 0000000000000000 x0 : 0000000000000024 [ 1.986787] Call trace: [ 1.986792] _regulator_put+0x34/0xd8 [ 1.986796] regulator_put+0x2c/0x40 [ 1.986800] regulator_bulk_free+0x30/0x50 [ 1.986805] devm_regulator_bulk_release+0x18/0x20 [ 1.986810] release_nodes+0x1b0/0x220 [ 1.986814] devres_release_all+0x34/0x58 [ 1.986818] really_probe+0x1b8/0x3d0 [ 1.986822] driver_probe_device+0xdc/0x130 [ 1.986825] __device_attach_driver+0x88/0x108 [ 1.986828] bus_for_each_drv+0x78/0xc8 [ 1.986831] __device_attach+0xd4/0x158 [ 1.986834] device_initial_probe+0x10/0x18 [ 1.986837] bus_probe_device+0x90/0x98 [ 1.986840] deferred_probe_work_func+0x88/0xd8 [ 1.986846] process_one_work+0x1e0/0x338 [ 1.986850] worker_thread+0x240/0x440 [ 1.986854] kthread+0x120/0x128 [ 1.986859] ret_from_fork+0x10/0x18 [ 1.986861] ---[ end trace 629d4ecc13425951 ]--- [ 1.986907] ------------[ cut here ]------------ [ 1.986942] WARNING: CPU: 3 PID: 68 at drivers/regulator/core.c:2036 _regulator_put+0x34/0xd8 [ 1.986943] Modules linked in: [ 1.986948] CPU: 3 PID: 68 Comm: kworker/3:1 Tainted: G W 5.3.11-meson64 #19.11.3 [ 1.986950] Hardware name: Hardkernel ODROID-C2 (DT) [ 1.986954] Workqueue: events deferred_probe_work_func [ 1.986958] pstate: 60000005 (nZCv daif -PAN -UAO) [ 1.986962] pc : _regulator_put+0x34/0xd8 [ 1.986965] lr : _regulator_put+0x34/0xd8 [ 1.986967] sp : ffff000011683af0 [ 1.986969] x29: ffff000011683af0 x28: 0000000000000000 [ 1.986972] x27: ffff80007f2ac6b8 x26: ffff000011106530 [ 1.986976] x25: 0000000000000000 x24: 0000000000000009 [ 1.986979] x23: ffff000011683bb8 x22: ffff80006a1c2b00 [ 1.986983] x21: ffff0000113916c8 x20: ffff80006a1c2e00 [ 1.986986] x19: ffff80006a1c2e00 x18: ffff0000113ae000 [ 1.986989] x17: 000000003ae42590 x16: 00000000ed672116 [ 1.986993] x15: 00000000fffffff0 x14: ffff0000114be0fa [ 1.986996] x13: 0000000000000000 x12: ffff0000114bd000 [ 1.987000] x11: ffff0000113ae000 x10: ffff0000114bd748 [ 1.987003] x9 : 0000000000000000 x8 : 0000000000000001 [ 1.987006] x7 : 0000000000000118 x6 : ffff0000114bd000 [ 1.987010] x5 : 0000000000000000 x4 : 0000000000000000 [ 1.987013] x3 : 00000000ffffffff x2 : 3c797d94ab3f0f00 [ 1.987016] x1 : 0000000000000000 x0 : 0000000000000024 [ 1.987019] Call trace: [ 1.987023] _regulator_put+0x34/0xd8 [ 1.987027] regulator_put+0x2c/0x40 [ 1.987030] regulator_bulk_free+0x30/0x50 [ 1.987034] devm_regulator_bulk_release+0x18/0x20 [ 1.987038] release_nodes+0x1b0/0x220 [ 1.987041] devres_release_all+0x34/0x58 [ 1.987044] really_probe+0x1b8/0x3d0 [ 1.987048] driver_probe_device+0xdc/0x130 [ 1.987051] __device_attach_driver+0x88/0x108 [ 1.987053] bus_for_each_drv+0x78/0xc8 [ 1.987056] __device_attach+0xd4/0x158 [ 1.987059] device_initial_probe+0x10/0x18 [ 1.987062] bus_probe_device+0x90/0x98 [ 1.987065] deferred_probe_work_func+0x88/0xd8 [ 1.987069] process_one_work+0x1e0/0x338 [ 1.987072] worker_thread+0x240/0x440 [ 1.987075] kthread+0x120/0x128 [ 1.987078] ret_from_fork+0x10/0x18 [ 1.987081] ---[ end trace 629d4ecc13425952 ]--- [ 1.987135] dwc2: probe of c9000000.usb failed with error -22 [ 1.987536] dwc2 c9100000.usb: c9100000.usb supply vusb_d not found, using dummy regulator [ 1.987581] dwc2 c9100000.usb: c9100000.usb supply vusb_a not found, using dummy regulator [ 2.024002] mmc0: new HS200 MMC card at address 0001 ... I haven't had any system hangups yet but I am worried.
  25. Hello, I am using up to date Armbian - Debian Buster with Armbian Linux 4.19.69-meson64 Linux version 4.19.69-meson64 (root@builder) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.95 SMP PREEMPT Mon Sep 2 01:21:39 CEST 2019. I have encountered Ethernet interface lockup on medium traffic (after 30s-120s when copying big files from external usb disk by sshfs - 240Mb/s). At high/medium Ethernet traffic the issue always occurs. It is most likely caused by some kernel update because I didn't have such problem before. Similar issue: https://github.com/rockchip-linux/kernel/issues/27 [ 1584.165514] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: discard [ 1689.827553] ------------[ cut here ]------------ [ 1689.827600] NETDEV WATCHDOG: eth0 (meson8b-dwmac): transmit queue 0 timed out [ 1689.827721] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:461 dev_watchdog+0x2b4/0x2c0 [ 1689.827736] Modules linked in: uas nf_log_ipv4 nf_log_common nft_limit xt_tcpudp xt_multiport xt_LOG xt_limit xt_conntrack nft_counter nft_chain_nat_ipv4 ipt_MASQUERADE nf_nat_ipv4 nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables nfnetlink meson_rng rng_core scpi_hwmon meson_gxbb_wdt ip_tables x_tables realtek [ 1689.827866] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.69-meson64 #5.95 [ 1689.827871] Hardware name: Hardkernel ODROID-C2 (DT) [ 1689.827881] pstate: 20000005 (nzCv daif -PAN -UAO) [ 1689.827892] pc : dev_watchdog+0x2b4/0x2c0 [ 1689.827901] lr : dev_watchdog+0x2b4/0x2c0 [ 1689.827906] sp : ffff000008003da0 [ 1689.827912] x29: ffff000008003da0 x28: 0000000000000005 [ 1689.827926] x27: 0000000000000020 x26: 00000000ffffffff [ 1689.827939] x25: 0000000000000140 x24: ffff800071250480 [ 1689.827952] x23: ffff80007125045c x22: ffff800070ca5940 [ 1689.827965] x21: ffff000008e77000 x20: ffff800071250000 [ 1689.827978] x19: 0000000000000000 x18: ffffffffffffffff [ 1689.827991] x17: 0000000000000000 x16: 0000000000000000 [ 1689.828004] x15: ffff000008e93000 x14: 00000000fffffff0 [ 1689.828017] x13: ffff000008f2786a x12: ffff000008e93000 [ 1689.828030] x11: 0000000000000000 x10: ffff000008f26000 [ 1689.828043] x9 : 0000000000000000 x8 : 0000000000000001 [ 1689.828055] x7 : 0000000000000000 x6 : 0000000000000123 [ 1689.828068] x5 : 0000000000000000 x4 : 0000000000000001 [ 1689.828080] x3 : 0000000000000000 x2 : ffff000008e7c358 [ 1689.828093] x1 : 2481295eb9750900 x0 : 0000000000000000 [ 1689.828105] Call trace: [ 1689.828117] dev_watchdog+0x2b4/0x2c0 [ 1689.828131] call_timer_fn+0x20/0x78 [ 1689.828143] expire_timers+0xa4/0xb0 [ 1689.828154] run_timer_softirq+0xe4/0x1a0 [ 1689.828164] __do_softirq+0x10c/0x200 [ 1689.828174] irq_exit+0xac/0xc0 [ 1689.828186] __handle_domain_irq+0x60/0xb0 [ 1689.828194] gic_handle_irq+0x58/0xa8 [ 1689.828201] el1_irq+0xb0/0x128 [ 1689.828212] arch_cpu_idle+0x10/0x18 [ 1689.828220] do_idle+0x1d4/0x298 [ 1689.828229] cpu_startup_entry+0x20/0x28 [ 1689.828243] rest_init+0xcc/0xd8 [ 1689.828256] start_kernel+0x3d4/0x400 [ 1689.828269] ---[ end trace b79bbf67547ae10f ]--- [ 1689.828334] meson8b-dwmac c9410000.ethernet eth0: Reset adapter. [ 1689.909766] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=37) [ 1689.922902] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found [ 1689.922925] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW [ 1693.046757] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 1737.955616] meson8b-dwmac c9410000.ethernet eth0: Reset adapter. [ 1738.037764] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=37) [ 1738.050715] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found [ 1738.050737] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW [ 1741.822114] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines