Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45245 - kernel gentoo-dev-sources-2.6.4-rc1 Oops'es somewhere in the VFS/FS code - causes FS corruption!!
Summary: kernel gentoo-dev-sources-2.6.4-rc1 Oops'es somewhere in the VFS/FS code - ca...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-20 17:20 UTC by Adrian Head
Modified: 2004-03-22 00:48 UTC (History)
1 user (show)

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


Attachments
gentoo-dev-sources-2.6.4-rc1 .config file. (.config,29.22 KB, text/plain)
2004-03-20 17:22 UTC, Adrian Head
Details
/var/log/messages that contains the Oops'es (messages,65.78 KB, text/plain)
2004-03-20 17:49 UTC, Adrian Head
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Head 2004-03-20 17:20:53 UTC
After compiling and running kernel 2.6.4-rc1 most programs that run cause an Oops.

Reproducible: Always
Steps to Reproduce:
1.  Compile & install gentoo-dev-sources-2.6.4-rc1
2.  Boot into the gentoo-dev-sources-2.6.4-rc1 kernel
3.  After completing the boot process & rc scripts X dies and Oops'es are printed to the console.

Actual Results:  
Oops'es were printed on the console and normal operation wasn't resumed. 

Expected Results:  
Should not have had any Oops'es. 

akh@heady akh $ emerge --info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 
2.6.3-gentoo-r1) 
================================================================= 
System uname: 2.6.3-gentoo-r1 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.3.13 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages/pentium3" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X X509 aalib acl acpi acpi4linux alsa apache2 apm arts artswrappersuid 
avantgo avi bindist caps crypt cups dedicated dga directfb doc dv encode 
ethereal evms2 faad fam fastcgi fbcon flash foomaticdb freetds gd gdbm ggi gif 
gphoto2 gtk hostap-noplx i8x0 imap imlib ipv6 java jbig jikes jpeg kde lcms 
libg++ libwww mad maildir matroska mcal memlimit mikmod mmx mpeg mpi nas 
ncurses nls nocd odbc oggvorbis opengl opie oss pam parse-clocks pda pdflib 
perl pg-hier pic plotutils png postgres ppds prelude python qt quicktime 
readline samba sasl sdl skey slang slp snmp spell sse ssl svga tcpd tetex tiff 
truetype unicode usb video_cards_i810 vim-with-x wavelan wmf x86 xfs xml xml2 
xmms xosd xv zlib" 
 
 
PS:  Konq crashed while entering this bug in the 1st time - this is the 2nd 
go.  I'll read through this and add all the other info ASAP.
Comment 1 Adrian Head 2004-03-20 17:22:24 UTC
Created attachment 27710 [details]
gentoo-dev-sources-2.6.4-rc1 .config file.

This is the gentoo-dev-sources-2.6.4-rc1 .config file that was used to compile
the kernel.
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-20 17:46:34 UTC
Please attach the oops, otherwise it is pretty much impossible to help.
Comment 3 Adrian Head 2004-03-20 17:49:52 UTC
Created attachment 27711 [details]
/var/log/messages that contains the Oops'es

This file is an edited version of /var/log/messages that contains the Oops'es. 
Also included in this file is the messages log during bootup, and the
corruption of the messages file.  (There is KDE source code in the middle of
the messages file for no real reason).
Comment 4 Adrian Head 2004-03-20 17:59:04 UTC
I think this now brings me back to where I was before Konq crashed.

Do I need to supply any extra information?

PS: It seems that any file that was being written to during when the machine was Oops'ing - is corrupt.  Thankfully at the moment it doesn't seem like many files.  /var/log/messages is the worst.
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-20 18:26:43 UTC
If you disable CONFIG_PREEMPT, does this bug go away?

This is really an upstream bug, you should check 2.6.5-rc2 to see if it is still present or not.  If it is, please let the developers on the linux-kernel mailing list know about it.

Also, 2.6.4-rc1 is a bit old :)
Comment 6 Adrian Head 2004-03-20 19:41:44 UTC
OK - I've recompiled without CONFIG_PREEMPT and you seem to be correct in that it doesn't Oops any more.

I was lead to believe that the gentoo-dev-sources-2.6.4-rc1 were different from the vanilla 2.6.4 kernels.  Is this correct?

If so; what would using the 2.6.5-rc2 vanilla actually prove?  Does any of Gentoo's patches touch the preempt code path?
Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-20 22:27:16 UTC
2.6.4-rc1 is older than a 2.6.4 kernel.
The current kernel is 2.6.5-rc2 right now.

And no, there are no patches in the gentoo kernel for preempt, but there are still
some known issues with preempt enabled in the main kernel.
Comment 8 Adrian Head 2004-03-22 00:48:33 UTC
Oops - seems to be my mistake (typo) with regard to the ebuild.  It is in fact:

heady portage # ACCEPT_KEYWORDS="~x86" emerge -s gentoo-dev-sources
Searching...
[ Results for search key : gentoo-dev-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-dev-sources
      Latest version available: 2.6.4-r1
      Latest version installed: 2.6.4-r1
      Size of downloaded files: 34,008 kB
      Homepage:    http://www.kernel.org/ http://www.gentoo.org/
      Description: Full sources including the gentoo patchset for the 2.6 kernel tree
      License:     GPL-2

So the question is now:  where to from here - what can I do to help the "gentoo-ized" 2.6.x kernel reach stability?

This bug report was more to bring to the attention of the gentoo kernel folks that the current unstable dentoo-dev-sources is infact that - unstable with CONFIG_PREEMPT.

The other alternative is to try the development-sources; however, I'm not sure how different the "Gentoo-ized" gentoo-dev-sources is compared to development-sources.  For the un-initiated would anyone like to elaborate?