Bug 24539 - radeon NULL pointer dereference with KMS and no AGP bridge
Summary: radeon NULL pointer dereference with KMS and no AGP bridge
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 17:47 UTC by Francis Whittle
Modified: 2019-11-19 08:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to fall back to PCI mode when AGP bridge is not available (524 bytes, patch)
2009-10-14 17:51 UTC, Francis Whittle
no flags Details | Splinter Review
dmesg trace of kernel oops (4.52 KB, text/plain)
2009-10-14 17:53 UTC, Francis Whittle
no flags Details

Description Francis Whittle 2009-10-14 17:47:13 UTC
On attempting to load the radeon driver with an AGP card (any radeon chipset) and no valid AGP bridge driver, radeon_agp_init produces a Kernel Oops (Unable to handle kernel NULL pointer dereference) upon attempting to determine if the bridge is required.

This will prevent boot in a misconfigured system that loads the driver early (ie. in initramfs or built into the kernel).

Trace is attached.
Comment 1 Francis Whittle 2009-10-14 17:51:36 UTC
Created attachment 30432 [details] [review]
Patch to fall back to PCI mode when AGP bridge is not available

- Proposed solution is to fall back to PCI(E) mode early on if the AGP bridge entry is NULL.
Comment 2 Francis Whittle 2009-10-14 17:53:26 UTC
Created attachment 30433 [details]
dmesg trace of kernel oops
Comment 3 Martin Peres 2019-11-19 08:08:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/81.


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.