Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 168556

Summary: net-fs/shfs-0.35-r4 mounting fails randomnly during access
Product: Gentoo Linux Reporter: Gerolf Ziegenhain <derverstand>
Component: Current packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED WONTFIX    
Severity: major CC: kernel, phil
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 274105    
Bug Blocks:    

Description Gerolf Ziegenhain 2007-02-27 12:04:27 UTC
Installed version:
net-fs/shfs-0.35-r4  USE="X doc -amd"

emerge --info:
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 27 Feb 2007 09:00:08 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/ /usr/spool/PBS"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 alsa apache2 audacious berkdb bitmap-fonts bluetooth cli cracklib crypt cups divx4linux doc dri dv dvb dvd dvdread dvi encode fame fortran g77 gdbm gif gpm gtk iconv imap ipv6 isdnlog jpeg libg++ midi mmx mmxext mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcmcia pcre pdf perl php png ppds pppd python quicktime readline reflection session spl sse sse2 ssl tcpd tiff truetype-fonts type1-fonts unicode usb userlocales vorbis wifi win32codecs x86 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="i810 vesa vmware nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS


/var/log/messages:
Feb 27 11:26:11 R52 ------------[ cut here ]------------
Feb 27 11:26:11 R52 kernel BUG at include/linux/dcache.h:303!
Feb 27 11:26:11 R52 invalid opcode: 0000 [#1]
Feb 27 11:26:11 R52 Modules linked in: shfs sha256 aes snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss coda fuse smbfs rfcomm l2cap bluetooth serial_cs ufs battery loop ide_cs pcmcia dm_crypt dm_mod nvidia agpgart usbhid yenta_socket rsrc_nonstatic pcmcia_core ipw2200 ieee80211 ieee80211_crypt snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc tg3 evdev
Feb 27 11:26:11 R52 CPU:    0
Feb 27 11:26:11 R52 EIP:    0060:[<c01481e0>]    Tainted: P      VLI
Feb 27 11:26:11 R52 EFLAGS: 00010246   (2.6.17-gentoo-r8 #21) 
Feb 27 11:26:11 R52 EIP is at __follow_mount+0x4d/0x6b
Feb 27 11:26:11 R52 eax: 00000000   ebx: d13db974   ecx: c1cc81c0   edx: f7f90ea4
Feb 27 11:26:11 R52 esi: c1cc81c0   edi: 00000000   ebp: d13db97c   esp: d13db934
Feb 27 11:26:11 R52 ds: 007b   es: 007b   ss: 0068
Feb 27 11:26:11 R52 Process ls (pid: 14879, threadinfo=d13da000 task=f014e560)
Feb 27 11:26:11 R52 Stack: f7b764f4 d13dbf04 d13db974 c01482e9 c1cc82c0 d13dbf04 019cc780 f7dabecc 
Feb 27 11:26:11 R52 019cc780 c014850a 00000001 d15bc01e d1b433ff c01c32e5 00000001 d13dba1a 
Feb 27 11:26:11 R52 c1cc81c0 f7b764f4 019cc780 00000004 d13dba15 00000000 d13dbf04 d13dba14 
Feb 27 11:26:11 R52 Call Trace:
Feb 27 11:26:11 R52 <c01482e9> do_lookup+0x3a/0x78  <c014850a> __link_path_walk+0x1e3/0x9d6
Feb 27 11:26:11 R52 <c01c32e5> memmove+0xe/0x25  <c0148d3e> link_path_walk+0x41/0xaa
Feb 27 11:26:11 R52 <c0149091> do_path_lookup+0x182/0x19d  <f9568f90> shfs_d_delete+0xc/0x40 [shfs]
Feb 27 11:26:11 R52 <c014f4d3> dput+0x3e/0x10b  <c01528bc> mntput_no_expire+0x11/0x47
Feb 27 11:26:11 R52 <c01451d5> sys_readlinkat+0x6b/0x74  <c014f4af> dput+0x1a/0x10b
Feb 27 11:26:11 R52 <c014aba8> vfs_follow_link+0xc0/0x11f  <f956e454> shfs_follow_link+0x91/0xa1 [shfs]
Feb 27 11:26:11 R52 <c01482e9> do_lookup+0x3a/0x78  <c014f4af> dput+0x1a/0x10b
Feb 27 11:26:11 R52 <c01528bc> mntput_no_expire+0x11/0x47  <c03a677c> schedule+0x476/0x4db
Feb 27 11:26:11 R52 <c0148a48> __link_path_walk+0x721/0x9d6  <c014ffe5> __d_lookup+0xaa/0xca
Feb 27 11:26:11 R52 <c0148d3e> link_path_walk+0x41/0xaa  <c0149091> do_path_lookup+0x182/0x19d
Feb 27 11:26:11 R52 <f9568f90> shfs_d_delete+0xc/0x40 [shfs]  <c014f4d3> dput+0x3e/0x10b
Feb 27 11:26:11 R52 <c01528bc> mntput_no_expire+0x11/0x47  <c01451d5> sys_readlinkat+0x6b/0x74
Feb 27 11:26:11 R52 <c0149091> do_path_lookup+0x182/0x19d  <c01492c1> __user_walk_fd+0x29/0x3f
Feb 27 11:26:11 R52 <c0144d5d> vfs_stat_fd+0x15/0x3c  <c0149091> do_path_lookup+0x182/0x19d
Feb 27 11:26:11 R52 <f9568f90> shfs_d_delete+0xc/0x40 [shfs]  <c014f4d3> dput+0x3e/0x10b
Feb 27 11:26:11 R52 <c01528bc> mntput_no_expire+0x11/0x47  <c01451d5> sys_readlinkat+0x6b/0x74
Feb 27 11:26:11 R52 <c014530d> sys_stat64+0xf/0x23  <c03a677c> schedule+0x476/0x4db
Feb 27 11:26:11 R52 <c01022ab> sysenter_past_esp+0x54/0x75 
Feb 27 11:26:11 R52 Code: 04 e8 da 72 00 00 85 ff 74 12 8b 03 85 c0 74 0c c7 40 30 00 00 00 00 e8 da a6 00 00 89 33 8b 56 10 85 d2 74 10 8b 02 85 c0 75 08 <0f> 0b 2f 01 63 50 3c c0 ff 02 89 53 04 83 7a 54 00 bf 01 00 00 
Feb 27 11:26:11 R52 EIP: [<c01481e0>] __follow_mount+0x4d/0x6b SS:ESP 0068:d13db934
Comment 1 Gerolf Ziegenhain 2007-03-21 13:36:32 UTC
SHell File System, (c) 2002-2004 Miroslav Spousta
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
c01c2b6b
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: shfs sha256 aes snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss coda fuse smbfs rfcomm l2cap serial_cs ufs battery loop ide_cs pcmcia dm_crypt dm_mod nvidia agpgart hci_usb bluetooth usbhid ipw2200 ieee80211 ieee80211_crypt yenta_socket rsrc_nonstatic pcmcia_core tg3 parport_pc parport snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc evdev
CPU:    0
EIP:    0060:[<c01c2b6b>]    Tainted: P      VLI
EFLAGS: 00010046   (2.6.17-gentoo-r8 #22) 
EIP is at radix_tree_gang_lookup+0x11/0x4e
eax: 00000004   ebx: 00000000   ecx: 00000000   edx: c256fde4
esi: 0000000e   edi: 00000004   ebp: 00000000   esp: c256fd94
ds: 007b   es: 007b   ss: 0068
Process mount.shfs (pid: 21721, threadinfo=c256e000 task=ead1e5a0)
Stack: c256fde4 00000000 00000000 c256fde4 00000000 00000000 c01277e6 0000000e 
       00000000 c256fddc c012d2ba c256fde4 f7b34e40 00000000 c012d66b 0000000e 
       ffffffff 00000000 00000000 00000000 00000001 cf567000 cf567000 f79c2640 
Call Trace:
 <c01277e6> find_get_pages+0x16/0x36  <c012d2ba> pagevec_lookup+0x17/0x1d
 <c012d66b> invalidate_mapping_pages+0x9c/0xab  <c013bcf8> cache_grow+0xda/0x121
 <f958a607> shfs_set_inode_attr+0x107/0x116 [shfs]  <f958a6b0> shfs_iget+0x9a/0x1c0 [shfs]
 <f958adb5> shfs_read_super+0x1ec/0x282 [shfs]  <c014374c> get_sb_nodev+0x33/0x62
 <f958ae59> shfs_get_sb+0xe/0x10 [shfs]  <f958abc9> shfs_read_super+0x0/0x282 [shfs]
 <c0143835> do_kern_mount+0x3b/0x9d  <c0153a25> do_new_mount+0x61/0x90
 <c0153f1b> do_mount+0x161/0x179  <c012ae39> __alloc_pages+0x46/0x26c
 <c015419c> sys_mount+0x66/0x9e  <c01022ab> sysenter_past_esp+0x54/0x75
Code: 04 24 83 3c 24 3f eb d1 8b 44 24 24 89 18 8b 44 24 04 83 c4 0c 5b 5e 5f 5d c3 55 57 89 c7 56 53 53 53 8b 74 24 1c 31 db 89 14 24 <8b> 00 8b 2c 85 94 9a 4d c0 39 f3 73 27 39 e9 77 23 8b 04 24 8d 
EIP: [<c01c2b6b>] radix_tree_gang_lookup+0x11/0x4e SS:ESP 0068:c256fd94
Comment 2 Gerolf Ziegenhain 2007-03-22 13:31:14 UTC
Bug still with 
2.6.19-gentoo-r5

* randomly kernel traps
* "segmentation fault"

--> sshfs is working nicely btw
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-07-12 05:21:25 UTC
*** Bug 166339 has been marked as a duplicate of this bug. ***
Comment 4 Łukasz Damentko (RETIRED) gentoo-dev 2009-03-17 22:00:13 UTC
Moving to herd since compnerd left Gentoo (#71985).
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-21 10:26:17 UTC
Package removed.