Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490440 - =sys-kernel/gentoo-sources-3.12.0 - During config generation with =sys-boot/grub-2.00_p5107 - XFS (sdb2): Internal error xfs_sb_read_verify at line 628 of file fs/xfs/xfs_sb.c
Summary: =sys-kernel/gentoo-sources-3.12.0 - During config generation with =sys-boot/g...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://lkml.org/lkml/2013/12/18/665
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-04 21:48 UTC by tman
Modified: 2014-05-01 17:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-11-04 21:48:23 UTC
* Make sure you have the latest ~arch genkernel before reporting bugs.
Generating grub.cfg ...
Found linux image: /boot/kernel-genkernel-x86_64-3.12.0-gentoo
Found initrd image: /boot/initramfs-genkernel-x86_64-3.12.0-gentoo
Found linux image: /boot/kernel-genkernel-x86_64-3.11.6-gentoo
Found initrd image: /boot/initramfs-genkernel-x86_64-3.11.6-gentoo
  No volume groups found
  REISERFS warning (device sdb2): sh-2006 read_super_block: bread failed (dev
  sdb2, block 8, size 1024)
  REISERFS warning (device sdb2): sh-2006 read_super_block: bread failed (dev
  sdb2, block 64, size 1024)
  REISERFS warning (device sdb2): sh-2021 reiserfs_fill_super: can not find
  reiserfs on sdb2
  EXT4-fs (sdb2): unable to read superblock
  EXT4-fs (sdb2): unable to read superblock
  EXT4-fs (sdb2): unable to read superblock
  SQUASHFS error: Can't find a SQUASHFS superblock on sdb2
  FAT-fs (sdb2): bogus number of reserved sectors
  FAT-fs (sdb2): Can't find a valid FAT filesystem
  FAT-fs (sdb2): bogus number of reserved sectors
  FAT-fs (sdb2): Can't find a valid FAT filesystem
  isofs_fill_super: bread failed, dev=sdb2, iso_blknum=16, block=32
  UDF-fs: error (device sdb2): udf_read_tagged: read failed, block=256,
  location=256
  UDF-fs: error (device sdb2): udf_read_tagged: tag version 0x0000 != 0x0002
  || 0x0003, block 0
  UDF-fs: error (device sdb2): udf_read_tagged: read failed, block=512,
  location=512
  UDF-fs: error (device sdb2): udf_read_tagged: tag version 0x0000 != 0x0002
  || 0x0003, block 0
  UDF-fs: error (device sdb2): udf_read_tagged: tag version 0x0000 != 0x0002
  || 0x0003, block 0
  UDF-fs: warning (device sdb2): udf_load_vrs: No anchor found
  UDF-fs: Rescanning with blocksize 2048
  UDF-fs: error (device sdb2): udf_read_tagged: read failed, block=256,
  location=256
  UDF-fs: error (device sdb2): udf_read_tagged: read failed, block=512,
  location=512
  UDF-fs: warning (device sdb2): udf_load_vrs: No anchor found
  UDF-fs: warning (device sdb2): udf_fill_super: No partition found (1)
  XFS (sdb2): bad magic number
  ffff8806121f3000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  ................
  ffff8806121f3010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  ................
  ffff8806121f3020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  ................
  ffff8806121f3030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  ................
  XFS (sdb2): Internal error xfs_sb_read_verify at line 628 of file
  fs/xfs/xfs_sb.c.  Caller 0xffffffff811f2800

  CPU: 6 PID: 2053 Comm: kworker/6:1H Tainted: G           O 3.12.0-gentoo #3
  Hardware name: CLEVO CO.                        W35_37ET/W35_37ET, BIOS
  4.6.5 03/25/2013
  Workqueue: xfslogd xfs_buf_iodone_work
   ffff8800c905ee2a ffff8806131efd70 ffffffff81784856 ffff8806122b8000
    ffff8806131efd88 ffffffff811f486d ffffffff811f2800 ffff8806131efdc0
     ffffffff811f48bd 00000274c905ffaa 0000000000000016 ffff8806123c5e00
     Call Trace:
      [<ffffffff81784856>] dump_stack+0x4e/0x82
       [<ffffffff811f486d>] xfs_error_report+0x35/0x37
        [<ffffffff811f2800>] ? xfs_buf_iodone_work+0x3f/0x77
	 [<ffffffff811f48bd>] xfs_corruption_error+0x4e/0x69
	  [<ffffffff81234bf5>] xfs_sb_read_verify+0xeb/0x100
	   [<ffffffff811f2800>] ? xfs_buf_iodone_work+0x3f/0x77
	    [<ffffffff811f2800>] xfs_buf_iodone_work+0x3f/0x77
	     [<ffffffff81047f4f>] process_one_work+0x1cc/0x2dc
	      [<ffffffff810484c3>] worker_thread+0x1d3/0x2bd
	       [<ffffffff810482f0>] ? rescuer_thread+0x267/0x267
	        [<ffffffff8104d04f>] kthread+0xb5/0xbd
		 [<ffffffff8104cf9a>] ? kthread_create_on_node+0x113/0x113
		  [<ffffffff8178c5bc>] ret_from_fork+0x7c/0xb0
		   [<ffffffff8104cf9a>] ? kthread_create_on_node+0x113/0x113
		   XFS (sdb2): Corruption detected. Unmount and run xfs_repair
		   XFS (sdb2): SB validate failed with error 22.
		   (mount,16174,6):ocfs2_get_sector:1851 ERROR: status = -5
		   (mount,16174,6):ocfs2_sb_probe:807 ERROR: status = -5
		   (mount,16174,6):ocfs2_fill_super:1038 ERROR: superblock
		   probe failed!
		   (mount,16174,6):ocfs2_fill_super:1229 ERROR: status = -5
		   attempt to access beyond end of device
		   sdb2: rw=48, want=136, limit=2
		   gfs2: error -5 reading superblock
		   GFS2: gfs2 mount does not exist
		   Found Windows 7 (loader) on /dev/sda1


Reproducible: Always




Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.1, glibc-2.17, 3.12.0-gentoo x86_64)
=================================================================
System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24695888 total,  23387912 free
KiB Swap:   25598972 total,  25598972 free
Timestamp of tree: Mon, 04 Nov 2013 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.12
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
PORTAGE_CONFIGROOT="/"
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-06 14:44:26 UTC
> XFS (sdb2): Corruption detected. Unmount and run xfs_repair

I wonder if this is actual corruption compared to a kernel bug, have you tried running that? (Make sure you backup, just in case)
Comment 2 tman 2013-11-06 19:52:47 UTC
it boot and dont complains anything... and i dont have xfs. i have ext4 .. thats why i wonder why this error happen


               Name                                            Flags                                          Part Type                                FS Type                                                          [Label]                                                  Size (MB)
 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                               Primary                                 Free Space                                                                                                                     1,05                                    *
               sdb1                                                                                            Primary                                 ntfs                                                                                                                      314572,80                                    *
               sdb5                                            NC                                              Logical                                 ext4                                                                                                                      580773,75                                    *
               sdb6                                            NC                                              Logical                                 ext4                                                                                                                       78642,16                                    *
               sdb7                                            NC                                              Logical                                 swap                                                                                                                       26214,40                                    *
                                                                                                               Pri/Log                                 Free Space                                                                                                                     0,75                                    *
Comment 3 Mike Pagano gentoo-dev 2013-11-07 23:59:25 UTC
Possibly related upstream thread

https://lkml.org/lkml/2013/10/9/69
Comment 4 Mike Pagano gentoo-dev 2014-01-30 17:22:07 UTC
If you want, you can you try what has been suggested from upstream and let us know the result?

MAKE BACKUPS FIRST.

"So what you need to do is run xfs_repair built from the development git tree and run it on your filesystem. That will remove the garbage from the superblocks and make this problem go away forever."
Comment 5 Mike Pagano gentoo-dev 2014-05-01 17:52:27 UTC
Please report back here if you've attempted the upstream suggestion as indicated in the comment #4