[FreeBSD] ATAPI CD writing

Fifteen fifteen at inext.hu
2001. Nov. 19., H, 00:55:07 CET


On Mon, 19 Nov 2001 00:22:37 +0100 (CET)
Daniel SZILAGYI <goodman at goodman.hu> wrote:

> Ilyesmit kerestem kb fel eve, most megtalaltam, camcontrol devlist-nel
> latja is az eszkozoket de cdrecord nem megy :(
> 
> goodman:/home/goodman# camcontrol devlist
> <TEAC CD-W516EB 1.0B>              at scbus0 target 0 lun 0 ()
> <ASUS DVD-ROM E612 1.4B>           at scbus0 target 1 lun 0 ()
> goodman:/home/goodman# cdrecord -v -scanbus
> Cdrecord 1.10 (i386-unknown-freebsd4.4) Copyright (C) 1995-2001 Jrg
> Schilling
> TOC Type: 1 = CD-ROM
> cdrecord: No such file or directory. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are
> root.
> 
> ha valakinek lenne otlete kerem irjon.
> 
> Koszonom,
> 
> -- 
> Goodman
> 
> goodman at goodman.hu

sziasztok,

enis szepen raraboltam a patch-re :). kernel lefordult, gep felallt, szepen 
latja is a cdromokat, dmesg igy fest:

cd1 at atapi0 bus 0 target 1 lun 0
cd1: <SONY CDU4811 PY09> Removable CD-ROM SCSI-0 device 
cd1: 3.300MB/s transfers
cd1: cd present [233874 x 2048 byte records]
cd0 at atapi0 bus 0 target 0 lun 0
cd0: <TEAC CD-W54E 1.1B> Removable CD-ROM SCSI-0 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present

nekem sima userkent ezt irja, tehat szerintem nezd meg, hogy megvan 
e ez a file a /dev-ben:

[fifteen at watcher fifteen] cdrecord -scanbus
Cdrecord 1.10 (i386-unknown-freebsd4.4) Copyright (C) 1995-2001 Jörg Schilling
cdrecord: Permission denied. Open of /dev/xpt0 failed. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.

viszont ha rootkent inditom, akkor imigyen fest:

[root at watcher root] cdrecord -scanbus
Cdrecord 1.10 (i386-unknown-freebsd4.4) Copyright (C) 1995-2001 Jörg Schilling
Using libscg version 'schily-0.5'
scsibus0:
        0,0,0     0) 'TEAC    ' 'CD-W54E         ' '1.1B' Removable CD-ROM
cdrecord: Warning: controller returns wrong size for CD capabilities page.
        0,1,0     1) 'SONY    ' 'CDU4811         ' 'PY09' 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) *

a hibauzirol meg nem tudok nyilatkozni, de egy cdrdao-s rip mar megvolt, az iment 
fejezett be egy ujraurhato blank-et, es most nagy levego, cdiras :). remelem Te is 
tovabb tudsz haladni, ha befejeztem az irast, akkor meg meselek. 

fif



További információk a(z) BSD levelezőlistáról