Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-gc/8bxe+RcbSVG4AN3hV
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, 2009-01-28 at 22:36 +0530, Ashish SHUKLA wrote:
> Hi all,
>=20
> 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:
>=20
> ,---- rc.conf
> | abbe [~] monte-cristo% cat /etc/rc.conf |grep -v '^#'
> |=20
> | check_quotas=3D"NO"
> | defaultrouter=3D"172.16.0.2"
> | hostname=3D"monte-cristo.france"
> | ifconfig_rl0=3D"inet 172.16.0.7  netmask 255.255.255.224"
> | ipv6_enable=3D"YES"
> | keymap=3D"us.iso"
> | named_enable=3D"YES"
> | sshd_enable=3D"YES"
> | gnome_enable=3D"YES"
> | gdm_enable=3D"YES"
> | dbus_enable=3D"YES"
> | clear_tmp_enable=3D"YES"
> | avahi_dnsconfd_enable=3D"NO"
> | fusefs_enable=3D"YES"
> `----
>=20
> 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.
>=20
> ,---- the backtrace of kernel crash
> | abbe [~] monte-cristo% sudo kgdb=20
> | 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 yo=
u are
> | welcome to change it and/or distribute copies of it under certain condi=
tions.
> | Type "show copying" to see the conditions.
> | There is absolutely no warranty for GDB.  Type "show warranty" for deta=
ils.
> | This GDB was configured as "amd64-marcel-freebsd"...
> | Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /bo=
ot/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 /b=
oot/kernel/coretemp.ko.symbols...done.
> | done.
> | Loaded symbols for /boot/kernel/coretemp.ko
> | Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols fro=
m /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/k=
ernel/drm.ko.symbols...done.
> | done.
> | Loaded symbols for /boot/kernel/drm.ko
> | #0  0x0000000000000000 in ?? ()
> | (kgdb) core-file /var/crash/vmcore.0=20
> |=20
> | Unread portion of the kernel message buffer:
> |=20
> |=20
> | Fatal trap 12: page fault while in kernel mode
> | cpuid =3D 0; apic id =3D 00
> | fault virtual address   =3D 0x258
> | fault code              =3D supervisor read data, page not present
> | instruction pointer     =3D 0x8:0xffffffff804a808d
> | stack pointer           =3D 0x10:0xffffffffaf223920
> | frame pointer           =3D 0x10:0xffffff00033b8370
> | code segment            =3D base 0x0, limit 0xfffff, type 0x1b
> |                         =3D DPL 0, pres 1, long 1, def32 0, gran 1
> | processor eflags        =3D interrupt enabled, resume, IOPL =3D 3
> | current process         =3D 817 (Xorg)
> | trap number             =3D 12
> | panic: page fault
> | cpuid =3D 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
> |=20
> | 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=3D260) at /usr/src/sys/kern/kern_=
shutdown.c:418
> | #3  0xffffffff804b50f2 in panic (fmt=3D0x104 <Address 0x104 out of boun=
ds>)
> |     at /usr/src/sys/kern/kern_shutdown.c:574
> | #4  0xffffffff8078a173 in trap_fatal (frame=3D0xffffff00033b8370, eva=
=3DVariable "eva" is not available.
> | )
> |     at /usr/src/sys/amd64/amd64/trap.c:764
> | #5  0xffffffff8078a545 in trap_pfault (frame=3D0xffffffffaf223870, user=
mode=3D0)
> |     at /usr/src/sys/amd64/amd64/trap.c:680
> | #6  0xffffffff8078ae88 in trap (frame=3D0xffffffffaf223870)
> |     at /usr/src/sys/amd64/amd64/trap.c:449
> | #7  0xffffffff8077067e in calltrap () at /usr/src/sys/amd64/amd64/excep=
tion.S:209
> | #8  0xffffffff804a808d in _mtx_lock_sleep (m=3D0xffffff0003663968,=20
> |     tid=3D18446742974252155760, opts=3DVariable "opts" is not available=
.
> | ) at /usr/src/sys/kern/kern_mutex.c:339
> | #9  0xffffffff804a8496 in _mtx_lock_flags (m=3DVariable "m" is not avai=
lable.
> | ) at /usr/src/sys/kern/kern_mutex.c:186
> | #10 0xffffffffaf27b302 in i915_irq_wait (kdev=3DVariable "kdev" is not =
available.
> | )
> |     at /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_irq.c:117
> | #11 0xffffffffaf283572 in drm_ioctl (kdev=3D0xffffff0003127800, cmd=3D2=
147771461,=20
> |     data=3D0xffffff0030fc70e0 "=EF=BF=BD\036", flags=3D67, p=3D0xffffff=
00033b8370)
> |     at /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:911
> | #12 0xffffffff8047c8a8 in giant_ioctl (dev=3D0xffffff0003127800, cmd=3D=
2147771461,=20
> |     data=3D0xffffff0030fc70e0 "=EF=BF=BD\036", fflag=3D67, td=3D0xfffff=
f00033b8370)
> |     at /usr/src/sys/kern/kern_conf.c:408
> | #13 0xffffffff80444e4d in devfs_ioctl_f (fp=3D0xffffff00035cbc80, com=
=3D2147771461, data=3DVariable "data" is not available.
> | )
> |     at /usr/src/sys/fs/devfs/devfs_vnops.c:595
> | #14 0xffffffff804ed9f4 in kern_ioctl (td=3D0xffffff00033b8370, fd=3D9, =
com=3D2147771461,=20
> |     data=3D0xffffff0030fc70e0 "=EF=BF=BD\036") at file.h:268
> | #15 0xffffffff804edcfa in ioctl (td=3D0xffffff00033b8370, uap=3D0xfffff=
fffaf223bf0)
> |     at /usr/src/sys/kern/sys_generic.c:570
> | #16 0xffffffff8078a7c7 in syscall (frame=3D0xffffffffaf223c80)
> |     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?)
> `----
>=20
> I've uploaded dmesg output, and some other related outputs to the
> following URL:
>=20
> http://wahjava.googlepages.com/xorg-crash.tar
>=20
> 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,

--=-gc/8bxe+RcbSVG4AN3hV
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEABECAAYFAkmAtOAACgkQM4TrQ4qfROOwAwCfbCLnueB/j9EXMa4xbeEtnt61
2KUAnRdmEnt3UPi9AW7TWl/86YJOC+Y2
=vWOj
-----END PGP SIGNATURE-----

--=-gc/8bxe+RcbSVG4AN3hV--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1233171680.1733.37.camel>