Date: Sun, 16 Apr 2000 16:29:56 -0400 From: Brian Reichert <reichert@numachi.com> To: freebsd-mobile@freebsd.org Subject: READ_BIG error using external DVD-ROM as acd0 Message-ID: <20000416162956.D20339@numachi.com>
next in thread | raw e-mail | index | archive | help
I'm having reasonable success making use of an external DVD-ROM
drive on a Sony laptop running FreeBSD-4.0 RELEASE.
Said drive is uses a Cardbus card. I know FreeBSD's support for
such things is likely nonexistant, but I have been able to:
- mount and use CD-ROM images
- mount and use audio CDs
- mount and use 'multimedia' CDs
- mount DVD-ROMs
My reference DVD-ROM is, of course, The Matrix. :)
This filesystem has 7782 files on it, ranging in size up to 1073739776
bytes.
The biggest file I can read is 38950240 bytes. The next largest
file is 141391872 bytes. When I try to read this file:
# dd of=/dev/null if=/mnt/./video_ts/vts_03_1.vob bs=4096
dd: /mnt/./video_ts/vts_03_1.vob: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 0.206412 secs (0 bytes/sec)
To sum up, I can read all of the files on the DVD-ROM, with the
exception of 10 really huge vob files.
Syslog shows:
Apr 16 15:43:22 tetsuo /kernel: acd0: READ_BIG - ILLEGAL REQUEST
asc=6f ascq=03 error=04
Let me provide too much information:
What I think are pertinent bits from dmesg:
pcic-pci0: <Ricoh RL5C475 PCI-CardBus Bridge> at device 12.0 on pci0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfc90-0xfc9f at
device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ad0: 11513MB <IBM-DARA-212000> [23392/16/63] at ata0-master using UDMA33
The pccard.conf entry:
# EXP DVD-780 external DVD-ROM
card "EXP " "PnPIDE"
config auto "ata2" ?
insert logger -s EXP DVD-780 inserted
remove logger -s EXP DVD-780 remove
Inserting the card gets me:
Apr 16 14:07:01 tetsuo /kernel: pccard: card inserted, slot 0
Apr 16 14:07:12 tetsuo /kernel: ata4 at port 0x320-0x32f irq 3
slot 0 on pccard0
Apr 16 14:07:22 tetsuo /kernel: ata4-slave: ata_command: timeout
waiting for intr
Apr 16 14:07:22 tetsuo /kernel: ata4-slave: identify failed
Apr 16 14:07:22 tetsuo /kernel: acd0: DVD-ROM <DRN8040B> at
ata4-master using BIOSPIO
Apr 16 14:07:22 tetsuo root: EXP DVD-780 inserted
'sysctl hw.atamodes' shows me:
hw.atamodes: dma,---,pio,---,
mounted with:
# mount_cd9660 /dev/acd0c /mnt
'df' sez:
% df /mnt
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/acd0c 16393344 16393344 0 100% /mnt
An example of througput:
% dd of=/dev/null if=/mnt/./whv/sampler/mpeg1/outmp14t1/outland.mpg bs=4096
9509+1 records in
9509+1 records out
38950240 bytes transferred in 26.511199 secs (1469199 bytes/sec)
Setting the ata-master to pio didn't affect anything.
Does anyone know how to start pursiung this?
Does anyone know if the messages about ata4-slave are meaningful?
Also, a crash-course in how these ata numbers get assigned would
be cool...
Willing to accept any advice...
--
Brian 'you Bastard' Reichert reichert@numachi.com
37 Crystal Ave. #303 Daytime number: (781) 273-4100 x161
Derry NH 03038-1713 USA Intel architecture: the left-hand path
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000416162956.D20339>
