Subject: Re: [2.0-RC1] shutdown is not clean
To: None <port-sparc64@netbsd.org>
From: Michael Gerhards <HM-Gerhards@uni.de>
List: port-sparc64
Date: 10/17/2004 12:49:04
Manuel Bouyer <bouyer@antioche.eu.org> wrote:
>> 
>> Well - but why didn't this also appear on NetBSD 1.6.2? Are there any
>> changes in this behaviour between 1.6.2 and 2.0?
> 
> One think that would help is to check that the flushcache command is
> really still executed.
> Please try the attached patch, it should show some verbose information
> about what's going on at shutdown time.

Unfortunately I didn't find the kernel sources of 2004-10-01 and so I
used the kernel source from
ftp://releng.NetBSD.org/pub/NetBSD-daily/netbsd-2-0/200410160000/source/syssrc.tgz
and patched the file wd.c with your patch.

When I try to compile a new kernel, I get the following errors now:
../../../../dev/ata/wd.c: In function `wd_flushcache':
../../../../dev/ata/wd.c:1670: error: parse error before "if"
../../../../dev/ata/wd.c:1707: warning: too many arguments for format

Any idea what goes wrong? I guess the patch doesn't fit to the kernel
file I patched... If that's the case, could you please send me another
patch that fits to the kernel sources of 2004-10-16?

Michael