From owner-freebsd-stable@FreeBSD.ORG Sat Mar 14 07:38:57 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F28C1065672; Sat, 14 Mar 2009 07:38:57 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 12CDB8FC08; Sat, 14 Mar 2009 07:38:56 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-156-4-113.bna.bellsouth.net [70.156.4.113]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n2E7bXL7037637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Mar 2009 03:37:33 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: "Sean C. Farley" In-Reply-To: References: <1236997834.1735.30.camel@balrog.2hip.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-brAhDX2H9OV28WtFdkEs" Organization: FreeBSD Date: Sat, 14 Mar 2009 02:38:43 -0500 Message-Id: <1237016323.1789.13.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00, MIME_QP_LONG_LINE,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-stable@FreeBSD.org Subject: Re: Panic in radeon_get_vblank_counter() X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 07:38:57 -0000 --=-brAhDX2H9OV28WtFdkEs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2009-03-13 at 23:33 -0500, Sean C. Farley wrote:=20 > On Fri, 13 Mar 2009, Robert Noland wrote: >=20 > > On Fri, 2009-03-13 at 15:49 -0500, Sean C. Farley wrote: > >> After upgrading my laptop (Dell 600m) yesterday, I have begun to=20 > >> experience panics on it probably related to the DRM update. > >> > >> Killing the X server by Ctrl-Alt-Backspace is a good way to lock the=20 > >> system. Reboot to get a core dump. > >> > >> Piece of Xorg.log concerning the hardware using the > >> xf86-video-ati-6.11.0 driver: > >> (--) PCI:*(0@1:0:0) ATI Technologies Inc Radeon RV250 [Mobility FireGL= 9000] rev 1, Mem @ 0xe8000000/0, 0xfcff0000/0, I/O @ 0x0000c000/0, BIOS @ = 0x????????/65536 > >> ... > >> (--) RADEON(0): Chipset: "ATI Radeon Mobility 9000 (M9) Lf (AGP)" (Chi= pID =3D 0x4c66) > >> > >> > >> Special options in xorg.conf: > >> Section "Device" > >> ... > >> Option "EnablePageFlip" "true" > >> Option "AccelMethod" "EXA" > >> EndSection > >> > >> Section "Screen" > >> ... > >> Option "AddARGBGLXVisuals" "True" > >> Option "DisableGLXRootClipping" "True" > >> Option "XAANoOffscreenPixmaps" "True" > >> ... > >> EndSection > >> > >> > >> pciconf -lv of the device: > >> vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x011e1028 chip=3D0x4c= 661002 rev=3D0x01 hdr=3D0x00 > >> vendor =3D 'ATI Technologies Inc' > >> device =3D 'ATI MOBILITY RADEON 9000 (Microsoft Corporation -= Radeon Mobility M9' > >> class =3D display > >> subclass =3D VGA > >> > >> > >> /var/log/messages about drm: > >> Mar 13 15:41:51 baba kernel: drm0: on vgapci0 > >> Mar 13 15:41:51 baba kernel: vgapci0: child drm0 requested pci_enable_= busmaster > >> Mar 13 15:41:51 baba kernel: info: [drm] AGP at 0xe0000000 128MB > >> Mar 13 15:41:51 baba kernel: info: [drm] Initialized radeon 1.29.0 200= 80613 > >> Mar 13 15:41:52 baba kernel: info: [drm] Setting GART location based o= n new memory map > >> Mar 13 15:41:52 baba kernel: info: [drm] Loading R200 Microcode > >> Mar 13 15:41:52 baba kernel: info: [drm] writeback test succeeded in 1= usecs > >> Mar 13 15:41:52 baba kernel: drm0: [ITHREAD] > > > > Ok, I'll try to look at this soon... It would be useful if you could=20 > > enable hw.dri.0.debug=3D1 and send me the debug output as well, if you=20 > > can get anything useful before it locks up. >=20 > I have not had luck reproducing a panic, but I can get the computer to=20 > lock up at startup of the X server (rarely) and shutdown (often). >=20 > This may not be accurate, but I think I am able to shutdown safely if I=20 > switch to a tty and wait until this debug line is printed: > [drm:pid13:vblank_disable_fn] vblank_disable_allowed=3D1 Actually, vblank_disable_allowed should be 0 when you have switched out to a vt.. > If I start rebooting before it is printed, the system locks up. Of=20 > course, this is only after rebooting several times. >=20 > Here is a successful start and shutdown: > http://people.freebsd.org/~scf/drm-dmesg.log > http://people.freebsd.org/~scf/Xorg.0.log Ok, I'll spend some time staring at the current code... Thanks for the backtrace too, it's nice to get those... robert. > Does that help? >=20 > Sean --=20 Robert Noland FreeBSD --=-brAhDX2H9OV28WtFdkEs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkm7XwMACgkQM4TrQ4qfROMz1wCfcEIGXE3awiOtHvqyu/9i9NEj CfEAn0TiKLscRAhvqkSAkODoVJEYDemp =CDuW -----END PGP SIGNATURE----- --=-brAhDX2H9OV28WtFdkEs--