Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41791 - bootup stops after "Calculating module dependencies" with kernel 2.6.x
Summary: bootup stops after "Calculating module dependencies" with kernel 2.6.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 08:04 UTC by Tom Felker
Modified: 2004-04-16 17:27 UTC (History)
3 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 Tom Felker 2004-02-16 08:04:15 UTC
When I boot with either 2.6.0 or 2.6.3-rc3, it says, "Calculating module dependencies", then, about a second later, it says "FATAL: Module ide_probe_mod not found."  At this point, I can press CTRL-C to make it say "Failed to calculate module dependencies", but otherwise can only reboot.

Reproducible: Sometimes
Steps to Reproduce:
emerge sync
emerge -puU world
build linux-2.6.3-rc3, including modules-install, make /usr/src/linux point to linux-2.6.3-rc3.
ACCEPT_KEYWORDS=~x86 emerge nvidia-glx nvidia-kernel
change /boot/grub/grub.conf
reboot


Actual Results:  
It boots up normally, until it prints
"Calculating module dependencies"
and hangs.  (Keyboard is still responsive, but I can't get to a shell or get it
to continue)

Expected Results:  
It should boot normally.

The first time it failed was when I first booted 2.6.3-rc3.  Then I tried to
boot 2.6.0, and the first time i tried it failed, and the second time it worked.
 I hadn't yet seen the "FATAL: Module ide_probe_mod not found" message yet.  On
a hunch, I did "ACCEPT_KEYWORDS=~x86 emerge modutils module-init-tools".  After
doing this, I could never get it to work with either 2.6.0 or 2.6.3-rc3, but I
always saw the message.

Before all of this, I had emerged world, and when running etc-update, I remember
some of the boot scripts being changed.

emerge info
-----------
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
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="3dnow X aalib acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups
curl dga directfb doc dvd emacs encode esd foomaticdb gb gdbm ggi gif gnome gpm
gtk gtk2 gtkhtml guile imlib jack java jikes joystick jpeg kde kerberos ladcca
ldap libg++ libwww mad memlimit mikmod mmx motif mozilla mpeg nas ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba
scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb
wxwindows x86 xml2 xmms xv zlib"
Comment 1 alexander j pierce 2004-02-18 07:32:30 UTC
i get a little further.  My system makes it all the way to the ALSA init script, then freezes immediately after.  keyboard is responsive, but no shell, and no continuing.  Needs a reset.
Comment 2 Tom Felker 2004-02-18 18:34:39 UTC
I just tested 2.6.3, and the problem is still exactly as before.  And this
 time, I didn't re-emerge nvidia-kernel after making the new kernel, so I don't think it has anything to do with nVidia.
Comment 3 Tom Felker 2004-02-19 17:20:26 UTC
I just unmerged udev, and now it works fine.  I don't actually use udev, I just
 had it emerged for some reason.

I first tried adding "/bin/bash &" to /etc/init.d/modules right after it prints
"calculating module dependencies, but I got no shell.  (So I'm pretty sure
the kernel got corrupted in some way.)  I then tried reverting from udev 017
to 016-r1, which had no effect.  Then I unmerged it entirely, and it booted.  It's worth mentioning I also removed a /sys line I had added to my /etc/fstab.

Also, a further observation - the console, while responsive, is somewhat
 corrupt.  You can type stuff, but backspace just makes those keys appear in
 reverse order with a slash before them.  Alt-SysRq-R (unRaw) has no effect.

Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-29 12:09:58 UTC
Is your kernel built with devfs support?
Comment 5 Tom Felker 2004-02-29 12:31:47 UTC
Yes, my kernel has devfs support.
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2004-03-28 02:45:11 UTC
How about the kernels 2.6.4 and 2.6.5 and newer udev versions? Does the problem still exist?
Comment 7 Jason Cox (RETIRED) gentoo-dev 2004-04-16 17:27:55 UTC
As stated, he fixed it by unmerging udev.