Ubuntu :: System Halts For A Short Time When Get Back?
Nov 12, 2010
I have installed ubuntu 10.10 for a short time, now I meet a problem:I always leave for lunch and leave my computer without turning off. When I get back, it shows a window. after I input my password, I enter my system.Then It halts, the only thing what I can do is moving mouse. After halting for nearly one minute, it resumes to normal.I hope someone can tell me what happens.
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
I installed network-manager-vpnc, configured cisco vpn through NetworkManager. It works slow, but the bigger problem is that after minute or so the connection just freezes.Then I tried kvpnc. It works like it should from speed point of view. But it also hangs up after minute or two.Tried to change MTU of my wired connection to 1500 - no good.Tried to uncomment line in /etc/ppp/options "mru 542" - no good.
Created /var/run/vpnc because it was giving some error "can't open pidfile /var/run/vpnc/pid for writing".From logs everything seems fine except for "nm-dispatcher.action:Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1." in last line. If I use kvpnc it gives no errors.SO, how do I debug this thing or does anyone knows something I don't in this case?
Yesterday I was working on my laptop using the windows 7 partition. At some point it froze and I ended up just having to shutting it down by holding in the power button. When I started it up, it said something along the lines of "can't find bootable partition".
So I made myself a ubuntu flash-drive, and ran Code: sudo fdisk -l
This is my output. Code: Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x74836e35 .....
Just installed Ubuntu 9.04 last night. All seems perfect except on shutddown. It seems to go through all shutdown processes but right about the time you expect the computer to turn off a message says: "system halted [4027.514883]" Have Googled it but no matches. If I just push the on/off button at that point it shuts off immediately
I am wondering if pthread could make that a single thread keeps the "mutex" all the time if the time it remains unlocked is very small.
thread1 { while (1) { lock; do_task(); unlock();
[code]...
I experiment the thread2 never getting access to the mutex and never printing the nice message. I would expect that once thread2 calls "lock", it would get the mutex as soon as thread1 calls unlock() but it does not seem to be the case. If I add a sleep of some microseconds (100) in thread1 after unlocking the mutex, it solves the problem.
Does anyone know if this behaviour is normal? Is there a way to configure my mutex so that thread2 receives it when unlocked?I use
I think this might be related to the changes to using udev or DeviceKit. It started when I was running the beta versions of F12. Then it crept into Debian Sid. And my Arch Testing and Gentoo also suffer from the same.
What happens is that I'll be working along. Then when I press any key it is as if the SHIFT key is pressed. When I press CAPSLOCK, some of the keys react as they would normally. This never lasts for more than 5 minutes. And seems to happen infrequently. I say seems because there are the times I am at work and it could be that the same thing is happening only there is no one on the keyboard.
The reason I pick out udev/DeviceKit is that when it used to happen to F12 beta, the other distros had not yet made the move. So back then it was only a F12 issue. Now it is happening across the board. And only started recently.
I am backing up data from a remote server onto a local ntfs partition. It seems that the rm -rf and cp -a commands are taking a long time to complete in what should be short, incremental backups.Has anyone had similar problems when backing up to an ntfs partitionHere is my rsnapshot.conf:
I am trying to start Damn Small Linux from a USB stick on a HP t5000 thin client. When starting in Default mode the system just stops. When starting i failsafe mode, the text rolls on the console until the message "RAMDISK: Compressed image found on block 0" and then hangs..What does that mean? What could be wrong? Can I run the image without using a ramdisk?
This isn't a problem with the 2.6.26 kernel that I have been using, but it is with newer ones. I want to upgrade to a backports kernel, because there has been a REALLY long standing 2.6.26 bug with cpu frequency governors and suspending that is never going to get fixed.
Basically, with the 2.6.30 backports kernel, the hard drive spindown time is way too short. I'd like it to spin down after a minute or two of inactivity, but it is spinning down after only 5-10 seconds. Is there any way to fix this? edit: Now that I think about it, this is also a problem on another laptop that runs squeeze.
Has anyone got Ubuntu 10.04 working on their Dell Inspiron 1100? Most of the time, the screen goes black a short time after boot. Sometimes it goes black right after the splash screen, sometimes I get to log in and then it goes black a little later. Same results when trying to boot into "safe graphics" mode. Ubuntu 7.10 works fine on this machine (although I had to do some special configuration in xorg.conf to get it to work way back when I installed it.) However, it does not appear to be possible to manually configure X in 10.04. I tried disabling the splash screen in grub based on suggestions I found for other Ubuntu versions, but that had no effect on the problem.
Is it possible to replace X with the most recent version that could still be manually configured? Would anyone know how to go about doing that?
Alternatively, if it's impossible to get this old machine to run new versions of Ubuntu, has anyone had success with (relatively) new versions of other distros on it?
I updated Fedora 9 yesterday. I rebooted earlier and now the desktop starts for a very short time then disappears followed by a window opening and closing for a few goes. After this nothing! YUM does not work, neither does Firefox! A bug report informed me there was a Python problem but I can find no reference to this anywhere.
For like windows you can resore your os to a state of peace kind of. If you messed up your vital files you could go back in time and restore you computer to a selected time. I was wondering if you could do that for ubuntu
it was possible to back up time machine back ups from a mac in ubuntu.
I use a mac at work and use time machine to back up to an external hard drive which i take home each day. I wish to back up the time machine back ups off the external hard drive each day to my computer at home just to be safe is this possible?
I have managed to open the hard drive and have enabled view hidden files so i can see all the files but i am unable to copy them due to permission errors
Though under Windows my Internet connection works fine and fluent under Debian linux it connects and disconnects repeatedly at short amounts of time. It didn't used to be like that but at a certain time i was forced to install pppoeconf to get my DSL internet connection going, after that even if i've uninstall pppoeconf and now i'm only using nm-applet to monitor my internet connection i still have this annoying problem.
The situation: computer based on Asus P6T motherboard. Two RAIDS:
- 'boot', on motherboard built-in RAID controller (CentOS 5.5 installed on this RAID) - 'data' on 3dware RAID card
At one moment a CPU fan fails and the system halts. After the fan is replaced, BIOS informs it's reset and all the inner controller data are forgotten. After I switch it to 'RAID' mode, it remembers it was a mirror raid (RAID 1) installed, but the file system on it is completely trashed.
The 'data' RAID run by external controller isn't affected by the system failure. Three questions:
- is it worth trying to install OS on the rebuilt 'boot' RAID once again? Looks like if BIOS settings are lost for some reason, there's chance of completely losing RAID data - has someone encountered similar problem with built-in RAID nd was it possible to recover data? - will the software RAID be worth creating instead of using hardware RAID to replace the 'boot' drive?
I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.
I can set it right by coping the hareware time to system time with this command:
Code: hwclock --hctosys
I want to run a crontab to have that command run every minute. But it don't seem to run.
When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.
get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct
I installed Ubuntu inside windows(Win 7).Both works good.I found that system time is wrong in both OS.Every time i Change it manually but it changes again on reboot!
How many of you guys use Back In Time as your backup utility? I tried using it, and it doesn't copy all of the folder contents to the backup drive in one pass. For example, it will copy 26 out of 80-ish gigs of data. To further complete the backup, I have to hit the "Take a snapshot" button to do another pass to add more data to the snapshots. I have to do this a couple times to get all the data.Does anyone else have this issue?
[UPDATE] It appears to copy all of the files at once, so long as you only select one backup location at a time. I was backing up an entire multimedia drive, my home directory, and my usb drive. When I had it set to only do the multimedia drive, it copied all of the files, whereas it wouldn't if I had set it up to back up all 3 locations at the same time. I guess the lesson here is to backup one location, then add another, get another snapshot, and repeat.
I have my system and software and data on my computer on an internal drive. On that system I have Back in Time backup software. I use Back in Time, to backup my data to an external drive.
Question: If my computer dies or my internal drive fails, I have to completely re-install everything including my system and Back in Time. If I want to restore my data from the good external drive, how can I do that with Back in Time? Doesn't it keep the Snapshots info or preferences on my dead drive? Or do I need to point my freshly re-installed Back in Time just to the data drive and it will recognize the snapshots etc. automatically?
I've been using Back in Time on Maverick (originally on Karmic) for some time but in the last couple of weeks I haven't been able to make new backups. Here's my output:
below is the default for a week using the program backintime@weekly nice -n 19 /usr/bin/backintime --backup-job >/dev/null 2>&1Did I edit the crontab right for once a week on friday at 12am?0 0 * * 5 nice -n 19 /usr/bin/backintime --backup-job >/dev/null 2>&1
I used Back In Time (BIT) to back up my data to an external USB drive on Ubuntu 12.04. After problems with Ubuntu I made a fresh install of Debian 8.3. In Debian I have installed BIT and can see the USB drive. However, BIT cannot see the old snapshots. I had thought I would be able to restore on the new install.
My time keeps getting thrown off by about 15 minutes. It corrects itself randomly but then goes back! Not sure yet if it's decrementing slowly or if it takes 15 off all at once.ntpdate ntp.ubuntu.com puts it back, output is:Code:15 Jul 08:09:29 ntpdate[6157]: step time server 91.189.94.4 offset 1056.199059 secCurious what the "offset" means. Is there a way to ensure it keeps constant time without having to do it manually?
I have recently installed ubuntu as my main operating system, everything has been working great except every time I re-boot the resolution resets back to a default. How can I get it to default to 1440x900?