You are not logged in.

#1 2014-11-17 17:15:40

ratcheer
Member
Registered: 2011-10-09
Posts: 558

[Solved] Cannot boot after kernel upgrade

Everything was fine on the 3.17.2 kernel. This morning's -Syu brought in kernel 3.17.3 along with package upgrades for dhcpcd and pacman-mirrorlist. I tried rebooting twice, both times with the same failure. I had to copy the console messages by hand, because the failure leaves me at an emergency prompt.

BTRFS: open_ctree failed
mount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error

In some cases useful info is found in syslog - try dmesg|tail or so.

You are now being dropped into an emergency shell.

Everything I can see from the dmesg|tail command are releted to USB devices, not /dev/sdb2. I tried to do dmesg|less, but less is apparently not available.

I will also try to research the problem through the btrfs resources.

Tim

Last edited by ratcheer (2014-11-17 19:19:03)

Offline

#2 2014-11-17 17:28:14

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 6,506
Website

Re: [Solved] Cannot boot after kernel upgrade

Is this a btrfs RAID root?

From the prompt, try running the following:

modprobe btrfs
udevadm trigger

Then try to mount your root partition (remember to use '-o subvol=blahblahblah' if necessary. Then exit the emergency shell. If it works, add btrfs to your mkinitcpio.conf's MODULES array and rebuild your initramfs.

There should be a bug report about this somewhere.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Online

#3 2014-11-17 18:14:37

ratcheer
Member
Registered: 2011-10-09
Posts: 558

Re: [Solved] Cannot boot after kernel upgrade

Yes, it is / on btrfs RAID, but on a partition, not a subvol. Thanks for the suggestions. Trying...

Tim

Offline

#4 2014-11-17 18:28:46

ratcheer
Member
Registered: 2011-10-09
Posts: 558

Re: [Solved] Cannot boot after kernel upgrade

@WorMzy - Those commands succeeded, but I don't know what to do next to proceed from the emergency shell to a working system. I am still left at the BusyBox prompt.

Thanks.

Offline

#5 2014-11-17 18:52:26

gehidore
IRC Op
From: Near the pine trees
Registered: 2012-11-09
Posts: 34

Re: [Solved] Cannot boot after kernel upgrade

ratcheer wrote:

@WorMzy - Those commands succeeded, but I don't know what to do next to proceed from the emergency shell to a working system. I am still left at the BusyBox prompt.

Thanks.

Get back on the IRC...


Windows get broken, penguins rarely get sucked into jet engines.

Offline

#6 2014-11-17 19:21:58

ratcheer
Member
Registered: 2011-10-09
Posts: 558

Re: [Solved] Cannot boot after kernel upgrade

Resolution:

1) Boot to Debian
2) chroot to Arch
3) Edit /etc/mkinitcpio.conf, adding btrfs to the MODULES list
4) mkinitcpio -p linux
5) Reboot to Arch

Ref: https://bbs.archlinux.org/viewtopic.php?id=189845

Tim

Offline

#7 2014-11-17 19:58:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 6,506
Website

Re: [Solved] Cannot boot after kernel upgrade

ratcheer wrote:

@WorMzy - Those commands succeeded, but I don't know what to do next to proceed from the emergency shell to a working system. I am still left at the BusyBox prompt.

Thanks.

I should have clarified here, you should mount your root partition to new_root, then exit the busybox shell (by typing exit, or pressing Ctrl+D). All things being well, the boot process will continue where it left off and you'll end up in your Arch install as though nothing had happened.

Then you can make the changes you need to mkinitcpio.conf and regenerate your initramfs without needing a liveCD.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Online

#8 2014-11-18 17:54:47

Lurkos
Member
Registered: 2014-02-12
Posts: 2

Re: [Solved] Cannot boot after kernel upgrade

Works also here.
I've wasted 1 complete day of work trying to fix this issue, because the error shown suggests a problem with the file system! :-/
The error shown, in fact, points to problems regarding the c_tree stuff, and not to the more simple unavailability of the proper kernel module.
How can we inform the maintainers of the website that a news about this issue should be written to prevent others to experience this?

Offline

#9 2014-11-19 13:55:11

rpodgorny
Member
Registered: 2014-11-19
Posts: 7

Re: [Solved] Cannot boot after kernel upgrade

me too. a day worth of work finally brought me here. please make an official announcement. thank you...

Offline

#10 2014-11-22 12:47:03

Spider.007
Member
Registered: 2004-06-20
Posts: 1,156

Re: [Solved] Cannot boot after kernel upgrade

Yeah; same for me; took me a few hours :X I'm not sure what causes this though? Is it a bug in the initcpio or the kernel?

Offline

#11 2014-11-22 13:28:29

davidm
Member
Registered: 2009-04-25
Posts: 339

Re: [Solved] Cannot boot after kernel upgrade

Lurkos wrote:

Works also here.
I've wasted 1 complete day of work trying to fix this issue, because the error shown suggests a problem with the file system! :-/
The error shown, in fact, points to problems regarding the c_tree stuff, and not to the more simple unavailability of the proper kernel module.
How can we inform the maintainers of the website that a news about this issue should be written to prevent others to experience this?

I'm not sure why they decided not to make an announcement.  I had the same sort of worry.  I also wonder how many people ended up trashing their btrfs filesystem trying to "fix" it with various attempts at filesystem repair.  I'll see maybe about editing the btrfs wiki entry and making a note in the Troubleshooting section at least.

Offline

#12 2014-11-23 15:15:08

rpodgorny
Member
Registered: 2014-11-19
Posts: 7

Re: [Solved] Cannot boot after kernel upgrade

...so, i've created a bug report: https://bugs.archlinux.org/task/42884

Offline

Board footer

Powered by FluxBB