Bug 6120 - XFS: bad magic number == kernel is a big liar
Summary: XFS: bad magic number == kernel is a big liar
Status: REJECTED INVALID
Alias: None
Product: File System
Classification: Unclassified
Component: XFS (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: XFS Guru
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 16:51 UTC by Robert Crocombe
Modified: 2006-03-01 15:24 UTC (History)
0 users

See Also:
Kernel Version: 2.6.16-rc4
Tree: Mainline
Regression: ---


Attachments
Serial console of working kernel 2.6.14-rc5_local_04 (12.04 KB, text/plain)
2006-02-22 16:58 UTC, Robert Crocombe
Details
Serial console output for non-working 2.6.16-rc4_local_00 (10.50 KB, text/plain)
2006-02-22 16:59 UTC, Robert Crocombe
Details
Config of working 2.6.14-rc5_local_04 (28.17 KB, text/plain)
2006-02-22 17:01 UTC, Robert Crocombe
Details
Config of broke 2.6.16-rc4_local_00 (28.33 KB, text/plain)
2006-02-22 17:02 UTC, Robert Crocombe
Details

Description Robert Crocombe 2006-02-22 16:51:05 UTC
Most recent kernel where this bug did not occur: 2.6.14-rc5
Distribution: Debian
Hardware Environment:  http://www.microway.com/quadOpteron.htm
Software Environment: Debian unstable
Problem Description:

When booting with 2.6.14-rc5, boot is successfuly.  When booting with many other
kernels, a kernel panic appears:

XFS: bad magic number
XFS: SB validate failed
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)

Most recently, I booted the okay kernel, then did a:

zcat /proc/config.gz > .config

into a directory where I'd unpacked 2.6.16-rc4

and did a "make oldconfig", and relied on all the default options.  This kernel
failed to boot.

Steps to reproduce:

Simply attempting to boot via selection of the affected kernel's from grub
bootloader menu.

I will attach the output of the serial console for the successful kernel and a
couple of the broken ones.
Comment 1 Robert Crocombe 2006-02-22 16:58:30 UTC
Created attachment 7449 [details]
Serial console of working kernel 2.6.14-rc5_local_04
Comment 2 Robert Crocombe 2006-02-22 16:59:11 UTC
Created attachment 7450 [details]
Serial console output for non-working 2.6.16-rc4_local_00
Comment 3 Robert Crocombe 2006-02-22 17:01:42 UTC
Created attachment 7451 [details]
Config of working 2.6.14-rc5_local_04
Comment 4 Robert Crocombe 2006-02-22 17:02:16 UTC
Created attachment 7452 [details]
Config of broke 2.6.16-rc4_local_00
Comment 5 Nathan Scott 2006-02-22 18:39:03 UTC
We'll need the output from:

# xfs_db -r -c sb -c print /dev/XXX

thanks.
Comment 6 Robert Crocombe 2006-02-24 06:10:34 UTC
hydra:rcrocomb# xfs_db -r -c sb -c print /dev/sda
xfs_db: unexpected XFS SB magic number 0xeb489000
Floating point exception
hydra:rcrocomb#
Comment 7 Eric Sandeen 2006-02-24 06:24:19 UTC
odds are you want some partition on sda (sda1?) not sda itself.
Comment 8 Robert Crocombe 2006-03-01 15:24:00 UTC
Duh.  I apologize gentlemen, but it wasn't an XFS-related problem at all. 
Somehow I got a stale/other initrd file into grub's menu.lst, and I guess it was
trying to mount "/" (which is ext3) as an XFS file.  Removed that line and all
was well.

Sorry 'bout that.

Note You need to log in before you can comment on or make changes to this bug.