Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109757 - x11-base/x11-drm - pci_pretty_name symbol removed in Kernel 2.6.13
Summary: x11-base/x11-drm - pci_pretty_name symbol removed in Kernel 2.6.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 17:05 UTC by Mark Miller
Modified: 2007-04-08 17:21 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Miller 2005-10-18 17:05:00 UTC
The pci_pretty_name symbol has been removed in the kernel sources for 2.6.13 and
onwards. This prevents one from loading the appropiate drm module for their card.

The current snapshot of the x11-drm package has not been patched to deal with this. 

The Freedesktop maintainers have already provided a fix:
sed -e 's|pci_pretty_name(dev->pdev)|\"\"|' -i linux-core/drm_stub.c

I've added this to an ebuild in my Portage overlay, and it works successfully.

Reproducible: Always
Steps to Reproduce:
1. emerge x11-drm
2. modprobe drm i915
3.

Actual Results:  
Unresolved symbol 'pci_pretty_name'
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-10-19 11:31:00 UTC
Not a kernel issue, they need to keep up :)
Comment 2 Stefano 2006-01-03 10:38:33 UTC
The current stable DRM package has the same bug...
Comment 3 ditansu 2006-01-22 14:59:37 UTC
Hm.. This bug also has on 2.6.15-suspend2 kernel(with x11-drm-20050502 for i915).
Comment 4 Oliver Walczak 2006-02-08 04:56:40 UTC
The current x11-drm package (20050502) still contains the pci_pretty_name problem.  Actually this results in compiled modules which are rejected by the kernel to be loaded. So I applied the patch described in 

http://archive.netbsd.se/?ml=dri-devel&a=2005-10&m=1431088

so the modules get loaded again under 2.6.15-gentoo-r1. But:

the now available direct rendering results only in a black (glxgears) or frozen (blender) window. At least with my chipset SiS630.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 17:21:55 UTC
If you have this problem w/ >=x11-base/x11-drm-20060608, feel free to reopen. Worked fine here.