You are not logged in.

#1 2015-04-30 10:04:25

Lezkus
Member
Registered: 2015-02-23
Posts: 15

[SOLVED] Arch won't boot after kernel upgrade to 4.0.1-1

Hi everyone!

After I upgraded linux kernel to version 4.0.1-1 from 3.6.X and now arch just won't run.

The error that throws is the following:

ehci-pci 0000:00:1a.0: can't setup: -19

After that it shows other info, and at the end it says:

sh: can't access tty

After this, it tries to open a recovery terminal, but the keyboard doesn't even work.

What should I do now?

Last edited by Lezkus (2015-05-05 20:28:57)

Offline

#2 2015-04-30 14:07:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Arch won't boot after kernel upgrade to 4.0.1-1

Working from limited information, I am guessing the kernel on your boot partition did not update properly because your boot partition was not mounted when you did the update.

Boot from your install media.
Set up a chroot environment.  Ensure you mount your boot partition on /mnt/boot.
Enter the chroot environment.
Reinstall the linux package.
Fix your /etc/fstab so that the boot partition is mounted on /boot at start up so this won't happen again.
Edit:
Exit the chroot environment
Dismount your partitions
Reboot

Last edited by ewaller (2015-04-30 14:08:16)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-04-30 19:29:29

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

Re: [SOLVED] Arch won't boot after kernel upgrade to 4.0.1-1

Lezkus wrote:

After I upgraded linux kernel to version 4.0.1-1 from 3.6.X and now arch just won't run.

Is this a typo?

Kernel 3.6 was a long time ago.

When did you last update your system?


Jin, Jîyan, Azadî

Offline

#4 2015-05-03 18:25:54

Lezkus
Member
Registered: 2015-02-23
Posts: 15

Re: [SOLVED] Arch won't boot after kernel upgrade to 4.0.1-1

ewaller wrote:

Working from limited information, I am guessing the kernel on your boot partition did not update properly because your boot partition was not mounted when you did the update.

Boot from your install media.
Set up a chroot environment.  Ensure you mount your boot partition on /mnt/boot.
Enter the chroot environment.
Reinstall the linux package.
Fix your /etc/fstab so that the boot partition is mounted on /boot at start up so this won't happen again.
Edit:
Exit the chroot environment
Dismount your partitions
Reboot

I do not have a special partition for /boot, I only have the / partition.

Interestingly enough, I can log in arch via the fallback kernel image.  I don't know if this might throw some light on the problem.

My current fstab file:

#
# /etc/fstab: static file system information
#
# <file system>                                <dir>    <type>        <options>                    <dump>    <pass>
# /dev/sda3
UUID=839cc559-9ba7-4446-b806-ee546b41f08c    /             ext4          rw,relatime,data=ordered            0 1
# /dev/sdb1
UUID=A67E840B7E83D28B                        /media         ntfs-3g        auto,exec,rw,uid=1000,gid=100,dmask=022,fmask=033    0 0

Edit. Yes, I mistook when I said I upgraded from 3.6.X. I usually upgrade once a week or so, so I did have the lastest linux version previous to 4.0.X

Last edited by Lezkus (2015-05-03 18:37:15)

Offline

#5 2015-05-05 20:28:20

Lezkus
Member
Registered: 2015-02-23
Posts: 15

Re: [SOLVED] Arch won't boot after kernel upgrade to 4.0.1-1

It seems that the problem was related to the arguments passed to the kernel.

Changing
    APPEND root=/dev/sda3 rw pci=noacpi net.ifnames=0
to
    APPEND root=/dev/sda3 rw net.ifnames=0
did the work.

For some reason I needed that argument when I installed arch, otherwise the graphic card didn't work at all, but now it seemed to be the cause of the problem.

Offline

Board footer

Powered by FluxBB