Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30468 - Boot process hangs after mounting /proc line
Summary: Boot process hangs after mounting /proc line
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 23:21 UTC by Daniel Harik
Modified: 2009-10-04 22:46 UTC (History)
4 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 Daniel Harik 2003-10-05 23:21:12 UTC
Recently i made  nice emerge world, and few days later my power went down, i had
to reboot my gentoo workstation, and damn, it hang on 
Mounting /proc part, i've i'm getting same thing with no matter what kernel i
use,  testted with 2.6.0-test3, 2.6.0-test6, 2.4.20, 2.4.22

I though there was problem in my /etc/fstab, but it looks clean:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda6              /               auto            noatime                 0 0
none                   /proc           proc            defaults                0 0
none                  /dev/shm        tmpfs           defaults                0 0


And i was thinking that devfsd.conf had problem, but it's also clean
its pretty long so i put it here http://dharik.com/devfsd.conf 


Thank you, hope this helps




Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Doesn't bootup

Expected Results:  
Must bootup
Comment 1 Markus Nigbur (RETIRED) gentoo-dev 2003-10-07 23:03:03 UTC
First of all, devfsd is for /dev not /proc.
What does ls -l / | grep proc show you?
Could you provide the output of emerge info?

-- Markus

Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-09 08:53:13 UTC
could this be bug #29833 ?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-15 20:22:36 UTC
Daniel please see comment #1
Comment 4 Brian Jackson (RETIRED) gentoo-dev 2003-10-18 05:02:53 UTC
Can we see your entire fstab? After the emerge world did you run etc-update
and update _all_ config files? Also the output of the command in comment
#1 would help as well.
Comment 5 Fredrik Andersson 2003-10-21 14:52:49 UTC
I had the same problem after downgrading my system.
Somehow the directory /proc had been removed (see comment #1).
After creating the directory the system boots.
Comment 6 Daniel Harik 2003-10-22 03:05:13 UTC
indeed i didnt have /proc 
will do a reboot now
Comment 7 Daniel Harik 2003-10-24 05:02:10 UTC
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1, 2.6.0-test6)
=================================================================
System uname: 2.6.0-test6 i686
distcc 2.11 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile mysql
X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt
kde motif opengl mozilla cdr"
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2003-10-24 05:07:08 UTC
Reassigning to bug-wrangling.

>> Mounting /proc part, i've i'm getting same thing with no matter what kernel
>> i use,  testted with 2.6.0-test3, 2.6.0-test6, 2.4.20, 2.4.22
Comment 9 Brian Jackson (RETIRED) gentoo-dev 2003-10-24 08:30:48 UTC
Daniel did you get a chance to restart yet? Is this still an issue?
Comment 10 Daniel Harik 2003-10-24 08:33:22 UTC
same thing after restart :(
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-01 14:50:56 UTC
Try to add to kernel parameters:

  gentoo=noudev

Comment 12 gunter haselberger 2003-11-05 14:03:06 UTC
on my pc too! 
used gentoo live cd to start and then chroot to get it work.
i get following error on mount:

mount: /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by mount)

i don't have glidc-2.3.3 - i got sys-libs/glibc-2.3.2-r1..

don't know what to do - please help!
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-06 14:05:07 UTC
Sounds like you had glibc-2.3.2-r6+ to build the system, and it then reverted
to -r1 ....

Know what might have caused this so that we might try and fix/track it ?
 Any chance to post your /var/log/emerge.log ?
Comment 14 SpanKY gentoo-dev 2003-11-06 19:11:22 UTC
getting back to the original bug report here ...
can we please have the init scripts go 'OMG YOU HAVE NO /PROC' and then either
create /proc (would require remounting / ...) or presenting the user with
one of
those 'please hit ctrl + d for normal boot or give root pw for maintance'
msgs ...
i just rebooted and forgot to create /proc and all i saw was the init scripts
sitting
there with 'mounting proc on /proc' and that was it
Comment 15 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-07 09:11:47 UTC
Well, it should, as it uses 'try mount' that will print the failing of mounting
/proc, but for some reason this never gets printed ...
Comment 16 Chris Bruner 2003-11-25 11:09:08 UTC
I had the same thing. It may have been caused in my case by a reboot the following morning before an emerge -u world was finished.

Turns out that mount was expecting libraries that had not been built.

glibc_2.3.3 not found.

Copied mount from a knoppix cd (which used the old libraries), and things are behaving better.
Comment 17 Christian Hartmann (RETIRED) gentoo-dev 2003-12-19 00:28:29 UTC
Same problem here.

I double checked /etc/fstab. /proc directory was missing. So I created a new one and emerged baselayout again. Any ideas how to fix this?
Comment 18 Mike Reys 2004-01-10 06:54:28 UTC
I have exactly the same problem after a fresh install (troublesome with dependencies on openssl and perl for the sources)... I tried gentoo-sources and vanilla-sources.
There is an entry for proc in /etc/fstab.
And I have a proc directory...
Comment 19 rgm 2004-01-21 11:26:22 UTC
I have this problem too.  System hangs at the "Mounting proc at /proc..." line.  Hitting CTRL-D at this point causes the system to reset.  I really don't feel like this has anything to do with devfs, and firmly believe it has to do with glibc, which if I remember correctly, had recently finished recompiling when I did emerge -u world.

When I boot a livecd and chroot into my box and type 'mount' I get this:
mount: /lib/libc.so.6: version 'GLIBC_2.3.3' not found (required by mount)

Not sure how to fix.  I'm going to try recompiling util-linux and maybe glibc.
-rgm
Comment 20 Michiel Roeleveld 2004-02-11 08:57:49 UTC
Same problem here. I tried to rebuild util-linux and glibc, but that failed. Temporary fix is to copy an old mount to /usr/bin. 
Comment 21 SpanKY gentoo-dev 2004-10-02 23:17:20 UTC
sounds like issues with util-linux/glibc being out of sync

fix those and if this still happens, re-open
Comment 22 Audiodef 2009-10-04 22:46:16 UTC
I have this problem. Currently trying to fix with an emerge -uDN world while chrooted.