Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 02:38:43 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        "Sean C. Farley" <scf@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: Panic in radeon_get_vblank_counter()
Message-ID:  <1237016323.1789.13.camel@balrog.2hip.net>
In-Reply-To: <alpine.BSF.2.00.0903132318050.1220@baba.farley.org>
References:  <alpine.BSF.2.00.0903131534040.6590@thor.farley.org> <1236997834.1735.30.camel@balrog.2hip.net> <alpine.BSF.2.00.0903132318050.1220@baba.farley.org>

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

--=-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: <ATI Radeon Lf RV250 Mobility 9000 =
M9 / FireMV 2400 PCI> 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 <rnoland@FreeBSD.org>
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--




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