I could each time my system crashes "localmount" couldn't mount two partitions of my HDD (which should mount under /COMMON, a FAT one, and /WINDOWS, a NTFS one). Issuing mount gives the incorrect sensation they are really mounted though but the only way to them mounted correctly again is to "umount /COMMON", "umount /WINDOWS" and issue "mount -a". Besides, mounting without a previous umount mounts them twice(???): RJZ-LNX ipsec.d # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,noatime,data=ordered) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) /dev/sda1 on /WINDOWS type ntfs (rw,noatime) /dev/sda3 on /COMMON type vfat (rw,noatime) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) RJZ-LNX ipsec.d # ls /WINDOWS/ RJZ-LNX ipsec.d # ls /COMMON/ RJZ-LNX ipsec.d # mount -a RJZ-LNX ipsec.d # ls /COMMON/ RJZ-LNX ipsec.d # file /WINDOWS/.windows-label /WINDOWS/.windows-label: ASCII text, with no line terminators RJZ-LNX ipsec.d # cat /WINDOWS/.windows-label Drive DRJZ-LNX ipsec.d # RJZ-LNX ipsec.d # RJZ-LNX ipsec.d # cat /COMMON/.windows-label cat: /COMMON/.windows-label: No such file or directory RJZ-LNX ipsec.d # cat /COMMON/ cat: /COMMON/: Is a directory RJZ-LNX ipsec.d # RJZ-LNX ipsec.d # mount /COMMON/ RJZ-LNX ipsec.d # mount /WINDOWS/ RJZ-LNX ipsec.d # Sep 17 09:29:23 RJZ-LNX NTFS volume version 3.1. RJZ-LNX ipsec.d # RJZ-LNX ipsec.d # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,noatime,data=ordered) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) /dev/sda1 on /WINDOWS type ntfs (rw,noatime) /dev/sda3 on /COMMON type vfat (rw,noatime) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) /dev/sda3 on /COMMON type vfat (rw,noatime) /dev/sda1 on /WINDOWS type ntfs (rw,noatime) RJZ-LNX ipsec.d # umount /COMMON/ RJZ-LNX ipsec.d # umount /COMMON/ umount: /dev/sda3: not mounted RJZ-LNX ipsec.d # umount /WINDOWS/ RJZ-LNX ipsec.d # umount /WINDOWS/ umount: /dev/sda1: not mounted RJZ-LNX ipsec.d # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,noatime,data=ordered) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) RJZ-LNX ipsec.d # mount -a RJZ-LNX ipsec.d # Sep 17 09:29:53 RJZ-LNX NTFS volume version 3.1. RJZ-LNX ipsec.d # RJZ-LNX ipsec.d # RJZ-LNX ipsec.d # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,noatime,data=ordered) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) /dev/sda1 on /WINDOWS type ntfs (rw,noatime) /dev/sda3 on /COMMON type vfat (rw,noatime) RJZ-LNX ipsec.d # RJZ-LNX ipsec.d # RJZ-LNX ipsec.d # ls /COMMON/ bruna_cabral.avi Music Photos Recycled Software SystemBackup System Volume Information RJZ-LNX ipsec.d # ls /WINDOWS/ AUTOEXEC.BAT CONFIG.SYS hiberfil.sys MSDOS.SYS OPTSTR RECYCLER System Volume Information WFCNAME.INI boot.ini Documents and Settings Inetpub NTDETECT.COM pagefile.sys resetlog.txt url.bat WINDOWS COMLOG.txt Drivers IO.SYS ntldr Program Files SMSLOGON VideoCAM Express V2 RJZ-LNX ipsec.d # Reproducible: Always Steps to Reproduce: 1. Let localmount mount the NTFS and/or FAT32 partitions (not sure what happens if one gets them manually mounted) 2. Crash your system or let it happen as in my case... :-) 3. Dig into your mounted partitions RJZ-LNX ~ # mount -V mount from util-linux-ng 2.14 (with libblkid support) RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # qfile /bin/mount sys-apps/util-linux (/bin/mount) RJZ-LNX ~ # RJZ-LNX ~ # emerge -pv sys-apps/util-linux These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/util-linux-2.14 USE="crypt nls unicode -loop-aes -old-linux (-selinux) -slang" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,noatime,data=ordered) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) /dev/sda3 on /COMMON type vfat (rw,noatime) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # umount /WINDOWS/ umount: /WINDOWS/: not mounted RJZ-LNX ~ # RJZ-LNX ~ # mount -a RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,noatime,data=ordered) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) /dev/sda3 on /COMMON type vfat (rw,noatime) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) /dev/sda1 on /WINDOWS type ntfs (rw,noatime) RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # emerge --info Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-tuxonice i686) ================================================================= System uname: Linux-2.6.26-tuxonice-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-glibc2.0 Timestamp of tree: Wed, 17 Sep 2008 06:00:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.62-r1 sys-devel/automake: 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -msse3 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -msse3 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo " INSTALL_MASK="Changelog.gz TODO.gz Author.gz" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en es" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="a52 aac acl acpi aiglx alsa apic avi berkdb bzip2 cddb cdr clflush cli cmov constant_tsc cracklib crypt cups cx8 dbus de dga dri dts dvd dvdnav dvdr dvdread est fortran fpu fxsr gdbm gif gpm hal ht iconv imlib isdnlog jpeg jpeg2k kde kipi live matroska mca mce midi mmx monitor mp3 mpeg msr mtrr mudflap ncurses nls nojoystick nptl nptlonly nsplugin nx oggvorbis opengl openmp pae pam pat pbe pcmcia pcre perl pge pmu png pni pppd pse python quicktime readline real reflection samba sdl sep session spl ss sse sse2 ssl sysfs tcpd theora tiff tm tm2 tsc unicode usb v4l vme vmx vorbis win32codecs wmf x86 xanim xcomposite xorg xtpr xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS RJZ-LNX ~ #
Forgot this: RJZ-LNX ~ # RJZ-LNX ~ # cat /etc/fstab # /etc/fstab: static file system information. # # 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 / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. #/dev/BOOT /boot ext2 noauto,noatime 1 2 /dev/sda2 / ext3 noatime 0 1 /dev/sda1 /WINDOWS ntfs noatime 0 0 /dev/sda3 /COMMON vfat noatime 0 0 #/dev/SWAP none swap sw 0 0 #/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # NOTE: The next line is critical for boot! proc /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 RJZ-LNX ~ #
You probably wanted to post `dmesg' output as well.
Created attachment 165676 [details] syslog messages for the system boot after the crash
Are the respective drivers in your kernel or modules. The dmesg output (why didn't you just post that?) in the system log suggests that the NTFS driver is in the kernel but the VFAT driver is not.
(In reply to comment #4) > Are the respective drivers in your kernel or modules. Hi Jeroen, they are not modules. Just in case: RJZ-LNX linux # egrep -i "fat|ntfs" .config CONFIG_X86_MCE_NONFATAL=y # DOS/FAT/NT Filesystems CONFIG_FAT_FS=y CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" CONFIG_NTFS_FS=y # CONFIG_NTFS_DEBUG is not set # CONFIG_NTFS_RW is not set > The dmesg output (why didn't you just post that?) The problem is I had already rebooted the PC so the dmesg output for that moment is gone :-( In any case, whatever else you need just tell me. I mean, this is not crux for me, but if I can help to improve things, I'll. Thanks, Rolando.
Did you watch the system booting after the crash, if so were there any messages about failed mounts "Some local filesystem failed to mount"?
(In reply to comment #6) > Did you watch the system booting after the crash, if so were there any messages > about failed mounts "Some local filesystem failed to mount"? Not that I can remember :-( May be I can try to reproduce the crash, in such case what info should I try to gather?
(In reply to comment #7) > May be I can try to reproduce the crash, in such case what info should I try to gather? Any info that will help Gentoo developers improve recovery from a bad NTFS/VFAT unmount. This bug report isn't going anywhere without at least a useful Summary that can be used to aim for improvement.
Created attachment 166107 [details] console dump after crash I just got another crash (cause of some IPSec tests I'm doing) so I could gather some more info. Lemme know if this enough. Should you need something else, drop me a line.
OK, let's assume for the moment that it's a baselayout-2 problem.
/dev/sda1 /WINDOWS ntfs noatime 0 0 /dev/sda3 /COMMON vfat noatime 0 0 So the disks were not unmounted cleanly and they're not set to fsck at boot? I would guess that the fsck helpers for them registered them in mounts but didn't actually mount them, so there's probably a bug there. Try setting the passno of them to 2. Also, check if /proc is really mounted - cat /proc/uptime; sleep 2; cat /proc/uptime; If the same, /proc isn't mounted and mount output will be incorrect.
(In reply to comment #11) > So the disks were not unmounted cleanly and they're not set to fsck at boot? I don't enable check as sometimes I left Windows hibernated (of course, I only do that when I don't need anything from any of those partitions) > Also, check if /proc is really mounted - cat /proc/uptime; sleep 2; cat > /proc/uptime; > If the same, /proc isn't mounted and mount output will be incorrect. They aren't the same: RJZ-LNX ~ # cat /proc/uptime; sleep 2; cat /proc/uptime 7194.75 4366.93 7196.75 4368.50 BTW, I think this might happen each time one removes the battery and unplugs the AC adapter though (not neceseraly as a consequence of a crash)
(In reply to comment #12) > (In reply to comment #11) > > So the disks were not unmounted cleanly and they're not set to fsck at boot? > I don't enable check as sometimes I left Windows hibernated (of course, I > only do that when I don't need anything from any of those partitions) Why should the use of Windows being hibernated affect the passno in /etc/fstab?
> Why should the use of Windows being hibernated affect the passno in /etc/fstab? Well, may be I'm wrong (I'm everything but an expert on this) but I don't like to have one OS touching a partition another OS saw before hibernating. Suppose, for instance, fsck detects an error (as may be because of this bug, for instnace) and decides to correct it. Then when waking up the hibernated Windoze, it would try to correct the defects "corrected" by fsck.
Well, that's Window's problem isn't it :) But I'm pretty sure that Windows won't do that anyway. Either way, the only possible bug here is the mount helpers registering unclean ntfs/vfat mounts as mounted but not actually doing it. Nothing baselayout or OpenRC. So, over to the Gentoo devs :)
if you have problems with fsck tools on fat/ntfs, then you should talk to the ntfs related projects. you really shouldnt be fscking ntfs anyways. as Roy said, the only issue here seems to be /etc/mtab management. try removing /etc/mtab and making it a symlink to /proc/mounts and see if things get mounted properly after that.
(In reply to comment #16) > if you have problems with fsck tools on fat/ntfs, then you should talk to the ntfs related projects. you really shouldnt be fscking ntfs anyways. Correct, I don't do so and was never complaining about it. > as Roy said, the only issue here seems to be /etc/mtab management. try removing /etc/mtab and making it a symlink to /proc/mounts and see if things get mounted properly after that. Ummh, you caght me, didn't know about this. This is what I've just done: RJZ-LNX ~ # ls -trl /etc/mtab -rw-r--r-- 1 root root 770 2008-09-25 10:55 /etc/mtab RJZ-LNX ~ # cat /etc/mtab rootfs / rootfs rw 0 0 /dev/root / ext3 rw,noatime,data=ordered 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw,nosuid 0 0 devpts /dev/pts devpts rw,nosuid,noexec 0 0 usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0 usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0 usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0 /dev/sda1 /WINDOWS ntfs rw,noatime 0 0 /dev/sda3 /COMMON vfat rw,noatime 0 0 shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 RJZ-LNX ~ # RJZ-LNX ~ # rm /etc/mtab RJZ-LNX ~ # ln -s /proc/mounts /etc/mtab RJZ-LNX ~ # RJZ-LNX ~ # cat /etc/mtab rootfs / rootfs rw 0 0 /dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0 /proc /proc proc rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw,nosuid,size=10240k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 rc-svcdir /lib/rc/init.d tmpfs rw,nosuid,nodev,noexec,size=1024k,mode=755 0 0 /dev/sda1 /WINDOWS ntfs ro,noatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0 /dev/sda3 /COMMON vfat rw,noatime,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=iso8859-1 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 Lemme see in the next few days, if I've another crash, what happens. Rolando
Ah, do you have the mtab init script in the boot runlevel? If not, put it there.
(In reply to comment #18) > Ah, do you have the mtab init script in the boot runlevel? If not, put it > there. Looking at: RJZ-LNX ~ # rc-update show bootmisc | boot fsck | boot root | boot xdm | default hostname | boot local | default nonetwork urandom | boot net.lo | boot sshd | default syslog-ng | default dbus | default hibernate-cleanup | boot hald | default nonetwork noip | default odccm | default RJZ-LNX ~ # seems like I don't. Should I delete the symlink created above and issue: rc-update add mtab boot
yes please
Hi guys, tried above solution and I get now: RJZ-LNX ~ # rc-update show bootmisc | boot fsck | boot root | boot xdm | default hostname | boot local | default nonetwork urandom | boot mtab | boot net.lo | boot sshd | default syslog-ng | default dbus | default hibernate-cleanup | boot hald | default nonetwork noip | default odccm | default RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # ls -trl /etc/mtab -rw-r--r-- 1 root root 509 2008-09-27 11:10 /etc/mtab RJZ-LNX ~ # RJZ-LNX ~ # cat /etc/mtab rootfs / rootfs rw 0 0 /dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0 /proc /proc proc rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw,nosuid,size=10240k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 rc-svcdir /lib/rc/init.d tmpfs rw,nosuid,nodev,noexec,size=1024k,mode=755 0 0 /dev/sda1 /WINDOWS ntfs rw,noatime 0 0 /dev/sda3 /COMMON vfat rw,noatime 0 0 RJZ-LNX ~ # RJZ-LNX ~ # ls /WINDOWS/ AUTOEXEC.BAT CONFIG.SYS Inetpub NTDETECT.COM pagefile.sys resetlog.txt url.bat boot.ini Documents and Settings IO.SYS ntldr Program Files SMSLOGON WFCNAME.INI COMLOG.txt hiberfil.sys MSDOS.SYS OPTSTR RECYCLER System Volume Information WINDOWS RJZ-LNX ~ # RJZ-LNX ~ # RJZ-LNX ~ # ls /COMMON/ bruna_cabral.avi Music Photos Recycled Software SystemBackup System Volume Information RJZ-LNX ~ # RJZ-LNX ~ # cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0 /proc /proc proc rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw,nosuid,size=10240k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 rc-svcdir /lib/rc/init.d tmpfs rw,nosuid,nodev,noexec,size=1024k,mode=755 0 0 /dev/sda1 /WINDOWS ntfs ro,noatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0 /dev/sda3 /COMMON vfat rw,noatime,fmask=0022,dmask=0022,allow_utime=177777,codepage=cp437,iocharset=iso8859-1 0 0 RJZ-LNX ~ # so it seems work fine. Next time a get a crash, it's almost done lastly :-) as per some tests I'm doing, I'll see how it comes up and close this bug if it's OK Thank you all for your support, Rolando Zappacosta
I'm closing it as it seems to work fine. Thank you guys for your support, Rolando Log of what I get now is: RJZ-LNX ~ # rc-service mtab status mtab | * status: started RJZ-LNX ~ # RJZ-LNX ~ # mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,noatime,errors=continue,data=ordered) /proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec) rc-svcdir on /lib/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,size=1024k,mode=755) /dev/sda1 on /WINDOWS type ntfs (rw,noatime) /dev/sda3 on /COMMON type vfat (rw,noatime) RJZ-LNX ~ # RJZ-LNX ~ # ls /WINDOWS/ AUTOEXEC.BAT CONFIG.SYS Inetpub NTDETECT.COM pagefile.sys resetlog.txt url.bat boot.ini Documents and Settings IO.SYS ntldr Program Files SMSLOGON WFCNAME.INI COMLOG.txt hiberfil.sys MSDOS.SYS OPTSTR RECYCLER System Volume Information WINDOWS RJZ-LNX ~ # RJZ-LNX ~ # ls /COMMON/ Music Photos Recycled Software SystemBackup System Volume Information RJZ-LNX ~ # RJZ-LNX ~ # ls -trl /etc/mtab -rw-r--r-- 1 root root 463 2008-09-27 12:54 /etc/mtab RJZ-LNX ~ # RJZ-LNX ~ # cat /etc/mtab rootfs / rootfs rw 0 0 /dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0 /proc /proc proc rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw,nosuid,size=10240k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 rc-svcdir /lib/rc/init.d tmpfs rw,nosuid,nodev,noexec,size=1024k,mode=755 0 0 /dev/sda1 /WINDOWS ntfs rw,noatime 0 0 /dev/sda3 /COMMON vfat rw,noatime 0 0 RJZ-LNX ~ # RJZ-LNX ~ # mount -a RJZ-LNX ~ # RJZ-LNX ~ # cat /etc/mtab rootfs / rootfs rw 0 0 /dev/root / ext3 rw,noatime,errors=continue,data=ordered 0 0 /proc /proc proc rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw,nosuid,size=10240k,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0 shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 rc-svcdir /lib/rc/init.d tmpfs rw,nosuid,nodev,noexec,size=1024k,mode=755 0 0 /dev/sda1 /WINDOWS ntfs rw,noatime 0 0 /dev/sda3 /COMMON vfat rw,noatime 0 0 RJZ-LNX ~ # RJZ-LNX ~ # ls /COMMON/ Music Photos Recycled Software SystemBackup System Volume Information RJZ-LNX ~ # RJZ-LNX ~ # ls /WINDOWS/ AUTOEXEC.BAT CONFIG.SYS Inetpub NTDETECT.COM pagefile.sys resetlog.txt url.bat boot.ini Documents and Settings IO.SYS ntldr Program Files SMSLOGON WFCNAME.INI COMLOG.txt hiberfil.sys MSDOS.SYS OPTSTR RECYCLER System Volume Information WINDOWS RJZ-LNX ~ #