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

Bug 106796

Summary: Mounted CIFS causes a freeze on reboot
Product: Gentoo Linux Reporter: Danny Brain <tehdanish>
Component: Current packagesAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Danny Brain 2005-09-21 07:36:42 UTC
When I have mounted a CIFS (in this cause a Samba mount on a local box) and try
to reboot the shutdown process will freeze on "Unmounting network filesystems ..".
This will not respond to anything, and ends up in a hard reboot.
I've tried unmounting the CIFS, but it still seems to get the same result.

If I remember correctly this problem did not exist the first time I started
using CIFS.

Marked as critical due to the dirtying of my filesystem cause by the hard
reboot. Sorry if this was a wrong labelling.

Reproducible: Always
Steps to Reproduce:
1. Mount a Samba filesystem using CIFS.
2. shutdown -r now
3. Make your poor old filesystem dirty :\

Actual Results:  
System froze on "Unmounting network filesystems ..."

Expected Results:  
Thawed out after unmounting the network filesystems ;)

Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r1 i686)
=================================================================
System uname: 2.6.13-gentoo-r1 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="maint x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo
http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-php-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa apache2 apm arts audiofile avi berkdb
big-tables bitmap-fonts bzip2 cdr cifs cli crypt cups curl curlwrappers dba
divx4linux doc dts dvd dvdr dvdread eds emboss encode fam fbcon firefox flac
foomatic foomaticdb fortran freetype ftp gd gdbm gif gimp gimpprint gpm
gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ithreads j2ee java javascript
jmx jpeg junit kde kdeenablefinal kerberos lcms libg++ libwww mad mjpeg mmap mmx
mmx2 mmxext motif mozsvg mp3 mpeg mplayer msn musicbrainz mysql mysqli ncurses
network nls nobeanutils nocommonslogging norhino noxalan noxerces nptl nptlonly
nvidia ogg oggvorbis opengl oss pam pcre pdflib pear perl php pic png ppds
python qt quicktime readline real rtc ruby samba scanner sdl session speex spell
sql sse sse2 ssl subtitles svg tcltk tcpd tidy tiff tomcat truetype
truetype-fonts type1-fonts usb utf8 vcd vorbis wifi win32codecs wmf wxgtk1 xine
xml xml2 xpm xprint xsl xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Patrick Lauer gentoo-dev 2005-09-21 08:00:44 UTC
I'm not sure wether this is kernel or baselayout land, please reassign if needed.
Comment 2 Danny Brain 2005-09-21 08:06:30 UTC
If it helps at all I'm running: baselayout-1.11.13-r1
Can move to the latest 1.12.0_pre8-r2 for testing purposes if required
(currently have them hardmasked due to the initial instability).
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2005-09-29 01:24:27 UTC
Is this reproducable on the latest development kernel? (currently
vanilla-sources-2.6.14_rc2)
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-10-10 08:47:18 UTC
Please reopen after you test the latest development kernel
Comment 5 Danny Brain 2005-10-10 08:51:44 UTC
Sorry for the late response.
I'm fairly sure it's a baselayout issue, I upgraded to 1.12.* and no longer had
these problems.
Of course this lead me to other annoying baselayout issues when mounting
filesystems, but oh well.

I'll leave it closed untill I get time to fiddle with development kernels, just
in case.