[SOLVED] How to view the *exact* name of the currently running kernel?

Perhaps this question will seem dumb, but here goes : I have two kernels installed :
[ruben@arch ~]$ yaourt -Q linux
core/linux 3.2.9-1 (base)
[ruben@arch ~]$ yaourt -Q linux-ck-kx
repo-ck/linux-ck-kx 3.2.11-1 (ck-kx)
Grub’s menu.lst is configured to boot linux-ck-kx :
# general configuration:
timeout 5
default 2
color light-blue/black light-cyan/blue
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/archroot ro
initrd /boot/kernel26.img
# (1) Arch Linux Fallback
title Arch Linux Fallback
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/archroot ro
initrd /boot/kernel26-fallback.img
# (2) Arch Linux CK-KX
title Arch Linux CK-KX
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck.img
# (3) Arch Linux CK-KX Fallback
title Arch Linux CK-KX Fallback
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck-fallback.img
And yet, I see no mention of *-ck-kx when issuing this comand :
[ruben@arch ~]$ uname -a
Linux arch 3.2.9-1-ARCH #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
It does not matter whether I change the default kernel line in /boot/grub/menu.lst : I can set it to “ 0 ” or “ 2 ” and reboot, and the output of “ uname -a ” will always be exactly the same as above ; no mention of *ck-kx even though I know it is running.
I searched the web on how to view the name of the running kernel, all results I found said to use uname, so is there another command I am missing here ? Or is it normal that both my kernels yield the same uname output ?
Just curious, because I was playing around with kexec, and when doing “ fake ” reboots, I was alternating between the normal ARCH-kernel and the ck-kx*kernel, and I wanted to be sure that it actually worked, so I checked everytime with uname, and since I saw no difference in the outputs, I assumed kexec wasn’t working like it should, so I did a “ real ” reboot, but same uname outputs… So I must be missing something…
Here are the kexec commands I used, just to be sure I am doing this properly :
[ruben@arch ~]$ sudo kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initramfs-linux-ck.img /boot/vmlinuz-linux-ck
[ruben@arch ~]$ sudo init 6
and :
[ruben@arch ~]$ sudo kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initramfs-linux.img /boot/vmlinuz-linux
[ruben@arch ~]$ sudo init 6
Thoughts ?
Last edited by Montague (2012-03-15 22:00:02)

litemotiv wrote:
Hmm worksforme:
$ uname -r
3.2.11-1-ck
One question for you litemotiv : do you have two kernels currently installed on your system, like I do, or did you uninstall the ARCH-kernel ? I ask because I might try this :
$ sudo pacman -Rns linux
and reboot, and see what happens…
But before I do that, might as well try to debug it ;
t1nk3r3r wrote:I would point the finger at GRUB, or something occuring near boot-time.
https://wiki.archlinux.org/index.php/Boot_Debugging
So I tried the “ Heavy Debug ” option, rebooted, then issued “ dmesg > dmesg.txt ” ; here are the first few lines of that file :
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.9-1-ARCH (tobias@T-POWA-LX) (gcc version 4.6.2 20120120 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012
[ 0.000000] Command line: root=/dev/disk/by-label/archroot ro
and the complete dmesg output is here. I am no expert at reading debuggin output, but from the above, it seems like the default ARCH-kernel is being booted, even though my menu.lst hasn’t changed from my previous post (exept for the debugging options) :
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# (0) Arch Linux CK-KX
title Arch Linux CK-KX
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro rootdelay=5 panic=10 debug ignore_loglevel
initrd /boot/initramfs-linux-ck.img
# (1) Arch Linux CK-KX Fallback
title Arch Linux CK-KX Fallback
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck-fallback.img
I want the ck-kernel to boot, what it going on here ? Any more thoughts ?

Similar Messages

  • What is the exact name of the cable I need to connect my old hard drive from my macbook pro (it has been taken out of the computer) to my new macbook pro?  I need to transfer files from the old hard drive to the new computer.

    What is the exact name of the cable I need to connect my old hard drive from my macbook pro, which has been removed from the computer, to my new macbook pro?  I need to transfere files from the old hard drive to the new computer.

    No eSATA to USB. Just a SATA/IDE to USB adapter. Google SATA/IDE to USB adapter and you will get tons of links to buy them. Most likely your local computer electronics store has them, although they might be more expensive buying locally than online.
    I have several. You can get either USB 2, which what I recommend, or USB 3. USB is backward compatible so a USB 3 adapter will work on a USB 2 port and a USB 2 adapter will work on a USB 3 port. Backward compatible in both directions.
    I suggest a USB 2 type because there have been some problems with certain USB 3 devices, the USB 3 interface used isn't all that good in those certain devices. USB 3 is still fairly new where as USB 2 has been around for over 10 years.
    synghem wrote:
    Thank you LowLuster,
    At the apple store they said I needed an esata to usb wire.  But looking at wires on line has been confusing.  Is sata the same as esata?  How do I know if I need a usb 3 or usb 2?

  • I started downloading my Upgrade to Photoshop Elements Version 13 and received my upgrade confirmation and cannot locate the download on my PC running Windows 7,what is the exact name of the download and where should I find it?

    I cannot locate the upgrade to Photoshop Elements 11 to Version 13, which I purchased today and started the download as per the Order Confirmation. My order No. is AD014117711. I am running Windows 7 on my PC and cannot locate the Download. How do I find it? What is the exact name of the Download?

    EdWeidman by default the download will be saved to your Download folder.  I do not know the exact name of the file which was provided to you.

  • In mini bridge, is it possible to view the file name and the rating at the same time?

    Hello,
    In mini bridge, is it possible to view the file name and the rating at the same time?
    Thank you.

    if you know when a new image arrives and you can retrieve that new image file name ...
    Well, that's precisely my doubt, how can I know the file name? Is there a property/method for it?
    function loadImages() {
    for (var i:int=0; i<imagesNames.length; i++) {
    var imgLoader:Loader=new Loader;
    imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
    imgLoader.load(new URLRequest(imgPath + imagesNames[i]));
    function imgLoaded(par:Event):void {
    trace(par.target,par.target.content,par.target.content.name);
    Output window:
    [object LoaderInfo] [object Bitmap] instance160
    [object LoaderInfo] [object Bitmap] instance159
    [object LoaderInfo] [object Bitmap] instance161    

  • How to check my job name from the database...

    I have written one job scheduler which is as follows :
    SQL> ED
    Wrote file afiedt.buf
    1 DECLARE
    2 X NUMBER;
    3 JobNumber NUMBER;
    4 BEGIN
    5 SYS.DBMS_JOB.SUBMIT
    6 (
    7 job => X
    8 ,what => 'scott.SPLITSMS;'
    9 ,next_date => SYSDATE+1/1440
    10 ,interval => 'SYSDATE+1/1440 '
    11 ,no_parse => FALSE
    12 );
    13 JobNumber := to_char(X);
    14* END;
    15 /
    PL/SQL procedure successfully completed.
    Now I want to check whether the job has been really created or not?
    so for that I have used the following command line:
    SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
    SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
    ERROR at line 1:
    ORA-00942: table or view does not exist
    how to check my job name from the database...
    what is the command used to check the job_name ????
    and how can i ensure that my job scheduler is running properly...???
    please help ........my dear friends.....!

    957029 wrote:
    Now I want to check whether the job has been really created or not?
    so for that I have used the following command line:
    SQL> SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS';
    SELECT JOB_NAME FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'SCOTT.SPLITSMS'
    ERROR at line 1:
    ORA-00942: table or view does not existYou can use DBA_* views only if the User has been Granted a DBA Privilege.
    how to check my job name from the database...
    what is the command used to check the job_name ????You can use USER_JOBS view to check. But, is it not that you have just created the Job, so you must be knowing it?
    and how can i ensure that my job scheduler is running properly...???If USER_JOBS.FAILURES is Non Zero, that means the Job has encountered a problem that needs to be Investigated. Similarly, the LAST_DATE, LAST_SEC, NEXT_DAY, NEXT_SEC can be used to determine if the Job has been running successfully.
    if you are on 11g, you should consider using DBMS_SCHEDULER.

  • How do I add my name to the camera data file in meta data?

    When reviewing the meta data on my photos I see the camera model number, serial number, focal length, etc.  The camera owner field is blank.  How do I add my name to the camera owner field?
    I'm using Photoshop CC, on a windows 8.1 Pro platform.  Any help would be greatly appreciated.
    Caitlin

    I did add all the info on the menu section you mentioned above.  Unfortunately it does not show up as "Owner" when you view the data file in Photoshop CC for some reason. Copyright info shows properly, but not camera owner.  It's not a big problem anyway, just a pride of ownership thingy .  I downloaded the GeoSetter program, and after reviewing the meta data contained there I don't see an option for "owner" there either.  Perhaps its something that Adobe plans to implement someday, who knows. Thanks for your suggestions everyone.
    This is my first DSLR, all I have shot in the past have been film cameras and we didn't have any of this fancy info available unless we wrote it down somewhere, smile.  I was still using my old Nikomat that I purchased in 1972 when I was stationed in Japan. I was a bit stubborn when it came to switching to DSLR sorry I waited so long now.
    Oh, Trevor, sorry to learn you may be using something other than Nikon, I didn't know there was another brand other than Nikon!
    Caitlin

  • How to check what is the full name of the installer is used?

    Hi,
    how to check what is the full name of the installer is used?
    Thanks,

    Very nice, but assuming you did deliberately fire the installer, don't you remember the command? Apart from that your question has (as usual) no version and no platform and no context. If you are still in the installer and using any variant of Unix you can very easily run 'ps' to see the exact command.
    You would have needed to provide platform and version information when submitting the SR. Can you explain why you have this forum guess at it?
    Sybrand Bakker
    Senior Oracle DBA

  • How can i receive the user name of the present operating system

    HI,all.
    how can i receive the user name of the present operating system from SAP.Have any funciton to use?Thankyou!

    use sy-uname system field.
    report ztest.
    write:sy-uname.
    thanks.
    reward if solved.

  • How to view long file names and sort files within folders/projects?

    Hello, like so many people here, I am a new mac user, but certainly not computer illiterate. I have been a professional photographer for 10 years and recently change to mac and have been slowly trying to adapt my work flow accordingly.
    However I have become increasingly frustrated with Aperture 3 and after reading posts here it looks like I am certainly not the only person. While in my case I am sure it is because of my inexperience with mac systems so any guidance or assistance is much appreciated.
    Hopefully my questions are simple. I have been importing my images and re-naming images as I do so. A very simple combination of date, custom name, and counter. However, when I look at the images once the import has completed, they are not in any logical order within the 'project'. I have tried to sort them by file name, orientation, file size, etc, both ascending and descending, but they will not list in the correct order. eg the file '2010-03-09 Lyon France 001', continually falls between '2010-03-09 Lyon France 022' and '....021'.
    This has also lead me to a further question. While my file names can generally be read when the image is a landscape format, on the portrait images the file name it too long for me to read the whole name, and I can not find anyway to read the file name, eg browser, split screen, viewer, or full screen.
    Im sorry for all the details, and I am sure it is just my lack of experience, so appreciate your help.
    PS. On a separate note, I notice on another thread from the frustrated user 'ultratechy' that he got a reply from Tony who stated 'Also after installing any application you should always run disk utility and repair permissions....' Now as I am completely new to mac, I had no idea about this. Any other tips that I should always be aware of? Thanks again.

    Thanks for your reply Calx. If it makes you feel better, I am actually a New South Welshman - just living in the sunshine state!
    You are correct, I am trying to get my head around a new way of working and thinking, but I suppose it will all become clearer as time goes by. I have re-visited the manual many times, and been doing loads of research online, but just trying to put it all into practice now, so any tips or advice is always appreciated.
    At the moment, I am just working with a small part of my library until I do get my head around things before moving onto the bulk of my images. I have my images stored and backed up on multiple external hard drives. I am trying to import my images into aperture from an external drive as I have been slack over the years with keywording, metadata, organising, etc etc, so I figure from what I have read that aperture may assist me with making these time consuming tasks a bit quicker and easier.
    I have put a bit of thought into my filing structure, but I am sure that with further use and understanding, this may change in the future, but I hope not. To give you an example of how I am thinking and working - I have used folders for my regular clients, eg, Ray White, and then made another level of folders within 'Ray White' for the date, and then in each 'date folder' I place my projects and name them with the address of the property I have photographed. I select and edit images from each project and place them in albums under each project. Not sure if this is the most perfect structure, but any advice is welcome.
    Keywords is always an issue with me. Over the years I have compiled a number of list for each client and each 'type' of photography. For example, real estate images have there own list, I just simply manually add keywords for specific jobs, eg the address and any specific location or features.
    Again, advice and guidance always welcome and I would appreciate how you go about these topics? And maybe you can help explain something that I have pre-emted may be a problem, and it may happen when I move onto my larger library, and I am not sure how to explain this as it may show my lack of management previously. When I worked on my PC, I used PS4, Adobe Bridge and Camera RAW pretty much exclusively. For my landscape images for example, I might have 2 or 3 variations of the one images, eg, black and white, sepia, and color for instance. But the file name remained the same, I just stored them in different folders indicating what version of the image was stored there. Now I am thinking that when I import images in Aperture, I will come across difficulties because Aperture will think the I am importing duplicate images because I will in fact have 3 images with the same file name, even though the adjustments I have made to them are different. Is this the case? Will I have to make adjustments again? Will I have to change the name of the files prior to importing? If so, any advice or tips?
    Well, I should stop there. Im sorry to bombard you with some much text, but as mentioned, I am new, and finding my feet, so thanks for your time.

  • I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have had some that seem to go in but I can't find them.  Where should I look?

    I have some loops from acid 5 which I have dragged in a folder to the loop browser.  Some of them retain the folder name in the View: and some don't.  I have also had some that seem to go in but I can't find them.  If I try to add them again, I get a msg that they are already there.  Where should I look?

    It may be best to recreate the folder and the smart playlists from scratch.
    tt2

  • How does one set the Network Name of the Printer

    Hi,
    I have two 7525's on my home network.  How do I change their names from the default serial number based name to something meaningful so IOS/Android users can easily tell which printer is which?

    Hi,
      Greetings of the day!
    There are many ways of achieving the above and the easiest way is mentioned on the link attached below :-
    http://windows.microsoft.com/en-in/windows/rename-printer#1TC=windows-7
    The above applies to other windows OS as well as win7.
    And to make it meaning ful, you would need to get creative  
    If you have any queries related to the same OR any other do reply.
    Regards,
    Mohammed

  • How to change the folder name in the web report.

    hi experts,
    can anybody give me the solution, how to change the folder name in the web report. any help is appreciated.
    waiting for ur favourable response.
    thanks
    suri

    Hi Tony,
    Yes, the business requires, only to change in the webreport only not in bex and roles. any suggestions will be helpful to me.
    thanks
    surendra

  • How can i get my name on the finder bar?

    How do i get my name on the top right corner next to the search bar? I have OS X Mountain Lion 10.8.5

    System Preferences > Users & Groups
    Click the lock to unlock it, if you have to.
    Click "Login Options".
    Enable " Show fast user switching menu as" and select "Full Name".
    Best.

  • How do I download the music from iTunes onto an old iPhone 3gs? I have reset the iPhone to factory settings and when I plug it in it wants to use the device name for my current iPhone 5 and I don't want to change anything on my old iPhone.

    How do I download the music from iTunes onto an old iPhone 3gs without affecting my iPhone 5? I have reset the iPhone to factory settings and when I plug it in it wants to use the device name for my current iPhone 5 and I don't want to change anything on my current iPhone. iTunes won't let me change the device name for the 3gs. I just want to use the old iPhone like an touch.

    Hi littlemansa,
    If I am understanding you correctly, it sounds like you are returning to an old iPhone that has been erased and you would like to set it up as a new device without restoring from a backup which would affect the name of your iPhone, as well as the contents therein. I have an article for you that can help you set up your iPhone as a new device, and that information can be found below:
    How to erase your iOS device and then set it up as a new device or restore it from backups - Apple Support
    http://support.apple.com/en-us/HT4137
    Basically, it seems like you may be stuck on a screen that is asking if you would like to restore your device from the backup that is filed under the name of your new iPhone, or if you would like to set up the device as a new device. I would suggest that you set it up as a new device to achieve your desired results. 
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • How to find out the printer name for the Idoc

    Hi guys
    I want to find out the printer name for the Idoc,,some default printer is attached for one idoc,then how can we see the printer name for this idoc.
    Regards
    Madhoo

    Hi,
    For ALE/IDOC the  medium will be either ALE or EDI but not printer.So it might be wrongly attached.As such there won't be any printer attached to idoc.
    Regards,
    Nagaraj

Maybe you are looking for

  • Purchasing Flash Builder Burrito

    Hi, Sorry if this is the wrong forum, but not sure where to ask. Was just wondering if Flash Builder Burrito will be released as an update for Flash Builder or if it will be a new version to purchase. I plan on purchasing Flash Builder, but wasn't su

  • I photo freezes under 'cannot find file'

    When I open iphoto it works fine for a few seconds but then it freezes and says 'cannot find file .........' I then have to force quit because it says it's 'not responding' I don't know why the files have gone from iphoto because I can still find the

  • St22 Dump in Mail

    Dear All, I want to configure the St22 dump in mail , With criteria if Mail is more than 150 in a day it should send a mail.Please Let me know the steps need to be done. RK

  • ASObjC panel not responding

    Hey everyone, I have a problem with a panel not responding. My program will loop through a list, and download the according xml data from a database. If only one item exists, it works no problem and downloads everything perfectly, but i have a proble

  • ME2O issue

    Hi All, For one of the subcontracting PO system is not showing the material or componenet for that vendor in ME2O. What might be the problem