Date: Wed, 28 Jan 2009 14:41:20 -0500 From: Robert Noland <rnoland@FreeBSD.org> To: Ashish SHUKLA <wahjava.ml@gmail.com> Cc: freebsd-x11@freebsd.org Subject: Re: Xorg 7.4 causing kernel to crash in 7.1-RELEASE Message-ID: <1233171680.1733.37.camel@wombat.2hip.net> In-Reply-To: <87wscfjr6y.fsf@chateau.d.lf> References: <87wscfjr6y.fsf@chateau.d.lf>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, 2009-01-28 at 22:36 +0530, Ashish SHUKLA wrote: > Hi all, > > I recently installed FreeBSD 7.1-RELEASE (AMD64) on my notebook HP > Compaq A900. Whenever Xorg starts, sometimes touchpad is not responsding > or sometime system reboots unexpectedly. And when, I logout from GNOME, > or kill Xorg with <C-M-Bksp>, Xorg crashes everytime. Following are the > details from my box: > > ,---- rc.conf > | abbe [~] monte-cristo% cat /etc/rc.conf |grep -v '^#' > | > | check_quotas="NO" > | defaultrouter="172.16.0.2" > | hostname="monte-cristo.france" > | ifconfig_rl0="inet 172.16.0.7 netmask 255.255.255.224" > | ipv6_enable="YES" > | keymap="us.iso" > | named_enable="YES" > | sshd_enable="YES" > | gnome_enable="YES" > | gdm_enable="YES" > | dbus_enable="YES" > | clear_tmp_enable="YES" > | avahi_dnsconfd_enable="NO" > | fusefs_enable="YES" > `---- > > Following is the output of the kgdb operating on core-file of the > crashed kernel. I'm using the kernel supplied with FreeBSD DVD whereas > I've compiled ports myself. > > ,---- the backtrace of kernel crash > | abbe [~] monte-cristo% sudo kgdb > | Password: > | GNU gdb 6.1.1 [FreeBSD] > | Copyright 2004 Free Software Foundation, Inc. > | GDB is free software, covered by the GNU General Public License, and you are > | welcome to change it and/or distribute copies of it under certain conditions. > | Type "show copying" to see the conditions. > | There is absolutely no warranty for GDB. Type "show warranty" for details. > | This GDB was configured as "amd64-marcel-freebsd"... > | Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done. > | done. > | Loaded symbols for /boot/kernel/snd_hda.ko > | Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done. > | done. > | Loaded symbols for /boot/kernel/sound.ko > | Reading symbols from /boot/kernel/coretemp.ko...Reading symbols from /boot/kernel/coretemp.ko.symbols...done. > | done. > | Loaded symbols for /boot/kernel/coretemp.ko > | Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols from /boot/kernel/geom_journal.ko.symbols...done. > | done. > | Loaded symbols for /boot/kernel/geom_journal.ko > | Reading symbols from /usr/local/modules/fuse.ko...Reading symbols from /usr/local/modules/fuse.ko.symbols...done. > | done. > | Loaded symbols for /usr/local/modules/fuse.ko > | Reading symbols from /boot/kernel/i915.ko...Reading symbols from /boot/kernel/i915.ko.symbols...done. > | done. > | Loaded symbols for /boot/kernel/i915.ko > | Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kernel/drm.ko.symbols...done. > | done. > | Loaded symbols for /boot/kernel/drm.ko > | #0 0x0000000000000000 in ?? () > | (kgdb) core-file /var/crash/vmcore.0 > | > | Unread portion of the kernel message buffer: > | > | > | Fatal trap 12: page fault while in kernel mode > | cpuid = 0; apic id = 00 > | fault virtual address = 0x258 > | fault code = supervisor read data, page not present > | instruction pointer = 0x8:0xffffffff804a808d > | stack pointer = 0x10:0xffffffffaf223920 > | frame pointer = 0x10:0xffffff00033b8370 > | code segment = base 0x0, limit 0xfffff, type 0x1b > | = DPL 0, pres 1, long 1, def32 0, gran 1 > | processor eflags = interrupt enabled, resume, IOPL = 3 > | current process = 817 (Xorg) > | trap number = 12 > | panic: page fault > | cpuid = 0 > | Uptime: 49m17s > | Physical memory: 2025 MB > | Dumping 354 MB: 339 323 307 291 275 259 243 227 211 195 179 163 147 131 115 99 83 67 51 35 19 3 > | > | Loaded symbols for /boot/kernel/snd_hda.ko > | Loaded symbols for /boot/kernel/sound.ko > | Loaded symbols for /boot/kernel/coretemp.ko > | Loaded symbols for /boot/kernel/geom_journal.ko > | Loaded symbols for /usr/local/modules/fuse.ko > | Loaded symbols for /boot/kernel/i915.ko > | Loaded symbols for /boot/kernel/drm.ko > | #0 doadump () at pcpu.h:195 > | 195 pcpu.h: No such file or directory. > | in pcpu.h > | (kgdb) bt > | #0 doadump () at pcpu.h:195 > | #1 0x0000000000000004 in ?? () > | #2 0xffffffff804b4ce9 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 > | #3 0xffffffff804b50f2 in panic (fmt=0x104 <Address 0x104 out of bounds>) > | at /usr/src/sys/kern/kern_shutdown.c:574 > | #4 0xffffffff8078a173 in trap_fatal (frame=0xffffff00033b8370, eva=Variable "eva" is not available. > | ) > | at /usr/src/sys/amd64/amd64/trap.c:764 > | #5 0xffffffff8078a545 in trap_pfault (frame=0xffffffffaf223870, usermode=0) > | at /usr/src/sys/amd64/amd64/trap.c:680 > | #6 0xffffffff8078ae88 in trap (frame=0xffffffffaf223870) > | at /usr/src/sys/amd64/amd64/trap.c:449 > | #7 0xffffffff8077067e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:209 > | #8 0xffffffff804a808d in _mtx_lock_sleep (m=0xffffff0003663968, > | tid=18446742974252155760, opts=Variable "opts" is not available. > | ) at /usr/src/sys/kern/kern_mutex.c:339 > | #9 0xffffffff804a8496 in _mtx_lock_flags (m=Variable "m" is not available. > | ) at /usr/src/sys/kern/kern_mutex.c:186 > | #10 0xffffffffaf27b302 in i915_irq_wait (kdev=Variable "kdev" is not available. > | ) > | at /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_irq.c:117 > | #11 0xffffffffaf283572 in drm_ioctl (kdev=0xffffff0003127800, cmd=2147771461, > | data=0xffffff0030fc70e0 "�\036", flags=67, p=0xffffff00033b8370) > | at /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:911 > | #12 0xffffffff8047c8a8 in giant_ioctl (dev=0xffffff0003127800, cmd=2147771461, > | data=0xffffff0030fc70e0 "�\036", fflag=67, td=0xffffff00033b8370) > | at /usr/src/sys/kern/kern_conf.c:408 > | #13 0xffffffff80444e4d in devfs_ioctl_f (fp=0xffffff00035cbc80, com=2147771461, data=Variable "data" is not available. > | ) > | at /usr/src/sys/fs/devfs/devfs_vnops.c:595 > | #14 0xffffffff804ed9f4 in kern_ioctl (td=0xffffff00033b8370, fd=9, com=2147771461, > | data=0xffffff0030fc70e0 "�\036") at file.h:268 > | #15 0xffffffff804edcfa in ioctl (td=0xffffff00033b8370, uap=0xffffffffaf223bf0) > | at /usr/src/sys/kern/sys_generic.c:570 > | #16 0xffffffff8078a7c7 in syscall (frame=0xffffffffaf223c80) > | at /usr/src/sys/amd64/amd64/trap.c:907 > | #17 0xffffffff8077088b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:330 > | #18 0x0000000801b35b1c in ?? () > | Previous frame inner to this frame (corrupt stack?) > `---- > > I've uploaded dmesg output, and some other related outputs to the > following URL: > > http://wahjava.googlepages.com/xorg-crash.tar > > I used to run 8.0-CURRENT (with Xorg 7.3) fine with no such issues on > this notebook. This looks to be drm related. If you can update to releng_7, it has all the new drm code in it now. robert. > Thanks in advance, [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmAtOAACgkQM4TrQ4qfROOwAwCfbCLnueB/j9EXMa4xbeEtnt61 2KUAnRdmEnt3UPi9AW7TWl/86YJOC+Y2 =vWOj -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1233171680.1733.37.camel>
