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/31/2004 14:40:16
Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> 
> Ops, just change line 1707:
>        printf("flush cache command completed\n", wdc_c.r_command);
> to
>        printf("flush cache command completed\n");

Okay, I tried it and it worked. On startup, I get lots and lots of
messages like

wdccommand cmdide0:0:0: command=0xc8 cylin=58047 head=66 sector=32
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=58047 head=66 sector=144
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=58048 head=66 sector=0
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=58048 head=66 sector=112
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=58048 head=66 sector=224
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=58049 head=66 sector=80
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=58049 head=66 sector=192
count=112 precomp=0


I cannot login via ssh and not directly either - I simply don't get any
login prompt.

When I press the power button, the last messages I get are:
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=59869 head=66 sector=240
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=59870 head=66 sector=96
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
wdc_exec_xfer 0x3270000 channel 0 drive 0
wdcstart from wdc_exec_xfer, flags 0x0
wdcstart: xfer 0x3270000 channel 0 drive 0
__wdcwait cmdide0:0
wdccommand cmdide0:0:0: command=0xc8 cylin=59870 head=66 sector=208
count=112 precomp=0
wdcintr
__wdcwait cmdide0:0
psycho0: power button pressed, shutting down!
syncing disks... done


Does this help you in any way to solve the problem?

Michael