ATI Catalyst 8.11 (fglrx 8.552) unknown symbol

Bug #297799 reported by Lowell Alleman
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: fglrx-kernel-source

I ran into an this issues after running ATI's driver installer (8-11) on Ubuntu 8.04. After rebooting the system, X loads in a recovery mode which seems to be due to the fact that the "fglrx" kernel module will not load. If I try to load the module manually, I get the following error message:

   FATAL: Error inserting fglrx (/lib/modules/2.6.24-21-generic/updates/dkms/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)

I'm guessing this has something to do with the dkms build process. I found a dkms build log called "make.sh.log" (attached) which seems to indicate some kind of linking problem...?

FYI. I had tried using ATI 8-10 release on Ubuntu 8.04, but ran into a similar problem (but I just went back to the previous working driver rather than trying to track down the issue.)

I am not very familiar with dkms or how to fix broken kernel modules, but I do have some "C" and several years of Linux experience, but I'm not sure where to go next with this one. Any other ideas on what I can do to track down this issue would be appreciated.

Ubuntu 8.04.1
Linux 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux

fglrx-kernel-source 2:8.552-0ubuntu1

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA controller])
        Subsystem: IBM Unknown device 0550
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B+
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 66 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at 3000 [size=256]
        Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at c0120000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Here is the dmesg output:

[ 9468.172077] fglrx: Unknown symbol KCL_DEBUG_OsDump
[ 9468.172203] fglrx: Unknown symbol KCL_AGP_CopyInfo
[ 9468.172325] fglrx: Unknown symbol KCL_AGP_Available
[ 9468.172435] fglrx: Unknown symbol KCL_IO_MEM_Map
[ 9468.172550] fglrx: Unknown symbol fglrx_get_acpi_handles
[ 9468.172665] fglrx: Unknown symbol KCL_STR_Strlen
[ 9468.172775] fglrx: Unknown symbol KCL_PCI_ReadConfigByte
[ 9468.172959] fglrx: Unknown symbol KCL_WAIT_RemoveObject
[ 9468.173136] fglrx: Unknown symbol KCL_STR_Strncmp
[ 9468.173331] fglrx: Unknown symbol KCL_PCI_WriteConfigByte
[ 9468.173491] fglrx: Unknown symbol KCL_PCI_WriteConfigDword
[ 9468.173623] fglrx: Unknown symbol KCL_IO_PORT_ReadByte
[ 9468.173783] fglrx: Unknown symbol KCL_ACPI_RemoveHandler
[ 9468.174094] fglrx: Unknown symbol KCL_PCI_GetIRQ
[ 9468.174248] fglrx: Unknown symbol KCL_PCI_GetSlot
[ 9468.174358] fglrx: Unknown symbol KCL_IO_FILE_SetPrivateData
[ 9468.174475] fglrx: Unknown symbol KCL_IO_PORT_ReadDword
[ 9468.174585] fglrx: Unknown symbol KCL_PCI_DisableDevice
[ 9468.174733] fglrx: Unknown symbol KCL_STR_Snprintf
[ 9468.174856] fglrx: Unknown symbol KCL_STR_Strncpy
[ 9468.174988] fglrx: Unknown symbol KCL_DEBUG_RegKbdDumpHandler
[ 9468.175100] fglrx: Unknown symbol KCL_ACPI_ExecHandler
[ 9468.175334] fglrx: Unknown symbol KCL_IO_MEM_Unmap
[ 9468.175453] fglrx: Unknown symbol KCL_PCI_BAR_GetType
[ 9468.175590] fglrx: Unknown symbol KCL_ACPI_UpdateNotifyHandler
[ 9468.175743] fglrx: Unknown symbol KCL_PCI_EnableBusMastering
[ 9468.175853] fglrx: Unknown symbol KCL_PCI_BAR_GetBase
[ 9468.176004] fglrx: Unknown symbol KCL_PCI_ReadConfigDword
[ 9468.176188] fglrx: Unknown symbol KCL_IO_FILE_OpenedExclusively
[ 9468.176361] fglrx: Unknown symbol KCL_AGP_ReadCapsRegisters
[ 9468.176473] fglrx: Unknown symbol KCL_WAIT_Remove
[ 9468.176660] fglrx: Unknown symbol KCL_STR_Memcpy
[ 9468.176770] fglrx: Unknown symbol KCL_AGP_UnbindMemory
[ 9468.176901] fglrx: Unknown symbol KCL_PCI_ReadConfigWord
[ 9468.177013] fglrx: Unknown symbol KCL_PCI_WriteConfigWord
[ 9468.177155] fglrx: Unknown symbol KCL_AGP_FreeMemory
[ 9468.177265] fglrx: Unknown symbol KCL_ACPI_GetDevices
[ 9468.177377] fglrx: Unknown symbol KCL_STR_Memset
[ 9468.177493] fglrx: Unknown symbol KCL_IO_FILE_OpenedForReadWrite
[ 9468.177608] fglrx: Unknown symbol KCL_PCI_CheckBDF
[ 9468.177766] fglrx: Unknown symbol KCL_AGP_AllocateMemory
[ 9468.177931] fglrx: Unknown symbol KCL_IO_FILE_GetPrivateData
[ 9468.178056] fglrx: Unknown symbol KCL_ACPI_InstallHandler
[ 9468.178176] fglrx: Unknown symbol KCL_DEBUG_Print
[ 9468.178326] fglrx: Unknown symbol KCL_ACPI_GetNotifyHandler
[ 9468.178437] fglrx: Unknown symbol KCL_ACPI_Disabled
[ 9468.178547] fglrx: Unknown symbol KCL_WAIT_CreateObject
[ 9468.178657] fglrx: Unknown symbol KCL_ACPI_GetDevHandle
[ 9468.178780] fglrx: Unknown symbol KCL_STR_Memcmp
[ 9468.178896] fglrx: Unknown symbol KCL_STR_Strcpy
[ 9468.179035] fglrx: Unknown symbol KCL_IO_FASYNC_Terminate
[ 9468.179149] fglrx: Unknown symbol KCL_DEBUG_RegKbdHandler
[ 9468.179268] fglrx: Unknown symbol KCL_ACPI_EvalObject
[ 9468.179379] fglrx: Unknown symbol KCL_PCI_EnableDevice
[ 9468.179560] fglrx: Unknown symbol KCL_AGP_Acquire
[ 9468.179757] fglrx: Unknown symbol KCL_PCI_BAR_GetSize
[ 9468.179872] fglrx: Unknown symbol KCL_IO_FILE_PollWait
[ 9468.180001] fglrx: Unknown symbol KCL_PCI_GetFunc
[ 9468.180111] fglrx: Unknown symbol KCL_AGP_Release
[ 9468.180221] fglrx: Unknown symbol KCL_STR_Strnicmp
[ 9468.180331] fglrx: Unknown symbol KCL_AGP_IsInUse
[ 9468.180460] fglrx: Unknown symbol KCL_IO_PORT_WriteByte
[ 9468.180570] fglrx: Unknown symbol KCL_AGP_BindMemory
[ 9468.180696] fglrx: Unknown symbol KCL_WAIT_Wakeup
[ 9468.180819] fglrx: Unknown symbol KCL_IO_FASYNC_SetupAsyncQueue
[ 9468.180930] fglrx: Unknown symbol KCL_PCI_EnableBars
[ 9468.181074] fglrx: Unknown symbol KCL_STR_Memmove
[ 9468.181185] fglrx: Unknown symbol KCL_PCI_GetBusNumber
[ 9468.181312] fglrx: Unknown symbol KCL_WAIT_Add
[ 9468.181426] fglrx: Unknown symbol KCL_STR_Strchr
[ 9468.181569] fglrx: Unknown symbol KCL_STR_Sprintf
[ 9468.181751] fglrx: Unknown symbol KCL_AGP_Uninit
[ 9468.181861] fglrx: Unknown symbol KCL_STR_Strcmp
[ 9468.182052] fglrx: Unknown symbol fglrx_ac_notify
[ 9468.182162] fglrx: Unknown symbol KCL_ACPI_UpdateNotifyContext
[ 9468.182311] fglrx: Unknown symbol KCL_ACPI_GetNotifyContext
[ 9468.182421] fglrx: Unknown symbol KCL_AGP_Enable
[ 9468.182579] fglrx: Unknown symbol KCL_IO_PORT_WriteDword
[ 9468.182695] fglrx: Unknown symbol KCL_PCI_GetDevHandle
[ 9468.182857] fglrx: Unknown symbol KCL_AGP_GetMemoryPageCount

Revision history for this message
Lowell Alleman (lowell-alleman) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :

Unfortunately the packaging scripts that shipped with 8-11 are out of sync. The scripts in phorogit are up to date.

You can try to grab the jaunty binaries instead (they likely will run on earlier releases too).

Changed in fglrx-installer:
status: New → Won't Fix
Revision history for this message
cement_head (andorjkiss) wrote :

Same issue here. I've reported this to ATI: http://ati.cchtml.com/show_bug.cgi?id=1357

And cross-posted to the Ubuntu Forums: http://ubuntuforums.org/showthread.php?p=6177741

Revision history for this message
Mario Limonciello (superm1) wrote :

Please use 8-11 from intrepid-proposed if you want to use 8-11.

Revision history for this message
Lowell Alleman (lowell-alleman) wrote :

I have tried pulling the latest distro-specific packing but it doesn't seem to work their either. I followed the process outlined on Phoronix (which I adapted to work with the 8-11 release) with little success. See http://www.phoronix.com/scan.php?page=article&item=976&num=2

Mario, when you said that the scripts on phorogit are up to date, I assume this is what you were talking about, is that correct?

I was able to get the fglrx kernel module to build by playing around with various versions in some of the scripts, but I was never able to get the module to actually load successfully. (I think I also saw the same thing when I ran the installer with "--install" rather than using the "--buildpkg Ubuntu/8.04" option.) The new error I ran into has something to do with memory allocation or drm, but I'm not sure. Here are the kernel messages:

    fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
    [fglrx] Maximum main memory to use for locked dma buffers: 1171 MBytes.
    [fglrx:drm_alloc] *ERROR* [driver] Allocating 0 bytes
    [fglrx:firegl_init_device_list] *ERROR* Out of memory when allocating device heads
    [fglrx:firegl_init_module] *ERROR* firegl_init_devices failed

I found a post related to this as well, http://www.phoronix.com/forums/showthread.php?p=51644 . One of the suggestions was making sure to fully remove and reinstall the packages, which did not appear to resolve my issue. Also, running "aticonfig --initial -f" was suggested, but I kept ending up with a segfault.

    aticonfig[21764]: segfault at 0000000c eip 08053d0d esp bfa31250 error 6

I thought the "fglrx" kernel module was technically optional? I realize that most of the cool stuff would be disabled, but It should still at least provide a working X environment, right? I'm assuming that trying to mix and match kernel modules and X drivers would be a bad idea...

Revision history for this message
Lowell Alleman (lowell-alleman) wrote :

I grabbed the fglrx-kernel-source package (from here http://launchpadlibrarian.net/19639400/fglrx-kernel-source_8.552-0ubuntu0.1_i386.deb, I think that's the right file. Please confirm.). The module now builds without error (per the make.sh.log file in /var/lib/dkms/fglrx/8.552/build), however when I actually try to load the module I get same error that I posted earlier:

[ 3500.893337] [fglrx] Maximum main memory to use for locked dma buffers: 1171 MBytes.
[ 3500.893811] [fglrx:drm_alloc] *ERROR* [driver] Allocating 0 bytes
[ 3500.893818] [fglrx:firegl_init_device_list] *ERROR* Out of memory when allocating device heads
[ 3500.893822] [fglrx:firegl_init_module] *ERROR* firegl_init_devices failed

Revision history for this message
cement_head (andorjkiss) wrote :

I guess the point is that the FGLRX installer from ATI should work. That it doesn't (including Fedora) indicates that this is an ATI packaging issue.

- CH

Revision history for this message
Cruxic (cruxic) wrote :

8.552 is working for me on intrepid. As suggested I installed the packages provided by intrepid-proposed (checkbox in Synaptic->Repositories->Updates)

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 297799] [NEW] ATI Catalyst 8.11 (fglrx 8.552) unknown symbol

Do you have r3XX hardware? If so, please comment on the SRu bug.

On 11/14/2008, Cruxic <email address hidden> wrote:
> 8.552 is working for me on intrepid. As suggested I installed the
> packages provided by intrepid-proposed (checkbox in
> Synaptic->Repositories->Updates)
>
> --
> ATI Catalyst 8.11 (fglrx 8.552) unknown symbol
> https://bugs.launchpad.net/bugs/297799
> You received this bug notification because you are subscribed to fglrx-
> installer in ubuntu.
>

--
Sent from my mobile device

Mario Limonciello
<email address hidden>

Revision history for this message
Patrick Balleux (patrickballeux) wrote :
Download full text (46.9 KiB)

I upgraded to 8.11 via Synaptic on intrepid this morning but Xorg started in low res mode.

I fixed my setup by reverting xorg-driver-fglrx to the previous version (only that package) and everything seems to work again...

Here is the output of dmesg

Nov 15 11:17:24 mult-pballeux kernel: [ 48.947579] [fglrx] GART Table is not in FRAME_BUFFER range
Nov 15 11:17:24 mult-pballeux kernel: [ 48.947609] KBD BUG in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/mc_heap_manager.c at line: 947!
Nov 15 11:17:24 mult-pballeux kernel: [ 48.947641] CPU 1
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947644] Modules linked in: af_packet binfmt_misc rfkill_input rfcomm sco bridge stp bnep l2cap ipv6 vboxdrv ppdev powernow_k8 cpufreq_ondemand cpufreq_powersave cpufreq_stats freq_table cpufreq_conservative cpufreq_userspace sbs container sbshc pci_slot vloopback visor usbserial sbp2 parport_pc lp parport joydev arc4 ecb crypto_blkcipher dcdbas b43 uvcvideo rfkill compat_ioctl32 videodev mac80211 serio_raw pcspkr v4l1_compat psmouse evdev snd_hda_intel cfg80211 led_class snd_pcm_oss input_polldev snd_mixer_oss snd_pcm btusb snd_seq_dummy bluetooth snd_seq_oss wl(P) ieee80211_crypt fglrx(P) video snd_seq_midi output snd_rawmidi snd_seq_midi_event snd_seq sdhci_pci sdhci snd_timer snd_seq_device mmc_core snd wmi soundcore button ac k8temp battery shpchp pci_hotplug i2c_piix4 snd_page_alloc i2c_core ext3 jbd mbcache sr_mod cdrom pata_acpi sd_mod crc_t10dif pata_atiixp sg ohci1394 ieee1394 b44 mii ehci_hcd ohci_hcd ata_generic ahci usbcore libata scsi_mod dock ssb thermal proce
Nov 15 11:17:25 mult-pballeux kernel: sor fan fbcon tileblit font bitblit softcursor fuse
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947728] Pid: 6608, comm: Xorg Tainted: P 2.6.27-8-generic #1
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947730] RIP: 0010:[<ffffffffa02c2fd0>] [<ffffffffa02c2fd0>] mc_heap_add_inv_fb_heap+0x180/0x190 [fglrx]
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947810] RSP: 0018:ffff88007452dc38 EFLAGS: 00200292
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947812] RAX: 0000000000000073 RBX: ffff880069c6a000 RCX: 0000000000000000
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947814] RDX: 00000000ffffffff RSI: 0000000000200046 RDI: 0000000000200246
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947817] RBP: ffff880069c6a390 R08: 0000000000000000 R09: 0000000000000006
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947819] R10: ffff88007452d7d8 R11: ffff8800f452d8e7 R12: ffff880069c6a360
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947821] R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000001d86
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947824] FS: 00007f2914a246e0(0000) GS:ffff880077802880(0000) knlGS:00000000f7dae8c0
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947827] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947829] CR2: 00007f2910d695e0 CR3: 000000006b52d000 CR4: 00000000000006e0
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947831] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Nov 15 11:17:25 mult-pballeux kernel: [ 48.947834] DR3: 0000000000000000 DR6: 000...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.