Sponsored Content
Full Discussion: Ksyms missing in Solaris
Operating Systems Solaris Ksyms missing in Solaris Post 303021816 by solaris_1977 on Friday 17th of August 2018 02:40:38 PM
Old 08-17-2018
Ksyms missing in Solaris

Hi,
On solaris-10 server, this file is missing, which is causing another issue. Can somebody guide, how to fix this ? This is tough server to take downtime, uptime of 3 years. I am thinking, is there anything, which I can do without reconfiguration reboot.
devfsadm didn't helped
Code:
bash-3.2# ls -l /dev/kmem /dev/ksyms
lrwxrwxrwx   1 root     other         27 Jan 28  2011 /dev/kmem -> ../devices/pseudo/mm@0:kmem
lrwxrwxrwx   1 root     other         31 Jan 28  2011 /dev/ksyms -> ../devices/pseudo/ksyms@0:ksyms
bash-3.2# ls -l /devices/pseudo/mm@0:kmem /devices/pseudo/ksyms@0:ksyms
/devices/pseudo/ksyms@0:ksyms: No such file or directory
crw-r-----   1 root     sys       13,  1 Jan 28  2011 /devices/pseudo/mm@0:kmem
bash-3.2#

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris 8 - SUNWcsr cluster missing/corrupt ?

Hi all I'm currently trying to install OpenSSH on a number of servers and for the most part succeeding. Unfortunately one of the Sun V880 servers is complaining when I try to install the /dev/random (entropy) patch (112438-01) needed for the SSH keys. Error below.... (ignore 'the patch has... (3 Replies)
Discussion started by: Brett
3 Replies

2. Solaris

pkgadd missing on Solaris 11

Hi, This is not a question thread, but rather a solution to an issue I have encountered on Solaris 11. It turns out that pkgadd is not available by default on Solaris 11. The solution is to install it with: pkg install SUNWpkgcmdsI hope this will save people some time. Cheers, ... (4 Replies)
Discussion started by: JVerstry
4 Replies

3. UNIX for Dummies Questions & Answers

Solaris 10 missing static_routes file

Hi, I have a solaris 10 system ( confirmed by the /etc/releases file and uname -a ). But, I have no /etc/inet/static_routes file and if I try to add a persistent route with route -p add then it tells me that -p isn't a valid option. Can anybody tell me why my Sol10 system isn't acting like... (0 Replies)
Discussion started by: Donkey25
0 Replies

4. Solaris

<sys/ptrace.h> missing in Solaris 10

Does anyone know why this system include is not there. What can I install to get this and why is it missing? (4 Replies)
Discussion started by: steve701
4 Replies

5. Solaris

Missing ufsboot file(Solaris 10 Sparc)

After installing the latest Oracle CPU patch(October), my V440 system will not boot. I've attempted serveral fixes, including one that say the ufsboot file(we don't use ZFS) may be corrupt so it should be replaced. I cannot find it on the installation DVD or the any of my systems(including... (0 Replies)
Discussion started by: the.gooch
0 Replies

6. Solaris

dvd/cdrom missing after solaris 10 jumpstart

Hi everybody Having a strange problem on a x4270m2 Sun server. Jumpstarting it from dvd drive. After install the dvddrive does not exist. Be aware jumpstart is custommade bash-3.00# mount -F hsfs -o ro /dev/dsk/c1t4d0p0 /cdrom mount: No such device mount: cannot mount... (7 Replies)
Discussion started by: stockhes
7 Replies

7. Solaris

Solaris 10 missing /cdrom/cdrom0/

Good day everyone, I am trying to install some new senmail patch on my Solaris 10 system. I know the cdrom for my CP3260 blade servers in my rack worked for the last patches installed. However, when I went to copy from the .tar file from the cdrom to the /tmp. I received an error cannot... (2 Replies)
Discussion started by: cookiecrumbs
2 Replies

8. Solaris

Solaris 10 Installation - Disks missing, and Raid

Hey everyone. First, let me start by saying I'm primarily focused on linux boxes, and just happened to get pulled into building two T5220's. I'm not super educated on sun boxes. Both T5220's have 8 146GB 15k SAS drives. Inside the service processor, I can run SHOW /SYS/HDD{0-7} and they all come... (2 Replies)
Discussion started by: msarro
2 Replies

9. Solaris

/usr/lib/vhost.so missing Solaris 5.10

Hi, i have a solaris 5.10 machine on which i am getting below error while executing cat command ld.so.1: cat: fatal: vhost.so: open failed: No such file or directory Killed it is related to file vhost.so missing Also when i did ldd cat result is as below libc.so.1... (1 Reply)
Discussion started by: Jcpratap
1 Replies

10. Solaris

Missing ASM Disks in Solaris 11.3 LDOM

Hi Guys, Just a quick question hopefully someone will have seen this before and will be able to enlighten me. I have been doing some Infrastructure Verification Testing and one of the tests was booting the primary domain from alternate disks, this all went well - however on restarting one of... (7 Replies)
Discussion started by: gull04
7 Replies
KSYMS(4)						   BSD Kernel Interfaces Manual 						  KSYMS(4)

NAME
ksyms -- kernel symbol table interface SYNOPSIS
device ksyms DESCRIPTION
The /dev/ksyms character device provides a read-only interface to a snapshot of the kernel symbol table. The in-kernel symbol manager is designed to be able to handle many types of symbols tables, however, only elf(5) symbol tables are supported by this device. The ELF format image contains two sections: a symbol table and a corresponding string table. Symbol Table The SYMTAB section contains the symbol table entries present in the current running kernel, including the symbol table entries of any loaded modules. The symbols are ordered by the kernel module load time starting with kernel file symbols first, followed by the first loaded module's symbols and so on. String Table The STRTAB section contains the symbol name strings from the kernel and any loaded modules that the symbol table entries refer- ence. Elf formated symbol table data read from the /dev/ksyms file represents the state of the kernel at the time when the device is opened. Since /dev/ksyms has no text or data, most of the fields are initialized to NULL. The ksyms driver does not block the loading or unloading of mod- ules into the kernel while the /dev/ksyms file is open but may contain stale data. IOCTLS
The ioctl(2) command codes below are defined in <sys/ksyms.h>. The (third) argument to the ioctl(2) should be a pointer to the type indicated. KIOCGSIZE (size_t) Returns the total size of the current symbol table. This can be used when allocating a buffer to make a copy of the kernel symbol table. KIOCGADDR (void *) Returns the address of the kernel symbol table mapped in the process memory. FILES
/dev/ksyms ERRORS
An open(2) of /dev/ksyms will fail if: [EBUSY] The device is already open. A process must close /dev/ksyms before it can be opened again. [ENOMEM] There is a resource shortage in the kernel. [ENXIO] The driver was unsuccessful in creating a snapshot of the kernel symbol table. This may occur if the kernel was in the process of loading or unloading a module. SEE ALSO
ioctl(2), nlist(3), elf(5), kldload(8) HISTORY
A ksyms device exists in many different operating systems. This implementation is similar in function to the Solaris and NetBSD ksyms driver. The ksyms driver first appeared in FreeBSD 8.0 to support lockstat(1). BUGS
Because files can be dynamically linked into the kernel at any time the symbol information can vary. When you open the /dev/ksyms file, you have access to an ELF image which represents a snapshot of the state of the kernel symbol information at that instant in time. Keeping the device open does not block the loading or unloading of kernel modules. To get a new snapshot you must close and re-open the device. A process is only allowed to open the /dev/ksyms file once at a time. The process must close the /dev/ksyms before it is allowed to open it again. The ksyms driver uses the calling process' memory address space to store the snapshot. ioctl(2) can be used to get the memory address where the symbol table is stored to save kernel memory. mmap(2) may also be used but it will map it to another address. AUTHORS
The ksyms driver was written by Stacey Son <sson@freebsd.org>. BSD
April 5, 2009 BSD
All times are GMT -4. The time now is 03:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy