Ubuntu :: Blank CDs Read With 0 Bytes Memory?
Jan 14, 2010
Every single blank CD i put into my computer show it has 0 bytes of memory and i cannot write things onto them. I dual boot 9.10 and Windows XP, and Windows reads them just fine. Ubuntu will mount the disk as "Blank CD-R Disc, i can access it, and everything works except when i look at the properties it says there are 0 bytes used and 0 bytes free. The drive reads discs with data on them just fine, and they work flawlessly, its just blank discs that dont work. What i need to know is if there some property i need to change or a line i need to put in the terminal to make it read blank discs? Or am i completely screwed?
View 5 Replies
ADVERTISEMENT
Jan 9, 2011
I recently had to move to a new machine, everything went well except for one thing. I did fresh installation of LAMP server all with default configs. Every time I'm using PHP script to that invokes include, require or require_once I get the following error:
Code: Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7680 bytes) in /var/www/index.php on line 2 index.php file: PHP Code:
<?php include "index.php";?>
icukapi.php file:
PHP Code:
<?php echo "test";?>
My memory_limit in php.ini is set to 20M. I tried to increase that however it didn't quite work. PHP seems to allocate all possible space and return that message every time i try. If somebody has an idea of how to fix it I would be more than grateful. I spend quite a long time searching for an answer however the all things i found suggested increating memory_limit which in this case doesn't work.
View 1 Replies
View Related
May 5, 2010
I am trying to write some code that interfaces with an AVR over a serial port. Basically I send a command then read the output which is 6 bytes. I need to receive all 6 bytes before the program continues. Is there a way to do this? If I use read() it returns -1 unless I add a delay before reading the port. Is there a way to get it to read the 6 bytes as soon as they arrive?In python you simply say how many bytes you want and the max time you are willing to wait which seems a whole lot easier than read
View 1 Replies
View Related
Jan 11, 2010
I have recently decided to venture into online blogging and other things, and my friend told me wordpress is a great tool for this. I have set up my mysql database, and apache and php are all working fine, and when i copy my wordpress folder into my /var/www/, and edit the config file for my database, i point my browser to[URL] to get it up and running. But i only get the error: "Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) in /var/www/wordpress/wp-admin/includes/plugin.php on line 302". Some googleing seems to suggest that this may be a problem with a php.ini file, but im assuming this is a windows based solution, and im not sure where/what a linux alternative is.
View 4 Replies
View Related
Apr 20, 2010
in gcc how to read a blank line ie a string of length 0.
my code: Code:
#include<stdio.h>
#include<string.h>
#include<string>
using namespace std;
[Code]....
View 4 Replies
View Related
Jan 15, 2010
I have tried to write my files to 2 (2GB each) USB sticks and both turned into a Read-Only-File-System. Then I tried with my Memory Stick Duo and it also turned into that. So I give my last try with my SanDisk HC Memory Card (from photo camera) and resulted the same. I can copy the files of those portable storages into my HDD fine but not write into them or delete any files inside those portable storages.
View 9 Replies
View Related
Jan 18, 2011
I believe that more than 3GB of memory can be read by 64-bit only.
[user@hostname ~]$ getconf LONG_BIT
32
View 5 Replies
View Related
Jul 14, 2010
My Centos PC has got 1 gig of rams. I'm running a webserver with 2 websites and a mysql service. also i need to start two other programs, which uses ~300-350 mbs/each. My memory usage without them is around 450-500 without them. It was 100MB~ free with everything i need on a sec ago. I've refreshed those two sites and it was ~50 left. SO what, site refresh for each user takes 20 megabytes or something? Is there any way to lower the overall usage without turning off mysql, apache and the two other programs? If there is how? And about number read, it says in the top command on mem like 4.4, 1.2, 2.0, etc.
What does that mean? I thought it's like 2.0=20 megabytes, but it doesn't add up to 450-500 then. And by the way, swap memory is 0kb. I have no possibility adding more rams except paying more 5 dollars a month for another 512. 5$/month is a lot for me (sounds funny)? Check out my country, you'll have to rethink. Especially being a student with no possibility to find a job). As for webhostings, i cannot find anything for free, that I could host my wehsites with ping less than 100 actually. Or <80 if say, then it's php memory limit is too low for my WP blog needs.
View 12 Replies
View Related
Apr 19, 2010
in gcc how to read a blank line ie a string of length 0.my code:
Code:
#include<stdio.h>
#include<string.h>
[code]...
View 3 Replies
View Related
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
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
Apr 6, 2011
basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop
View 2 Replies
View Related
Jan 8, 2011
How do fix my Swap Partition? Last night I added unused space to the main Ubuntu partition. Now I noticed the Swap Partition is always at 0 bytes. I'm using a Sony Laptop, and have enclosed two screenshots. One of the Disk Utility and a system monitor.
View 9 Replies
View Related
Dec 5, 2010
As a recent migrant to Ubuntu from Windows, I was expecting to be able to compare the sizes of two folders or set of folders by Bytes (as in windows). I'm slightly OCD when it comes to my personal files and folders, and I like to maintain identical backups in various pen-drives; as such, I was hoping to be able to track the file sizes of each folder set, but I can only do so in Kilobytes... Is there any application or other means by which to compare sizes in bytes --as is the case in windows?..
View 1 Replies
View Related
Feb 17, 2010
I am a brand new member
here is my question :
in a RedHat configuration :
i need to be sure that a partition has been formatted with those parameters code...
View 3 Replies
View Related
Apr 20, 2010
I have few different usb cards and socets , some of them i have really hotwired.. and i would like to find out where to keep my usb-hdd . few months ago i would use "total commander" it would show .. copying-444Kb/s but these times are over...
View 1 Replies
View Related
Aug 18, 2010
Visibly the 2 tb are not supported by Ubuntu. cfdisk does not like my harddisk not fdisk. I am bit stuck. I havent X11
View 9 Replies
View Related
Sep 2, 2010
I recently cleared out some old partitions, and "/" was getting full so I made it bigger. It went from about 2Gb to 7Gb.
Now when I boot into my OS I get a dialogue saying:
Code:
The volume "Filesystem root" has only 0 bytes disk space remaining
You can free up disk space by removing unused programs or files, or by moving files to another disk or partition I don't see how this is possible. If anything it should have more free space than it had before. how I might go about diagnosing this issue?
View 9 Replies
View Related
Apr 28, 2011
I was saving a few pictures, and I realized that none of them were actually being saved. I went to my home folder and I noticed that I only had 0 bytes left, then I deleted everything in my trash, got some space back, then it disappeared.
View 3 Replies
View Related
Apr 3, 2011
I have just created a usb boot disk so that I can install Fedora 14.I used the following which was successfully. However, I am left wondering what does the bs parameter actually does. I know it mean bytes and copies these at a time. But how do I know what to set it to?dd if=F14-Live-i686.iso of=/dev/sdb bs=8MIn the above example it is set to 8MB. However could I set this to any value that I want?
View 1 Replies
View Related
Sep 14, 2010
I need to get usage's bytes of a specific (src/dst)IP adress;can i use this
#iptables -L -n -v -x
with the other options that get only byte of the specific IP address?
View 4 Replies
View Related
Dec 17, 2008
How do i fill a file with <n> bytes at a given value ,for example 3?
View 3 Replies
View Related
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
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
Mar 28, 2011
I am wondering if it's possible to log the number of bytes a connection transfered when the connection is complete with iptables. I know I've seen this sort of information in Cisco FWSM logs, where the "Teardown" entry of the logs has the bytes transferred for that connection. Is it possible to have something similar to that with iptables? Where the initial connection attempt is logged (i.e. NEW, which I have logging fine) AND an entry for that connection that includes the bytes transferred?
View 6 Replies
View Related
Dec 5, 2010
This question is only partially linux-related, but I accidently typed cp file /dev/sda2 instead of cp file /mnt/sda2. The first 300 bytes or so of the ntfs partition were overwritten and now it can't mount and can't boot. I figured I would try copying the first 4096 bytes from another ntfs partition and see if that gave it enough to at least boot. It didn't and I'm wondering if there's any way to fix this sort of thing easily (without downloading an entire Windows 7 DVD) and what exactly I overwrote that was so important.
View 5 Replies
View Related
Mar 4, 2011
I have a vector of octets that needs to be converted to a std string. I'm currently doing it this way:
Code:
stringstream ss;
for (unsigned int i=0; i < data.size(); i++
{
ss << data[i];
}
string s_data = ss.str();
This works, but is there any better way to do it?
View 2 Replies
View Related
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
Aug 17, 2010
I lost an important file. I know what bytes the file begins with. How can I search the partition for the sequence of bytes?
View 4 Replies
View Related
Oct 11, 2010
I have an external hdd which is formatted with fat for use by both on linux and windows. The issue is that I can't delete some of the files I have which show up with size 0. Also, the modification timestamp (as detected by Krusader, the file manager I am using) is 1935. How can I delete these kind of files without affecting the running fs?
View 1 Replies
View Related