Poulsbo update: kernel 2.6.30 support

Kernel 2.6.30 went into updates-testing for Fedora 11 today, so I decided to test the Poulsbo stuff with it. Not at all surprisingly, the module doesn't build out of the box with 2.6.30, it hits two failures. One of them I fixed myself, for the other I am eternally grateful to the wonderful Chuck Ebbert and Dave Airlie for rendering the fix. The updated akmod-psb package you'll need for kernel 2.6.30 when it hits is now in my repository, version 4.41.1-4. Once you have that installed, when kernel 2.6.30 hits stable updates, your graphics should hopefully keep right on truckin'.

Comments

joebie wrote on 2009-08-18 19:19:
First of all I have tried the new 2.6.30 kernel from the testing repository it breaks with a backtrace right after or during loading of the psb module. I also tried an older 2.6.29 kernel which worked just as expected. What would be the most helpful thing to do? Where should I post the backtrace and or debug output. Second I have tried KDE it worked fine without desktop effects but I had to force the font/monitor DPI to 96 to get a normal font size.
adamw wrote on 2009-08-18 20:32:
it's possible I uploaded the wrong build of the kernel module...is the backtrace in sysfs node creation?
joebie wrote on 2009-08-19 10:45:
It does look like it, but I'm not able to find a log file with the error. The message goes something like: ... last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/loading Modules linked in: ... psb(+) ... drm ... ... Process modprobe ... ... Call Trace: [addr] ? snprintf ... [addr] ? drm_sysfs_device_add+0x4b/0xa3 [drm] [addr] ? drm_get_dev+0x3fc/0x51c [drm] ... Does this help or should I go looking for a way to save the error to file.
adamw wrote on 2009-08-19 15:46:
no, that's pretty much what I expected. bit odd, though, I'm sure I uploaded the package with that fixed. I'll check it again in a minute.
joebie wrote on 2009-08-19 16:08:
Let me know when or if I should do something.
adamw wrote on 2009-08-19 22:27:
joebie: can you please try again? update from my repository and you should get a new version of the akmod package, akmod-psb-4.41.1-5.fc11.i586.rpm . That one should _definitely_ be the correct one with the correct patch, it works on my laptop.
joebie wrote on 2009-08-20 08:09:
Just tested the new package. After removing the old generated kmod and doing a restart, it now works. Thanks!
reiv wrote on 2009-08-25 14:40:
Thank you for the update. My Gentoo system works as good as before with 2.6.30(tuxonice) kernel(just keep other package untouched), and mplayer hw decoding also works, but there's a problem with "psb_dri.so" from "xpsb-glx-0.18-4.fc11.i686.rpm"(I use old one to get GMA500 work). I think it because my xorg-server-1.4.2 is too old. Adamw, would please you tell me what's your xorg-server and mesa version ? And, it's hard to install any newer xserver than 1.4.2 with libdrm-poulsbo-2.3.0 on Gentoo, because any xserver-1.5.x or higher depend on mesa version 7.1 or higher , and any mesa-7.1 or higher depend on libdrm-2.3.1 or higher, but there's only 2.3.0 version of libdrm.
adamw wrote on 2009-08-25 15:01:
reiv: I use X server 1.6.2, more or less (actually 1.6.2 RC1). The current libdrm-poulsbo package is designed to install alongside libdrm, not replace it. You should be able to use the same structure on Gentoo. That will avoid the dependency problem.
reiv wrote on 2009-08-26 13:46:
thank you, now I successful upgrade to X server 1.5.3.