Summary: | [2.4] console blanking causes kernel panic gentoo-sources-2.4.26-r9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeremy Morrow <tashimon> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED NEEDINFO | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config of affected kernel (additionally patched with cpufreq, but panics without cpufreq too) |
Description
Jeremy Morrow
2004-10-19 07:34:46 UTC
there is no bash screensaver, the kernel will blank your console after a period of inactivity if you enable apm/acpi neglected to provide `emerge info`, re-open once you have if you made your own kernel, please post the .config file as an attachment Gentoo Base System version 1.4.16 Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9) ================================================================= System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(TM) XP 2400+ Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=athlon -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.agsn.ca http://gentoo.seren.com/gentoo http://gentoo.osuosl.org/ http://www.gigaload.com/gentoo.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb ftp gdbm gif gnome gpm gtk gtk2 icq imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib" Kernel was made automatically using "genkernel all". Can you reproduce this on vanilla-sources-2.4.26? I'll go give it a shot and post later today. It doesn't happen on vanilla-sources at all. I've tried waking the console several times during the emerge of xorg-x11, which locked up immediately using gentoo-sources. I get/got this too on three machines after changing from the extinct gs-sources to gentoo-sources (2.4.26-gentoo-r9). For me, these panics happen more randomly, well not always, but pretty much the same behaviour. After the screen blanks on a virtual terminal (idle or not doesn't matter here), hitting any key to get out of screen blanking gives me a panic most of the time. If I hit a key right after the blanking occurs, the probability of a panic seems lower (totally subjective feeling). I also feel like hitting [Alt] or [Ctrl] gives me a higher chance of panic than say hitting [Space] ??? One thing to note: it doesn't happen on vt7 (where X hangs out). as a workaround i try to remember to change to X if i leave the console, as it returns successfully from blanking the screen (i guess X does it differently?). As I have no idea yet what combination of things could cause it, I tried some random stuff: like booting with acpi=nopci, acpi=off, framebuffer console in text mode, etc... IIRC, acpi=off helped on a laptop (acer 636, mobile P4, Ali Chipset), as i don't think it panicked after blanking. But I don't think acpi is the (only?) bad one here as i've seen it on an older P3/mobo without acpi-bios too, using apm instead there. But lately I don't see it anymore on the P3 - don't ask me what I changed. I should have written down my experiences :-( but it was a busy nigh & I thought I just forgot some config option? If it would help anything, I could try to get the panic / oops over serial console on one of the next days - sadly I don't see anything, as the screen stays blank on panic... I'll attach the kernel config of the laptop (note: this is patched with cpufreq, but I tried it without too - same result) I'll be quite busy the rest of this week... I'll try to check back often # emerge info Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks sandbox" GENTOO_MIRRORS="http://lnxsrv.it-store/ ftp://gentoo.inode.at/source ftp://sunsite.cnlab-switch.ch/mirror/gentoo " MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://lnxsrv.it-store/portage" USE="X aalib acl acpi alsa apache2 arts avi berkdb bitmap-fonts bonobo cdr crypt cups directfb doc dvd dvdr emacs encode esd evo f77 fbcon foomaticdb gb gd gdbm gif gnome gpm gtk gtk2 guile imlib innodb java jikes jpeg kde ldap libg++ libgda libwww mad mcal mikmod mmx motif mozilla moznoirc mozsvg mozxmlterm mpeg mysql ncurses nls oav odbc offensive oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp python qt quicktime readline samba scanner sdl slang socks5 spell sse ssl svga tcltk tcpd tetex tiff truetype trusted usb wmf x86 xinerama xml2 xmms xprint xv zlib video_cards_nvidia linguas_en linguas_de linguas_fr" Created attachment 42686 [details]
config of affected kernel (additionally patched with cpufreq, but panics without cpufreq too)
I have the same problem, with 2.4.26-gentoo-r11 on a Via Epia (Nehemiah) 1Ghz system. I'll be happy to answer any questions. Mind trying gentoo-sources-2.4.28? If it still does it, would you be able to take the backtrace that the panic gives out somehow? Please try 2.4.28 as asked in comment #10. If you still get this issue, then please reopen this bug... This problem has been mocking me for weeks. I'm building a full debug kernel, going to do some magic SysRq reporting, and I've worked on 2 machines with the problem and one without, so I'll be posting .configs for all (all gentoo-sources-2.4.28-r5). I'm almost certain it's part of the bootsplash patches since it's not a problem for vanilla-sources and I can work around it by completely disabling the framebuffer (grub: change to "vga=normal", remove "splash=silent" and "initrd foo.img"; # rc-update del bootsplash default). If I'm right, it has to be a collision with something else because the machine without the issue is using a bootsplash theme with no problems at all. I also wanted to blame the nvidia binary video drivers but all 3 are using them, all AGP. More to come... OK, I'm an idiot. The working machine is 2.4.28-gentoo-r3, not r5. I upgraded that machie to -r5 with the same config (except 2 switches I always forget, under USB) and it seemes fine but I still have to stress it to be sure. I also took its .config and tweaked it just barely enough to run on a different P4 with similar (& unique) problems, and while the console blanking doesn't cause panics, it still gets destroyed upon switching back from X (total corruption, wrong video mode and garbage noncharacters or else solid blocks instead of chars, and not all there). More failure to control the experiment: might be the voltage mod on the otherwise OK GeForce 3, and this started right about when I got the TV-out working perfectly. I need to hand-build a few dozen more kernels, backing out some patches this time or else using vanilla + bootsplash + devfs since that's all I really need from gentoo sources anyway. This is reproducible for the most part and I'm still collecting configs for comparison. |