Bug 15078 - [KMS] X1300 radeon boot failure
Summary: [KMS] X1300 radeon boot failure
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 16:19 UTC by Tomáš Trnka
Modified: 2012-06-27 14:18 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.32.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Tomáš Trnka 2010-01-17 16:19:01 UTC
My AGP X1300 often (maybe 80% of boots) fails to boot with radeon.modeset=1. No error messages are reported, but when the GPU is being initialized, my CRT screen goes blank (with signal on, the monitor reports 720x400@70Hz). After a few seconds, the machine reboots. Sometimes, instead of getting a blank screen, irregular vertical white&black stripes are displayed (at the aforementioned resolution).
I've used netconsole to get the dmesg output, the log ends with:
[drm] GART: num cpu pages 131072, num gpu pages 131072

I've tried to pinpoint the exact location of the problem by adding printk's between the relevant function calls in rv515.c (tested this on 2.6.32.3-17.fc12.x86_64, but the problem is here since the birth of the Universe). However, this made the bug disappear, as it apparently is some kind of a race condition. Adding printk's one by one I've found that the bug is somewhere between rv515_mc_program() and r100_rb2d_reset() in rv515_startup/rv515_gpu_init. Inserting anything between those two function calls makes the bug disappear.

I've tried to fiddle with various options, notably acpi=off, pci=nomsi, radeon.agpmode=-1 and various AGP aperture sizes, with no effect.
Comment 1 Tomáš Trnka 2010-02-01 08:57:26 UTC
Actually, there's a bug in my bugreport :-) There should be r100_hdp_reset() instead of r100_rb2d_reset() (i.e. inserting a printk between those two doesn't make the bug disappear).
Comment 2 Konstantin Pospelov 2010-05-28 13:38:08 UTC
My Radeon X1600 doesn't work with KMS too. However, sometimes the boot is sucessful (about 10% of tries). The kernel version is 2.6.34.
Comment 3 Dmitriy Fisenko 2010-07-07 10:39:13 UTC
I have the same problem.

X1600, Кernel 2.6.32-5
Comment 4 kowalski marcin 2010-07-07 11:45:56 UTC
i am also having described boot failures. 
it started with 2.6.31 for me. 

the successful boot rate is ~ 1 of out 3 tries for me. i sometimes get lockups with black screen of mentioned vertical stripes. the problem is reproductible with gentoo 32bit kernel, arch linux 64bit kernel, and occasionally with fedora 12/13 kernel.
Comment 5 kowalski marcin 2010-07-07 11:46:35 UTC
i forgot to add - X1300pro card (rv515) here. various kernels.
Comment 6 Jérôme Glisse 2010-07-07 17:54:19 UTC
AGP ?
Comment 7 kowalski marcin 2010-07-08 09:45:13 UTC
pci-e on my end. gigabyte k8nf9u mainboard (rev 1.x).
Comment 8 Alan 2012-06-27 12:57:12 UTC
Closing as obsolete, please update the bug if it is seen with a modern kernel
Comment 9 Tomáš Trnka 2012-06-27 14:18:18 UTC
KMS works just fine for me for a long time now (can't say exactly since when, but it's more than a year), I just forgot about this bug.

Note You need to log in before you can comment on or make changes to this bug.