Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 07:11:39 +1100
From:      Graham Menhennitt <graham@menhennitt.com.au>
To:        FreeBSD x11 <freebsd-x11@freebsd.org>, =?ISO-8859-1?Q?Jean-S=E9bastie?= =?ISO-8859-1?Q?n_P=E9dron?= <dumbbell@FreeBSD.org>
Subject:   Re: crash with X11 and ATI Radeon RS690 X1250 IGP
Message-ID:  <5320BF7B.2070602@menhennitt.com.au>
In-Reply-To: <531F3C02.7070607@FreeBSD.org>
References:  <531E1AE6.3080509@menhennitt.com.au> <531EC327.2090803@menhennitt.com.au> <531EE564.60009@FreeBSD.org> <531F3C02.7070607@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-03-11 06:28:52 -0400, Jean-Sébastien Pédron wrote:
> On 11.03.2014 09:02, Graham Menhennitt wrote:
> > Looks like I've solved this myself. After looking through the
> > mailing list archives of FreeBSD-X11, I found a message from
> > Jean-Sébastien Pédron suggesting defining WITH_GALLIUM="YES" in
> > /etc/make.conf and rebuilding the graphics/dri port. Even though
> > my crash was different, this seems to have fixed it. So, all
> > working again.
>
> Good to know that it's working :)
>
> I see in the dmesg you posted the following error, followed by
> other related error messages: [drm:pid1140:r100_ring_test] *ERROR*
> radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
>
> Do you always have that? Or just the one time it crashed?
>
Thanks for your help, Jean-Sébastien.

Yes, it always says that. I've rebooted a number of times since fixing
"WITH_GALLIUM", and /var/log/messages always contains the bit below. So
far, there don't seem to have been any bad effects from it.

Graham

Mar 13 06:49:42 starker kernel: info: [drm] Initialized drm 1.1.0 20060810
Mar 13 06:49:44 starker kernel: drmn0: <ATI Radeon RS690 X1250 IGP> on
vgapci0
Mar 13 06:49:44 starker kernel: info: [drm] RADEON_IS_PCI
Mar 13 06:49:44 starker kernel: info: [drm] initializing kernel
modesetting (RS690 0x1002:0x791E 0x1458:0xD001).
Mar 13 06:49:44 starker kernel: info: [drm] register mmio base: 0xFDFE0000
Mar 13 06:49:44 starker kernel: info: [drm] register mmio size: 65536
Mar 13 06:49:44 starker kernel: info: [drm] radeon_atrm_get_bios: ===>
Try ATRM...
Mar 13 06:49:44 starker kernel: info: [drm] radeon_atrm_get_bios: IGP
card detected, skipping this method...
Mar 13 06:49:44 starker kernel: info: [drm] radeon_acpi_vfct_bios: ===>
Try VFCT...
Mar 13 06:49:44 starker kernel: info: [drm] radeon_acpi_vfct_bios: Get
"VFCT" ACPI table
Mar 13 06:49:44 starker kernel: info: [drm] radeon_acpi_vfct_bios:
Failed to get "VFCT" table: AE_NOT_FOUND
Mar 13 06:49:44 starker kernel: info: [drm] igp_read_bios_from_vram:
===> Try IGP's VRAM...
Mar 13 06:49:44 starker kernel: info: [drm] igp_read_bios_from_vram:
VRAM base address: 0xd8000000
Mar 13 06:49:44 starker kernel: info: [drm] igp_read_bios_from_vram: Map
address: 0xfffff800d8000000 (262144 bytes)
Mar 13 06:49:44 starker kernel: info: [drm] igp_read_bios_from_vram:
Incorrect BIOS signature: 0x2070
Mar 13 06:49:44 starker kernel: info: [drm] radeon_read_bios: ===> Try
PCI Expansion ROM...
Mar 13 06:49:44 starker kernel: info: [drm] radeon_read_bios: Map
address: 0xfffff800000c0000 (131072 bytes)
Mar 13 06:49:44 starker kernel: info: [drm] ATOM BIOS: ATI
Mar 13 06:49:44 starker kernel: drmn0: info: VRAM: 128M
0x00000000D0000000 - 0x00000000D7FFFFFF (128M used)
Mar 13 06:49:44 starker kernel: drmn0: info: GTT: 512M
0x00000000A0000000 - 0x00000000BFFFFFFF
Mar 13 06:49:44 starker kernel: info: [drm] Supports vblank timestamp
caching Rev 1 (10.10.2010).
Mar 13 06:49:44 starker kernel: info: [drm] Driver supports precise
vblank timestamp query.
Mar 13 06:49:44 starker kernel: info: [drm] radeon: irq initialized.
Mar 13 06:49:44 starker kernel: info: [drm] Detected VRAM RAM=128M, BAR=128M
Mar 13 06:49:44 starker kernel: info: [drm] RAM width 128bits DDR
Mar 13 06:49:44 starker kernel: [TTM] Zone  kernel: Available graphics
memory: 2810954 kiB
Mar 13 06:49:44 starker kernel: [TTM] Zone   dma32: Available graphics
memory: 2097152 kiB
Mar 13 06:49:44 starker kernel: [TTM] Initializing pool allocator
Mar 13 06:49:44 starker kernel: info: [drm] radeon: 128M of VRAM memory
ready
Mar 13 06:49:44 starker kernel: info: [drm] radeon: 512M of GTT memory
ready.
Mar 13 06:49:44 starker kernel: info: [drm] GART: num cpu pages 131072,
num gpu pages 131072
Mar 13 06:49:44 starker kernel: info: [drm] radeon: 1 quad pipes, 1 z
pipes initialized.
Mar 13 06:49:44 starker kernel: info: [drm] PCIE GART of 512M enabled
(table at 0x0000000019AD7000).
Mar 13 06:49:44 starker kernel: drmn0: info: WB enabled
Mar 13 06:49:44 starker kernel: drmn0: info: fence driver on ring 0 use
gpu addr 0x00000000a0000000 and cpu addr 0x0xfffff800198a9000
Mar 13 06:49:44 starker kernel: info: [drm] Loading RS690/RS740 Microcode
Mar 13 06:49:44 starker kernel: info: [drm] radeon: ring at
0x00000000A0001000
Mar 13 06:49:44 starker kernel: error: [drm:pid1158:r100_ring_test]
*ERROR* radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
Mar 13 06:49:44 starker kernel: error: [drm:pid1158:r100_cp_init]
*ERROR* radeon: cp isn't working (-22).
Mar 13 06:49:44 starker kernel: drmn0: error: failed initializing CP (-22).
Mar 13 06:49:44 starker kernel: drmn0: error: Disabling GPU acceleration
Mar 13 06:49:44 starker kernel: error: [drm:pid1158:r100_cp_fini]
*ERROR* Wait for CP idle timeout, shutting down CP.
Mar 13 06:49:44 starker kernel: error:
[drm:pid1158:r100_gui_wait_for_idle] *ERROR* radeon: wait for empty RBBM
fifo failed ! Bad things might happen.
Mar 13 06:49:44 starker kernel: error: [drm:pid1158:r100_cp_disable]
*ERROR* Failed to wait GUI idle while programming pipes. Bad things
might happen.
Mar 13 06:49:44 starker kernel: info: [drm] radeon: cp finalized
Mar 13 06:49:44 starker kernel: info: [drm] radeon_device_init: Taking
over the fictitious range 0xd8000000-0xe0000000
Mar 13 06:49:44 starker kernel: iicbus0: <Philips I2C bus> on iicbb0
addr 0xff
Mar 13 06:49:44 starker kernel: iic0: <I2C generic I/O> on iicbus0
Mar 13 06:49:44 starker kernel: iicbus1: <Philips I2C bus> on iicbb1
addr 0xff
Mar 13 06:49:44 starker kernel: iic1: <I2C generic I/O> on iicbus1
Mar 13 06:49:44 starker kernel: iicbus2: <Philips I2C bus> on iicbb2
addr 0xff
Mar 13 06:49:44 starker kernel: iic2: <I2C generic I/O> on iicbus2
Mar 13 06:49:44 starker kernel: iicbus3: <Philips I2C bus> on iicbb3
addr 0xff
Mar 13 06:49:44 starker kernel: iic3: <I2C generic I/O> on iicbus3
Mar 13 06:49:44 starker kernel: info: [drm] Radeon Display Connectors
Mar 13 06:49:44 starker kernel: info: [drm] Connector 0:
Mar 13 06:49:44 starker kernel: info: [drm]   VGA-1
Mar 13 06:49:44 starker kernel: info: [drm]   DDC: 0x7e50 0x7e40 0x7e54
0x7e44 0x7e58 0x7e48 0x7e5c 0x7e4c
Mar 13 06:49:44 starker kernel: info: [drm]   Encoders:
Mar 13 06:49:44 starker kernel: info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
Mar 13 06:49:44 starker kernel: info: [drm] Connector 1:
Mar 13 06:49:44 starker kernel: info: [drm]   SVIDEO-1
Mar 13 06:49:44 starker kernel: info: [drm]   Encoders:
Mar 13 06:49:44 starker kernel: info: [drm]     TV1: INTERNAL_KLDSCP_DAC1
Mar 13 06:49:44 starker kernel: info: [drm] Connector 2:
Mar 13 06:49:44 starker kernel: info: [drm]   HDMI-A-1
Mar 13 06:49:44 starker kernel: info: [drm]   DDC: 0x7e40 0x7e50 0x7e44
0x7e54 0x7e48 0x7e58 0x7e4c 0x7e5c
Mar 13 06:49:44 starker kernel: info: [drm]   Encoders:
Mar 13 06:49:44 starker kernel: info: [drm]     DFP3: INTERNAL_LVTM1
Mar 13 06:49:44 starker kernel: error: [drm:pid1158:rs600_irq_set]
*ERROR* Can't enable IRQ/MSI because no handler is installed
Mar 13 06:49:44 starker kernel: info: [drm] fb mappable at 0xD8040000
Mar 13 06:49:44 starker kernel: info: [drm] vram apper at 0xD8000000
Mar 13 06:49:44 starker kernel: info: [drm] size 5300224
Mar 13 06:49:44 starker kernel: info: [drm] fb depth is 24
Mar 13 06:49:44 starker kernel: info: [drm]    pitch is 5888
Mar 13 06:49:44 starker kernel: info: [drm] Initialized radeon 2.29.0
20080528






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