[Linux-parport] [PARIDE] Datastor EP-2000 problem
Rene Herman
rene.herman at keyaccess.nl
Wed May 28 20:04:59 EDT 2008
Good day.
Dug up a parallel port CD-RW consisting of a Philips CDD3801 24x/2x/2x
ATAPI CD-RW hooked up to a Datastor EP-2000 parallel interface chip.
The drive has been verified to work correctly when used directly as IDE
and the parallel interface has been verified to work correctly with some
random other CD-ROM drive. The combination bombs out though.
The drive is found:
root at ax6bc:~# modprobe dstr
root at ax6bc:~# modprobe pcd
root at ax6bc:~# dmesg | tail -6
pcd: pcd version 1.07, major 46, nice 0
pcd0: Sharing parport0 at 0x378
pcd0: dstr 1.01, DataStor EP2000 at 0x378, mode 4 (EPP-32), delay 1
pcd0: Master: R/RW 2x2x24
pcd0: mode sense capabilities completion: alt=0x51 stat=0x51 err=0x60
loop=0 phase=3
pcd0: mode sense capabilities: Sense key: 6, ASC: 29, ASQ: 0
trying to extract any data from it fails though:
root at ax6bc:~# dd if=/dev/pcd0 of=/dev/null bs=2048 count=1
0+0 records in
0+0 records out
0 bytes (0 B) copied, 12.5765 s, 0.0 kB/s
root at ax6bc:~# dmesg | tail -14
pcd: pcd version 1.07, major 46, nice 0
pcd0: Sharing parport0 at 0x378
pcd0: dstr 1.01, DataStor EP2000 at 0x378, mode 4 (EPP-32), delay 1
pcd0: Master: R/RW 2x2x24
pcd0: mode sense capabilities completion: alt=0x51 stat=0x51 err=0x60
loop=0 phase=3
pcd0: mode sense capabilities: Sense key: 6, ASC: 29, ASQ: 0
pcd0: WARNING: ATAPI phase errors
pcd0: Stuck DRQ
pcd0: lock door before command: alt=0x58 stat=0x58 err=0x100 loop=64001
phase=2
pcd0: Request sense before command: alt=0x58 stat=0x58 err=0x100
loop=64001 phase=2
pcd0: generic packet before command: alt=0x58 stat=0x58 err=0x100
loop=64001 phase=2
pcd0: Request sense before command: alt=0x58 stat=0x58 err=0x100
loop=64001 phase=2
pcd0: unlock door before command: alt=0x58 stat=0x58 err=0x100
loop=64001 phase=2
pcd0: Request sense before command: alt=0x58 stat=0x58 err=0x100
loop=64001 phase=2
and at this point the drive's stuck and needs a power cycle. I've tried
all modes available (4-bit, 8-bit, EPP-8, EPP-16 and EPP-32) and delays
from 0 to 10 and nothing changes behaviour.
Changing the parallel port type in my BIOS from Normal to EPP to ECP to
ECP+EPP, no change.
Behaviour was also the same with the drive's original firmware (which I
can sort of guarentee was the one it originally came with) and its
current most recent 1.7e firmware.
I even tested a prehistoric 2.2.6 kernel where things were/are the same
again.
As said, interface works with a different (CD-ROM) drive and drive works
fine as plain IDE. I haven't been able to test if it works correctly
under DOS or Windows with its own drivers as I don't have the drivers
and can't find them online. If anyone has DOS or Windows EP-2000
drivers; a pointer would be mightely appreciated.
Anyone any idea what this could be? Can patch/debug...
Rene.
More information about the Linux-parport
mailing list