Problems with PX-116A and SCSI emulation (The scsi wants to send us more data than expected - discarding data)
Good day,
I just installed a Plextor PX-116A DVD-ROM on my Linux system (Slackware
9.1 with 2.4.21 kernel) and I am experiencing problems trying to set up
scsi emulation for it.
My other hardware is:
P3 1Ghz on a P3V4X Asus mobo (VIA Apollo Pro 133A chipset)
The Plextor PX-116A when running as ide-scsi with **DMA on** cannot
mount disks (cds or dvds), cannot play dvd-movies and cannot readcd a
data-cd.
When I disable the DMA, everything works ok.
When I set it up as ide-cd, everything works ok no matter if the DMA is
on or off.
The drive is currently running at UDMA2 mode (ATA33).
I replaced my old Delta 52X CD-ROM drive with this Plextor DVD-ROM
drive. The old Delta CD-ROM had no problem as ide-scsi with DMA on.
(I want to say in other words that I don't expect it to be a hardware
problem. Well, even though I shouldn't mention it, everything works ok
under the winblows environment with DMA on).
I've pasted below the command output and kernel messages from the
following commands:
cdrecord -scanbus
mount
readcd
mplayer -dvd 1
cdrecord -scanbus doesn't produce any weird kernel messages. All the
other commands produce something like this:
ide-scsi: The scsi wants to send us more data than expected - discarding
data
ide-scsi: [[ 28 0 0 0 0 0 0 0 2 0 0 0 ]
]
One last thing: I don't know if it's helpful, but I've read in the
cdfreaks.com forums that internally this Plextor DVD-ROM drive is
actually a Pioneer 120 DVD-ROM. Though, I cannot confirm this piece of
information.
Any kind of enlightment on this matter or help would be welcome :)
TIA
================
djart@blackmajesty:~$ cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jφrg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'PLEXTOR ' 'CD-R PX-W1210A' '1.10' Removable
CD-ROM
0,1,0 1) 'PLEXTOR ' 'DVD-ROM PX-116A ' '1.00' Removable
CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
===============
djart@blackmajesty:~$ mount /cdrom/
mount: I could not determine the filesystem type, and none was specified
Kernel says:
Aug 26 18:22:21 blackmajesty kernel: Attached scsi CD-ROM sr0 at scsi0,
channel 0, id 0, lun 0
Aug 26 18:22:21 blackmajesty kernel: Attached scsi CD-ROM sr1 at scsi0,
channel 0, id 1, lun 0
Aug 26 18:22:21 blackmajesty kernel: sr0: scsi3-mmc drive: 32x/32x
writer cd/rw xa/form2 cdda tray
Aug 26 18:22:21 blackmajesty kernel: sr1: scsi3-mmc drive: 40x/48x cd/rw
xa/form2 cdda tray
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 0 0 0 2 0 0
0 ]
Aug 26 18:22:22 blackmajesty kernel: ]
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: expected 4096 got 8192
limit 4096
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 2 0 0 8 0 0
0 ]
Aug 26 18:22:22 blackmajesty kernel: ]
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: expected 16384 got 32768
limit 16384
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 a 0 0 e 0 0
0 ]
Aug 26 18:22:22 blackmajesty kernel: ]
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: expected 28672 got 57344
limit 28672
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 18 0 0 1a 0
0 0 ]
Aug 26 18:22:22 blackmajesty kernel: ]
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: expected 53248 got 106496
limit 53248
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 0 0 0 1 0 0
0 ]
Aug 26 18:22:22 blackmajesty kernel: ]
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: expected 2048 got 4096
limit 2048
Aug 26 18:22:22 blackmajesty kernel: FAT: bogus logical sector size 0
Aug 26 18:22:22 blackmajesty kernel: VFS: Can't find a valid FAT
filesystem on dev 0b:01.
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 0 0 0 1 0 0
0 ]
Aug 26 18:22:22 blackmajesty kernel: ]
Aug 26 18:22:22 blackmajesty kernel: ide-scsi: expected 2048 got 4096
limit 2048
Aug 26 18:22:22 blackmajesty kernel: FAT: bogus logical sector size 0
Aug 26 18:22:22 blackmajesty kernel: VFS: Can't find a valid FAT
filesystem on dev 0b:01.
=============
Oh, when running readcd, it just halts on sector 256 and waits there
until I hit Ctr-C and let the scsi command timeout. Sector 256 is not a
standard. Running the command again may make the drive stop reading at
some other sector (i.e 1152).
djart@blackmajesty:~$ readcd dev=0,1,0 f=test1.iso -v
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Linux sg driver version: 3.1.25
Read speed: 7040 kB/s (CD 40x, DVD 5x).
Write speed: 0 kB/s (CD 0x, DVD 0x).
Capacity: 355473 Blocks = 710946 kBytes = 694 MBytes = 728 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (0,1,0) disk to file 'test1.iso'
end: 355473
addr: 256 cnt: 128
Kernel says:
Aug 26 18:32:22 blackmajesty kernel: ide-scsi: expected 262144 got
325632 limit 262144
Aug 26 18:32:22 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:32:22 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 4 80 0 0 80 0
0 0 ]
======================
djart@blackmajesty:~$ mplayer -dvd 1
[snip mplayer specific stuff ....]
Playing DVD title 1
Reading disc structure, please wait...
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!
Kernel says:
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 0 0 0 2 0 0
0 ]
Aug 26 18:29:47 blackmajesty kernel: ]
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: expected 4096 got 8192
limit 4096
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 0 10 0 0 4 0
0 0 ]
Aug 26 18:29:47 blackmajesty kernel: ]
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: expected 8192 got 16384
limit 8192
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: The scsi wants to send us
more data than expected - discarding data
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: [[ 28 0 0 0 1 0 0 0 4 0 0
0 ]
Aug 26 18:29:47 blackmajesty kernel: ]
Aug 26 18:29:47 blackmajesty kernel: ide-scsi: expected 8192 got 16384
limit 8192
======================
--
Kyritsis Athanasios <djart at hellug.gr>
Studying Electrical & Computer Engineering
@ Univ. of Patras, Greece
Reply to: