You are not logged in.

#1 2014-11-22 14:17:37

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Random Boot Errors

Hi,

I really hope someone can help me with what I think is a systemd issue so I don't have to reinstall my whole system!

I did something stupid a while back and tried to disable a service I shouldn't have, causing the whole system to lock up.  I had to power-cycle the the machine and was wondering if the machine would even boot up afterwards.  To my surprise it did boot up without an issue and everything seemed fine.  I even rebooted a couple of times to make sure.  I did try to get the offending command from my bash history but the crash was so severe it didn't get logged.

Anyway, I don't reboot my desktop that often, and quite a lot of time passed.  Then on one random reboot - my system won't start and can't find some LVM volumes.  I enter the command line for maintenance, and then reboot.  That might or might not work, but eventually it does start up again and everything seems fine again for a while (across multiple reboots).

I'm not sure if this issue is due to an update or the something stupid I did!?!

Please see the below error logs:

...
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0: ALC1150: SKU not ready 0x00000000
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0: autoconfig: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:    mono: mono_out=0x0
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:    dig-out=0x11/0x1e
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:    inputs:
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:      Front Mic=0x19
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:      Rear Mic=0x18
Nov 18 19:41:13 home-pc kernel: sound hdaudioC0D0:      Line=0x1a
Nov 18 19:41:13 home-pc kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input10
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
Nov 18 19:41:13 home-pc kernel: input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
Nov 18 19:41:13 home-pc ntfs-3g[388]: Version 2014.2.15 external FUSE 29
Nov 18 19:41:13 home-pc ntfs-3g[388]: Mounted /dev/sdc4 (Read-Write, label "", NTFS 3.1)
Nov 18 19:41:13 home-pc ntfs-3g[388]: Cmdline options: rw,uid=1000,gid=100,dmask=022,fmask=133
Nov 18 19:41:13 home-pc ntfs-3g[388]: Mount options: rw,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdc4,blkdev,blksize=4096
Nov 18 19:41:13 home-pc ntfs-3g[388]: Global ownership and permissions enforced, configuration type 7
Nov 18 19:41:13 home-pc systemd-fsck[374]: /dev/mapper/vgssd-lvrecovery: clean, 11/327680 files, 55902/1310720 blocks
Nov 18 19:41:13 home-pc ntfs-3g[391]: Version 2014.2.15 external FUSE 29
Nov 18 19:41:13 home-pc ntfs-3g[391]: Mounted /dev/sda2 (Read-Write, label "NTFS", NTFS 3.1)
Nov 18 19:41:13 home-pc ntfs-3g[391]: Cmdline options: rw,uid=1000,gid=100,dmask=022,fmask=133
Nov 18 19:41:13 home-pc ntfs-3g[391]: Mount options: rw,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sda2,blkdev,blksize=4096
Nov 18 19:41:13 home-pc ntfs-3g[391]: Global ownership and permissions enforced, configuration type 7
Nov 18 19:41:13 home-pc kernel: EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: data=ordered
Nov 18 19:41:13 home-pc kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
Nov 18 19:41:13 home-pc kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
Nov 18 19:41:13 home-pc kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
Nov 18 19:41:13 home-pc kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
Nov 18 19:41:13 home-pc systemd-fsck[376]: fsck.fat 3.0.26 (2014-03-07)
Nov 18 19:41:13 home-pc systemd-fsck[376]: /dev/sdd1: 347 files, 757681/1569793 clusters
Nov 18 19:42:43 home-pc systemd[1]: Job dev-disk-by\x2duuid-cf39b982\x2dfa59\x2d4c1d\x2d9b45\x2d0d50a33122d6.device/start timed out.
Nov 18 19:42:43 home-pc systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-cf39b982\x2dfa59\x2d4c1d\x2d9b45\x2d0d50a33122d6.device.
-- Subject: Unit dev-disk-by\x2duuid-cf39b982\x2dfa59\x2d4c1d\x2d9b45\x2d0d50a33122d6.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-disk-by\x2duuid-cf39b982\x2dfa59\x2d4c1d\x2d9b45\x2d0d50a33122d6.device has failed.
-- 
-- The result is timeout.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for /games.
-- Subject: Unit games.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit games.mount has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc 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.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/cf39b982-fa59-4c1d-9b45-0d50a33122d6.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-cf39b982\x2dfa59\x2d4c1d\x2d9b45\x2d0d50a33122d6.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-fsck@dev-disk-by\x2duuid-cf39b982\x2dfa59\x2d4c1d\x2d9b45\x2d0d50a33122d6.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Job dev-disk-by\x2duuid-f97833b2\x2d0fc3\x2d408c\x2db4f3\x2d111ae0576f55.device/start timed out.
Nov 18 19:42:43 home-pc systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-f97833b2\x2d0fc3\x2d408c\x2db4f3\x2d111ae0576f55.device.
-- Subject: Unit dev-disk-by\x2duuid-f97833b2\x2d0fc3\x2d408c\x2db4f3\x2d111ae0576f55.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-disk-by\x2duuid-f97833b2\x2d0fc3\x2d408c\x2db4f3\x2d111ae0576f55.device has failed.
-- 
-- The result is timeout.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for /localdata.
-- Subject: Unit localdata.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit localdata.mount has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/f97833b2-0fc3-408c-b4f3-111ae0576f55.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-f97833b2\x2d0fc3\x2d408c\x2db4f3\x2d111ae0576f55.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-fsck@dev-disk-by\x2duuid-f97833b2\x2d0fc3\x2d408c\x2db4f3\x2d111ae0576f55.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Job dev-disk-by\x2duuid-b2a4a4be\x2d6179\x2d48c7\x2d89f9\x2de83548839550.device/start timed out.
Nov 18 19:42:43 home-pc systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-b2a4a4be\x2d6179\x2d48c7\x2d89f9\x2de83548839550.device.
-- Subject: Unit dev-disk-by\x2duuid-b2a4a4be\x2d6179\x2d48c7\x2d89f9\x2de83548839550.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-disk-by\x2duuid-b2a4a4be\x2d6179\x2d48c7\x2d89f9\x2de83548839550.device has failed.
-- 
-- The result is timeout.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for /vhdd.
-- Subject: Unit vhdd.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit vhdd.mount has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/b2a4a4be-6179-48c7-89f9-e83548839550.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-b2a4a4be\x2d6179\x2d48c7\x2d89f9\x2de83548839550.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-fsck@dev-disk-by\x2duuid-b2a4a4be\x2d6179\x2d48c7\x2d89f9\x2de83548839550.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Job dev-disk-by\x2duuid-98a60c30\x2d2a5b\x2d45b7\x2db0b7\x2d26d381e53d89.device/start timed out.
Nov 18 19:42:43 home-pc systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-98a60c30\x2d2a5b\x2d45b7\x2db0b7\x2d26d381e53d89.device.
-- Subject: Unit dev-disk-by\x2duuid-98a60c30\x2d2a5b\x2d45b7\x2db0b7\x2d26d381e53d89.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-disk-by\x2duuid-98a60c30\x2d2a5b\x2d45b7\x2db0b7\x2d26d381e53d89.device has failed.
-- 
-- The result is timeout.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for /var.
-- Subject: Unit var.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit var.mount has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for Load/Save Random Seed.
-- Subject: Unit systemd-random-seed.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-random-seed.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for Update UTMP about System Boot/Shutdown.
-- Subject: Unit systemd-update-utmp.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-update-utmp.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for Trigger Flushing of Journal to Persistent Storage.
-- Subject: Unit systemd-journal-flush.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-journal-flush.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for Load/Save RF Kill Switch Status of rfkill0.
-- Subject: Unit systemd-rfkill@rfkill0.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-rfkill@rfkill0.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for Load/Save RF Kill Switch Status of rfkill1.
-- Subject: Unit systemd-rfkill@rfkill1.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-rfkill@rfkill1.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/98a60c30-2a5b-45b7-b0b7-26d381e53d89.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-98a60c30\x2d2a5b\x2d45b7\x2db0b7\x2d26d381e53d89.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-fsck@dev-disk-by\x2duuid-98a60c30\x2d2a5b\x2d45b7\x2db0b7\x2d26d381e53d89.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc systemd[1]: Job dev-disk-by\x2duuid-8b383957\x2dde5a\x2d4df0\x2d97b8\x2d9b4601a83a5a.device/start timed out.
Nov 18 19:42:43 home-pc systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-8b383957\x2dde5a\x2d4df0\x2d97b8\x2d9b4601a83a5a.device.
-- Subject: Unit dev-disk-by\x2duuid-8b383957\x2dde5a\x2d4df0\x2d97b8\x2d9b4601a83a5a.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dev-disk-by\x2duuid-8b383957\x2dde5a\x2d4df0\x2d97b8\x2d9b4601a83a5a.device has failed.
-- 
-- The result is timeout.
Nov 18 19:42:43 home-pc 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.
Nov 18 19:42:43 home-pc systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/8b383957-de5a-4df0-97b8-9b4601a83a5a.
-- Subject: Unit systemd-fsck@dev-disk-by\x2duuid-8b383957\x2dde5a\x2d4df0\x2d97b8\x2d9b4601a83a5a.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-fsck@dev-disk-by\x2duuid-8b383957\x2dde5a\x2d4df0\x2d97b8\x2d9b4601a83a5a.service has failed.
-- 
-- The result is dependency.
Nov 18 19:42:43 home-pc alsactl[403]: /usr/bin/alsactl: load_state:1677: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory
Nov 18 19:42:43 home-pc alsactl[403]: /usr/bin/alsactl: sysfs_init:48: sysfs path '/sys' is invalid
Nov 18 19:42:43 home-pc alsactl[403]: Found hardware: "HDA-Intel" "Realtek ALC1150" "HDA:10ec0900,1043857e,00100001" "0x1043" "0x857e"
Nov 18 19:42:43 home-pc alsactl[403]: Hardware is initialized using a generic method
Nov 18 19:42:43 home-pc alsactl[403]: /usr/bin/alsactl: sysfs_init:48: sysfs path '/sys' is invalid
Nov 18 19:42:43 home-pc alsactl[403]: Found hardware: "HDA-Intel" "Nvidia GPU 44 HDMI/DP" "HDA:10de0044,10de1051,00100100" "0x10de" "0x1051"
Nov 18 19:42:43 home-pc alsactl[403]: Hardware is initialized using a generic method
Nov 18 19:42:48 home-pc systemd[405]: Failed at step EXEC spawning /bin/plymouth: No such file or directory
-- Subject: Process /bin/plymouth could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The process /bin/plymouth could not be executed and failed.
-- 
-- The error number returned while executing this process is 2.

Offline

#2 2014-11-22 18:49:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Random Boot Errors

Some details about what you are trying to mount and where would help...


Not a Sysadmin issue, moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-11-22 21:42:38

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

I'm not trying to mount anything!  Or at least, if I am, I don't know what.  It used to work.........but now occasional it doesn't.  What is it trying to mount - or how can I identify what it is trying to mount?

Offline

#4 2014-11-22 21:47:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Random Boot Errors

-- Subject: Unit games.mount has failed

...and so on for the other drives.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-11-23 14:08:50

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

Hi,

Thanks for your help, but I am aware of the problem - just not the cause.  If anyone has got some tips on how to troubleshoot the problem, that would be very helpful.

When my computer boots up okay (90% of the time), the partitions look like this:

andy@home-pc ~ $ lsblk -f
NAME                   FSTYPE      LABEL    UUID                                   MOUNTPOINT
sda                                                                                
├─sda1                 vfat        FAT32    E948-E6ED                              /Windows/Fat32
└─sda2                 ntfs        NTFS     1222C95A22C94387                       /Windows/NTFS
sdb                                                                                
└─sdb1                 LVM2_member          HHmrXt-v7eU-Fmll-ScKz-GJmz-Lj4T-0A3N8n 
  ├─vgsata-lvvar       ext4                 98a60c30-2a5b-45b7-b0b7-26d381e53d89   /var
  ├─vgsata-lvvhdd      ext4                 b2a4a4be-6179-48c7-89f9-e83548839550   /vhdd
  ├─vgsata-lvhome      ext4                 8b383957-de5a-4df0-97b8-9b4601a83a5a   /home
  ├─vgsata-lvlocaldata ext4                 f97833b2-0fc3-408c-b4f3-111ae0576f55   /localdata
  └─vgsata-lvgames     ext4                 cf39b982-fa59-4c1d-9b45-0d50a33122d6   /games
sdc                                                                                
├─sdc1                 ntfs        Recovery 10482B49482B2D42                       
├─sdc2                 vfat                 342C-CEB5                              
├─sdc3                                                                             
└─sdc4                 ntfs                 E6002F06002EDD75                       /Windows/C
sdd                                                                                
├─sdd1                 vfat                 3265-91D7                              /boot
└─sdd2                 LVM2_member          8dVVMU-mPGc-OArx-Nqj6-o1DQ-6KlQ-xXZSzs 
  ├─vgssd-lvroot       ext4                 f02f480f-736d-49c5-ae8f-844ad524498b   /
  ├─vgssd-lvrecovery   ext4                 d40f3ef6-46e3-4d81-8f08-2e737fc1de31   /recovery
  └─vgssd-lvswap       swap                 7ccf2c9f-f2e8-4279-a99c-520195e36adf   [SWAP]
sr0

...But yes, when it doesn't work, it can't find any of the LVM partitions on sdb.

Offline

#6 2014-11-23 14:35:37

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: Random Boot Errors

I read recently LVM-btrfs problem on a couple of topics, did you see them ?


do it good first, it will be faster than do it twice the saint wink

Offline

#7 2014-11-24 22:15:25

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

I don't think so.  I searched the forums for "lvm btrfs" and had a look through what came up but nothing seemed relevant.  Especially as to the best of my knowledge I'm not using btrfs am I?!?

Offline

#8 2014-11-24 22:29:33

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

WHY WAS THIS POST MOVED BY THE WAY?!?  IT IS VERY ANNOYING!!  I'M NOT SURE WHERE TO PUT IT BUT I DON'T THINK ITS A NEWBIE ISSUE!

jasonwryan - have you actually "read" anything I've written?  I really hope not all your 13,050 posts have been this helpful.

Offline

#9 2014-11-24 22:35:17

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

Just in case I've not made it clear - this is a boot issue.  On occasion my system fails to boot up.  I enter the rescue shell and reboot.  That normally does it.

The boot problems are random but if I had to approximate, I'd say 1 in every 20 reboots.

When it works:

andy@home-pc ~ $ lsblk -f
NAME                   FSTYPE      LABEL    UUID                                   MOUNTPOINT
sda                                                                                
├─sda1                 vfat        FAT32    E948-E6ED                              /Windows/Fat32
└─sda2                 ntfs        NTFS     1222C95A22C94387                       /Windows/NTFS
sdb                                                                                
└─sdb1                 LVM2_member          HHmrXt-v7eU-Fmll-ScKz-GJmz-Lj4T-0A3N8n 
  ├─vgsata-lvvar       ext4                 98a60c30-2a5b-45b7-b0b7-26d381e53d89   /var
  ├─vgsata-lvvhdd      ext4                 b2a4a4be-6179-48c7-89f9-e83548839550   /vhdd
  ├─vgsata-lvhome      ext4                 8b383957-de5a-4df0-97b8-9b4601a83a5a   /home
  ├─vgsata-lvlocaldata ext4                 f97833b2-0fc3-408c-b4f3-111ae0576f55   /localdata
  └─vgsata-lvgames     ext4                 cf39b982-fa59-4c1d-9b45-0d50a33122d6   /games
sdc                                                                                
├─sdc1                 ntfs        Recovery 10482B49482B2D42                       
├─sdc2                 vfat                 342C-CEB5                              
├─sdc3                                                                             
└─sdc4                 ntfs                 E6002F06002EDD75                       /Windows/C
sdd                                                                                
├─sdd1                 vfat                 3265-91D7                              /boot
└─sdd2                 LVM2_member          8dVVMU-mPGc-OArx-Nqj6-o1DQ-6KlQ-xXZSzs 
  ├─vgssd-lvroot       ext4                 f02f480f-736d-49c5-ae8f-844ad524498b   /
  ├─vgssd-lvrecovery   ext4                 d40f3ef6-46e3-4d81-8f08-2e737fc1de31   /recovery
  └─vgssd-lvswap       swap                 7ccf2c9f-f2e8-4279-a99c-520195e36adf   [SWAP]
sr0

On the random occasions that it doesn't:

andy@home-pc ~ $ lsblk -f
NAME                   FSTYPE      LABEL    UUID                                   MOUNTPOINT
sda                                                                                
├─sda1                 vfat        FAT32    E948-E6ED                              /Windows/Fat32
└─sda2                 ntfs        NTFS     1222C95A22C94387                       /Windows/NTFS
sdb                                                                                
└─sdb1                 LVM2_member          HHmrXt-v7eU-Fmll-ScKz-GJmz-Lj4T-0A3N8n 
 
sdc                                                                                
├─sdc1                 ntfs        Recovery 10482B49482B2D42                       
├─sdc2                 vfat                 342C-CEB5                              
├─sdc3                                                                             
└─sdc4                 ntfs                 E6002F06002EDD75                       /Windows/C
sdd                                                                                
├─sdd1                 vfat                 3265-91D7                              /boot
└─sdd2                 LVM2_member          8dVVMU-mPGc-OArx-Nqj6-o1DQ-6KlQ-xXZSzs 
  ├─vgssd-lvroot       ext4                 f02f480f-736d-49c5-ae8f-844ad524498b   /
  ├─vgssd-lvrecovery   ext4                 d40f3ef6-46e3-4d81-8f08-2e737fc1de31   /recovery
  └─vgssd-lvswap       swap                 7ccf2c9f-f2e8-4279-a99c-520195e36adf   [SWAP]
sr0

Please help if you can.  I don't know what to try.

Offline

#10 2014-11-24 22:51:25

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: Random Boot Errors

crazzyfool wrote:

I searched the forums for "lvm btrfs" and had a look through what came up but nothing seemed relevant.

I know because I wrote there wink and this.
I can't judge if they'll help you out, but it could be a good start. Anyways the wiki needs some regard too.

Last edited by TheSaint (2014-11-24 22:54:18)


do it good first, it will be faster than do it twice the saint wink

Offline

#11 2014-11-24 22:57:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Random Boot Errors

crazzyfool wrote:

WHY WAS THIS POST MOVED BY THE WAY?!?  IT IS VERY ANNOYING!!  I'M NOT SURE WHERE TO PUT IT BUT I DON'T THINK ITS A NEWBIE ISSUE!

jasonwryan - have you actually "read" anything I've written?  I really hope not all your 13,050 posts have been this helpful.

crazzyfool wrote:

Especially as to the best of my knowledge I'm not using btrfs am I?!?


Shouting at the staff isn't going to fix your issue...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2014-11-24 23:30:50

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

jasonwryan - lol!  BTW:

to the best of my knowledge I'm not using btrfs am I?!?

...wasn't sarcasm (or shouting for that matter), just a genuine (albeit puzzled) question.


TheSaint - thanks for the help, I'm checking out your links now....

Offline

#13 2014-11-25 00:26:17

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

....thanks for those links.  I'm not sure if my issue is related them or not to be honest.  Any ideas what I can try?

Unless the Windows 8 UEFI partition is BTRFS, I'm pretty sure I'm not using it anywhere.  I'm certainly not using any kind of RAID.

I figured that it can't hurt to add 'btrfs' to the 'modules' section anyway.  Right now my /etc/mkinitcpio.conf looks like:

MODULES="dm_mod dm_snapshot btrfs"
BINARIES=""
FILES="/etc/udev/hwdb.bin"

Just have to wait and see if it happens again (eventually) now....

Offline

#14 2014-11-25 02:48:26

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: Random Boot Errors

But once you added these module and hooks you have to remake you initramfs, do you know ?
Anyways win8 is on NTFS.
Also the boot loader must be aware to use lvm/btrfs/vfat on searching the partitions. What's your boot loader ?
Then the troubleshooting will give better directions than mine.


do it good first, it will be faster than do it twice the saint wink

Offline

#15 2014-11-25 12:50:17

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

Yeah I did all that and regenerated my initramfs (and also my /boo/grub/grub.cfg).

Also followed the Arch LVM guide when I first set my system up.  It was working fine for about a year until recently.

The boot error happened again after rebooting it 5 times.

Personally, I still think it is related to systemd!

Offline

#16 2014-11-25 16:16:47

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: Random Boot Errors

So, are there times you're able to boot ? yikes
If so, the cause could be from hardware failures to lvm management.


do it good first, it will be faster than do it twice the saint wink

Offline

#17 2014-11-25 21:24:16

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

Yeah - most of the time.  The boot errors are seemingly random.

Yeah I know it could potentially be a faulty hard drive.  It just seems strange that this happened after using systemctl to (stupidly) try and disable a service (I really should not have and) that crashed my system to the point I had to pull out the power cable.  It was working fine across all reboots for about a year until that happened.

I had hoped that a systemd expert might give me some commands to run, to try and troubleshoot (if not rule out) a broken systemd.  Incidentally, that's why I put this post in "System Administration".

TheSaint - thanks for all your help help here.  This was really just a last ditch attempt to fix the problem and avoid having to scan my drives (using mhdd) and reinstall Arch.  Hopefully I'll find the time this weekend.

Offline

#18 2014-11-25 23:45:36

RandomArchGuy
Member
Registered: 2014-11-25
Posts: 5

Re: Random Boot Errors

Thought I'd chime in here, possibly could do with knowing if any others failed during the boot: systemctl --state=failed

Do you have plymouth installed?

Are you sure you didn't create/modify any unit files in either:
/lib/systemd/system/
/etc/systemd/system

at the rescue prompt are you able to mount sdb1 manually and "systemctl default"?

What's your kernel command line?

Offline

#19 2014-11-29 19:29:06

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

Hi RandomArchGuy - really appreciate you registered to try and help out here!

I just happened again, and while still in the rescue prompt, tried to answer your questions.

Thought I'd chime in here, possibly could do with knowing if any others failed during the boot: systemctl --state=failed

systemctl --state=failed

0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

systemctl --state=failed --all list-unit-files

UNIT FILE                                   STATE   
proc-sys-fs-binfmt_misc.automount           static  
dev-hugepages.mount                         static  
dev-mqueue.mount                            static  
proc-fs-nfsd.mount                          static  
proc-sys-fs-binfmt_misc.mount               static  
sys-fs-fuse-connections.mount               static  
sys-kernel-config.mount                     static  
sys-kernel-debug.mount                      static  
tmp.mount                                   static  
var-lib-nfs-rpc_pipefs.mount                static  
org.cups.cupsd.path                         disabled
systemd-ask-password-console.path           static  
systemd-ask-password-wall.path              static  
acestream-engine.service                    disabled
alsa-restore.service                        static  
alsa-state.service                          static  
alsa-store.service                          static  
auth-rpcgss-module.service                  static  
autovt@.service                             disabled
avahi-daemon.service                        disabled
avahi-dnsconfd.service                      disabled
blk-availability.service                    disabled
canberra-system-bootup.service              disabled
canberra-system-shutdown-reboot.service     disabled
canberra-system-shutdown.service            disabled
colord.service                              static  
console-getty.service                       disabled
console-shell.service                       disabled
container-getty@.service                    static  
cups-browsed.service                        disabled
dbus-org.freedesktop.Avahi.service          disabled
dbus-org.freedesktop.hostname1.service      static  
dbus-org.freedesktop.locale1.service        static  
dbus-org.freedesktop.login1.service         static  
dbus-org.freedesktop.machine1.service       static  
dbus-org.freedesktop.NetworkManager.service enabled 
dbus-org.freedesktop.nm-dispatcher.service  enabled 
dbus-org.freedesktop.resolve1.service       disabled
dbus-org.freedesktop.timedate1.service      static  
dbus.service                                static  
debug-shell.service                         disabled
dhcpcd.service                              disabled
dhcpcd@.service                             disabled
display-manager.service                     enabled 
dm-event.service                            disabled
dnsmasq.service                             disabled
ebtables.service                            disabled
emergency.service                           static  
etckeeper.service                           static  
fancontrol.service                          disabled
fstrim.service                              static  
ftpd.service                                disabled
geoclue.service                             static  
getty@.service                              enabled 
git-daemon@.service                         static  
gpm.service                                 disabled
healthd.service                             disabled
initrd-cleanup.service                      static  
initrd-parse-etc.service                    static  
initrd-switch-root.service                  static  
initrd-udevadm-cleanup-db.service           static  
ip6tables.service                           disabled
iptables.service                            disabled
kdm.service                                 enabled 
kmod-static-nodes.service                   static  
krb5-kadmind.service                        disabled
krb5-kdc.service                            disabled
krb5-kpropd.service                         disabled
krb5-kpropd@.service                        static  
ldconfig.service                            static  
libvirt-guests.service                      disabled
libvirtd.service                            enabled 
lm_sensors.service                          disabled
logrotate.service                           static  
lvm2-lvmetad.service                        disabled
lvm2-monitor.service                        disabled
lvm2-pvscan@.service                        static  
man-db.service                              static  
mdadm-last-resort@.service                  static  
mdadm.service                               disabled
mdmon@.service                              static  
mdmonitor.service                           static  
mkinitcpio-generate-shutdown-ramfs.service  static  
ModemManager.service                        disabled
mysqld.service                              disabled
netctl-auto@.service                        disabled
netctl-ifplugd@.service                     disabled
netctl-sleep.service                        disabled
netctl.service                              disabled
netctl@.service                             static  
NetworkManager-dispatcher.service           enabled 
NetworkManager-wait-online.service          disabled
NetworkManager.service                      enabled 
nfs-blkmap.service                          static  
nfs-config.service                          static  
nfs-idmapd.service                          static  
nfs-mountd.service                          static  
nfs-server.service                          disabled
nfs-utils.service                           static  
nmbd.service                                disabled
nscd.service                                disabled
nvidia-persistenced.service                 disabled
org.cups.cups-lpd@.service                  static  
org.cups.cupsd.service                      disabled
pkgfile-update.service                      static  
polkit.service                              static  
ppp@.service                                disabled
quotaon.service                             static  
rescue.service                              static  
rlogin@.service                             static  
rpc-gssd.service                            static  
rpc-statd-notify.service                    static  
rpc-statd.service                           static  
rpc-svcgssd.service                         static  
rpcbind.service                             static  
rsh@.service                                static  
rsyncd.service                              disabled
rsyncd@.service                             static  
rtkit-daemon.service                        disabled
samba.service                               disabled
sensord.service                             disabled
serial-getty@.service                       disabled
shadow.service                              static  
smbd.service                                disabled
smbd@.service                               static  
speech-dispatcherd.service                  disabled
spice-webdavd.service                       disabled
sshd.service                                enabled 
sshd@.service                               static  
sshdgenkeys.service                         static  
svnserve.service                            disabled
systemd-ask-password-console.service        static  
systemd-ask-password-wall.service           static  
systemd-backlight@.service                  static  
systemd-binfmt.service                      static  
systemd-firstboot.service                   static  
systemd-fsck-root.service                   static  
systemd-fsck@.service                       static  
systemd-halt.service                        static  
systemd-hibernate-resume@.service           static  
systemd-hibernate.service                   static  
systemd-hostnamed.service                   static  
systemd-hybrid-sleep.service                static  
systemd-initctl.service                     static  
systemd-journal-catalog-update.service      static  
systemd-journal-flush.service               static  
systemd-journal-gatewayd.service            static  
systemd-journal-remote.service              static  
systemd-journal-upload.service              disabled
systemd-journald.service                    static  
systemd-kexec.service                       static  
systemd-localed.service                     static  
systemd-logind.service                      static  
systemd-machined.service                    static  
systemd-modules-load.service                static  
systemd-networkd-wait-online.service        disabled
systemd-networkd.service                    disabled
systemd-nspawn@.service                     disabled
systemd-poweroff.service                    static  
systemd-quotacheck.service                  static  
systemd-random-seed.service                 static  
systemd-reboot.service                      static  
systemd-remount-fs.service                  static  
systemd-resolved.service                    disabled
systemd-rfkill@.service                     static  
systemd-shutdownd.service                   static  
systemd-suspend.service                     static  
systemd-sysctl.service                      static  
systemd-sysusers.service                    static  
systemd-timedated.service                   static  
systemd-timesyncd.service                   disabled
systemd-tmpfiles-clean.service              static  
systemd-tmpfiles-setup-dev.service          static  
systemd-tmpfiles-setup.service              static  
systemd-udev-hwdb-update.service            static  
systemd-udev-settle.service                 static  
systemd-udev-trigger.service                static  
systemd-udevd.service                       static  
systemd-update-done.service                 static  
systemd-update-utmp-runlevel.service        static  
systemd-update-utmp.service                 static  
systemd-user-sessions.service               static  
systemd-vconsole-setup.service              static  
talk.service                                static  
teamd@.service                              static  
telnet@.service                             static  
udisks2.service                             static  
upower.service                              disabled
user@.service                               static  
uuidd.service                               static  
virtlockd.service                           static  
vpnc@.service                               disabled
winbindd.service                            disabled
wpa_supplicant-nl80211@.service             disabled
wpa_supplicant-wired@.service               disabled
wpa_supplicant.service                      disabled
wpa_supplicant@.service                     disabled
-.slice                                     static  
machine.slice                               static  
system.slice                                static  
user.slice                                  static  
avahi-daemon.socket                         disabled
dbus.socket                                 static  
dm-event.socket                             static  
git-daemon.socket                           disabled
krb5-kpropd.socket                          disabled
libvirtd.socket                             static  
lvm2-lvmetad.socket                         static  
org.cups.cups-lpd.socket                    disabled
org.cups.cupsd.socket                       disabled
rlogin.socket                               disabled
rpcbind.socket                              enabled 
rsh.socket                                  disabled
rsyncd.socket                               disabled
smbd.socket                                 disabled
sshd.socket                                 disabled
syslog.socket                               static  
systemd-initctl.socket                      static  
systemd-journal-gatewayd.socket             disabled
systemd-journal-remote.socket               disabled
systemd-journald-dev-log.socket             static  
systemd-journald.socket                     static  
systemd-shutdownd.socket                    static  
systemd-udevd-control.socket                static  
systemd-udevd-kernel.socket                 static  
talk.socket                                 disabled
telnet.socket                               disabled
uuidd.socket                                disabled
virtlockd.socket                            disabled
basic.target                                static  
bluetooth.target                            static  
cryptsetup-pre.target                       static  
cryptsetup.target                           static  
ctrl-alt-del.target                         disabled
default.target                              static  
emergency.target                            static  
final.target                                static  
getty.target                                static  
graphical.target                            static  
halt.target                                 disabled
hibernate.target                            static  
hybrid-sleep.target                         static  
initrd-fs.target                            static  
initrd-root-fs.target                       static  
initrd-switch-root.target                   static  
initrd.target                               static  
kexec.target                                disabled
local-fs-pre.target                         static  
local-fs.target                             static  
multi-user.target                           static  
network-online.target                       static  
network-pre.target                          static  
network.target                              static  
nfs-blkmap.target                           disabled
nfs-client.target                           disabled
nss-lookup.target                           static  
nss-user-lookup.target                      static  
paths.target                                static  
poweroff.target                             disabled
printer.target                              static  
reboot.target                               disabled
remote-fs-pre.target                        static  
remote-fs.target                            enabled 
rescue.target                               disabled
rpcbind.target                              static  
shutdown.target                             static  
sigpwr.target                               static  
sleep.target                                static  
slices.target                               static  
smartcard.target                            static  
sockets.target                              static  
sound.target                                static  
spice-webdavd.target                        static  
suspend.target                              static  
swap.target                                 static  
sysinit.target                              static  
system-update.target                        static  
time-sync.target                            static  
timers.target                               static  
umount.target                               static  
etckeeper.timer                             static  
fstrim.timer                                disabled
logrotate.timer                             static  
man-db.timer                                static  
mdadm-last-resort@.timer                    static  
pkgfile-update.timer                        disabled
shadow.timer                                static  
systemd-tmpfiles-clean.timer                static  

288 unit files listed.

Do you have plymouth installed?

No.


Are you sure you didn't create/modify any unit files in either:
/lib/systemd/system/
/etc/systemd/system

Not directly.  But when I crashed my system, I was trying to get NetworkManager to work.  The Wiki page said to run "systemctl --type=service" to list currently running service and stop them.  I naively tried to disable
something I shouldn't have.

The output of "systemctl --type=serive" right now (in case it is of interest) is shown below:


UNIT                                                                                      LOAD   ACTIVE SUB     DESCRIPTION
emergency.service                                                                         loaded active running Emergency Shell
kmod-static-nodes.service                                                                 loaded active exited  Create list of required static device nodes for the current kernel
systemd-binfmt.service                                                                    loaded active exited  Set Up Additional Binary Formats
systemd-fsck@dev-disk-by\x2duuid-3265\x2d91D7.service                                     loaded active exited  File System Check on /dev/disk/by-uuid/3265-91D7
systemd-fsck@dev-disk-by\x2duuid-d40f3ef6\x2d46e3\x2d4d81\x2d8f08\x2d2e737fc1de31.service loaded active exited  File System Check on /dev/disk/by-uuid/d40f3ef6-46e3-4d81-8f08-2e737fc1de31
systemd-journald.service                                                                  loaded active running Journal Service
systemd-modules-load.service                                                              loaded active exited  Load Kernel Modules
systemd-remount-fs.service                                                                loaded active exited  Remount Root and Kernel File Systems
systemd-sysctl.service                                                                    loaded active exited  Apply Kernel Variables
systemd-tmpfiles-setup-dev.service                                                        loaded active exited  Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service                                                            loaded active exited  Create Volatile Files and Directories
systemd-udev-trigger.service                                                              loaded active exited  udev Coldplug all Devices
systemd-udevd.service                                                                     loaded active running udev Kernel Device Manager
systemd-vconsole-setup.service                                                            loaded active exited  Setup Virtual Console

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

14 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

at the rescue prompt are you able to mount sdb1 manually and "systemctl default"?

I'm not sure how to attempt to mount /dev/sdb1 because its an LVM_MEMBER.  Any idea?  The path "/dev/mapper/vgsata" does not exist.

And running "systemctl default" does not work.  I am just returned to the rescume prompt.


What's your kernel command line?

[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f02f480f-736d-49c5-ae8f-844ad524498b rw nomodeset quiet nomodeset root=/dev/mapper/vgssd-lvroot lvmwait=/dev/mapper/vgssd-lvroot dolvm



There looks to be some kind of path mapping issue.  If I run "lsblk -f", I see the below in stand error:


lsblk: dm-3: failed to get device path
lsblk: dm-4: failed to get device path
lsblk: dm-5: failed to get device path
lsblk: dm-6: failed to get device path
lsblk: dm-7: failed to get device path
lsblk: dm-3: failed to get device path
lsblk: dm-4: failed to get device path
lsblk: dm-5: failed to get device path
lsblk: dm-6: failed to get device path
lsblk: dm-7: failed to get device path

Standard out is as before:


NAME                 FSTYPE      LABEL    UUID                                   MOUNTPOINT
sda                                                                              
├─sda1               vfat        FAT32    E948-E6ED                              /Windows/Fat32
└─sda2               ntfs        NTFS     1222C95A22C94387                       /Windows/NTFS
sdb                                                                              
└─sdb1               LVM2_member          HHmrXt-v7eU-Fmll-ScKz-GJmz-Lj4T-0A3N8n 
sdc                                                                              
├─sdc1               ntfs        Recovery 10482B49482B2D42                       
├─sdc2               vfat                 342C-CEB5                              
├─sdc3                                                                           
└─sdc4               ntfs                 E6002F06002EDD75                       /Windows/C
sdd                                                                              
├─sdd1               vfat                 3265-91D7                              /boot
└─sdd2               LVM2_member          8dVVMU-mPGc-OArx-Nqj6-o1DQ-6KlQ-xXZSzs 
  ├─vgssd-lvroot     ext4                 f02f480f-736d-49c5-ae8f-844ad524498b   /
  ├─vgssd-lvrecovery ext4                 d40f3ef6-46e3-4d81-8f08-2e737fc1de31   /recovery
  └─vgssd-lvswap     swap                 7ccf2c9f-f2e8-4279-a99c-520195e36adf   [SWAP]
sr0                                                                              

Thanks for everyones help here so far.

Offline

#20 2014-11-29 20:34:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Random Boot Errors

crazzyfool wrote:

I'm not sure how to attempt to mount /dev/sdb1 because its an LVM_MEMBER.  Any idea?  The path "/dev/mapper/vgsata" does not exist.

Can you bring them online with:

lvm vgchange -a y vgsata

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#21 2014-11-30 15:10:45

RandomArchGuy
Member
Registered: 2014-11-25
Posts: 5

Re: Random Boot Errors

Cheers Jason, no worries Crazzy I've been meaning to register for long time!

I'm thinking two possibilities:
1. The HDD is dying, check the SMART status of it.
2. The systems not waiting for the HDD LVM setup to finish initializing.

Let us know the results of the hardware diagnostic and also if you can manually bring it online and continue booting. (If you do bring it online you may have to mount /var manually at that point.)

If the diagnostics come back clean and you can mount it, then can you post the full boot log so we can what's happening during early boot.

Offline

#22 2014-12-07 16:31:58

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

Thanks for the reply.  Sorry I've taken so long to get back to you.

1. The HDD is dying, check the SMART status of it.

I did a hdck scan and it came back okay.  Actually it was report as BAD but confusingly anything VERY BAD or worse is actually bad.  You can see the results below:

hdck v.0.5.0 log start
=========================
Test parameters:
min reads: 3
max reads: 30
max standard deviation: 0.500000
Testing device at /dev/sdb
Assuming 7200rpm disk with 32MiB cache
Block thresholds: 2.08, 4.17, 8.33, 16.67, 33.33, 50.00, 

Runtime options: 
CPU affinity: on
RT IO: on
real time: on
O_DIRECT: on
O_SYNC: on
flush: on

device size: 2000398934016 bytes

begin testing: Sat Nov 29 20:22:05 2014

end of main loop: Sun Nov 30 07:12:39 2014

end of rereads: Sun Nov 30 10:21:34 2014

results:
possible latent bad sectors or silent realocations:
block 0 (LBA: 0-255) rel std dev:  -nan, avg:  9.16, valid: yes, samples: 1, 9th decile:  9.16
block 1 (LBA: 256-511) rel std dev:  -nan, avg:  0.82, valid: yes, samples: 1, 9th decile:  0.82
block 1998944 (LBA: 511729664-511729919) rel std dev:  0.00, avg:  4.19, valid: yes, samples: 14, 9th decile: 16.39
block 7285011 (LBA: 1864962816-1864963071) rel std dev:  0.00, avg:  2.36, valid: yes, samples: 10, 9th decile:  9.03
block 13079727 (LBA: 3348410112-3348410367) rel std dev:  0.01, avg:  4.01, valid: yes, samples: 15, 9th decile: 14.65
block 13972645 (LBA: 3576997120-3576997375) rel std dev:  0.00, avg:  3.99, valid: yes, samples: 14, 9th decile: 14.76
block 14001434 (LBA: 3584367104-3584367359) rel std dev:  0.00, avg:  4.43, valid: yes, samples: 20, 9th decile: 20.70
7 uncertain blocks found

wall time: 50368s.943ms.299µs.215ns
sum time: 49266s.497ms.918µs
tested 15261832 blocks (0 errors, 56877101 samples)
mean block time: 0s.0ms.835µs
std dev: 0.309148730(ms)
Number of invalid blocks because of detected interrupted reads: 0
Number of interrupted reads: 9404
Individual block statistics:
<2.08ms: 15156387
<4.17ms: 83492
<8.33ms: 18425
<16.67ms: 3527
<33.33ms: 1
<50.00ms: 0
>50.00ms: 0
ERR: 0

Worst blocks:
block no      st.dev  avg   1stQ     med     3rdQ  valid samples 9th decile
     9425963 11.4577   7.36    0.74    0.75   10.67  yes   3     16.62
     8987649 11.4736   7.35    0.73    0.73   10.66  yes   3     16.62
    11731275 11.3675   7.44    0.88    0.89   10.73  yes   3     16.63
     6972422 11.4844   7.35    0.72    0.72   10.67  yes   3     16.64
     7695679 11.4953   7.35    0.71    0.71   10.67  yes   3     16.64
    11012354 11.4285   7.41    0.81    0.81   10.71  yes   3     16.65
    10700200 11.4173   7.43    0.83    0.84   10.72  yes   3     16.66
     7020078 11.5370   7.34    0.67    0.68   10.67  yes   3     16.66
     5927125 11.5683   7.31    0.63    0.65   10.66  yes   3     16.66
    14001434  8.1799   4.43    1.10    1.10    1.10  yes  20     20.70


Disk status: bad
sectors that required more than 2 read attempts detected

hdck log end

Th e SMART status seems all good too:

home-pc /boot-issues # smartctl -a /dev/sdb
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.17.3-1-ARCH] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.14 (AF)
Device Model:     ST2000DM001-1CH164
Serial Number:    W1E6ST3W
LU WWN Device Id: 5 000c50 072bf70fc
Firmware Version: CC27
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Dec  7 16:11:11 2014 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (  592) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 230) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x3085) SCT Status supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   119   099   006    Pre-fail  Always       -       218551816
  3 Spin_Up_Time            0x0003   096   096   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       351
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   069   060   030    Pre-fail  Always       -       8586757
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       3373
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       230
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0
189 High_Fly_Writes         0x003a   098   098   000    Old_age   Always       -       2
190 Airflow_Temperature_Cel 0x0022   062   054   045    Old_age   Always       -       38 (Min/Max 19/42)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       58
193 Load_Cycle_Count        0x0032   091   091   000    Old_age   Always       -       18845
194 Temperature_Celsius     0x0022   038   046   000    Old_age   Always       -       38 (0 15 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       2050h+56m+42.069s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       1748921556
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       15043373042

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      3373         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

2. The systems not waiting for the HDD LVM setup to finish initializing.

I did wonder about that.  I thought the 'lvmwait' kernel boot option took care of that doesn't it?

andy@home-pc ~ $ grep -i lvm /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset root=/dev/mapper/vgssd-lvroot lvmwait=/dev/mapper/vgssd-lvroot dolvm"

Let us know the results of the hardware diagnostic and also if you can manually bring it online and continue booting. (If you do bring it online you may have to mount /var manually at that point.)

No I can't manually bring it online and continue booting.  There is no /dev/mapper/* (for any of the LVM partitions on /dev/sdb) for me to use when this happens.  However, I didn't make sure /var was mounted.  I will need to wait until the next time it happens before giving that go.


Thanks for the help.

Offline

#23 2014-12-07 16:45:11

crazzyfool
Member
Registered: 2014-04-07
Posts: 33

Re: Random Boot Errors

If the diagnostics come back clean and you can mount it, then can you post the full boot log so we can what's happening during early boot.


Looks like the hard drives might not be the issue so here is the output to journalctl.  Looks like you might be on to something with the /var not mounting.  Still not sure why though?

journalctl /usr/lib/systemd/systemd --since="2014-11-29"

-- Logs begin at Mon 2014-08-04 18:10:55 BST, end at Sun 2014-12-07 16:35:01 GMT. --
Nov 29 16:35:30 home-pc systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
Nov 29 16:35:43 home-pc systemd[642]: pam_unix(systemd-user:session): session opened for user andy by (uid=0)
Nov 29 16:35:43 home-pc systemd[642]: Starting Paths.
Nov 29 16:35:43 home-pc systemd[642]: Reached target Paths.
Nov 29 16:35:43 home-pc systemd[642]: Starting Timers.
Nov 29 16:35:43 home-pc systemd[642]: Reached target Timers.
Nov 29 16:35:43 home-pc systemd[642]: Starting Sockets.
Nov 29 16:35:43 home-pc systemd[642]: Reached target Sockets.
Nov 29 16:35:43 home-pc systemd[642]: Starting Basic System.
Nov 29 16:35:43 home-pc systemd[642]: Reached target Basic System.
Nov 29 16:35:43 home-pc systemd[642]: Starting Default.
Nov 29 16:35:43 home-pc systemd[642]: Reached target Default.
Nov 29 16:35:43 home-pc systemd[642]: Startup finished in 11ms.
Nov 29 16:47:05 home-pc systemd[642]: Stopping Default.
Nov 29 16:47:05 home-pc systemd[642]: Stopped target Default.
Nov 29 16:47:05 home-pc systemd[642]: Stopping Basic System.
Nov 29 16:47:05 home-pc systemd[642]: Stopped target Basic System.
Nov 29 16:47:05 home-pc systemd[642]: Stopping Paths.
Nov 29 16:47:05 home-pc systemd[642]: Stopped target Paths.
Nov 29 16:47:05 home-pc systemd[642]: Stopping Timers.
Nov 29 16:47:05 home-pc systemd[642]: Stopped target Timers.
Nov 29 16:47:05 home-pc systemd[642]: Stopping Sockets.
Nov 29 16:47:05 home-pc systemd[642]: Stopped target Sockets.
Nov 29 16:47:05 home-pc systemd[642]: Starting Shutdown.
Nov 29 16:47:05 home-pc systemd[642]: Reached target Shutdown.
Nov 29 16:47:05 home-pc systemd[642]: Starting Exit the Session...
Nov 29 16:47:05 home-pc systemd[642]: Received SIGRTMIN+24 from PID 5253 (kill).
Nov 29 16:47:05 home-pc systemd[1]: rpcbind.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 29 16:47:05 home-pc systemd[1]: Unit rpcbind.service entered failed state.
Nov 29 16:47:05 home-pc systemd[1]: rpcbind.service failed.
Nov 29 16:47:05 home-pc systemd[643]: pam_unix(systemd-user:session): session closed for user andy
Nov 29 16:47:05 home-pc systemd[1]: Requested transaction contradicts existing jobs: Transaction is destructive.
Nov 29 16:47:05 home-pc systemd[1]: lvm2-lvmetad.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction is destructive.
Nov 29 16:47:05 home-pc systemd[1]: Unit lvm2-lvmetad.socket entered failed state.
Nov 29 16:47:05 home-pc systemd[1]: lvm2-pvscan@8:50.service: control process exited, code=exited status=5
Nov 29 16:47:05 home-pc systemd[1]: Unit lvm2-pvscan@8:50.service entered failed state.
Nov 29 16:47:05 home-pc systemd[1]: lvm2-pvscan@8:50.service failed.
Nov 29 16:47:05 home-pc systemd[1]: lvm2-pvscan@8:17.service: control process exited, code=exited status=5
Nov 29 16:47:05 home-pc systemd[1]: Unit lvm2-pvscan@8:17.service entered failed state.
Nov 29 16:47:05 home-pc systemd[1]: lvm2-pvscan@8:17.service failed.
Nov 29 16:47:05 home-pc systemd[1]: tmp.mount mount process exited, code=exited status=32
Nov 29 16:47:05 home-pc systemd[1]: Failed unmounting Temporary Directory.
Nov 29 16:47:05 home-pc systemd[1]: var.mount mount process exited, code=exited status=32
Nov 29 16:47:05 home-pc systemd[1]: Failed unmounting /var.
Nov 29 16:47:05 home-pc systemd[1]: home.mount mount process exited, code=exited status=32
Nov 29 16:47:05 home-pc systemd[1]: Failed unmounting /home.
Nov 29 16:47:08 home-pc systemd[1]: Shutting down.
-- Reboot --
Nov 29 18:41:06 home-pc systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
Nov 29 18:41:51 home-pc systemd[631]: pam_unix(systemd-user:session): session opened for user andy by (uid=0)
Nov 29 18:41:51 home-pc systemd[631]: Starting Paths.
Nov 29 18:41:51 home-pc systemd[631]: Reached target Paths.
Nov 29 18:41:51 home-pc systemd[631]: Starting Timers.
Nov 29 18:41:51 home-pc systemd[631]: Reached target Timers.
Nov 29 18:41:51 home-pc systemd[631]: Starting Sockets.
Nov 29 18:41:51 home-pc systemd[631]: Reached target Sockets.
Nov 29 18:41:51 home-pc systemd[631]: Starting Basic System.
Nov 29 18:41:51 home-pc systemd[631]: Reached target Basic System.
Nov 29 18:41:51 home-pc systemd[631]: Starting Default.
Nov 29 18:41:51 home-pc systemd[631]: Reached target Default.
Nov 29 18:41:51 home-pc systemd[631]: Startup finished in 22ms.
Nov 29 19:32:44 home-pc systemd[631]: Stopping Default.
Nov 29 19:32:44 home-pc systemd[631]: Stopped target Default.
Nov 29 19:32:44 home-pc systemd[631]: Stopping Basic System.
Nov 29 19:32:44 home-pc systemd[631]: Stopped target Basic System.
Nov 29 19:32:44 home-pc systemd[631]: Stopping Paths.
Nov 29 19:32:44 home-pc systemd[631]: Stopped target Paths.
Nov 29 19:32:44 home-pc systemd[631]: Stopping Timers.
Nov 29 19:32:44 home-pc systemd[631]: Stopped target Timers.
Nov 29 19:32:44 home-pc systemd[631]: Stopping Sockets.
Nov 29 19:32:44 home-pc systemd[631]: Stopped target Sockets.
Nov 29 19:32:44 home-pc systemd[631]: Starting Shutdown.
Nov 29 19:32:44 home-pc systemd[631]: Reached target Shutdown.
Nov 29 19:32:44 home-pc systemd[631]: Starting Exit the Session...
Nov 29 19:32:44 home-pc systemd[1]: rpcbind.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 29 19:32:44 home-pc systemd[1]: Unit rpcbind.service entered failed state.
Nov 29 19:32:44 home-pc systemd[1]: rpcbind.service failed.
Nov 29 19:32:44 home-pc systemd[631]: Received SIGRTMIN+24 from PID 1378 (kill).
Nov 29 19:32:44 home-pc systemd[1]: Requested transaction contradicts existing jobs: Transaction is destructive.
Nov 29 19:32:44 home-pc systemd[1]: lvm2-lvmetad.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction is destructive.
Nov 29 19:32:44 home-pc systemd[1]: Unit lvm2-lvmetad.socket entered failed state.
Nov 29 19:32:44 home-pc systemd[1]: lvm2-pvscan@8:50.service: control process exited, code=exited status=5
Nov 29 19:32:44 home-pc systemd[1]: Unit lvm2-pvscan@8:50.service entered failed state.
Nov 29 19:32:44 home-pc systemd[1]: lvm2-pvscan@8:50.service failed.
Nov 29 19:32:44 home-pc systemd[1]: lvm2-pvscan@8:17.service: control process exited, code=exited status=5
Nov 29 19:32:44 home-pc systemd[1]: Unit lvm2-pvscan@8:17.service entered failed state.
Nov 29 19:32:44 home-pc systemd[1]: lvm2-pvscan@8:17.service failed.
Nov 29 19:32:44 home-pc systemd[1]: var.mount mount process exited, code=exited status=32
Nov 29 19:32:44 home-pc systemd[1]: Failed unmounting /var.
Nov 29 19:32:44 home-pc systemd[1]: home.mount mount process exited, code=exited status=32
Nov 29 19:32:44 home-pc systemd[1]: Failed unmounting /home.
Nov 29 19:32:44 home-pc systemd[1]: tmp.mount mount process exited, code=exited status=32
Nov 29 19:32:44 home-pc systemd[1]: Failed unmounting Temporary Directory.
Nov 29 19:32:46 home-pc systemd[1]: Shutting down.
-- Reboot --
Nov 29 19:37:24 home-pc systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
Nov 29 19:37:35 home-pc systemd[593]: pam_unix(systemd-user:session): session opened for user andy by (uid=0)
Nov 29 19:37:35 home-pc systemd[593]: Starting Paths.
Nov 29 19:37:35 home-pc systemd[593]: Reached target Paths.
Nov 29 19:37:35 home-pc systemd[593]: Starting Timers.
Nov 29 19:37:35 home-pc systemd[593]: Reached target Timers.
Nov 29 19:37:35 home-pc systemd[593]: Starting Sockets.
Nov 29 19:37:35 home-pc systemd[593]: Reached target Sockets.
Nov 29 19:37:35 home-pc systemd[593]: Starting Basic System.
Nov 29 19:37:35 home-pc systemd[593]: Reached target Basic System.
Nov 29 19:37:35 home-pc systemd[593]: Starting Default.
Nov 29 19:37:35 home-pc systemd[593]: Reached target Default.
Nov 29 19:37:35 home-pc systemd[593]: Startup finished in 18ms.
Nov 29 19:39:32 home-pc systemd[593]: Stopping Default.
Nov 29 19:39:32 home-pc systemd[593]: Stopped target Default.
Nov 29 19:39:32 home-pc systemd[593]: Stopping Basic System.
Nov 29 19:39:32 home-pc systemd[593]: Stopped target Basic System.
Nov 29 19:39:32 home-pc systemd[593]: Stopping Paths.
Nov 29 19:39:32 home-pc systemd[593]: Stopped target Paths.
Nov 29 19:39:32 home-pc systemd[593]: Stopping Timers.
Nov 29 19:39:32 home-pc systemd[593]: Stopped target Timers.
Nov 29 19:39:32 home-pc systemd[593]: Stopping Sockets.
Nov 29 19:39:32 home-pc systemd[593]: Stopped target Sockets.
Nov 29 19:39:33 home-pc systemd[1]: Unit lvm2-pvscan@8:17.service entered failed state.
Nov 29 19:39:33 home-pc systemd[1]: lvm2-pvscan@8:17.service failed.
Nov 29 19:39:33 home-pc systemd[1]: var.mount mount process exited, code=exited status=32
Nov 29 19:39:33 home-pc systemd[1]: Failed unmounting /var.
Nov 29 19:39:35 home-pc systemd[1]: Shutting down.
-- Reboot --
Nov 29 20:00:27 home-pc systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
Nov 29 20:15:19 home-pc systemd[636]: pam_unix(systemd-user:session): session opened for user andy by (uid=0)
Nov 29 20:15:19 home-pc systemd[636]: Starting Paths.
Nov 29 20:15:19 home-pc systemd[636]: Reached target Paths.
Nov 29 20:15:19 home-pc systemd[636]: Starting Timers.
Nov 29 20:15:19 home-pc systemd[636]: Reached target Timers.
Nov 29 20:15:19 home-pc systemd[636]: Starting Sockets.
Nov 29 20:15:19 home-pc systemd[636]: Reached target Sockets.
Nov 29 20:15:19 home-pc systemd[636]: Starting Basic System.
Nov 29 20:15:19 home-pc systemd[636]: Reached target Basic System.
Nov 29 20:15:19 home-pc systemd[636]: Starting Default.
Nov 29 20:15:19 home-pc systemd[636]: Reached target Default.
Nov 29 20:15:19 home-pc systemd[636]: Startup finished in 28ms.
Dec 01 23:30:59 home-pc systemd[636]: Stopping Default.
Dec 01 23:30:59 home-pc systemd[636]: Stopped target Default.
Dec 01 23:30:59 home-pc systemd[636]: Stopping Basic System.
Dec 01 23:30:59 home-pc systemd[636]: Stopped target Basic System.
Dec 01 23:30:59 home-pc systemd[636]: Stopping Paths.
Dec 01 23:30:59 home-pc systemd[636]: Stopped target Paths.
Dec 01 23:30:59 home-pc systemd[636]: Stopping Timers.
Dec 01 23:30:59 home-pc systemd[636]: Stopped target Timers.
Dec 01 23:30:59 home-pc systemd[636]: Stopping Sockets.
Dec 01 23:30:59 home-pc systemd[636]: Stopped target Sockets.
Dec 01 23:30:59 home-pc systemd[636]: Starting Shutdown.
Dec 01 23:30:59 home-pc systemd[636]: Reached target Shutdown.
Dec 01 23:30:59 home-pc systemd[636]: Starting Exit the Session...
Dec 01 23:30:59 home-pc systemd[1]: rpcbind.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Dec 01 23:30:59 home-pc systemd[1]: Unit rpcbind.service entered failed state.
Dec 01 23:30:59 home-pc systemd[1]: rpcbind.service failed.
Dec 01 23:30:59 home-pc systemd[636]: Received SIGRTMIN+24 from PID 9988 (kill).
Dec 01 23:30:59 home-pc systemd[637]: pam_unix(systemd-user:session): session closed for user andy
Dec 01 23:30:59 home-pc systemd[1]: Requested transaction contradicts existing jobs: Transaction is destructive.
Dec 01 23:30:59 home-pc systemd[1]: lvm2-lvmetad.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction is destructive.
Dec 01 23:30:59 home-pc systemd[1]: Unit lvm2-lvmetad.socket entered failed state.
Dec 01 23:30:59 home-pc systemd[1]: lvm2-pvscan@8:50.service: control process exited, code=exited status=5
Dec 01 23:30:59 home-pc systemd[1]: Unit lvm2-pvscan@8:50.service entered failed state.
Dec 01 23:30:59 home-pc systemd[1]: lvm2-pvscan@8:50.service failed.
Dec 01 23:30:59 home-pc systemd[1]: lvm2-pvscan@8:17.service: control process exited, code=exited status=5
Dec 01 23:30:59 home-pc systemd[1]: Unit lvm2-pvscan@8:17.service entered failed state.
Dec 01 23:30:59 home-pc systemd[1]: lvm2-pvscan@8:17.service failed.
Dec 01 23:30:59 home-pc systemd[1]: home.mount mount process exited, code=exited status=32
Dec 01 23:30:59 home-pc systemd[1]: Failed unmounting /home.
Dec 01 23:30:59 home-pc systemd[1]: var.mount mount process exited, code=exited status=32
Dec 01 23:30:59 home-pc systemd[1]: Failed unmounting /var.
Dec 01 23:30:59 home-pc systemd[1]: tmp.mount mount process exited, code=exited status=32
Dec 01 23:30:59 home-pc systemd[1]: Failed unmounting Temporary Directory.
Dec 01 23:31:00 home-pc systemd[1]: Shutting down.
-- Reboot --
Dec 04 19:19:24 home-pc systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
Dec 04 19:19:39 home-pc systemd[643]: pam_unix(systemd-user:session): session opened for user andy by (uid=0)
Dec 04 19:19:39 home-pc systemd[643]: Starting Paths.
Dec 04 19:19:39 home-pc systemd[643]: Reached target Paths.
Dec 04 19:19:39 home-pc systemd[643]: Starting Timers.
Dec 04 19:19:39 home-pc systemd[643]: Reached target Timers.
Dec 04 19:19:39 home-pc systemd[643]: Starting Sockets.
Dec 04 19:19:39 home-pc systemd[643]: Reached target Sockets.
Dec 04 19:19:39 home-pc systemd[643]: Starting Basic System.
Dec 04 19:19:39 home-pc systemd[643]: Reached target Basic System.
Dec 04 19:19:39 home-pc systemd[643]: Starting Default.
Dec 04 19:19:39 home-pc systemd[643]: Reached target Default.
Dec 04 19:19:39 home-pc systemd[643]: Startup finished in 9ms.

Offline

#24 2014-12-12 20:18:03

RandomArchGuy
Member
Registered: 2014-11-25
Posts: 5

Re: Random Boot Errors

OK so you can't manually mount.

What's the output of vgscan on the failed system? Does it find the volumes?

EDIT: oh and the LVM wait is set to wait for your SSD volume group to become available not your HDD

Last edited by RandomArchGuy (2014-12-12 20:25:08)

Offline

#25 2015-03-05 18:51:30

beedaddy
Member
From: Germany
Registered: 2015-02-26
Posts: 23

Re: Random Boot Errors

I wonder if this problem is solved? Because maybe I experience exactly the same problem. Sometimes it boots without any problems and sometimes it hangs (see below).

I have two disks. One SSD (/dev/sda with LVM where the system files are ("/")) and one HDD (/dev/sdb with LVM where the data files are ("/home)).

Mär 04 14:31:34 beehive systemd[1]: Job dev-mapper-beehive_hdd\x2dswap.device/start timed out.
Mär 04 14:31:34 beehive systemd[1]: Timed out waiting for device dev-mapper-beehive_hdd\x2dswap.device.
Mär 04 14:31:34 beehive systemd[1]: Dependency failed for /dev/mapper/beehive_hdd-swap.
Mär 04 14:31:34 beehive systemd[1]: Dependency failed for Swap.
Mär 04 14:31:34 beehive systemd[1]: Job swap.target/start failed with result 'dependency'.
Mär 04 14:31:34 beehive systemd[1]: Job dev-mapper-beehive_hdd\x2dswap.swap/start failed with result 'dependency'.
Mär 04 14:31:34 beehive systemd[1]: Job dev-mapper-beehive_hdd\x2dswap.device/start failed with result 'timeout'.
Mär 04 14:31:34 beehive systemd[1]: Job dev-mapper-beehive_hdd\x2dhome.device/start timed out.
Mär 04 14:31:34 beehive systemd[1]: Timed out waiting for device dev-mapper-beehive_hdd\x2dhome.device.
Mär 04 14:31:34 beehive systemd[1]: Dependency failed for File System Check on /dev/mapper/beehive_hdd-home.
Mär 04 14:31:34 beehive systemd[1]: Dependency failed for /home.
Mär 04 14:31:34 beehive systemd[1]: Dependency failed for Local File Systems.
Mär 04 14:31:34 beehive systemd[1]: Job local-fs.target/start failed with result 'dependency'.
Mär 04 14:31:34 beehive systemd[1]: Job home.mount/start failed with result 'dependency'.
Mär 04 14:31:34 beehive systemd[1]: Job systemd-fsck@dev-mapper-beehive_hdd\x2dhome.service/start failed with result 'dependency'.
Mär 04 14:31:34 beehive systemd[1]: Job dev-mapper-beehive_hdd\x2dhome.device/start failed with result 'timeout'.
Mär 04 14:31:39 beehive systemd[316]: Failed at step EXEC spawning /bin/plymouth: No such file or directory

Offline

Board footer

Powered by FluxBB