Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42903 - main partition is mounted twice
Summary: main partition is mounted twice
Status: RESOLVED DUPLICATE of bug 38360
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 09:47 UTC by Florian Effenberger
Modified: 2005-07-17 13:06 UTC (History)
2 users (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 Florian Effenberger 2004-02-25 09:47:05 UTC
The main partition is mounted twice:

/dev/hda6 on / type ext3 (rw,noatime)
/dev/hda6 on / type ext2 (rw,noatime)
none on /proc type proc (rw)
none on /dev type devfs (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)


Contents of /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 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>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT              /boot           ext2            noauto,noatime          1 1
/dev/hda6               /               ext3            noatime                 0 0
/dev/hda5               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
/dev/fd0                /mnt/floppy     auto            noauto                  0 0

# NOTE: The next line is critical for boot!
none                    /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)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults                0 0



Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=k6-2 -march=k6-2 -funroll-loops -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/env.d"
CXXFLAGS="-O3 -mcpu=k6-2 -march=k6-2 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl dga directfb doc dvd dvdr encode esd ethereal fbcon flash foomaticdb gb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imap imlib java jpeg kde lcms libg++ libwww mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mysql nas ncurses nls nocd oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos wmf x86 xface xinerama xml xml2 xmms xosd xv zlib"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-02-26 18:07:36 UTC
do you use genkernel ?
Comment 2 Florian Effenberger 2004-02-26 23:22:32 UTC
Yes!
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2004-02-27 08:22:45 UTC
Is with xfs-sources?
Comment 4 Rui Malheiro 2004-02-27 08:39:25 UTC
I too have / mounted twice:

========================================
vincent root # mount
/dev/hda3 on / type reiserfs (rw,noatime)
/dev/hda3 on / type reiserfs (rw,noatime)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /dev/pts type devpts (rw)
/dev/hda5 on /opt type reiserfs (rw,noatime,notail)
/dev/hda6 on /home type reiserfs (rw,noatime,notail)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)
========================================

I'm running sys-kernel/development-sources-2.6.3, compiled using sys-kernel/genkernel-3.0.1_rc1. I also have media-gfx/bootsplash-0.6-r9 (applied patch to kernel and booting with initrd)
Comment 5 Florian Effenberger 2004-02-27 09:54:30 UTC
Sorry, what do you mean with "Is with xfs-sources?" ?
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2004-02-27 10:51:19 UTC
Sorry, I missed out "this". In other words, are you getting this problem on xfs-sources as your kernel, or some other kernel sources?

Since others seem to be getting this on a variety of kernels including development-sources, I guess this is a generic problem in genkernel rather than a kernel bug which is references in bug #39143.
Comment 7 Florian Effenberger 2004-02-27 11:02:40 UTC
Oh, sorry ;)
I use linux-sources, the "plain"/vanilla 2.4.25 kernel compiled by Gentoo, hardware detection by hotplug.
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2004-02-27 11:06:36 UTC

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