Re: Can no longer shutdown after drm/radeon: Implement radeon_pci_shutdown

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

 



>>>>> "Deucher," == Deucher, Alexander <Alexander.Deucher@xxxxxxx> writes:

>> 
>> >>>>> "Markus" == Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
>> writes:
>> 
Markus> On 2013.12.11 at 11:37 +1100, Peter Chubb wrote:
>> 
Markus> It would be interesting to know where exactly it hangs.  Could
Markus> you comment out the *_fini(rdev) calls in
Markus> radeon_driver_unload_kms
>> (drivers/gpu/drm/radeon/radeon_kms.c)
Markus> one after the other to find out which one is responsible?
>> 
>> It's radeon_device_fini() that is the problem.

Deucher,> I think the problem is that the drm subsystem tears down the
Deucher,> device via drm_driver.unload in drm_dev_unregister(), but
Deucher,> now that we have a pci_driver.shutdown callback (which is
Deucher,> needed for kexec) that gets called too so the driver gets
Deucher,> torn down twice.  What exactly happens when you say it's
Deucher,> broken?

The machine hangs, with blank screen, getting hotter and hotter with
the fan screaming.  Magic sysrq does nothing.  Power button sometimes
works and sometimes does nothing.  The only sure way out is to take the
battery out of the laptop.

--
Dr Peter Chubb				        peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au          Software Systems Research Group/NICTA
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux