Subject: Re: yamaha cd writer(trm.c updated)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Rui-Xiang Guo <rxg@ms25.url.com.tw>
List: port-i386
Date: 03/03/2002 14:50:43
On Sat, Mar 02, 2002 at 11:46:04PM +0900, Izumi Tsutsui wrote:
> In article <20020302213513.A26141@rxgpc.sparqnet.net>
> rxg@ms25.url.com.tw wrote:
> 
> > > I've changed some data structures of trm(4) driver to make
> > > them more suitable for our scsipi mid-layer:
> > > http://www.ceres.dti.ne.jp/~tsutsui/netbsd/trm.c
> 
> > Thanks a lot!
> > I would take it a look later. I didn't touch it for a bit long time. ^_^
> > Have you already tested it on your machine?
> 
> Yes, I debugged it on macppc and also tested on sparc64.
> (but not on i386 yet ;-)

Excellent work!
I just test it on my PC, I get no more machine halting when mount data CD
in cd1. ^_^
Here is a part of my dmesg output:
...
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 0 lun 0: <MATSHITA, CD-ROM CR-506, 8S05> SCSI2 5/cdrom removable
cd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
cd1 at scsibus0 target 1 lun 0: <SONY, CD-RW  CRX160S, 1.0a> SCSI4 5/cdrom removable
cd1: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
...

For anyone who has these SCSI cards(DC315/DC395), please also take it a try.

-rxg