Snow Leopard, filter scheme prevents shutdown
Snow Leopard, filter scheme prevents shutdown
- Subject: Snow Leopard, filter scheme prevents shutdown
- From: "Andy Green" <email@hidden>
- Date: Wed, 7 Oct 2009 01:28:25 -0700
- Thread-topic: Snow Leopard, filter scheme prevents shutdown
(copied from darwin-drivers)
I have a filter-scheme driver which is having some problems with snow
leopard (10.6.1). I've stripped it down to the bare minimum (basically a
transparent pass-through) and the problem still exists. It's not machine
dependent - happens on several different systems, but only with snow
leopard - tiger and leopard are OK.
I've narrowed it down to synchronizeCache(IOService* client) - if I
just return success, all is OK. If I forward to the provider, it never
returns.
The driver matches on 'whole' media, not on content hints (and uses
recursion prevention via property).
We have external USB and firewire devices, and the filter has active
matching - probe() compares the device name. If it helps, I have a
stripped-down sample that reproduces the problem.
Using an external firewire disk, with 2 units (disks), the shutdown
fails every time.
We have seen similar results on USB, and with two single-LUN firewire
disks, but it's harder to reproduce with those.
If I log out, then shutdown from the login window, it's OK.
If I format the disks as non-journalled, it's OK - so definitely
something to do with cache flushing.
If I manually eject just one media before shutting down, it's OK.
Help!
Thanks,
Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden