You are not logged in.
I wanted to check the status of wake on lan, so I installed ethtool, with system upgrade:
$ pacman -Syu ethtool
This was on a ThinkPad X250 with a new Arch install from about 2 weeks ago, and now:
$ uname -a
Linux cube 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux
After the upgrade I rebooted, and both ethernet and wireless controllers were missing:
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
Following the wiki I tried to check if the corresponding modules were loaded, but could not find them:
$ lspci -v 2>&1
lspci: Unable to load libkmod resources: error -12
...
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-LM (rev 03)
Subsystem: Lenovo Device 2226
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at e1200000 (32-bit, non-prefetchable) [size=128K]
Memory at e123e000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 3080 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [e0] PCI Advanced Features
...
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-N 7265
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at e1000000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number dc-53-60-ff-ff-fd-2b-40
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
...
I am looking into `lspci: Unable to load libkmod resources: error -12`, but I am kind of stuck.
Last edited by hdoradu (2017-03-12 19:41:05)
Offline
Was your /boot mounted during the upgrade ?
please post pacman -Q linux and uname -a .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Your running kernel doesn't match the installed kernel, so you will not be able to load modules. I'm not sure why it wouldn't have already been loaded at boot, but a reboot should suffice.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Your running kernel doesn't match the installed kernel, so you will not be able to load modules. I'm not sure why it wouldn't have already been loaded at boot, but a reboot should suffice.
I already rebooted several time and still same issue.
Offline
Then Lone_Wolfs answer (which came in as I was writing mine) is likely on target.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Was your /boot mounted during the upgrade ?
please post pacman -Q linux and uname -a .
uname -a is already in the initial post.
$ uname -a
Linux cube 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux
$ pacman -Q linux
linux 4.10.1-1
Last edited by hdoradu (2017-03-12 16:55:40)
Offline
To give you a little more info about my system, I am using EFI systemd-boot.
I tried now to upgrade the kernel:
$pacman -S linux
warning: linux-4.10.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) linux-4.10.1-1
Total installed size: 79.90 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
And I see the images in /boot beeing updated:
$ ls -la /boot
total 32784
drwxr-xr-x 2 root root 4096 Mar 12 19:54 .
drwxr-xr-x 17 root root 4096 Mar 7 20:35 ..
-rw-r--r-- 1 root root 22634967 Mar 12 19:54 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 5958508 Mar 12 19:54 initramfs-linux.img
-rw-r--r-- 1 root root 4962064 Feb 26 23:11 vmlinuz-linux
The thing is that my EFI System Partition(sda1) is not mounted.
And I am not able to mount it anymore:
$ lsblk /dev/sda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 512M 0 part
└─sda2 8:2 0 238G 0 part /
$ mount /dev/sda1 /boot
mount: unknown filesystem type 'vfat'
I guess I should have mounted it a the beginning, before running: pacman -Syu.
Last edited by hdoradu (2017-03-12 18:31:40)
Offline
Downgrade the linux package assuming it is still in the pacman cache
pacman -U /var/cache/pacman/pkg/linux-4.9.11-1-x86_64.pkg.tar.xz
If not use live media to boot then chroot in with /boot mounted and reinstall the kernel package
If you had to downgrade the kernel package mount /boot then install the linux package again
Edit /etc/fstab to add /boot
Umount /boot and clean files from mountpoint.
Edit:
spelling
Last edited by loqs (2017-03-12 18:40:39)
Offline
Downgrade the linux package assuming it is still in the pacman cache
pacman -U /var/cache/pacman/pkg/linux-4.9.11-1-x86_64.pkg.tar.xz
If not use live media to boot then chroot in with /boot mounted and reinstall the kernel package
If you had to downgrade the kernel package mount /boot then install the linux package again
Edit /etc/fstab to add /boot
Umount /boot and clean files from mountpoint.
Edit:
spelling
That did it.
I managed to downgrade, mounted the ESP to /boot, and reinstalled the kernel.
I also added it in fstab and now ESP gets mounted at bootup.
Thank you very much!
Last edited by hdoradu (2017-03-12 19:43:26)
Offline