Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70496 - kernel crash at shutdown with USB stick mounted
Summary: kernel crash at shutdown with USB stick mounted
Status: RESOLVED DUPLICATE of bug 70203
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 13:08 UTC by jon R-B
Modified: 2005-07-17 13:06 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 jon R-B 2004-11-08 13:08:24 UTC
While shutting down or restarting, INIT stops eth0 and then a kernel panic.

It lists all my loaded modules, then a load of numbers (sorry no camera to capture) then states this at the end:


/etc/init.d/halt.sh line 124: 27980 segmentation fault. 
umount "${x}" > &/dev/null
INIT: no more process to unmount

There was some kernel mentioning abt umount_dev_????
in the list

Reproducible: Always
Steps to Reproduce:
1.mount USB stick
2. shutdown / restart
3. CRASH

Actual Results:  
crash - have to either press PSU reset or hold down power button for the 10sec
to kill power

Expected Results:  
unmounted all mounted and shutdown/restart

emerge info:

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.5
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/sites/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo http://www.mirror.ac.uk/mirror/www.ibiblio.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups directfb
dvd eds encode esd f77 fam fbcon foomaticdb fortran gdbm geoip gif gimpprint
gnome gpm gstreamer gtk gtk2 hal imagemagick imlib java joystick jpeg jpg libg++
libwww mad mikmod mme mme2 mmx mmx2 motif mozilla mpeg msn ncurses nls nptl
offensive oggvorbis opengl oss pam pdflib perl png ppds python quicktime
readline sdl slang spell sse sse2 ssl svga tcltk tcpd tiff truetype usb x86 xml
xml2 xmms xprint xv zlib"



uname -a

Linux Fluid 2.6.8-gentoo-r7 #2 Wed Nov 3 23:55:05 GMT 2004 i686 Intel(R)
Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux


lsmod (at shutdown)
Module                  Size  Used by
vfat                   11392  1
fat                    39104  1 vfat
usb_storage            26880  1
usblp                  11008  0
e100                   28800  0
joydev                  8384  0
usbhid                 23040  0
uhci_hcd               28048  0
snd_emu10k1            89864  2
snd_rawmidi            19748  1 snd_emu10k1
snd_ac97_codec         65028  1 snd_emu10k1
snd_util_mem            3584  1 snd_emu10k1
snd_hwdep               7428  1 snd_emu10k1
nvidia               4816596  12


mount output

/dev/hdb3 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/usbkey on /mnt/usbstick type vfat (rw,noexec,nosuid,nodev)


key package info:
Baselayout-1.11.5 
udev-030 

It is ok with baselayout-1.10.4
Comment 1 jon R-B 2004-11-08 13:28:10 UTC
--EDIT--

It is not ok with 1.10.4

Will downgrade to most stable (if requred) in a bit. Have some reports to write for work so cannot do atm. But it is pointing towards problem with USB-storage and umount at shutdown - prolly unmounting faster that the INIT
Comment 2 SpanKY gentoo-dev 2004-11-09 07:57:33 UTC
not a baselayout bug
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2004-11-10 22:14:51 UTC
Which kernel are you running? Are you using ub or usb-storage?
Comment 4 jon R-B 2004-11-11 13:15:58 UTC
uname -a

 Linux Fluid 2.6.8-gentoo-r7 #2 Wed Nov 3 23:55:05 GMT 2004 i686
 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

 I am using usb-storage - heard ub is not stable yet, might try it tho
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2004-11-17 15:54:11 UTC

*** This bug has been marked as a duplicate of 70203 ***