Subject: Re: 120GB hard disk (SAMSUNG SP1203N) problem?
To: Takahiro Kambe <taca@back-street.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 08/10/2003 15:38:28
On Sat, Aug 09, 2003 at 11:52:41PM +0900, Takahiro Kambe wrote:
> Hi.
> 
> I have a problem that 120GB IDE hard disk isn't recognized.  Here is
> dmesg(8)'s output with first two line masked.
> 
> [...]
> 
> After testing some debug flags, I found that settting wdcdebug_mask to
> DEBUG_FUNCS(0x08) change this situation, the drive is recognized.
> It seems that there is some timing problem?

Yes, probably. You now need to see which of the printf affected by DEBUG_FUNCS
helps. Maybe adding some delay() will be enouth.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--