All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 42716] New: Boot failure with KMS enabled (radeon)
@ 2012-02-02  3:11 bugzilla-daemon
  2012-02-02 11:59 ` [Bug 42716] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-02-02  3:11 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42716

           Summary: Boot failure with KMS enabled (radeon)
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.2.x
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-dri@kernel-bugs.osdl.org
        ReportedBy: rw@rlworkman.net
        Regression: No


Since 3.2.0, my machine [1] fails to boot - it crashes/panics in early boot
when the radeon module (or one of its deps) is loaded. Graphics chip is as
follows:

  VGA compatible controller: ATI Technologies Inc RS690 [Radeon X1200 Series]

This is all running on libdrm-2.4.29, mesa-7.11.2, xorg-server-1.11.4, and
xf86-video-ati-6.14.3 with udev-180 (though the problem existed on 178 and 179
as well).

3.2.0, 3.2.1, and now 3.2.2 all exhibit this problem, but 3.1.x (including
3.1.10, which I'm currently using) is fine.  If I disable KMS
(radeon.modeset=0), then the system boots fine.

I thought I'd be clever and bisect this, so I built about twelve or thirteen
kernels, and bisect blamed this commit: 
  [50b8d257486a45cba7b65ca978986ed216bbcc10] ptrace: partially fix the
do_wait(WEXITED) vs EXIT_DEAD->EXIT_ZOMBIE race

That doesn't seem reasonable, but sure, it's worth a try.  I reversed that
patch in mainline 3.2.2, and I get a good boot.  However, I notice that this is
in /var/log/syslog:
  Feb  1 21:00:40 isotope kernel: [    2.039197] [drm:r100_ring_test] *ERROR*
radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
  Feb  1 21:00:40 isotope kernel: [    2.039256] [drm:r100_cp_init] *ERROR*
radeon: cp isn't working (-22).
  Feb  1 21:00:40 isotope kernel: [    2.162916] [drm:r100_cp_fini] *ERROR*
Wait for CP idle timeout, shutting down CP.

I then booted the vanilla 3.2.2, and it booted just fine.  Okay, that's odd, so
let's try the patched (reversed bisect patch from above) again.  This time,
appeared to OOPS after switching over to KMS, but the display is still visible.
 All of the potentially useful stuff scrolled off the screen, and now there's a
constant repetition of the following two lines (with alternating values of
CONNECTOR between 17 and 18) flooding the console every few seconds, so I can't
pageup back to the OOPS/trace/whatever:

  [drm:radeon_atombios_connected_scratch_regs], DFP3 disconnected
  [drm:output_poll_execute], [CONNECTOR:18:DVI-D-1] status updated from 2 to 2


So, let's reboot to that kernel a few times.
#1: all is fine
#2: crash/panic after kms load; no video at all
#3: crash/panic after kms load; no video at all

This isn't going well, so let's boot the patched kernel again:
#1: all is fine
#2: all is fine
#3: crash/panic after kms load; no video at all

Any idea what's going on here?  I don't have the option to attach a serial
console, for what that's worth, so that aside, any suggestions for further
debugging?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 42716] Boot failure with KMS enabled (radeon)
  2012-02-02  3:11 [Bug 42716] New: Boot failure with KMS enabled (radeon) bugzilla-daemon
@ 2012-02-02 11:59 ` bugzilla-daemon
  2012-02-27  4:05 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-02-02 11:59 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42716





--- Comment #1 from Michel Dänzer <michel@daenzer.net>  2012-02-02 11:59:30 ---
(In reply to comment #0)
> Any idea what's going on here?

Given your mixed testing results, I suspect the bisect result is bogus; you
probably need to at least test each kernel a couple of times before declaring
it as good.


> I don't have the option to attach a serial console, for what that's
> worth, so that aside, any suggestions for further debugging?

You could try netconsole.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 42716] Boot failure with KMS enabled (radeon)
  2012-02-02  3:11 [Bug 42716] New: Boot failure with KMS enabled (radeon) bugzilla-daemon
  2012-02-02 11:59 ` [Bug 42716] " bugzilla-daemon
@ 2012-02-27  4:05 ` bugzilla-daemon
  2012-02-27  9:40 ` bugzilla-daemon
  2012-02-27  9:42 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-02-27  4:05 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42716


Robby Workman <rw@rlworkman.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from Robby Workman <rw@rlworkman.net>  2012-02-27 04:05:44 ---
I'm marking this as invalid.  The machine I was seeing this on has died, and it
started with all of the usb ports going bad.  From there, other parts stopped
working over the course of several days.  I suspect a bad motherboard that was
introducing faults, and 3.1.x was somehow working around them better than
3.2.x.  Who knows?  :/

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 42716] Boot failure with KMS enabled (radeon)
  2012-02-02  3:11 [Bug 42716] New: Boot failure with KMS enabled (radeon) bugzilla-daemon
  2012-02-02 11:59 ` [Bug 42716] " bugzilla-daemon
  2012-02-27  4:05 ` bugzilla-daemon
@ 2012-02-27  9:40 ` bugzilla-daemon
  2012-02-27  9:42 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-02-27  9:40 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42716


Paul Menzel <paulepanter@users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paulepanter@users.sourcefor
                   |                            |ge.net




--- Comment #3 from Paul Menzel <paulepanter@users.sourceforge.net>  2012-02-27 09:40:14 ---
(In reply to comment #0)

[…]

> Any idea what's going on here?  I don't have the option to attach a serial
> console, for what that's worth, so that aside, any suggestions for further
> debugging?

Next time you can try netconsole. Although it has to be loaded before the
radeon module. I guess a way to come around that issue is to build the module
for the network card into the Linux kernel.

Additionally you could have started using a standard driver like vesafb(?) and
then load the radeon module manually after the system booted.

Thanks and good luck with your new system.

[1] http://www.kernel.org/doc/Documentation/networking/netconsole.txt

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 42716] Boot failure with KMS enabled (radeon)
  2012-02-02  3:11 [Bug 42716] New: Boot failure with KMS enabled (radeon) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-02-27  9:40 ` bugzilla-daemon
@ 2012-02-27  9:42 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-02-27  9:42 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=42716





--- Comment #4 from Paul Menzel <paulepanter@users.sourceforge.net>  2012-02-27 09:41:59 ---
(In reply to comment #2)
> I'm marking this as invalid.  The machine I was seeing this on has died, and it
> started with all of the usb ports going bad.  From there, other parts stopped
> working over the course of several days.  I suspect a bad motherboard that was
> introducing faults, and 3.1.x was somehow working around them better than
> 3.2.x.  Who knows?  :/

Could you please document what machine and what board this was? In case others
experience problems with the same machine it is quite helpful to know of
quality issues.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-27  9:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-02  3:11 [Bug 42716] New: Boot failure with KMS enabled (radeon) bugzilla-daemon
2012-02-02 11:59 ` [Bug 42716] " bugzilla-daemon
2012-02-27  4:05 ` bugzilla-daemon
2012-02-27  9:40 ` bugzilla-daemon
2012-02-27  9:42 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.