Kirjoittaja Aihe: SATA DWD-RW  (Luettu 3192 kertaa)

k4ytt4j4

  • Käyttäjä
  • Viestejä: 19
    • Profiili
SATA DWD-RW
« : 01.12.09 - klo:18.27 »
hommasin koneeseeni uuden DVD aseman, ei ollut oikeastaan mitään muuta syytä kuin vaihtaa vanhempi IDE väylänen SATA väylaseen laitteeseen, siinä uskossa että toimis paremmin. viimeviikolla hain yhen samsung levarin... vaihdoin sen pois kokonaan kun bootti aika pitkitty moneksi minuutiksi ja levyjä ei voinut polttaa saatikka liiemmin tehdä asemalla mitään koska se vaan pyöri "ympyrää".  Noo tänään sain uuden LG:n Sata väyläsen vaihdossa se nyt on parempi ton bootin suhteen ja vaikka DVD elokuvat ei pyöri, sain jonku video_ts filen sieltä kuitenkin pyörimään. Polttaminen ei onnistu olen nyt pisimpään käyttänyt Xfburn ohjelmaa ilman ongelmia en usko että ongelma on ohjelmassa. mietin oisko asennuksen yhteydessä jääny jotain edellisen levarin juttuja käyttikseen niin että se sekottaa tätä uutta.

nm

  • Käyttäjä
  • Viestejä: 16428
    • Profiili
Vs: SATA DWD-RW
« Vastaus #1 : 01.12.09 - klo:19.13 »
Tarkistetaanpa laitetiedostojen linkitys. Aja päätteessä ja kopioi tuloste näytille:

Koodia: [Valitse]
dmesg | grep sr[0-9]
ls -l /dev/dvd* /dev/scd* /dev/cd* /dev/sr*
cat /etc/fstab

k4ytt4j4

  • Käyttäjä
  • Viestejä: 19
    • Profiili
Vs: SATA DWD-RW
« Vastaus #2 : 01.12.09 - klo:19.25 »
$ dmesg | grep sr[0-9]
[    4.654508] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    4.654571] sr 1:0:0:0: Attached scsi CD-ROM sr0
[  134.372294] end_request: I/O error, dev sr0, sector 0
[  134.372301] Buffer I/O error on device sr0, logical block 0
[  134.375029] end_request: I/O error, dev sr0, sector 0
[  134.375033] Buffer I/O error on device sr0, logical block 0
[  443.812528] end_request: I/O error, dev sr0, sector 0
[  443.812535] Buffer I/O error on device sr0, logical block 0
[  443.815274] end_request: I/O error, dev sr0, sector 0
[  443.815277] Buffer I/O error on device sr0, logical block 0
[  445.113560] end_request: I/O error, dev sr0, sector 64
[  445.125205] end_request: I/O error, dev sr0, sector 1024
[  445.127984] end_request: I/O error, dev sr0, sector 2048
[  445.141252] end_request: I/O error, dev sr0, sector 64
[  445.141264] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[  552.241293] end_request: I/O error, dev sr0, sector 0
[  552.241300] Buffer I/O error on device sr0, logical block 0
[  552.245599] end_request: I/O error, dev sr0, sector 0
[  552.245603] Buffer I/O error on device sr0, logical block 0
[  553.375144] end_request: I/O error, dev sr0, sector 64
[  553.386985] end_request: I/O error, dev sr0, sector 1024
[  553.389886] end_request: I/O error, dev sr0, sector 2048
[  553.403097] end_request: I/O error, dev sr0, sector 64
[  553.403109] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[  626.471224] end_request: I/O error, dev sr0, sector 0
[  626.471230] Buffer I/O error on device sr0, logical block 0
[  626.475517] end_request: I/O error, dev sr0, sector 0
[  626.475521] Buffer I/O error on device sr0, logical block 0
[  628.284903] end_request: I/O error, dev sr0, sector 64
[  628.296682] end_request: I/O error, dev sr0, sector 1024
[  628.299599] end_request: I/O error, dev sr0, sector 2048
[  628.312692] end_request: I/O error, dev sr0, sector 64
[  628.312704] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[ 1305.358923] end_request: I/O error, dev sr0, sector 0
[ 1305.358929] Buffer I/O error on device sr0, logical block 0
[ 1305.363238] end_request: I/O error, dev sr0, sector 0
[ 1305.363243] Buffer I/O error on device sr0, logical block 0
[ 1307.179579] end_request: I/O error, dev sr0, sector 64
[ 1307.191143] end_request: I/O error, dev sr0, sector 1024
[ 1307.193903] end_request: I/O error, dev sr0, sector 2048
[ 1307.207167] end_request: I/O error, dev sr0, sector 64
[ 1307.207179] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

$ ls -l /dev/dvd* /dev/scd* /dev/cd* /dev/sr*
lrwxrwxrwx  1 root root      3 2009-12-01 18:56 /dev/cdrom1 -> sr0
lrwxrwxrwx  1 root root      3 2009-12-01 18:56 /dev/cdrw1 -> sr0
lrwxrwxrwx  1 root root      3 2009-12-01 18:56 /dev/dvd1 -> sr0
lrwxrwxrwx  1 root root      3 2009-12-01 18:56 /dev/dvdrw1 -> sr0
lrwxrwxrwx  1 root root      3 2009-12-01 18:56 /dev/scd0 -> sr0
brw-rw----+ 1 root cdrom 11, 0 2009-12-01 18:56 /dev/sr0

$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=907c0e22-c9d3-4ea1-b78d-2683070a82ba /               ext3    relatime,errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=6121b9c6-9c65-404e-9ab0-9b0d3823390d none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0



nm

  • Käyttäjä
  • Viestejä: 16428
    • Profiili
Vs: SATA DWD-RW
« Vastaus #3 : 01.12.09 - klo:19.30 »
Ok, eli linkitys pitää korjata. Tämä tapahtuu udevin säännöillä. Näytä vielä tiedoston /etc/udev/rules.d/70-persistent-cd.rules sisältö.

k4ytt4j4

  • Käyttäjä
  • Viestejä: 19
    • Profiili
Vs: SATA DWD-RW
« Vastaus #4 : 01.12.09 - klo:20.21 »
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# DVD_RW_ND-3550A (pci-0000:00:14.1-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
# CDDVDW_SH-S223C (pci-0000:00:11.0-scsi-1:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw1", ENV{GENERATED}="1"

nm

  • Käyttäjä
  • Viestejä: 16428
    • Profiili
Vs: SATA DWD-RW
« Vastaus #5 : 01.12.09 - klo:20.41 »
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# DVD_RW_ND-3550A (pci-0000:00:14.1-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:14.1-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
# CDDVDW_SH-S223C (pci-0000:00:11.0-scsi-1:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw1", ENV{GENERATED}="1"


Jeps, eli avaa tiedosto editoitavaksi komentamalla päätteessä: gksudo gedit /etc/udev/rules.d/70-persistent-cd.rules

Muuta sisällöksi tämä (poista vanhan aseman rivit, poista linkkien nimistä ykköset):

Koodia: [Valitse]
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# CDDVDW_SH-S223C (pci-0000:00:11.0-scsi-1:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"

Tallenna ja käynnistä kone uudelleen.

k4ytt4j4

  • Käyttäjä
  • Viestejä: 19
    • Profiili
Vs: SATA DWD-RW
« Vastaus #6 : 01.12.09 - klo:20.58 »
tollanen muutos:

# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# CDDVDW_SH-S223C (pci-0000:00:11.0-scsi-1:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.0-scsi-1:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"

mutta poltto prosesi ei onnistunut bootin jälkeen, kuitenkin dmesg:ssa tuli jonkinlainen muutos


$ dmesg | grep sr[0-9]
[    4.655681] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    4.655744] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   65.457868] end_request: I/O error, dev sr0, sector 0
[   65.457872] Buffer I/O error on device sr0, logical block 0
[   65.462161] end_request: I/O error, dev sr0, sector 0
[   65.462163] Buffer I/O error on device sr0, logical block 0
[  171.840648] end_request: I/O error, dev sr0, sector 0
[  171.840654] Buffer I/O error on device sr0, logical block 0
[  171.844924] end_request: I/O error, dev sr0, sector 0
[  171.844928] Buffer I/O error on device sr0, logical block 0
[  589.487348] end_request: I/O error, dev sr0, sector 64
[  589.499183] end_request: I/O error, dev sr0, sector 1024
[  589.501996] end_request: I/O error, dev sr0, sector 2048
[  589.515366] end_request: I/O error, dev sr0, sector 64
[  589.515378] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
« Viimeksi muokattu: 01.12.09 - klo:21.06 kirjoittanut k4ytt4j4 »

nm

  • Käyttäjä
  • Viestejä: 16428
    • Profiili
Vs: SATA DWD-RW
« Vastaus #7 : 01.12.09 - klo:21.06 »
Tarkista, että /dev-hakemiston linkit muuttuivat: ls -l /dev/dvd* /dev/scd* /dev/cd*

Mitä laitetta poltto-ohjelma yrittää käyttää?

Toimiiko DVD-toisto?

k4ytt4j4

  • Käyttäjä
  • Viestejä: 19
    • Profiili
Vs: SATA DWD-RW
« Vastaus #8 : 01.12.09 - klo:21.26 »
ls -l /dev/dvd* /dev/scd* /dev/cd*
lrwxrwxrwx 1 root root 3 2009-12-01 20:48 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 2009-12-01 20:48 /dev/cdrw -> sr0
lrwxrwxrwx 1 root root 3 2009-12-01 20:48 /dev/dvd -> sr0
lrwxrwxrwx 1 root root 3 2009-12-01 20:48 /dev/dvdrw -> sr0
lrwxrwxrwx 1 root root 3 2009-12-01 20:48 /dev/scd0 -> sr0


DVD toisto toimii

tuollanen lukee xfce:n device listassa HL-DT-ST DVDRAM GH22NS50 /dev/sr0


testasin tommosta:

wodim -dummy icecat-3.5.5.tar.bz2
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.Device was not specified. Trying to find an appropriate drive...
Looking for a CD-R drive to store 41.66 MiB...
Detected CD-R drive: /dev/cdrw
Using /dev/cdrom of unknown capabilities
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVDRAM GH22NS50 '
Revision       : 'TN01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
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
Speed set to 8468 KB/s
Starting to write CD/DVD at speed  48.0 in dummy TAO mode for single session.
Last chance to quit, starting dummy write in    0 seconds. Operation starts.
Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 02 2E 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 30 02 80 21 02 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.003s timeout 40s
write track data: error after 1142784 bytes
wodim: The current problem looks like a buffer underrun.
wodim: It looks like 'driveropts=burnfree' does not work for this drive.
wodim: Please report.
wodim: Make sure that you are root, enable DMA and check your HW/OS set up.


tätä ei välttämättä voi ratkasta ihan heti... selasin myös ubuntun pääfoorumia ja löysin tommosen threadin sieltä:

http://ubuntuforums.org/showthread.php?t=1318736
« Viimeksi muokattu: 01.12.09 - klo:23.09 kirjoittanut k4ytt4j4 »