Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286753 - x11-drivers/psb-kmod and kernel 2.6.31: 'struct agp_memory' has no member named 'memory'
Summary: x11-drivers/psb-kmod and kernel 2.6.31: 'struct agp_memory' has no member nam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-09-28 12:44 UTC by Mathieu Rochette
Modified: 2009-09-30 07:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,5.48 KB, text/plain)
2009-09-28 12:47 UTC, Mathieu Rochette
Details
kernel .config (config.txt,52.40 KB, text/plain)
2009-09-28 12:48 UTC, Mathieu Rochette
Details
emerge --info (emerge.info.txt,3.28 KB, text/plain)
2009-09-28 12:49 UTC, Mathieu Rochette
Details
diff between psb-kmod-4.41.1_p8.ebuild and _p10 (psb-kmod-4.41.1_p10.ebuild.diff,1.40 KB, patch)
2009-09-28 21:33 UTC, Zac Medico
Details | Diff
diff between psb-kmod-4.41.1_p8.ebuild and _p10 (psb-kmod-4.41.1_p10.ebuild.diff,1.47 KB, patch)
2009-09-28 21:37 UTC, Zac Medico
Details | Diff
diff between xf86-video-psb-0.31.0_p11.ebuild and p14 (xf86-video-psb-0.31.0_p14.ebuild.diff,741 bytes, patch)
2009-09-28 22:09 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Rochette 2009-09-28 12:44:58 UTC
when trying to emerge kmod-psb (dependancie of xf86-video-psb), compilation fail.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 x11-drivers/psb-kmod

Actual Results:  
compilation failed


evangeneer@evbox ~ $ uname -a
Linux evbox 2.6.31-v4 #6 SMP Tue Sep 22 10:04:33 CEST 2009 i686 Intel(R) Atom(TM) CPU 330 @ 1.60GHz GenuineIntel GNU/Linux
Comment 1 Mathieu Rochette 2009-09-28 12:47:27 UTC
Created attachment 205464 [details]
build.log
Comment 2 Mathieu Rochette 2009-09-28 12:48:46 UTC
Created attachment 205465 [details]
kernel .config
Comment 3 Mathieu Rochette 2009-09-28 12:49:49 UTC
Created attachment 205466 [details]
emerge --info
Comment 4 Mathieu Rochette 2009-09-28 12:55:15 UTC
looks like this bug is related: http://bugs.gentoo.org/show_bug.cgi?id=284598
but I don't understand what it means for me.

is it an ebuild issue?
Comment 5 Sebastian Luther (few) 2009-09-28 13:54:30 UTC
Looks like it doesn't work with kernel 2.6.31.
Comment 6 Zac Medico gentoo-dev 2009-09-28 20:26:24 UTC
Blog post says they got it working with 2.6.31:

http://www.happyassassin.net/2009/09/26/gma-500-poulsbo-driver-for-fedora-11-soon-to-be-in-rpm-fusion/

Updated rpms are found here:

http://download1.rpmfusion.org/nonfree/fedora/updates/testing/11/SRPMS/repoview/index.html
http://download1.rpmfusion.org/nonfree/fedora/updates/testing/11/SRPMS/repoview/psb-kmod.html

I'll see now if I can get psb-kmod-4.41.1-10.fc11.src.rpm to build with 2.6.31.
Comment 7 Zac Medico gentoo-dev 2009-09-28 21:33:58 UTC
Created attachment 205546 [details, diff]
diff between psb-kmod-4.41.1_p8.ebuild and _p10

I got psb-kmod-4.41.1_p10.ebuild to build and install with 2.6.31, but I haven't tested it on my hardware yet. There is a version bump for x11-drivers/xf86-video-psb that we may want to go along with this:

http://download1.rpmfusion.org/nonfree/fedora/updates/testing/11/SRPMS/repoview/xorg-x11-drv-psb.html
Comment 8 Zac Medico gentoo-dev 2009-09-28 21:37:40 UTC
Created attachment 205548 [details, diff]
diff between psb-kmod-4.41.1_p8.ebuild and _p10

fix install path for drm-psb.ko
Comment 9 Zac Medico gentoo-dev 2009-09-28 22:09:15 UTC
Created attachment 205549 [details, diff]
diff between xf86-video-psb-0.31.0_p11.ebuild and p14
Comment 10 Zac Medico gentoo-dev 2009-09-30 07:48:55 UTC
(In reply to comment #8)
> Created an attachment (id=205548) [edit]
> diff between psb-kmod-4.41.1_p8.ebuild and _p10
(In reply to comment #9)
> Created an attachment (id=205549) [edit]
> diff between xf86-video-psb-0.31.0_p11.ebuild and p14

With these builds + 2.6.31 kernel I was able to get graphics working on my dell mini 10, so I've gone ahead and committed them.