Bug 2418 - Lockup using linux-core on radeon
Summary: Lockup using linux-core on radeon
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: DRI git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 16:30 UTC by Stephane Marchesin
Modified: 2006-04-04 18:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed fix (607 bytes, patch)
2006-01-04 20:41 UTC, Stephane Marchesin
no flags Details | Splinter Review

Description Stephane Marchesin 2005-01-29 16:30:10 UTC
I use vanilla 2.6.10 (from kernel.org) and drm cvs of 30/01/2005 (so it includes
the recent drm fixes) on a radeon 7000.
When I modprobe radeon.ko from linux-core, the machine locks up (I can still
ping it, but I can't ssh in the box so it looks like it's stuck somewhere in
kernel). However, it works fine if I use the linux-2.6 (non core) version.

When this happens, I don't find anything in /var/log/messages after a reboot.
Comment 1 Stephane Marchesin 2005-04-22 13:33:12 UTC
Actually, this is not specific to radeon. I tried insmod'ing other card-specific
modules and it also lockups.

Also, when I print the address for the radeon_exit function, it's the same as
drm_init. So it looks like when radeon_init is called, it lockups by calling
itself again and again.

Still there with current drm cvs (22/04/2005), btw.
Comment 2 Stephane Marchesin 2005-04-22 13:35:15 UTC
Oops, did I say radeon_exit ? I meant radeon_init has the same address as
drm_init. Obviously it never makes it to radeon_exit...
Comment 3 Stephane Marchesin 2005-06-07 14:32:15 UTC
Ok, thanks to Benno Schulenberg for pointing me to this :
You need to have CONFIG_HOTPLUG set or the card-specific modules crash on insmod.

Does this ring a bell to anyone ? What's the proper fix ? Make drm dependent on
hotplug ?
Comment 4 Shawn Starr 2005-09-28 09:02:27 UTC
Does this still occur for you in newer kernels?

Please let us know.
Comment 5 Stephane Marchesin 2006-01-04 20:41:08 UTC
Created attachment 4236 [details] [review]
Proposed fix

Looks like this might do the trick (thanks OgreBoy !)
Comment 6 Dave Airlie 2006-04-05 11:27:41 UTC
thanks committed.. thanks be to God I never moved that into the kernel....


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.