Comment 52 for bug 219192

Revision history for this message
Tim Cutts (timc) wrote :

I think there's something else going on, too. I can't get persistence to work either, and I've built an initrd with the latest casper in it, but it still doesn't work. It never finds the casper-rw or home-rw devices. Having set -x in the casper script to get some debugging info, I see that when it looks for the cow device, scanning things in /sys/block, that the USB devices aren't there yet, so there seems to be some sort of race condition where the USB devices haven't been detected by the time it looks for the home-rw and casper-rw filesystems.

What should I do to fix this? I've tried putting usb-storage in the /conf/modules of the initrd to get it to be loaded earlier, but that hasn't been enough. I could do something nasty like put a deliberate sleep in somewhere, but that's just nasty. Any other ideas?