Nowe posty

xx Touchpad po pewnym losowym czasie przestaje reagować (3)
Wczoraj o 23:21:26
xx Automat/scrypt do uruchamiania bootowalnego USB (0)
Wczoraj o 22:15:41
xx Zdalne polaczenie z posrednikiem pod Ubuntu bez GUI (2)
Wczoraj o 20:59:31
xx Uprawnienia (1)
Wczoraj o 14:10:38
xx bład krytyczny na dysku, dysk jest w LVM (2)
2019-04-19, 06:38:20
xx Przekierowanie na bezpieczną stronę z SSL (1)
2019-04-16, 19:52:43
xx bootloader (4)
2019-04-13, 18:31:03
xx Ubuntu i Bluetooth (1)
2019-04-12, 10:12:18
clip Opera - odtwarzanie niektórych filmów nie działa (1)
2019-04-12, 00:41:50
xx Xubuntu i VirtualBox (2)
2019-04-11, 23:24:54

Autor Wątek: problem z nagrywaniem plyt  (Przeczytany 3024 razy)

Offline Mariusz Garlej

  • Users
  • Nowy na forum
  • *
  • Wiadomości: 1
    • Zobacz profil
problem z nagrywaniem plyt
« dnia: 2006-10-29, 10:57:25 »
witam. mam pioneera 111d i strasznie powoli mi nagrywa w linuxie, ale to jesszcze nic. nagrywa tylko do pewnego momentu. co moze byc przyczyna ? mam slacka 9.0. ponizej zamieszczam logi

cdrecord
-----------------------
scsidev: 'ATAPI:/dev/hdc'
devname: 'ATAPI:/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
SCSI buffer size: 64512
/opt/schily/bin/cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
/opt/schily/bin/cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
/opt/schily/bin/cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'PIONEER '
Identifikation : 'DVD-RW  DVR-111D'
Revision       : '1.23'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size      : 4194304 = 4096 KB

----------------------------------------------

Track 01:    0 of   35 MB written.
Track 01:    1 of   35 MB written (fifo  98%) [buf   9%]   0.5x.
Track 01:    2 of   35 MB written (fifo  71%) [buf 100%]  34.0x.
Track 01:    3 of   35 MB written (fifo  79%) [buf 100%]   2.8x.
Track 01:    4 of   35 MB written (fifo  85%) [buf  47%]   2.9x.
Track 01:    5 of   35 MB written (fifo  93%) [buf  23%]   2.8x.
Track 01:    6 of   35 MB written (fifo 100%) [buf   5%]   2.9x.
Track 01:    7 of   35 MB written (fifo  75%) [buf 100%]  30.7x.
Track 01:    8 of   35 MB written (fifo  81%) [buf 100%]   2.8x.
Track 01:    9 of   35 MB written (fifo  89%) [buf  37%]   2.8x.
Track 01:   10 of   35 MB written (fifo  95%) [buf  19%]   2.8x.
Track 01:   11 of   35 MB written (fifo  70%) [buf  94%]  36.1x.
Track 01:   12 of   35 MB written (fifo  76%) [buf 100%]   2.8x.
Track 01:   13 of   35 MB written (fifo  84%) [buf  51%]   2.8x.
Track 01:   14 of   35 MB written (fifo  90%) [buf  33%]   2.8x.
Track 01:   15 of   35 MB written (fifo  98%) [buf   9%]   2.8x.
Track 01:   16 of   35 MB written (fifo  71%) [buf 100%]  30.4x.
Track 01:   17 of   35 MB written (fifo  79%) [buf 100%]   2.8x.
Track 01:   18 of   35 MB written (fifo  85%) [buf  47%]   2.8x.
Track 01:   19 of   35 MB written (fifo  93%) [buf  23%]   2.8x.
Track 01:   20 of   35 MB written (fifo 100%) [buf   5%]   2.9x.
Track 01:   21 of   35 MB written (fifo  75%) [buf 100%]  32.0x.
Track 01:   22 of   35 MB written (fifo  81%) [buf 100%]   2.8x.
Track 01:   23 of   35 MB written (fifo  89%) [buf  37%]   2.8x.
Track 01:   24 of   35 MB written (fifo  95%) [buf  19%]   2.8x.
Track 01:   25 of   35 MB written (fifo  70%) [buf  94%]  32.0x.
Track 01:   26 of   35 MB written (fifo  76%) [buf 100%]   2.8x.
Track 01:   27 of   35 MB written (fifo  84%) [buf  51%]   2.7x.
Track 01:   28 of   35 MB written (fifo  90%) [buf  33%]   2.8x.
Track 01:   29 of   35 MB written (fifo  98%) [buf   9%]   2.8x.
Track 01:   30 of   35 MB written (fifo  71%) [buf 100%]  33.4x.
Track 01:   31 of   35 MB written (fifo  79%) [buf 100%]   2.7x.
Track 01:   32 of   35 MB written (fifo  85%) [buf  47%]   2.8x.
Track 01:   33 of   35 MB written (fifo  93%) [buf  23%]   2.7x.
Track 01:   34 of   35 MB written (fifo 100%) [buf   5%]   2.8x.
Track 01:   35 of   35 MB written (fifo  75%) [buf 100%]  37.5x.
Track 01: Total bytes read/written: 37356816/37356816 (15883 sectors).
Starting new track at sector: 15883



---------------------------------------------


opt/schily/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 03 72 84 00 00 1B 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 71 00 03 00 50 04 71 0E 00 00 00 00 0C 00 00 00 00 00 00 00 00 00
Sense Key: 0x3 Medium Error, deferred error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 5244017 (not valid)
cmd finished after 0.001s timeout 200s
/opt/schily/bin/cdrecord: A write error occured.
/opt/schily/bin/cdrecord: Please properly read the error message above.
write track data: error after 46103904 bytes
Writing  time:  822.379s
Average write speed   5.2x.
Min drive buffer fill was 5%
Total of 24 possible drive buffer underruns predicted.
Fixating...
Fixating time:    0.011s
/opt/schily/bin/cdrecord: fifo had 8438 puts and 8375 gets.
/opt/schily/bin/cdrecord: fifo was 167 times empty and 331 times full, min fill was 0%.

cdrecord comand:
-----------------------
/opt/schily/bin/cdrecord -v gracetime=2 dev=ATAPI:/dev/hdc speed=48 -dao driveropts=burnfree -eject -useinfo -pad -shorttrack -audio /tmp/kde-blast/k3b_audio_0_01.inf /tmp/kde-blast/k3b_audio_0_02.inf /tmp/kde-blast/k3b_audio_0_03.inf /tmp/kde-blast/k3b_audio_0_04.inf /tmp/kde-blast/k3b_audio_0_05.inf /tmp/kde-blast/k3b_audio_0_06.inf /tmp/kde-blast/k3b_audio_0_07.inf /tmp/kde-blast/k3b_audio_0_08.inf /tmp/kde-blast/k3b_audio_0_09.inf /tmp/kde-blast/k3b_audio_0_10.inf /tmp/kde-blast/k3b_audio_0_11.inf /tmp/kde-blast/k3b_audio_0_12.inf /tmp/kde-blast/k3b_audio_0_13.inf /tmp/kde-blast/k3b_audio_0_14.inf /tmp/kde-blast/k3b_audio_0_15.inf /tmp/kde-blast/k3b_audio_0_16.inf /tmp/kde-blast/k3b_audio_0_17.inf



to jest we fragmentach, wg. mnie to one sa decydujace. pomozcie prosze :(

Offline Paweł Smoliński

  • Administrator
  • Guru
  • *****
  • Wiadomości: 593
    • Zobacz profil
problem z nagrywaniem plyt
« Odpowiedź #1 dnia: 2006-10-29, 14:12:56 »
Informacja o błędzie SCSI (ukryta pod liczbami Sense Keys/Codes etc) jest następująca:
"The read-after-write retry limit was exceeded during a write operation."
Co to oznacza?
Twoja nagrywarka po prostu za szybko zapisywała dane na płycie, niż mogła te dane otrzymywać z zewnątrz (prędkość x48 bez DMA). Możesz zrobić dwie rzeczy:
1) zacząć nagrywać płyty z mniejszą prędkością (do ok. 16x)
2) włączyć tryb DMA (hdparm -d1 /dev/hdc), jeżeli oczywiście masz włączoną obsługę DMA w jądrze.
Gutta cavat lapidem non vi, sed saepe cadendo / sic homo doctus fit non vi sed saepe studendo

Offline Paweł Smoliński

  • Administrator
  • Guru
  • *****
  • Wiadomości: 593
    • Zobacz profil
problem z nagrywaniem plyt
« Odpowiedź #2 dnia: 2006-10-29, 14:22:36 »
Też miałem podobne problemy, ale dodałem mały skrypt, który uruchamiany jest podczas każdego startu systemu, dzięki czemu wszystko chodzi jak należy (/dev/hda i /dev/hda to dyski twarde Seagate Baracuda 40GG, natomiast /dev/hdc to nagrywarka LiteOn DVD+-RW):

#!/bin/sh
#
# /etc/rc.d/rc.boost - Few commands to boost system speed
#

# IDE DMA (only for hard-disks (/dev/hda & /dev/hdb)
echo "Tunning IDE..."

# Hard disks: UDMA133 + 32bit I/O
for drive in a b
do
   hdparm -d1 -X69 -c3 /dev/hd$drive > /dev/null
done
# CD/DVD drives: UDMA33 + 32bit I/O
hdparm -d1 -X66 -c3 /dev/hdc > /dev/null

# Better reading of scratched CD/DVD discs
hdparm -a 32278 /dev/hdc > /dev/null

Gutta cavat lapidem non vi, sed saepe cadendo / sic homo doctus fit non vi sed saepe studendo