[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing avahi-daemon crashes kernel, corrupts filesystem



On 11 October 2010 23:44, Jochen Schulz <ml@well-adjusted.de> wrote:
> [ I guess Henrique's interpretation of the problem is better than mine,
>  I just wanted to follow-up on this specific question. ]
>> How would I know?
>
> $ dmesg | grep "Write cache"
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
>
> I don't whether disabling this would stress the CF card more or less,
> but you should experience less filesystem corruption after a crash.
> AFAICT you need hdparm to disable it, though.

I just sorted this out not ten seconds ago :)

    hdparm -W 0 /dev/sda

...did the trick (and yes, it was on). I'm hoping to find the call
that makes avahi trigger the crash, so I can do it a little more
simply.

Cheers,
Jason


Reply to: