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/23/2004 14:40:47
Michael Gerhards <HM-Gerhards@uni.de> wrote:
>>> I had a closer look on this file - wd.c didn't change in the last few
>>> weeks, so wd.c in my kernel sources has also the date "Oct 1 05:48".
>>>
>>> So what else might go wrong?
>>
>> I just forgot a ';'. The line
>> wdcdebug_mask=0xff
>> should be changed to
>> wdcdebug_mask=0xff;
>>
>> Sorry for the typo
>
> No problem. I will try this next weekend.
I tried to compile a GENERIC kernel with your patch. But now I get the
following error:
# compile GENERIC/wd.o
cc -mcmodel=medlow -mno-fpu -ffreestanding -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss
-Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. -I../../../../arch
-I../../../.. -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -c
../../../../dev/ata/wd.c
../../../../dev/ata/wd.c: In function `wd_flushcache':
../../../../dev/ata/wd.c:1707: warning: too many arguments for format
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/sparc64/compile/GENERIC
What goes wrong now?
Michael