Page 1 of 1

[SOLVED] systemd timeout/dependency fail for device

PostPosted: Feb 11th, '13, 08:22
by brian_the_droid
Hi. I am using Cauldron (Mageia 3 beta 2) and noticed in the last few weeks I have been getting a timed out/dependency missing error during the boot which is causing it to hang for 90 seconds, making for a very long boot up. It says there is a UUID number that is the problem, which would be related to fstab. I have no idea how to fix that. Help please! I do not know how to show logs, but if you tell me the commands I can certainly get them for you.

Thanks.

Re: systemd timeout/dependency fail for device

PostPosted: Feb 12th, '13, 11:57
by doktor5000
Please show your fstab, and the output of
Code: Select all
blkid
as root.

Re: systemd timeout/dependency fail for device

PostPosted: Feb 14th, '13, 00:18
by brian_the_droid
Apologies, but how do I do both of those? i am familiar with sudo commands, and going into su mode, but I don't seem to know how to show my fstab or run blkid. Please clarify. Thanks.

Re: systemd timeout/dependency fail for device

PostPosted: Feb 14th, '13, 12:06
by doktor5000
Just show the outputs of the the following commands, after switching to root via su -
Code: Select all
blkid
cat /etc/fstab

Re: systemd timeout/dependency fail for device

PostPosted: Feb 15th, '13, 08:42
by brian_the_droid
Here ya go. The one that says tank1 is PCBSD. Number 11 is Manjaro.

Code: Select all
[brian@localhost ~]$ su
Password:
[root@localhost brian]# blkid
/dev/sda1: LABEL="Avatar" UUID="77654ABE09CB16AE" TYPE="ntfs"
/dev/sdb1: LABEL="Music" UUID="06FCFE2FFCFE191F" TYPE="ntfs"
/dev/sdc1: LABEL="Win7" UUID="4D071B86134184CE" TYPE="ntfs"
/dev/sdc3: LABEL="sabayon" UUID="f8394391-ccf1-4c19-b66a-5c7560684002" TYPE="ext4"
/dev/sdc4: LABEL="tank1" UUID="16111845021244537113" UUID_SUB="12168429129520090518" TYPE="zfs_member" PTTYPE="dos"
/dev/sdc5: UUID="c752c1ce-c874-45c6-afe5-c509e51a3df8" TYPE="swap"
/dev/sdc6: LABEL="MAGEIA3" UUID="be3fadfd-0199-4fb2-ab24-d062137f0e02" TYPE="ext4" PTTYPE="dos"
/dev/sdc7: LABEL="ubuntu" UUID="af6448f9-b92d-43de-94aa-906ee6043ffa" TYPE="ext4" PTTYPE="dos"
/dev/sdc8: LABEL="cinnarch" UUID="706e7900-8c4c-4250-bb3b-643e8f6f7f04" TYPE="ext4"
/dev/sdc9: LABEL="chakra" UUID="7ca87725-83e7-4e1b-8397-11c8870beb98" TYPE="ext4"
/dev/sdc10: LABEL="opensuse" UUID="002a277c-b399-4083-8f8a-cd9b28f4c8cf" TYPE="ext4"
/dev/sdc11: UUID="a13ba0bc-93d5-4e5c-839f-380a8c068009" TYPE="ext4"
/dev/sdc12: LABEL="fedora" UUID="6f8b4b5a-9f0b-4118-9f84-a19f2412d9dd" TYPE="ext4"

Code: Select all
[root@localhost brian]# cat /etc/fstab
# Entry for /dev/sdc9 :
UUID=be3fadfd-0199-4fb2-ab24-d062137f0e02 / ext4 acl,relatime 1 1
/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
# Entry for /dev/sda1 :
UUID=77654ABE09CB16AE /media/win_c ntfs-3g defaults,umask=000 0 0
# Entry for /dev/sdb1 :
UUID=06FCFE2FFCFE191F /media/win_c2 ntfs-3g defaults,umask=000 0 0
# Entry for /dev/sdc1 :
UUID=4D071B86134184CE /media/win_c3 ntfs-3g defaults,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sdc5 :
UUID=31b30c64-9faa-434d-bca5-5d9fbedf9c95 swap swap defaults 0 0
[root@localhost brian]#

Re: systemd timeout/dependency fail for device

PostPosted: Feb 15th, '13, 16:02
by rc10b
I had this problem once and it seems like the same reason.
Your swap partition in fstab output is not the same as the results from the blkid command.

Change this line in fstab:
UUID=31b30c64-9faa-434d-bca5-5d9fbedf9c95 swap swap defaults 0 0

so that the UUID matches this line from the blkid output:
/dev/sdc5: UUID="c752c1ce-c874-45c6-afe5-c509e51a3df8" TYPE="swap"

Steve

Re: systemd timeout/dependency fail for device

PostPosted: Feb 15th, '13, 18:34
by brian_the_droid
Thanks steve. I just need some help opening it with root privileges. I see that by default it opens with kwrite. I also see I have gedit. I have tried doing kwrite /etc/fstab while in su mode, but it does not open. What am I doing wrong?

Re: systemd timeout/dependency fail for device

PostPosted: Feb 15th, '13, 19:03
by rc10b
I'm assuming you are using kde, as you have been using kwrite ?
If so, prefix your command with kdesu, like this:
Code: Select all
kdesu kwrite /etc/fstab

kdesu allows you to open gui packages as root.

HTH

Steve

Re: systemd timeout/dependency fail for device

PostPosted: Feb 16th, '13, 00:22
by brian_the_droid
when i try to run kdesu it tells me command no found. i was able to open up dolphin as root though, with sudo dolphin, and that let me change it. However, I have changed it, and it still does not work! it still gives me the same error and takes 90 seconds!
Code: Select all
[root@localhost brian]# blkid
/dev/sda1: LABEL="Avatar" UUID="77654ABE09CB16AE" TYPE="ntfs"
/dev/sdb1: LABEL="Music" UUID="06FCFE2FFCFE191F" TYPE="ntfs"
/dev/sdc1: LABEL="Win7" UUID="4D071B86134184CE" TYPE="ntfs"
/dev/sdc3: LABEL="sabayon" UUID="f8394391-ccf1-4c19-b66a-5c7560684002" TYPE="ext4"
/dev/sdc4: LABEL="tank1" UUID="16111845021244537113" UUID_SUB="12168429129520090518" TYPE="zfs_member" PTTYPE="dos"
/dev/sdc5: UUID="c752c1ce-c874-45c6-afe5-c509e51a3df8" TYPE="swap"
/dev/sdc6: LABEL="MAGEIA3" UUID="be3fadfd-0199-4fb2-ab24-d062137f0e02" TYPE="ext4" PTTYPE="dos"
/dev/sdc7: LABEL="ubuntu" UUID="af6448f9-b92d-43de-94aa-906ee6043ffa" TYPE="ext4" PTTYPE="dos"
/dev/sdc8: LABEL="cinnarch" UUID="706e7900-8c4c-4250-bb3b-643e8f6f7f04" TYPE="ext4"
/dev/sdc9: LABEL="chakra" UUID="7ca87725-83e7-4e1b-8397-11c8870beb98" TYPE="ext4"
/dev/sdc10: LABEL="opensuse" UUID="002a277c-b399-4083-8f8a-cd9b28f4c8cf" TYPE="ext4"
/dev/sdc11: UUID="a13ba0bc-93d5-4e5c-839f-380a8c068009" TYPE="ext4"
/dev/sdc12: LABEL="fedora" UUID="6f8b4b5a-9f0b-4118-9f84-a19f2412d9dd" TYPE="ext4"


Code: Select all
[root@localhost brian]# blkid
/dev/sda1: LABEL="Avatar" UUID="77654ABE09CB16AE" TYPE="ntfs"
/dev/sdb1: LABEL="Music" UUID="06FCFE2FFCFE191F" TYPE="ntfs"
/dev/sdc1: LABEL="Win7" UUID="4D071B86134184CE" TYPE="ntfs"
/dev/sdc3: LABEL="sabayon" UUID="f8394391-ccf1-4c19-b66a-5c7560684002" TYPE="ext4"
/dev/sdc4: LABEL="tank1" UUID="16111845021244537113" UUID_SUB="12168429129520090518" TYPE="zfs_member" PTTYPE="dos"
/dev/sdc5: UUID="c752c1ce-c874-45c6-afe5-c509e51a3df8" TYPE="swap"
/dev/sdc6: LABEL="MAGEIA3" UUID="be3fadfd-0199-4fb2-ab24-d062137f0e02" TYPE="ext4" PTTYPE="dos"
/dev/sdc7: LABEL="ubuntu" UUID="af6448f9-b92d-43de-94aa-906ee6043ffa" TYPE="ext4" PTTYPE="dos"
/dev/sdc8: LABEL="cinnarch" UUID="706e7900-8c4c-4250-bb3b-643e8f6f7f04" TYPE="ext4"
/dev/sdc9: LABEL="chakra" UUID="7ca87725-83e7-4e1b-8397-11c8870beb98" TYPE="ext4"
/dev/sdc10: LABEL="opensuse" UUID="002a277c-b399-4083-8f8a-cd9b28f4c8cf" TYPE="ext4"
/dev/sdc11: UUID="a13ba0bc-93d5-4e5c-839f-380a8c068009" TYPE="ext4"
/dev/sdc12: LABEL="fedora" UUID="6f8b4b5a-9f0b-4118-9f84-a19f2412d9dd" TYPE="ext4"


As you can see, they now match. I did notice there is now a fstab.old file in the etc section that I don't think was there before. Should I be concerned about that?

Re: systemd timeout/dependency fail for device

PostPosted: Feb 16th, '13, 00:59
by rc10b
Actually I can't see, you have shown the blkid command twice, but I believe you ;)
Can you post your new fstab please ? The fstab.old file should not cause any problems.

Sorry about the kdesu command not working, I'm used to using Alt+F2 to open krunner, it works in there so I assumed it would work in a console window.

Re: systemd timeout/dependency fail for device

PostPosted: Feb 16th, '13, 04:36
by brian_the_droid
my bad lol
Code: Select all
[root@localhost brian]# cat /etc/fstab
# Entry for /dev/sdc9 :
UUID=be3fadfd-0199-4fb2-ab24-d062137f0e02 / ext4 acl,relatime 1 1
/dev/sr0 /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
# Entry for /dev/sda1 :
UUID=77654ABE09CB16AE /media/win_c ntfs-3g defaults,umask=000 0 0
# Entry for /dev/sdb1 :
UUID=06FCFE2FFCFE191F /media/win_c2 ntfs-3g defaults,umask=000 0 0
# Entry for /dev/sdc1 :
UUID=4D071B86134184CE /media/win_c3 ntfs-3g defaults,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sdc5 :
UUID="c752c1ce-c874-45c6-afe5-c509e51a3df8 swap swap defaults 0 0

Re: systemd timeout/dependency fail for device

PostPosted: Feb 16th, '13, 04:45
by Ken-Bergen
You copied an unwanted "
Code: Select all
UUID="c752c1ce-c874-45c6-afe5-c509e51a3df8 swap swap defaults 0 0
Should be
Code: Select all
UUID=c752c1ce-c874-45c6-afe5-c509e51a3df8 swap swap defaults 0 0

Re: systemd timeout/dependency fail for device

PostPosted: Feb 16th, '13, 05:02
by brian_the_droid
well now i feel just dumb lol i will try changing that shortly.

Re: systemd timeout/dependency fail for device

PostPosted: Feb 16th, '13, 06:41
by brian_the_droid
worked wonderfully! thank you all for your help!