READ_CD command timeout - resetting
Pavlicek Jaroslav Ing.
Jaroslav_Pavlicek at kb.cz
Fri May 14 10:58:31 CEST 2004
Dobry den,
"acd0: CDROM <CDU5211> at ata1-master PIO4" mi pripomina lacine CD-ROM
Aopen 52x, se kterymi jsem mel dost problemu a po vymene bylo po
problemech.
Jinak dagrab pouzivam naprosto bez problemu.
--- Jarda Pavlicek
-----Original Message-----
From: Martyn Kudlacek cnf. [mailto:mkudlacekconf at centrum.cz]
Sent: Friday, May 14, 2004 10:40 AM
To: users-l at freebsd.cz
Subject: READ_CD command timeout - resetting
Dobry den,
chtel bych pod FreeBSD 4.9 Stable v textove konzoly grabovat hudbu z
CDROM.
Zkousel jsem tri programy (dagrab, paranoia, cdda2wav), ale ani jeden to
nezvladne. Vzdy dostanu chybove hlaseni (viz. nize). Jediny postup ktery
funguje je:
# cd /dev
# sh MAKEDEV acd0t99
# cd /home/martyn
# dd if=/dev/acd0t1 of=track01.cdr bs=2352
a potom vypalit celou kompilaci, nedostanu vsak soubory wav, ktere bych
chtel prevest do mp3 (lame)
Obe CD-ROM v systemu funguji (jsou-li tam data, tak mount_cd9660 je OK).
Zkousel jsem to na dvou CD-ROMkach a dela to stejnou chybu, tak si
myslim
ze problem bude "nekde" pod programama. Dle google jsem do jadra pridal:
device atapicam
Zvukova karta mi nefunguje,ale myslim si,ze by na to nemela mit vliv,
ale
pro jistotu pridam vypis: V loader.conf jsem pridal
...snip...snd_load="YES" ...snip...
+ vsechny mozne drivery ale pri spusteni systemu mi to pise > ...
+ snip...
Preloaded elf module "snd_pcm.ko" at 0xc062a140...snip..
v jadre mam > device pcm
dmesg pise > ...snip /kernel: chip0: <VIA 82C686 AC97 Audio> port
0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 9 at device 7.5 on pci0
... snip
Dekuji Kudlacek Martyn
a pridavam vypisy:
# cdparanoia -B
>>stale z CDROM cte, ale nic se nedeje, neda se prerusit a pomuze az
restart systemu, vypis z dmesg
acd0: READ_CD command timeout - resetting
ata1: resetting devices .. done
acd0: read data overrun 2352/0
acd0: read data overrun 2352/0
acd0: read data overrun 2352/0
# dagrab -v -d /dev/acd0c -f /home/martyn/track01.wav 1
dagrab: error retrieving cddb data
sectors 12 overlap 2 key length 12 retrys 40 offset 12
Dumping all tracks
Dumping track 1: lba 0 to lba 14610 (needs 32 MB)
Output file is: /home/martyn/track01.wav
/usr/local/bin/dagrab: read raw ioctl failed at lba 0 length 12:
Input/output error
>>dmesg pise
acd0: READ_CD command timeout - resetting
ata1: resetting devices .. done
# cdda2wav -B -D /dev/acd0c
cdrom device (/dev/acd0c) is not of type generic SCSI. Setting interface
to
cook
ed_ioctl.
266240 bytes buffer memory requested, 4 buffers, 27 sectors #Cdda2wav
version 2.00.3_freebsd_4.9-stable_i386_i386, real time sched.,
soundca
rd, libparanoia support
AUDIOtrack pre-emphasis copy-permitted tracktype channels
1-22 yes no audio 2
Table of Contents: total tracks:22, (total time 71:15.25)
1.( 3:14.61), 2.( 3:00.64), 3.( 2:20.37), 4.( 2:46.44), 5.(
3:21.50),
6.( 3:09.22), 7.( 3:27.41), 8.( 3:56.57), 9.( 3:01.66), 10.(
3:43.36),
11.( 3:19.40), 12.( 2:50.43), 13.( 3:16.52), 14.( 3:06.47), 15.(
2:14.17),
16.( 3:39.25), 17.( 2:48.56), 18.( 4:05.41), 19.( 2:50.24), 20.(
3:56.12),
21.( 3:21.30), 22.( 3:40.60)
Table of Contents: starting sectors
1.( 0), 2.( 14611), 3.( 28175), 4.( 38712), 5.(
51206),
6.( 66331), 7.( 80528), 8.( 96094), 9.( 113851), 10.(
127492),
11.( 144253), 12.( 159218), 13.( 172011), 14.( 186763), 15.(
200760),
16.( 210827), 17.( 227277), 18.( 239933), 19.( 258349), 20.(
271123),
21.( 288835), 22.( 303940), lead-out( 320500)
CDINDEX discid: ZAXhWfv4DJy9ZVzptK5X7iIxnyY-
CDDB discid: 0x3710b116
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 753816044 bytes.
recording 4273.3333 seconds stereo with 16 bits @ 44100.0 Hz
->'audio'... overlap:min/max/cur, jitter, percent_done:
/ / / 0%
>>a tak to zustane porad a nic nedela, dmesg pise
acd0: READ_CD command timeout - resetting
ata1: resetting devices .. done
acd0: read data overrun 2352/0
acd0: read data overrun 2352/0
>> vytvori vzdy stejne soubory:
-rw-rw---- 1 root martyn 44 May 14 08:56 track01.wav
>> castecny vypis dmesg po startu systemu:
acd0: CDROM <CDU5211> at ata1-master PIO4
acd1: CD-RW <CD-W516EB> at ata1-slave PIO4
cd1 at ata1 bus 0 target 1 lun 0
cd1: <TEAC CD-W516EB 1.0B> Removable CD-ROM SCSI-0 device
cd1: 16.000MB/s transfers
cd1: cd present [320500 x 2048 byte records]
cd0 at ata1 bus 0 target 0 lun 0
cd0: <SONY CD-ROM CDU5211 YYS7> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
>> dmesg vypis u programu:
ata1: resetting devices .. done
acd0: READ_CD command timeout - resetting
ata1: resetting devices .. done
acd0: read data overrun 2352/0
acd0: read data overrun 2352/0
acd0: read data overrun 2352/0
--
FreeBSD mailing list (users-l at freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l
More information about the Users-l
mailing list