<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to tell which file is the kernel that is running in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992566#M124705</link>
    <description>Caesar,&lt;BR /&gt;&lt;BR /&gt;the kernel file name isn't reported within dmesg on my system.</description>
    <pubDate>Mon, 09 Jun 2003 18:52:33 GMT</pubDate>
    <dc:creator>curt larson_1</dc:creator>
    <dc:date>2003-06-09T18:52:33Z</dc:date>
    <item>
      <title>how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992553#M124692</link>
      <description>how can I find out what is the file name of the current running kernel, ie vmunix or vmunix.prev or ??</description>
      <pubDate>Mon, 09 Jun 2003 16:55:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992553#M124692</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-09T16:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992554#M124693</link>
      <description>the default is vmunix</description>
      <pubDate>Mon, 09 Jun 2003 16:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992554#M124693</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-09T16:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992555#M124694</link>
      <description>the default is vmunix</description>
      <pubDate>Mon, 09 Jun 2003 16:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992555#M124694</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-09T16:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992556#M124695</link>
      <description>Hi curt,&lt;BR /&gt;&lt;BR /&gt;Not 100% positive, but I believe if you look at the VERY top of the current /var/adm/syslog/syslog.log file, all the device discovery entries should be prefaced by date, time, hostname &amp;amp; then *kernel* name.&lt;BR /&gt;It's been forever since I booted an alternate kernel. But a quick test on a sandbox system ought to prove/disprove it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 09 Jun 2003 17:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992556#M124695</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-06-09T17:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992557#M124696</link>
      <description>yes i know the default is vmunix and the default backup kernel is vmunix.prev and the kernel has to be in the first file system of the boot disk and lifcp rDiskDevFile:AUTO - will give me the autoboot string.&lt;BR /&gt;&lt;BR /&gt;But if you weren't there when the system booted, how do you know what the file name is for the kernel that is currently running?</description>
      <pubDate>Mon, 09 Jun 2003 17:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992557#M124696</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-09T17:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992558#M124697</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;I'm using a workstation on 11.0 and it is booted from the default kernel (/stand/vmunix).  But, syslog doesn't contain anything about the file name of the kernel that is running.  unless nothing is written to the log file if the default file name is used for the kernel.</description>
      <pubDate>Mon, 09 Jun 2003 17:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992558#M124697</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-09T17:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992559#M124698</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm looking in syslog on one of our boxes and it looks like it wrote 'vmunix' when it started booting:&lt;BR /&gt;&lt;BR /&gt;Jun  4 20:13:47 dd01 syslogd: restart&lt;BR /&gt;Jun  4 20:13:47 dd01 vmunix: gate64: sysvec_vaddr = 0xc0002000 for 2 pages&lt;BR /&gt;Jun  4 20:13:47 dd01 vmunix: NOTICE: autofs_link(): File system was registered at index 3.&lt;BR /&gt;Jun  4 20:13:47 dd01 vmunix: NOTICE: cachefs_link(): File system was registered at index 5.&lt;BR /&gt;Jun  4 20:13:47 dd01 vmunix: NOTICE: nfs3_link(): File system was registered at index 6.&lt;BR /&gt;Jun  4 20:13:47 dd01 vmunix: 0 sba&lt;BR /&gt;Jun  4 20:13:47 dd01 vmunix: 0/0 lba&lt;BR /&gt;Jun  4 20:13:47 dd01 vmunix: 0/0/0/0 btlan&lt;BR /&gt;[etc.]&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jun 2003 17:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992559#M124698</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-06-09T17:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992560#M124699</link>
      <description>Hi (again) curt,&lt;BR /&gt;&lt;BR /&gt;Well it was worth a shot. I just tested that on a workstation by copying /stand/vmunix to /stand/vmunix.safe, rebooted interrupted the boot &amp;amp; entered @ the ISL&amp;gt; hpux /stand/vmunix.safe&lt;BR /&gt;Other than a message in syslog.log that I didn't have a DLKM.safe all the entries were STILL prefaced by vmunix:&lt;BR /&gt;&lt;BR /&gt;I'm sure there's a way, I'll keep digging. I suspect that something ought to be able to tell you.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 09 Jun 2003 17:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992560#M124699</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-06-09T17:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992561#M124700</link>
      <description>If you weren't there when the system was booted, and no one intereacted with the boot to force /stand/vmunix.prev, then the system booted with /stand/vmunix.</description>
      <pubDate>Mon, 09 Jun 2003 17:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992561#M124700</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-09T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992562#M124701</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;echo "boot_string/s" | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;/stand/vmunix should be in the output but if not, the kernel file, /stand/umunix does NOT match the core image, /dev/kmem so the command should be repeated replacing /stand/vmunix with another kernel file,usually /stand/vmunix.prev.&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jun 2003 18:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992562#M124701</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-06-09T18:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992563#M124702</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;vmunix in this situation, just means that the message was logged by the kernel.  The message will contain vmunix no matter which file was booted from.</description>
      <pubDate>Mon, 09 Jun 2003 18:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992563#M124702</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-09T18:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992564#M124703</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;You can check the dmesg to find out!&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Mon, 09 Jun 2003 18:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992564#M124703</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-09T18:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992565#M124704</link>
      <description>as always, Mr. Stephenson has an answer that works.&lt;BR /&gt;&lt;BR /&gt;situation is:&lt;BR /&gt;&lt;BR /&gt;/stand/vm is a copy of /stand/vmunix.  /stand/vmunix.prev is different from /stand/vmunix even though it is the same size.&lt;BR /&gt;&lt;BR /&gt;boot with /stand/vm as the kernel, clay's solution &lt;BR /&gt;using adb -k /stand/vm /dev/kmem correctly reports /stand/vm as the bootfile.  &lt;BR /&gt;using adb -k /stand/vmunix /dev/kmem also correctly reports /stand/vm as the bootfile.&lt;BR /&gt;and using adb - /stand/vmunix.prev /dev/kmem doesn't report anything as the boot string. ie bootstring:&lt;BR /&gt;with no value.&lt;BR /&gt;&lt;BR /&gt;I'm going to hold off on awarding the big points in the hope there will be an alternative solution.&lt;BR /&gt;&lt;BR /&gt;Because, the reason for wanting to know which file is the kernel is so I can use that file as an argument for the adb command.  And, clay's solution is to test all the possible kernels till one works.  This seems more of a brute force type of solution.&lt;BR /&gt;&lt;BR /&gt;although in reality, it isn't all that bad.  after all how often aren't you using vmunix or vmunix.prev.  and only in that case would I need to test all the large (&amp;gt;6M) files in /stand, which shouldn't be all that many.&lt;BR /&gt;&lt;BR /&gt;thanks clay</description>
      <pubDate>Mon, 09 Jun 2003 18:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992565#M124704</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-09T18:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992566#M124705</link>
      <description>Caesar,&lt;BR /&gt;&lt;BR /&gt;the kernel file name isn't reported within dmesg on my system.</description>
      <pubDate>Mon, 09 Jun 2003 18:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992566#M124705</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-09T18:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992567#M124706</link>
      <description>Any copy of /stand/vmunix will work BUT it's really /dev/kmem that has the actual data - and it's always correct. The file argument simply supplies adb with the correct data offset information so that adb knows where to look within /dev/kmem. If you get a valid boot string using any file then that's your boy because again, it's /dev/kmem that's really supplying the data.&lt;BR /&gt;&lt;BR /&gt;Dmesg should never be relied upon because once it's circular buffer fills, it begins to overwrite itself.&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jun 2003 19:26:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992567#M124706</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-06-09T19:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992568#M124707</link>
      <description>NAME&lt;BR /&gt;      kmpath - retrieve kernel name and associated kernel component set&lt;BR /&gt;      information&lt;BR /&gt;&lt;BR /&gt; SYNOPSIS&lt;BR /&gt;      /usr/sbin/kmpath [-k]&lt;BR /&gt;      /usr/sbin/kmpath -c [kernel_name]&lt;BR /&gt;      /usr/sbin/kmpath -i [kernel_name]&lt;BR /&gt;&lt;BR /&gt; DESCRIPTION&lt;BR /&gt;      kmpath retrieves the main kernel file name and path information of the&lt;BR /&gt;      currently running kernel.  kmpath also retrieves the Kernel ID String&lt;BR /&gt;      (KIS) and the associated /stand/dlkm.KIS directory of the current or&lt;BR /&gt;      specified kernel.&lt;BR /&gt;&lt;BR /&gt;      Each kernel is composed of several distributed component files, the&lt;BR /&gt;      kernel component set, which use a defined naming convention, and are&lt;BR /&gt;      all required for a kernel to boot and run properly.  During the&lt;BR /&gt;      process of configuring a new kernel, a unique Kernel ID String (KIS)&lt;BR /&gt;      is embedded into the kernel image. The main kernel file (by default&lt;BR /&gt;      /stand/vmunix) is associated to its component files via the KIS.  The&lt;BR /&gt;      /stand/dlkm.KIS directory contains several of the kernel component set&lt;BR /&gt;      files used by the DLKM infrastructure, including dynamically loadable&lt;BR /&gt;      kernel module images.&lt;BR /&gt;&lt;BR /&gt;      If no options are specified, kmpath returns the full path of the main&lt;BR /&gt;      kernel file of the currently running kernel, which constitutes the&lt;BR /&gt;      boot kernel path of the currently booted kernel (for example,&lt;BR /&gt;      /stand/vmunix).&lt;BR /&gt;&lt;BR /&gt;    Options&lt;BR /&gt;      The kmpath options have the following meanings:&lt;BR /&gt;&lt;BR /&gt;      -k   Return the base name of the main kernel file of the currently&lt;BR /&gt;           running kernel (for example, vmunix).&lt;BR /&gt;&lt;BR /&gt;      -c [kernel_name]&lt;BR /&gt;           Return the /stand/dlkm.KIS directory name.  If kernel_name is not&lt;BR /&gt;           specified, KIS corresponds to the currently running kernel's&lt;BR /&gt;           Kernel ID String.  If kernel_name is specified,  KIS corresponds&lt;BR /&gt;           to the specified kernel's KIS.&lt;BR /&gt;&lt;BR /&gt;      -i [kernel_name]&lt;BR /&gt;           If a kernel_name is not specified, return the KIS of the&lt;BR /&gt;           currently running kernel.  If a kernel_name is specified, return&lt;BR /&gt;           the KIS associated with the specified kernel.&lt;BR /&gt;&lt;BR /&gt; FILES&lt;BR /&gt;      /stand/kernel_name     Main kernel file.&lt;BR /&gt;&lt;BR /&gt; Hewlett-Packard Company            - 1 -    HP-UX 11i Version 1.6: Feb 2002&lt;BR /&gt;&lt;BR /&gt; kmpath(1m)                                                       kmpath(1m)&lt;BR /&gt;&lt;BR /&gt;      /stand/dlkm.KIS        Directory containing DLKM-related elements of&lt;BR /&gt;                             the kernel component set.  (KIS is the Kernel&lt;BR /&gt;                             ID string in the corresponding kernel image).&lt;BR /&gt;&lt;BR /&gt;      /stand/krs/KIS.p0      Kernel-specific kernel registry file.  Element&lt;BR /&gt;                             of the kernel component set that contains&lt;BR /&gt;                             kernel-specific configuration data persistent&lt;BR /&gt;                             across system reboot.  (KIS is the Kernel ID&lt;BR /&gt;                             string in the corresponding kernel image).&lt;BR /&gt;&lt;BR /&gt;      /stand/boot.KIS        Directory that contains links to the files in&lt;BR /&gt;                             the kernel component set that are required by&lt;BR /&gt;                             the boot loader during the process of booting a&lt;BR /&gt;                             kernel with Kernel ID String KIS.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jun 2003 19:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992568#M124707</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-09T19:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992569#M124708</link>
      <description># /usr/sbin/kmpath -k&lt;BR /&gt;vmunix</description>
      <pubDate>Mon, 09 Jun 2003 19:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992569#M124708</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-06-09T19:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992570#M124709</link>
      <description>Paul,&lt;BR /&gt;&lt;BR /&gt;your getting closer.  but while kmpath exists on my 11.0 system, it doesn't return anything.</description>
      <pubDate>Mon, 09 Jun 2003 20:59:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992570#M124709</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-09T20:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992571#M124710</link>
      <description>Try kmpath without the -k for 11.0 systems, ie, just kmpath.</description>
      <pubDate>Tue, 10 Jun 2003 00:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992571#M124710</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-06-10T00:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to tell which file is the kernel that is running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992572#M124711</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/kmpath&lt;BR /&gt;/usr/sbin/kmpath -k&lt;BR /&gt;/usr/sbin/kmpath -c&lt;BR /&gt;all return the same thing, the shell prompt.  on my system -i is an illegal option and there is no man page.</description>
      <pubDate>Tue, 10 Jun 2003 01:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-tell-which-file-is-the-kernel-that-is-running/m-p/2992572#M124711</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-06-10T01:59:52Z</dc:date>
    </item>
  </channel>
</rss>

