[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#322635: hotplug: should load agpgart before radeon



On Fri, Aug 12, 2005 at 03:11:05AM +0200, Marco d'Itri wrote:
> On Aug 12, Benoît Dejean <TazForEver@dlfp.org> wrote:
> 
> > /etc/modules
> > 
> > but it doesn't work. hotplug (dunno) may have alread load radeon at this point.
> No, it did not. Check rcS.d.

By that are you trying to say that it is /etc/init.d/module-init-tools
that is loading agpgart and radeon in the wrong order? Or are you trying
to point at some other problem?

If the module ordering in /etc/modules is agpgart and then radeon, then
I'm guessing that /etc/init.d/module-init-tools would load them in that
order. Which makes me wonder if this problem might not be in initrd.

Benoît, is there any chance of you examining your initrd image to
confirm this? You can do this by doing something like the following:

sudo mkdir /mnt/initrd
sudo mount -o loop /boot/initrd.img-2.6.11-1-686 /mnt/initrd/
sudo cat /mnt/initrd/loadmodules
sudo umount /mnt/initrd/

> Anyway, hotplug will not be changed to work around brokeness in this
> driver (at least because there is almost no way to do it).
> A possible solution could be to have the kernel package install a file
> in /etc/modprobe.d/ to force loading agpgart before the other module,
> but you will have to persuade the kernel people about it.

Could you please elaborate on what kernel enhancement you are after?
Are you saying that the readeon module should depend on the agpgart module?
And if so, have you discussed this idea with upstream? I suspect that
it doesn't do this for some good, though non-obvious reason.

-- 
Horms



Reply to: