I'm still able to reproduce this problem. On this try my system froze
because of this deadlock. It wasn't even possible anymore to login in
the console.

** Description changed:

  I'm using Ubuntu 11.10 dev. I have changed my virtual memory settings
  and they look so:
  
  vm.dirty_background_bytes = 0
  vm.dirty_bytes = 16777216
  vm.dirty_expire_centisecs = 0
  vm.dirty_writeback_centisecs = 0
  vm.laptop_mode = 1
  vm.swappiness = 0
  
  If vm.dirty_bytes is reached all processes are blocked until the dirty
  memory (shown in /proc/vmstat as nr_dirty) is flushed. The problem is
  that currently all processes get blocked but nr_dirty is not flushed.
  The system will hang in an I/O loop until nr_dirty is flushed. If a
  process is trying in this time to write something it will hang. This
  will make the system unuseable. A workaround is to use the command sync
  in this case.
  
- This can be easily reproduced with the command "dd if=/dev/zero of=hog". 
After a second the dd command can't be killed anymore. It will only end after a 
sync.
- --- 
+ This can be easily reproduced with the command "dd if=/dev/zero 
of=/some_ecryptfs_folder/data". After a second the dd command can't be killed 
anymore. It will only end after a sync.
+ ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  AplayDevices:
-  **** List of PLAYBACK Hardware Devices ****
-  card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
-    Subdevices: 1/2
-    Subdevice #0: subdevice #0
-    Subdevice #1: subdevice #1
+  **** List of PLAYBACK Hardware Devices ****
+  card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
+    Subdevices: 1/2
+    Subdevice #0: subdevice #0
+    Subdevice #1: subdevice #1
  Architecture: amd64
  ArecordDevices:
-  **** List of CAPTURE Hardware Devices ****
-  card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
-    Subdevices: 2/2
-    Subdevice #0: subdevice #0
-    Subdevice #1: subdevice #1
+  **** List of CAPTURE Hardware Devices ****
+  card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
+    Subdevices: 2/2
+    Subdevice #0: subdevice #0
+    Subdevice #1: subdevice #1
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  sworddragon  16255 F.... plugin-containe
-  /dev/snd/pcmC0D0p:   sworddragon  16255 F...m plugin-containe
-  /dev/snd/timer:      sworddragon  16255 f.... plugin-containe
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  sworddragon  16255 F.... plugin-containe
+  /dev/snd/pcmC0D0p:   sworddragon  16255 F...m plugin-containe
+  /dev/snd/timer:      sworddragon  16255 f.... plugin-containe
  Card0.Amixer.info:
-  Card hw:0 'NVidia'/'HDA NVidia at 0xf7ff8000 irq 22'
-    Mixer name : 'VIA VT1708S'
-    Components : 'HDA:11060397,18490397,00100000'
-    Controls      : 31
-    Simple ctrls  : 19
+  Card hw:0 'NVidia'/'HDA NVidia at 0xf7ff8000 irq 22'
+    Mixer name : 'VIA VT1708S'
+    Components : 'HDA:11060397,18490397,00100000'
+    Controls      : 31
+    Simple ctrls  : 19
  CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order 
/var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: No such file 
or directory
  DistroRelease: Ubuntu 11.10
  EcryptfsInUse: Yes
  Lspci: Error: [Errno 2] No such file or directory
  Lsusb: Error: [Errno 2] No such file or directory
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  PciMultimedia:
-  
+ 
  ProcEnviron:
-  LANG=de_DE.UTF-8
-  SHELL=/bin/bash
+  LANG=de_DE.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-5-generic 
root=UUID=c98c50c2-e2c4-4f84-af0f-73d5e54b25fd ro
  ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
  Tags:  oneiric
  Uname: Linux 3.0.0-5-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio dialout lpadmin plugdev sambashare sudo
  dmi.bios.date: 04/21/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P2.10
  dmi.board.name: N68-S
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP2.10:bd04/21/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68-S:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/811654

Title:
  I/O deadlock on ecryptfs if the dirty memory is full

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/811654/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to