Sometimes the system locks, in X or also not in X and so I have to reboot the machine. This is the error in the log: Dec 12 21:51:00 tux kernel BUG at mm/slab.c:2348! Dec 12 21:51:00 tux invalid operand: 0000 [#1] Dec 12 21:51:00 tux PREEMPT SMP Dec 12 21:51:00 tux Modules linked in: lp parport ppp_synctty ppp_async crc_ccitt ppp_generic slhc rfcomm l$Dec 12 21:51:00 tux CPU: 0 Dec 12 21:51:00 tux EIP: 0060:[<c014ad6c>] Tainted: P S VLI Dec 12 21:51:00 tux EFLAGS: 00010096 (2.6.14-gentoo-r2) Dec 12 21:51:00 tux EIP is at check_slabp+0xcc/0xf0 Dec 12 21:51:00 tux eax: 00000001 ebx: 0000006c ecx: 00000001 edx: 00000001 Dec 12 21:51:00 tux esi: ce594000 edi: dfeb0820 ebp: dfeb0820 esp: cefa7b54 Dec 12 21:51:00 tux ds: 007b es: 007b ss: 0068 Dec 12 21:51:00 tux Process tar (pid: 608, threadinfo=cefa6000 task=df728590) Dec 12 21:51:00 tux Stack: c045e456 00000000 0000001a ce594000 00000006 ce594000 00000010 dff26e90 Dec 12 21:51:00 tux c014ae4a dfeb0820 ce594000 00000000 dfeaf45c d8c291d4 dff26eb8 dff26e98 Dec 12 21:51:00 tux cdf92e24 dff26e90 dfeb0820 00000246 00000250 dfeb0820 c014b531 dfeb0820 Dec 12 21:51:00 tux Call Trace: Dec 12 21:51:00 tux [<c014ae4a>] cache_alloc_refill+0xba/0x2c0 Dec 12 21:51:00 tux [<c014b531>] kmem_cache_alloc+0x91/0xa0 Dec 12 21:51:00 tux [<c02709ea>] kmem_zone_alloc+0x4a/0xc0 Dec 12 21:51:00 tux [<c0248272>] xfs_iget+0xf2/0x180 Dec 12 21:51:00 tux [<c0270a83>] kmem_zone_zalloc+0x23/0x60 Dec 12 21:51:00 tux [<c024e4ad>] xfs_inode_item_init+0x1d/0x80 Dec 12 21:51:00 tux [<c0264670>] xfs_trans_iget+0x180/0x190 Dec 12 21:51:00 tux [<c024a9d5>] xfs_ialloc+0xd5/0x510 Dec 12 21:51:00 tux [<c02650b3>] xfs_dir_ialloc+0x93/0x320 Dec 12 21:51:00 tux [<c0261e73>] xfs_trans_reserve+0x93/0x210 Dec 12 21:51:00 tux [<c026b301>] xfs_create+0x281/0x7a0 Dec 12 21:51:00 tux [<c02781db>] linvfs_mknod+0x24b/0x420 Dec 12 21:51:00 tux [<c012e583>] in_group_p+0x43/0x90 Dec 12 21:51:00 tux [<c0440dd6>] _spin_lock+0x16/0x90 Dec 12 21:51:00 tux [<c0440dd6>] _spin_lock+0x16/0x90 Dec 12 21:51:00 tux [<c017d642>] __d_lookup+0x92/0x140 Dec 12 21:51:00 tux [<c0269b2d>] xfs_access+0x4d/0x60 Dec 12 21:51:00 tux [<c0278999>] linvfs_permission+0x29/0x30 Dec 12 21:51:00 tux [<c01715e2>] permission+0xa2/0xb0 Dec 12 21:51:00 tux [<c0171fab>] __link_path_walk+0x3cb/0xf90 Dec 12 21:51:00 tux [<c01715e2>] permission+0xa2/0xb0 Dec 12 21:51:00 tux [<c02783b0>] linvfs_create+0x0/0x10 Dec 12 21:51:00 tux [<c0173466>] vfs_create+0x96/0x170 Dec 12 21:51:00 tux [<c01738ad>] open_namei+0xdd/0x650 Dec 12 21:51:00 tux [<c0163973>] get_empty_filp+0x43/0xd0 Dec 12 21:51:00 tux [<c0161b68>] filp_open+0x58/0xb0 Dec 12 21:51:00 tux [<c04411ad>] _spin_unlock+0xd/0x30 Dec 12 21:51:00 tux [<c0161cb8>] get_unused_fd+0xb8/0xe0 Dec 12 21:51:00 tux [<c0161dfb>] do_sys_open+0x5b/0x100 Dec 12 21:51:00 tux [<c0103295>] syscall_call+0x7/0xb Dec 12 21:51:00 tux Code: 76 1d f6 c3 0f 75 d8 89 5c 24 04 c7 04 24 59 b4 45 c0 e8 68 38 fd ff eb c6 8d b6 $Dec 12 21:51:00 tux <6>note: tar[608] exited with preempt_count 1 I updated the version of the kernel but nothing changed. Reproducible: Always Steps to Reproduce: 1. 2. 3.
You neglected to post emerge --info output, as instructed when filing the bug. Also, are you able to reproduce the problem with latest vanilla-sources? What exactly "system locks" means? Not responding to keyboard input? Needs a hard reset? Something else?
emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.1 4-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.13 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.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-Os -march=i686 -pipe" CHOST="i386-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/terminfo /etc/env.d" CXXFLAGS="-Os -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LANG="it_IT.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow S3TC X acl acpi adns aim alsa antlr apache2 apm audiofile avi bit map-fonts bluetooth bzip2 cairo cdr cdrom cross crypt cscope cups curl dbx dedic ated devfs26 dga divx4linux doc dvb dvd dvdr eds emboss encode esd evo exif expa t faac faad fam fastcgi fbcon ffmpeg fftw flac flash foomaticdb fortran freetds gb gd gif gimp gimpprint gkrellm glade glut gmp gnome gnomedb gpm graphviz gs gs treamer gtk gtk2 gtkhtml iconv icq ide idn image imagemagick imap imlib innodb i pv6 jabber java jikes joystick jpeg jpeg2k kde ladcca latex lcms libg++ libgd li bgda libwww lirc lm_sensors lzo lzw lzw-tiff mad maildir matroska mbox mbrola mc al md5sum memlimit mikmod mime ming mmx mng monkey mono motif mozcalendar mozill a mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mssql mysql ncurses nl s nptl ntlm nvidia oav odbc offensive ogg oggvorbis ooo-kde openal opengl oscar oss pam pcre pda pdflib pear-db perl php physfs plotutils png postgres postgresq l ppds prelude python qt quicktime readline rrdtool rtc samba sdk sdl serial sha redmem silc simplexml slp smartcard sms sndfile snmp sox spamassassin speedo spe ex spell spl sqlite sse ssl svg tcpd tga theora tidy tiff timidity tokenizer tra nscode truetype truetype-fonts type1 type1-fonts udev uim unicode usb uudeview v 4l v4l2 vhosts videos vnc vorbis wmf wsconvert wxgtk1 wxwindows xchattext xemacs xfs xgetdefault xine xinerama xml xml2 xmms xosd xrandr xv xvid xvmc yahoo yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY when screen locks there's no responding to mouse and keyboard input. The screen is immobile, it seems to be a screenshot so I have to reboot
How often does this happen? Can you reproduce it on the latest development kernel? (currently vanilla-sources-2.6.15_rc5)
It happens every time I use the system. I changed the kernel to vanilla-sources-2.6.14.2 but nothing changed.
Please try the latest development kernel, which is currently vanilla-sources-2.6.15_rc5
Same problem with vanilla-sources-2.6.15_rc5. I don't know how to fix it!
Is it *exactly* the same error in that kernel? Even the same line in slab.c?
No, there's no more the same error, I suppose. This could be the reason why screen continue locking. Dec 17 13:47:22 tux login(pam_unix)[6927]: session opened for user root by LOGIN(uid=0) Dec 17 13:47:55 tux X does an incomplete pfn remapping [<c0152ac9>] incomplete_pfn_remap+0x109/0x120 Dec 17 13:47:55 tux [<e10b3243>] nv_kern_mmap+0x541/0x56e [nvidia] Dec 17 13:47:55 tux [<c0155d57>] do_mmap_pgoff+0x3b7/0x7b0 Dec 17 13:47:55 tux [<c0177287>] do_ioctl+0x77/0xb0 Dec 17 13:47:55 tux [<c0304627>] xfs_link+0x407/0x610 Dec 17 13:47:55 tux [<c01096d5>] sys_mmap2+0x85/0xd0 Dec 17 13:47:55 tux [<c01031d5>] syscall_call+0x7/0xb Dec 17 13:48:17 tux su(pam_unix)[7160]: session closed for user root Dec 17 13:49:26 tux X does an incomplete pfn remapping [<c0152ac9>] incomplete_pfn_remap+0x109/0x120 Dec 17 13:49:26 tux [<e10b3243>] nv_kern_mmap+0x541/0x56e [nvidia] Dec 17 13:49:26 tux [<c0155d57>] do_mmap_pgoff+0x3b7/0x7b0 Dec 17 13:49:26 tux [<c0177287>] do_ioctl+0x77/0xb0 Dec 17 13:49:26 tux [<c0304627>] xfs_link+0x407/0x610 Dec 17 13:49:26 tux [<c01096d5>] sys_mmap2+0x85/0xd0 Dec 17 13:49:26 tux [<c01031d5>] syscall_call+0x7/0xb Dec 17 13:50:01 tux cron[17453]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Dec 17 13:50:15 tux spamd[7141]: spamd: server killed by SIGTERM, shutting down Dec 17 14:00:01 tux cron[21464]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Dec 17 14:10:01 tux cron[15507]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Dec 17 14:20:01 tux cron[25551]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Dec 17 14:30:01 tux cron[25564]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Dec 17 14:38:43 tux pppoe[6422]: Bad TCP checksum 7c11 Dec 17 14:40:02 tux cron[25606]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Dec 17 14:40:08 tux spurious 8259A interrupt: IRQ7.
This is a nvidia driver issue, not a general kernel issue. Can someone reassign the bug to the nvidia driver people, as there's nothing the kernel developers can do about this...
Now it seems to happen when I use Gaim or aMule
It still happens in X but also not in X. This is my xorg.conf. I don't think there's something wrong Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "unix/:7100" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" # FontPath "/usr/share/fonts/Speedo/" FontPath "/usr/share/fonts/Type1/" # FontPath "/usr/share/fonts/CID/" FontPath "/usr/share/fonts/75dpi/" FontPath "/usr/share/fonts/100dpi/" EndSection Section "Module" Load "glx" Load "record" Load "extmod" Load "dbe" Load "xtrap" Load "freetype" Load "type1" # Load "speedo" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "logicdp" Option "XkbLayout" "it" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" # Option "Protocol" "IMPS/2" # Option "Device" "/dev/psaux" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/input/mice" Option "Buttons" "7" Option "ZAxisMapping" "4 5" Option "Resolution" "100" EndSection Section "Monitor" Identifier "Monitor0" VendorName "HP" ModelName "L1955" EndSection Section "Device" Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "NV [GeForce 2 MX400]" BusID "PCI:1:0:0" Screen 0 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" # Viewport 0 0 # Depth 24 Modes "1280x1024" "1024x768" "800x600" EndSubSection EndSection
The nvidia devs. have issued a patch that fixes this problem. Please refer to bug #117996
Ebuild 1.0.8178-r1 committed with cumulative 8178 patch NVIDIA_kernel-1.0-8178-U122205.diff.