Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-20-2013, 07:20 PM   #1
LQ Newbie
Registered: Jul 2012
Posts: 10

Rep: Reputation: Disabled
gcc 4.8.0 and radeon r300 RS690

Because it was my post that first raised this issue, I wanted to let people know that this still exists. To rule out my build process, I used the stock slackware-current 3.8.8 kernel-huge-smp kernel and modules that were just updated. Kernel oops. Rebuild using gcc 4.7.2 and the kernel-huge-smp config file and everything is fine. I'm hoping that with gcc 4.8.1 everything will right itself. Anyone else with a 5-6 year old laptop that can test this?
Mine is a HP 6715b. Its not the individual machine because I have 2 of these models and both behave the same. I've compiled every 3.x.x kernel as they've come out without issue. If its the same story with 3.9.0 kernel I'll inform the radeon devs.


Oops from the original 3.8.6 try is attached.

[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RS690 0x1002:0x791F 0x103C:0x30C2).
[drm] register mmio base: 0xD0200000
[drm] register mmio size: 65536
BUG: unable to handle kernel paging request at 00008043
IP: [<f8ed53e4>] radeon_vram_location+0x14/0x1f0 [radeon]
*pdpt = 0000000036205001 *pde = 0000000000000000
Oops: 0002 [#1] SMP
Modules linked in: radeon(+) cfbfillrect cfbimgblt cfbcopyarea i2c_algo_bit drm_kms_helper ttm drm fbcon bitblit softcursor fb fbdev font ipv6 hid_generic usbhid hid fuse powernow_k8 joydev ohci_hcd ehci_pci ehci_hcd tg3 ptp pcmcia pps_core libphy fan processor ac button container battery video thermal thermal_sys yenta_socket pcmcia_rsrc shpchp pcmcia_core hp_wmi sparse_keymap snd_hda_codec_analog rfkill wmi snd_hda_intel snd_hda_codec snd_hwdep psmouse serio_raw evdev ati_agp agpgart snd_pcm i2c_dev i2c_piix4 i2c_core snd_page_alloc snd_timer snd soundcore k8temp hwmon
Pid: 1681, comm: modprobe Not tainted 3.8.6-smp #1 Hewlett-Packard HP Compaq 6715b (GZ268US#ABA)/30C2
EIP: 0060:[<f8ed53e4>] EFLAGS: 00010296 CPU: 0
EIP is at radeon_vram_location+0x14/0x1f0 [radeon]
EAX: 00000000 EBX: 00007fff ECX: 78000000 EDX: 00007fff
ESI: 00000000 EDI: c0000000 EBP: f608bc8c ESP: f608bc3c
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
CR0: 8005003b CR2: 00008043 CR3: 36298000 CR4: 000007f0
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
Process modprobe (pid: 1681, ti=f608a000 task=f6a1ecb0 task.ti=f608a000)
f63f1b40 00005000 00000000 00000000 00007fff f68a4000 c0000000 f608bc8c
f8f0fa21 f608bc7c f68a4000 f608bc7e f608bc8c f8eda7b8 f608bc84 00000000
b54c0101 00007fff f68a4000 c0000000 f608bcb8 f8f10981 78000000 00000000
Call Trace:
[<f8f0fa21>] ? rs690_pm_info+0x31/0x400 [radeon]
[<f8eda7b8>] ? radeon_atombios_sideport_present+0x38/0xa0 [radeon]
[<f8f10981>] rs690_init+0x191/0x2f0 [radeon]
[<f8ed63a2>] radeon_device_init+0x602/0x6d0 [radeon]
[<f8ed4ec0>] ? cail_mc_write+0x20/0x20 [radeon]
[<f8ed7b8c>] radeon_driver_load_kms+0x7c/0x130 [radeon]
[<f8d40bd3>] drm_get_pci_dev+0x133/0x250 [drm]
[<f8ebe1c1>] radeon_pci_probe+0xc1/0xf0 [radeon]
[<c11bff97>] pci_device_probe+0x57/0x90
[<c12247d6>] really_probe+0x46/0x1c0
[<c11bfb36>] ? pci_match_device+0x96/0xa0
[<c1224a07>] __driver_attach+0x77/0x80
[<c1224990>] ? __device_attach+0x40/0x40
[<c1223027>] bus_for_each_dev+0x47/0x80
[<c1224429>] driver_attach+0x19/0x20
[<c1224990>] ? __device_attach+0x40/0x40
[<c1223fe7>] bus_add_driver+0xa7/0x250
[<c11bfef0>] ? pci_dev_put+0x20/0x20
[<c11bfef0>] ? pci_dev_put+0x20/0x20
[<c1224f95>] driver_register+0x65/0x130
[<c11bfe4d>] __pci_register_driver+0x2d/0x30
[<f8d40de5>] drm_pci_init+0xf5/0x100 [drm]
[<f8f87000>] ? 0xf8f86fff
[<f8f870d4>] radeon_init+0xd4/0xd6 [radeon]
[<c10011f2>] do_one_initcall+0x102/0x150
[<c10acdbe>] ? __vunmap+0x6e/0xd0
[<c1071fed>] load_module+0x165d/0x1da0
[<c1072798>] sys_init_module+0x68/0x90
[<c1381a98>] syscall_call+0x7/0xb
Code: e8 d2 cb 34 c8 89 f8 e9 e2 fe ff ff 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 57 56 53 83 ec 44 8b 75 0c 89 45 d8 a1 38 52 f7 f8 <89> 72 44 89 c3 89 c1 c1 fb 1f 0f a4 c3 14 8b 42 18 89 5d e8 8b
EIP: [<f8ed53e4>] radeon_vram_location+0x14/0x1f0 [radeon] SS:ESP 0068:f608bc3c
CR2: 0000000000008043
---[ end trace 7a5a89da8e33c170 ]---

Last edited by Neil65; 04-20-2013 at 07:22 PM.
Old 04-21-2013, 05:29 AM   #2
Senior Member
Registered: May 2008
Posts: 4,679
Blog Entries: 12

Rep: Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176
Originally Posted by Neil65 View Post
I'm hoping that with gcc 4.8.1 everything will right itself.
You're assuming that it's a compiler bug. It might very well be a bad section of ati-driver or kernel code that is working purely by accident on the kernel compiled with the older gcc and that changes introduced with the newer gcc have merely exposed it.

This is a complete stab in the dark but the new 'aggressive-loop-optimizations" thing has been seen to expose problems elsewhere when encountering badly written code. Might be worth trying to compile with -fno-aggressive-loop-optimizations (I'm not certain but it looks like the makefile provides a KCFLAGS= for adding additional user supplied CFLAGS).

Last edited by GazL; 04-21-2013 at 05:37 AM.
Old 04-21-2013, 05:50 PM   #3
Registered: Apr 2009
Distribution: Slackware
Posts: 541

Rep: Reputation: 120Reputation: 120
No problem here. I have one XPRESS 200M (RS480):

[brz@m1] /$ uname -ar; glinfo
Linux m1 3.8.8 #1 PREEMPT Wed Apr 17 08:34:37 BRT 2013 x86_64 Mobile AMD Sempron(tm) Processor 3600+ AuthenticAMD GNU/Linux
GL_VERSION: 2.1 Mesa 9.1.1
GL_RENDERER: Gallium 0.4 on ATI RS480
GL_VENDOR: X.Org R300 Project
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_multitexture GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_pixel_buffer_object GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_pixel_buffer_object GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_gpu_program_parameters GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_separate_shader_objects GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_ARB_ES2_compatibility GL_ARB_debug_output GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_texture_storage GL_ARB_invalidate_subdata
GLU_EXTENSIONS: GLU_EXT_nurbs_tessellator GLU_EXT_object_space_tess
Old 06-11-2013, 07:22 PM   #4
LQ Newbie
Registered: Jul 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
gcc 4.8.1 has fixed this radeon oops issue
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ATI RS690/780 HDMI not available on Debian but fully fuctioning on Ubuntu GHarding977 Linux - Hardware 5 04-15-2011 04:55 AM
--current, radeon r300 segfault glxgears, glxinfo with radeon.modeset=0 on dual head Old_Fogie Slackware 1 11-29-2010 02:20 PM
DRI R300 use non-free microcode R300 jess_nc Linux - Hardware 5 01-07-2010 06:40 AM
R300 Please! shashir Linux - Hardware 0 08-11-2005 03:05 PM
need help to compile r300 open source driver from e88z4 Linux - Software 1 03-03-2005 11:29 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration