LWN.net Logo

OLS: On how user space sucks

OLS: On how user space sucks

Posted Jul 21, 2006 13:31 UTC (Fri) by oak (subscriber, #2786)
Parent article: OLS: On how user space sucks

> X.org, says Dave, is "awesome." It attempts to figure out where a graphics
> adapter might be connected by attempting to open almost any possible PCI
> device, including many which are clearly not present on the system.

A good example of this is following crash:
https://launchpad.net/distros/ubuntu/+source/xserver-xorg...

ATI driver crashed trying to probe something that didn't exist on ISA
bus after finding the correct card from PCI bus. I think the problem
is the drivers, not the X server itself.


(Log in to post comments)

OLS: On how user space sucks

Posted Jul 21, 2006 18:25 UTC (Fri) by daniels (subscriber, #16193) [Link]

No, he was talking about how the code in hw/xfree86/os-support/bus/Pci.c and hw/xfree86/os-support/linux/lnx_pci.c walks the tree (it's really bad, and only very recently got better). The ATI situation is due to the driver being braindead (use Driver "radeon", not Driver "ati"), and has nothing to do with the code Dave is talking about.

(For what it's worth, I fixed the library-stat()ing in Ubuntu quite a while ago, but the patch only got half-merged into upstream because it broke a couple of things. But I fixed it again in Dave's talk, after realising that it was still sucking.)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds