Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49981 - 4k Stack Issues in mm-sources-r6 and PS/2 Mouse issues
Summary: 4k Stack Issues in mm-sources-r6 and PS/2 Mouse issues
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 09:09 UTC by Jeremy Warren
Modified: 2004-05-05 16:08 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 Jeremy Warren 2004-05-04 09:09:39 UTC
While it is now well known that the nvidia-kernel modules do not work well with the 4k stack patch in the mm-sources-r6 and later, I seem to have found a side effect or reversing the 4k stack patch to make the nvidia-kernel modules work.

After reversing the patch, the PS/2 port mouse I have plugged into my laptop's PS/2 port suddenly works fully.  Before, I could only get three buttons to work, and the scroll wheel functionality was missing.  I tried many different configurations to get it to work, but nothing solved the problem.

After reversing the 4K stack patch on the kernel and rebuilding, the mouse suddenly works.  Is it possible that there is an issue with the kernel mouse drivers related to the 4K stack patch?

Reproducible: Always
Steps to Reproduce:
1.  emerge mm-sources
2.  apply the patch discussed here:
http://forums.gentoo.org/viewtopic.php?t=156523&highlight=format+mmsources+nvidia+module
3.  recompile the kernel and nvidia drivers
4.  watch everything work.

Actual Results:  
I could modprobe the nvidia-kernel module, as expected, but also found my 
mouse to be fully working. 
 
Perhaps it is either worth removing the 4k stack patch, or if it is to become 
a major part of the upcoming kernels, find out why it b0rks the mouse driver. 
 
In a related note, this also explains problems I had with gentoo-dev-sources.  
I would get a kernel panic on boot if the PS/2 mouse was plugged in, but the 
system would boot just fine if it wasn't.  As soon as I plugged the mouse in - 
bang - kernel panic. 

Expected Results:  
 

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-mm6) 
================================================================= 
System uname: 2.6.5-mm6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz 
Gentoo Base System version 1.4.10 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 
-falign-loop 
s=4 -falign-jumps=4 -pipe -w" 
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 /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 
-falign-lo                           ops=4 -falign-jumps=4 -pipe -w" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ 
ftp://gentoo.chem.wisc.edu/g                           entoo/ 
http://linux.thai.net/pub/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acpi acpi4linux aim alsa arts avi berkdb bluetooth chroot crypt cups 
devf                           s dga directfb divx4linux dvd encode f77 ffmpeg 
fftw foomaticdb freetype gdbm gi                           f gphoto2 gpm gtk 
gtk2 imap imlib irmc java jikes jpeg kde libg++ libwww mad mik                           
mod mmx motif mpeg mpeg4 ncurses nls nvidia oggvorbis opengl oss pam pdflib 
perl                            pic png pnp python qt quicktime readline sdl 
slang spell ssl svga tcpd tiff tru                           etype wifi x86 
xine xml2 xmms xv xvid zlib"
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-05-05 16:08:35 UTC
Please report this bug upstream at bugzilla.kernel.org