The proble get resolved.
follow below step if sudo nano /usr/share/libalpm/hooks/60-dkms.hook
or sudo nano /usr/share/libalpm/hooks/90-mkinitcpio-install.hook
files doesn't exist and you have /usr/share/libalpm/hooks/30-systemd-udev-reload.hook
this file.
Here are the steps that I followed:
sudo mkdir -p /etc/pacman.d/hooks
sudo nano /etc/pacman.d/hooks/30-systemd-udev-reload.hook
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/udev/rules.d/*
[Action]
Description = Skipping udev reload to avoid freeze
When = PostTransaction
Exec = /usr/bin/true
and the problem is resolved now.