torkell: (Default)
Thomas ([personal profile] torkell) wrote2011-11-09 07:49 pm
Entry tags:

(no subject)

Today's annoyances involve hibernation and USB hard disks.

When resuming from hibernation, if Windows finds out that a USB hard disk has been removed while the computer was powered off it apparently decides that the best course of action is to bluescreen.

For added fun, if I then plug the hard disk back in and tell Windows to try again at restoring from hibernation, it bluescreens with a different error. If I then unplug the hard disk I still get the second error (which convinently blatted details of the first error from the event log).

Of course my PC then takes ages to start back up due to several years of accumulated crud. Most annoying.
delta_mike: (Default)

[personal profile] delta_mike 2011-11-09 08:23 pm (UTC)(link)
Why on earth doesn't it flush the filesystem buffers and unmount the volume prior to hibernation?

[identity profile] pewterfish.livejournal.com 2011-11-09 11:21 pm (UTC)(link)
If I recall correctly, the Windows approach to hibernation is to hibernate the USB device tree along with the PCI device tree and the IDE and SATA device trees... It assumes it'll be able to pick up the "conversation" with the device midsentence on dehibernate. I rather suspect the design pre-dates easily removable portable storage media...

[identity profile] pleaseremove.livejournal.com 2011-11-10 12:26 am (UTC)(link)
As far as I know, (although Thomas is welcome to point out if I'm wrong) he is still running XP... an OS only 2 major versions out of date and over a decade old... That said, XP did have a fairy decent understanding of removable storage, but their hibernation tech was a little fuzzy.

For reference if you do what he did in Vista or 7 the machine is just fine.