Does not build on 2.6.31, linux-core/drm_memory.c:286: error: ‘struct agp_memory’ has no member named ‘memory’

Bug #393885 reported by Niall Creech
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nouveau-kernel-source (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: nouveau-kernel-source

struct agp_memory now uses 'pages' not 'memory' in 2.6.31. need to update the following files in nouveau to reflect this change

linux-core/drm_agpsupport.c
linux-core/drm_memory.c
linux-core/drm_vm.c

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :
Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 393885] Re: Does not build on 2.6.31, linux-core/drm_memory.c:286: error:‘struct agp_memory’has no member named‘memory’

 status confirmed
 importance medium

There'll be a new nouveau stack coming to Karmic soon; this will include
a newer nouveau-kernel-source package that will build against our
kernels.

Changed in nouveau-kernel-source (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

As the new 2.6.31 kernel is default now, its quite annoying it doesn't work :)

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

good to know the new stuff is on the way. i've got a patch to get it working in a vague sense but there are a lot of symbol mismatches stopping drm unsurprisingly

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nouveau-kernel-source - 0.0.14+git20090715-0ubuntu1

---------------
nouveau-kernel-source (0.0.14+git20090715-0ubuntu1) karmic; urgency=low

  * New upstream snapshot. Now built from upstream's linux-2.6 branch,
    which is the new canonical location. Now builds against 2.6.31 kernels
    (LP: #393885).
  * debian/install:
    + Update for new snapshot date
    + Add new files for use-annotated-version.patch
    + Use new layout, include upstream's Makefile for out-of-tree builds.
  * debian/dkms.conf:
    + Update for new snapshot date
    + Use new layout
  * debian/rules:
    + Add annotated_version in get-orig-source targets
    + Add git config to fetch from Linus' tree, needed for "git describe"
    + Add GIT_OPTIONS parameter to get-orig-source target. Pass in
      "--reference /path/to/local/kernel/repository" to make get-orig-source
      use much less bandwidth and time.
    + Update get-orig-source for new location. Only copy interesting files
      (include/drm, drivers/gpu/drm) from the kernel tree.
  * debian/use-annotated-version.patch:
    + Use the annotated_version file we generate in get-orig-source to set
      the version for the drm modules. Upstream can love us again!
  * debian/linus-git-config-fragment:
    + git config fragment to allow us to pull tags from Linus' tree
  * debian/control:
    + Use lp: URL for Vcs-Bzr field
  * debian/watch:
    + Add comment-only watch file to reduce lintian noise

 -- Christopher James Halse Rogers <email address hidden> Wed, 15 Jul 2009 15:36:10 +1000

Changed in nouveau-kernel-source (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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