Udevd[529]: bind failed: Address in use

@Gtwizzy please start a new topic. Your problem is different.

Hi @sender it started as the same problem but seems to now no longer be this. I have already begun a new topic. Sorry for the inconvenience

I personally had this issue today, on a brand new install of Home Assistant OS in a fresh vm on Proxmox VE 6.3-3. I solved the issue by changing my “machine” from Q35 to i440fx.

This is under the Hardware heading.

My VM was already at i440fx before the problems started. Perhaps I have to switch to Q35? :slightly_smiling_face:

I’m having the same error, except it’s showing devd[205] - this is the first time that I’ve installed HA on my computer, using VMware Workstation 16 Pro on a Windows machine. I’ve deleted the image, adjusted compatibility settings, changed network connections - all nada. If anyone finds a solution to this, please @ me. I can’t be too upset as it’s free and open source but I just spent 3 hours trouble shooting and can’t find a solution…

5.11 seems to be junk, updating to it broke my HA setup. I used the 5.9 image and all is good again even though this error was present in that version too.

You can download it here…

1 Like

I was actually able to fix mine - I needed to go into the VMware Virtual Network Editor and manually add the Network Bridge. Hope this helps anyone else struggling with this issue on initial setup in VMware Workstation 16 Pro.

As @frenck predicted the error message “bind failed” disappeared when I upgraded to supervisor-2021.02.11.
Average reboot times for me (from the event “Home Assistant stopped” to “Home Assistant started”) is 4 minutes. Before Home Assistant version 2012.02 it was 2 minutes.

I will try to use https://developers.home-assistant.io/docs/operating-system/debugging/
to see if I can find the source of the delay.

What for USB Sticks do you use?

I am using the following USB devices in my Intel NUC - BOXNUC8I5BEH2:

  • a 500 GB WD USB hard disk in the back USB 2 port
  • a Conbee2 stick in the back USB 2 port
  • a Vodafone UMTS modem stick in the left front USB port of the NUC

WD USB hard disk and Conbee2 stick are working reliably.
The Vodafone stick works after restart of the NUC, and sometimes stops working silently.

Conbee stick details

- name: 6-2
    sysfs: '/sys/devices/pci0000:00/0000:00:1e.0/0000:01:1b.0/usb6/6-2'
    dev_path: /dev/bus/usb/006/002
    subsystem: usb
    by_id: null
    attributes:
      BUSNUM: '006'
      DEVNAME: /dev/bus/usb/006/002
      DEVNUM: '002'
      DEVPATH: '/devices/pci0000:00/0000:00:1e.0/0000:01:1b.0/usb6/6-2'
      DEVTYPE: usb_device
      DRIVER: usb
      ID_BUS: usb
      ID_MODEL: ConBee_II
      ID_MODEL_ENC: ConBee\x20II
      ID_MODEL_ID: '0030'
      ID_PATH: 'pci-0000:01:1b.0-usb-0:2'
      ID_PATH_TAG: pci-0000_01_1b_0-usb-0_2
      ID_REVISION: '0100'
      ID_SERIAL: dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2219203
      ID_SERIAL_SHORT: DE2219203
      ID_USB_INTERFACES: ':020201:0a0000:'
      ID_VENDOR: dresden_elektronik_ingenieurtechnik_GmbH
      ID_VENDOR_ENC: dresden\x20elektronik\x20ingenieurtechnik\x20GmbH
      ID_VENDOR_ID: 1cf1
      MAJOR: '189'
      MINOR: '641'
      PRODUCT: 1cf1/30/100
      SUBSYSTEM: usb
      TYPE: 2/0/0
      USEC_INITIALIZED: '2325398'
  - name: ttyACM0
    sysfs: >-
      /sys/devices/pci0000:00/0000:00:1e.0/0000:01:1b.0/usb6/6-2/6-2:1.0/tty/ttyACM0
    dev_path: /dev/ttyACM0
    subsystem: tty
    by_id: >-
      /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2219203-if00
    attributes:
      DEVLINKS: >-
        /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2219203-if00
        /dev/serial/by-path/pci-0000:01:1b.0-usb-0:2:1.0
      DEVNAME: /dev/ttyACM0
      DEVPATH: >-
        /devices/pci0000:00/0000:00:1e.0/0000:01:1b.0/usb6/6-2/6-2:1.0/tty/ttyACM0
      ID_BUS: usb
      ID_MODEL: ConBee_II
      ID_MODEL_ENC: ConBee\x20II
      ID_MODEL_ID: '0030'
      ID_PATH: 'pci-0000:01:1b.0-usb-0:2:1.0'
      ID_PATH_TAG: pci-0000_01_1b_0-usb-0_2_1_0
      ID_REVISION: '0100'
      ID_SERIAL: dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2219203
      ID_SERIAL_SHORT: DE2219203
      ID_TYPE: generic
      ID_USB_DRIVER: cdc_acm
      ID_USB_INTERFACES: ':020201:0a0000:'
      ID_USB_INTERFACE_NUM: '00'
      ID_VENDOR: dresden_elektronik_ingenieurtechnik_GmbH
      ID_VENDOR_ENC: dresden\x20elektronik\x20ingenieurtechnik\x20GmbH
      ID_VENDOR_ID: 1cf1
      MAJOR: '166'
      MINOR: '0'
      SUBSYSTEM: tty
      TAGS: ':systemd:'
      USEC_INITIALIZED: '2450839'

Vodafone stick details

 - name: ttyUSB0
    sysfs: '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0'
    dev_path: /dev/ttyUSB0
    subsystem: tty
    by_id: /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0
    attributes:
      DEVLINKS: >-
        /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0
        /dev/serial/by-path/pci-0000:00:1d.7-usb-0:2:1.0-port0
      DEVNAME: /dev/ttyUSB0
      DEVPATH: '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0'
      ID_BUS: usb
      ID_MODEL: HUAWEI_Mobile
      ID_MODEL_ENC: HUAWEI\x20Mobile
      ID_MODEL_ID: '1465'
      ID_PATH: 'pci-0000:00:1d.7-usb-0:2:1.0'
      ID_PATH_TAG: pci-0000_00_1d_7-usb-0_2_1_0
      ID_REVISION: '0000'
      ID_SERIAL: HUAWEI_Technology_HUAWEI_Mobile
      ID_TYPE: generic
      ID_USB_DRIVER: option
      ID_USB_INTERFACES: ':ffffff:0206ff:0a0000:080650:'
      ID_USB_INTERFACE_NUM: '00'
      ID_VENDOR: HUAWEI_Technology
      ID_VENDOR_ENC: HUAWEI\x20Technology
      ID_VENDOR_ID: 12d1
      MAJOR: '188'
      MINOR: '0'
      SUBSYSTEM: tty
      TAGS: ':systemd:'
      USEC_INITIALIZED: '2506383'
  - name: ttyUSB1
    sysfs: '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.3/ttyUSB1/tty/ttyUSB1'
    dev_path: /dev/ttyUSB1
    subsystem: tty
    by_id: /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if03-port0
    attributes:
      DEVLINKS: >-
        /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if03-port0
        /dev/serial/by-path/pci-0000:00:1d.7-usb-0:2:1.3-port0
      DEVNAME: /dev/ttyUSB1
      DEVPATH: '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.3/ttyUSB1/tty/ttyUSB1'
      ID_BUS: usb
      ID_MODEL: HUAWEI_Mobile
      ID_MODEL_ENC: HUAWEI\x20Mobile
      ID_MODEL_ID: '1465'
      ID_PATH: 'pci-0000:00:1d.7-usb-0:2:1.3'
      ID_PATH_TAG: pci-0000_00_1d_7-usb-0_2_1_3
      ID_REVISION: '0000'
      ID_SERIAL: HUAWEI_Technology_HUAWEI_Mobile
      ID_TYPE: generic
      ID_USB_DRIVER: option
      ID_USB_INTERFACES: ':ffffff:0206ff:0a0000:080650:'
      ID_USB_INTERFACE_NUM: '03'
      ID_VENDOR: HUAWEI_Technology
      ID_VENDOR_ENC: HUAWEI\x20Technology
      ID_VENDOR_ID: 12d1
      MAJOR: '188'
      MINOR: '1'
      SUBSYSTEM: tty
      TAGS: ':systemd:'
      USEC_INITIALIZED: '2505881'
  - name: ttyUSB2
    sysfs: '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.4/ttyUSB2/tty/ttyUSB2'
    dev_path: /dev/ttyUSB2
    subsystem: tty
    by_id: /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if04-port0
    attributes:
      DEVLINKS: >-
        /dev/serial/by-id/usb-HUAWEI_Technology_HUAWEI_Mobile-if04-port0
        /dev/serial/by-path/pci-0000:00:1d.7-usb-0:2:1.4-port0
      DEVNAME: /dev/ttyUSB2
      DEVPATH: '/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.4/ttyUSB2/tty/ttyUSB2'
      ID_BUS: usb
      ID_MODEL: HUAWEI_Mobile
      ID_MODEL_ENC: HUAWEI\x20Mobile
      ID_MODEL_ID: '1465'
      ID_PATH: 'pci-0000:00:1d.7-usb-0:2:1.4'
      ID_PATH_TAG: pci-0000_00_1d_7-usb-0_2_1_4
      ID_REVISION: '0000'
      ID_SERIAL: HUAWEI_Technology_HUAWEI_Mobile
      ID_TYPE: generic
      ID_USB_DRIVER: option
      ID_USB_INTERFACES: ':ffffff:0206ff:0a0000:080650:'
      ID_USB_INTERFACE_NUM: '04'
      ID_VENDOR: HUAWEI_Technology
      ID_VENDOR_ENC: HUAWEI\x20Technology
      ID_VENDOR_ID: 12d1
      MAJOR: '188'
      MINOR: '2'
      SUBSYSTEM: tty
      TAGS: ':systemd:'
      USEC_INITIALIZED: '2503489'
  - name: sr0
    sysfs: >-
      /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.5/host8/target8:0:0/8:0:0:0/block/sr0
    dev_path: /dev/sr0
    subsystem: block
    by_id: '/dev/disk/by-id/usb-Vodafone_CD_ROM__Huawei_-0:0'
    attributes:
      DEVLINKS: >-
        /dev/cdrom /dev/disk/by-id/usb-Vodafone_CD_ROM__Huawei_-0:0
        /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.5-scsi-0:0:0:0
      DEVNAME: /dev/sr0
      DEVPATH: >-
        /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.5/host8/target8:0:0/8:0:0:0/block/sr0
      DEVTYPE: disk
      ID_BUS: usb
      ID_CDROM: '1'
      ID_CDROM_MEDIA: '1'
      ID_INSTANCE: '0:0'
      ID_MODEL: CD_ROM__Huawei_
      ID_MODEL_ENC: CD\x20ROM\x20\x28Huawei\x29\x20
      ID_MODEL_ID: '1465'
      ID_PATH: 'pci-0000:00:1d.7-usb-0:2:1.5-scsi-0:0:0:0'
      ID_PATH_TAG: pci-0000_00_1d_7-usb-0_2_1_5-scsi-0_0_0_0
      ID_REVISION: '2.31'
      ID_SERIAL: 'Vodafone_CD_ROM__Huawei_-0:0'
      ID_TYPE: cd
      ID_USB_DRIVER: usb-storage
      ID_USB_INTERFACES: ':ffffff:0206ff:0a0000:080650:'
      ID_USB_INTERFACE_NUM: '05'
      ID_VENDOR: Vodafone
      ID_VENDOR_ENC: Vodafone
      ID_VENDOR_ID: 12d1
      MAJOR: '11'
      MINOR: '0'
      SUBSYSTEM: block
      SYSTEMD_MOUNT_DEVICE_BOUND: '1'
      TAGS: ':systemd:'
      USEC_INITIALIZED: '2785891'
 - name: sdb
    sysfs: >-
      /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.6/host9/target9:0:0/9:0:0:0/block/sdb
    dev_path: /dev/sdb
    subsystem: block
    by_id: '/dev/disk/by-id/usb-Vodafone_Storage__Huawei_-0:0'
    attributes:
      DEVLINKS: >-
        /dev/disk/by-id/usb-Vodafone_Storage__Huawei_-0:0
        /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.6-scsi-0:0:0:0
      DEVNAME: /dev/sdb
      DEVPATH: >-
        /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.6/host9/target9:0:0/9:0:0:0/block/sdb
      DEVTYPE: disk
      ID_BUS: usb
      ID_INSTANCE: '0:0'
      ID_MODEL: Storage__Huawei_
      ID_MODEL_ENC: Storage\x20\x28Huawei\x29
      ID_MODEL_ID: '1465'
      ID_PATH: 'pci-0000:00:1d.7-usb-0:2:1.6-scsi-0:0:0:0'
      ID_PATH_TAG: pci-0000_00_1d_7-usb-0_2_1_6-scsi-0_0_0_0
      ID_REVISION: '2.31'
      ID_SERIAL: 'Vodafone_Storage__Huawei_-0:0'
      ID_TYPE: disk
      ID_USB_DRIVER: usb-storage
      ID_USB_INTERFACES: ':ffffff:0206ff:0a0000:080650:'
      ID_USB_INTERFACE_NUM: '06'
      ID_VENDOR: Vodafone
      ID_VENDOR_ENC: Vodafone
      ID_VENDOR_ID: 12d1
      MAJOR: '8'
      MINOR: '16'
      SUBSYSTEM: block
      TAGS: ':systemd:'
      USEC_INITIALIZED: '2721904'

Try to remove vodafone stick and usb hd, on my side a enocean stick, prevented a shutdown with 220 sec.

1 Like

Have you reported this delay as an issue in Github home assistant core?

1 Like

Hi - I am still having an issue - but my setup is this way - I have noticed if you have the console open when you are booting up you can see the VM booting.

What have you noticed?

Ha. Yes good comment - didn’t notice anything! - but I was trying to help the person (turns out that was you) that wanted to notice something.

I think my problem is USB related. As I have a Zwave device and there seems to be a few problems pointed in this direction.

In fact - sometimes - noticing nothing is something - nothing seemed to error…

I also noticed that if I restart the whole node - the problem goes away - restart the VM nothing fixes itself.

I have also the feeling it is USB related. In my case it could be the Conbee II stick, a GSM modem stick or an USB external drive

My slow reboots disappeared when I installed Home Assistant 2021.5. See 2021.5: Stability, performance, triggers, color modes! - #14 by mchangsp

So this worked for me - I’ve only got a UPS connected to my server via USB, nothing else (yet) so resetting the udev controls using the following cleared these bind errors (which for some reason were also stopping any connection, on either LAN port):

udevadm control --reload-rules && udevadm trigger

Add sudo in before the udevadm commands as necessary.