[arch-general] kernel 3.7.2 - fails to boot - please help
Using testing repos - was fully updated and all working fine. Then picked up the latest 3.7.2-1 kernel along with kdebase 4.9.5-2/ Rebooting after this latest update fails - it cannot find the root device and drops to "recovery shell". ls /dev/sdb1 (the usual root device) is def missing at that point. The recovery option does not boot either. What I tried: I booted 2013.01.04 arch install media - did a chroot as per the wiki - and attempted to roll back the kernel using pacman on the 3.7.1 package I get several errors: warning could not get filesystem information for things like: /run/archiso/bootmnt /sys/fs/cgroup/systemd /run is empty - and /sys/fs/cgroup is empty As per the chroot wiki /sys is mounted from the install via mount -t sysfs sys sys/ pacman continues beyond these warnings but fails with: ==> building image from preset: 'default' -> -k /boot/vmlinux-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img ERROR: invalid kernel specified: '/boot/vmlinux-linux' same error from ;fallback'. I am hoping I can install 3.7.1 kernel and boot again - instead of a new install. If anyone can offer some guidance I'd be appreciative ... thank you gene
On 01/12/2013 10:38 PM, Genes Lists wrote: Followup to my own post - (1) in spite of errors, 3.7.1 kernel seems to have been installed and the laptop once again boots. (2) I still don't understand the errors from mkinitcpio that happened when installing linux in the chroot - is there something I should do to 'clean' up in some way? (3) Looks to me like something is not good with 3.7.2 kernel .. gene
On Sat, Jan 12, 2013 at 10:47:09PM -0500, Genes Lists wrote:
On 01/12/2013 10:38 PM, Genes Lists wrote:
Followup to my own post -
(1) in spite of errors, 3.7.1 kernel seems to have been installed and the laptop once again boots.
(2) I still don't understand the errors from mkinitcpio that happened when installing linux in the chroot - is there something I should do to 'clean' up in some way?
(3) Looks to me like something is not good with 3.7.2 kernel ..
gene
There's nothing wrong with the kernel. You've probably been ignoring the warnings from pacman about file being newer than what's in the repos. file-5.12 was removed from [testing] because it was misidentifying kernel images, which broke mkinitcpio. https://bugs.archlinux.org/task/33373 This is fixed for good in mkinitcpio, as the next version won't rely on file at all.
On 01/12/2013 10:50 PM, Dave Reisner wrote:
There's nothing wrong with the kernel. You've probably been ignoring the warnings from pacman about file being newer than what's in the repos. file-5.12 was removed from [testing] because it was misidentifying kernel images, which broke mkinitcpio.
https://bugs.archlinux.org/task/33373
This is fixed for good in mkinitcpio, as the next version won't rely on file at all.
file-5.12: spot on - and sorry - downgraded to 5.11 linux-3.7.2: Does this explain why 3.7.2 doesn't boot and 3.7.1 does? O Or is something still amiss with 3.7.2 kernel? Thanks ... gene
On Sat, Jan 12, 2013 at 10:58:01PM -0500, Genes Lists wrote:
On 01/12/2013 10:50 PM, Dave Reisner wrote:
There's nothing wrong with the kernel. You've probably been ignoring the warnings from pacman about file being newer than what's in the repos. file-5.12 was removed from [testing] because it was misidentifying kernel images, which broke mkinitcpio.
https://bugs.archlinux.org/task/33373
This is fixed for good in mkinitcpio, as the next version won't rely on file at all.
file-5.12: spot on - and sorry - downgraded to 5.11
linux-3.7.2: Does this explain why 3.7.2 doesn't boot and 3.7.1 does? O Or is something still amiss with 3.7.2 kernel?
Thanks ...
gene
mkinitcpio didn't generate a valid initramfs for the kernel... you can't boot an ARCH kernel without an initramfs. Nothing is wrong with 3.7.2.
On 01/12/2013 11:09 PM, Dave Reisner wrote:
mkinitcpio didn't generate a valid initramfs for the kernel... you can't boot an ARCH kernel without an initramfs. Nothing is wrong with 3.7.2.
Was hoping you'd say that :-) Tho now am a tiny bit puzzled that the initramfs created when I installed 3.7.1 actually booted ... I will re-install 3.7.2 and try again! thank you for your help. gene
On 01/12/2013 11:19 PM, Genes Lists wrote: ...
I will re-install 3.7.2 and try again!
Confirmed - 3.7.2 is booting and happily running .. Changed subject line for clarity thanks again for your help ... and sorry I missed the file-5.11 downgrade ...
On Sat, Jan 12, 2013 at 11:19:17PM -0500, Genes Lists wrote:
On 01/12/2013 11:09 PM, Dave Reisner wrote:
mkinitcpio didn't generate a valid initramfs for the kernel... you can't boot an ARCH kernel without an initramfs. Nothing is wrong with 3.7.2.
Was hoping you'd say that :-) Tho now am a tiny bit puzzled that the initramfs created when I installed 3.7.1 actually booted ...
I will re-install 3.7.2 and try again!
thank you for your help.
gene
Because mkinitcpio never created anything on upgrade or downgrade. The initramfs image in /boot remained consistent with your 3.7.1 kernel.
On 01/12/2013 11:28 PM, Dave Reisner wrote: ...
Because mkinitcpio never created anything on upgrade or downgrade. The initramfs image in /boot remained consistent with your 3.7.1 kernel.
Duh, that makes perfect sense ...
participants (2)
-
Dave Reisner
-
Genes Lists