Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184821 - >=kernel-2.6.21 hangs on boot at "io scheduler cfg registered (default)" line
Summary: >=kernel-2.6.21 hangs on boot at "io scheduler cfg registered (default)" line
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 11:06 UTC by Anton Kuzmin
Modified: 2007-08-22 13:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel config for suspend2-sources-2.6.20-r6 (suspend2-sources-2.6.20-r6.config,45.10 KB, text/plain)
2007-07-11 07:48 UTC, Anton Kuzmin
Details
kernel config for gentoo-sources-2.6.22 (gentoo-sources-2.6.22.config,46.00 KB, text/plain)
2007-07-11 07:51 UTC, Anton Kuzmin
Details
config for linux-2.6.20-gentoo-r6 (.config,44.58 KB, text/plain)
2007-08-04 10:03 UTC, Anton Kuzmin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kuzmin 2007-07-10 11:06:10 UTC
suspend2-sources and gentoo-sources >= 2.6.21 hangs on boot at "io scheduler cfg registered (default)" line.

There is no kernel panic, the kernel just gets stuck during boot.

I tried acpi=off noacpi with no luck. Tell me how to DEBUG.


Reproducible: Always

Steps to Reproduce:




Portage 2.1.2.9 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.4-r4, 2.6.20-suspend2-r6 x86_64)
=================================================================
System uname: 2.6.20-suspend2-r6 x86_64 AMD Turion(tm) 64 Mobile Technology MT-32
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 10 Jul 2007 08:30:10 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17, 1.2.18.1
sys-devel/autoconf:  2.13, 2.60, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.13-r4, 1.3.16
sys-devel/libtool:   1.5.22, 1.5.24
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.nyx.hu/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 anthy apache2 aspnet2 audiofile bitmap-fonts blender-game bluetooth bzip2 cairo canna cdr cjk cli contentcache cracklib crypt dbus disassembler djvu dv dvb dvd dvdr dvdread dvi encode examples exif fastcgi fat ffmpeg firefox flac fuse gd gdbm gif glibc-omitfp glitz gnome gnutls gpm gstreamer gtk hal howl iconv icu imagemagick immqt isdnlog java java5 javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lame libg++ libnotify mad midi mikmod mjpeg mng mp3 mpeg mplayer mudflap music musicbrainz mysql nautilus ncurses nforce2 nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp pam pcre pcsc-lite pdf pdo php plotutils plugins pmu png postgres ppds pppd python qt3 quicktime rar readline reflection reiserfs rt61pci ruby sdl session sharedmem silvercity sndfile socks5 spell spl sqlite ssl startup-notification streamripper subtitles subversion svg tagwriting tcpd theora tidy truetype truetype-fonts type1-fonts unicode urandom usb vcd vhosts vorbis xcomposite xforms xfs xine xml xorg xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru ja" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-07-10 13:17:29 UTC
Did 2.6.20 work?
Can you please test gentoo-sources-2.6.22?
Comment 2 Anton Kuzmin 2007-07-11 07:45:29 UTC
>Did 2.6.20 work?

Yes, it works. It works even if I compile it again. I use suspend2-sources-2.6.20-r6 (r5 worked too).

>Can you please test gentoo-sources-2.6.22?

I have already done it before commiting this bugreport.
Comment 3 Anton Kuzmin 2007-07-11 07:48:48 UTC
Created attachment 124525 [details]
kernel config for suspend2-sources-2.6.20-r6
Comment 4 Anton Kuzmin 2007-07-11 07:51:28 UTC
Created attachment 124526 [details]
kernel config for gentoo-sources-2.6.22

Before building a 2.6.22 kernel I ran 'make oldconfig' and changed just added SOME features.
Comment 5 Anton Kuzmin 2007-07-11 10:57:05 UTC
The same thing with linux-image-2.6.22-7-generic in Ubuntu.
Comment 6 Maarten Bressers (RETIRED) gentoo-dev 2007-07-19 22:38:22 UTC
Please post the .config of the latest working gentoo-sources.

Are you able to get the kernel output during boot to another machine, by using either netconsole or a serial console? For more information about this, read networking/netconsole.txt and serial-console.txt in the /usr/src/linux/Documentation/ directory.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2007-07-27 02:34:41 UTC
Please try enabling CONFIG_FIRMWARE_EDID
Comment 8 Anton Kuzmin 2007-07-27 07:52:20 UTC
I need a couple of days to get my laptop back. I'll try everything you suggested.
Comment 9 Anton Kuzmin 2007-08-04 10:03:10 UTC
Created attachment 126850 [details]
config for linux-2.6.20-gentoo-r6
Comment 10 Anton Kuzmin 2007-08-04 10:51:33 UTC
Same thing with gento-sources-2.6.22-r2 with config for linux-2.6.20-gentoo-r6 + CONFIG_FIRMWARE_EDID

I don't use any framebuffers.
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2007-08-05 22:22:58 UTC
Can you test the latest development kernel, currently v2.6.23-rc2?
Comment 12 Maarten Bressers (RETIRED) gentoo-dev 2007-08-21 19:03:28 UTC
So have you tested the latest development kernel (currently: sys-kernel/vanilla-sources-2.6.23_rc3)?, and if so, what were the results?

Something else you can try: take your working 2.6.20 .config and do a make oldconfig without adding/changing anything yourself (to select the default option just press enter) on your 2.6.22 kernel. If it still doesn't boot, try adding "noapic nolapic" to your kernel command line (in your bootloader config file).
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2007-08-22 13:27:37 UTC
Please reopen when the latest development kernel has been tested. Also, if you have time, it may be possible to locate the exact commit between 2.6.20 and 2.6.21 which introduced this bug for you (but do confirm that the latest 2.6.23-rc kernel also has the issue). See:
http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/