Ubuntu Linux per tutti!

  • Home
  • Forum

Abbonati via Email

UbuntuFacile.org - Forum » Hardware e periferiche

[Risolto] Masterizzatore DVD e abilitazione DMA

(11 articoli)
  • Avviato 10 mesi fa da chinchillart
  • Ultima replica da parte di simone
  1. chinchillart
    Membro

    Ho una serie di problemi con la masterizzazione DVD e CD-ROM.
    Ogni volta che avvio K3B mi dice che il DMA del masterizzatore non è attivato, e mi suggerisce


    sudo hdparm - d 1 /dev/hdb



    ...o qualcosa del genere. Adesso non ricordo bene.
    Comunque dopo riavvio K3B e provo a masterizzare. Ma non c'è niente da fare. La velocità si limita a 0,60x, con punte di 1x.
    Questo qualunque impostazione di velocità dia in scrittura.
    Ho notato invece che con NeroLinux la masterizzazione va a buon fine e la velocità è sempre molto alta.
    Tuttavia preferivo far funzionare K3B piuttosto che comprare un software proprietario.

    Ho anche provato con Brasero ma il problema è lo stesso.

    Mi illuminate?


    Roberto
    Pubblicato 10 mesi fa #
  2. Anonimo
    Non Registrato

    Strano in quanto il DMA dovrebbe essere abilitato di default.
    Prova a leggere qua: https://help.ubuntu.com/community/DMA

    Il comando

    sudo hdparm /dev/hdb


    che cosa ti dice?

    PS. Sicuro che hdb è il masterizzatore vero?

    Inviami anche il tuo file /etc/fstab
    Pubblicato 10 mesi fa #
  3. chinchillart
    Membro

    Nella mia configurazione ho un canale IDE con disco rigido hda e masterizzatore hdb.
    Questo l'ho vericato.

    Non puoi immaginare la mia meraviglia quando ho scoperto che il DMA, e anche l'accesso a 32 bit, sono disattivati
    sia sul disco hda che sul masterizzatore hdb.


    rob@ubuntu:~$ sudo hdparm /dev/hda

    /dev/hda:
    multcount = 0 (off)
    IO_support = 0 (default 16-bit)
    unmaskirq = 0 (off)
    using_dma = 0 (off)
    keepsettings = 0 (off)
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 30401/255/63, sectors = 488397168, start = 0



    Allora ho abilitato l'accesso 32 bit e il dma sia su hda sia su hdb:


    sudo hdparm -c 1 -d 1 /dev/hda
    sudo hdparm -c 1 -d 1 /dev/hdb



    E poi ho aumentato il buffer software di K3B da 4 mega (default) a 64 mega.
    Dopo ho masterizzato correttamente un DVD a 8x e tutto è filato liscio.

    Il Problema adesso è questo: ogni volta che riavvio devo dare i comandi hdparm sia per hda sia per hdb.
    Sembra che il file hdparm.conf non venga nemmeno letto.

    Ti copio il file fstab:


    # /etc/fstab: static file system information.
    #
    # -- This file has been automaticly generated by ntfs-config --
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    # Entry for /dev/hda3 :
    UUID=9c1d29dd-706d-4e7b-965e-d57087353b4e / ext3 defaults,errors=remount-ro 0 1
    # Entry for /dev/hda6 :
    UUID=1e70584f-c8a9-465d-8664-32da50685aa0 none swap sw 0 0
    /dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    /dev/hda5 /media/DOC ntfs-3g defaults,locale=it_IT.UTF-8 0 0
    none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0
    /dev/sda5 /media/DATA1 ntfs-3g defaults,locale=it_IT.UTF-8 0 0
    /dev/sdb5 /media/DATA1 ntfs-3g defaults,locale=it_IT.UTF-8 0 0



    Come faccio a rendere permanenti i de settaggi???
    Pubblicato 10 mesi fa #
  4. Anonimo
    Non Registrato

    Per fare in modo che il file hdparm.conf venga letto all'avvio dei abilitare il demone hdparm.
    leggi qui: http://ubuntufacile.org/Gestione_dei_de ... sv_rc_conf

    Imposta hdparm ai livelli 2 3 4 5.
    Pubblicato 10 mesi fa #
  5. chinchillart
    Membro

    [quote="simone":hd1q0ei1]Per fare in modo che il file hdparm.conf venga letto all'avvio dei abilitare il demone hdparm.
    leggi qui: http://ubuntufacile.org/Gestione_dei_de ... sv_rc_conf

    Imposta hdparm ai livelli 2 3 4 5.

    Ho provato ad avviare manualmente hdparm:


    rob@ubuntu:~$ sudo /etc/init.d/hdparm restart
    * Setting disc parameters...
    BLKFLSBUF failed: Function not implemented
    HDIO_SET_DMA failed: Inappropriate ioctl for device



    E' normale??
    Pubblicato 10 mesi fa #
  6. Anonimo
    Non Registrato

    E' normale??


    Dipende da come hai configurato hdparm.conf :D
    Prova a controllare di non avere errori nel file di configurazione.
    Stavo pensando che il tuo potrebbe essere anche un problema di collegamento del masterizzatore.
    L'hai installato tu? Hai la possibilità di provare a collegarlo diversamente? Sul masterizzatore ci sono degli switch o jumper da impostare?
    Pubblicato 10 mesi fa #
  7. chinchillart
    Membro

    Credo che dipenda dal fatto che ho anche un disco SATA su /dev/sdb

    Se ho capito bene l'attivazione del DMA e dell'accesso 32 bit funziona solo con gli EIDE.


    rob@ubuntu:~$ sudo hdparm /dev/sdb

    /dev/sdb:
    IO_support = 0 (default 16-bit)
    readonly = 0 (off)
    readahead = 256 (on)
    geometry = 60801/255/63, sectors = 976773168, start = 0



    Infatti se tento di abilitare DMA e 32bit su /dev/sdb ottengo degli errori:


    rob@ubuntu:~$ sudo hdparm -c1 -d1 -k1 /dev/sdb
    [sudo] password for rob:

    /dev/sdb:
    setting 32-bit IO_support flag to 1
    HDIO_SET_32BIT failed: Invalid argument
    setting using_dma to 1 (on)
    HDIO_SET_DMA failed: Inappropriate ioctl for device
    setting keep_settings to 1 (on)
    HDIO_SET_KEEPSETTINGS failed: Inappropriate ioctl for device
    IO_support = 0 (default 16-bit)



    Come faccio allora ad abilitare DMA e 32 bit su un disco SATA?

    Questo è il mio file hdparm.conf


    /dev/hda {
    io32_support = 1
    dma = on
    }

    /dev/hdb {
    io32_support = 1
    dma = on
    }

    /dev/sdb {
    spindown_time = 24
    dma = on
    }



    Roberto
    Pubblicato 10 mesi fa #
  8. Anonimo
    Non Registrato

    Elimina la parte riguardante sdb da hdparm.conf e vedi se ti da lo stesso errore.
    In effetti hdparm non serve per i SATA.
    Pubblicato 10 mesi fa #
  9. chinchillart
    Membro

    Ho tolto la voce del disco SATA sdb: mi dà un errore in meno, ma c'è ancora un errore:


    rob@ubuntu:~$ sudo /etc/init.d/hdparm restart
    * Setting disc parameters...
    BLKFLSBUF failed: Function not implemented



    Non me lo spiego...
    Pubblicato 10 mesi fa #
  10. chinchillart
    Membro

    Ho cercato con Google ed ho trovato una discussione interessante:

    http://tinyurl.com/3724rc

    Cito testualmente:

    As for BLKFLSBUF, it appears in English to mean "Block Device Flush Buffer" which is an operation which either may return that error due to a kernel bug or with an older version of HDPARM (Google-based results) or when the operation is requested on a mounted ext2 filesystem, or your drive simply does not support it.

    Un bug del kernel???
    Pubblicato 10 mesi fa #
  11. Anonimo
    Non Registrato

    or your drive simply does not support it.

    Questa secondo me è l'ipotesi più plausibile.
    Pubblicato 9 mesi fa #

Feed RSS per questa discussione

Replica

Devi aver fatto il login per poter pubblicare articoli.

Cerca

Categorie

    alice gate apache audio cpufreqd d-link dwl-g132 dischi DPMS DPMS powersave gnome-power-manager LCD standby errore gnome-power-manager H3G modem onda mh600 su ubuntu 8.10 importazione bookmarks xp LCD onda mt502hs tim standby vodafone connect connetti mobile card huawey vodafone modem umts gprs firefox

Login

    Registrati o fai il login:

Powered by BBpress | WP Premium theme by WP Remix
Copyright 2008. [Risolto] Masterizzatore DVD e abilitazione DMA « UbuntuFacile.org - Forum. License: CreativeCommons BY-NC-SA