>On Wed, Oct 03, 2012 at 12:12:50AM -0500, neoluddite%hushmail.com@localhost wrote:
>> >On 10/02/2012 at 3:39 PM, "Manuel Bouyer" wrote:>On Sun, Sep 30,
> >2012 at 11:20:07PM +0200, Martin Husemann wrote:
>> >> Here your problem is:
>> >>
>> >> > viaide2: BSY never cleared, status 0x80
>> >> > viaide2 channel 0: reset failed for drive 0
>> >>
>> >> I don't know anything about this driver - Manuel, are you around?
>>
>> >This is coming from wdc_sataprobe() in sys/dev/ic/wdc.c
>> >The PHY has established communications with the drive, but the
>> >drive doens't come out of reset within the allowed time (5s).
>> >I guess before these messages there was something like
>> >viaide2 port 0: device present, speed: XXX
>> >right ?
>>
>> >I see that FreeBSD does clear the SATA error register after a link
>>> up,
> >>maybe this is what's missing here. If so, the attached patch should
> >>help.
>> >
> >>--
> >>Manuel Bouyer
> >>NetBSD: 26 ans d'experience feront toujours la difference
> >>--
> >The patch is having trouble building.
> >
> >/usr/src/sys/dev/ic/wdc.c: In function 'wdc_sataprobe':
> >/usr/src/sys/dev/ic/wdc.c:222:3: error: too few arguments to function
> >'bus_space_write_4'
> >/usr/src/sys/sys/bus_proto.h:177:6: note: declared here
>
>Ops, sorry. the attached one should be better
>
>--
>Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>NetBSD: 26 ans d'experience feront toujours la difference
>--
Attachment:
dmesg
Description: Binary data