General :: How Virtual Addresses Actually Mapped
Aug 3, 2010The command cat /proc/PID/maps shows the memory map (virtual addresses) of the process. How these address are actually mapped?
View 3 RepliesThe command cat /proc/PID/maps shows the memory map (virtual addresses) of the process. How these address are actually mapped?
View 3 RepliesGet the list of virtual addresses being accessed by any application during its execution time. I don't want the complete memory map but just the pages which were accessed during an application's execution?
View 2 Replies View RelatedHow to get the list of virtual addresses being accessed by any application during its execution time. I don't want the complete memory map but just the pages which were accessed during an application's execution?
View 2 Replies View RelatedI am new to Linux kernel/user space programming having been an assembly programmer in my previous life. I am now using 2.6.x kernel on an embedded CPU that has a few dedicated hardware blocks (including more CPU running just C-code, i.e., no operating system). There is a single DRAM connected to this chip with one Linux CPU + multiple h/w blocks. No swapping.Question(s):
1. The Linux CPU needs to talk to hardware blocks that obviously physical DRAM addresses while Linux processes/threads use virtual addresses.
2. How do I translate these addresses back-n-forth? For example, a Linux process may want to allocate memory and then hand it off to a hardware block to write into it. Then after a while the process will read it.
3. Sometimes, the hardware block may write a physical address into the shared memory. The Linux CPU will read the shared memory and then convert the physical address to virtual memory and go read that location.
How does one achieve all of this? If this is being extremely stupid, then please let me know. Hopefully, you can give me some pointers.
How to get the list of virtual addresses being accessed by any application during its execution time. I don't want the complete memory map but just the pages which were accessed during an application's execution?
View 1 Replies View RelatedI have installed a new device in linux.If I enter lspci, i can see the information of this device.But, I donot which file in dev is mapped to this device.
View 2 Replies View RelatedI was playing around with my keyboard shortcuts and accidentally mapped a command to the Ctrl+C shortcut. Now I can't stop programs running in the terminal with Ctrl+C and I have no idea of how to restore this functionality.
View 1 Replies View RelatedI get errors trying to virtual IPv6 Addresses i a lab environment. It works fine up to 2033 (?) adrressses, but when I try to add more i get "Cannot allocate memory" error:
# ifconfig eth0 add 2001:1b70:8282:2021:18:0:20:1
SIOCSIFADDR: Cannot allocate memory
This is on Ubuntu Server 9.10 (64-bit).
command to show the luns mapped to redhat enterprise server 6.1 host. And how do i known the WWNN for the FC HBA attach to the host.
View 6 Replies View Relatedcreate a profile settings and network drive can be mapped automatically when user login to the (like Domain and active user profile on windows environment) Ubuntu systems?
View 1 Replies View RelatedI would like to configure and SAN disk. But I do not have a physical SAN disk. Is it possible to create and configure a Virtual SAN disk and work on it with virtual machines?I have around 400GB of space in my Laptop.
View 7 Replies View RelatedAfter pissing around with Kubuntu all evening, I wish I had hair to pull out in screaming frustration. After trying everything from Xbindkeys to animal sacrifices and voodoo spells to get my multimedia keys working, I now find that both the Windows key and the End key are mapped as F14. Problem is that it's the End key opening the K Menu, not the Windows key.
How can two keys get mapped as the same thing?! And how do I get the End key back to just the End key? I'm close to calling it quits on Linux and putting Windows back on my laptop.
How does a filename is mapped to its inode ??? If I want to make our own system call and use a filename as argument how can I get its inode ,if I want to use some of member of inode structure in code. Basically I want to get the fd of the file.
View 5 Replies View RelatedI'm facing a problem in mapping SAN disks connected through LSI HBAs on my servers, I even unable to list them via hbacmd it shows (HBAAPI[14809]: Encounterd and error loading: /usr/lib/libqlsdm.so) the mapper is showing errors also, below are some details from various logs:
rm.log
HBANYWARE VERSION: 5.0.44.1
(03-21-2011 16:22:09) InitDiagEnv found 0 adapters
(03-21-2011 16:22:09) In LoadRMLibraries
(03-21-2011 16:22:10) HBAAPI found 0 local adapters
(03-21-2011 16:22:10) Local Adapter Count = 0, CNA count = 0
(03-21-2011 16:22:10) Error calling getOperatingMode
fdisk -l - does not show San disks
How can I get my HBAs working, below are the details of my server:
Dell R710
OS: Citrix XenServer Host 5.6.0-31188p
kernel: 2.6.27.42-0.1.1.xs5.6.0.44.111158xen #1 SMP Mon May 3 21:26:51 EDT 2010 i686 i686 i386 GNU/Linux
HBAs: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
My friends and I want to have a central server where we can share our files. I would like it to be accessible to each client (friend) by simply logging onto their VPN client and have the shared directory appear on their "My Computer" as a hard drive. It will be a Debian Lenny server that is accessed by Windows computers, and they'll be able to read and write whatever they like.
We do this same thing at work, but I don't know where to start. To access the file server at work from home, I just run our VPN client and I have access to all the drives I do at work. This is exactly what I'd like to do, but at my place. I'd like to know what applications I need to get to make this realizable, like if I need to use Apache, Samba, OpenVPN, etc. I can learn fast, I just need direction.
Eventually I want to evolve this project into something more, but I figured this would be a good starting point in learning server applications.
how would i mount mapped linux (ntfs drives) when ubuntu starts
View 2 Replies View RelatedI have installed Kubuntu 10.10 on a macbook3.1 and everything (almost) is working fine. My sole problem is that the left control key, despite being mapped to:
keycode 37 = Control_L NoSymbol Control_L NoSymbol Control_L
and having the right behavior in the terminal, does nothing on most other applications, like kate, money managers, intelliJ, etc.
It does work properly also on Google Chrome.
I am receiving that error through Valgrind, I don't know the meaning of the error so I don't know what to check.
View 2 Replies View RelatedI have three 10Gb Fibre PCI ethernet cards and 2 onboard gigabit ports. The two gigabit ports always seem to be mapped to eth0 and eth1. I set the network configuration for eth2, eth3, and eth4 in the /etc/sysconfig/network-scripts/ifcfg-eth# files. Would the NIC in PCI slot 1 always be mapped to eth2, NIC in slot 2 mapped to eth3, and NIC in slot 3 always mapped to eth4?
View 1 Replies View Relatedi set up a ubuntu server (10.04) with LDAP, Kerberos and NFS4. Did a set up for a client (ubuntu desktop 10.04 32 / 64) to connect to ldap, kerberos and nfs4-mount. All is working fine except of the idmapping. Some uids are not mapped to names. the entrys, which cannot be mapped, change. so 10 minutes before the uid was mapped to the correct name, after that time (i'm not sure if it's exactly 10 minutes) the name is mapped to nobody. sometimes the gid cannot be mapped too.I mount the nfs-share via nfs4 with sec=krb5 (krb5i or krb5p result in the same problem) and after successfully mounting the device, i type ls -la. i never have problems with getent passwd or with logging in as ldap-user. i get all the entries of the ldap-db and i also get kerberos tickets. All is working fine with nfs3, but i would like to use nfs4 for security-reasons.
if i run the rpc.idmapd with many "-v" i get the following messages in the daemon.log-file:
Code:
....
rpc.idmapd[15953]: nfs4_name_to_uid: calling nsswitch->name_to_uid
rpc.idmapd[15953]: nss_getpwnam: name 'test@DOMAIN.TEST' domain 'DOMAIN.TEST': resulting localname 'test'
rpc.idmapd[15953]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0
code....
the first part is the response to a correct name-to-uid-mapping the second part is a failed one. both user exist, both users have the same ldap-entries (except of the different descriptions, uid and so on). the responses have the same timestamp, so the reply is in (nearly) the same second.
restarting the idmap-daemon every 5 minutes or other workarounds are not practicable in normal operating environment.
I am trying to connect the one of server RHEL5.4 to the IBM iSCSI storage. Server is equipped with 2 single port Qlogic iSCSI HBA(TOE). RHEL detected the HBA and installed driver itself (qla3XXX). I have configured the HBA ip address in the range of iSCSI host port of storage. Both of the HBA is connecting to the two different controller of storage. I have discovered the storage using command iscsiadm -m discovery command for both of the controller and it went through fine. But problem is whenever server is restarting if both of the hba is connected to the storage then server will not detect the volumes which is mapped to the server and then to detect the volume I need to run "mppBusRescan" and "vgscan" command each time. If only one path is connected it is fine.
View 1 Replies View RelatedI have a peer-to-peer network with 25 WinXP Pro computers. I have built a Linux (SuSE) server for the purpose of backing up My Documents, PST files and favourites. Each user has their own folder containing the sync'd files. Each folder is password protected. I have configured each users machine with a mapped 'S' drive, which is the sync'd data folder on the Linux computer. All of the computers seem to end up with a "disconnected network drive" status after either logging out for the day or after some time has elapsed. Some will connect with a double click but others prompt for a password. I have tried mapping the drive using the option "Connect using a different user name", which is fine until the user logs out and back in again. I use SyncToy as a scheduled task, but can't connect to these mapped drives automatically, so the sync process will not work unattended.
View 3 Replies View RelatedI have my email on a separate partition so that my email doesn't get destroyed when I do new linux installs (I have emails from 5 years ago now). I also keep my sylpheed email addressbooks. This partition is writable by anybody and I have also made my user the owner of this partition during each linux install (media/email). When I set up sylpheed I tell it that my email is in /media/email and then it is able to write incoming messages to that location. The problem I am having is that I make symbolic links for my addressbooks from ~/.sylpheed* to /media/email using this:cd ~/.sylpheed*rm addrbook-000001.xmlln -s /media/email/addrbook-000001.xml addrbook-000001.xmlSylpheed finds my addressbook ok on my email partition but changes that symbolic link to a file on ~ when it writes new addresses. What am I doing wrong...I want it to write new addresses to my email partition?
View 4 Replies View RelatedIn school, use SUSE Server and made it by DHCP but in my hand I changed many rules. All are OK at the start but now they requested that they who are principal, and vice principals are want to use the Internet without filtering.
So I've made new rules by using Webmin software to control the SUSE Server. 1st I've gave static IP from LAN x.x.x.40 to x.x.x.45. 2nd IP is x.x.x.12 to x.x.x.15.
At First, there's nothing happen but now I've got problems because Server gave DHCP so that Server gives IP itself and conflict with static IPs. And also I can't find in Webmin software how to disable the DHCP Assign.
I almost never boot windows anymore - but there is one thing I miss
In msword I was able to print addresses on envelopes and/or labels
I have not found that capacity on fedora 13 with Abiword and Open Office writer
Is it there seomwhere?
How can I configure proFTPd to deny all unless:User is part of group: ftpguysClient IP matches either: 1.1.1.1 or 2.2.2.2 or 3.3.3.3I already have the config file (proftpd.conf) setup to only allow users who are part of the group ftpguys. To do that I use this:
Code:
<Limit LOGIN>
AllowGroup ftpguys
[code]...
I have a webserver setup for myself with two domains. Both need ssl. I am running fedora 10 Apache/mod_ssl. I am trying to configure ssl.conf to recognize two different IP addresses, one for each domain.
Each has their own Vhost containers (NamedVirtualHHost)
<VirtualHost 192.xxx xxx x01 :443>
blabla
blabla
</VirtualHost>
<VirtualHost 192.xxx xxx x02 :443>
blabla
blabla
</VirtualHost>
I call https... first site works ok. I call https....second site it calls the first ssl cert (bad cert). Apache does not separate the two. My question, how do I get apache to deliver https..domain_one and domain_two correctly?
after migrating my Ubuntu box from 10.4 to 10.10 my middle click button does not work.
If I test using ...
Code:
xinput test <device id>
... all my buttons are mapped but one (the middle click): when I use it nothing is logged in the console.
This is the ouput of my mouse properties:
Code:
~$ xinput list-props 8
Device 'Razer DeathAdder':
Device Enabled (117):1
[Code]....
I use middle click frequently (opening links in new tabs in Firefox or Copy&Paste in terminal)
I have a redhat server with SAMBA file services. I have copied all the users files into their respective home directories and mapped a network drive to their folders. However, when I try to access a file in those folders the machine reboots itself. There are no error messages or anything, it just reboots!
View 2 Replies View RelatedI'm using the mail command and I am able to send mail to my gmail account with out any problems. However when I send mail to deco -at- mycompany.com I nothing happens and no mail ever arrives in my mailbox. It might be worth mentioned that my centos5 is a virtual machine on the same server as the company exchange mail server.
View 1 Replies View Related