Ubuntu :: Is Alt+SysRq+o Shutdown 'clean' With Regard To Disk Buffers?

May 3, 2010

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.

View 6 Replies


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.

View 4 Replies View Related

Fedora :: Clean / Tmp Safely At Shutdown

Jan 20, 2010

I have been using this tip at URL.. to delete the temporary files created in /tmp for quite a few Fedora versions. But, I just found out that it does not work in F12. Is there are reason why it doesn't work?

You can put this into /etc/rc.d/init.d/syslog into the "stop)" section. This will clean up /tmp at every shutdown and keep your disk clean. Please note that you should not run this command when X-Windows is running.

View 7 Replies View Related

Ubuntu Servers :: Run Fsck If Last Shutdown Wasn't Clean?

Jun 13, 2010

I have a file server that has a raid array with a jfs file system attached. Whenever there is a power cut (quite frequently in our house), and the server is not shutdown cleanly, then the raid array is not automatically mounted since ubuntu doesn't know if the journal is clean. I have to then manually run fsck and remount the partition by hand which is a bit annoying. Basically, does anybody know if fsck can be setto run if a non-clean shutdown has been detected, or failing that, on every boot?

View 2 Replies View Related

Ubuntu :: 10.10 Clean Install - Sudden Shutdown / Power Off

Nov 9, 2010

I just did a clean reinstall of Ubuntu (10.04 --> 10.10). After the install, any time I do CPU intensive work, my PC is suddenly shutting down like it's overheating. Everything was working fine for months, and started having problems immediately after the reinstall. so this is not a problem with my hardware, and it's not a problem with my fans needing cleaning -- it's a problem with software. So please don't tell me "that sounds like overheating, clean your fans". Something is different in software-land between 10.04 and 10.10 that is causing this to happen.

I have checked my log files, and can't find anything related to overheating -- searches for things related to lm_sensors, "temp", and "thermal" are not turning up anything in the system logs (syslog, kern.log, or messages). I also looked at the logs around the times of the sudden shutdown, and couldn't find anything unusual. How can I diagnose this? I'd like to file a bug report, but since I can't find anything in the logs, I honestly have no idea how to go about providing useful information. Is there anything besides overheating that might be causing my laptop to suddenly shut off? (I am using a Gateway M-6888u laptop, btw)

View 3 Replies View Related

Debian :: Shutdown Fails On Clean Install

Nov 20, 2010

Did a clean minimal install of Testing in a Virtual Machine (VirtualBox).Login as root.Type "shutdown now".It starts shutting down, then says INIT: Sending processes the TERM signal Give root password for maintenance (or type Control-D to continue):If i press Control-D it goes back to a login prompt.Okay, i maybe missing a point since "shutdown -h now" gives the expected behaviour.Call me old fashioned but I think that a "shutdown now" should shutdown a system, and not effectively reboot the system. There is a reboot command for that.

View 3 Replies View Related

Programming :: How To Properly Clean Up On Asynchronous Or Sudden Shutdown

Jun 6, 2010

I have an user space application that performs file I/O operations, when a SIGKILL is captured, some routines are done first to ensure that all I/O operations are completed before rebooting the application or system. My question is, this won't work if the power button is pressed or the power supply is disconnected, so there can be incomplete I/O operation or corrupted data written into the file, so is there a way to prevent data corruption or at least complete any ongoing operation when this scenario happens? Assuming there is at most 1 second before the power really went out, can I/O be still completed?' I'm running the application on a busybox 2.6.14 kernel on an embedded system board.

View 1 Replies View Related

Ubuntu Installation :: Use Ram Instead Of Disk - Write To Disk At Shutdown

Mar 21, 2011

I have a netbook I'm not using and which I transformed into a server with Apache, Tomcat6, Netatalk, Webmin, BIND9 and Tor.

Problem is, the disks never stop spinning because all of the programs write a few kb at least every few seconds to disk, even when nobody is connected to it.

My question is: Is there a way to have the computer boot from disk like normal (maybe even a squashfs), keep ALL CHANGES to ram and then save to disk when either the ram is full (unlikely because the server is rebooted every few days) or at shutdown?

I thought about a mixture of ramfs and unionfs but I'm not good enough yet...

View 4 Replies View Related

Ubuntu :: Disk / Something To Clean Hardrive?

Apr 2, 2010

I noticed its my hardive that has problems and wont boot any of my operating systems not letting me get to my desktop. Is there a way i can clean it or a disk to do it but without doing it at your desktop?

View 7 Replies View Related

Fedora :: General In Regard With YUM And RPM?

May 14, 2011

As there are few Package Management available in Fedora environment such as YUM and RPM, I would like to know how do you guys keep track of the installation and update when both are used and it appears that they have no knowledge of each others activity.

Basically, if a package is installed using YUM, the vary same package can be installed using RPM and vice-verse. I am not going into dependencies since it even gets worse! I also notice that YUM installation is carried out under a different path than RPM.

Consequently, it is possible to end up with TWO installations of the same package.If I understand correctly, YUM uses RPM for installation and it actually downloads the RPM Source files and place them in a temporary folder: That is the information I came across while I was educating myself on line and I am not sure it is correct. I personally, have looked into the said directory and I am not seeing any of the YUM installation which I have carried out.

View 8 Replies View Related

Fedora :: Enabled SysRq And Can't Take Screenshots?

Dec 1, 2009

I enabled my SysRq key and now can't take screenshots. I have no idea why this happened. I enabled it so that I could have a failsafe way to shut the system down in case of a failure and then this happened.

View 5 Replies View Related

Ubuntu Installation :: Multi Boot Clean Disk?

May 9, 2011

I have a new Hard Disk and i need to make a multi boot The idea is: a single home directory and clean installations of:

Ubuntu 11.04

The problem is:

Can anyone tell me what order its better to install?

Can I install systems of 32 and 64 bits (for example Ubuntu 64 Bits and BackTrack 32 Bits)?

What other operative system recommends?

The mission is simple: Help my family to use different Linux distros.

View 5 Replies View Related

Ubuntu Installation :: Clean Re-install - Live Disk Not Recognized In GRUB?

Apr 18, 2011

I have an old HP PC with 2 drives: Primary (C = 20GB) and a slave (E = 60GB). I have Windows XP Pro OS (which I want to completely replace with Ubuntu). Ubuntu 10.10 is installed on E as a side-by-side (with XP on C). I am done testing Ubuntu and now want to completely replace the XP OS.Ubuntu is installed on E-drive as a partition. ISSUE: When I log on the PC goes directly to the GRUB menu but I get no option to boot from the Live Disk 10.10 during the boot-up.

HISTORY: I have tried (unsuccessfully) to remove Ubuntu from my E-drive by use of the uninstall function from Windows control panel. I have also tried to remove it using the manage/Disk Management process but the "Format" and "Delete" options are unavailable (grayed out) so cannot use that. I would like to do a complete clean up and fresh install of Ubuntu as my only OS.I have read and tried a number of internet articles / recommendations about opening BIOS and redirecting the start-up to the disk, but I do not get any option or any time during the boot to do that.

1) How can I get my HP PC to boot from (recognize) the Ubuntu Live Disk (CD)?

2) Would a complete removal and clean reinstallation be a better approach?

3) And how can I remove Ubuntu from the partition on E (as I want to dedicate the C-drive exclusively for Ubuntu)?

This is my first post so please be patient. I am unfamiliar with this part of the installation process.

View 3 Replies View Related

General :: How To Clean Up Disk Space On /var Partition RedHat5

May 13, 2011

I used to be Novell admin/CNE more than nine years. Since Novell sunset, I study myself and move to Linux...... At daily work, I face a lot challenges of Linux. I really need to get help from experienced Linux people. How to clean up disk space on /var partition Red Hat 5.

View 4 Replies View Related

Fedora :: Enable Magic Keys Alt Sysrq Reisub On14?

Jan 22, 2011

Being able to use magic keys is critical when video drivers are buggy. How can I enable them on Fedora 14?

View 6 Replies View Related

General :: Best Way To Shutdown Hard Disk?

Oct 6, 2010

Right Now I'm using hdparm command in unix to shut down the hard disk but there are few issues with it.

when it wakes back up it consumes
lots power. Is there any other way
to do it?
Many times when I put my
hard disk to sleep, I can see few
bursts at the beginning and then
after a while it goes to sleep. I
think its because of the journaling
system in ubuntu (which I use) Have
anybody encountered that?
What would
be the best linux/unix operating
system (eg: ubuntu/centos/redhat) to
work on extensive hard disk

View 3 Replies View Related

Ubuntu :: Web Page With Regard To Bios Says "Unknown"

Apr 9, 2011

I'd like to update my bios with it, but it seems only windows exe's are provided. Would it work if run from wine? I just ran it, and it doesn't seem to work fully. It shows a web page but with regard to my bios says "Unknown."

View 1 Replies View Related

Ubuntu :: Can't Watch More Than About 8 Seconds Of Video Before It Buffers?

May 20, 2011

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?

View 9 Replies View Related

Fedora :: 14 - Printer HP Deskjet D1460 And - Paper As Was Clean So Clean And Remains

Dec 18, 2010

I have problem with my printer HP Deskjet D1460. My printer is configured and works. When I send a file on the print, the printer clings a sheet of paper and starts to print, but a paper as was clean so clean and remains, after printing.

View 2 Replies View Related

OpenSUSE Install :: Configured Cron To Clean /tmp Directory - Add Other Locations To Clean And Especially /var/tmp?

Oct 11, 2010

I configured cron to clean my /tmp directory, should I also add other locations to clean and especially /var/tmp.

View 4 Replies View Related

Fedora Installation :: Preupgrade :: Work Around "dirty File Systems" On Clean Disk?

Jul 2, 2011

After preupgrade downloads install media and reboots to start install, I get a dirty file systems error on /dev/sda2, my / partition.I fsck'd sda1,2,3,4,5,6 (all clean) and rebooted, ran preupgrade again and got same error. No other disks are mounted other than internal SSD.wtf is going on here? ;-)More importantly how does one get around this error? Only half-solution I have found on the net for this problem is to set allowDirty=1 in upgrade.py and recreate install.img. Have no preupgraded before so don't want to take any more risks than necessary.Thanks for any workarounds....---------- Post added at 03:12 PM ---------- Previous post was at 08:31 AM ----------Anyone have ideas here? I'd like to avoid yum upgrading as that looks to entail more pain.Why on earth does Anaconda see my /dev/sda2 on "/" as dirty when fsck reports it as clean

View 1 Replies View Related

Ubuntu :: Difference Between Apt-get Clean And Aptitude Clean

Feb 4, 2010

Is there any difference between apt-get clean and aptitude clean? Do they both remove the same caches? Should I know any other commands for cleaning up wasted space on my ubuntu laptop?

View 1 Replies View Related

General :: Where Are The Paste Buffers Managed

Jun 19, 2011

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?

View 1 Replies View Related

General :: Status Of UDP Received Buffers?

Jan 20, 2011

I want to know the status of udp received buffer ,before receiving nest packet.Are there any API to know the status of received buffers.

View 2 Replies View Related

OpenSUSE :: 11.2 - Macros Opening Separate Buffers / Windows

Feb 8, 2010

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

View 7 Replies View Related

General :: Synchronous Sync Of Buffers In File System

Jan 11, 2010

As per the documentation of sync [URL] , it schedules the writes but does not necessarily complete the write upon return.

Is there any other way to make sure we sync and it returns after it has written all the buffers to disk?

View 1 Replies View Related

General :: Emacs - Search And Replace Regex In Multiple Buffers?

Apr 7, 2009

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.

View 2 Replies View Related

Programming :: Cannot Use Fixed Size Buffers Contained In Unfixed Expressions

Jun 30, 2011

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.

View 1 Replies View Related

General :: Crontab To Email When Buffers/cache Memory Reached A Defined Value

Jun 18, 2010

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?

View 2 Replies View Related

Software :: Unable To Capture Video With Lavrec And Conexant BT848 - Error Queuing Buffers

Dec 17, 2010

When I try to capture a video with my Conexant BT848 capture card, I get this error:

** ERROR: [lavrec] Error queuing buffers: Device or resource busy

The command I used is lavrec - software-encoding - format = a - input = P - quality = 100 - geometry = 912x576 file.avi

View 1 Replies View Related

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