Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165166 - vmware: Unable to handle kernel NULL pointer dereference
Summary: vmware: Unable to handle kernel NULL pointer dereference
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-03 20:48 UTC by Timo Nentwig
Modified: 2007-02-05 20:39 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 Timo Nentwig 2007-02-03 20:48:28 UTC
Unable to handle kernel NULL pointer dereference at 0000000000000050 RIP: 
  [<ffffffff8026f245>] _spin_lock+0x15/0x80 
  PGD 352fe067 PUD 523ac067 PMD 0 
  Oops: 0002 [1] PREEMPT SMP 
  CPU 1 
  Modules linked in: snd_emu10k1 snd_rawmidi snd_util_mem snd_hwdep snd_intel8x0 snd_ac97_codec snd_ac97_bus nvidia vmnet vmmon it87 hwmon_vid eeprom i2c_isa i2c_nforce2 
  Pid: 23025, comm: vmware-vmx Tainted: PF     2.6.18-reiser4-r6 #5 
  RIP: 0010:[<ffffffff8026f245>]  [<ffffffff8026f245>] _spin_lock+0x15/0x80 
  RSP: 0018:ffff81003f8c79f8  EFLAGS: 00010246 
  RAX: 0000000000000000 RBX: 0000000000000050 RCX: ffff810017377278 
  RDX: ffff81003f8c7a68 RSI: ffff810017377250 RDI: 0000000000000050 
  RBP: ffff810017377240 R08: 000000000000a800 R09: ffff81007f6a9800 
  R10: 0000000000001000 R11: 0000000000000000 R12: 0000000000000050 
  R13: 0000000000000001 R14: 00000000656f2000 R15: ffff81003f8c7a68 
  FS:  0000000041e47950(0000) GS:ffff810002f395c0(0063) knlGS:00000000f6aadba0 
  CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b 
  CR2: 0000000000000050 CR3: 000000006a99c000 CR4: 00000000000006e0 
  Process vmware-vmx (pid: 23025, threadinfo ffff81003f8c6000, task ffff81007c68d0a0) 
  Stack:  0000000000000000 ffffffff80331508 ffff810017377240 ffff8100019df508 
  ffff81003f8c7a68 ffffffff803416f7 0000000000000000 ffff810017377250 
  ffff810017377240 ffffffff8035774a ffff810000000002 ffff810000000002 
  Call Trace: 
  [<ffffffff80331508>] seal_init+0x38/0xa0 
  [<ffffffff803416f7>] set_hint+0x27/0x70 
  [<ffffffff8035774a>] extent_readpage_filler+0x1fa/0x260 
  [<ffffffff80357550>] extent_readpage_filler+0x0/0x260 
  [<ffffffff80357550>] extent_readpage_filler+0x0/0x260 
  [<ffffffff8025547c>] read_cache_pages+0x8c/0x120 
  [<ffffffff8020f786>] __alloc_pages+0x76/0x2d0 
  [<ffffffff80336c91>] reiser4_readpages+0x81/0x120 
  [<ffffffff80213461>] __do_page_cache_readahead+0x1b1/0x2c0 
  [<ffffffff8032f526>] cbk_pack+0x46/0xc0 
  [<ffffffff803308e9>] object_lookup+0xf9/0x140 
  [<ffffffff80235fcd>] blockable_page_cache_readahead+0x6d/0xe0 
  [<ffffffff80232466>] make_ahead_window+0x86/0xb0 
  [<ffffffff80214787>] page_cache_readahead+0x167/0x1e0 
  [<ffffffff803578b8>] read_extent+0x108/0x460 
  [<ffffffff80290dcc>] task_rq_lock+0x4c/0x90 
  [<ffffffff8034064c>] read_unix_file+0x30c/0x4c0 
  [<ffffffff8020b67a>] vfs_read+0xba/0x180 
  [<ffffffff80213b6d>] sys_pread64+0x5d/0x90 
  [<ffffffff8026b5c4>] cstar_do_call+0x1b/0x65 
 
 
  Code: 87 03 85 c0 7f 4c 65 48 8b 04 25 10 00 00 00 ff 88 44 e0 ff 
  RIP  [<ffffffff8026f245>] _spin_lock+0x15/0x80 
  RSP <ffff81003f8c79f8> 
  CR2: 0000000000000050 
  <6>note: vmware-vmx[23025] exited with preempt_count 1 
  /dev/vmmon[23026]: host clock rate change request 1043 -> 0 
  vmmon: Had to deallocate locked 97883 pages from vm driver ffff81003f7a6000 
  vmmon: Had to deallocate AWE 5241 pages from vm driver ffff81003f7a6000 
 


Reproducible: Always

Steps to Reproduce:
VMware crashes often, pretty quickly and without recognizable cause.

CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-03 21:32:38 UTC
Post emerge --info output, exact vmware version and reopen then.
Comment 2 Timo Nentwig 2007-02-04 11:44:09 UTC
vmware-workstation-5.5.3.34685
vmware-modules-1.0.0.15-r1

Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-reiser4-r6-tcn x86_64)
=================================================================
System uname: 2.6.18-reiser4-r6-tcn x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.6
Last Sync: Sun, 04 Feb 2007 10:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X aac ac acpi alsa alsa_cards_emu10k1 alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups curl dbus directfb dlloader dri dvb dvd dvdr elibc_glibc encode fam ffmpeg firefox fortran gcj gdbm gif glitz glut gpm gtk gtk2 gtkhtml hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms libg++ mad mhash midi mikmod mng mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl pic png postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session spell spl sqlite sse3 ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis xine xinerama xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-04 11:47:42 UTC
2.6.18-reiser4-r6-tcn? Well, feel free to reopen if you can reproduce this with a *supported* kernel.

http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
Comment 4 Timo Nentwig 2007-02-04 12:07:35 UTC
This is actually is gentoo-sources with the reiser4 patch.
Comment 5 Timo Nentwig 2007-02-05 20:39:45 UTC
You seem to be right: I copied the image to an FAT32 partition and despite I it seems to run stable.