** Description changed:

+ SRU Justification:
+ 
+ Impact: The patches backported to fix CVE-2010-2943 caused a regression
+ for xfsdump.
+ 
+ Fix: Backporting one more patch from upstream is fixing the issue.
+ 
+ Testcase:
+  1. create an xfs filesystem with data (>~100MB). There is a compressed 
archive provided in comment #14.
+  2. run "xfsdump -p10 -Ltest -Mdump -f outfile <mount>"
+      Note: Hardy and earlier seem to require the path to the device, while 
later releases can handle the mount point.
+ The xfsdump command aborts with SGI_FS_BULKSTAT errno = 22
+ 
+ ---
+ 
  On our Ubuntu 10.04 LTS server running x86 code, this evening a kernel
  update was ready for installation. I updated the kernel, rebooted
  (IPL'ed), and proceeded with the backup which utilized xfsdump as we use
  the xfs filesystem. Four of the xfsdump received a never before seen
  error: SGI_FS_BULKSTAT errno = 22
  
  Output as follows:
  using file dump (drive_simple) strategy
  version 3.0.4 (dump format 3.0) - Running single-threaded
  level 0 dump of ldslnx01:/srv
  dump date: Mon Dec 20 21:59:33 2010
  session id: f98f8cc0-963f-41a6-9a19-a89192502bf0
  session label: "data"
  ino map phase 1: constructing initial dump list
  ino map phase 2: skipping (no pruning necessary)
  ino map phase 3: skipping (only one dump stream)
  ino map construction complete
  estimated dump size: 100739707392 bytes
  WARNING: no media label specified
  creating dump session media file 0 (media 0, file 0)
  dumping ino map
  dumping directories
  SGI_FS_BULKSTAT failed: Invalid argument (22)
  dump size (non-dir files) : 0 bytes
  NOTE: dump interrupted: 79 seconds elapsed: may resume later using -R option
  Dump Status: INTERRUPT
  
  This backup file did have some size to it. The other three, backing up
  smaller amounts of data, were all zero (0) length dump files.
  
  I rebooted to the prior kernel: $ uname -a
  Linux ldslnx01 2.6.32-26-generic-pae #48-Ubuntu SMP Wed Nov 24 10:31:20 UTC 
2010 i686 GNU/Linux
  
  And the same backup gets to 100% success.
  
  Reboot to the new kernel, same failure.
  
  I think that fairly well illustrates that the problem exists only with
  the kernel update installed this evening.
  
  <><><><>
  
  I did come across a reference to this problem on the SGI website:
  
  
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=relnotes&fname=/usr/relnotes/eoe
-   1.6.17  Bugs fixed in IRIX 6.5.13
-     + 816457:  xfsdump SGI_FS_BULKSTAT errno = 22     cxfs
+   1.6.17  Bugs fixed in IRIX 6.5.13
+     + 816457:  xfsdump SGI_FS_BULKSTAT errno = 22     cxfs
  
  So evidently it is something that has been seen and corrected in IRIX.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-27-generic-pae 2.6.32-27.49
  Regression: Yes
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.32-27.49-generic-pae 2.6.32.26+drm33.12
  Uname: Linux 2.6.32-27-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
  AplayDevices: Error: [Errno 2] No such file or directory
  Architecture: i386
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D0c', 
'/dev/snd/pcmC0D0p', '/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
  CurrentDmesg: [   22.416013] eth0: no IPv6 routers present
  Date: Mon Dec 20 23:00:58 2010
  IwConfig:
-  lo        no wireless extensions.
-  
-  eth0      no wireless extensions.
+  lo        no wireless extensions.
+ 
+  eth0      no wireless extensions.
  Lsusb:
-  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-27-generic-pae 
root=UUID=87ad7999-94fd-4004-b898-d6a943e5895e ro quiet splash
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  RelatedPackageVersions: linux-firmware 1.34.1
  RfKill:
-  
+ 
  SourcePackage: linux
  dmi.bios.date: 07/29/2009
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: LF94510J.86A.0229.2009.0729.0209
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: D945GCLF
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAE27042-400
  dmi.chassis.type: 3
  dmi.modalias: 
dmi:bvnIntelCorp.:bvrLF94510J.86A.0229.2009.0729.0209:bd07/29/2009:svn:pn:pvr:rvnIntelCorporation:rnD945GCLF:rvrAAE27042-400:cvn:ct3:cvr:

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

Title:
  Regression between 2.6.32-27 and 2.6.32-26 xfsdump SGI_FS_BULKSTAT
  errno = 22

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

Reply via email to