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

[-- Attachment #1 --]
On Fri, 2009-03-13 at 23:33 -0500, Sean C. Farley wrote: 
> On Fri, 13 Mar 2009, Robert Noland wrote:
> 
> > On Fri, 2009-03-13 at 15:49 -0500, Sean C. Farley wrote:
> >> After upgrading my laptop (Dell 600m) yesterday, I have begun to 
> >> 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 
> >> 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)" (ChipID = 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=0x030000 card=0x011e1028 chip=0x4c661002 rev=0x01 hdr=0x00
> >>      vendor     = 'ATI Technologies Inc'
> >>      device     = 'ATI MOBILITY RADEON 9000 (Microsoft Corporation - Radeon Mobility M9'
> >>      class      = display
> >>      subclass   = 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 20080613
> >> Mar 13 15:41:52 baba kernel: info: [drm] Setting GART location based on 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 
> > enable hw.dri.0.debug=1 and send me the debug output as well, if you 
> > can get anything useful before it locks up.
> 
> I have not had luck reproducing a panic, but I can get the computer to 
> lock up at startup of the X server (rarely) and shutdown (often).
> 
> This may not be accurate, but I think I am able to shutdown safely if I 
> switch to a tty and wait until this debug line is printed:
> [drm:pid13:vblank_disable_fn] vblank_disable_allowed=1

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 
> course, this is only after rebooting several times.
> 
> 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?
> 
> Sean
-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAkm7XwMACgkQM4TrQ4qfROMz1wCfcEIGXE3awiOtHvqyu/9i9NEj
CfEAn0TiKLscRAhvqkSAkODoVJEYDemp
=CDuW
-----END PGP SIGNATURE-----

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