[Bug 624877] Re: INFO: task dpkg:23317 blocked for more than 120 seconds.

Alex Bennee bugzilla at bennee.com
Fri Sep 14 16:45:45 UTC 2012

Thanks to Ted for clearly elucidating the two competing issues. For the
time being we can't move from 10.04 (whole OS upgrades tend to be
unpopular with customers for point releases). However as the kernel lock
is always triggered by dpkg I'm hoping that just fixing dpkg will be
enough. I assume if you make the system quiescent enough but shutting
down all I/O the kernel will eventually un-wedge itself and allow a
sync() based dpkg to complete?

Anyway I've tested Michael Jeanson's patch and I can confirm that even
under a highly I/O loaded system dpkg now does work it's way (slowly)
through a bunch of packages and eventually completes. I'm fairly happy
to ship it in our products repositories although of course look forward
to upstream finally adopting the fix.

Are there any regression tests I can run against dpkg to make sure
nothing else is broken?

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.

  INFO: task dpkg:23317 blocked for more than 120 seconds.

Status in The Linux Kernel:
Status in “dpkg” package in Ubuntu:
  Fix Released
Status in “linux” package in Ubuntu:
Status in “dpkg” source package in Lucid:
  Fix Committed
Status in “dpkg” package in Debian:
  Fix Released

Bug description:


  [Test Case]

  [Regression Potential]

  [Original Report]
  I try´d today to update my system with "aptitude update && aptitude dist-upgrade -y"

  Every time its stick on

  Preparing to replace language-pack-en-base 1:10.04+20100422 (using .../language-pack-en-base_1%3a10.04+20100714_all.deb) ...
  Unpacking replacement language-pack-en-base ...

  when I try to kill the task with "kill -9 9440" I have still no

          │               │                              └─{aptitude}(9408)
          │               └─bash(22500)───pstree(9460)

  only when I kill 9408 I can interupt the command.

  My dmesg ist full of curious messages (see file I attach)

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: linux-image-generic
  Regression: Yes
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.32-24.39-generic
  Uname: Linux 2.6.32-24-generic x86_64
  AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
  AplayDevices: Error: [Errno 2] No such file or directory
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  Date: Thu Aug 26 20:54:17 2010
  MachineType: MSI MS-7522

  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=a2eace54-399d-4efe-bbf2-c76c44d2b6ea ro iommu=soft vga=0x317 nomce quiet splash
  SourcePackage: linux
  dmi.bios.date: 01/07/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V8.8
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: MSI X58 Pro-E (MS-7522)
  dmi.board.vendor: MSI
  dmi.board.version: 3.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
  dmi.chassis.version: 3.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV8.8:bd01/07/2010:svnMSI:pnMS-7522:pvr3.0:rvnMSI:rnMSIX58Pro-E(MS-7522):rvr3.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr3.0:
  dmi.product.name: MS-7522
  dmi.product.version: 3.0
  dmi.sys.vendor: MSI

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list