Sedat Dilek <sedat.di...@googlemail.com> writes:
> Yesterday, I reported on #radeon IRC that latest drm-next was broken
> for me on a Mobility Radeon X1300 (RV515, [1002:714a]) radeon-gfx
> card.
>
> Booting with modeset=1 into run-level 3, ended up with a black screen
> and frozen system (immediately when KMS was activated): A
> remote-ssh-session from another machine was not possible.
> Afterwards, I tested with nomodeset as cheat-code and loading drm
> kernel-module with debug=0xf before loading radeon with parameter
> modeset=1 (all done in init-3).
> Unfortunately, the logs were just fine and gave no further hints.
> FYI: On another machine with RV250 radeon-gfx card this drm-next kernel was
> OK.
>
> After starting to revert patches from top on, I found [1] as culprit.
>
> The patch from [2] worked for me, just apply.
> Please feel free to add a "Reported-by" and "Tested-by", Thanks.
>
> Kind Regards,
> Sedat (aka "dileX")
>
> [1]
> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commit;h=95a8f1bf4f48b434c9f839ab5a0773f66b39d7c6
> [2] http://marc.info/?l=dri-devel&m=125317347825283&w=2
For me, drm-next's still broken even with that patch whereas stock
2.6.31 is working fine (modulo hard freeze after a couple hours) on
RV350 AP [Radeon 9600].
here's the relevant bits of dmesg diff between working 2.6.31 and 2.6.31
with drm-next:
--- 2.6.31-desktop-1mnb.kms 2009-09-17 18:44:31.000000000 +0200
+++ 2.6.31-tmb-desktop-4mdv 2009-09-17 20:10:51.000000000 +0200
@@ -1,5 +1,5 @@
-Linux version 2.6.31-desktop-1mnb (her...@celeste.mandriva.com) (gcc version 4.4.1 (GCC) ) #1 SMP Thu Sep 10 15:22:32 EDT 2009
-Command line: BOOT_IMAGE=desktop_2.6.31-1mnb root=UUID=84e54f98-f069-11d9-93c0-6d39fba1f638 usbcore.autosuspend=1 splash=silent vga=788
+Linux version 2.6.31-tmb-desktop-4mdv (mandr...@klodia.mandriva.com) (gcc version 4.4.1 (GCC) ) #1 SMP PREEMPT Thu Sep 17 10:35:44 EDT 2009
+Command line: BOOT_IMAGE=desktop_2.6.31-tmb-4 root=UUID=84e54f98-f069-11d9-93c0-6d39fba1f638 usbcore.autosuspend=1 vga=5 S
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
@@ -306,15 +278,8 @@
io scheduler deadline registered
io scheduler cfq registered (default)
pci 0000:02:00.0: Boot video device
-vesafb: framebuffer at 0xd0000000, mapped to 0xffffc90000900000, using 1875k, total 131072k
-vesafb: mode is 800x600x16, linelength=1600, pages=135
-vesafb: scrolling: redraw
-vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
-Console: switching to colour frame buffer device 100x37
-fb0: VESA VGA frame buffer device
Linux agpgart interface v0.103
[drm] Initialized drm 1.1.0 20060810
-[drm] radeon default to kernel modesetting.
[drm] radeon kernel modesetting enabled.
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 16
radeon 0000:02:00.0: PCI INT A -> Link[LNKE] -> GSI 16 (level, high) -> IRQ 16
@@ -335,13 +300,12 @@
[drm] radeon: GTT 128M
[drm] radeon: GTT from 0xF0000000 to 0xF7FFFFFF
[drm] radeon: irq initialized.
-[TTM] TTM available graphics memory: 1005 MiB
-[TTM] TTM available object memory: 1005 MiB
+[TTM] Zone kernel: Available graphics memory: 1029378 kiB.
[drm] radeon: 128M of VRAM memory ready
[drm] radeon: 128M of GTT memory ready.
[drm] radeon: cp idle (0x10000C03)
-Switched to high resolution mode on CPU 0
[drm] Loading R300 Microcode
+platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
[drm] radeon: ring at 0x00000000F0000000
[drm] ring test succeeded in 0 usecs
[drm] radeon: ib pool ready.
@@ -361,32 +325,43 @@
[drm] Encoders:
[drm] CRT2: INTERNAL_DAC2
[drm] DFP1: INTERNAL_TMDS1
-i2c-adapter i2c-0: unable to read EDID block.
-radeon 0000:02:00.0: VGA-1: no EDID data
-i2c-adapter i2c-1: unable to read EDID block.
-radeon 0000:02:00.0: DVI-I-1: no EDID data
-i2c-adapter i2c-0: unable to read EDID block.
-radeon 0000:02:00.0: VGA-1: no EDID data
-[drm:drm_helper_initial_config] *ERROR* connectors have no modes, using standard modes
-[drm] fb mappable at 0xD0040000
-[drm] vram apper at 0xD0000000
-[drm] size 1920000
-[drm] fb depth is 24
-[drm] pitch is 3200
-fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
-Console: switching to colour dummy device 80x25
-Console: switching to colour frame buffer device 100x37
-[drm] DAC-5: set mode 800x600 d
-fb0: radeondrmfb frame buffer device
-registered panic notifier
+[drm] Connector 2:
+[drm] S-video
+[drm] Encoders:
+[drm] TV1: INTERNAL_DAC2
+------------[ cut here ]------------
+WARNING: at drivers/gpu/drm/drm_crtc_helper.c:952 drm_helper_initial_config+0x57/0x60 [drm_kms_helper]()
+Hardware name: SK8N
+Connected connector with 0 modes
+Modules linked in: radeon(+) drm_kms_helper ttm drm i2c_algo_bit binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod snd_intel8x0 wacom snd_ac97_codec ac97_bus snd_seq_dummy usbhid snd_seq_oss firewire_ohci snd_seq_midi_event hid snd_seq snd_seq_device firewire_core crc_itu_t snd_pcm_oss snd_pcm ohci1394 amd64_edac_mod evdev snd_timer ieee1394 snd_mixer_oss rtc_cmos k8temp edac_core thermal pcspkr processor button snd i2c_nforce2 serio_raw sg forcedeth i2c_core soundcore snd_page_alloc floppy sr_mod ehci_hcd ohci_hcd usbcore ide_generic atiixp ide_core pata_amd pata_atiixp shpchp pci_hotplug sata_promise libata sd_mod scsi_mod crc_t10dif ext3 jbd [last unloaded: scsi_wait_scan]
+Pid: 1301, comm: modprobe Not tainted 2.6.31-tmb-desktop-4mdv #1
+Call Trace:
+ [<ffffffff81043848>] warn_slowpath_common+0x78/0xb0
+ [<ffffffff810438dc>] warn_slowpath_fmt+0x3c/0x40
+ [<ffffffffa034ef57>] drm_helper_initial_config+0x57/0x60 [drm_kms_helper]
+ [<ffffffffa03fe2ad>] radeon_modeset_init+0x28d/0x540 [radeon]
+ [<ffffffffa03e7682>] radeon_device_init+0x432/0x630 [radeon]
+ [<ffffffffa03e81e4>] radeon_driver_load_kms+0x84/0x120 [radeon]
+ [<ffffffffa039b712>] drm_get_dev+0x322/0x500 [drm]
+ [<ffffffffa042675a>] radeon_pci_probe+0x10/0x270 [radeon]
+ [<ffffffff81184c12>] local_pci_probe+0x12/0x20
+ [<ffffffff81185c50>] pci_device_probe+0x80/0xb0
+ [<ffffffff812057da>] ? driver_sysfs_add+0x5a/0x90
+ [<ffffffff81205916>] driver_probe_device+0x86/0x180
+ [<ffffffff81205aa3>] __driver_attach+0x93/0xa0
+ [<ffffffff81205a10>] ? __driver_attach+0x0/0xa0
+ [<ffffffff81204e88>] bus_for_each_dev+0x68/0x90
+ [<ffffffff81205779>] driver_attach+0x19/0x20
+ [<ffffffff81205128>] bus_add_driver+0xb8/0x250
+ [<ffffffff81205d98>] driver_register+0x78/0x140
+ [<ffffffff81186061>] __pci_register_driver+0x51/0xd0
+ [<ffffffff812e83eb>] ? printk+0x3c/0x41
+ [<ffffffffa0396751>] drm_init+0x111/0x120 [drm]
+ [<ffffffffa0079000>] ? radeon_init+0x0/0xc1 [radeon]
+ [<ffffffffa00790bf>] radeon_init+0xbf/0xc1 [radeon]
+ [<ffffffff81009047>] do_one_initcall+0x37/0x1a0
+ [<ffffffff81071069>] sys_init_module+0xd9/0x230
+ [<ffffffff8100bf2b>] system_call_fastpath+0x16/0x1b
+---[ end trace f4e419bf8a22b9e8 ]---
[drm] radeon: kernel modesetting successfully initialized.
[drm] Initialized radeon 2.0.0 20080528 for 0000:02:00.0 on minor 0
-i2c-adapter i2c-0: unable to read EDID block.
-radeon 0000:02:00.0: VGA-1: no EDID data
-i2c-adapter i2c-0: unable to read EDID block.
-radeon 0000:02:00.0: VGA-1: no EDID data
-i2c-adapter i2c-0: unable to read EDID block.
-radeon 0000:02:00.0: VGA-1: no EDID data
-i2c-adapter i2c-0: unable to read EDID block.
-radeon 0000:02:00.0: VGA-1: no EDID data
-[drm] DAC-5: set mode 1280x1024 e
Any clue?
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel