You are not logged in.

#1 2015-02-09 15:27:00

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Cant update kernel (strange)

Dear community,

uname shows 3.18.1 – whatever which kernel version is really installed. I haven't reboted the notebook for several weeks. Now its indifferent wether I update to 3.18.5 or 3.18.6 – uname does not change.

At the moment I am working with 3.18.1 because there are no drivers, when I update to 3.18.6 and reboot.

/boot is writable

ls -l /boot:

-rw-r--r-- 1 root root 27785816  9. Feb 16:05 initramfs-linux-fallback.img
-rw-r--r-- 1 root root  6430511  9. Feb 16:05 initramfs-linux.img
drwxr-xr-x 2 root root     4096 14. Okt 00:25 syslinux
-rw-r--r-- 1 root root  4062816 17. Dez 15:41 vmlinuz-linux

mkinitcpio runs

==> Starting dry run: 3.18.1-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Dry run complete, use -g IMAGE to generate a real image

; CASE 1
3.18.1 installed

LC_ALL=C pacman -Qi linux:

Name           : linux
Version        : 3.18.1-1
Linux wp 3.18.1-1-ARCH #1 SMP PREEMPT Wed Dec 17 15:40:09 CET 2014 x86_64 GNU/Linux

EVERYTHING WORKS, except wlan

[  190.083812] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  191.418579] ieee80211 phy0: rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy [0x00000068]
[  191.418584] ieee80211 phy0: rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5)

; CASE 2
3.18.6 installed

pacman -Qi linux:

Repository     : core
Name           : linux
Version        : 3.18.6-1

displays 3.18.1

Linux wp 3.18.1-1-ARCH #1 SMP PREEMPT Wed Dec 17 15:40:09 CET 2014 x86_64 GNU/Linux

no drivers, no internet, no nouveau
nothing works


Where does this strange problem come from? May you help me?

Offline

#2 2015-02-09 15:34:22

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,893
Website

Re: Cant update kernel (strange)

Do you have a dedicated boot partition? Is it mounted?


OR

Are you booting in EFI mode? Is the kernel + initrd copied into the right place for the boot manager to load it?


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.

Online

#3 2015-02-09 15:36:19

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: Cant update kernel (strange)

kopiersperre wrote:

I haven't reboted the notebook for several weeks.

Do you mean you're not rebooting after installing the new kernel?

Offline

#4 2015-02-09 16:02:04

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Re: Cant update kernel (strange)

I noticed this problem after not rebooting for a long time. So now I have rebooted many times.

sudo efibootmgr:

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,3001,0002,2001,2002,2003
Boot0001* EFI HDD Device (ST1000LM024 HN-M101MBB)
Boot0002* Linux Boot Manager
Boot2001* USB Drive (UEFI)
Boot2002* Internal CD/DVD ROM Drive (UEFI)
Boot3000* Internal Hard Disk or Solid State Disk
Boot3001* Internal Hard Disk or Solid State Disk
Boot3002* Internal Hard Disk or Solid State Disk
Boot3003* Internal Hard Disk or Solid State Disk

Offline

#5 2015-02-09 16:25:35

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,893
Website

Re: Cant update kernel (strange)

kopiersperre wrote:

sudo efibootmgr:
[...]

That doesn't tell us anything other than you are using EFI to boot.

What is "EFI HDD Device (ST1000LM024 HN-M101MBB)"? Is the ESP mounted anywhere? How do you transfer the kernel and initrd to it? (e.g. https://wiki.archlinux.org/index.php/EF … unt_Points)


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.

Online

#6 2015-02-09 16:32:02

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Re: Cant update kernel (strange)

I just use pacman. After updating the files in /boot have a newer date than before.

It's an EFI notebook, but I've used the most non-EFI mode at installation.

Offline

#7 2015-02-09 16:41:36

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Cant update kernel (strange)

oliver wrote:
kopiersperre wrote:

I haven't reboted the notebook for several weeks.

Do you mean you're not rebooting after installing the new kernel?

Let me put it this way: When you upgraded the kernel, did you reboot the machine?

1) If you upgraded the kernel and did not reboot the machine ever, then this is expected because you're in a session with the kernel you booted up in, not the upgraded one.

2) If you upgraded the kernel and did reboot the machine, then we need to work out what is up with /boot.

3) If you are doing some kind of dynamic loading of new kernels without re-booting, then please tell us what you're doing.

Which one of these are you?

EDIT: I was debating asking whether you should post the output of the uptime command as well, to help convince me whether your machine has been up since you last booted up 3.18.1. I'll leave that to your judgement.

Last edited by clfarron4 (2015-02-09 16:49:10)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#8 2015-02-09 17:16:13

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Cant update kernel (strange)

kopiersperre wrote:

I just use pacman. After updating the files in /boot have a newer date than before.

It's an EFI notebook, but I've used the most non-EFI mode at installation.

I think you are wrong, and are in fact using EFI mode. I come to this conclusion because you have posted output from efibootmgr. Efibootmgr only displays the list if you are booted in EFI mode.
It is very likely that you have not copied the new kernel files to the EFI system partition.

Offline

#9 2015-02-09 19:31:35

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Re: Cant update kernel (strange)

You're right, I have EFI. (2) applies to me.

With GParted I could figure out my problem. EFISYS partition is not mounted.

sudo mount /dev/sda2 /boot

fails:

dmesg:

[ 7790.789237] FAT-fs (sda2): codepage cp437 not found

fstab:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# DEVICE DETAILS: /dev/sdb2 PARTUUID=b571d41d-9b36-417c-b6cc-be60af2a408f PARTLABEL=UEFI_SYSTEM UUID=B278-EDBC LABEL=EFISYS
# DEVICE DETAILS: /dev/sdb3 PARTUUID=9274e187-b405-4b1c-b715-d43a930723ff PARTLABEL=ARCHLINUX_SWAP UUID= LABEL=SWAP_ARCH
# DEVICE DETAILS: /dev/sdb4 PARTUUID=869ceadf-05c4-41a0-8a6c-93e058c0e733 PARTLABEL=ARCHLINUX_ROOT UUID=5998755b-3a9b-4ef6-a39b-276a815e52e2 LABEL=ROOT_ARCH
# DEVICE DETAILS: /dev/sdb5 PARTUUID=cd9ddc57-a6fa-4cf4-b5ce-eb21ad4bc1e0 PARTLABEL=ARCHLINUX_HOME UUID=05091b02-a66f-40a5-b027-1d86eeda4e34 LABEL=HOME_ARCH

uptime:

 20:20:59 up  4:13,  2 users,  load average: 0,16, 0,18, 0,27

Offline

#10 2015-02-09 19:52:03

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

Re: Cant update kernel (strange)

How did you install Arch?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2015-02-09 20:07:55

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Re: Cant update kernel (strange)

with archboot

Offline

#12 2015-02-09 20:16:31

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

Re: Cant update kernel (strange)

So, you aren't sure whether or not you are booting MBR or EFI? Your boot/ESP is on sda2 but that isn't in your /etc/fstab and the entries that are in there, including an EFISYS partition, are all commented out?

It is a miracle you can boot at all...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2015-02-09 20:17:42

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Cant update kernel (strange)

kopiersperre wrote:

You're right, I have EFI. (2) applies to me.

With GParted I could figure out my problem. EFISYS partition is not mounted.

sudo mount /dev/sda2 /boot

fails:

dmesg:

[ 7790.789237] FAT-fs (sda2): codepage cp437 not found

The error about the codepage is not the source of the problem, but a symptom of it. The kernel needs a module to access FAT file systems. Loading the module is not possible because the modules found on your system are not compatible with the kernel you are booted into.
Use the archboot usb stick or any linux live cd to copy the new kernel onto the EFI partition. Then you can boot into the new kernel, and mount the FAT file system, which allows you to fix all of your problems from within arch.

Offline

#14 2015-02-10 11:52:15

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Re: Cant update kernel (strange)

Ok, downgrading linux-headers with Arch Rollback Machine, mounting /dev/sda2 to /boot and then updating the kernel fixed my problem.

Thanks for advices. SOLVED.

Offline

#15 2015-02-10 16:09:03

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Cant update kernel (strange)

Are you sure that you have made the necessary configuration so that this will not happen again after the next kernel update?

Offline

#16 2015-02-11 09:45:33

kopiersperre
Member
Registered: 2011-03-22
Posts: 48

Re: Cant update kernel (strange)

No. But I know EFISTUB/ArchWiki.

Offline

Board footer

Powered by FluxBB