You are not logged in.

#1 2013-12-03 08:23:27

grzechoo
Member
From: Poland
Registered: 2013-12-02
Posts: 8

[SOLVED] Upgrading kernel mess with the system

Hi All,

I have recently installed Arch x86_64 on my new laptop. Everything works fine, except when I upgrade the kernel.
Running "pacman -S linux" seems to be fine, it executes mkinitcpio and create new kernel images. The system boots, but it behave very strangely. Xorg starts fine, but keyboard and touchpad doesn't work. In KDE on system tray some icons (like kmixer) have a question mark instead of correct one. There's also no WiFi available. Attached USB mouse doesn't work.
If I disable KDM and boot to console then keyboard works, but still I can't use USB devices. The usbcore module is loaded, but USB devices don't work, eg. pendrive is detected as high-speed device, but it is not recognized as removable drive.

I have same issue on two different laptops I have installed Arch on recently (1st laptop is Compaq 6510b, Arch x86_64, kernel 3.11.6; 2nd laptop is Compaq M2015, Arch x86, kernel 3.12).
Both laptops were installed from same medium - a CD I have burned from .iso image. Both laptops installed according to Arch wiki.
For a moment I have blacklisted kernel package, but I would like to upgrade it.

Help, please smile

Last edited by grzechoo (2013-12-03 14:57:49)

Offline

#2 2013-12-03 08:36:11

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

Re: [SOLVED] Upgrading kernel mess with the system

Run pacman -Syu.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-12-03 09:00:49

grzechoo
Member
From: Poland
Registered: 2013-12-02
Posts: 8

Re: [SOLVED] Upgrading kernel mess with the system

Jason, pacman -Syu was the first thing I did.

Offline

#4 2013-12-03 09:44:08

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

Re: [SOLVED] Upgrading kernel mess with the system

The look through X's logs, dmesg and the journal to try and pinpoint what is causing the issue.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-12-03 13:08:43

grzechoo
Member
From: Poland
Registered: 2013-12-02
Posts: 8

Re: [SOLVED] Upgrading kernel mess with the system

This must be the reason:

dmesg

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.11.6-1-ARCH (nobody@var-lib-archbuild-extra-x86_64-thomas) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=58fae76e-dfbd-41d8-8887-55ef0995d67c rw quiet

pacman -Ss linux kernel and modules

core/linux 3.12.2-1 (base) [installed]
    The Linux kernel and modules
core/linux-headers 3.12.2-1 [installed]
    Header files and scripts for building modules for Linux kernel

Yes, I have a separate boot partition, but it is mounted.

Last edited by grzechoo (2013-12-03 13:17:08)

Offline

#6 2013-12-03 13:33:34

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: [SOLVED] Upgrading kernel mess with the system

grzechoo wrote:

This must be the reason:

dmesg

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.11.6-1-ARCH (nobody@var-lib-archbuild-extra-x86_64-thomas) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=58fae76e-dfbd-41d8-8887-55ef0995d67c rw quiet

pacman -Ss linux kernel and modules

core/linux 3.12.2-1 (base) [installed]
    The Linux kernel and modules
core/linux-headers 3.12.2-1 [installed]
    Header files and scripts for building modules for Linux kernel

Yes, I have a separate boot partition, but it is mounted.

Then this looks wrong:

BOOT_IMAGE=/boot/vmlinuz-linux

If /boot is a separate partition, the kernel from the bootloader's point of view is in /, not /boot

└» mount|grep /boot
/dev/md0 on /boot type ext2 (rw,relatime)
└» dmesg|grep "Command line: BOOT_IMAGE"
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a6336994-8c19-42f1-8e52-bbb0a7fdec27 ro rootflags=subvol=arch-root

So, your bootloader config is faulty.

Last edited by teekay (2013-12-03 13:39:22)

Offline

#7 2013-12-03 14:56:01

grzechoo
Member
From: Poland
Registered: 2013-12-02
Posts: 8

Re: [SOLVED] Upgrading kernel mess with the system

Teekay, you're right.
My grub.cfg was messed up, I don't know why. Most probably I did something wrong during installation.

Removing unnecessary boot folder from root partition and running grub-mkconfig & grub-install solved a problem.
Case closed.

Offline

Board footer

Powered by FluxBB