diff -r 2d65c2f76d7b -r 4a8fed1c0ef6 kernel/eka/drivers/locmedia/locmedia.cpp --- a/kernel/eka/drivers/locmedia/locmedia.cpp Tue Feb 02 01:24:03 2010 +0200 +++ b/kernel/eka/drivers/locmedia/locmedia.cpp Sat Feb 20 00:10:51 2010 +0200 @@ -4947,8 +4947,10 @@ if (r != KErrNone) { - OstTrace1(TRACE_FLOW, LOCRV_REGISTERPAGINGDEVICE_EXIT9, "< retval=%d",r); - return r; + OstTrace1(TRACE_FLOW, LOCRV_REGISTERPAGINGDEVICE_EXIT9, "< Caps::retval=%d - return KErrNotSupported",r); + // Media driver failure; media maybe recoverable after boot. + // Can't register any page drives so return not supported. + return KErrNotSupported; } TLocDrv* drive; @@ -5012,7 +5014,7 @@ Kern::Printf("iRomPagingDriveNumber 0x%x\n", pagingDevice->iRomPagingDriveNumber); Kern::Printf("iDataPagingDriveNumber 0x%x\n", pagingDevice->iDataPagingDriveNumber); Kern::Printf("iSwapSize 0x%x\n", pagingDevice->iSwapSize); - #endif +#endif // This table is indexed by DPagingDevice::TType