You are not logged in.
Hi there, I've been using arch for a year now, and linux for the better part 7 years. So far I've been able to solve all the problems myself using this forum,the wiki and a bit of googling, but this issue has been driving me nuts lately.
So here's how it started, I plugged a new hard drive in my rig and installed windows onto it. I don't dual boot, everything is set to my Linux HDD by default, so when I want to boot into windows(sigh) I use the device chooser from my bios. Well as soon as I rebooted to get into linux, I was greeted by a startup job that was running. I have two runs of 1min30s each, after that I have to reload the default config (CTRL+D) abd then it's at the login screen as usual. It seems to be running across /dev/sda123 back and forth, perhaps looking for something I don't know. I'd be glad to provide the logs, assuming someone points out where are those who apply here. For now here's my fstab file:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# UUID=787a63ba-2fac-467e-a671-9398df626523
/dev/sda1 / ext4 rw,relatime,data=ordered 0 1
# UUID=afdaffc7-d02e-4aa3-afc7-8ddbecb0371c
/dev/sda3 /home ext4 rw,relatime,data=ordered 0 2
# UUID=885cd565-6413-401c-80ff-21a247e44ef8
/dev/sda2 swap swap defaults 0 0From what I gathered, it would be some kind of UDID problem, but as you can see my fstab already points to the device path and not the UDID's so that's where I don't know what to do..
Thanks for looking through this post.
Last edited by Kochon (2015-03-11 12:56:52)
Offline
i really hate to do this but... bump
still looking for a solution to this
Offline
Your swap line is malformed, it should be "/dev/sad2 none swap defaults 0 0"
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Your swap line is malformed, it should be "/dev/sad2 none swap defaults 0 0"
It actually was this way before, it was me who changed it after seeing examples of other fstab files on other threads... I guess I'll change it back but it's unfortunately not the solution... thanks for answering though
Offline
I don't have any answers, but it wasn't clear to me *when* you see these startup jobs (I.E. at what part of the boot process)
It does sound like you can log in though, so have you tried running 'journalctl -b' afterwards?
Offline
Your swap line is malformed, it should be "/dev/sad2 none swap defaults 0 0"
Not really. Since swap has no mountpoint it doesn't matter what point do you point it to. Anything should work altough swap and none are used most commonly to hint the user what is going on.
As for the "real" problem - what job is that? The name of the job should be in the parentheses. There can be multiple hung jobs, so write down everything that goes on on that line, including the text in parentheses that might change over time.
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline
Hey guys sorry I haven't replied I've been out of town and couldn't access my computer. Here's the full output of journal ctl : http://pastebin.com/BfqCDVRk
I'm guessing only this part is of interest, although I can't seem to find the actual error besides a timeout...:
Mar 25 03:17:13 Arch28 kernel: floppy0: no floppy controllers found
Mar 25 03:18:10 Arch28 systemd-udevd[149]: worker [152] /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda is taking a long time
Mar 25 03:18:13 Arch28 systemd-udevd[149]: worker [151] /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:1/0:0:1:0/block/sdb is taking a long time
Mar 25 03:18:13 Arch28 systemd-udevd[149]: worker [153] /devices/pci0000:00/0000:00:1d.7/usb2/2-7/2-7:1.0/host2/target2:0:0/2:0:0:0/block/sdc is taking a long time
Mar 25 03:18:38 Arch28 systemd[1]: Job dev-sda3.device/start timed out.
Mar 25 03:18:38 Arch28 systemd[1]: Timed out waiting for device dev-sda3.device.
-- Subject: Unit dev-sda3.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-sda3.device has failed.
--
-- The result is timeout.
Mar 25 03:18:38 Arch28 systemd[1]: Dependency failed for File System Check on /dev/sda3.
-- Subject: Unit systemd-fsck@dev-sda3.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-fsck@dev-sda3.service has failed.
--
-- The result is dependency.
Mar 25 03:18:38 Arch28 systemd[1]: Dependency failed for /home.
-- Subject: Unit home.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit home.mount has failed.
--
-- The result is dependency.
Mar 25 03:18:38 Arch28 systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit local-fs.target has failed.
--
-- The result is dependency.
Mar 25 03:18:38 Arch28 systemd[1]: Job local-fs.target/start failed with result 'dependency'.
Mar 25 03:18:38 Arch28 systemd[1]: Job home.mount/start failed with result 'dependency'.
Mar 25 03:18:38 Arch28 systemd[1]: Job systemd-fsck@dev-sda3.service/start failed with result 'dependency'.
Mar 25 03:18:38 Arch28 systemd[1]: Job dev-sda3.device/start failed with result 'timeout'.
Mar 25 03:18:38 Arch28 systemd[1]: Job dev-sda2.device/start timed out.
Mar 25 03:18:38 Arch28 systemd[1]: Timed out waiting for device dev-sda2.device.
-- Subject: Unit dev-sda2.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-sda2.device has failed.
--
-- The result is timeout.
Mar 25 03:18:38 Arch28 systemd[1]: Dependency failed for /dev/sda2.
-- Subject: Unit dev-sda2.swap has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-sda2.swap has failed.
--
-- The result is dependency.
Mar 25 03:18:38 Arch28 systemd[1]: Dependency failed for Swap.
-- Subject: Unit swap.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit swap.target has failed.
--
-- The result is dependency.
Mar 25 03:18:38 Arch28 systemd[1]: Job swap.target/start failed with result 'dependency'.
Mar 25 03:18:38 Arch28 systemd[1]: Job dev-sda2.swap/start failed with result 'dependency'.
Mar 25 03:18:38 Arch28 systemd[1]: Job dev-sda2.device/start failed with result 'timeout'.
Mar 25 03:18:38 Arch28 systemd[1]: Configuration file /usr/lib/systemd/system/media-automount@.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 25 03:18:38 Arch28 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
Mar 25 03:18:38 Arch28 systemd[1]: Configuration file /usr/lib/systemd/system/media-automount@.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 25 03:18:38 Arch28 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
Mar 25 03:18:38 Arch28 systemd[1]: Configuration file /usr/lib/systemd/system/media-automount@.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 25 03:18:38 Arch28 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
Mar 25 03:18:38 Arch28 systemd[1]: Configuration file /usr/lib/systemd/system/media-automount@.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 25 03:18:38 Arch28 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
Mar 25 03:18:38 Arch28 systemd[1]: Configuration file /usr/lib/systemd/system/media-automount@.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 25 03:18:38 Arch28 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
Mar 25 03:18:39 Arch28 systemd[1]: Configuration file /usr/lib/systemd/system/media-automount@.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Mar 25 03:18:39 Arch28 systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.socket failed to load: No such file or directory.
Mar 25 03:18:40 Arch28 systemd-timesyncd[266]: Unknown parameter encountered: "password level"
Mar 25 03:18:40 Arch28 systemd-timesyncd[266]: Ignoring unknown parameter "password level"
Mar 25 03:18:40 Arch28 systemd-timesyncd[266]: Unknown parameter encountered: "update encrypted"
Mar 25 03:18:40 Arch28 systemd-timesyncd[266]: Ignoring unknown parameter "update encrypted"
Mar 25 03:19:38 Arch28 systemd-udevd[149]: worker [151] /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:1/0:0:1:0/block/sdb/sdb1 is taking a long time
Mar 25 03:19:38 Arch28 systemd-udevd[149]: worker [152] /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1 is taking a long time
Mar 25 03:19:38 Arch28 systemd-udevd[149]: worker [153] /devices/pci0000:00/0000:00:1d.7/usb2/2-7/2-7:1.0/host2/target2:0:0/2:0:0:0/block/sdc/sdc1 is taking a long time
Mar 25 03:19:38 Arch28 systemd-udevd[149]: worker [154] /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 is taking a long time
Mar 25 03:19:38 Arch28 systemd-udevd[149]: worker [155] /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3 is taking a long time
Mar 25 03:19:38 Arch28 systemd-udevd[149]: worker [156] /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:1/0:0:1:0/block/sdb/sdb2 is taking a long time
Mar 25 03:20:08 Arch28 systemd[1]: Job dev-sda2.device/start timed out.
Mar 25 03:20:08 Arch28 systemd[1]: Timed out waiting for device dev-sda2.device.
-- Subject: Unit dev-sda2.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-sda2.device has failed.
--
-- The result is timeout.
Mar 25 03:20:08 Arch28 systemd[1]: Dependency failed for /dev/sda2.
-- Subject: Unit dev-sda2.swap has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-sda2.swap has failed.
--
-- The result is dependency.
Mar 25 03:20:08 Arch28 systemd[1]: Dependency failed for Swap.
-- Subject: Unit swap.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit swap.target has failed.
--
-- The result is dependency.
Mar 25 03:20:08 Arch28 systemd[1]: Job swap.target/start failed with result 'dependency'.
Mar 25 03:20:08 Arch28 systemd[1]: Job dev-sda2.swap/start failed with result 'dependency'.
Mar 25 03:20:08 Arch28 systemd[1]: Job dev-sda2.device/start failed with result 'timeout'.
Mar 25 03:20:08 Arch28 systemd[1]: Job dev-sda3.device/start timed out.
Mar 25 03:20:08 Arch28 systemd[1]: Timed out waiting for device dev-sda3.device.
-- Subject: Unit dev-sda3.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit dev-sda3.device has failed.
--
-- The result is timeout.
Mar 25 03:20:08 Arch28 systemd[1]: Dependency failed for File System Check on /dev/sda3.
-- Subject: Unit systemd-fsck@dev-sda3.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-fsck@dev-sda3.service has failed.
--
-- The result is dependency.
Mar 25 03:20:08 Arch28 systemd[1]: Dependency failed for /home.
-- Subject: Unit home.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit home.mount has failed.
--
-- The result is dependency.
Mar 25 03:20:08 Arch28 systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit local-fs.target has failed.
--
-- The result is dependency.Also, to be clear, I see those messages after the GRUB2 screen when booting, before I get to enter my credentials to log in.
Last edited by Kochon (2015-03-25 11:40:27)
Offline
Have you tried using UUID's in your fstab instead of /dev/sdXY? Have you tried removing the windows drive and seeing that resolves the problem?
Offline
If the problem occurs after a recent hardware upgrade, double check all the connections in the box.
Double check UUIDs with
lsblk -fthen use them rather than labels as Kopkins advises.
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline
I just updated my fstab with the UUID's and disconnected the windows hard drive, same problem... I noticed that dev.sda1 is clean, and the startup job only concerns sda2-3, maybe that's a lead?
Here's the new fstab :
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# UUID=787a63ba-2fac-467e-a671-9398df626523
UUID=787a63ba-2fac-467e-a671-9398df626523 / ext4 rw,relatime,data=ordered 0 1
# UUID=afdaffc7-d02e-4aa3-afc7-8ddbecb0371c
UUID=afdaffc7-d02e-4aa3-afc7-8ddbecb0371c /home ext4 rw,relatime,data=ordered 0 2
# UUID=885cd565-6413-401c-80ff-21a247e44ef8
UUID=885cd565-6413-401c-80ff-21a247e44ef8 none swap defaults 0 0Last edited by Kochon (2015-03-26 21:18:00)
Offline