9fans archive / 1998 / 09 / 50 /    prev next

From: arisawa@ar.... arisawa@ar....
Subject: [9fans] Mitsumi FX320M
Date: Tue, 8 Sep 1998 23:06:42 -0400 (EDT)

Hello 9fans.

My home Plan9 co-exist with other OS ( WIn95, FreeBSD ).
I attached Mitsumi CDROM FX320M (ata drive) to the machine.
EIDE are:
	Pri. Master: HD
	Pri. Slave: Mitsumi CDROM FX320M
	Sec. Master: HD
	Sec. Slave: none
Both Win95 and FreeBSD can attach the CDROM.
However Plan9 cannot. Moreover booting results in panic.

Getting more detailed messages, I set DPRINT and XPRINT in
pc/devata.c which is distributed by 816407398.rc.
Then the Kernel messages are:
	ata0: DHmagic ok
	ata0: ATAI 50 40 3F
	ata0: master diag error 1
	ata1: slave diag status 0, error 1
	ata1: ATAPI slave 0 0 0
	hd0: ...
	hd1: ...

These messages come from the function atactlrprobe().
Messages about hd0 and hd1 are correct except total bytes.
(Total bytes are modulated because of 32bits limitation
and not important currently)

Looking the source code, I guess that kernel message
	ata0: ATAI 50 40 3F
must be
	ata0: ATAI  0 EB 14
for the drive to be recognized.

We have two possibilities:
1. Mitsumi CDROM FX320M is not recognized on Plan9.
2. Two drives on pri. (or sec.) cause problems.

So I would like to know:
1. Can I use FX320M?
2. Can I attach two drives as master and slave on primary (or slave).

Thanks,

Kenji Arisawa
E-mail: arisawa@aic...