Emacs Io Error Writing Input Output Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow input/output error linux the company Business Learn more about hiring developers or posting ads with us Unix & input/output error ubuntu Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users
Rm Cannot Remove Input Output Error Linux
of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise
Ls Cannot Access Input Output Error
to the top “Input/output error” when accessing a directory up vote 39 down vote favorite 9 I want to list and remove the content of a directory on a removable hard drive. But I have experienced "Input/output error": $ rm pic -R rm: cannot remove `pic/60.jpg': Input/output error rm: cannot remove `pic/006.jpg': Input/output error rm: cannot remove `pic/008.jpg': Input/output error rm: cannot remove `pic/011.jpg': Input/output error $ ls -la pic ls: cannot access pic/60.jpg: ls reading directory . input/output error ubuntu Input/output error -????????? ? ? ? ? ? 006.jpg -????????? ? ? ? ? ? 006.jpg -????????? ? ? ? ? ? 011.jpg I was wondering what the problem is? How can I recover or remove the directory pic and all of its content? My OS is Ubuntu 12.04, and the removable hard drive has ntfs filesystem. Other directories not containing or inside pic on the removable hard drive are working fine. Added: Last part of output of dmesg after I tried to list the content of the directory: [19000.712070] usb 1-1: new high-speed USB device number 2 using ehci_hcd [19000.853167] usb-storage 1-1:1.0: Quirks match for vid 05e3 pid 0702: 520 [19000.853195] scsi5 : usb-storage 1-1:1.0 [19001.856687] scsi 5:0:0:0: Direct-Access ST316002 1A 0811 PQ: 0 ANSI: 0 [19001.858821] sd 5:0:0:0: Attached scsi generic sg2 type 0 [19001.861733] sd 5:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB) [19001.862969] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.865223] sd 5:0:0:0: [sdb] Cache data unavailable [19001.865232] sd 5:0:0:0: [sdb] Assuming drive cache: write through [19001.867597] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.869214] sd 5:0:0:0: [sdb] Cache data unavailable [19001.869218] sd 5:0:0:0: [sdb] Assuming drive cache: write through [19001.891946] sdb: sdb1 [19001.894713] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.895950] sd 5:0:0:0: [sdb] Cache data unavailable [190
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User
Cannot Open Directory . Input/output Error
Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: input/output error centos Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu ls reading directory . input/output error centos Official Flavours Support Hardware [SOLVED] External Hard Disk Input/Output Error After a While Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory it, thanks ! Results 1 to 4 of 4 Thread: External Hard Disk Input/Output Error After a While Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode January 26th, 2015 #1 Peptid View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date May 2012 Beans 39 External Hard Disk Input/Output Error After a While Dear All, I have https://ubuntuforums.org/showthread.php?t=2262571 a Seagate external 2 TB harddisk. I am trying to copy files to it using rsync. Here is the problem; after the process starts, I obtain 'input/output error'. Rsync continues the process, however I cannot read the harddisk directory. This problem only occurs after a while, like one hour later. Previously I used this harddisk to backup my MacBook and I did not receive this error; the process continued like eight hours without an error. I also use another 1 TB external harddisk without any problem. I used GParted to partition the disk with gtp partition table and ext4 format. I ran fsck command and did not obtain any errors. I also include the last lines of the output of dmesg command. I am on a Dell Latitude with Linux Mint 17, if this is relevant. Cheers. [88701.514439] usb 4-1: new SuperSpeed USB device number 10 using xhci_hcd [88701.533031] usb 4-1: New USB device found, idVendor=0bc2, idProduct=ab21 [88701.533035] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [88701.533038] usb 4-1: Product: Backup+ BL [88701.533040] usb 4-1: Manufacturer: Seagate [88701.533041] usb 4-1: SerialNumber: NA763GH1 [88701.534485] EXT4-fs error (device sdf1): ext4_put_super:791: Couldn't clean up the journal [88701.534490] EXT4-fs (sdf1): Remounting filesystem read-only [88701.545973] usb-storage 4-1:1.0: USB Mass Storage device detected [88701.547478] scsi17 : usb-storage 4-1:1.0 [88702.553
ssh exit abnormally. Date: Thu, 18 Dec 2008 11:39:58 +0800 User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) hi, all. I use the latest cvs version emacs, and come across a problem, https://lists.gnu.org/archive/html/emacs-devel/2008-12/msg00665.html i think it may be a bug, problem details as follows: my machine env: $ cat /etc/SuSE-release SUSE Linux Enterprise Server 10 (i586) VERSION = 10 $ /lib/libc.so.6 GNU C Library http://blog.endpoint.com/2009/12/editing-large-files-in-place.html development release version 2.4 (20060616), by Roland McGrath et al. $ uname -a Linux sbox 2.6.16.21-0.8 #1 SMP Mon Dec 10 09:28:01 CST 2007 i686 athlon i386 GNU/Linux the emacs process output error takes 100% cpu, and when strace the process, it outputs: gettimeofday({1229568244, 285707}, NULL) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM], [HUP ALRM TERM IO], 8) = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfdab1a8) = -1 EIO (Input/output error) ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B4000000 opost -isig -icanon -echo ...}) = -1 EIO (Input/output error) write(3, "\7", 1) = -1 EIO (Input/output error) gettimeofday({1229568244, 286053}, NULL) = input output error 0 gettimeofday({1229568244, 286087}, NULL) = 0 gettimeofday({1229568244, 286119}, NULL) = 0 rt_sigprocmask(SIG_BLOCK, [IO], [HUP TERM IO], 8) = 0 ioctl(3, FIONREAD, [24]) = -1 EIO (Input/output error) kill(13574, SIGHUP) = 0 rt_sigprocmask(SIG_BLOCK, [ALRM], [HUP TERM IO], 8) = 0 gettimeofday({1229568244, 286310}, NULL) = 0 rt_sigprocmask(SIG_UNBLOCK, [ALRM], [HUP ALRM TERM IO], 8) = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfdab1a8) = -1 EIO (Input/output error) ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B4000000 opost -isig -icanon -echo ...}) = -1 EIO (Input/output error) write(3, "\7", 1) = -1 EIO (Input/output error) gettimeofday({1229568244, 286629}, NULL) = 0 gettimeofday({1229568244, 286662}, NULL) = 0 gettimeofday({1229568244, 286694}, NULL) = 0 rt_sigprocmask(SIG_BLOCK, [IO], [HUP TERM IO], 8) = 0 ioctl(3, FIONREAD, [24]) = -1 EIO (Input/output error) kill(13574, SIGHUP) = 0 rt_sigprocmask(SIG_BLOCK, [ALRM], [HUP TERM IO], 8) = 0 and i grep the source code of emacs, and found: emacs/src/keyboard.c:7030 if (!terminal_list->next_terminal) /* Formerly simply reported no input, but that sometimes led to a failure of Emacs to terminate. SIGHUP seems appropriate if we can't reach the terminal. */ /* ??? Is it really right to send the signal just to this process
tips Running out of disk space seems to be an all too common problem lately, especially when dealing with large databases. One situation that came up recently was a client who needed to import a large Postgres dump file into a new database. Unfortunately, they were very low on disk space and the file needed to be modified. Without going into all the reasons, we needed the databases to use template1 as the template database, and not template0. This was a very large, multi-gigabyte file, and the amount of space left on the disk was measured in megabytes. It would have taken too long to copy the file somewhere else to edit it, so I did a low-level edit using the Unix utility dd. The rest of this post gives the details. To demonstrate the problem and the solution, we'll need a disk partition that has little-to-no free space available. In Linux, it's easy enough to create such a thing by using a RAM disk. Most Linux distributions already have these ready to go. We'll check it out with: $ ls -l /dev/ram* brw-rw---- 1 root disk 1, 0 2009-12-14 13:04 /dev/ram0 brw-rw---- 1 root disk 1, 1 2009-12-14 22:27 /dev/ram1 From the above, we see that there are some RAM disks available (there are actually 16 of them available on my box, but I only showed two). Here's the steps to create a usable partition from /dev/ram1, and to then check the size: $ mkdir /home/greg/ramtest $ sudo mke2fs /dev/ram1 mke2fs 1.41.4 (27-Jan-2009) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 4096 inodes, 16384 blocks 819 blocks (5.00%) reserved for the super user First data block=1 Maximum filesystem blocks=16777216 2 block groups 8192 blocks per group, 8192 fragments per group 2048 inodes per group Superblock backups stored on blocks: 8193 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 29 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. $ sudo mount /dev/ram1 /home/greg/ramtest $ sudo chown greg:greg /home/greg/ramtest $ df -h /dev/ram1 Filesystem S