[Cbe-oss-dev] [PATCH 2/2] ps3fb: fix deadlock on kexec()

Geert Uytterhoeven Geert.Uytterhoeven at sonycom.com
Fri Jan 11 21:15:36 EST 2008


On Thu, 10 Jan 2008, Geert Uytterhoeven wrote:
> On Thu, 10 Jan 2008, Jeremy Kerr wrote:
>   - If you have only one active frame buffer device, fbcon_fb_unbind() won't
>     call set_con2fb_map(), as there's no other frame buffer device to switch
>     to.
>   - ps3fb_release() calls ps3fb_sync() only when /dev/fb0 is open.
> 
> On normal shutdown, it doesn't happen because all applications are killed
> first.

Which brings us to another question: shouldn't all processes be killed for
doing a safe kexec, just like is done for shutdown/halt/poweroff (unless you
use `-f')? Of course this makes things more complicated, as the actual kexec
can no longer be done by the application, but must be handled by init instead.

(also cfr. the thread `Re: [PATCH 1/8] pseries: phyp dump: Docmentation' on
 linuxppc-dev, where Linas mentioned problems with shutting down PCI on kexec)

Of course this is irrespective of this bug (which must be fixed).

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Network and Software Technology Center Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven at sonycom.com
Internet: http://www.sony-europe.com/

Sony Network and Software Technology Center Europe
A division of Sony Service Centre (Europe) N.V.
Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium
VAT BE 0413.825.160 · RPR Brussels
Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619


More information about the cbe-oss-dev mailing list