Comment 9 for bug 1058821

Revision history for this message
Jan Claeys (janc) wrote :

Observation: when I wait until the LED on my USB flash device stops flickering before entering the password that is required to write the boot record, this crash doesn't happen. It also doesn't crash when I wait "long enough" (not too long before it ends writing).

My guess is that this is related to the famous 64-bit kernel "problem" where writing to a relatively slow USB device means that the whole write operation gets cached in RAM quickly (at which point the write seems finished from the application's PoV, and the USB Creator progress bar also shows that), and then it takes a long time to actually write everything to the USB device. It seems like some dbus call time-outs because it waits until everything is synced to disk before doing what it is supposed to do... (maybe a call to udisks for unmounting or such?).

If my suspicion is true, usb-creator should probably make sure everything it wrote is actually synced to disk before doing whatever it does to write the boot sector?