[SOLVED] systemd timeout/dependency fail for device

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[SOLVED] systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 11th, '13, 08:22

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.
Last edited by brian_the_droid on Feb 16th, '13, 06:41, edited 1 time in total.
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35

Re: systemd timeout/dependency fail for device

Postby doktor5000 » Feb 12th, '13, 11:57

Please show your fstab, and the output of
Code: Select all
blkid
as root.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 14th, '13, 00:18

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.
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35

Re: systemd timeout/dependency fail for device

Postby doktor5000 » Feb 14th, '13, 12:06

Just show the outputs of the the following commands, after switching to root via su -
Code: Select all
blkid
cat /etc/fstab
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 15th, '13, 08:42

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]#
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35

Re: systemd timeout/dependency fail for device

Postby rc10b » Feb 15th, '13, 16:02

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
rc10b
 
Posts: 70
Joined: Mar 30th, '11, 12:07
Location: UK - Hampshire

Re: systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 15th, '13, 18:34

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?
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35

Re: systemd timeout/dependency fail for device

Postby rc10b » Feb 15th, '13, 19:03

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
rc10b
 
Posts: 70
Joined: Mar 30th, '11, 12:07
Location: UK - Hampshire

Re: systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 16th, '13, 00:22

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?
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35

Re: systemd timeout/dependency fail for device

Postby rc10b » Feb 16th, '13, 00:59

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.
rc10b
 
Posts: 70
Joined: Mar 30th, '11, 12:07
Location: UK - Hampshire

Re: systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 16th, '13, 04:36

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
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35

Re: systemd timeout/dependency fail for device

Postby Ken-Bergen » Feb 16th, '13, 04:45

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
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 16th, '13, 05:02

well now i feel just dumb lol i will try changing that shortly.
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35

Re: systemd timeout/dependency fail for device

Postby brian_the_droid » Feb 16th, '13, 06:41

worked wonderfully! thank you all for your help!
brian_the_droid
 
Posts: 37
Joined: Nov 21st, '12, 04:35


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest

cron