Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102755 - kernel oops while accessing e mounted ext3 partition
Summary: kernel oops while accessing e mounted ext3 partition
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 15:02 UTC by René Marten
Modified: 2005-08-17 03:01 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 René Marten 2005-08-16 15:02:11 UTC
I wanted to mount my /boot partition for installing a new kernel image, normally
it isn't mounted.
That worked but while trying to access it I see a kernel oops at my terminal ..

EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Assertion failure in dx_probe() at fs/ext3/namei.c:381: "dx_get_limit(entries)
== dx_root_limit(dir, root->info.info_length)"
------------[ cut here ]------------
kernel BUG at <bad filename>:50307!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: fuse radeon drm w83627hf eeprom i2c_sensor i2c_isa af_packet
i2c_viapro ehci_hcd pl2303 usbserial usb_storage usbhid spca5xx uhci_hcd tuner
tvaudio msp3400 bttv video_buf firmware_class v4l2_common btcx_risc tveeprom
videodev emu10k1_gp via_agp agpgart snd_seq_midi snd_emu10k1_synth
snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_pcm_oss snd_mixer_oss
snd_seq_oss snd_seq_midi_event snd_seq snd_bt87x snd_usb_audio snd_usb_lib
snd_via82xx gameport snd_mpu401_uart snd_emu10k1 snd_rawmidi snd_seq_device
snd_ac97_codec snd_pcm snd_timer snd_page_alloc snd_util_mem snd_hwdep snd
soundcore usbcore nls_utf8 ntfs nls_iso8859_1 nls_cp852 unix
CPU:    0
EIP:    0060:[<c0181fbf>]    Not tainted VLI
EFLAGS: 00010286   (2.6.12-gentoo-r8)
eax: 00000084   ebx: d3ce8400   ecx: e0797e20   edx: c0338027
esi: e0797e74   edi: cf64ca08   ebp: eb56289c   esp: e0797e1c
ds: 007b   es: 007b   ss: 0068
Process bash (pid: 14667, threadinfo=e0796000 task=e835b5c0)
Stack: c0338027 c0327780 c0338874 0000017d c0338830 c0151f15 dc120f34 00000000
       d3ce8418 00000000 00000000 eb56289c c60ecca0 e4bee060 c018231d 00000000
       eb56289c e0797e94 e0797e74 e0797e70 c18d4d40 00000000 00000000 c0159e6e
Call Trace:
 [<c0151f15>]
 [<c018231d>]
 [<c0159e6e>]
 [<c0159e6e>]
 [<c017d1b1>]
 [<c017cae7>]
 [<c01564fb>]
 [<c01562c0>]
 [<c01564fb>]
 [<c015662e>]
 [<c01564fb>]
 [<c0102b33>]
Code: 0c 29 d0 83 e8 18 c1 e8 03 39 c1 74 23 68 30 88 33 c0 68 7d 01 00 00 68 74
88 33 c0 68 80 77 32 c0 68 27 80 33 c0 e8 60 4d f9 ff <0f> 0b 83 c4 14 8b 44 24
0c 0f b7 58 02 85 db 74 07 0f b7 00 39

Mounting as ext2 worked and no error(s) when checking it 
This is also reproduceble with an "old" knoppix (3,5, kernel 2.6.5)

now running 2.6.12-gentoo-r9 which contains the .5 patch and it seems to work
but I didn't find something about that in the changelog and elsewhere ....
So I think someone should know about is and this is a good place for it.



Reproducible: Always
Steps to Reproduce:
1.mount an ext3 partition
2.try to access it (cd, ls,....)

Actual Results:  
You'll see a kernel oops and it's impossible to get access to it and also
unmounting it isn't possible

Expected Results:  
get access to it

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4,
glibc-2.3.4.20050125-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre5
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=athlon-xp -fomit-frame-pointer -funroll-loops
-fexpensive-optimizations -falign-functions=16 -falign-jumps=16 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Os -mtune=athlon-xp -fomit-frame-pointer -funroll-loops
-fexpensive-optimizations -falign-functions=16 -falign-jumps=16 -pipe"
DISTDIR="/var/lib/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/ "
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/var/lib/portage/packages"
PORTAGE_TMPDIR="/var/lib/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext 7zip S3TC X X509 Xaw3d a52 aac aalib acpi adns
aim alsa amarok ao apache2 apm artworkextra audiofile avi bash-completion berkdb
bidi bitmap-fonts bmp bonobo bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr
cdrom chipcard cjk clamav clamd codecs cracklib crypt css cups curl curlwrappers
dba dbus dga dio directfb divx4linux dmx dpms dri dts dvd dvdr dvdread dxr3 eds
emboss encode erandom evo exif faac faad fam fame fb fbcon ffmpeg firefox flac
fmod font-server foomaticdb foreign-sysvinit fortran fpx freetype ftp gb gd
gd-external gdbm gif gimp gimpprint glitz glut gmp gnokii gnome gnome-print
gnomedb gnustep gpgme gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile
h323 hal hbci howl html iconv icq icu id3 imagemagick imap imlib imlib2 ipv6
jabber jack jack-tmpfs java jpeg jpeg2k junit kde kdeenablefinal ladcca ladspa
lame lcms ldap libcaca libclamav libg++ libgda libsamplerate libwww live
lm_sensors logitech-mouse lzo lzw lzw-tiff mad matroska md5sum mikmod mime mjpeg
mmap mmx mmx2 mmxext mng monkey motif mozdevelop mozilla moznocompose moznomail
mozp3p mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mpi mplayer mpm-prefork msdav msn
musepack musicbrainz mysql ncurses network nls nptl nptlonly oav objc ogg
oggvorbis openal openexr opengl oscar oss pam pda pdf pdflib perl php png povray
ppds pwdb python qt quicktime radeon rar readline real rtc samba sblive scanner
sdl shared silc simplexml slang slp smime sms sndfile sox speex spell sqlite sse
ssl stencil-buffer stream subtitles svg svga svgz sysfs t1lib tcltk tcpd tetex
tga theora tidy tiff timidity transcode truetype truetype-fonts type1-fonts usb
userlocales v4l v4l2 vcd vcdimager vdesktop videos vidix visualization vorbis
webdav win32codecs winbind wma123 wmf wsconvert wxwindows xanim xforms xfs xim
xine xml xml2 xmlrpc xmms xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid
yahoo yv12 zlib zvbi video_cards_radeon linguas_de userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 1 René Marten 2005-08-16 15:09:08 UTC
argh ..  it's late here and I'm tired... 
I hope no one worries about that ;-)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-16 15:33:07 UTC
Well sorry, but it's not really obvious which kernel version is causing this for
you... Please, clarify.
Comment 3 René Marten 2005-08-16 15:42:15 UTC
(In reply to comment #2)
> Well sorry, but it's not really obvious which kernel version is causing this for
> you... Please, clarify.

kernel 2.6.5 (knoppix 3.5) 
Kernel 2.6.12-gentoo-r8
and I think all other between and perhaps before 2.6.5 ..
I'll check later ...
Comment 4 René Marten 2005-08-17 02:32:41 UTC
hmm I think a 0 byte file was causing the problem.
perhaps it was created during the first crash or it was still there I don't know. 
Deleting it seems to fix that. 


Tested running

2.6.6 (Knoppix 3.5, sorry)
2.6.9 (Knoppix 3.7)
2.6.9-gentoo-r1 (2004.3 LiveCD)
2.6.11-gentoo-r3 (2005.0 LiveCD)


So I hope this is resolved now ...

Comment 5 René Marten 2005-08-17 03:01:11 UTC
hmmm

recreated that 0 byte file
booted 2.6.12-gentoo-r8
mounted that partition
--> ok

So I think this wasn't the cause.