Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81848 - kernel BUG at lib/radix-tree.c, gentoo-dev-sources, crash while trying to write on disc
Summary: kernel BUG at lib/radix-tree.c, gentoo-dev-sources, crash while trying to wri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 05:41 UTC by Marcel Meckel
Modified: 2005-03-19 04:45 UTC (History)
0 users

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


Attachments
Kernel Config (config.gz,7.83 KB, application/x-gzip)
2005-02-13 05:43 UTC, Marcel Meckel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Meckel 2005-02-13 05:41:53 UTC
I'm no expert, but ncftp segfaulted while downloading from ftp server. See details below:

gentoo-dev-sources 2.6.10-r6

------------[ cut here ]------------
kernel BUG at lib/radix-tree.c:575!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: vmnet vmmon nvidia
CPU:    0
EIP:    0060:[<c01dea0c>]    Tainted: P      VLI
EFLAGS: 00010046   (2.6.10-gentoo-r6)
EIP is at __lookup_tag+0x12c/0x140
eax: ffffffff   ebx: 02f1ea40   ecx: 00000029   edx: ef9e770c
esi: 00000000   edi: ef9e770c   ebp: 00000002   esp: c1b63d08
ds: 007b   es: 007b   ss: 0068
Process pdflush (pid: 228, threadinfo=c1b63000 task=c1b4c060)
Stack: 00000029 00000000 ef9e770c 00000006 00000000 00000007 0000000e 3fffffff
       c1b63d48 c01dea79 f6c60ce0 c1b63e08 02f1e840 00000007 c1b63d48 00000000
       02f1e840 c1b63de4 c1b63dec c1b63dd4 c1b63f34 c0133d62 f6c60ce0 c1b63dec
Call Trace:
 [<c01dea79>] radix_tree_gang_lookup_tag+0x59/0x80
 [<c0133d62>] find_get_pages_tag+0x42/0x90
 [<c013e0b6>] pagevec_lookup_tag+0x36/0x40
 [<c0177840>] mpage_writepages+0x160/0x3e0
 [<c015a170>] blkdev_writepage+0x0/0x30
 [<c015b24f>] generic_writepages+0x1f/0x23
 [<c0139a95>] do_writepages+0x25/0x50
 [<c0175bb1>] __sync_single_inode+0x71/0x220
 [<c0175dc7>] __writeback_single_inode+0x67/0x150
 [<c01323e4>] irq_exit+0x34/0x40
 [<c01323e4>] irq_exit+0x34/0x40
 [<c01042e5>] do_IRQ+0x45/0x60
 [<c010289a>] common_interrupt+0x1a/0x20
 [<c0176037>] sync_sb_inodes+0x187/0x280
 [<c01761f9>] writeback_inodes+0xc9/0xf0
 [<c013987b>] wb_kupdate+0x8b/0x100
 [<c013a28a>] __pdflush+0xca/0x1c0
 [<c013a380>] pdflush+0x0/0x30
 [<c013a3a8>] pdflush+0x28/0x30
 [<c01397f0>] wb_kupdate+0x0/0x100
 [<c013a380>] pdflush+0x0/0x30
 [<c01298e5>] kthread+0xa5/0xb0
 [<c0129840>] kthread+0x0/0xb0
 [<c0100871>] kernel_thread_helper+0x5/0x14
Code: 44 24 38 89 18 8b 44 24 10 83 c4 14 5b 5e 5f 5d c3 0f 0b 50 02 ee 5f 39 c0 eb a3 8b 7c 24 08 8b 74 8f 04 85 f6 0f 85 5e ff ff ff <0f> 0b 3f 02 ee 5f 39 c0 e9 51 ff ff ff 8d b4 26 00 00 00 00 55
 <6>note: pdflush[228] exited with preempt_count 1
------------[ cut here ]------------
kernel BUG at lib/radix-tree.c:270!
invalid operand: 0000 [#2]
PREEMPT
Modules linked in: vmnet vmmon nvidia
CPU:    0
EIP:    0060:[<c01de5a5>]    Tainted: P      VLI
EFLAGS: 00210086   (2.6.10-gentoo-r6)
EIP is at radix_tree_insert+0xc5/0x100
eax: ffffffff   ebx: 00000000   ecx: 00000000   edx: 00000029
esi: fffffffa   edi: ef9e77b4   ebp: ef9e770c   esp: e5f9dcf4
ds: 007b   es: 007b   ss: 0068
Process ncftp (pid: 11825, threadinfo=e5f9d000 task=e93a25a0)
Stack: 000000d2 c17bbd20 00000000 e5f9d000 c1781e20 d2062b28 c01337b8 d2062b2c
       000161a9 c1781e20 00000000 000161a9 d2062b28 00000000 c0135857 c1781e20
       d2062b28 000161a9 000000d0 eabfb18c 0000007b eabfb18c e5f9d000 00001000
Call Trace:
 [<c01337b8>] add_to_page_cache+0x68/0xb0
 [<c0135857>] generic_file_buffered_write+0x147/0x610
 [<c016d65f>] inode_update_time+0xcf/0xe0
 [<c0135f80>] __generic_file_aio_write_nolock+0x260/0x490
 [<c01361f4>] generic_file_aio_write_nolock+0x44/0xa0
 [<c0136462>] generic_file_aio_write+0x72/0xe0
 [<c0193aa4>] ext3_file_write+0x44/0xe0
 [<c015267e>] do_sync_write+0xbe/0xf0
 [<c0165b9a>] poll_freewait+0x3a/0x50
 [<c0129df0>] autoremove_wake_function+0x0/0x60
 [<c01e176e>] copy_to_user+0x3e/0x50
 [<c015276c>] vfs_write+0xbc/0x170
 [<c01528f1>] sys_write+0x51/0x80
 [<c010272b>] syscall_call+0x7/0xb
Code: 75 29 0f a3 95 0c 01 00 00 19 c0 85 c0 75 12 8b 44 24 24 31 d2 89 07 83 c4 08 89 d0 5b 5e 5f 5d c3 0f 0b 0f 01 ee 5f 39 c0 eb e4 <0f> 0b 0e 01 ee 5f 39 c0 eb cd ba ef ff ff ff eb db 8b 44 24 1c
 <6>note: ncftp[11825] exited with preempt_count 2

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




# emerge --info
Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 
i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 22:39:29)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/
3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac aalib acpi acpi4linux alsa apm avi bash-completion berkdb bitmap-
fonts bzlib cdparanoia codecs crypt cups curl devfs26 divx4linux dnd dv dvb dvd dvdr dvdread encode 
f77 faac faad fam ffmpeg font-server foomaticdb fortran freetype ftp gd gdbm geoip gif gpm gtk gtk2 
iconv icq imagemagick imap imlib irda java jpeg kde libg++ libgd libwww mad mailbox maildir mbox 
md5sum mikmod mime mmx mmx2 mp3 mpeg mpeg4 mplayer ncurses network nls nocd nvidia 
oggvorbis ooo-kde openal opengl oscar oss pam pdf pdflib perl php png posix procmail python qt 
quicktime readline real recode rtc sasl sdl snmp sse ssl svg tcltk tcpd tga tiff transcode truetype 
truetype-fonts type1 type1-fonts usb uudeview v4l v4l2 vhosts virus-scan xml2 xmms xv xvid zlib 
linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Marcel Meckel 2005-02-13 05:43:49 UTC
Created attachment 51122 [details]
Kernel Config

2.6.10-r6 Kernel Config under which the Kernel error occured
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-03-12 16:29:39 UTC
Is this reproducable? Have you tested your memory lately?
Comment 3 Marcel Meckel 2005-03-13 01:15:18 UTC
I didn't try to reproduce it - obviously. Don't wanna lose my data ...
My box was running 2.6.9-gentoo-r9 before and i switched back to it after the 2.6.10-r6 tryout.

I'll check my memory this night with memtest and will post the result here, but i never had problems before like this so i think the memory is fine.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-03-16 06:22:46 UTC
It would also be useful if you could try 2.6.11
Comment 5 Marcel Meckel 2005-03-19 01:03:10 UTC
2.6.11-r3 worked like a charm, no problems regarding this issue.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-03-19 04:45:29 UTC
Great, thanks