Programming :: TBP ERROR: No Buffers Available In Free Buffers List
Jan 8, 2010
I am trying to test a Gigabit Ethernet Tattile line scan camera. I installed the driver properly set the ip of device using utility given in the driver. when i am trying to open the live view of camera using a utility given (tag_show) it gives me error in /var/log/messages TBP ERROR: No buffers available in free buffers list When i looked into the code of utility it is doing ioctl call where it is failing with errno=12.
I'm struggling with a C# program to read binary records from a database. The records were created with Borland Delphi. Error: You cannot use fixed size buffers contained in unfixed expressions. Try using the fixed statement.
I have this project for my operating systems class and I have put together the basic flow chart to aid me in writing the program. I know how to use pipes as a buffer to hold info. I know how to create a binary semaphore. But what I dont know is this:
How to "use a delay adjustment parameter K in the critical section to adjust the speed of the display process to show that without semaphore protection the displayed contents of the buffer are randomly interleaved."
First off, I am definitely not asking anyone to give me the solution. But I do need some guidance. So I figure there will be an if statement with two options:
1. If true, use semaphore protection to enter/exit critical section
2. If false, no semaphore protection -- this is where the contents of the buffer should be interleaved.
Now does that mean that as each child process enters the non-protected critical section, it should "sleep" for a randomized time? I mean, will this allow my output to be interleaved?
So lets say my command line looks like this:
what happens to the 100? Is it randomized using rand and srand and passed as a parameter to sleep() inside the critcal section?
On standard Linux setups you have two general paste buffers, the main copy(^C)/paste(^V) one and the select-text/middle-click one. For both of these buffers:
At what level in the environment are these buffers stored/managed; the kernel, the X server, KDE/Gnome, or some other service somewhere? Can they be programmatically accessed somehow using some standard library?
Everyone always told me Ubuntu is a perdy Speedy OS. Im thinking otherwise so far, unless Im missing something. Basic problem where i see the lack of speed compaired to when this same machine is running windows 7 comes to web browsing. Mainly ..... vids. i downloaded Flash from the software center and downloaded java with the help of some commands i looked up. I cant watch more than about 8 seconds of video before it buffers. This common?
I switched from 11.1 to 11.2 last month. I'm now having a smoother experience with openSUSE, with some exceptions.
One is Emacs. A rather annoying "feature" that has appeared is the following: When editing a LaTeX file, compiling it (C-c C-c, using AucTeX macros) makes the Emacs window become shorter by one line. The same happens if I switch to some other buffer. It does not happen if I switch back to the LaTeX buffer. So, after just a few editing/compiling/checking errors sequences I find the original window half of its initial size...
A similar problem occurs when editing IDLWAVE scripts (it's a proprietary scientific data analysis language widely used in my field, but still has its Emacs macros), but only if I open an interactive IDL-shell to run the script.
So, I imagine it's not a problem related to AucTeX, although it might be related to the macros opening separate buffers/windows (e.g.: error messages) associated with the current buffer. Also, the problem does not go away if I remove my own .emacs customization files. Checking the Emacs bug lists, it seems that there are some bugs related to window resizing, although I have not been able to find exactly the same problem I am having. But, before reporting this one, I'd like to hear from fellow Emacs/openSUSE users. Just in case I'm messing things up somehow.
Currently using: Emacs v 23.1.1 Some more info: Dell Precision M65 portable workstation, NVIDIA Quadro FX1500 using the binary NVIDIA driver). Using OpenSuse 11.2 + KDE 4.3.1
I'm fairly comfortable with emacs but I can't seem to find how to do this. I deal with a lot of text files and find myself performing a lot of regular expression replacements to correct the formatting of the text -- or to extract certain tidbits of data from large ugly-looking files.
I know how to perform a regular expression replacement in one buffer at a time. But how do you perform a regular expression search and replace across all open buffers? I have found a method to perform a regex search and replace across a directory by marking files but I need to do it in the open buffers.
I've been having a bad problem with X freezing up (but not the whole system), and I hate continually performing unclean shutdowns with the power button.Will an Alt+SysRq+o shut down the system in a way that doesn't cause the loss of disk buffers? Obviously, whatever hasn't been saved to the buffer will be lost, but my concern extends to the buffers themselves.ext4 and autofsck make this less of an issue, but I hate the thought of unnecessary silent corruption until the freezing stops.
I have a Linux server running CentOS with 2GB RAM. I am searching in google and also in this forum but could not find any luck yet. I am searching the way that we can receive notification by system to a specified email when the memory reached a specified value we defined.
Is there any tool or sort of shell script we set via crontab every minute to check that?
During playing around sources, synaptic playing I messed up the default list. I know I should have been more careful. Anyways could someone tell me what the default the default sources.list that has free and non free etc for squueze please? I have been trying to get the default list but I cannot find it anywhere. There are alot of lists out there but nothing tagged like the "default" list.
Having a bit of an issue with Python while trying to write a script to download every rar file on a webpage. The script successfully downloads any link that doesn't contain any spaces, etc. But when it hits a url like: [URL] (Classical Spelling).rar. It fails...I'm sure this is something simple, but I'm so new to python I'm not sure what to do!
Code: import urllib2 import os os.system("curl [URL] -i rar|cut -d '"' -f 2 > temp.out ") infile =open('temp.out', 'r') for url in infile: print url #url = "[URL]"
I have 160gb laptop. i installed vista in c primary partition which is 25gb and installed ubuntu in d primary partition which is 20gb. A remainig for my data. Now i tried to install CENT OS by formatting ubuntu. I inserted CENT OS DVD and restarted and i selected to delete my /dev/sda2 which is showing 20480mb and it shown me free space. but i tried to add partion /boot of 100mb it got added. but, when i am trying to add / of 3000mb in the remaining 20380mb free space it showing an error message that no free space is available.
How would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?
I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.
#!/bin/sh # Wget script to retrieve modules from slax.org modules # # ----Begin of user defined values ----- # Path to wget
I wish all of my Internet connections will go through a proxy server. HTTP as well as FTP, and every other type of link. How can i do that? On top of that, is there a free ubuntu-users' public proxy list?
under windows, when i call free() on a non-pre-allocated char pointer nothing happens, but when i do the same call under linux the whole application crashes :/
is there anyway to avoid crashing? safe free() call that does nothing when fail?
Just i want to ask doubts in c programming. I dont know whether this is the right place to ask doubts in c. If this is not a correct place, may i know where can i get help for c programming?is there any active forum or mailing list for c programming?
I learned Java(SE,EE) few years ago and didn't use it because we are using PHP and ASP.NET at work.However, I would like to ask a question: Is Java (SE,EE) free for use for business purpose?I mean,if I start up a company and use tomcat with java, do I have to pay for the license to use Java?I don't know much about java license until I learned that ASF(Apache Software Foundation) quited from the Java Community recently.As a result,they recalled my attention regarding the legitimacy of using java in business purpose for free.
I need MatLab for a course at the university, but it's not an open source software as all of you know, so I wanted to know if there are valid freeware alternatives. I was told to use Octave or Scilab if I didn't want to buy the license and so I would like to know what's better in terms of MatLab compatibility and ease of use, if there are any other (and maybe better) alternatives and also if there are free Simulink-like programs.
Is there a way to hook calls to new/malloc, delete/free in C++? I tried the following methods: LD_PRELOAD -> fails for malloc, because dlsym seems to depend on malloc -Wl,--wrap,malloc -> doesn't work for 'new' gcc hooks -> doesn't work always, e.g. for uclibc there are no hooks Are there any other methods I could try?
I would like to have on a website a notepad ONLINE, so that my friend and me can work on a document TXT together or well we can refresh it every 5min...
well such online notepad is not free... anyone has an idea where it is possible to find the code for this. I am not good in PHP, and not informatician.
My father and I wanted to learn how to use linux better so we opted to go with freespire. well, without my knowing my dad partioned the harddrive of the computer off (34g NTFS with windows installed) and the rest of our 80g hardrive for freespire. Well in an attempts to remove freespire I deleted the partion and formated it to NTFS and now I get the grub error 22. I can not opt to boot into windows. It goes to the error screen immeditaly after post. I can however boot from cd/floppy and I am currently running freespire off the disk. I would like to out right remove freespire for the time being (untill Im more well learned) and simply have a second partion avalable. also, prior to my foolish act of deleting and reformating the freespire partition windows did not see any other partition.
We have a program that catalogs to 40 different mount points. The program is fine as long as thier is free space on at least one of the 40 mount points. My boss wants me to come up with a script that will email us daily to know how much overall free space is left. I know I can do a df but I don't know how to combine the 40 mount points into a single disk used/disk free report.
The 40 mount points are /dev/mapper/areaxx, xx being 01 to 40.