You are not logged in.

#1 2014-02-12 08:19:18

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

[solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

I'm currently using 3.12.6-1 and when I try to update to (3.12.7-1 , 3.12.9-1) or even fall back to (3.12.5-1), the screen hangs before the starting of the login manager and the screen starts blinking.
And when I go to tty2 it tells me in the top of the screen that I'm using 3.12.6-1 (that's after the update !).

Any explaination ?
Thank you!

Last edited by Walid_wah (2014-02-13 07:58:51)

Offline

#2 2014-02-12 08:24:28

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

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Mount your /boot and -Syyu...


Not a Kernel or Hardware issue, moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-02-12 08:44:13

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

It's already mounted, and I did the update using pacman -Syyu but it didn't work!

Offline

#4 2014-02-12 08:56:51

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

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Paste the output of these commands:

  • mount

  • pacman -Q linux

  • uname -r

  • pacman -Syyu


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-02-12 09:16:07

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

mount :

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=4027188k,nr_inodes=1006797,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/mapper/vg_arch-lv_root on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/mapper/vg_arch-lv_home on /home type ext4 (rw,relatime,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1001/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1001,group_id=1001)

------------------------------------------------------------------------------------------------------------------------------------------------
pacman -Q linux

linux 3.12.6-1

------------------------------------------------------------------------------------------------------------------------------------------------
uname -r

3.12.6-1-ARCH

------------------------------------------------------------------------------------------------------------------------------------------------
pacman -Syyu

Packages (1): linux-3.12.9-2

Total Installed Size:   66.31 MiB
Net Upgrade Size:       -2.60 MiB

:: Proceed with installation? [Y/n]

---------------------------------------
That was before the update, now after pressing Y and updating, the result :

mount :

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=4027188k,nr_inodes=1006797,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/mapper/vg_arch-lv_root on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/mapper/vg_arch-lv_home on /home type ext4 (rw,relatime,data=ordered) 

---------------------------------------
pacman -Q linux

linux 3.12.9-2

---------------------------------------
uname -r

3.12.6-1-ARCH

---------------------------------------
pacman -Syyu

:: Starting full system upgrade...
 there is nothing to do

Last edited by Walid_wah (2014-02-12 09:25:37)

Offline

#6 2014-02-12 09:23:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

You didn't post the pacman -Syyu output.

Offline

#7 2014-02-12 09:27:36

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

I did but sorry I forgot to write  "pacman -Syyu" before the last code block

Offline

#8 2014-02-12 09:32:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

No... you posted the output before the "Proceed with installation?" question. That's of no use at all.

Post the output of 'pacman -S linux' please - the entire output.

Offline

#9 2014-02-12 09:41:51

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Ah sorry, here's the output :

Packages (1): linux-3.12.9-2

Total Installed Size:   66.31 MiB
Net Upgrade Size:       -2.60 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                            [###############################################################] 100%
(1/1) checking package integrity                                                                          [###############################################################] 100%
(1/1) loading package files                                                                               [###############################################################] 100%
(1/1) checking for file conflicts                                                                         [###############################################################] 100%
(1/1) checking available disk space                                                                       [###############################################################] 100%
(1/1) upgrading linux                                                                                     [###############################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.12.9-2-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.12.9-2-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

Offline

#10 2014-02-12 09:45:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Let's assume /boot was mounted when you did that. Now go ahead and reboot.

Offline

#11 2014-02-12 09:50:02

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

same problem screen blinking and tty2 telling me that im using 3.12.6-1 and the result of:

pacman -Q linux => linux 3.12.9-2
uname -r            => 3.12.6-1-ARCH

Offline

#12 2014-02-12 10:43:27

Neburski
Member
Registered: 2009-09-15
Posts: 118

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Did you reboot? The new kernel will only be in effect once you have rebooted.

Offline

#13 2014-02-12 11:05:24

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Yes I did and more than one time.

Offline

#14 2014-02-12 12:33:19

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

You could chroot into your system from the live CD, remove the package cache then pacman -Syyu. Or you could manually attempt to rebuild the kernel initramfs again using mkinitcpio.

Edit :: correction pointed out by tomk

Last edited by Kartious (2014-02-12 13:14:38)

Offline

#15 2014-02-12 12:56:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Ehmm... mkinitcpio builds the initramfs image, not the kernel.

Offline

#16 2014-02-12 13:10:48

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

tomk wrote:

Ehmm... mkinitcpio builds the initramfs image, not the kernel.

Yes very true, I may of phased my post wrong. But the initramfs loads the kernel modules and has to be rebuilt when ever the kernel gets installed or upgraded?

Offline

#17 2014-02-12 13:32:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

After the upgrade and/or when `pacman -Q linux` indicates 3.12.9 is installed, what is the output of `pacman -Ql linux`?

This is a longshot, but the only possibly explanation that is coming to my mind is that you received an empty/broken package, so pacman reports having installed the new package but it didn't really include the new kernel.

EDIT: actually a much more likely issue which I am not suitably versed to help with would be a /boot/ directory masking.  You are using both an LVM (right?) and a separate boot partition.  Depending on the order in which these are mounted, and which one the boot manager points to, you could potentially boot to a kernel on the LVM boot folder, then mount the other partition as /boot masking the old kernel - updates would then go into the separate partition which would not be available on the next boot.  *However*, I have no experience with LVMs or any of that stuff - so this is just speculative brainstorming.

Last edited by Trilby (2014-02-12 13:35:12)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#18 2014-02-12 13:34:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

What's the output of 'file /boot/vmlinuz-linux'?

Offline

#19 2014-02-12 16:55:37

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

file /boot/vmlinuz-linux

/boot/vmlinuz-linux: Linux kernel x86 boot executable bzImage, version 3.12.9-2-ARCH (nobody@var-lib-archbuild-extra-x86_64-thomas) #1, RO-rootFS, swap_dev 0x3, Normal VGA

Offline

#20 2014-02-12 17:06:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Check your bootloader then, see what image is it loading.

Offline

#21 2014-02-12 17:11:56

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

So maybe grub is loading the old one? And in this case, what I need is just rebuild grub configuration right?

Offline

#22 2014-02-12 17:22:51

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

I tried but didn't work

grub-mkconfig -o /boot/grub/grub.cfg

Offline

#23 2014-02-12 17:27:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

Read Trilby's post: https://bbs.archlinux.org/viewtopic.php … 8#p1380788 , maybe it's LVM-related.

Offline

#24 2014-02-12 17:40:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

You can check whether my suspicion is worth pursuing by *unmounting* the sda1 boot partition, then `ls /boot/*` and `file /boot/vmlinuz-linux` if there is anything there.

Last edited by Trilby (2014-02-12 17:40:36)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#25 2014-02-12 17:43:55

Walid_wah
Member
Registered: 2014-02-11
Posts: 17

Re: [solved] Kernel 3.12.6-1 Doesn't want to leave my machine!

I did what @Kartious said, boot from live cd, and pacman -Syu and it has been solved! I don't know what happened, but it works as a magic!

Thank you all guys! Brilliant Arch community!

Offline

Board footer

Powered by FluxBB