Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 22:29:47 -0400 (EDT)
From:      overby@rrnet.com
To:        freebsd-hardware@freebsd.org
Subject:   Trouble with Sony CRX-140E CD-RW
Message-ID:  <200104240229.WAA10329@ntr.net>

next in thread | raw e-mail | index | archive | help
I'm having trouble getting my ASUS A7V133 (Athlon Thunderbird @ 900mhz) and
Sony CRX-140E CDRW working.  During the device probe, the drive fails to
respond to a MODE_SENSE_BIG command.  I have 4.2-RELEASE installed, but have
also tried the 4.3-RC3 and 5.0 boot floppies.  All hang.  Here's what I've
tried (console messages were transcribed manually):

The drive is connected as the Primary Master.
boot with 'kernel -v'

ata0-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata0-master: success setting PIO4 on generic chip
 (then hang)

The drive is connected as the Primary Slave

atapci0: <VIA 82C686 ... stuff I didn't get
ata0-slave: ATAPI probe a=14 b=eb
 ...
   most other devices configure
 ...
ad4: <ST330630A/3.21> ATA-4 disk at ata2-master  -- my IDE hard disk
 ...
ata0-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata0-slave: success setting PIO4 on generic chip
(null): MODE_SENSE_BIG command timeout - resetting
ata0: resettting devices ..

That's not much information.  So I built a GENERIC kernel with a few tweeks.
In atapicd.h, I added:

#define ACD_DEBUG 1
#define ATAPI_DEBUG 1

I then got some more info from the device probe (with the drive configured as
MASTER):

(null): queueing MODE_SENSE_BIG ccb = 5a-00-2a-...
(null): starting MODE_SENSE_BIG ccb = ditto
(null): MODE_SENSE_BIG command timeout - resetting
ata0: resetting devices ..
 (hangs)

I added:
#define ATA_DEBUG 1

and got:

ad4: 29188MB <ST330630A> ...   -- my IDE hard disk
ata0-master: ata_command: addr-01f0, cmd=ef, c=0, h=0, s=0, count=12, feature=3, flags=03
(null): queueing MODE_SENSE_BIG ccb = 5a-00-2a-...
(null): starting MODE_SENSE_BIG ccb = ditto
ata0-master: ata_command: addr=01f0, cmd=a0, c=30, h=0, s=0, count=0, feature=0, flags=01
(null): MODE_SENSE_BIG command timeout - resetting
ata0: resetting devices ..

I looked up the A0 command in the IDE spec, and it is the PACKET command.

I'd like to hear from anyone who has this drive working, has ideas about how
to get it working, or suggestions about where to go from here.

Thanks,
Glen Overby


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104240229.WAA10329>