Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 1996 01:18:32 -0300 (EST)
From:      "Daniel C. Sobral ROOT" <root@gns.com.br>
To:        hackers@freebsd.org
Subject:   IDE CD-ROM
Message-ID:  <Pine.BSF.3.91.960719010837.732A-100000@daniel.sobral>

next in thread | raw e-mail | index | archive | help

I got my cd-rom to work by... turning debug on. I'm still not sure if
that's very funny or very sad.

Anyway, it seems that the messages produced by the debug option slowed
down the driver enough so it could work. A flow-control error? Or, maybe,
the driver does not respect some speed limits?

I did detect a possible flow control problem. The "immediate" requests
should check the DSC flags before issuing additional commands to the
hardware. This is not being done. I wrote some code that I thought
would do it, but either it doesn't, or that's not the problem.
Unfortunately, since the drive works when the debug option is turned on,
I can't check it out.

When an error happens, though, the flags are exactly what the ATAPI doc
said they are when commands are issued before an immediate request sets
DSC.

On the other side, most action happens with non-immediate commands, which
is handled in a different way. Maybe some immediate commands are being
handled by the atapi_request_wait() function???

Well, last of all, I'm curious: does FreeBSD uses the IORDY flow control?

		Daniel C. Sobral
		dcs@gns.com.br
		e8917523@linf.unb.br




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960719010837.732A-100000>