Software :: Writing Data Into A Memory Location?

Feb 1, 2010

I am using ARM9(S3C2440) board in which linux kernel 2.6.30.4 is ported and i need to write some 8-bit data(say 0xAA) into the memory location 0x08000000 and i need to trace the data written into the location is correct or not how to do this in linux.

View 3 Replies


ADVERTISEMENT

Programming :: Byte At Memory Location 45 With Immediate Value 03

Jul 10, 2011

As 2.17
I want to code this:
and byte[45],03

In words, AND the byte at memory location 45 with immediate value 03. As reports "Ambiguous operand size for and". How could I code the instruction such that as understands my intention?

john: .byte 45
and byte[john],03
gives the same error.

View 8 Replies View Related

Networking :: Tcpdump -w Not Writing Data?

Oct 18, 2010

I'm trying to capture packets to a file with the -w option but the file is empty yet if I use the '-w -' option to put data on stdout I see plenty of captured packets.I'm using CentOS 5.5 x86

Code:
[root@server ~]# tcpdump -v -i eth0 -w dump -s0
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes

[code]....

View 2 Replies View Related

Security :: Change The Sys_call_address To Another Location In Memory?

Jan 4, 2010

Quote:

alexander@osiris:~$ uname -a
Linux osiris 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

I tried to change the sys_call_address to another location in memory. The result was an OOPS!

sys_call_address is of course not exported, so I found it using:

Quote:

grep sys_call_table /boot/System.map-2.6.31-14-generic
c0577150 R sys_call_table

My kernel prog looks like:

Code:
#include <linux/string.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
#include <linux/module.h>

[Code].....

View 5 Replies View Related

Programming :: Write A Value From A Specific Memory Location In C?

Jul 13, 2010

How to write a value to a specific memory location in C language and how to access the same value ?
I am trying the same on fedora linux and i am trying to write the value to the 32-bit address.

View 2 Replies View Related

Software :: Error Writing Blu Ray Data Discs With K3b?

Dec 5, 2010

Does k3b require free hard drive space at the finalize media stage? I'm trying to write a 17.6 GB file to 25 GB media with 18 GB free space on the hard drive. My disc seems to write 100% then displays "Error". This is the debugging code:

Code:
Burned media
BD-R Sequential (SRM)
Devices

[Code]...

View 4 Replies View Related

Ubuntu :: VBOX Setup Location & Memory Settings?

Jan 5, 2010

I have a few questions about VBOX.

My system now is a dual boot computer with Ubuntu and Winxp each on there own HD. The system has 4gb memory with a 512mb Nvidia video card.

1. If I understand it correctly, VBOX installs it's own copy of Windows to a directory. I can't piont it to the Winxp that I already have installed on the other HD?

2. VBOX has a two sliders for Memory, one for System and the other for Video. Do any of you have a system such as mine and would you have any suggestions for the two sliders settings?

View 3 Replies View Related

Red Hat / Fedora :: Read Or Write At Specified Memory Location On SD Card

Dec 10, 2010

I am new to linux at driver level. I want to read/write at specified memory location in microSD card in linux. I do not want to used SD card with any file system. How to do that. My linux distribution is Fedora13.

View 3 Replies View Related

General :: Writing Large Amounts Of Data To Multiple CD/DVDs?

Sep 1, 2009

Are there any tools out there that let me select a bunch of data and burn it to multiple cd's or DVD's? I'm using k3b but have to manually select cd and dvd size amounts.

View 1 Replies View Related

Programming :: Writing Shell Snip To Import CSV Data Into Bash Array

Jan 5, 2011

I have been trying to write a simple snip of bash shell code to import from 1 to 100 records into a Bash array.

I have a CSV file that is structured like:
record1,item1,item2,item3,item4
record2,item1,item2,item3,item4
record3,item1,item2,item3,item4
record4,item1,item2,item3,item4

And would like to get this data into corresponding arrays as such:
$record1[item1-4]
$record2[item1-4]
$record3[item1-4]
$record4[item1-4]

View 9 Replies View Related

Debian Hardware :: Cannot Access External Hdd, Memory Stick, Mp3 Player - Unable To Mount Location

Jul 22, 2011

usb devices, such as external hdd, memory stick and mp3 player, when I connect them to USB, they show up in Nautilus, but when I click on them, Nautilus is unable to mount them and returns the following error: Unable to mount location Error mounting: mount exited with exit code 1: helper failed with:mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error in some cases useful info is found in syslog - try dmesg | tail or so

View 3 Replies View Related

General :: Fast Copying Data From One Location To Other?

Apr 6, 2010

Is there any windows equivalent tools (like tera copy, Fast copy in windows) for linux for fast copying data from one location to other?

View 1 Replies View Related

Software :: Using Shotwell To Add Location Data To Images?

May 15, 2011

I am starting to use Shotwell for my photo management in lieu of DigiKam. One tool that I liked in DigiKam which does not seem to be present in Shotwell is the ability to add/edit geolocation data. Is there anyway of working with geolocation data from within Shotwell?

View 4 Replies View Related

Software :: Reading And Writing SAC (Seismic Analysis Code) Data Files In Fortran Codes

Dec 2, 2008

I synthesized a seismogram by using Fortran codes, I need plot the synthesized seismogram and the data together, so I can verify the accuracy of code. Now I encounter a question: how to read the SAC data by Fortran code, I have searched some codes on Internet, the details as follow:the velr12a.sac is my data file.

Code:
c read sac file
PROGRAM RSAC
PARAMETER (MAX=1000)
DIMENSION YARRAY(MAX)
CHARACTER*10 KNAME

[Code]....

View 2 Replies View Related

Ubuntu :: Change Data On Location? System Time Always Wrong On Re-boot

Mar 30, 2011

when I installed Ubuntu 9.10 I put in one time setting but it was wrong, and now I don't know where to change it. I tried to change the time preferences, but on reboot I am back to the wrong time.

I know the data is in there somewhere and I can change if I knew where it was.

View 3 Replies View Related

Ubuntu Servers :: How To Change Mysql Data Directory Location In Lampp

Aug 23, 2011

I use dual boot with windos 7. i use xampp in win7. want to use lampp for ubuntu 10.04. i want to use one local server directoy for both . i successfuly changed htdocs location in lampp. but could not change mysql data directory location.

View 4 Replies View Related

General :: Sort All Data In Memory?

Jun 11, 2011

For Linux command sort, how do I force sort to load all input into memory and sort assuming I have enough memory? Or is it best to use a RAMDISK to store the input before feeding it to sort?

View 3 Replies View Related

Ubuntu :: Reading Data From Disk Into Memory

Jun 6, 2011

I have a simple C program that reads a 1 GB file from disk into memory.The first time I run this program, the process takes several seconds. But if I run this program again immediately after it finishes, the read happens almost instantly. What is going on here?My suspicion is that the operating system is realizing that the data I'm trying to read is still uncorrupted in memory (its been freed but not overwritten), so instead of reading it again, it just gives me the same block. I would really like to know what this process is called, or any Googleable keywords that would allow me to research it.

The reason I ask is because the size of my input data has increased. Now I need to read in a 6 GB file (my system has 12 GB of RAM), but I'm not observing the same behavior with the larger file. Each time I run the program the read takes an equally long time.

View 2 Replies View Related

General :: Program To View Data In Memory RAM?

Aug 5, 2011

I'm running a java program and to debug the program instead of using a debugger I would like to look to the heap and to the bytes in the memory of the process. I was hoping that the pointers would give me a snapshot of a moment of the application. It exists a program that allow us to look to the details of a process and to the memory ram?

View 2 Replies View Related

Programming :: Data Structure To Manage Memory?

Oct 1, 2010

I have a mxn matric (which is my simplified way of saying it is RAM with bytes on it) Some of the locations on this metric is filled with some data and some places are empty. The mxn are very big numbers in size. I am trying to make a program so that if a system call wants to write some thing on empty locations on this mxn metric it should be able to do so without any problem. The thing which I want to understand or logic of a data structure is what data structure do you people feel should I be maintaining so that I can allocate the requested space immediately from the above mxn matric when some system call requests for some (k) number of locations from above metrics.

The logic initially I thought was to maintain a hashtable

1bytes requested----------> location 1,location 2,location 3.........location n
2bytes requested----------> location 1,location 2,location 3.........location n
3bytes requested----------> location 1,location 2,location 3.........location n

[code]....

but the problem with above logic is size of the pointers where I will be writing this problem is unsigned 64 byte.So to know location of one free byte if I am maintaining one pointer of type u64 this is not a feasible solution.

View 6 Replies View Related

Server :: NDOmod - Nagios -ndomod: Error Writing To Data Sink

Jan 29, 2010

How do I fix it?

Code:

Code:

Code:

OutPut:

Code:

View 7 Replies View Related

Debian :: Risks Of Data Loss When Writing On A NTFS Using Ntfs-3g?

Mar 6, 2011

Are there risks of data loss when writing on a NTFS using ntfs-3g, and will windows have trouble reading from that system later?

View 2 Replies View Related

Software :: Memory Card Data Recovery Program?

May 18, 2009

A friend of mine asked me to try and recover some photos she deleted by accident on her SD memory card. Normally, I would flip over to my Windows box and do this, but I'm wondering if there is a Linux equivalent to a Windows data recovery program. I'm running Fedora 10.

View 2 Replies View Related

Ubuntu :: Unmounting USB-drive (flash Memory) - Get Data Back?

Jan 6, 2010

I stupidly unplugget my USB-cable, which was connected to my Nokia music phone, just as if I were in Windows. What do I do? I've lost my music on the phone, or, it seems it may be there (the correct mass of data), but my phone now tells me there is no music... Can I recover this? And - what is the correct way to unplug a USB unit in Ubuntu? To make it work, and find the phone/drive - I just typed "sudo lsusb" in the terminal, and it found and opened the memory automatically... How should you unmount the USB, and maybe even how do I get my data back?

View 7 Replies View Related

Software :: Notepad Equivalent - Transfer The Data To Windows Desktop Regularly Via Memory Stick

Sep 27, 2010

I have just started to learn Java programming and need to be able to use a compatible notepad equivalent in Ubuntu i will need to save the data as is,in Ubuntu and be able to transfer the data from my Linux machine to the windows desktop regularly via memory stick i absolutely love Linux and don't want to have to go back to windows to do this.

View 5 Replies View Related

Ubuntu :: OpenMotif : Create Network Location Link As Local Filesystem Location?

Apr 26, 2011

I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?

View 2 Replies View Related

Server :: Memory Peak Caused Server Crash - Data Interpretation?

Dec 16, 2010

Last week my server crashed. I'm trying to diagnose the cause.

This is the relevant error message in /var/log/messages:

Code:

I'm assuming that I can conclude, then, that apache/httpd was the cause of the memory leak?

Next, I've been tracking my memory usage. Using top, this is an average memory load level for my server:

Code:

I'd like to confirm if my understanding of this data is correct, because Plesk indicates that my memory usage is only 50% or less. (Though I have read a number of reports indicating that Plesk's measurements are frequently wrong.)

Top says: Of the 2,073,156K total memory, 1,982,572K (95.63%) is being used, 90,584K (4.37%) is free. Of that sum, 421,948K (20.35%) are being used as buffers. Additionally, of the 2,096,472K of Swap, 60K is used, and 887,700K (42.34%) is cached.

My questions: Is my memory actually being 95% used? Or is the buffered quantity (20.35%) not a use of physical/virtual memory? (i.e. is it disk usage?) Does the amount of cached Swap influence the percentage of physical/virtual memory being used?

In other words, who is correct? Plesk says I'm using 40-50% of my memory, whereas top says 85-95%.

View 6 Replies View Related

Fedora :: "out Of Memory" Message When Plot Certain Data

Aug 5, 2011

The current Octave 3.4.0 on Fedora 15 is giving me an "out of memory" message when I plot certain data. See example below. It depends on the range, and the particular function. Anyone else get this behaviour?

[code]...

View 3 Replies View Related

Ubuntu :: Nautilus Location Bar: How To Write Manually Location

Oct 30, 2010

I have been testing ubuntu 10.10 maverick, it has some nice features. Anyway I am missing the possibility of writing manually the folder you want to go on nautilus using the Location bar. It was used to have some kind of icon which you can click and it switched between graphich breadcrumbs or the location of the folder and you could changed it manually, you know what I mean?

View 2 Replies View Related

Ubuntu :: Edit Location At Location Bar?

Apr 30, 2010

i found that 10.04 hasn't edit location icon at location bar of nautilus. how to get it?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved