Software :: Block Driver Error While Reading Data

Jan 22, 2010

i am writing sample block driver while reading data i am getting below error

i am not getting what is this error

BUG: sleeping function called from invalid context at kernel/sched.c:4684 in_atomic():0, irqs_disabled():1

Pid: 5364, comm: test_buf Not tainted 2.6.27.42 #1
[<c041f1d4>] __might_sleep+0xae/0xb3
[<c063ae43>] wait_for_common+0x1f/0x117

[Code]....

View 5 Replies


ADVERTISEMENT

Fedora :: Voice Logger Boot Failure-reports 'error Reading Block 33051'

Jan 18, 2011

Voice logger boot failure-reports 'error reading block 33051'

View 1 Replies View Related

Fedora :: Recall Voice Logger Fails To Boot - Reports Error "reading Block 33051"

Jan 18, 2011

I'm working on a Total Recall Voice logger that fails to boot.The voice logger has fedora installed.Its reports 'error reading block 33051,run fsch manually'. It also requests for root password for maintenance.Can someone pls help me out, and what could the root password be?

View 1 Replies View Related

Networking :: Serial Port : Read Data, Not Reading Complete Data?

Mar 5, 2010

I have an application where I am sending data via serial port from PC1 (Java App) and reading that data in PC2 (C++ App). The problem that I am facing is that my PC2 (C++ App) is not able to read complete data sent by PC1 i.e. from my PC1 I am sending 190 bytes but PC2 is able to read close to 140 bytes though I am trying to read in a loop.Below is code snippet of my C++ AppOpen the connection to serial port

Code:
serialfd = open( serialPortName.c_str(), O_RDWR | O_NOCTTY | O_NDELAY);
if (serialfd == -1)

[code]...

View 5 Replies View Related

Ubuntu Networking :: Broadcom On 2.6.34 - Reinstall Error Code: Reading Package Lists ... Done Building Dependency Tree Reading State Information

May 20, 2010

i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...

[Code].....

View 9 Replies View Related

Fedora :: Reading SDHC Camera Card - Most Of The Image Is A Grey Block

Sep 29, 2010

I have tried putting the SDHC card in before switching on laptop, after, unmounting and remounting several times... on the odd occasion (1/10?) it reads fine, but more often than not, i can see thumbnails of all the images but on opening the file it comes out wrong...either most of the image is a grey block - so can see a tiny bit of sky then its as if it hasn't rendered the whole image...or, the image is striped horizontally, with as if a film negative has been shredded and then misaligned with the colours going wrong...is there an update, something to install to fix this? ETA: - its not the card which works perfect on other laptops and its not the card reader it opens fine in windows 7 on the same computer.

View 10 Replies View Related

General :: After Writing Successfully A NAND Block Is This Reliable Ar Reading As A NOR Sector?

Apr 7, 2011

Am interested in using MT29F2G08AABWP NAND Flash memory for a new embedded design and I couldn�t find a clear specification regarding how reliable is the NAND flash vs. NOR for reading operation.If I program successfully a NAND block, read back and verify successfully the information and never erase or program that particular block again, can I assume that block will remain a good block and the information written there is safe for READING, roughly as safe as a NOR sector?

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

Programming :: Reading Data From Multiple Files?

Mar 17, 2011

I have a folder which includes bunch of folders each having data files in them. [ Folder A has F1, F2 F3 ..... F1000 folders in it, and F1, F2, F3 ... each has about 10 different files named FILE 1, FILE2, FILE3 .... in them.

I am interested in File 1 of each Folder, because that contains the data I need in it. More specifically, that File1 s have a line "ANSWER=..." in them, and i need to get that value of the ANSWER from each file. So doing it by hand is so hard, so I need to write a script that will scan all folders and give me a list of values of eache ANSWERs.

View 4 Replies View Related

Programming :: Reading A File Of Data In An Array?

Feb 10, 2011

I have two files of data with different numbers of columns and rows. I want to read this two files in two arrays and then compare for example the second column of first data file with the third column of the other text file and if the difference between of two numbers is less than a threshold then the program print the information in the rows which fulfill this condition in the third text file. I have written below program but the problem is that it does not go through all rows of second file.

declare -a a
declare -a b
r=` awk '{n++} END {print n}' second.txt `
echo $r
awk '
{

[Code]....

Actually I have two data files one of them contains 44406 and the other one has 12066 rows and I want to check whether the difference between the components of two specific columns is less than a threshod but I have simplified it here. I had written this code and then I have realized that this code just goes through the number of rows as the same as the first.txt file and ignores the rest. I could not find the problem yet.

View 2 Replies View Related

Ubuntu :: Reading EXIF Data From TIFF Files

Aug 9, 2010

I'm having trouble reading EXIF data from TIFF files. Both 8 bit and 16 bit fail to load EXIF data via eye of gnome and GIMP and I'm not sure why. Neither files downloaded online nor rendered from Bibble 5 seem to work. Using Ubuntu 10.04 64bit and GIMP 2.7.2.

View 2 Replies View Related

Fedora :: Reading A Data From CD / Dvd Is Very Slow After Change Motherboard

Mar 28, 2010

Recently changed my motherboard. The new board has the 790FX/SB750 chipset, and the old board used the 770/SB600 chipset. Prior to the change, I had never had any problems reading/writing CDs or DVDs. I now find that reading a data CD is very slow, it can take up to 30 secs before the icon appears on the desktop and a filer window appears. In my tests thus far, only data CDs written on Linux can always be read, albeit slowly. Data CDs written on Windows are variable. Some are never seen by the system, others may or may not be opened. That is I might be able to read it during one test, and next time I try I can't.

When a CD is not 'seen', there is an initial flurry of activity by the drive, but the drive icon (in "Computer' window) doesn't think a disc is in the drive. I can boot OK off a DVD, and data DVDs wrtten on Linux are opened and read quite fast. I am running Fedora 12 x86_64 with the latest Fedora kernel package (2.6.32.9-70), and the Motherboard bios is the latest available. The CD/DVD drive is a SATA Pioneer DVR-215. I have checked the bios settings, and have tried setting 'storage configuration' to IDE and to AHCI, each giving the same result.

I tried switching the SATA data cable from SATA-3 to SATA-2 and was able to open and read a Windows data CD that had previously not been seen, but subsequent attempts have failed to open and read that CD. I suspect the problem may have something to do with hardware drivers, but I really am guessing about this and have not been able to find any useful information on this.

View 6 Replies View Related

General :: Reading The Manufacturer Data / Device ID On A USB Drive?

Jun 28, 2011

I wish to read the Manufacturer data and other details such as Device ID, Serial number on a USB drive.

1. Could anyone help me out with information on the memory structure of a USB drive? (which location is the mnfr data stored?)

2. Are there are any commands in Linux that will help in reading/accessing this data?

View 3 Replies View Related

Programming :: Clearing Cache - Reading Data Upon Investigation

Apr 9, 2009

I have been saving an XML file wherein I shall be reading data, if and only if the XML is present on Hard Drive. If same is not present, the code shall generate first and next time it shall simply read and not jump into writing part again and again. The issue that I am facing is, I am deleting the file manually going to that location, and checking whether it is reading the data, upon investigation, I found that it is really reading the data although the file is deleted.

I suspected that there may be some cache issue from where it is picking values, hence it fired the command
"sync; echo 3 > /proc/sys/vm/drop_caches"
But it is still doing the same pattern.

View 2 Replies View Related

Programming :: Displaying I/O Possible When Reading Data From The Serial Port?

Aug 31, 2009

I have got a problem while reading from the serial port. I'm working on iMX-31 board and Eclipse IDE. Whenever I'm trying to read any data through the serial port, it's displaying I/O Possible and the application is being terminated. After reading I'm trying to write this data on a file. Here are the excerpts from the code:

# int main()
{
if (openport()<0)

[code]...

View 7 Replies View Related

Ubuntu Security :: Home Folder - Reading Data Encrypted With Old Version

May 17, 2010

If I wanted to transfer a home folder that was encrypted to another ubuntu computer could I? If I had a separate home partition that was encrypted, but I wanted to upgrade ubuntu to the latest version by doing a clean install is there an easy way so that I can still read the data encrypted with the old version?

View 5 Replies View Related

Programming :: Writing And Reading Driver Value In Ioctl?

Jan 18, 2011

I just want to read and write some values (integer) to my driver. I used put/get user but always getting errors.

driver

Quote:

int Wert;
static int device_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsinged long arg)
int ret;

[code]...

Quote:

int WERT
ret=ioctl(fd, SETIT, WERT)
ret=ioctl(fd, GETIT, WERT)

if i say in C++ WERT is 5 the value arg of the driver becomes 5 but not WERT the returnvalue of get and put user is -1 so it failed.

View 12 Replies View Related

Fedora :: RAMDISK: EOF While Reading Compressed Data ...Kernel Panic - Unable To Mount Root?

Jul 31, 2010

I was following this tutorial on How install the rpmfusion nvidia drivers in Fedora 13Here's the tutorial:Quote:Originally Posted by leigh123linuxF13 Howto for the rpmfusion nvidia drivers This is a Three-Step Process. If you don't follow all three steps, your install will fail!1. Install the nvidia driver. ( if you have 4Gb of RAM or more you will probably have a PAE kernel [32bit only] so follow the PAE part )For GeForce 6, 7, 8, 9, 200 & 300 series cards

Code:
su
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-

[code]...

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

Fedora :: Install Firestarter: Insufficient Privileges + Visudo Error + Error Reading /proc/ne

Dec 1, 2009

i try today to install Firestarter , unfortunately i got some problems regarding of the following messages:

1- insufficient privileges :
2- how can i change and save the file /etc/sbin/firestarter with visudo cammand
3-i got this message when i try to run it through terminal Error reading /proc/net/ip_conntrack: No such file or directory

View 5 Replies View Related

Debian Configuration :: Error Starting Domain: Internal Error Process Exited While Reading Console Log Output

Sep 9, 2010

I have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied

The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?

View 1 Replies View Related

General :: Corrupt Oracle Data Block Manually Using Dd Command From Sysem?

Mar 1, 2010

How can I corrupt oracle data block manually using dd command from Linux?

View 2 Replies View Related

Programming :: Block Device Driver ?

Nov 30, 2010

Is there an easy example of a block device driver I could follow as a guide to write my own module?

View 5 Replies View Related

Ubuntu Installation :: Error Occurs. "(Reading Database . . . 55%dpkg: Unrecoverable Fatal Error , Aborting: Files List File For Package?

Feb 11, 2010

i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.

View 9 Replies View Related

Software :: File Operations Through Block Driver?

Jan 25, 2010

i have written block driver. its got registered succesfully.now i want to perform file opration like opening file reading/writing data into file which is stored into device.fter registration device node is created under /dev/xxx i am not getting, through this node how to open file which is stored in device.from one document i came to know that i have to use filesystem but in that doc how to use filesystem is not explained

View 4 Replies View Related

Software :: Usb Block Driver And SCSI Aommands For Host Controller?

Jan 23, 2010

i am writing block deriver for usb device in linux i want to read and write data to/from usb device i already registered usb device with my driver and opened the handle for the usb device now i need to send scsi command to usb device to make it work but i dont have knowledge about scsi commands and how and where to use them now i need to know which scsi command i need to pass to the usb device and how can i pass that command to usb device also i need some information like how to register host controller with my usb driver

if anyone knows about this or where can find the tutorials / documentation/ framework for the same.

View 1 Replies View Related

Ubuntu :: Freezing Due To An Error Reading HDD?

Mar 29, 2011

hard drive I already pretty old and sometimes there `input / output error` when copying ... It is normal that when referring to hard drive system hangs for a while?

View 1 Replies View Related

Ubuntu :: Can't Get Anywhere With Lucid CD - "104280EF" - I/O Error - Error Reading Boot CD

Jun 9, 2010

After using Hardy on this machine for the past 2 years, I figured maybe it's time to try Lucid. So I burnt a Lucid live cd, and get the following message:

[quote]

/quote]

Pressing keys has no effect. [b]Ctrl+Alt:F[i]n[/n] doesn't do nothing.Nor does anything else I try. If I click on the Reboot button, it ends up wgere it started. Ogh, and the numbers 104280EF are also on the screen.

There's also a pretty picture accompanying all this: something that looks like a very small spreadsheet, and a stick-figure in a circle and... and I don't know what the heck is going on.

View 2 Replies View Related

Ubuntu :: Error Reading Package Lists

May 20, 2011

Fairly new install of 11.04, installed from CD I burned from ISO. It's been updating fine up to now but all of a sudden started giving these errors. This is from Terminal sudo apt-get update attempt:

Code:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty-updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
Plan of action?

View 1 Replies View Related

General :: Live Cd Error Reading Boot Cd?

Apr 26, 2010

I am having a laptop with Vista installed on it. I have an Ubuntu live CD (karmic) which is refusing to boot on this machine. I get an error : "Error reading boot CD" and a reboot button. I have tried this cd on other machines and it works fine. I tried live CD of kubuntu also but the same error message appears. What could be the reason?

Machine spec: 2GB RAM, Intel core 2 duo processor.

View 5 Replies View Related







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