Quantcast
Channel: Questions in topic: "toradex easy installer"
Viewing all articles
Browse latest Browse all 59

TEZI autoinstall with AVAHI lockup,TEZI Colibri iMX6 AVAHI autoinstall lockup

$
0
0
I am trying to set up a system for unattended flashing over ethernet using the instructions for [unattended flashing over ethernet][1] and [auto installation][2]. The TEZI 2.0b6 image is on a flash drive, with the appropriate boot.scr. TEZI will start up, but then hangs on 'Reloading images from the network' and never proceeds. Below is a log from one instance of this: USB Gadget: RNDIS enabled Trying to read configblock from "mmcblk0boot0" at -512 Running Command: "/usr/bin/avahi-set-host-name" ("colibri-imx6-XXXXXXXX") Output: "Failed to create host name resolver: The requested operation is invalid because redundant\n" Finished with exit code: 1 USB Gadget: RNDIS enabled "AVAHI_CLIENT_S_RUNNING" Using the 'xdg-shell' shell integration "New service 'Custom Toradex Easy Installer Feed' of type _tezi._tcp in domain local on protocol IPv6." Scanning media initially... "New service 'Custom Toradex Easy Installer Feed' of type _tezi._tcp in domain local on protocol IPv4." "AVAHI_BROWSER_CACHE_EXHAUSTED" Adding zeroconf feed "Custom Toradex Easy Installer Feed" Reading images from media "/dev/sda1" Umounted external device /run/media/src Network up in 0.103 seconds Downloading image list from "http://vulcan.local:80/tezi/image_list.json" Tezi Server lookup successfully Downloading image list from "http://tezi.toradex.com/image_list.json" Downloading image list from "http://tezi.toradex.com/image_list_3rdparty.json" Emit abort... Emit abort... 'Emit abort...' repeats many times, then stops. The auto install seems to always work if we stop the AVAHI service on the image-host, and do not start it until TEZI has completed loading images from the network. I have also tried using the serial connection to kill the tezi application and restart it using the -autoinstall switch. This will occasionally stop at one 'Emit abort..." and not proceed, but will typically successfully perform the auto install. When the installation works the logs show this: Downloading image list from "http://vulcan.local:80/tezi/image_list.json" Emit abort... Progress: "" Available slides ("/var/volatile/marketing//slides_vga/Embedded-Linux-Splash-Screen_V3_01.png", "/var/volatile/marketing//slides_vga/Embedded-Linux-Splash-Screen_V3_02.png", "/var/volatile/marketing//slides_vga/Embedded-Linux-Splash-Scre en_V3_03.png", "/var/volatile/marketing//slides_vga/Embedded-Linux-Splash-Screen_V3_04.png", "/var/volatile/marketing//slides_vga/Embedded-Linux-Splash-Screen_V3_05.png") Processing Image: "MY CUSTOM Image" Executing: /bin/sh ("/var/volatile/tezi_/prepare.sh", "0017", "V1.1A", "10687190", "/var/volatile/tezi_") Env: ("PATH=/bin:/usr/bin:/sbin:/usr/sbin") Output: "" Finished with exit code: 0 Processing blockdev: "mmcblk0" Partition: 0 Type: "0c" Partition: 1 Type: "83" New partition table: "start=8192,size=49152,type=0c\nstart=57344,size=7462912,type=83\n" Running Command: "/usr/sbin/sfdisk" ("-uS", "--label", "dos", "/dev/mmcblk0") Progress: "Writing partition table" "AVAHI_BROWSER_ALL_FOR_NOW" sfdisk done, output: "Checking that no-one is using this disk right now ... OK\n\nDisk /dev/mmcblk0: 3.6 GiB, 3850371072 bytes, 7520256 sectors\nUnits: sectors of 1 * 512 = 512 bytes\nSector size (logical/physical): 512 bytes / 512 bytes \nI/O size (minimum/optimal): 512 bytes / 512 bytes\nDisklabel type: dos\nDisk identifier: 0x572c1595\n\nOld situation:\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 57343 49152 24M c W95 FA T32 (LBA)\n/dev/mmcblk0p2 57344 7520255 7462912 3.6G 83 Linux\n\n>>> Created a new DOS disklabel with disk identifier 0x5961844d.\n/dev/mmcblk0p1: Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 24 MiB.\nPartition # 1 contains a vfat signature.\n/dev/mmcblk0p2: Created a new partition 2 of type 'Linux' and of size 3.6 GiB.\nPartition #2 contains a ext4 signature.\n/dev/mmcblk0p3: Done.\n\nNew situation:\nDisklabel type: dos\nDisk identifier: 0x59618 44d\n\nDevice Boot Start End Sectors Size Id Type\n/dev/mmcblk0p1 8192 57343 49152 24M c W95 FAT32 (LBA)\n/dev/mmcblk0p2 57344 7520255 7462912 3.6G 83 Linux\n\nThe partition table has been altered.\nCallin g ioctl() to re-read partition table.\nSyncing disks.\n" Progress: "Zero'ing start of each partition" {installation continues....} I found one [conversation][3] on a post about auto-installs where another user reported a similar issue. It seems the only solution they had was to not use autoinstall, which is not useful for my use case. I have yet to try using the DNS redirect method for providing my image_list.json, is that method more reliable? [1]: https://developer.toradex.com/software/toradex-easy-installer#unattended-flashing-over-ethernet [2]: https://developer.toradex.com/software/toradex-easy-installer#auto-installation [3]: https://dev.to/asacasa/how-to-trick-toradex-tezi-installer-to-automatically-install-a-local-image-hosted-on-a-local-ubuntu-18-04-development-host-5ge1#comments

Viewing all articles
Browse latest Browse all 59

Trending Articles