linux-2.6.14-gentoo-r5 works fine but when I upgrade to linux-2.6.15-gentoo-r1 or even vanilla linux-2.6.16-rc1 the problem occurs. If I reboot my system the kernel boots up to a point and then just stops without any error messages. I have to do a cold/hard boot before the kernel will boot normally. Here is the last 2 lines from dmesg where the crash occurs. ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: debug port 1 #emerge --info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.rucus.ru.ac.za/gentoo-portage" USE="x86 X acl acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl dbus dvd dvdr eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint gjc glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib innodb ipv6 java jpeg junit kde lcms ldap libg++ libwww lua mad matroska mhash mikmod mmx mmx2 mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl png ppds python qt quicktime readline real recode samba sdl slang snmp spell sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xinerama xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 79372 [details] dmesg of working kernel
Created attachment 79415 [details] dmesg crash
Is this reproducible on the latest development kernel, currently 2.6.16-rc2?
Yes I can reproduce it in 2.6.16-rc2, I have found this post in the forums with a related problem. http://forums.gentoo.org/viewtopic-t-431635-highlight-scheduler.html?sid=ca6d2179d4970ea216fd931ee2d8e690
With the new kernel( 2.6.16-rc2) it crashes when it registers the IO Schedulers.
(In reply to comment #5) > With the new kernel( 2.6.16-rc2) it crashes when it registers the IO > Schedulers. > Please elaborate - what is the crash message?
I'm getting someone to upload the new picture I have taken. It will be up shortly.
Created attachment 79448 [details] dmesg_crash2.6.16-rc2.jpg Attached on behalf of Tersius.
Probably this bug: http://bugzilla.kernel.org/show_bug.cgi?id=6011 Please try this patch: http://bugzilla.kernel.org/attachment.cgi?id=7284&action=view
Seems to be the same as http://bugzilla.kernel.org/show_bug.cgi?id=6011
Created attachment 79575 [details, diff] patch Please try this patch. It includes the one mentioned above so you may need to revert that first (patch -R).
Created attachment 79577 [details, diff] patch Wrong patch. Please use this one instead.
Bump. Any news?
I have tried that patch with 2.6.16-rc3 and it still crashes. Here is a screenshot. <a href="http://imageshack.us"><img src="http://img46.imageshack.us/img46/8598/rc3crash5qm.jpg" border="0" width="1632" alt="Image Hosted by ImageShack.us" /></a>
Created attachment 80094 [details, diff] new patch Please try this one against 2.6.16-rc4 It won't solve the patch but should give a definate answer where the hang is occurring.
Here is the latest screenshot with your patch. http://img423.imageshack.us/img423/9526/rc4crash8my.jpg
Will track upstream bug
Created attachment 80135 [details, diff] patch for 2.6.14 This may sound a bit odd but it will help debug the problem. Please apply this patch to your working 2.6.14 kernel, and also enable this option: [*] USB verbose debug messages (CONFIG_USB_DEBUG) After recompiling and rebooting into it, please attach a new dmesg log here.
I have upgraded the BIOS and also disbaled usb legacy support and it seems as if the problem has gone away. I will test it for a while and see what happens. Currently running 2.6.16-rc4 and it warm boots fine.
Ok, thanks for trying that. Could you also try enabling usb legacy support and see if that brings the problem back? If my understanding is correct, all of this handoff stuff is designed to make USB legacy work ok.
Problem doesn't resurface with USB legacy turned on, must have been a BIOS bug. Thanks for your effort towards solving this.