Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30277 - Upon kernel upgrade, XFS kernel panic
Summary: Upon kernel upgrade, XFS kernel panic
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: (DEPRECATED)
Depends on:
Reported: 2003-10-03 14:10 UTC by owen
Modified: 2003-10-14 08:20 UTC (History)
1 user (show)

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

Kernel Config (config.kern,20.99 KB, text/plain)
2003-10-06 12:08 UTC, owen

Note You need to log in before you can comment on or make changes to this bug.
Description owen 2003-10-03 14:10:51 UTC
Upon emerging the latest gaming kernel (2.4.20-gaming-r5, if memory serves),
customizing with genkernel --configure, and booting to it, I get a kernel panic
saying that the magic number on root was bad.

However... when I boot into 2.4.20-gaming-r4, xfs says nothing.

Ideas? This xfs issue also happened with the latest kernel from ck-sources. The
latest ac-sources works fine...

I don't know where to go from this; I suspect perhaps some drastic xfs changes
between these kernel codes?

Reproducible: Always
Steps to Reproduce:

blocker -- serious kernel panic
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-03 14:38:03 UTC
are the configs for both kernels identical?
Comment 2 owen 2003-10-03 14:48:20 UTC
I can't promise that :)

on filesystems, I built in support for XFS only, and I am pretty sure this
is what I did on the other kernel. Most of the experimental code was disabled,
iirc. Sorry I can't be of more help ;)
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-10-03 14:50:26 UTC
Can you try ck-sources [2.4.20] to see if this is a bug which comes from
the CK sources side of things?
Comment 4 owen 2003-10-05 12:22:09 UTC
plasmaroo - same results occur on the 2.4.20 ck sources.

I will attach the kernel configuration file I use when I leave the office.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2003-10-05 12:59:36 UTC
Thanks. This probably is an upstream bug which comes over from the CK sources,
we'll see if we can get this patched somehow... Can you please post a followup
once you've attached your .config due to a bugzilla bug. Thanks.
Comment 6 owen 2003-10-06 12:08:56 UTC
Created attachment 18863 [details]
Kernel Config

Sorry 'bout the delay :) Tell me if I forgot to check anything (wouldn't
I feel
Comment 7 owen 2003-10-06 12:09:18 UTC
*ping* :-)
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2003-10-10 13:48:09 UTC
Well, as this is a ck-sources bug which we can't really do that much about,
your best bet is to contact the LKML or Con Kolivas. I'm closing this bug
as CANTFIX, can you please reopen this bug if you get any useful feedback?
Comment 9 owen 2003-10-11 10:56:30 UTC
Plasmaroo: Understood. I have sent a report to LKML and SGI's XFS team. Marking
as VERIFIED for now, and I will post more when I get it.

Thank you all very much for your guidance!
Comment 10 owen 2003-10-11 11:20:29 UTC
First message sent today. A copy is included for reference:

From:  	owen AT bardstown DOT com
To: 	linux-kernel AT vger DOT kernel DOT org
CC:	linux-xfs AT oss DOT sgi DOTcom, kernel AT kolivas DOT org
Date: 	Sat, 11 Oct 2003 18:18:00 GMT
Subject: 	Kernel Panic on 2.6.0-test5 with XFS filesystem

Upon an upgrade from the 2.4.22-AC4 series kernel to the 2.6.0-test5 kernel,
serious problem was encountered. A kernel panic occured, stating that the
magic number on the root partition was bad. However, 2.4.22-AC4 gave no errors
and loaded fine.

A bug was filed with Gentoo Linux, detailing this issue. The X86-Kernel team
suggested that I follow up with LKML.

<> is the original bug report.
<> is a copy of
kernel config I used to build these kernels.
<> is a bug report filed against
SGI's XFS team.

This problem was encountered on:
2.4.20 kernels Con Kolivas built
2.6.0-test5 kernel
Gentoo's 2.4.20-gaming-r5 kernel

This problem was NOT encountered on:
2.4.22-ac4 kernel

Any followup would be nice :) I have CC'ed the SGI XFS team and Con Kolivas.
***Please CC me on any followup reports. I am not suscribed.***

My sincerest apologies if this is a duplicate report. I STFW many times,
but saw
nothing similar.


Owen Marshall
Systems Administration, BISI
(502)349-9444 x106

Comment 11 owen 2003-10-13 21:13:12 UTC
Actually... for you purists, this is technically NOTABUG =-)

Apparently, if I don't compile ext2fs into the kernel, XFS isn't happy. It
has no problems if I do that. Strange.

Thanks for all your help.
Comment 12 Tim Yamin (RETIRED) gentoo-dev 2003-10-14 08:20:15 UTC
Thanks for keeping in touch!