4 Replies Latest reply on Jun 8, 2010 6:11 AM by sifff

    can't get catalyst working with a Radeon 5770 on an nForce4 chipset under Ubuntu 9.10

    sifff
      fglrx module hangs while initializing X on Ubuntu

      Hi there!

      I have tried now for weeks to get my Saphire Radeon 5770 working on Ubuntu 9.10.

      I bought it for developing OpenCL applications on it.

      A necessary prerequisite is to have a working fglrx installation, right?

      But I failed until now to get it working.

      It just hangs the X-Server.

      I have written up all my experiences here:

      http://ati.cchtml.com/show_bug.cgi?id=1794

      Thanks for any answers!

        • can't get catalyst working with a Radeon 5770 on an nForce4 chipset under Ubuntu 9.10
          sifff
          Seeing that I have more than 60 views and still no reply a post some output from my
          bugreport on the ati wiki. Probably it helps somehow...

          I have a Radeon 5770 from Sapphire in a nForce4 board(see lspci output for
          details). On a clean Ubuntu 9.10(AMD64) with all updates installed I tried to
          install the catalyst driver. All versions from 9.10 to 10.3 and
          10.3-OGL4-preview fail to bring up the X-Server and just hang while they try to
          initialize the Board.

          All further diagnostic output is from the system with catalyst 10.3
          installed(the full logs will be attached later). I installed the 10.3 driver
          from the ATI webpage, by issuing
          sh ./ati-driver-installer-10-3-x86.x86_64.run --install Ubuntu/karmic
          and after that aticonfig --initial.

          The last line the X server writes out are:

          (II) fglrx(0): VESA VBE OEM Software Rev: 12.13
          (II) fglrx(0): VESA VBE OEM Vendor: (C) 1988-2005, ATI Technologies Inc.
          (II) fglrx(0): VESA VBE OEM Product: JUNIPER
          (II) fglrx(0): VESA VBE OEM Product Rev: 01.00
          (II) fglrx(0): ATI Video BIOS revision 9 or later detected
          (--) fglrx(0): Video RAM: 1048576 kByte, Type: GDDR5
          (II) fglrx(0): PCIE card detected
          (--) fglrx(0): Using per-process page tables (PPPT) as GART.
          (II) fglrx(0): board/chipset is supported by this driver (original ATI board)
          (II) fglrx(0): Using adapter: 3:0.0.

          and after that nothing else happens the X-server process just keeps on running
          at 100% CPU. The keyboard is switched off, it doesn't react to Num-Lock,
          Caps-Lock, etc.
          I can still ssh to the machine.

          the plain output of lspci is:
          00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
          00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
          00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
          00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
          00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
          00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
          00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
          00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
          00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
          00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
          00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
          00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
          00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
          00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
          00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
          00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
          00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
          00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
          00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
          00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
          00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
          00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
          00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
          HyperTransport Technology Configuration
          00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address
          Map
          00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
          Controller
          00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
          Miscellaneous Control
          03:00.0 VGA compatible controller: ATI Technologies Inc Device 68b8
          03:00.1 Audio device: ATI Technologies Inc Device aa58

          the output of /proc/mtrr is just this line:
          reg00: base=0x000000000 ( 0MB), size= 1024MB, count=1: write-back

          From various experiments with other distros I can report that the most recent
          radeon driver is able to at least bring up the X-Server. It also initializes a
          second mtrr, presumably for the VRAM. Using kernel 2.6.28.14 also doesn't lead
          to a working system, but leads to a true hard crash. I can't ssh to the
          machine.
          starting Ubuntu 9.10 with the "nopat" kernel option didn't help either.

          If I use a kernel that supports the forced unloading of the fglrx module
          I get this output:

          [ 2654.860393] pci 0000:03:00.0: PCI INT A disabled
          [ 2654.860407] [fglrx] module unloaded - fglrx 8.71.4 [Mar 2 2010]
          [ 2748.430040] [fglrx] Maximum main memory to use for locked dma buffers: 1883
          MBytes.
          [ 2748.430099] [fglrx] vendor: 1002 device: 68b8 count: 1
          [ 2748.430410] [fglrx] ioport: bar 4, base 0x9000, size: 0x100
          [ 2748.430427] pci 0000:03:00.0: PCI INT A -> Link[LNKE] -> GSI 18 (level,
          high) -> IRQ 18
          [ 2748.430432] pci 0000:03:00.0: setting latency timer to 64
          [ 2748.430704] [fglrx] Kernel PAT support is enabled
          [ 2748.430733] [fglrx] module loaded - fglrx 8.71.4 [Mar 2 2010] with 1 minors
          [ 2774.484030] [fglrx:firegl_cail_init] *ERROR* CAIL: CAILEarlyASICInit failed,
          error 1
          [ 2774.484035] [fglrx:hal_init_asic] *ERROR* Failed to initialize ASIC.
          [ 2774.484138] BUG: unable to handle kernel NULL pointer dereference at
          00000000000007a0
          [ 2774.484143] IP: [<ffffffffa02a3e40>] CAILQueryMCAddressRange+0x0/0x30
          [fglrx]
          [ 2774.484207] PGD 7e3a0067 PUD 7d399067 PMD 0
          [ 2774.484211] Oops: 0000 [#1] SMP
          [ 2774.484214] last sysfs file:
          /sys/devices/pci0000:00/0000:00:04.0/0000:03:00.1/resource
          [ 2774.484216] pci 0000:03:00.0: PCI INT A disabled
          [ 2774.484221] CPU 0
          [ 2774.484226] Pid: 28702, comm: X Tainted: P R 2.6.33-gentoo #1
          D2461-A2/ESPRIMO P
          [ 2774.484229] RIP: 0010:[<ffffffffa02a3e40>] [<ffffffffa02a3e40>]
          CAILQueryMCAddressRange+0x0/0x30 [fglrx]
          [ 2774.484256] RSP: 0018:ffff88007e147d80 EFLAGS: 00010216
          [ 2774.484258] RAX: ffff88007e147d88 RBX: ffff88007d188000 RCX:
          0000000000000000
          [ 2774.484261] RDX: 0000000000000001 RSI: ffff88007e147d88 RDI:
          0000000000000000
          [ 2774.484263] RBP: ffff88007e147de0 R08: 0000000000000000 R09:
          ffff88007e147d88
          [ 2774.484266] R10: 0000000000000000 R11: 0000000000003246 R12:
          0000000000000000
          [ 2774.484268] R13: 0000000000000001 R14: ffff88007e147de8 R15:
          ffff88007e0ef000
          [ 2774.484271] FS: 00007f856154b6f0(0000) GS:ffff880001a00000(0000)
          knlGS:0000000000000000
          [ 2774.484273] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
          [ 2774.484276] CR2: 00000000000007a0 CR3: 000000007d3cb000 CR4:
          00000000000006f0
          [ 2774.484278] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
          0000000000000000
          [ 2774.484281] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
          0000000000000400
          [ 2774.484283] Process X (pid: 28702, threadinfo ffff88007e146000, task
          ffff880051878c40)
          [ 2774.484286] [fglrx] module unloaded - fglrx 8.71.4 [Mar 2 2010]
          [ 2774.484288] Stack:
          [ 2774.484290] ffffffffa02827e1 0000000000000000 0000000000000000
          0000000000000000
          [ 2774.484294] <0> 00000000000007f8 00000000000007f8 00007fffb558b1e0
          ffff88007d188000
          [ 2774.484298] <0> ffff88007f08a800 0000000080186455 ffffffffa027bd7c
          0000000000000001
          [ 2774.484302] Call Trace:
          [ 2774.484326] [<ffffffffa02827e1>] ? firegl_cail_query_mc_range+0x71/0xc0