Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79735 - Total system hangup when mounting an extended partition
Summary: Total system hangup when mounting an extended partition
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 07:53 UTC by Jan Pieter Waagmeester
Modified: 2005-02-01 03:38 UTC (History)
1 user (show)

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 Jan Pieter Waagmeester 2005-01-27 07:53:00 UTC
When I was creating mount points in /etc/fstab, I accidentally mounted my /dev/hdb2 partition which is an extended partition. After that, my system was totally hooked up. Nothing can be done, no switching to other consoles's(ctrl-alt-Fx), no exiting x, nothing. I had to hard reset my computer.

Reproducible: Always
Steps to Reproduce:
1. mount /dev/hdb2 
(which is an extended partition)
that's it.

Actual Results:  
total system hangup.

Expected Results:  
dump an error message like:
you are trying to mount an extended partition, that's not possible

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 25 2005, 14:40:15)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r3
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/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/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.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups
directfb divx4linux dvd dvdread eds encode esd f77 fam font-server foomaticdb
fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imap imlib
ipv6 java jpeg ldap libg++ libwww live mad mikmod mime mmx motif mozilla mpeg
mpeg4 msn mysql nas ncurses network nls odbc oggvorbis opengl oss pam pdflib
perl png python quicktime readline rtc samba scanner sdl slp snmp spell ssl svga
tcpd tiff truetype truetype-fonts type1-fonts usb userlocales wmf xinerama xml2
xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-01-29 15:50:07 UTC
if the reset worked what is the problem? Did you mount it on / or something? What do you really want Gentoo to do?
Comment 2 Jan Pieter Waagmeester 2005-01-31 04:08:25 UTC
I think mounting an extended partition should not hangup my system but should generate a pretty error message calling me a fool, wanting to mount an extended partition.
I did not mount it on / , i mounted it on /tmp
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-01-31 21:57:56 UTC
its hard to say weither mount or another application caused your system to hangup.

To get the util-linux (package that provides mount) fixed we need your util-linux version and some testcase that proves it still at fault (including on the latest version of util-linux). Mounting to somewhere other than /tmp would also be good as other applications that use tmp may of freezed because of the inability to write to it/and or existing files/sockets open on it.

Either way this is something that should be fixed upstream.
Comment 4 Jan Pieter Waagmeester 2005-02-01 03:38:10 UTC
well, here you go:
root@jieter jieter # emerge search util-linux
Searching...
[ Results for search key : util-linux ]
[ Applications found : 1 ]

*  sys-apps/util-linux
      Latest version available: 2.12i-r1
      Latest version installed: 2.12i-r1
      Size of downloaded files: 1,933 kB
      Homepage:    http://www.kernel.org/pub/linux/utils/util-linux/
      Description: Various useful Linux utilities
      License:     GPL-2

root@jieter jieter # mkdir /mnt/mount-test/
root@jieter jieter # mount /dev/hdb2 /tmp/mount-test/
[return] causes hangup, every time I tried (about five times)