You are not logged in.

#1 2016-02-12 21:25:45

zekebsatx
Member
Registered: 2016-01-29
Posts: 72

[SOLVED] systemd-modules-load problem

Specifcally vhba-moduile is giving me trouble.
For a whlle, I ignored linux and linux-headers in pacman.conf

I upgraded to linux-4.4.1-2, but systemd-modules-load failed.

Also, uname -a returns version 4.3.3-2

The error message for systemd-modules-load is

...Failed to lookup alias 'vhba': function not implemented.

If I try to downgrade to 4.3.3-2

# pacman -U linux-4.3.3-2-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package Linux (4.4.1-2 => 4.3.3-2)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not resolve dependencies)
::vhba-module: installing linux (4.3.3-2) breaks dependency 'Linux >=4.4'

If I reinstall linux-4.4.1, installation seems to proceed fine, with only some grumbling about firmware,aic94xxand wd719x, but it reboots to Linux 4.3.3-2

Not sure what to do next short of complete rebuild

Last edited by zekebsatx (2016-02-16 18:34:06)

Offline

#2 2016-02-12 21:35:46

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] systemd-modules-load problem

zekebsatx wrote:

I upgraded to linux-4.4.1-2, but systemd-modules-load failed.

Also, uname -a returns version 4.3.3-2

That is symptomatic of /boot being on a seperate filesystem and not being mounted at the time of the kernel package upgrade

zekebsatx wrote:

If I try to downgrade to 4.3.3-2

# pacman -U linux-4.3.3-2-x86_64.pkg.tar.xz
loading packages...
warning: downgrading package Linux (4.4.1-2 => 4.3.3-2)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not resolve dependencies)
::vhba-module: installing linux (4.3.3-2) breaks dependency 'Linux >=4.4'

You would need to remove the vhba-module package first to remove the dependancy requirement before you could perform that downgrade.

Offline

#3 2016-02-12 21:40:50

zekebsatx
Member
Registered: 2016-01-29
Posts: 72

Re: [SOLVED] systemd-modules-load problem

Thanks, removing cdemu-daemon (and dependencies which include vhba-module) allowed me to download and restore functionality.

Now, how do I upgrade to the current kernel without breaking the system again?
edit:
If I just run

#pacman -Syu

it upgrades linux to 4.4.1-2-x86_64-ARCH with no errors.

But when I reboot, it boots into kernel 4.3.3-2 still and none of the kernel modules seem to work (no X server, no network interface, etc...)

Last edited by zekebsatx (2016-02-12 21:46:47)

Offline

#4 2016-02-12 21:46:51

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] systemd-modules-load problem

loqs wrote:

That is symptomatic of /boot being on a seperate filesystem and not being mounted at the time of the kernel package upgrade

If /boot is a on a separate filesystem check if it is mounted before running the system update.
systemd-boot is supposed to automount the ESP to /boot as needed (assuming also you boot in EFI mode and use systemd-boot as the boot manager)
otherwise would check the fstab entry for /boot
edit:
grammar

Last edited by loqs (2016-02-12 21:47:59)

Offline

#5 2016-02-12 21:55:33

zekebsatx
Member
Registered: 2016-01-29
Posts: 72

Re: [SOLVED] systemd-modules-load problem

Boot is indeed on it's own partition (this is an intel imac that uses EFI that I can't disable)

$ sudo parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: ATA APPLE HDD ST1000 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                  Flags
 1      20.5kB  210MB   210MB   fat32           EFI system partition  boot, esp
 2      210MB   900MB   690MB                   Macintosh HD
 4      902MB   1902MB  1000MB  linux-swap(v1)  swap
 5      1904MB  1000GB  998GB   btrfs           Arch
 3      1000GB  1000GB  650MB   hfs+            Recovery HD
$ cat /etc/fstab
# /dev/sda5
UUID=50377358-f02c-4e1a-b462-d04a780eccb1	/         	btrfs     	rw,relatime,space_cache,subvolid=5,subvol=/	0 0

# /dev/sda4
UUID=d47812a0-faab-4b21-9ed8-9117f2bc0a37	none      	swap      	defaults  	0 0

So /boot is not mounted in fstab, but I do have a /boot dir with:

$ ls /boot
initramfs-linux-fallback.img  initramfs-linux.img  vmlinuz-linux

Offline

#6 2016-02-12 22:06:19

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] systemd-modules-load problem

Please post the output of:

grep boot /proc/self/mounts

Jin, Jîyan, Azadî

Offline

#7 2016-02-16 16:04:20

zekebsatx
Member
Registered: 2016-01-29
Posts: 72

Re: [SOLVED] systemd-modules-load problem

Head_on_a_Stick wrote:

Please post the output of:

grep boot /proc/self/mounts

That returns no output.

Offline

#8 2016-02-16 16:13:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] systemd-modules-load problem

So the problem is exactly as has been pointed out many times in this thread.

Offline

#9 2016-02-16 17:54:46

zekebsatx
Member
Registered: 2016-01-29
Posts: 72

Re: [SOLVED] systemd-modules-load problem

Scimmia wrote:

So the problem is exactly as has been pointed out many times in this thread.

Which is that /boot is not being mounted by systemd-boot - yes that is quite clear.

I appeciate you taking the time to reply, but your reply is of essentially no informational value.

Should I add a line to FSTAB to mount boot that way?

Offline

#10 2016-02-16 18:03:36

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] systemd-modules-load problem

zekebsatx wrote:

Which is that /boot is not being mounted by systemd-boot - yes that is quite clear.

I appeciate you taking the time to reply, but your reply is of essentially no informational value.

Should I add a line to FSTAB to mount boot that way?

loqs wrote:

That is symptomatic of /boot being on a seperate filesystem and not being mounted at the time of the kernel package upgrade

loqs wrote:

If /boot is a on a separate filesystem check if it is mounted before running the system update.
systemd-boot is supposed to automount the ESP to /boot as needed (assuming also you boot in EFI mode and use systemd-boot as the boot manager)
otherwise would check the fstab entry for /boot

Offline

#11 2016-02-16 18:34:46

zekebsatx
Member
Registered: 2016-01-29
Posts: 72

Re: [SOLVED] systemd-modules-load problem

Changed to solved.

The solution was to add an entry for my boot partition to /etc/fstab.

Offline

Board footer

Powered by FluxBB