← Back to team overview

kernel-packages team mailing list archive

[Bug 1037648] Re: Hanging I/O causes multipath not to work properly

 

This issue was fixed via multiple patches. Most of them can be found as
follows: git log --author="Bart Van Assche"
drivers/scsi/{scsi,hosts,scsi_lib}.c block

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1037648

Title:
  Hanging I/O causes multipath not to work properly

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  After switching a few times between paths I noticed that device-mapper
  started logging the following messages:

  [ 2478.345027] device-mapper: table: 251:0: multipath: error getting device
  [ 2478.346588] device-mapper: ioctl: error adding target to table

  And in the output of echo w >/proc/sysrq-trigger I noticed that
  several I/O threads were hanging:

  [ 4474.630041] Call Trace:
  [ 4474.631257]  [<ffffffff811712e0>] ? sync_buffer+0x0/0x50
  [ 4474.631257]  [<ffffffff8155ed83>] io_schedule+0x73/0xc0
  [ 4474.631257]  [<ffffffff81171325>] sync_buffer+0x45/0x50
  [ 4474.631257]  [<ffffffff8155f3cf>] __wait_on_bit+0x5f/0x90
  [ 4474.631257]  [<ffffffff811712e0>] ? sync_buffer+0x0/0x50
  [ 4474.631257]  [<ffffffff8155f478>] out_of_line_wait_on_bit+0x78/0x90
  [ 4474.631257]  [<ffffffff810864b0>] ? wake_bit_function+0x0/0x40
  [ 4474.631257]  [<ffffffff811712d6>] __wait_on_buffer+0x26/0x30
  [ 4474.631257]  [<ffffffff812180a8>] journal_commit_transaction+0x498/0xe40
  [ 4474.631257]  [<ffffffff81077d4c>] ? lock_timer_base+0x3c/0x70
  [ 4474.631257]  [<ffffffff81078819>] ? try_to_del_timer_sync+0x79/0xd0
  [ 4474.631257]  [<ffffffff8121b95d>] kjournald+0xed/0x250
  [ 4474.631257]  [<ffffffff81086470>] ? autoremove_wake_function+0x0/0x40
  [ 4474.631257]  [<ffffffff8121b870>] ? kjournald+0x0/0x250
  [ 4474.631257]  [<ffffffff810860f6>] kthread+0x96/0xa0
  [ 4474.631257]  [<ffffffff810141aa>] child_rip+0xa/0x20
  [ 4474.631257]  [<ffffffff81086060>] ? kthread+0x0/0xa0
  [ 4474.631257]  [<ffffffff810141a0>] ? child_rip+0x0/0x20

  The above call stack was triggered by running a fio data integrity
  test on a filesystem on top of a dm device while switching over paths.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-42-server 2.6.32-42.95
  Regression: No
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.32-42.95-server 2.6.32.59+drm33.24
  Uname: Linux 2.6.32-42-server x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
  AplayDevices: Error: [Errno 2] No such file or directory
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D3p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info: Error: [Errno 2] No such file or directory
  Card0.Amixer.values: Error: [Errno 2] No such file or directory
  Card1.Amixer.info: Error: [Errno 2] No such file or directory
  Card1.Amixer.values: Error: [Errno 2] No such file or directory
  Date: Thu Aug 16 17:43:43 2012
  HibernationDevice: RESUME=UUID=ed6b25d1-0e71-46ec-aae4-502e9ce1cc58
  InstallationMedia: Ubuntu-Server 10.04.4 LTS "Lucid Lynx" - Release amd64 (20120214.2)
  MachineType: System manufacturer P5Q DELUXE
  ProcCmdLine: root=UUID=4c2434f2-aec2-4664-8df2-f2d2ad65b039 ro quiet
  ProcEnviron:
   SHELL=/bin/bash
   LANG=en_US.UTF-8
  RelatedPackageVersions: linux-firmware 1.34.14
  RfKill:
   
  SourcePackage: linux
  dmi.bios.date: 07/10/2009
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2301
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5Q DELUXE
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2301:bd07/10/2009:svnSystemmanufacturer:pnP5QDELUXE:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QDELUXE:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: P5Q DELUXE
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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