From: iwanek@nttdata.co.jp
To: 9fans@cse.psu.edu
Subject: RE: [9fans] CD-RW or IDE controller issues?
Date: Sat, 23 Feb 2002 20:49:21 +0900 [thread overview]
Message-ID: <50F591D39557D511B12C0090274DCEBC041B60DD@noanet03.noanet.nttdata.co.jp> (raw)
anothy@cosym.net wrote:
> i've got what i believe to be an MMC CD-RW
> drive attached to the IDE chain in my
> terminal. the bios sees it fine, but it
> doesn't show up in plan 9.
I am having a similar problem. On my P4 system, #S/sdD0
is connected to a DVD-ROM and #S/sdD1 to a CD-RW. Both
drives are not detected.
I've been fiddling with /sys/src/9/pc/sdata.c and I think I found
the place: it's ataidentify() where it calls
as = ataready(cmdport, ctlport, 0, Bsy, Drq|Err, 400*1000);
and this times out (returns -1).
I've tried increasing the magic number (400*1000) to various
values. Larger value (500*1000) sometimes works, but not
always. I am stuck.
P.S.
How can I make use of atadebug()? I put a print() in ataready()
and immediately regret it.
- kazumi
next reply other threads:[~2002-02-23 11:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-23 11:49 iwanek [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-24 11:18 iwanek
2002-02-23 17:02 Russ Cox
2002-02-22 22:31 anothy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50F591D39557D511B12C0090274DCEBC041B60DD@noanet03.noanet.nttdata.co.jp \
--to=iwanek@nttdata.co.jp \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).