Skip to contentSkip to conversation

PS3: Fix kexec storage probe

PATCH Geert Uytterhoeven 1 participant 1 message Jan 17, 2008 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 10 lines · On Wed, 16 Jan 2008, [email protected] wrote:

From: Geert Uytterhoeven <[email protected]>

The PS3 storage probe thread left the storage notification device open on shutdown, so the device open would fail with LV1_BUSY when the second stage kexec kernel tried to open the device.

To fix this:
- Replace the call to wait_for_completion_interruptible() by a call to wait_event_interruptible() that also checks kthread_should_stop(),
- Install a reboot notifier that stops the storage probe thread on shutdown.

Actually I had planned to fold this into `[patch 05/18] PS3: Use the HVs storage device notification mechanism properly'.

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:   [email protected]
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