Software :: Write() Syscall Hangs Up
Jun 8, 2010I had a problem that my write() syscall hangs up. The write is writing data to a file descriptor which is a slave pty.
The write executed inside a loop.
I had a problem that my write() syscall hangs up. The write is writing data to a file descriptor which is a slave pty.
The write executed inside a loop.
If the calling process passes me the virtual address of an its array for example, how can I access it without using copy_from_user?
View 2 Replies View Relatedhere is my working code :
Code: #include <stdio.h>
#include <stdlib.h>
#include <string.h>
[code]....
I am trying to install Ubuntu 10.10 x64 on a HP Pavilion p6565uk.
My PC is x64 compatible, although ubuntu will not install.
I don't get to any gui, it says ubuntu will continue install in 5 seconds, at 0, nothing happens. The CPU light is flashing, but nothing happens.
After about 10 minutes, it reboots, but when the HP splash screen shows (Before the boot selection screen) it just hangs. I have to do a hard shutdown to boot back up.
I am using wubi for install.
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies View RelatedIve installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies View RelatedI can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files
View 1 Replies View Relateddf -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.
du -sh /* | sort -gr | head -n 5
I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.
For a given user on a given networked system, starting KDE (slackware 13.1 stock) hangs during the startup. CNTL+ALT+Fx gets out, and KDE / X can be shutdown with a CNTL+C, however, afterwards doing a df hangs bash.My guess is that there is something IO oriented, as top shows a load of 9+.
There is 5% iowait according to iostat.
IIRC, we had this same problem with VLC a version or two ago, but it was with Xfce. Now in KDE 4.9.5, VLC 1.1.6*, will freeze if you click on, "Media" then "Open File." However, if you click on "Media" and pick a selection off of the "Recent Media" list, it plays said media just fine.
View 4 Replies View RelatedWorking with 8.2 DVD installation for about 5 days, Debian newbie. As subject says, screen goes dark and hangs indefinitely.
This guide: [URL]... similar to others I've read. I've done everything there to section: Status and Logs of Services, and that's as far as I've gotten.
Guide suggested posting some files, so here they are:
Code: Select all#
# Grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
[Code] ....
i have been using F10 and before that F8, so after release of F11 i couldn't resist to install. system specifications are:Intel Pentium D 2.8 GHzRAM 512MbHDD 80Gbthe only problem is that it ceases and it's unexpected. sometimes i loose my work although it is not of much importance but it is that way.for initial few times i hoped it as a bug. but i think it is not.i love Fedora i looking forward to use it.only my mouse is moving all others locks up.one thing i used "unexpected" because it all happens regardless of any specific applicationor any time duration.all i need after it happens is to restart manually using restart button.i don't know whether my graphics driver is right or not?graphics seems right but during scroll it doesn't looks good.
View 6 Replies View RelatedI have been using F10 since its release and have not had any trouble until now. During my last session, I ran an update. Today when I boot my desktop (single boot btw), it hangs just after the boot loader. The only sort of warning is:
eth0: link up, 100Mbps, full-duplex, 1pa 0x45E1
I have browsed the forums to no avail. Other have the same issue, but with no posted solution. I have tried disabling NetworkManager, but I think it may be the service that runs after NetworkManager.
I have recently rebooted after applying weeks of updates and I cannot login through ssh. In the /var/log/secure log it shows the public key is accepted but the session never gets to a bash prompt and ctrl-c must be issued from the connecting xterm. I have tried to connect from several other redhat and ubuntu machines all with the same result.
View 1 Replies View RelatedfC 12 hangs at auto logon. It was working fine and other than updates haven't made any changes. I have a backup image a week or so old that I can revert to, but was hoping to do a repair. Anyways it gets to the logon window and that's it.
View 2 Replies View RelatedAbout a week after I installed F12 on a brand new system, a friend came over and went on to play poker on facebook. At some point he yelled that the PC froze. I was working on another machine at the time and tried to ssh to the supposedly hung system, but couldn't; Except for playing poker he had audacious open and about 3 seconds of the song that was playing at the time of the hang, kept looping. Neither Ctrl+Alt+Backspace nor any of the Alt+SysRq combos had any effect whatsoever, so I had to press the reset button (and I have to say this was the first time I had to do so in linux after almost a decade of using it, save for a hiccup with my first gentoo kernel).
The system usually freezes if there are two or more sound streams, but that is not always the case. The best way to get the system to crash is by playing something in audacious or rhythmbox while seeking through a video in mplayer or vlc or having flash content appear in firefox (I am using adobe's latest 64-bit flash plug-in and have been using it without any problems -though on other systems- since F10). Also most but not all the times the system is going to hang, there are a few skips in audacious every ~10-30 minutes. I've been getting the lock-ups with every kernel released so far.
My system logs don't contain any useful info after each hang; there are however certain problems mentioned in syslog which I thought they could be relevant, but they always appear whether the system works fine or not, namely the following:
Code:
I used to get a lot more of these with previous kernels:
Code:
Code:
This one appeared every now and then until Dec 25:
Code:
And this one is always there:
Code:
Finally, at every boot I get this from abrtd, but it doesn't seem to be related:
Code:
Yesterday, I devoted the entire day to hunting down the culprit, but I couldn't get the system to hang; I had rhytmbox, audacious, totem, vlc, mplayer and vlc all playing music and videos simultaneously from local disks, network shares and through upnp, I got myself a facebook account in order to play that zynga poker thing, I upgraded alsa-lib to 1.0.22 from updates-testing, rebooted countless times, but the system didn't hang nor did any of the above messages disappear.
Today as I was browsing through some web pages, one of which had an interactive flash ad, while listening to music and the system froze again.
System specs:
i've installed nvidia driver by
Code:
yum install akmod-nvidia
every thing went ok , but after reboot the system hangs right after
[code]...
My Fedora 12 Hang in the GUI Log In screen.
Some time can boot in runlevel 3 sometime cannot.
From my CentOS box I'm giving this Hard info:
Code:
I have a problem in fedora 12. During playing of mp3, some times the song hangs for about 20-30 seconds, and resume with the seconds added of the blocking period.
This problem is indifferent of player. I've used exaile, audacious, banshee and rythmbox. I have noticed that when this happen in /var/log/messages appear this message:
Code:
The pc is a notebook acer aspire 5715z with cpu intel t2390, chipset intel gm965/ich8-m, vga intel x3100.
Does not matter if I first start Xorg from GDM or from console (runlevel 2 then startx), but after I upgraded to Fedora 13 Xorg is hanging on the first run.
I have to always kill Xorg and then start again. Second run works fine.
I'm trying to run CentOS 5.5 on QEMU/KVM (Virtual Machine Manager) but it randomly hangs during the installation.. Someone is having the same problem?
View 6 Replies View RelatedBoot-up hangs at black screen with blinking cursor in upper left corner for over 2 minutes before continuing. I select F 14 with grub hit the enter key and go straight to a black screen with blinking cursor. Hitting the esc key does nothing until boot-up actually starts. Afterwards, boot-up is perfect. I had this problem a few upgrades ago and the fix was simple but I can't remember what I did. I've searched every phrase I can think of and can't find a thread that addresses my problem.
I have a F 13 kernel on my machine and have no problem booting it.
Dual-boot, F 14 and windows 7, 64 bit.
I installed OpenSUSE 11.2 and manipultes Window Behavior from Personal Settings so I can't access to my account while login. I use kde. Now I can access the system from the root login. How can I restablish the kde default settings on my account from the root account?
View 6 Replies View RelatedI've been using OpenSUSE (11.2) and ssh to access my Ubuntu Server (8.04). The problem is that when I give the shutdown command to turn off the server (sudo shutdown -P now), OpenSUSE hangs and I can't close bash and the computer locks up. I then need to turn my OpenSUSE box off by pushing the power button. Any idea what might be causig this?I'm not sure if this is the right place to ask this question because I don't think this is a bash problem but I wasn't really sure where to ask this question.
View 6 Replies View RelatedI have an ACER TravelMate 6003LMI with openSUSE 11.3 and I updated now to KDE 4.5. So far, the update went fine, but now I cannot login anymore. openSUSE 11.3 boots up to the login prompt, I'm logging in, the KDE progress bar reaches about 75% and then it hangs up.
/etc/X11/xim: Checking whether an input method should be started.
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale de_DE.UTF-8 ...
There is no default input method for the current locale.
Dummy input method "none" (do not use any fancy input method by default)
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
Fetched layout groups from X server: layouts: ("de") variants: ("nodeadkeys")
Invalid D-BUS member name 'idle-hint' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection .....
I was so pleased with Ubuntu (9.10) on my desktop that I installed it on my laptop, too. However, on the laptop (but not on the desktop) I cannot shut down properly. I get a black screen with the following text:
Ubuntu 9.10 (my computer name) ttyl (my computer name) login: (flashing cursor)
On one occasion I got:
Ubuntu 9.10 (my computer name) ttyl (my computer name) login: init: usplash main process (10187) killed by TERM signal
In either case it hangs there and does not completely shut down.
I installed selinux and it caused ubuntu to stall/hang on shutdown, so I got rid of it, and it is still hanging. The splash stops at the third/fourth progress dot and just sits there.
View 1 Replies View RelatedI have been trying to install Ubuntu 10.04 on a Dell Dimension 4100, Pentium III 800 Mhz with 512MB of memory. This was a clean install on a brand new hard drive with Ubuntu as the only OS using the entire disk. Using the desktop CD the install will go smoothly then hang at 95%. I also tried the alternate install with no luck. The system boots to Grub Rescue prompt and I am unable to do anything from there as the commands seem to be very limited, most are unrecognized.
I can run the live CD without problem , and I have included the results from the boot info script below.
[Code]...
I upgraded from 8.04 to 10.04 LTS. Now when booting it hangs and drops me to a initramfs shell. This is a scsi machine with 3 drives. The error I get before dropping to the shell is that the drive with the uuid in menu.lst does not exist.If I type "exit" at initramfs, it finishes booting in a couple of seconds. The uuid is correct and maybe this is a timeout error of some kind. This is a machine that I would want to reboot without having to walk over and type "exit" at the initramfs prompt.
View 3 Replies View Related