Bug 12860 - libpciaccess returns 0 size file in bios_dumper
Summary: libpciaccess returns 0 size file in bios_dumper
Status: RESOLVED DUPLICATE of bug 19061
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/pciaccess (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) All
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-19 05:51 UTC by D Bera
Modified: 2011-10-16 16:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description D Bera 2007-10-19 05:51:27 UTC
xf86-video-intel/src/bios_reader/bios_dumper returns 0 size file for some machines. I was told that this is a libpciaccess bug.

pci_device_find_by_slot(0, 0, 2, 0);
returns a dev with dev->rom_size=0.
This is a Dell Inspiron 1100 with 82845 graphics card. Here is the relevant lspci output:

00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03) 

00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE  Chipset Integrated Graphics Device (rev 03)
Comment 1 Jeremy Huddleston Sequoia 2011-10-16 16:28:56 UTC
What is the output of:

cat /sys/bus/pci/devices/0000\:00\:02.0/resource

With that, I can see what pci_device_linux_sysfs_probe did with it to come up 
with that result
Comment 2 Jeremy Huddleston Sequoia 2011-10-16 16:34:52 UTC
Marking as dupe of #19061 which provides more information (like the resource 
file requested)

*** This bug has been marked as a duplicate of bug 19061 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.