Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47409 - Solution to lock-ups with nvidia kernel module when switching from X11 to text console
Summary: Solution to lock-ups with nvidia kernel module when switching from X11 to tex...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 22:43 UTC by Christopher Eineke
Modified: 2006-02-24 20:17 UTC (History)
0 users

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 Christopher Eineke 2004-04-09 22:43:10 UTC
If you switch from your X11 session to a virtual console and your box locks up  (by pressing ctrl+alt+f1), try to disable advanced power management (APM) in your BIOS and do not load the APM kernel module on boot. The binary-only module does not seem to like the APM module...

X11: 4.3.0-r5
Kernel: 2.6.5-gentoo
Driver: 1.0.5336-r1
Board: MSI KT7 Ultra
Graphics: GeForce 3 Ti-500

Reproducible: Always
Steps to Reproduce:
1. Leave APM enabled in BIOS and set up system to insert apm kernel module on init.
2. Reboot and start X11 session.
3. Switch to a virtual console (by pressing ctrl+alt+f1)
4. Watch your box freeze.
5. Reboot.
6. Disable APM in BIOS and set up your system to not insert apm kernel module on init.
7. Reboot and start X11 session.
8. Switch to a virtual console (by pressing ctrl+alt+f1)
9. Switch back to your X11 session and rejoice.
Actual Results:  
Switching from X11 to text consoles and back again works now.

Expected Results:  
Freeze.

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.6
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ ftp://gentoo.noved.org/
http://gentoo.noved.org/ http://gentoo.mirrors.pair.com/
http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.net/gentoo
http://gentoo.netnitco.net http://mirror.clarkson.edu/pub/distributions/gentoo/
http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.ccccom.com
http://gentoo.seren.com/gentoo http://mirror.tucdemonic.org/gentoo/
http://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.tiscali.nl/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://ftp.lug.ro/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 S3TC X X509 Xaw3d aalib aavm alsa amd apache2 apm arts audiofile
autofs avi bindist caps cddb cdr crypt cscope cups curl dedicated diet directfb
dv dvd encode esd evms2 ext-png ext-zlib faad fbcon ffmpeg fftw flac flash fltk
fluidsynth foomaticdb fusion gd gd-external gif glut gphoto2 gpm gstreamer gtk
gtk2 guile hbci hyriand imagemagick imlib imlib2 jack jack-caps jack-tmpfs java
jikes joystick jpeg kde ladcca lcms libwww lufsusermount mad
make-busybox-symlinks matroska md5sum mikmod mmx mng motif moznocompose moznoirc
moznomail mpeg mpeg4 mpi nas ncurses nls nocardbus nodod nogcj nptl nvidia nviz
objc offensive oggvorbis opengl openssh oss pam parse-clocks pdflib perl physfs
pic pie png portaudio psyco pthreads python qt quicktime readline regexp rplay
samba sasl sdl slang slp snmp speex spell sse ssl stencil-buffer svga tcltk tcpd
tetex theora tiff timidity transcode truetype usb video_cards_nvidia wmf wxwin
wxwindows x86 xchattext xfs xml xml2 xmms xv xvid zlib"
Comment 1 Andrew Bevitt 2004-04-13 06:47:10 UTC
There are many solutions to this problem...

1) APM being disabled (which isnt to nice for shutdown)
2) Not using the tv out features of your card
3) Using a differnt NvAgp option in XF86Config (or xorg.conf)

I think this is an upstream problem really... anyone else
Comment 2 Andrew Bevitt 2004-04-30 08:26:44 UTC
Marking upstream as there is little we can do with the proprietary drivers, and its far beyond our control to enfore no APM.
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 15:19:54 UTC
Is this still an issue?
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-11-13 15:20:14 UTC
Re-assigning to x11-drivers.
Comment 5 Kris Kersey (RETIRED) gentoo-dev 2006-02-24 20:17:12 UTC
Agreed, there is little we can do to fix this.  Potentially multiple causes/solutions.  Marking CANTFIX.  If you have problems with this, file a bug report with NVIDIA as documented in their readme.