Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: dafighter в Sep 09, 2006, 18:01



Титла: Проблем с erase на диск
Публикувано от: dafighter в Sep 09, 2006, 18:01
Първо опитах с gnomebaker, но там не стана и реших да инсталирам k3b...на диска е записвано ubuntu под windows
Цитат
System
-----------------------
K3b Version: 0.12.14

KDE Version: 3.5.2
QT Version:  3.3.6
Kernel:      2.6.15-26-386
Devices
-----------------------
TEAC CD-W552E 1.09 (/dev/hdc, ) at  [CD-R; CD-RW; CD-ROM] [CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]

_NEC DV-5800C D9S3 (/dev/hdd, ) at /media/cdrom0 [CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM] [None]
Used versions
-----------------------
cdrecord: 2.1.1a01

cdrecord command:
-----------------------
/usr/bin/X11/cdrecord.mmap -v gracetime=2 dev=/dev/hdc speed=12 -tao driveropts=burnfree -eject blank=fast -force

cdrecord
-----------------------
/usr/bin/X11/cdrecord: Warning: Running on Linux-2.6.15-26-386

/usr/bin/X11/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/X11/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright © 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.
TOC Type: 1 = CD-ROM
/usr/bin/X11/cdrecord: Device or resource busy. Cannot open '/dev/hdc'. Cannot open SCSI driver.
/usr/bin/X11/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/X11/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
/usr/bin/X11/cdrecord:
/usr/bin/X11/cdrecord: For more information, install the cdrtools-doc
/usr/bin/X11/cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .


ето и информация за самия линукс:
Ubuntu Linux 6.06.1 LTS (Dapper Drake)
Linux dafighter-desktop 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux

Благодаря!


Титла: Проблем с erase на диск
Публикувано от: saejoh в Sep 09, 2006, 18:23
Цитат (dafighter @ Сеп. 09 2006,18:01)
cdrecord
-----------------------
/usr/bin/X11/cdrecord: Warning: Running on Linux-2.6.15-26-386

/usr/bin/X11/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/X11/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.

Кой пакет на K3B точно си инсталирал?
Може би трябва да обърнеш внимание на цитираното  :xclam:


Титла: Проблем с erase на диск
Публикувано от: dafighter в Sep 09, 2006, 18:26
Не знам кой пакет точно се води, но съм го инсталирал чрез sudo apt-get install k3b. Ако може да ми кажеш как да проверя кой пакет точно съм инсталирал ще го направя

Мога да приложа тази снимка:
http://i.data.bg/06/09/09/66816.jpg





Титла: Проблем с erase на диск
Публикувано от: july в Sep 09, 2006, 19:10
тези предупреждения на cdrecord относно версията на ядрото принципно са безобидни...

по-скоро виж, кое точно ти е устройството...

/usr/bin/X11/cdrecord: Device or resource busy. Cannot open '/dev/hdc'. Cannot open SCSI driver.
/usr/bin/X11/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/X11/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

виж и да не би случайно да го бърка някъв automount...


Титла: Проблем с erase на диск
Публикувано от: dafighter в Sep 11, 2006, 14:06
Този диск за който правих тази тема си го erase-нах под Windows безпроблемно, но сега искам да запиша тук един друг диск и отново ми дава проблеми при erase-а> давам Blank CD-RW на writer си задавам записвачката и просто натискам start, но изходът е следният:
Цитат
cdrecord: Warning: Running on Linux-2.6.15-26-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Error trying to open /dev/hdc exclusively (Device or resource busy)... retrying in 1 second.
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright © 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

TOC Type: 1 = CD-ROM
cdrecord: Device or resource busy. Cannot open '/dev/hdc'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .

Ubuntu Linux 6.06.1 LTS (Dapper Drake)
Linux dafighter-desktop 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux
Gnomebaker версия 0.5.1

Благодаря ви!!!


Титла: Проблем с erase на диск
Публикувано от: july в Sep 11, 2006, 14:08
Цитат (july @ Сеп. 09 2006,19:10)
по-скоро виж, кое точно ти е устройството...

/usr/bin/X11/cdrecord: Device or resource busy. Cannot open '/dev/hdc'. Cannot open SCSI driver.
/usr/bin/X11/cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
/usr/bin/X11/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

виж и да не би случайно да го бърка някъв automount...

ф


Титла: Проблем с erase на диск
Публикувано от: dafighter в Sep 11, 2006, 14:32
Какво е това ф и ти ми каза да видя кое ми е устройството еми да преди да пусна erase-а виждам кое е устройството и избирам правилното!Ако говориш за нещо друго ми кажи и би ли ми обяснил как така да го бърка някакъв automount?


Титла: Проблем с erase на диск
Публикувано от: july в Sep 11, 2006, 15:45
тва ф, е щото не може празен отговор.......

виж дали имаш /dev/hdc, и дали е вярното нещо...

виж и дали имаш (заредени) scsi модули...

въобще виж изхода от

For possible targets try 'cdrecord -scanbus'.

мани го к3б-то, пробвай

cdrecord -blank -dev=/dev/hdc

пробвай и със другите target-и, които изнамери...


Титла: Проблем с erase на диск
Публикувано от: dafighter в Sep 11, 2006, 17:36
да имам /dev/hdc, но когато се опитвам да го отворя ми изписва "„/dev/hdc“ не може да бъде зареден."

Изходът от cdrecord -scanbus е:
Цитат
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright © 1995-2004 Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to <cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

cdrecord: Warning: Running on Linux-2.6.15-26-386
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord:
cdrecord: For more information, install the cdrtools-doc
cdrecord: package and read /usr/share/doc/cdrecord/README.ATAPI.setup .
k3b-то го махнах, защото вчера форматирах и инсталирах наново и сега имам само Gnomebaker. Изходът от cdrecord -blank -dev=/dev/hdc е
Цитат
Illegal blanking type '-dev=/dev/hdc'.
Какво ще рече и с другите target-и които изнамерих би ли обяснил малко по-подробно?


Титла: Проблем с erase на диск
Публикувано от: july в Sep 11, 2006, 17:49
$ cdrecord -scanbus
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright © 1995-2006 Jrg Schil
ling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
   related to DVD issues that are not present in the original cdrtools. For
   more information see http://crashrecovery.org/oss-dvd.html. The original
   cdrtools author should not be bothered with problems in this version.
cdrecord: Warning: Running on Linux-2.6.17-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) *
        0,1,0     1) 'HL-DT-ST' 'RW/DVD GCC-4243N' '1.08' Removable CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *


$ cdrecord blank=fast dev=/dev/hdb
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...


е без минусите :) ма то тва го пише във man cdrecord де:)





Титла: Проблем с erase на диск
Публикувано от: redcure в Sep 11, 2006, 17:49
dmesg | grep ^hd #така ще разбереш, кое ти е CD-тo
Слагаш диск, праскаш umount на CD-то и пишеш
cdrecord -dev=ATA: -scanbus
Ако искаш да триеш използваш
cdrecord blank=full dev=/dev/hdX #hdX ти е CD-то


Титла: Проблем с erase на диск
Публикувано от: KPETEH в Sep 11, 2006, 18:11
А не трябва ли в такъв случай да е :

cdrecord blank=full dev=0,1,0

?


Титла: Проблем с erase на диск
Публикувано от: july в Sep 11, 2006, 18:14
според зависи...
1,0,1 е изрично scsi, и libschily-то си търси едни работи, дето може и без тях .....

абе важното е да тръгне, пък как точно ще се окаже device-то е второстепенен въпрос...


Титла: Проблем с erase на диск
Публикувано от: redcure в Sep 11, 2006, 18:29
В последно време имам проблем със cdrecord, който се състои в това, че не ми лови правилно cd-то. Във fstab-а всичко си е ОК, но scanbus-a дава грешно у-во. Другият феномен е, че ако сложиш диск и пуснеш scanbus, системата изплюва грешка, че у-вото се ползва, а ако демонираш cd-то всичко е ОК. Тръгнеш ли да записваш и ползваш ли информацията от scanbus, се връщаш към грешката с device is busy. Начина по който се справям е директно да давам кое ми е у-вото, т.е. dev=/dev/hdd в моя случай, като преди това съм го демонтирал.


Титла: Проблем с erase на диск
Публикувано от: KPETEH в Sep 11, 2006, 18:30
cdrecord: Warning: Running on Linux-2.6.17-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus0:
       0,0,0     0) *
       0,1,0     1) 'HL-DT-ST' 'RW/DVD GCC-4243N' '1.08' Removable CD-ROM
       0,2,0     2) *
       0,3,0     3) *
       0,4,0     4) *
       0,5,0     5) *
       0,6,0     6) *
       0,7,0     7) *
@july e в твоя случай би трябвало да ако правилно си пейстнал
но не разбрах това от менюала ли го пействаш или е резултатът
от scanbus ?!


Титла: Проблем с erase на диск
Публикувано от: KPETEH в Sep 11, 2006, 18:33
М/у впрочем вижте какво ми дава като резултат :
Примерен код
/home/guest# cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jцrg Schilling
/usr/bin/cdrecord-bin: Warning: Running on Linux-2.6.11.2
/usr/bin/cdrecord-bin: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord-bin: If you have unexpected problems, please try Linux-2.4 or Solaris.
/usr/bin/cdrecord-bin: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
/usr/bin/cdrecord-bin: For possible targets try 'cdrecord -scanbus'.
/usr/bin/cdrecord-bin: For possible transport specifiers try 'cdrecord dev=help'

А мога да правя записи с к3b !!! Доста странно ...


Титла: Проблем с erase на диск
Публикувано от: redcure в Sep 11, 2006, 18:34
Просто последната версия е чук!

Я сега демонтирай у-вото и пробвай пак, след това пробвай с
cdrecord -dev=/dev/hdX -scanbus





Титла: Проблем с erase на диск
Публикувано от: july в Sep 11, 2006, 18:44
да изхода от мойто е...
0,1,0 е ако се специфицира транспорта, аз го ползвам като /dev/hdb обаче...

ATA, го видях като възможен транспорт от само cdrecord -scanbus


]$ cdrecord blank=fast dev=ATA:0,1,0
Cdrecord-Clone 2.01.01a06 (i686-pc-linux-gnu) Copyright © 1995-2006 Jrg Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
   related to DVD issues that are not present in the original cdrtools. For
   more information see http://crashrecovery.org/oss-dvd.html. The original
   cdrtools author should not be bothered with problems in this version.
cdrecord: Warning: Running on Linux-2.6.17-ARCH
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA:0,1,0'
devname: 'ATA'
scsibus: 0 target: 1 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4243N'
Revision       : '1.08'
Device seems to be: Generic mmc2 DVD-ROM.
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
cdrecord: Success. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00


Титла: Проблем с erase на диск
Публикувано от: KPETEH в Sep 11, 2006, 18:53
@july това ми стана ясно идеята беше че при мен не сработваше
cdrecord -scanbus

А м/у другото никой не се сети толкова време да накара този който е пуснал темата да покаже /etc/fstab

На redcure благодарско научих нещо ново :-)


Титла: Проблем с erase на диск
Публикувано от: july в Sep 11, 2006, 21:50
ами при тебе се зори да докопа scsi, и libschily-то в този случай търси /dev/pg нещо си... ако му направиш този device (man mknod, lianna.org или на ядрото документацията) ще тръгне...


Титла: Проблем с erase на диск
Публикувано от: dafighter в Sep 12, 2006, 10:03
Хора вие тук изписахте един куп чудесии, които за мен са повече от нови и неразбираеми...не може ли (изпразването)записването на един диск да става просто с инсталация на програма за тази цел, която в случая е gnomebaker и натискане на няколко прости бутона? Да кажете нещо да не съм монтирал както трябва мисля, че не е така, защото всичко си е направено само при самата инсталация на ОС - целия хардуер, който използвам е бил наличен и по време на инсталацията! Между другото на този диск му пуснах full erase под windows и се издъни, но quick erase-а стана безпроблемо и после под linux си записах каквото ми трябва


Титла: Проблем с erase на диск
Публикувано от: july в Sep 12, 2006, 10:06
може:)

евентуално трябва да се настрои малко преди това, после става само с натискане на бутони (и остава така:) )

не е като програмата да не ти поддържа устройството :D


Титла: Проблем с erase на диск
Публикувано от: dafighter в Sep 12, 2006, 13:24
Е добре, а защо тогава имаше толкова пробелми с един прост erase?! диска си го записах както се казва като пич и без никакви проблеми даже и без да бъзикам опциите само си нагласих скоростта и това беше


Титла: Проблем с erase на диск
Публикувано от: july в Sep 12, 2006, 14:10
ами общо взето всичките записващи програми са frontend на cdrecord...

за различините неща, го викат по различни алгоритми (включително и failback), т.е. толерират понякога леко недонастройване...