Ubuntu :: Get "unallocated" Flash Memory To Function?

Jan 1, 2011

I have a flash memory stick which according to GParted is "unallocated". As such it does not appear in File Browser or Gnome terminal. How can I get it to function? I don't mind formatting it but it is not showing. GParted will not let me change anything.

View 2 Replies


ADVERTISEMENT

Programming :: Seg Fault. Memory Address Not Being Passed To Function?

Apr 19, 2010

I am writing a game in C with SDL. I can successfully display one image on the screen and animate it. However, I am having a lot of issues getting the background to display using the same method. I was asking for help on SDL related forums, but I determined that the issue is not SDL related, and it is actually a pointer issue. However, I can't find where I'm going wrong.

Code:
#include <SDL/SDL.h>
struct image

[code]...

View 4 Replies View Related

Programming :: Alloc_task_struct() Function Allocates 8 KB Task_union Memory Areas?

Dec 30, 2010

alloc_task_struct( ) This function allocates 8 KB task_union memory areas. The function takes memoryareas from the cacheif it is at least half-full or if there isn't a free pair of consecutive page frames available.

View 3 Replies View Related

Programming :: Memory Allocate In Function And Call It By Reference For Array Structure?

Jul 2, 2011

I am writing a function(in C language in Linux) to initialize an array of a structure from a mysql table by calling a function by reference but I have a problem with call this function by reference . this is my program:PHP Code:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

[code]...

View 4 Replies View Related

Programming :: Realloc(): Invalid Next Size / Getting Error With Reallocate Memory In MakeDSt Function For DSt->SArray?

Jul 19, 2011

I wrote a test program for learning usage of realloc() and I thin I did everything right but I get this error exactly with my 4th time that while tries to reallocate memory in MakeDSt function for DSt->SArray:

Quote:

realloc(): invalid next size

this is my complete code :

Code:
#include <stdio.h>
#include <stdlib.h>
typedef struct DRA
{
code....

View 2 Replies View Related

Ubuntu :: USB Flash Memory Not Detected

Oct 3, 2010

I've just installed ubuntu 10.04 on a Lenovo Thinkpad Edge. Problem is that it generally doesn't detect the USB memories that I've been trying to use. On two occasions it did in fact detect the flash memory, but it couldn't open/read it for some reason (USB memories works on other computers), but all the other times the USB flash memory didn't even show up in Nautilus.

I am no techie so I'm not sure how to check what the problem is here. I've been googling it but either it refers to some specific stuff that doesn't cover my case or it simply is too technical for average users like me to understand.

View 4 Replies View Related

Ubuntu :: Format Flash Drives/memory Cards ?

Jan 4, 2010

how to format flash drives in ubuntu. In windows there was a "format" on the right click menu but I did not find one in ubuntu. i am using ubuntu jaunty.

View 4 Replies View Related

General :: Using Sdcard As Flash Memory?

Apr 1, 2010

i want to use sdcard as flash memory to port linux(uclinux) image , so that i can boot using my arm7(lpc2148) microcontrollerIn other words, can we use sda card to dump linux image and boot from microcontroller)

View 3 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

Ubuntu :: File Copying Freezes - Flash Memory Card

Jul 3, 2010

Using 10.04 Netbook version. I am finding on my Asus EEE 901 that sometimes file copy just seems to freeze - seems to happen usually when copying from the built-in SSD memory to the plug-in SDHC memory card. I have tried reformatting the card and using a different card. It is not just this computer since I found the same thing on my last Asus which was the 900 model.

I am told that there are issues with Nautilus. Is there anything which can be done to improve this or is there anything else which I can install besides Nautilus? I am assuming that there is some issue related to Ubuntu's handling of SDHC memory cards.

It is becoming annoying because it seems to work sometimes and then not. When it happens only option seems to be to turn the netbook off and on again. Even if the file copy is cancelled the card seems to be unaccesible until rebooted.

Also after a certain point it seems that when I try and copy new files to the card, they appear to copy ok but obviously are corrupt in some way - when you try to play videos for instance they are faulty.

View 3 Replies View Related

OpenSUSE Hardware :: How To Format Flash Memory

Dec 23, 2010

My flash memory does not okI can`t make format , capy or delet any file how can i format it

View 2 Replies View Related

General :: Use Sdcard As Flash Memory To Port?

Apr 1, 2010

i want to use sdcard as flash memory to port linux(uclinux) image , so that i can boot using my arm7(lpc214 microcontroller ( can it be implemented).

(In other words, can we use sda card to dump linux image and boot from microcontroller)

View 4 Replies View Related

Programming :: Calculate Flash Memory End Address Of A Certain File?

Mar 9, 2011

how to calculate (if possible) the end address of an image file in a flash memory. I'm trying to create a checksum and checkheader function and the info that I got is the file's offset, how many sector it consumes and its size. I kinda need the end address, sad thing is, I don't know how to calculate it.test.img's start address is 0, the size is 0x20000 and consumes 3 sectors.

View 6 Replies View Related

Debian Hardware :: How To Limit Access Flash Memory For Users

Dec 22, 2014

How to limit access flash memory (read / write) for users on debian?

View 2 Replies View Related

Debian Hardware :: Any Prorgam For Checking Flash Memory For Errors?

May 13, 2010

Is there any prorgam for checking USB Flash memory for errors, defects, bad clusters, etc...?Like MemTest86+ for RAM, but to check USB Flash-drives.

View 9 Replies View Related

Fedora Hardware :: Flash Memory Card Reader / Writer

Jan 20, 2010

Looking for a card reader/writter that will support most current card types. I am running Fedora 12 x86_64. Are there any gotchas, that I need to watch for? Also, Internal vs. external, any benifits of one over the other, or is it just personal preference?

View 2 Replies View Related

Fedora Hardware :: Can't Write To Flash Memory. Automatically Set As Read-only

Jan 21, 2010

I used to be able to write to my SD memory card but just recently it is being automatically mounted as read-only. I checked the read-only tab and tried to set it to the lock position, and to the unlock position. Neither position makes a difference. It was working normally a few days ago. I also tried changing the permission using su

ls -lt gives the following result
drwxr-xr-x 4 col root 16384 1970-01-01 01:00 CANON_DC
chmod chgrp and chown in su mode don't change anything either.

I tried mounting a different 1GB SD card and it works perfectly. I noticed that when I mount this card I get a window asking me what I want to do, but I don't get this on the other card. It must some kind of setting related to the unwriteable card.

I am using F10 2.6.27.41-170.2.117.fc10.i686

View 3 Replies View Related

General :: Finding The Memory Address(in FLASH) Of A Command In Shell Script?

Mar 29, 2011

If i have a shell script to run on a Linux unit, which has a command to Reset(or say upgrade) the unit in between the script.Is it possible to find out the memory address of the next waiting command so that i can store the address to any environment variable in flash , then after Reset will continue Run from the stored address.

View 3 Replies View Related

General :: Any Real Alternative To CPRM-protected SD Memory Cards Beside USB Flash Drives?

Apr 19, 2010

Before buying an SD memory card, I'd like to know something more about the CPRM protection, in particular:Does CPRM influence the way I am supposed to access my own data? That is, does CPRM encrypt it? Could CPRM prevent me from accessing my own data?Is it possible to disable or eliminate CPRM from either the memory card or the card reader?Are there manufacturers selling CPRM-free SD memory cards?Is there any real alternative to CPRM-protected SD memory cards beside USB flash drives?Is Linux support for SD cards good?

View 1 Replies View Related

OpenSUSE Hardware :: Multi-function Epson Stylus Sx218 - Can Not Run The Scanner Function ?

Mar 24, 2011

I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.

View 9 Replies View Related

Programming :: How Can A Friend Function Access A Public Function From A Base Class

Nov 16, 2010

Code:
#include <iostream>
using namespace std;

[code]...

View 1 Replies View Related

Programming :: Passing Data From Interrupt Handler Function To Tasklet Function?

May 18, 2010

I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.

View 2 Replies View Related

Ubuntu :: Swap Or Swap File On Flash Memory?

Aug 16, 2010

RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.

By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).

A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.

So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?

View 2 Replies View Related

OpenSUSE :: Get Function Set_magic_quotes_runtime() To Function On The Newer Versions?

Mar 30, 2011

I'm currently using OpenSuse 11.1 web server. This is bad since 11.1 is no longer supported. the reason why I am using it is because Function set_magic_quotes_runtime() was no longer being used. (so I was told)

That being said, is there a way to get Function set_magic_quotes_runtime() to function on the newer versions of OpenSuSE?

View 9 Replies View Related

General :: Write Script To Use Function And Still Keep Function Active?

Feb 21, 2010

the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:

-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).

Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?

View 6 Replies View Related

Ubuntu Installation :: From A USB Flash Memory Stick - Warning "VFS: Cannot Open Root Device "sda6" Or Unknown-block(0,0)" And Kernel Panic On First Boot

Apr 24, 2011

I am trying to install Ubuntu 10.10 from a USB flash memory stick. It works fine until around 95%, where I get the following warning/error:

[Code]....

I click OK and the installer seems to finish nicely, except the terminal throws several errors along these lines (see photo):

[Code]....

I tried also with 10.04 LTS, the difference being that the install warning appears two or three times instead of once. Some results from googling (Ubuntu Forums, Ubiquity bug) suggest unchecking the initial update options. I am going to try this but I'm not sure if I'll be able to get the boot loader right (there seemed to be problems with this).

View 7 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

Ubuntu :: Memory Error When Installing Python - Cannot Allocate Memory

Apr 19, 2010

I get this error when I run "sudo apt-get install python-software-properties"

Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
fork failed: Cannot allocate memory
E: Sub-process /usr/bin/dpkg returned an error code (2)

I'm trying to install deluge via ssh and my vps has 512mb ram and is only using 11% of it prior to running the code.

View 2 Replies View Related

Programming :: Bash Array Add Function Example Using Indirect Array Reference As Function Argument?

Jun 20, 2010

I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.

#!/bin/bash
addelementtoarray()
{
local arrayname=$1

[code]....

View 10 Replies View Related

Ubuntu :: Memory Leak / Some Process Eating All Memory

Jan 29, 2011

I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.

View 9 Replies View Related







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