Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54527 - Error with Remounting remaining filesystems readonly
Summary: Error with Remounting remaining filesystems readonly
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-20 08:39 UTC by Richard Torkar
Modified: 2004-12-12 15:14 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 Richard Torkar 2004-06-20 08:39:17 UTC
I get this always when shutting down my laptop:
Error with Remounting remaining filesystems readonly
and when I start up the next time my ext3 fs tells me that it has to clean up stuff.

I use ~x86, development-sources-2.6.7 and have udev setup.

tux ~$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root.old /initrd ext2 rw 0 0
/proc /initrd/proc proc rw,nodiratime 0 0
/dev/root / ext3 rw,noatime 0 0
none /proc proc rw,nodiratime 0 0
none /sys sysfs rw 0 0
none /dev ramfs rw 0 0
none /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/hdc1 /mnt/pcmcia vfat rw,nodiratime,nosuid,nodev,noexec,uid=1005,gid=100,fmask=0033,dmask=0033,codepage=cp437 0 0

tux ~$ emerge --info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) M processor 1200MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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 /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main"
SYNC="rsync://rsync1.se.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm avi berkdb bonobo cdr crypt cups dvd encode esd evo faad flac foomaticdb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 imlib irda java jpeg kerberos ldap libg++ libgda libwww mad mailwrapper mikmod mmx mono motif mozilla moznocompose moznoirc moznomail mpeg nas ncurses nls nntp nptl oggvorbis opengl oss pam pda pdflib perl png python quicktime readline ruby samba sasl sdl slang speex spell sse ssl svga tcpd tetex theora tiff truetype usb x86 xml xml2 xv zlib"

tux ~$ cat /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                  <dump/pass>

/dev/hda1               /boot           ext2            noauto,noatime  1 1
/dev/hda3               /               ext3            noatime         0 0
/dev/hda2               none            swap            sw              0 0
/dev/sr0                /mnt/cdrom      iso9660         noauto,user,ro  0 0
/dev/hdc1               /mnt/pcmcia     vfat            noauto,user     0 0
/dev/sda1               /mnt/camera     vfat            noauto,user     0 0
none                    /proc           proc            defaults        0 0
#none                   /sys            sysfs           defaults        0 0
#none                   /dev/pts        devpts          defaults        0 0
tmpfs                   /dev/shm        tmpfs           defaults        0 0
#none                   /proc/bus/usb   usbfs           defaults        0 0
Comment 1 Chris White (RETIRED) gentoo-dev 2004-06-20 09:34:52 UTC
You might need to e2fsck your drive.  You can grab a livecd and do that, just make sure your system is not mounted, otherwise you can cause some SERIOUS damage (I know, I've made this mistake :).  There's a command to run e2fsck/fsck on reboot, but I seem to have forgotten it.  For now though, You can just reboot on the live cd, run `e2fsck /dev/hda1` or whatever drive is giving you issues, then see if that solves the problem.  If not, provide more details on the issue.
Comment 2 Richard Torkar 2004-06-20 10:21:28 UTC
I have done that and my fs shows no error.

What more info do you need?
Comment 3 SpanKY gentoo-dev 2004-06-20 14:10:32 UTC
try this ...

boot up, close all your gui stuff (X/KDE/GNOME/etc...), log into the console, `umount -a`, make sure pretty much nothing really exists in the output of `mount` and then run `reboot`

could be a weird combination in shutting down
Comment 4 Richard Torkar 2004-06-20 14:45:42 UTC
unmount -a gives me this:
umount: /proc/bus/usb: device is busy
umount: /dev: device is busy
umount: /initrd: device is busy
umount: /: device is busy

and mount afterwards gives me this:
/dev/hda3 on / type ext3 (rw,commit=0)
/dev/root.old on /initrd type ext2 (rw)
/proc on /initrd/proc type proc (rw,nodiratime)
none on /proc type proc (rw)
none on /dev type ramfs (rw)
none on /proc/bus/usb type usbfs (rw)

USB is for, eeh USB :)
initrd I need because I have a sucky ACPI implementation on my laptop.
Comment 5 SpanKY gentoo-dev 2004-06-20 14:53:47 UTC
right, well did the reboot work that time or did it still cause the same problems ?
Comment 6 Richard Torkar 2004-06-20 15:28:07 UTC
Oh, sorry. No it didn't work. Same error and the msg telling me to enter the root pwd.
Comment 7 Richard Torkar 2004-06-22 04:41:27 UTC
When I write that root passwd (after the error msg when doing a shutdown) and then do a cat /proc/mount I get this:

rootfs / rootfs rw 0 0
/dev/root.old /initrd ext2 ro 0 0
/proc /initrd/proc proc ro,nodiratime 0 0
/dev/root / ext3 ro,noatime 0 0
none /proc proc ro,nodiratime 0 0
none /sys sysfs rw 0 0
none /dev ramfs rw 0 0
none /dev/pts devpts rw 0 0
none /proc/bus/usb usbfs rw 0 0
Comment 8 SpanKY gentoo-dev 2004-12-12 14:08:58 UTC
can you see if baselayout-1.11.7-r2 works ?
Comment 9 Richard Torkar 2004-12-12 15:14:13 UTC
Sorry, I switched to another distribution on my laptop (though not because of this fault).