You are not logged in.
Pages: 1
I upgraded this morning to 4.9.8 and subsequently could not boot the pc. The erreor was
A start job running for dev-sdaX.device
Where sdaX wa my root partition (not boot)
The fix was to downgrade to 4.9.7-1
Sorry - no further information on why this occurred
Andrew
Offline
So what is 'sdaX'? What does the journal from the failed boot say?
Mod note:moving to NC
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
So what is 'sdaX'? What does the journal from the failed boot say?
Where sdaX was my root partition (not boot)
The journal does not say anything because the pc would not boot into linux
Mod note:moving to NC
As you wish - looks like a kernel problem to me.
Andrew
Offline
Do you actually use /dev/sda in your bootloader config to refer to your root partition? You shouldn't use those, they aren't stable, they can change on a whim if the kernel enumerates some other device first, use something more persistent. However this has always been true and should have nothing to do with that update, so this issue could have been merely coincidental. Even so the journal could still contain information, and you can read the contents of that even on the older kernel.
Offline
The message you were getting was from systemd, not the kernel, so the kernel was loading fine, it is the initramfs that is having difficulty. It may yet be a kernel problem (e.g. missing/broken modules), but you haven't provided enough information about the problem to say for sure.
See https://wiki.archlinux.org/index.php/Ge … leshooting, particularly the section regarding debug output, but read the whole thing.
If you are dropped to an emergency shell, and can use your keyboard, post the output of
uname -aSakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The kernel may have booted fine, but the boot process could not continue because it could not proceed beyond the error message:
A start job running for dev-sdaX.device
where /dev/sdaX is my root partition.
There was no emergency shell, or if there was the shell was broken ![]()
Just to re-iterate journalctl shows no entries whatsoever in the period.
Downgrading linux solved the problem.
I posted this in case anyone else had the same problem. If they do let me know and we can compare notes.
@V1del Thanks and I understand, but this was not the problem in this case.
Andrew
Offline
The fix was to downgrade to 4.9.7-1
So you are running testing?
Offline
4.9.8-1 is the latest stable. I'd assume he downgraded using the package cache.
Other than that, is there no timeout for the mentioned start job? If there is none, that might be why you aren't dropped to a recovery shell.
You can try to force one by appending 'systemd.unit=rescue.target' to your kernel boot arguments.
Lastly, since the root partition is not being mounted, that probably explains why there are no journalctl entries for that period since the logs can never persist a reboot without writing them out somewhere.
Offline
4.9.8-1 is the latest stable. I'd assume he downgraded using the package cache.
As far as I am aware 4.9.7-1 was never moved from the testing repositories to the main repositories.
So my explanation for how 4.9.7-1 was present on the system was that pacman was configured to use the testing repositories.
edit:
You can try to force one by appending 'systemd.unit=rescue.target' to your kernel boot arguments.
systemd.unit=rescue.target applies to the systemd after the root filesystem has been loaded and systemd has switched root to there, rd.systemd.unit=rescue.target applies to the ramdisk
Also note rescue.target will still try and mount the root filesystem while emergency.target will not.
Last edited by loqs (2017-02-08 19:17:58)
Offline
Apologies, I think I may have locked this topic by accident. Re-opening.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
@loqs No I am not running testing, 4.9.7-1 must have been released - I do tend to stay pretty much up to the minute.
@Omar007 That is correct - from the package cache. Sorry, there was indeed a 1min 30sec timout which I did not report. Re journalctl - yes I think so.
Andrew
Edit: typos
Last edited by fdservices (2017-02-08 20:38:16)
Offline
@loqs No I am not running testing, 4.9.7-1 must have been released - I do tend to stay pretty much up to the minute.
Apologies I was mistaken
Offline
@loqs; Ah thank you for correcting me. I did indeed forget to write down the rd prefix. My bad :V
I did not know that the rescue.target would actually fail without root. Good to know about the emergency.target. You learn something new every day ![]()
Also, fwiw, 4.9.7-1 was in the normal repositories for about 2 days or so ![]()
@fdservices; It doesn't drop you to a shell after the timeout either? Did you give the emergency.target as loqs suggested a try?
@WorMzy; I was wondering why it was closed without any mod-note whatsoever xD
Offline
Looking at ChangeLog-4.9.8 changes seem to be divided into only two categories xfs patches and networking patches.
Is your root filesystem xfs if not it would seem to me somewhat strange that this patchset caused the breakage.
Offline
Yes, I think it may have dropped me to the emegency.target, but there is does not seem to be much point, especially with no root partition.
"emergency" is little more than an equivalent to init=/bin/sh on the kernel command like. i.e. you get a shell, but almost nothing else
Andrew
Offline
May be something went wrong with the upgrade process, although nothing was reported. I may try again if no one else has any problems.
Andrew
Offline
Silly question, but did you have /boot mounted at the time? I get those messages almost everytime I upgrade the kernel on my laptop since it's on a USB drive and in fstab with noauto. Downgrading would fix it since the image in /boot would be for the old kernel, and there would be no error message since there is a /boot directory, it's just not the right one.
Last edited by nstgc (2017-02-08 21:21:22)
Offline
Well I don't have a USB hard drive, and I have never had the problem before.
Andrew
Offline
It has nothing to do with a USB drive. If your /boot was not mounted during an upgrade, you will experience this issue.
Offline
Sorry, misunderstood the question.
Yes, of course /boot was mounted during the upgrade.
Andrew
Offline
How can you be so sure? Please paste your fstab.
Offline
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=49819f85-4211-488f-b989-c74c6eff6f39 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda1
UUID=9041-5D11 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname
=mixed,errors=remount-ro 0 2
# /dev/sda4
UUID=5e09a5be-0b0f-4ffc-8e60-8239f7756487 /home ext4 rw,relatime,data=ordered 0 2
# /dev/sda3
UUID=116c0842-24cf-4153-8d2a-721dda6770ea none swap defaults 0 0
Offline
So your fstab uses UUIDs, but your boot{loader,manager} uses sdx?
Offline
Pages: 1