Programming :: Access Not Within Mapped Region At Address
Jan 28, 2011I 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 RepliesI 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 RepliesWhen I try to access at physical address (0xD0000), we known that it is necessary to convert physical address to virtual address using function IOREMAP(0xD0000, 1024) and return me 0xC00D0000.
Now our doubt is when I have a board with I/O in address 0x150, is it necessary to convert this address to other virtual address??? or with inb(0x150) return me state of I/O in this address? How can I known where is this I/O address in my map memory?
i was trying to access the address of the character pointer it gives me the values stored in the variable.
Code: #include<iostream>
using namespace std;
int main()
{
char *i;
[Code]....
why is my code not giving the address of the variable i when it is a character pointer.
Kernel 2.6.21.5, slackware 12.0
nasm 2.03.01
ld 2.17
GNU gdb 6.6
This GDB was configured as "i486-slackware-linux".
Code:
What could the cause of the message output by gdb possibly be? Reading some tutorials, I've learn the flat memory model is used in linux. So, in particular, I needn't care about the DS segment register.
Also, line 7 in the listing above, suggests nasm is assuming 32-bit addressing and so, I think it is using the flat memory model.
I was looking for a method of allocating memories on Linux which similar VirtualAlloc on Windows.Requirements are:
1. Size of memories block to allocate is 2^16.
2. Address of memories block is larger than 0x0000ffff
3. Address of memories block must have last 16 bits are zero.
On Windows because lower limit of application address (lpMinimumApplicationAddress) we have (2) obvious right. From (1), (2) and system rules we also achieved (3).
I want to pass ip address,port address and some parameters from command line using python script.The ip address and port address for establishing socket connection and remaining parameters to execute different connection.
View 1 Replies View Relatedif i attach a shared memory to my process whch part of the address space it will add(like stack, heap, data, code...).
View 3 Replies View RelatedI need a small shell based program that prints the mac address of physical ethernet adapter from it's firmware. I need this utility for license generation and appliance activation. I have tried several example but none of them is flawless, The easiest method I have found is to parse the output of "ifconfig" command but it has also some drawbacks.
1. Firstly program should differentiate between physical and virtual adapters. Physical means installed on board(wired or wireless) or installed additionally. Virtual adapters are those created by VPN or created by virtualization apps such as VirtualBox/VMWare etc. I am not interested in virtual ones.
2. In case of more them one physical adapters(wired and wireless), it should print the mac address and description(name & vendor) of both/all adapters.
3. If media is disconnected then also it should be able to read the mac address and description(name, vendor) of card.
4. This one is bit complex. I know that 'ethtool' can show you the universal mac address but it's limited to use only 2 types of drivers and won't work in all cases.
I want to translate the virtual address to physical address in linux C application, how to do that?
View 1 Replies View Relatedi have a xeon machine with ubuntu os machine specification is 3gb RAM 3 scsi hard drives each 73gb it have two ethernet cards one ethernet card is connected with adsl modem and the second is connected with LAN. now what is mikrotik doing for me is control access to bind mac adress with ip adress and control the band width for induvisual conection.
View 2 Replies View Relatedlooking for linux (ubuntu) software for converting region 1 dvd to region 2
View 14 Replies View RelatedI am trying to find out the mac address of the eth0 port on linux probe. This port is controlled by kernal and hence I don't have control over it. How do I find out the mac address of this port ? Is there any system call which will take the ip address and will do the lookup on the linux's ip table to get the mac address ?
View 6 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 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 RelatedThe command cat /proc/PID/maps shows the memory map (virtual addresses) of the process. How these address are actually mapped?
View 3 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)
I recently set up a web server at home, using a non-standard port, due to my ISP blocking 80. I just checked my log files, and I see a TON of entries indicating that a file was not found "proxy-1.php", "proxyheader.php", etc. I do not have these files, not intend to have them as part of my website. I did a whois looking by IP address for several of these, and they all seem to come from an ISP in China. Is there a way to BLOCK any IP address outside the US (that is somewhat simple to do?)
View 5 Replies View RelatedRight now my setup is as follows: I have an Asus Eeepc 900 running Netbook Remix named eeepc, and a media centre running 64-bit Ubuntu named media.When I try to ping or ssh into one machine from the other, for exampleCode:$ ping mediaI get an "unknown host name" error. However, pinging the device's IP address works. How do I get the computers to recognize each other's host names? Did I miss something in the setup?
View 2 Replies View RelatedI have my firewall setup so that only specific subnets/IP addresses can access the system. My issue is that I have remote user/laptop who needs to access the system, but is constantly on a different subnet/dhcp IP address. Is there configuration for iptables where I can enter the mac address of the laptop to allow access to the system and not specify a subnet or IP address?
View 3 Replies View RelatedI have a site in India that needs to be accessed by our offices round the world. I have added AllowUsers lines for the static IP's in those offices. However, we also have a couple of people who travel and don't have static ip's. Is it possible to enable both AllowUsers for the offices and have certificate access for the others?
View 1 Replies View RelatedI have a server located remotely that I'd like to protect by allowing access to only my IP address (on any port). Currently anyone can access the server using ssh, http, and any other services that my server is running. (The reason I need to protect it for now is that it's a test/development server and really only needs to be accessed by me.)
The downside of doing this is every time my desktop IP address changes (from where I access the remote server), I would need to update the iptables configuration. (This could be a hassle, but based on my limited knowledge it seems to be the best way to allow access from only myself.)
Could anyone share how to allow access to my server using iptables from only my IP address and on any port?
i am using ubuntu 10.04 and unable to access following address http://202.164.53.122/
Even all my friends can access it from their own computers,you can also access it i hope so,only i am not able to access it .After showing loading of page for 10 sec ,it say Unable to connect.
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.
I 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 Relatedhow 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.
us robotics router, trying to access 192.168.2.1, worked on windows xp, just switched to lucidi have tried using both firefox and chrome, neither will access my router
View 7 Replies View RelatedI've got a Samba server (CentOS)(I swear all my non-work boxes are Ubuntu) that has been working fine in our Active Directory environment for a long time, now that Windows 7 has been forced upon us, we've noticed that Win 7 users aren't able to authenticate to this server unless they access it using the IP address, e.g. \192.168.1.22. We've tried the different Windows 7 registry hacks and nothing makes a difference. We were advised to update Samba and we did to 3.3.8. However, this being a virtual machine, upgrading a clone of this machine did work, the configuration was identical, except the hostname
View 9 Replies View RelatedI have a strange problem. I have to clone my MAC address (and specify a different MAC address) to get internet. Without the new MAC address I get an IP address but no internet. This happened with my old (updated from 7.04 -> 10.10) OS installation and with a new, clean install of 11.04. So I have a workaround. But I don't know what the problem is.
Ps. I recently switch modem and router. And I had the problem with old and new modem/router combinations.